]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix sign of zero part from ctan / ctanh when argument infinite (bug 17118).
[thirdparty/glibc.git] / ChangeLog
1 2015-09-17 Joseph Myers <joseph@codesourcery.com>
2 Andreas Schwab <schwab@suse.de>
3
4 [BZ #17118]
5 * math/s_ctan.c (__ctan): Determine sign of zero real part of
6 result when imaginary part of argument is infinite using sine and
7 cosine.
8 * math/s_ctanf.c (__ctanf): Likewise.
9 * math/s_ctanl.c (__ctanl): Likewise.
10 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11 of result when real part of argument is infinite using sine and
12 cosine.
13 * math/s_ctanhf.c (__ctanhf): Likewise.
14 * math/s_ctanhl.c (__ctanhl): Likewise.
15 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16 (ctanh_test_data): Add more tests of ctanh.
17
18 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19
20 [BZ #15384]
21 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22 bit-mask as in subtraction.
23 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24 Likewise.
25 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
26 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
28
29 [BZ #18951]
30 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31 underflow exception for small results.
32 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33 Likewise.
34 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35 Likewise.
36 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37 Likewise.
38 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39 Likewise.
40 * math/auto-libm-test-in: Add more tests of tgamma.
41 * math/auto-libm-test-out: Regenerated.
42
43 2015-09-17 Andreas Schwab <schwab@suse.de>
44
45 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
46
47 2015-09-16 Joseph Myers <joseph@codesourcery.com>
48
49 [BZ #18977]
50 * math/bits/mathcalls.h
51 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
52 not declare.
53 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
54 Likewise.
55 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
56 Likewise.
57 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
58 Likewise.
59 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
60 Likewise.
61 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
62 Likewise.
63 * conform/data/math.h-data
64 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
65 function.
66 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
67 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
68 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
69 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
70 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
71 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
72 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
73 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
74 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
75 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
76 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
77
78 [BZ #6803]
79 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
80 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
81 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
82 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
83 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
84 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
85 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
86 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
87 [NO_LONG_DOUBLE] (scalbnl): Likewise.
88 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
89 Likewise.
90 [NO_LONG_DOUBLE] (scalbnl): Likewise.
91 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
92 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
93 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
94 long_double_symbol calls.
95 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
96 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
97 strong alias of __ldexpl.
98 (scalbnl): Define using long_double_symbol.
99 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
100 Remove alias.
101 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
102 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
103 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
104 (scalbln_test_data): Add more errno expectations.
105
106 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
107
108 Cache the host port like we cache the task port. This way we do not
109 need to call the kernel just to get the port. Furthermore, we no
110 longer increase the reference count on every invocation of
111 `mach_host_self'.
112
113 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
114 Protect declarations against the macro expansion.
115 * mach/mach_init.c (__mach_host_self_): New variable.
116 (mach_init): Initialize `__mach_host_self_'.
117 * mach/mach_init.h (__mach_host_self_): New declaration.
118 (__mach_host_self, mach_host_self): New macros.
119 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
120 Release reference.
121
122 2015-09-16 Joseph Myers <joseph@codesourcery.com>
123
124 [BZ #4404]
125 * po/de.po: Update from Translation Project.
126
127 [BZ #16415]
128 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
129 (__expm1l): Remove code to handle positive infinity and overflow.
130 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
131 variable.
132 (__expm1l): Remove code to handle positive infinity and overflow.
133
134 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
135 Paul Pluzhnikov <ppluzhnikov@google.com>
136
137 [BZ #18872]
138 * stdio-common/Makefile (tst-printf-bz18872): New test.
139 (tst-printf-bz18872-mem.out): Likewise.
140 * stdio-common/tst-printf-bz18872.sh: Generate new test.
141 * stdio-common/vfprintf.c: Fix memory leaks.
142
143 2015-09-16 Andreas Schwab <schwab@suse.de>
144
145 [BZ #17244]
146 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
147 Remove extra va_start/va_end calls.
148
149 [BZ #17243]
150 * posix/execl.c (execl): Add missing va_end.
151 * posix/execle.c (execle): Likewise.
152 * posix/execlp.c (execlp): Likewise.
153
154 2015-09-15 Roland McGrath <roland@hack.frob.com>
155
156 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
157 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
158
159 2015-09-15 Joseph Myers <joseph@codesourcery.com>
160
161 [BZ #18967]
162 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
163 undefine around includes of <bits/mathcalls.h>.
164 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
165 not declare function.
166 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
167 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
168 (scalb): Likewise.
169 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
170 not define macro.
171 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
172 variable.
173 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
174 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
175 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
176
177 [BZ #18857]
178 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
179 return non-finite argument without doing ordered comparisons on
180 it.
181
182 [BZ #16296]
183 * math/fenv.h (fegetround): Use __attribute_pure__.
184 * include/fenv.h (__fegetround): Likewise.
185
186 [BZ #18595]
187 * math/s_ctan.c (__ctan): Force underflow exception for results
188 whose real or imaginary part has small absolute value.
189 * math/s_ctanf.c (__ctanf): Likewise.
190 * math/s_ctanh.c (__ctanh): Likewise.
191 * math/s_ctanhf.c (__ctanhf): Likewise.
192 * math/s_ctanhl.c (__ctanhl): Likewise.
193 * math/s_ctanl.c (__ctanl): Likewise.
194 * math/auto-libm-test-in: Do not allow missing underflow for ctan
195 and ctanh. Add more tests of ctan and ctanh.
196
197 [BZ #15918]
198 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
199 handling of cases where one argument is an infinity.
200
201 [BZ #18875]
202 [BZ #18966]
203 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
204 (MO): New macro.
205 (__ieee754_exp10): For small results, force underflow exception
206 and remove excess range and precision from return value.
207 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
208 (MO): New macro.
209 (__ieee754_exp10f): For small results, force underflow exception
210 and remove excess range and precision from return value.
211 * math/auto-libm-test-in: Add more tests of exp10.
212 * math/auto-libm-test-out: Regenerated.
213
214 2015-09-14 Joseph Myers <joseph@codesourcery.com>
215
216 [BZ #18875]
217 [BZ #18961]
218 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
219 (MO): New macro.
220 (__ieee754_exp): For small results, force underflow exception and
221 remove excess range and precision from return value.
222 (__exp_finite): Likewise.
223 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
224 (MO): New macro.
225 (__ieee754_expf): For small results, force underflow exception and
226 remove excess range and precision from return value.
227 (__expf_finite): Likewise.
228 * math/auto-libm-test-in: Add more tests of exp.
229 * math/auto-libm-test-out: Regenerated.
230
231 [BZ #16521]
232 [BZ #18875]
233 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
234 small results.
235 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
236 (MO): New macro.
237 (__ieee754_exp2): For small results, force underflow exception and
238 remove excess range and precision from return value.
239 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
240 (MO): New macro.
241 (__ieee754_exp2f): For small results, force underflow exception
242 and remove excess range and precision from return value.
243 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
244 (MO): New macro.
245 (__ieee754_exp2l): Force underflow exception for small results.
246 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
247 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
248 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
249 (MO): New macro.
250 (__ieee754_exp2l): Force underflow exception for small results.
251 * math/auto-libm-test-in: Add more tests or exp2.
252 * math/auto-libm-test-out: Regenerated.
253
254 2015-09-14 Carlos O'Donell <carlos@redhat.com>
255
256 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
257
258 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
259 /dev/null.
260
261 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
262
263 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
264 io fs process)): Drop spurious backslash.
265
266 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
267
268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
269 Use sysinfo system call instead of parsing /proc/meminfo.
270 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
271 Likewise.
272
273 2015-09-11 Mike Frysinger <vapier@gentoo.org>
274
275 [BZ #16985]
276 * programs/localedef.c (main): Display argv[remaining] when
277 output_path is NULL.
278
279 2015-09-11 Joseph Myers <joseph@codesourcery.com>
280
281 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
282 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
283 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
284 tanh.
285 * math/auto-libm-test-out: Regenerated.
286 * sysdeps/i386/fpu/libm-test-ulps: Update.
287 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
288 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
290
291 2015-09-11 Roland McGrath <roland@hack.frob.com>
292
293 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
294 Use 'override' keyword to freeze the value here, preventing
295 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
296
297 2015-09-11 Joseph Myers <joseph@codesourcery.com>
298
299 [BZ #14912]
300 * sysdeps/aarch64/bits/atomic.h: Move to ...
301 * sysdeps/aarch64/atomic-machine.h: ...here.
302 (_AARCH64_BITS_ATOMIC_H): Rename macro to
303 _AARCH64_ATOMIC_MACHINE_H.
304 * sysdeps/alpha/bits/atomic.h: Move to ...
305 * sysdeps/alpha/atomic-machine.h: ...here.
306 * sysdeps/arm/bits/atomic.h: Move to ...
307 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
308 * bits/atomic.h: Move to ...
309 * sysdeps/generic/atomic-machine.h: ...here.
310 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
311 * sysdeps/i386/bits/atomic.h: Move to ...
312 * sysdeps/i386/atomic-machine.h: ...here.
313 * sysdeps/ia64/bits/atomic.h: Move to ...
314 * sysdeps/ia64/atomic-machine.h: ...here.
315 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
316 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
317 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
318 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
319 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
320 * sysdeps/microblaze/bits/atomic.h: Move to ...
321 * sysdeps/microblaze/atomic-machine.h: ...here.
322 * sysdeps/mips/bits/atomic.h: Move to ...
323 * sysdeps/mips/atomic-machine.h: ...here.
324 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
325 * sysdeps/powerpc/bits/atomic.h: Move to ...
326 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
327 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
328 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
329 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
330 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
331 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
332 <atomic-machine.h> instead of <bits/atomic.h>.
333 * sysdeps/s390/bits/atomic.h: Move to ...
334 * sysdeps/s390/atomic-machine.h: ...here.
335 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
336 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
337 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
338 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
339 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
340 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
341 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
342 * sysdeps/tile/bits/atomic.h: Move to ...
343 * sysdeps/tile/atomic-machine.h: ...here.
344 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
345 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
346 <sysdeps/tile/atomic-machine.h> instead of
347 <sysdeps/tile/bits/atomic.h>.
348 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
349 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
350 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
351 <sysdeps/tile/atomic-machine.h> instead of
352 <sysdeps/tile/bits/atomic.h>.
353 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
354 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
355 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
356 <sysdeps/arm/atomic-machine.h> instead of
357 <sysdeps/arm/bits/atomic.h>.
358 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
359 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
360 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
361 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
362 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
363 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
364 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
365 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
366 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
367 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
368 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
369 * sysdeps/x86_64/bits/atomic.h: Move to ...
370 * sysdeps/x86_64/atomic-machine.h: ...here.
371 * include/atomic.h: Include <atomic-machine.h> instead of
372 <bits/atomic.h>.
373
374 * sysdeps/mips/mips32/libm-test-ulps: Update.
375 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
376
377 [BZ #18952]
378 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
379 not convert non-integer negative arguments to int to determine the
380 value of signgam.
381 * math/auto-libm-test-in: Add more tests of lgamma.
382 * math/auto-libm-test-out: Regenerated.
383
384 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
385 cosh, csqrt, erfc, expm1 and lgamma.
386 * math/auto-libm-test-out: Regenerated.
387 * sysdeps/i386/fpu/libm-test-ulps: Update.
388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
389
390 2015-09-10 Joseph Myers <joseph@codesourcery.com>
391
392 [BZ #2542]
393 [BZ #2543]
394 [BZ #2558]
395 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
396 __lgamma_neg for arguments from -28.0 to -2.0.
397 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
398 __lgamma_negf for arguments from -15.0 to -2.0.
399 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
400 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
401 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
402 Call __lgamma_negl for arguments from -33.0 to -2.0.
403 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
404 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
405 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
406 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
407 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
408 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
409 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
410 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
411 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
412 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
413 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
414 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
415 (__lgamma_neg): Likewise.
416 (__lgamma_negl): Likewise.
417 (__lgamma_product): Likewise.
418 (__lgamma_productl): Likewise.
419 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
420 * math/auto-libm-test-in: Add more tests of lgamma.
421 * math/auto-libm-test-out: Regenerated.
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
424
425 2015-09-09 Justin Maggard <jmaggard@netgear.com>
426
427 [BZ #18675]
428 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
429
430 2015-09-08 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #14912]
433 * bits/libc-lock.h: Move to ...
434 * sysdeps/generic/libc-lock.h: ...here.
435 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
436 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
437 * sysdeps/mach/hurd/libc-lock.h: ...here.
438 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
439 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
440 * sysdeps/mach/bits/libc-lock.h: Move to ...
441 * sysdeps/mach/libc-lock.h: ...here.
442 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
443 * sysdeps/nptl/bits/libc-lock.h: Move to ...
444 * sysdeps/nptl/libc-lock.h: ...here.
445 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
446 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
447 * sysdeps/nptl/libc-lockP.h: ...here.
448 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
449 * crypt/crypt_util.c: Include <libc-lock.h> instead of
450 <bits/libc-lock.h>.
451 * dirent/scandir-tail.c: Likewise.
452 * dlfcn/dlerror.c: Likewise.
453 * elf/dl-close.c: Likewise.
454 * elf/dl-iteratephdr.c: Likewise.
455 * elf/dl-lookup.c: Likewise.
456 * elf/dl-open.c: Likewise.
457 * elf/dl-support.c: Likewise.
458 * elf/dl-writev.h: Likewise.
459 * elf/rtld.c: Likewise.
460 * grp/fgetgrent.c: Likewise.
461 * gshadow/fgetsgent.c: Likewise.
462 * gshadow/sgetsgent.c: Likewise.
463 * iconv/gconv_conf.c: Likewise.
464 * iconv/gconv_db.c: Likewise.
465 * iconv/gconv_dl.c: Likewise.
466 * iconv/gconv_int.h: Likewise.
467 * iconv/gconv_trans.c: Likewise.
468 * include/link.h: Likewise.
469 * inet/getnameinfo.c: Likewise.
470 * inet/getnetgrent.c: Likewise.
471 * inet/getnetgrent_r.c: Likewise.
472 * intl/bindtextdom.c: Likewise.
473 * intl/dcigettext.c: Likewise.
474 * intl/finddomain.c: Likewise.
475 * intl/gettextP.h: Likewise.
476 * intl/loadmsgcat.c: Likewise.
477 * intl/localealias.c: Likewise.
478 * intl/textdomain.c: Likewise.
479 * libidn/idn-stub.c: Likewise.
480 * libio/libioP.h: Likewise.
481 * locale/duplocale.c: Likewise.
482 * locale/freelocale.c: Likewise.
483 * locale/newlocale.c: Likewise.
484 * locale/setlocale.c: Likewise.
485 * login/getutent_r.c: Likewise.
486 * login/getutid_r.c: Likewise.
487 * login/getutline_r.c: Likewise.
488 * login/utmp-private.h: Likewise.
489 * login/utmpname.c: Likewise.
490 * malloc/mtrace.c: Likewise.
491 * misc/efgcvt.c: Likewise.
492 * misc/error.c: Likewise.
493 * misc/fstab.c: Likewise.
494 * misc/getpass.c: Likewise.
495 * misc/mntent.c: Likewise.
496 * misc/syslog.c: Likewise.
497 * nis/nis_call.c: Likewise.
498 * nis/nis_callback.c: Likewise.
499 * nis/nss-default.c: Likewise.
500 * nis/nss_compat/compat-grp.c: Likewise.
501 * nis/nss_compat/compat-initgroups.c: Likewise.
502 * nis/nss_compat/compat-pwd.c: Likewise.
503 * nis/nss_compat/compat-spwd.c: Likewise.
504 * nis/nss_nis/nis-alias.c: Likewise.
505 * nis/nss_nis/nis-ethers.c: Likewise.
506 * nis/nss_nis/nis-grp.c: Likewise.
507 * nis/nss_nis/nis-hosts.c: Likewise.
508 * nis/nss_nis/nis-network.c: Likewise.
509 * nis/nss_nis/nis-proto.c: Likewise.
510 * nis/nss_nis/nis-pwd.c: Likewise.
511 * nis/nss_nis/nis-rpc.c: Likewise.
512 * nis/nss_nis/nis-service.c: Likewise.
513 * nis/nss_nis/nis-spwd.c: Likewise.
514 * nis/nss_nisplus/nisplus-alias.c: Likewise.
515 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
516 * nis/nss_nisplus/nisplus-grp.c: Likewise.
517 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
518 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
519 * nis/nss_nisplus/nisplus-network.c: Likewise.
520 * nis/nss_nisplus/nisplus-proto.c: Likewise.
521 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
522 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
523 * nis/nss_nisplus/nisplus-service.c: Likewise.
524 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
525 * nis/ypclnt.c: Likewise.
526 * nptl/libc_pthread_init.c: Likewise.
527 * nss/getXXbyYY.c: Likewise.
528 * nss/getXXent.c: Likewise.
529 * nss/getXXent_r.c: Likewise.
530 * nss/nss_db/db-XXX.c: Likewise.
531 * nss/nss_db/db-netgrp.c: Likewise.
532 * nss/nss_db/nss_db.h: Likewise.
533 * nss/nss_files/files-XXX.c: Likewise.
534 * nss/nss_files/files-alias.c: Likewise.
535 * nss/nsswitch.c: Likewise.
536 * posix/regex_internal.h: Likewise.
537 * posix/wordexp.c: Likewise.
538 * pwd/fgetpwent.c: Likewise.
539 * resolv/res_hconf.c: Likewise.
540 * resolv/res_libc.c: Likewise.
541 * shadow/fgetspent.c: Likewise.
542 * shadow/lckpwdf.c: Likewise.
543 * shadow/sgetspent.c: Likewise.
544 * socket/opensock.c: Likewise.
545 * stdio-common/reg-modifier.c: Likewise.
546 * stdio-common/reg-printf.c: Likewise.
547 * stdio-common/reg-type.c: Likewise.
548 * stdio-common/vfprintf.c: Likewise.
549 * stdio-common/vfscanf.c: Likewise.
550 * stdlib/abort.c: Likewise.
551 * stdlib/cxa_atexit.c: Likewise.
552 * stdlib/fmtmsg.c: Likewise.
553 * stdlib/random.c: Likewise.
554 * stdlib/setenv.c: Likewise.
555 * string/strsignal.c: Likewise.
556 * sunrpc/auth_none.c: Likewise.
557 * sunrpc/bindrsvprt.c: Likewise.
558 * sunrpc/create_xid.c: Likewise.
559 * sunrpc/key_call.c: Likewise.
560 * sunrpc/rpc_thread.c: Likewise.
561 * sysdeps/arm/backtrace.c: Likewise.
562 * sysdeps/generic/ldsodefs.h: Likewise.
563 * sysdeps/generic/stdio-lock.h: Likewise.
564 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
565 * sysdeps/i386/backtrace.c: Likewise.
566 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
567 * sysdeps/m68k/backtrace.c: Likewise.
568 * sysdeps/mach/hurd/cthreads.c: Likewise.
569 * sysdeps/mach/hurd/dirstream.h: Likewise.
570 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
571 * sysdeps/nptl/malloc-machine.h: Likewise.
572 * sysdeps/nptl/stdio-lock.h: Likewise.
573 * sysdeps/posix/dirstream.h: Likewise.
574 * sysdeps/posix/getaddrinfo.c: Likewise.
575 * sysdeps/posix/system.c: Likewise.
576 * sysdeps/pthread/aio_suspend.c: Likewise.
577 * sysdeps/s390/s390-32/backtrace.c: Likewise.
578 * sysdeps/s390/s390-64/backtrace.c: Likewise.
579 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
580 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
581 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
582 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
583 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
584 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
585 * sysdeps/unix/sysv/linux/system.c: Likewise.
586 * sysdeps/x86_64/backtrace.c: Likewise.
587 * time/alt_digit.c: Likewise.
588 * time/era.c: Likewise.
589 * time/tzset.c: Likewise.
590 * wcsmbs/wcsmbsload.c: Likewise.
591 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
592 instead of <bits/libc-lock.h> in comment.
593
594 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
595
596 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
597 Only use .set mips2 if the current ISA is below mips2.
598 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
599 Likewise.
600 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
601 mips32r2 if the current ISA is below mips32r2.
602 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
603 (TLS_IE): Updated to use the TLD_RDHWR macro.
604 (TLS_LE): Likewise.
605 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
606 __ASSEMBLER__ condition.
607
608 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
609
610 Fix parallel build of before-compile targets.
611
612 * sysdeps/mach/Makefile ($(patsubst
613 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
614 mach-before-compile target.
615 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
616 io fs process)): Move rule to dedicated hurd-before-compile target.
617
618 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
619
620 Fix rules generating headers in hurd/ and mach/ when initial make call
621 has subdir= explicitly set.
622
623 * sysdeps/mach/Makefile ($(patsubst
624 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
625 calling $(MAKE).
626 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
627 io fs process)): Force subdir to hurd when calling $(MAKE).
628 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
629 subdir to mach when calling $(MAKE).
630
631 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
632
633 Check sysheaders when looking for Mach and Hurd headers
634
635 * sysdeps/mach/configure.ac: Add sysheaders check.
636 * sysdeps/mach/configure: Regenerate.
637 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
638 * sysdeps/mach/hurd/configure: Regenerate.
639
640 2015-09-04 Roland McGrath <roland@hack.frob.com>
641
642 [BZ #18921]
643 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
644 Fix inverted sense of test of 'o_directory_works' value.
645 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
646 Bernhard Voelker <mail@bernhard-voelker.de>.
647
648 2015-09-04 Joseph Myers <joseph@codesourcery.com>
649
650 [BZ #14912]
651 * bits/linkmap.h: Move to ...
652 * sysdeps/generic/linkmap.h: ...here.
653 * sysdeps/aarch64/bits/linkmap.h: Move to ...
654 * sysdeps/aarch64/linkmap.h: ...here.
655 * sysdeps/arm/bits/linkmap.h: Move to ...
656 * sysdeps/arm/linkmap.h: ...here.
657 * sysdeps/hppa/bits/linkmap.h: Move to ...
658 * sysdeps/hppa/linkmap.h: ...here.
659 * sysdeps/ia64/bits/linkmap.h: Move to ...
660 * sysdeps/ia64/linkmap.h: ...here.
661 * sysdeps/mips/bits/linkmap.h: Move to ...
662 * sysdeps/mips/linkmap.h: ...here.
663 * sysdeps/s390/bits/linkmap.h: Move to ...
664 * sysdeps/s390/linkmap.h: ...here.
665 * sysdeps/sh/bits/linkmap.h: Move to ...
666 * sysdeps/sh/linkmap.h: ...here.
667 * sysdeps/x86/bits/linkmap.h: Move to ...
668 * sysdeps/x86/linkmap.h: ...here.
669 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
670
671 2015-09-04 Andreas Schwab <schwab@suse.de>
672
673 [BZ #18635]
674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
675 (__makecontext): Terminate FDE before return label.
676 (__novec_makecontext): Likewise.
677
678 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
679
680 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
681 first member of struct sv in syscall macro.
682
683 2015-09-04 Joseph Myers <joseph@codesourcery.com>
684
685 [BZ #14912]
686 * bits/stdio-lock.h: Move to ...
687 * sysdeps/generic/stdio-lock.h: ...here.
688 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
689 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
690 * sysdeps/nptl/stdio-lock.h: ...here.
691 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
692 * include/libio.h: Include <stdio-lock.h> instead of
693 <bits/stdio-lock.h>.
694 * sysdeps/nptl/fork.c: Likewise.
695 * sysdeps/pthread/flockfile.c: Likewise.
696 * sysdeps/pthread/ftrylockfile.c: Likewise.
697 * sysdeps/pthread/funlockfile.c: Likewise.
698
699 [BZ #14912]
700 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
701 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
702 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
703 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
704 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
705 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
706 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
707
708 2015-09-03 Roland McGrath <roland@hack.frob.com>
709
710 * elf/Makefile (test-xfail-tst-protected1a): New variable.
711 (test-xfail-tst-protected1b): New variable.
712
713 2015-09-03 Joseph Myers <joseph@codesourcery.com>
714
715 [BZ #14912]
716 * bits/libc-tsd.h: Move to ...
717 * sysdeps/generic/libc-tsd.h: ...here.
718 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
719 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
720 * sysdeps/mach/hurd/libc-tsd.h: ...here.
721 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
722 * include/ctype.h: Include <libc-tsd.h> instead of
723 <bits/libc-tsd.h>.
724 * include/rpc/rpc.h: Likewise.
725 * locale/localeinfo.h: Likewise.
726 * sunrpc/rpc_thread.c: Likewise.
727 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
728 * sysdeps/nptl/malloc-machine.h: Likewise.
729
730 * Makefile (headers): Remove bits/libc-lock.h.
731 * libio/Makefile (headers): Remove bits/stdio-lock.h.
732
733 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
734 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
735 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
736 <bits/stdio-lock.h>.
737 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
738 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
739
740 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
741
742 [BZ #18757]
743 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
744 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
745 BZ #18757.
746
747 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
748
749 * malloc/mtrace.pl: Filter out NULL entries.
750
751 2015-09-01 Joseph Myers <joseph@codesourcery.com>
752
753 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
754 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
755 macro.
756
757 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
758 (TCP_CC_INFO): Likewise.
759 (TCP_SAVE_SYN): Likewise.
760 (TCP_SAVED_SYN): Likewise.
761
762 2015-08-31 Brett Neumeier <brett@neumeier.us>
763
764 [BZ #18870]
765 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
766
767 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
768
769 [BZ #18873]
770 Fix broken overflow check in posix_fallocate
771 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
772 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
773 Fix parenthesization typo.
774
775 2015-08-28 Mike Frysinger <vapier@gentoo.org>
776
777 [BZ #18887]
778 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
779 tst-mntent-blank-passno.
780 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
781 * misc/tst-mntent-blank-corrupt.c: New test.
782 * misc/tst-mntent-blank-passno.c: New test ripped from ...
783 * misc/tst-mntent.c (do_test): ... here.
784
785 2015-08-29 Mike Frysinger <vapier@gentoo.org>
786
787 [BZ #4404]
788 * po/de.po: Fix SIGALRM typo.
789
790 2015-08-28 James Perkins <james@loowit.net>
791
792 * time/tst-strptime2.c (tests): Replace short list of test
793 strings for strptime %z specifier with code which exhaustively
794 tests every combination of sign and 0 to 5 digits. Tests for
795 rejection of invalid strings.
796
797 2015-08-28 James Perkins <james@loowit.net>
798
799 [BZ #16141]
800 * time/strptime_l.c (__strptime_internal): Fix %z minutes
801 calculation, removing incorrect decimal time rounding, so that
802 all minute values result in a valid seconds value.
803 * time/strptime_l.c (__strptime_internal): Extend %z time zone
804 offset range limits to UTC-99:59 through UTC+99:59 to parse
805 current and historical use cases.
806 * time/tst-strptime2.c (tests): Modify and add tests for the
807 strptime %z input field descriptor, specifically conversion of
808 minutes to seconds and validating an offset range of -9959 to
809 +9959.
810
811 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
812 Dmitry V. Levin <ldv@altlinux.org>
813
814 [BZ #18877]
815 * posix/Makefile (tests): Add tst-mmap-offset.
816 * posix/tst-mmap.c: New file.
817 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
818 offset calculation for negative values.
819
820 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
821
822 * sysdeps/i386/init-arch.h: New file.
823 * sysdeps/i386/i586/init-arch.h: Likewise.
824 * sysdeps/i386/i686/init-arch.h: Likewise.
825 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
826 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
827 * sysdeps/x86/cpu-features.h (bit_I586): New.
828 (bit_I686): Likewise.
829 (bit_CX8): Likewise.
830 (bit_CMOV): Likewise.
831 (index_CX8): Likewise.
832 (index_CMOV): Likewise.
833 (index_I586): Likewise.
834 (index_I686): Likewise.
835 (reg_CX8): Likewise.
836 (reg_CMOV): Likewise.
837 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
838 available at compile-time.
839 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
840 available at compile-time.
841 * sysdeps/x86/init-arch.h (USE_I586): New macro.
842 (USE_I686): Likewise.
843
844 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
845
846 * sysdeps/i386/bcopy.S: New file.
847 * sysdeps/i386/bzero.S: Likewise.
848 * sysdeps/i386/memcpy.S: Likewise.
849 * sysdeps/i386/memmove.S: Likewise.
850 * sysdeps/i386/mempcpy.S: Likewise.
851 * sysdeps/i386/memset.S: Likewise.
852 * sysdeps/i386/bzero.c: Removed.
853 * sysdeps/i386/memset.c: Likewise.
854 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
855 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
856 * sysdeps/i386/i586/memset_chk.S: Likewise.
857 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
858 * sysdeps/i386/memcpy_chk.S: Here.
859 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
860 * sysdeps/i386/memmove_chk.S: Here.
861 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
862 * sysdeps/i386/mempcpy_chk.S: Likewise.
863 * sysdeps/i386/i686/memset_chk.S: Moved to ...
864 * sysdeps/i386/memset_chk.S: Likewise.
865
866 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
867
868 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
869 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
870 file, move DIAG_POP_NEEDS_COMMENT to end of file.
871 * soft-fp/fmadf4.c: Ditto.
872 * soft-fp/fmatf4.c: Ditto.
873
874 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
875
876 * sysdeps/i386/i586/Implies: Removed.
877 * sysdeps/i386/i686/Implies: Likewise.
878
879 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
880
881 * sysdeps/i386/i486/strlen.S: Moved to ...
882 * sysdeps/i386/strlen.S: Here.
883
884 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
885
886 * sysdeps/i386/i486/strcat.S: Moved to ...
887 * sysdeps/i386/strcat.S: Here.
888
889 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
890
891 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
892 * sysdeps/i386/pthread_spin_trylock.S: Here.
893 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
894 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
895
896 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
897
898 * sysdeps/i386/i486/string-inlines.c: Moved to ...
899 * sysdeps/i386/string-inlines.c: Here.
900
901 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
902
903 * sysdeps/i386/i486/htonl.S: Moved ...
904 * sysdeps/i386/htonl.S: here.
905
906 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
907
908 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
909 * sysdeps/i386/bits/atomic.h: Here.
910
911 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
912
913 * sysdeps/i386/i486/Versions: Removed.
914
915 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
916
917 [BZ #2898]
918 * misc/mktemp.c: Add mkdtemp to the link_warning message.
919 Based on patch by Aurelien Jarno.
920
921 2015-08-26 Stan Shebs <stanshebs@google.com>
922
923 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
924 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
925
926 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
927
928 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
929 * sysdeps/powerpc/dl-procinfo.c:
930 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
931 feature so it shows when LD_SHOW_AUXV=1.
932
933 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
934
935 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
936 (__arch_compare_and_exchange_val_32_acq): Remove and use common
937 definition. ISA 2.07B no longer requires full sync.
938
939 2015-08-26 Mike Frysinger <vapier@gentoo.org>
940
941 [BZ #18863]
942 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
943 (si_call_addr): Define.
944 (si_syscall): Define.
945 (si_arch): Define.
946
947 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
948
949 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
950 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
951 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
952 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
953 (__memset_zero_constant_len_parameter): New.
954 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
955 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
956 (__memset_zero_constant_len_parameter): Don't define if
957 __memset_chk or USE_AS_BZERO are defined.
958
959 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
960 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
961 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
962
963 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
964 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
965 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
966 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
967 comments.
968 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
969 -mno-mmx for $(all-rtld-routines).
970 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
971 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
972 i386.
973
974 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
975
976 * sysdeps/generic/unwind.h
977 (_Unwind_Word): Use __mode__(__unwind_word__)
978 instead of __mode__(__word__).
979 (_Unwind_Sword): Likewise.
980
981 * sysdeps/s390/s390-64/utf8-utf16-z9.c
982 (MAX_NEEDED_INPUT): New define.
983 (MAX_NEEDED_OUTPUT): New define.
984
985 * NEWS: New item for IBM z13 string optimizations.
986
987 * sysdeps/s390/multiarch/memrchr-c.c: New File.
988 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
989 * sysdeps/s390/multiarch/memrchr.c: Likewise.
990 * sysdeps/s390/multiarch/Makefile
991 (sysdep_routines): Add memrchr functions.
992 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
993 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
994
995 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
996 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
997 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
998 * sysdeps/s390/multiarch/Makefile
999 (sysdep_routines): Add wmemcmp functions.
1000 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1001 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1002 * benchtests/bench-wmemcmp.c: New File.
1003 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1004
1005 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1006 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1007 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1008 * sysdeps/s390/multiarch/Makefile
1009 (sysdep_routines): Add wmemset functions.
1010 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1011 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1012 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1013 * string/test-memset.c: Add wmemset support.
1014 * wcsmbs/test-wmemset.c: New File.
1015 * wcsmbs/Makefile (strop-tests): Add wmemset.
1016 * benchtests/bench-memset.c: Add wmemset support.
1017 * benchtests/bench-wmemset.c: New File.
1018 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1019
1020 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1021 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1022 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1023 * sysdeps/s390/multiarch/Makefile
1024 (sysdep_routines): Add memccpy functions.
1025 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1026 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1027 * string/memccpy.c: Use MEMCCPY if defined.
1028
1029 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1030 * sysdeps/s390/multiarch/memchr.c: Likewise.
1031 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1032 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1033 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1034 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1035 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1036 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1037 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1038 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1039 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1040 and rawmemchr functions.
1041 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1042 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1043 and wmemchr.
1044 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1045 * string/test-memchr.c: Add wmemchr support.
1046 * wcsmbs/test-wmemchr.c: New File.
1047 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1048 * benchtests/bench-memchr.c: Add wmemchr support.
1049 * benchtests/bench-wmemchr.c: New File.
1050 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1051
1052 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1053 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1054 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1055 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1056 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1057 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1058 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1059 wcscspn functions.
1060 * sysdeps/s390/multiarch/ifunc-impl-list.c
1061 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1062 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1063 * string/test-strcspn.c: Add wcscspn support.
1064 * wcsmbs/test-wcscspn.c: New File.
1065 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1066 * benchtests/bench-strcspn.c: Add wcscspn support.
1067 * benchtests/bench-wcscspn.c: New File.
1068 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1069
1070 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1071 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1072 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1073 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1074 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1075 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1076 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1077 wcspbrk functions.
1078 * sysdeps/s390/multiarch/ifunc-impl-list.c
1079 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1080 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1081 * string/test-strpbrk.c: Add wcspbrk support.
1082 * wcsmbs/test-wcspbrk.c: New File.
1083 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1084 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1085 * benchtests/bench-wcspbrk.c: New File.
1086 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1087
1088 * sysdeps/s390/multiarch/strspn-c.c: New File.
1089 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1090 * sysdeps/s390/multiarch/strspn.c: Likewise.
1091 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1092 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1093 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1094 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1095 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1096 wcsspn functions.
1097 * sysdeps/s390/multiarch/ifunc-impl-list.c
1098 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1099 * string/test-strspn.c: Add wcsspn support.
1100 * wcsmbs/test-wcsspn.c: New File.
1101 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1102 * benchtests/bench-strspn.c: Add wcsspn support.
1103 * benchtests/bench-wcsspn.c: New File.
1104 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1105
1106 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1107 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1108 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1109 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1110 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1111 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1112 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1113 wcsrchr functions.
1114 * sysdeps/s390/multiarch/ifunc-impl-list.c
1115 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1116 * benchtests/bench-wcsrchr.c: New File.
1117 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1118
1119 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1120 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1121 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1122 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1123 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1124 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1125 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1126 wcschrnul functions.
1127 * sysdeps/s390/multiarch/ifunc-impl-list.c
1128 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1129 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1130 * string/test-strchr.c: Add wcschrnul support.
1131 * wcsmbs/test-wcschrnul.c: New File.
1132 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1133 * benchtests/bench-strchr.c: Add wcschrnul support.
1134 * benchtests/bench-wcschrnul.c: New File.
1135 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1136
1137 * sysdeps/s390/multiarch/strchr-c.c: New File.
1138 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1139 * sysdeps/s390/multiarch/strchr.c: Likewise.
1140 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1141 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1142 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1143 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1144 wcschr functions.
1145 * sysdeps/s390/multiarch/ifunc-impl-list.c
1146 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1147 * string/strchr.c (STRCHR): Define and use macro.
1148 * benchtests/bench-wcschr.c: New File.
1149 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1150
1151 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1152 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1153 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1154 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1155 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1156 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1157 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1158 wcsncmp functions.
1159 * sysdeps/s390/multiarch/ifunc-impl-list.c
1160 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1161 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1162 * benchtests/bench-strncmp.c: Add wcsncmp support.
1163 * benchtests/bench-wcsncmp.c: New File.
1164 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1165
1166 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1167 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1168 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1169 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1170 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1171 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1172 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1173 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1174 wcscmp functions.
1175 * sysdeps/s390/multiarch/ifunc-impl-list.c
1176 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1177 * string/strcmp.c (STRCMP): Define and use macro.
1178 * benchtests/bench-wcscmp.c: New File.
1179 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1180 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1181 instead of _HAVE_STRING_ARCH_memchr.
1182
1183 * sysdeps/s390/multiarch/strncat-c.c: New File.
1184 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1185 * sysdeps/s390/multiarch/strncat.c: Likewise.
1186 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1187 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1188 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1189 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1190 wcsncat functions.
1191 * sysdeps/s390/multiarch/ifunc-impl-list.c
1192 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1193 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1194 * string/test-strncat.c: Add wcsncat support.
1195 * wcsmbs/test-wcsncat.c: New File.
1196 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1197 * benchtests/bench-strncat.c: Add wcsncat support.
1198 * benchtests/bench-wcsncat.c: New File.
1199 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1200
1201 * sysdeps/s390/multiarch/strcat-c.c: New File.
1202 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1203 * sysdeps/s390/multiarch/strcat.c: Likewise.
1204 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1205 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1206 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1207 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1208 wcscat functions.
1209 * sysdeps/s390/multiarch/ifunc-impl-list.c
1210 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1211 * string/strcat.c (STRCAT): Define and use macro.
1212 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1213 * string/test-strcat.c: Add wcscat support.
1214 * wcsmbs/test-wcscat.c: New File.
1215 * wcsmbs/Makefile (strop-tests): Add wcscat.
1216 * benchtests/bench-strcat.c: Add wcscat support.
1217 * benchtests/bench-wcscat.c: New File.
1218 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1219
1220 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1221 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1222 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1223 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1224 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1225 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1226 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1227 wcpncpy functions.
1228 * sysdeps/s390/multiarch/ifunc-impl-list.c
1229 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1230 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1231 * string/test-stpncpy.c: Add wcpncpy support.
1232 * wcsmbs/test-wcpncpy.c: New File.
1233 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1234 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1235 * benchtests/bench-wcpncpy.c: New File.
1236 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1237
1238 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1239 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1240 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1241 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1242 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1243 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1244 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1245 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1246 wcsncpy functions.
1247 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1248 * sysdeps/s390/multiarch/ifunc-impl-list.c
1249 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1250 * string/test-strncpy.c: Add wcsncpy support.
1251 * wcsmbs/test-wcsncpy.c: New File.
1252 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1253 * benchtests/bench-strncpy.c: Add wcsncpy support.
1254 * benchtests/bench-wcsncpy.c: New File.
1255 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1256
1257 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1258 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1259 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1260 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1261 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1262 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1263 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1264 wcpcpy functions.
1265 * string/stpcpy.c: Use STPCPY if defined.
1266 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1267 * sysdeps/s390/multiarch/ifunc-impl-list.c
1268 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1269 * string/test-stpcpy.c: Add wcpcpy support.
1270 * wcsmbs/test-wcpcpy.c: New File.
1271 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1272 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1273 * benchtests/bench-wcpcpy.c: New File.
1274 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1275
1276 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1277 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1278 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1279 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1280 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1281 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1282 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1283 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1284 wcscpy functions.
1285 * sysdeps/s390/multiarch/ifunc-impl-list.c
1286 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1287 * benchtests/bench-wcscpy.c: New File.
1288 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1289
1290 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1291 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1292 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1293 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1294 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1295 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1296 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1297 wcsnlen functions.
1298 * sysdeps/s390/multiarch/ifunc-impl-list.c
1299 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1300 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1301 * string/test-strnlen.c: Add wcsnlen support.
1302 * wcsmbs/test-wcsnlen.c: New File.
1303 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1304 * benchtests/bench-strnlen.c: Add wcsnlen support.
1305 * benchtests/bench-wcsnlen.c: New File.
1306 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1307
1308 * sysdeps/s390/multiarch/Makefile: New File.
1309 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1310 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1311 * sysdeps/s390/multiarch/strlen.c: Likewise.
1312 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1313 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1314 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1315 * string/strlen.c (STRLEN): Define and use macro.
1316 * sysdeps/s390/multiarch/ifunc-impl-list.c
1317 (IFUNC_VX_IMPL): New macro function.
1318 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1319 * benchtests/Makefile (wcsmbs-bench): New variable.
1320 (string-bench-all): Added wcsmbs-bench.
1321 * benchtests/bench-wcslen.c: New File.
1322
1323 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1324 s390_vx_libc_ifunc2): New macro function.
1325
1326 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1327 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1328 assembler support.
1329 * sysdeps/s390/configure: Regenerated.
1330
1331 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1332 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1333
1334 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1335 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1336 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1337
1338 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1339 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1340 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1341 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1342 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1343 (memcmp, bcmp): Use __memcmp_default as alias source.
1344 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1345 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1346 Rename to __memcmp_default.
1347 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1348 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1349 (memcpy): Use __memcpy_default as alias source.
1350 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1351 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1352 Rename to __memcpy_default.
1353 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1354 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1355 (memset): Use __memset_default as alias source.
1356 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1357 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1358 Rename to __memset_default.
1359 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1360 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1361 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1362 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1363 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1364 (memcmp, bcmp): Use __memcmp_default as alias source.
1365 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1366 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1367 Rename to __memcmp_default.
1368 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1369 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1370 (memcpy): Use __memcpy_default as alias source.
1371 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1372 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1373 Rename to __memcpy_default.
1374 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1375 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1376 (memset): Use __memset_default as alias source.
1377 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1378 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1379 Rename to __memset_default.
1380 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1381 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1382
1383 [BZ #18610]
1384 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1385 __ieee_instruction_pointer to __unused.
1386 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1387 __ieee_instruction_pointer.
1388 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1389 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1390 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1391 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1392 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1393 Mark dxc-field as reserved.
1394
1395 2015-08-25 Roland McGrath <roland@hack.frob.com>
1396
1397 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1398 if the weak reference is not null.
1399
1400 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1403
1404 [BZ #11214]
1405 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1406
1407 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1408
1409 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1410 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1411 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1412 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1413 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1414 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1415 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1416 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1417 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1418 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1419 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1420 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1421 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1422 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1423 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1424 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1425 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1426 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1427
1428 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1429
1430 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1431 register other than r0 for tabort, it has special meaning.
1432 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1433 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1434 transaction before starting syscall.
1435
1436 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1437
1438 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1439
1440 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1441
1442 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1443
1444 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1445 * sysdeps/x86_64/rtld-memset.S: Likewise.
1446 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1447 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1448 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1449 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1450
1451 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1452
1453 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1454
1455 * debug/strcpy_chk.c: Improve performance.
1456 * debug/stpcpy_chk.c: Likewise.
1457 * sysdeps/x86_64/strcpy_chk.S: Remove.
1458 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1459
1460 [BZ #18240]
1461 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1462
1463 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 [BZ #15128]
1466 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1467 ifuncmain8.
1468 (modules-names): Add ifuncmod8.
1469 ($(objpfx)ifuncmain8): New rule.
1470 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1471 <cpuid.h>.
1472 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1473 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1474 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1475 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1476 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1477 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1478 * sysdeps/x86_64/ifuncmain8.c: New file.
1479 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1480 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1481 Removed.
1482 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1483 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1484 Change rtld_savespace_sse to __glibc_unused2.
1485 (RTLD_CHECK_FOREIGN_CALL): Removed.
1486 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1487 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1488 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1489
1490 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1491
1492 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1493
1494 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1495
1496 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1497 Unconditionally set __fpcr to avoid uninialized warning.
1498 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1499
1500 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1501
1502 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1503 is corrupt.
1504
1505 * malloc/arena.c (arena_get2): Drop unused argument.
1506 (arena_lock): Adjust.
1507 (arena_get_retry): Likewise.
1508
1509 2015-08-24 Andreas Schwab <schwab@suse.de>
1510
1511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1512 Don't define.
1513 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1514 (__ASSUME_IPC64): Don't undef.
1515 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1516 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1517 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1518 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1519 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1520 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1521 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1522 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1523 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1524 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1525 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1526 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1527 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1528 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1529 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1530 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1531 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1532 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1533 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1534 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1535 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1536
1537 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1538
1539 * manual/Makefile (install): Only build manual when perl is available.
1540
1541 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1542
1543 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1544 '#undef memcpy' by '#undef memchr'.
1545
1546 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1547
1548 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1549 memchr not point to the internal __GI_memchr implementation.
1550
1551 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1552
1553 * timezone/Makefile (CFLAGS-zdump.c): Remove
1554 -Wno-strict-prototypes.
1555 (CFLAGS-zic.c): Likewise.
1556 (CFLAGS-ialloc.c): Likewise.
1557 (CFLAGS-scheck.c): Likewise.
1558
1559 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1560 -Wno-error=undef.
1561
1562 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1563
1564 * i386/i686/multiarch/strcasestr-c.c: Removed.
1565 * x86_64/multiarch/strcasestr.c: Likewise.
1566 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1567 Remove strcasestr.
1568
1569 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1570
1571 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1572
1573 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1574 variables for high and low parts before possibly modifying them.
1575
1576 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1577
1578 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1579 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1580 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1581 of "multiarch/init-arch.h".
1582 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1583 * sysdeps/x86/init-arch.h: This.
1584
1585 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1586
1587 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1588 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1589
1590 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1591
1592 [BZ #17787]
1593 * manual/macros.texi: Add twoexp macro.
1594 * manual/filesys.texi: Fix exponents.
1595 * manual/llio.texi: Likewise.
1596 * manual/stdio.texi: Likewise.
1597
1598 2015-08-20 Florian Weimer <fweimer@redhat.com>
1599
1600 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1601 incorrect use.
1602
1603 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1604
1605 [BZ #18370]
1606 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1607 whose real or imaginary part has small absolute value.
1608 * math/s_csqrtf.c (__csqrtf): Likewise.
1609 * math/s_csqrtl.c (__csqrtl): Likewise.
1610 * math/auto-libm-test-in: Add more tests of csqrt.
1611 * math/auto-libm-test-out: Regenerated.
1612 * sysdeps/i386/fpu/libm-test-ulps: Update.
1613
1614 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1615
1616 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1617 __ppc_set_ppr_very_low): New functions.
1618 * manual/platform.texi: Add documentation about
1619 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1620
1621 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1622
1623 * string/stpncpy.c (stpncpy): Improve performance using
1624 __strnlen/memcpy/memset.
1625
1626 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1627
1628 [BZ #18796]
1629 * scripts/test-installation.pl: Don't add -lmvec to build options if
1630 libmvec wasn't built.
1631
1632 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1633
1634 [BZ #14341]
1635 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1636 case when there is a gap between DT_REL and DT_JMPREL sections.
1637 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1638 (LDFLAGS-tst-split-dynreloc): New.
1639 (tst-split-dynreloc-ENV): Likewise.
1640 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1641 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1642
1643 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1644
1645 [BZ #18822]
1646 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1647 attribute_hidden.
1648 (__xstat64_conv): Likewise.
1649 (__xstat32_conv): Likewise.
1650
1651 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1652
1653 [BZ #18822]
1654 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1655 Don't load %ebx when calling __setcontext. Call __setcontext
1656 with HIDDEN_JUMPTARGET.
1657 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1658 libc_hidden_def.
1659
1660 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 * sysdeps/i386/i686/Makefile
1663 [$(subdir) == string] (sysdep_routines): Moved to ...
1664 * sysdeps/i386/Makefile: Here.
1665 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1666 * sysdeps/i386/cacheinfo.c: Here.
1667 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1668 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1669 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1670 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1671
1672 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1673
1674 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1675 __i586__ is defined.
1676 (HAS_I686): Defined to 1 if __i686__ is defined.
1677
1678 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1679
1680 * elf/Makefile [$(have-z-execstack) = yes]
1681 (CPPFLAGS-tst-execstack.c): New variable.
1682
1683 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1684 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1685 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1686 UTMPX || _HAVE_UT_TV].
1687 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1688 UTMPX || _HAVE_UT_TV - 0].
1689
1690 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1691
1692 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1693 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1694 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1695
1696 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1697
1698 * sysdeps/powerpc/dl-procinfo.c:
1699 (_dl_powerpc_cap_flags): Added missing strings for some
1700 hwcap features.
1701 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1702
1703 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1704
1705 Port the 0x7efe...feff pattern to GCC 6.
1706 See Steve Ellcey's bug report in:
1707 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1708 * string/memrchr.c (MEMRCHR):
1709 * string/rawmemchr.c (RAWMEMCHR):
1710 * string/strchr.c (strchr):
1711 * string/strchrnul.c (STRCHRNUL):
1712 Rewrite code to avoid issues with signed shift overflow.
1713
1714 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1715
1716 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1717 whether cpuid is available only if HAS_CPUID is 0.
1718 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1719 (HAS_I586): Likewise.
1720 (HAS_I686): Likewise.
1721
1722 2015-08-18 Zack Weinberg <zackw@panix.com>
1723
1724 * misc/Versions (libc): Add GLIBC_2.23.
1725
1726 2015-08-18 Alan Modra <amodra@gmail.com>
1727
1728 [BZ #18421]
1729 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1730 .Lp__global.
1731 (_start): Load %dp via .Lp__global.
1732 [!SHARED]: Use .section .rodata.
1733
1734 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1735
1736 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1737 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1738
1739 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1740
1741 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1742 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1743
1744 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1745
1746 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1747 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1748
1749 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1750
1751 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1752 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1753
1754 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1755
1756 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1757 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1758
1759 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1760
1761 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1762 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1763
1764 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1765
1766 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1767
1768 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1769
1770 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1771 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1772 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1773 (__ASSUME_LWS_CAS): Delete.
1774
1775 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1776
1777 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1778 * sysdeps/hppa/configure: Regenerated.
1779 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1780 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1781 * sysdeps/hppa/nptl/tls.h: Likewise.
1782
1783 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1784
1785 [BZ #18823]
1786 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1787 for scaling up small arguments.
1788 * math/s_csqrtf.c (__csqrtf): Likewise.
1789 * math/s_csqrtl.c (__csqrtl): Likewise.
1790 * math/auto-libm-test-in: Add more tests of csqrt.
1791 * math/auto-libm-test-out: Regenerated.
1792
1793 2015-08-17 Andreas Schwab <schwab@suse.de>
1794
1795 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1796 version set GLIBC_2.19.
1797
1798 2015-08-16 Zack Weinberg <zackw@panix.com>
1799
1800 [BZ #18681]
1801 * misc/regexp.h: This interface is no longer supported.
1802 Remove all contents, leaving only an #error directive.
1803 * misc/regexp.c (loc1, loc2, locs, step, advance):
1804 Demote to compatibility symbols.
1805
1806 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1807
1808 [BZ #18084]
1809 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1810 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1811 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1812 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1813 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1814 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1815 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1816 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1817 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1818
1819 2015-08-15 Zack Weinberg <zackw@panix.com>
1820
1821 [BZ #18795]
1822 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1823 buffer length is known to be too large, not if it's known to be
1824 small enough.
1825 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1826 overflow at runtime, involving a length parameter, twice: once
1827 with a compile-time constant length parameter, once without.
1828
1829 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1830
1831 [BZ #18824]
1832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1833 scaling x * y up instead of down.
1834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1836 * math/auto-libm-test-in: Add more tests of fma.
1837 * math/auto-libm-test-out: Regenerated.
1838
1839 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1840
1841 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1842
1843 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1844
1845 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1846 unnecessary movq.
1847 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1848 Likewise.
1849
1850 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1851
1852 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1853 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1854 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1855 and tgamma.
1856 * math/auto-libm-test-out: Regenerated.
1857 * sysdeps/i386/fpu/libm-test-ulps: Update.
1858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1859
1860 [BZ #16520]
1861 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1862 (__tanh): Force underflow exception for arguments with small
1863 absolute value.
1864 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1865 (__tanhf): Force underflow exception for arguments with small
1866 absolute value.
1867 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1868 (__tanhl): Force underflow exception for arguments with small
1869 absolute value.
1870 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1871 (__tanhl): Force underflow exception for arguments with small
1872 absolute value.
1873 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1874 (__tanhl): Force underflow exception for arguments with small
1875 absolute value.
1876 * math/auto-libm-test-in: Add more tests of tanh.
1877 * math/auto-libm-test-out: Regenerated.
1878 * sysdeps/i386/fpu/libm-test-ulps: Update.
1879
1880 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1883 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1884
1885 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1886
1887 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1888 <cpuid.h>.
1889
1890 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1893 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1894
1895 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1896
1897 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1898 Remove $(objpfx)init-arch.o.
1899 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1900 init-arch.
1901 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1902 (INIT_ARCH_EXT): Defined as empty.
1903 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1904 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1905 __init_cpu_features call. Replace HAS_XXX with
1906 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1907 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1908 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1909 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1910 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1911 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1912 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1913 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1914 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1915 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1916 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1917 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1918 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1919 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1920 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1921 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1922 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1923 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1924 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1925 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1926 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1927 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1928 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1929 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1930 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1931 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1932 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1933 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1934 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1935 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1936 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1937 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1938 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1939 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1940 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1941 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1942
1943 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1946 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1947 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1948 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1949 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1950 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1951 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1952 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1953 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1954 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1955 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1956 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
1957 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1958 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1959 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1960 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1967 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1968 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1969 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1970 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1972 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1973 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1974 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1975 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1976 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1977 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1978 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1979 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1980 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1981 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1982 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1983 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1984 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1985 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1986 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1987 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1988
1989 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1992 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1993 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1994 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1995 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1996 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1997 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1998 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1999 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2000 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2002 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2003 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2004 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2005 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2006 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2007 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2008 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2009 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2010 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2012 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2013 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2014 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2015 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2016 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2017 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2018 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2019 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2020 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2021 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2022 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2023 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2024 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2025 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2026 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2027 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2028 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2029 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2030 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2031 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2032 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2033 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2034
2035 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2036
2037 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2038 (dl_platform_init): Call init_cpu_features.
2039 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2040 * sysdeps/i386/i686/cacheinfo.c
2041 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2042 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2043 * sysdeps/i386/i686/multiarch/Versions: Removed.
2044 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2045 Removed.
2046 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2047 * sysdeps/unix/sysv/linux/x86/Makefile
2048 (libpthread-sysdep_routines): Remove init-arch.
2049 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2050 <sysdeps/x86_64/dl-procinfo.c> instead of
2051 sysdeps/generic/dl-procinfo.c>.
2052 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2053 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2054 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2055 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2056 [$(subdir) == elf] (tests-static): Add
2057 tst-get-cpu-features-static.
2058 * sysdeps/x86/Versions: New file.
2059 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2060 * sysdeps/x86/cpu-features.c: Likewise.
2061 * sysdeps/x86/cpu-features.h: Likewise.
2062 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2063 * sysdeps/x86/libc-start.c: Likewise.
2064 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2065 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2066 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2067 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2068 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2069 Assume USE_MULTIARCH is defined and don't check it.
2070 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2071 (is_amd): Likewise.
2072 (max_cpuid): Likewise.
2073 (intel_check_word): Likewise.
2074 (__cache_sysconf): Don't call __init_cpu_features.
2075 (__x86_preferred_memory_instruction): Removed.
2076 (init_cacheinfo): Don't call __init_cpu_features. Replace
2077 __cpu_features with GLRO(dl_x86_cpu_features).
2078 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2079 (dl_platform_init): Call init_cpu_features.
2080 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2081 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2082 * sysdeps/x86_64/multiarch/Versions: Removed.
2083 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2084 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2085 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2086 Removed.
2087 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2088
2089 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2090
2091 [BZ #18820]
2092 * libio/Makefile (test-fmemopen-mem): New test.
2093 * libio/test-fmemopen.c (do_bz18820): New test.
2094 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2095 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2096
2097 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2098
2099 [BZ #16734]
2100 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2101 (FREE_BUF): Delete.
2102 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2103 * libio/genops.c (_IO_setb): Use malloc and free directly.
2104 (_IO_default_doallocate, _IO_default_finish): Likewise.
2105 ( _IO_unbuffer_all): Likewise.
2106 ( libc_freeres_fn): Likewise.
2107 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2108 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2109 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2110 (_IO_wdefault_doallocate): Likewise.
2111
2112 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2113
2114 [BZ #18086]
2115 * sysdeps/posix/nice.c (nice): Restore old errno.
2116 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2117
2118 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2119
2120 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2121
2122 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2123
2124 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2125 __bcopy and add a weak_alias to bcopy.
2126 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2127 for static build.
2128
2129 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2130 cleanup macro usage.
2131 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2132 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2133 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2134 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2135 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2136 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2137 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2138 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2139 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2140 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2141 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2142 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2143 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2144 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2145 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2146 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2147 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2148 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2149 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2150
2151 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2152 libc_hidden_def.
2153 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2154
2155 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2156 (sysdep_routines): Add strstr-ppc64.
2157 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2158
2159 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2160
2161 [BZ #18778]
2162 * elf/Makefile (tests): Add Add tst-nodelete2.
2163 (modules-names): Add tst-nodelete2mod.
2164 (tst-nodelete2mod.so-no-z-defs): New.
2165 ($(objpfx)tst-nodelete2): Likewise.
2166 ($(objpfx)tst-nodelete2.out): Likewise.
2167 (LDFLAGS-tst-nodelete2): Likewise.
2168 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2169 out of loop through all loaded libraries.
2170 * elf/tst-nodelete2.c: New file.
2171 * elf/tst-nodelete2mod.c: Likewise.
2172 * elf/tst-znodelete-zlib.cc: Delete.
2173
2174 2015-08-11 Andreas Schwab <schwab@suse.de>
2175
2176 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2177 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2178 (__openat64_nocancel): Likewise.
2179
2180 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2181
2182 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2183 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2184 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2185 * math/auto-libm-test-out: Regenerated.
2186 * sysdeps/i386/fpu/libm-test-ulps: Update.
2187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2188
2189 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2190
2191 [BZ #18790]
2192 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2193 threshold for returning +/- 1.
2194 * math/auto-libm-test-in: Add more tests of tanh.
2195 * math/auto-libm-test-out: Regenerated.
2196 * sysdeps/i386/fpu/libm-test-ulps: Update.
2197
2198 2015-08-10 Andreas Schwab <schwab@suse.de>
2199
2200 [BZ #18781]
2201 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2202 MORE_OFLAGS to oflag.
2203 * io/test-lfs.c (do_test): Test openat64.
2204
2205 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2206
2207 [BZ #18789]
2208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2209 smaller threshold for returning the argument.
2210 * math/auto-libm-test-in: Add more tests of sinh.
2211 * math/auto-libm-test-out: Regenerated.
2212 * sysdeps/i386/fpu/libm-test-ulps: Update.
2213
2214 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 [BZ #18674]
2217 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2218 break.
2219
2220 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2221
2222 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2223 (generated): Don't add $(addprefix z.,$(tzfiles)).
2224
2225 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2226
2227 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2228 * scripts/sysd-rules.awk: Likewise.
2229
2230 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2231
2232 * iconvdata/tst-tables.sh: Change echo -n to printf.
2233 * nss/db-Makefile: Likewise.
2234 * posix/tst-getconf.sh: Likewise.
2235 * stdio-common/tst-unbputc.sh: Likewise.
2236
2237 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2238
2239 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2240 MADV_*_PAGES defines behind this feature check.
2241
2242 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2243
2244 [BZ #18480]
2245 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2246 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2247 Define.
2248 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2249 LOAD_REGS_5, LOAD_REGS_6): Update.
2250 (INTERNAL_SYSCALL): Update using new LOAD defines.
2251 (INTERNAL_SYSCALL_NCS): Likewise.
2252 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2253
2254 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2255
2256 [BZ #16734]
2257 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2258
2259 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2260
2261 [BZ #17905]
2262 * catgets/Makefile (tst-catgets-mem): New test.
2263 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2264 * catgets/open_catalog.c (__open_catalog): Likewise.
2265 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2266
2267 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2268
2269 [BZ #18787]
2270 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2271 clobber registers.
2272 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2273 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2274 Cast return to __typeof (oldval).
2275
2276 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2277
2278 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2279 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2280 and delete sys/syscall.h include.
2281
2282 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2283
2284 [BZ #16517]
2285 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2286 (tan): Force underflow exception for arguments with small absolute
2287 value.
2288 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2289 (__kernel_tanf): Force underflow exception for arguments with
2290 small absolute value.
2291 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2292 (__kernel_tanl): Force underflow exception for arguments with
2293 small absolute value.
2294 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2295 (__kernel_tanl): Force underflow exception for arguments with
2296 small absolute value.
2297 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2298 (__kernel_tanl): Force underflow exception for arguments with
2299 small absolute value.
2300 * math/auto-libm-test-in: Add more tests of tan.
2301 * math/auto-libm-test-out: Regenerated.
2302
2303 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2304
2305 Fix sysdeps/i386/fpu/s_scalbn.S build
2306
2307 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2308
2309 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2310
2311 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2312
2313 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2314
2315 Fix gcrt0.o compilation
2316
2317 When static-start-installed-name is different from
2318 start-installed-name, we must not use the shared objects.
2319
2320 * csu/Makefile
2321 (extra-objs): Add gmon-start.o when building shared library and
2322 $(static-start-installed-name) is different from
2323 $(start-installed-name).
2324 $(objpfx)g$(static-start-installed-name): When building shared
2325 library and $(static-start-installed-name) is different from
2326 $(static-start-installed-name), revert to non-shared rule,
2327 i.e. using $(objpfx)% and gmon-start.o.
2328
2329 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2330
2331 [BZ #16519]
2332 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2333 (__ieee754_sinh): Force underflow exception for arguments with
2334 small absolute value.
2335 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2336 (__ieee754_sinhf): Force underflow exception for arguments with
2337 small absolute value.
2338 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2339 (__ieee754_sinhl): Force underflow exception for arguments with
2340 small absolute value.
2341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2342 (__ieee754_sinhl): Force underflow exception for arguments with
2343 small absolute value.
2344 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2345 (__ieee754_sinhl): Force underflow exception for arguments with
2346 small absolute value.
2347 * math/auto-libm-test-in: Add more tests of sinh.
2348 * math/auto-libm-test-out: Regenerated.
2349 * sysdeps/i386/fpu/libm-test-ulps: Update.
2350
2351 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2352
2353 * libio/oldfileops.c: Include unistd.h.
2354
2355 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2356
2357 * stdlib/isomac.c: Include ctype.h.
2358
2359 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2360
2361 * dirent/tst-seekdir.c (main): Converted to ...
2362 (do_test): ... this.
2363 (TEST_FUNCTION): New macro.
2364 Include test-skeleton.c.
2365 * elf/tst-dlmodcount.c (main): Converted to ...
2366 (do_test): ... this.
2367 (TEST_FUNCTION): New macro.
2368 Include test-skeleton.c.
2369 * elf/tst-order-main.c (main): Converted to ...
2370 (do_test): ... this.
2371 (TEST_FUNCTION): New macro.
2372 Include test-skeleton.c.
2373 * elf/tst-pie2.c (main): Converted to ...
2374 (do_test): ... this.
2375 (TEST_FUNCTION): New macro.
2376 Include test-skeleton.c.
2377 * inet/tst-ether_aton.c (main): Converted to ...
2378 (do_test): ... this.
2379 (TEST_FUNCTION): New macro.
2380 Include test-skeleton.c.
2381 * misc/tst-mntent.c (main): Converted to ...
2382 (do_test): ... this.
2383 (TEST_FUNCTION): New macro.
2384 Include test-skeleton.c.
2385 * misc/tst-tsearch.c (main): Converted to ...
2386 (do_test): ... this.
2387 (TEST_FUNCTION): New macro.
2388 Include test-skeleton.c.
2389 * posix/tst-regexloc.c (main): Converted to ...
2390 (do_test): ... this.
2391 (TEST_FUNCTION): New macro.
2392 Include test-skeleton.c.
2393 * resolv/tst-aton.c (main): Converted to ...
2394 (do_test): ... this.
2395 (TEST_FUNCTION): New macro.
2396 Include test-skeleton.c.
2397 * stdio-common/test-fwrite.c (main): Converted to ...
2398 (do_test): ... this.
2399 (TEST_FUNCTION): New macro.
2400 Include test-skeleton.c.
2401 * stdio-common/tst-ferror.c (main): Converted to ...
2402 (do_test): ... this.
2403 (TEST_FUNCTION): New macro.
2404 Include test-skeleton.c.
2405 * stdio-common/tst-printf.c (main): Converted to ...
2406 (do_test): ... this.
2407 (TEST_FUNCTION): New macro.
2408 Include test-skeleton.c.
2409 * stdio-common/tst-printfsz.c (main): Converted to ...
2410 (do_test): ... this.
2411 (TEST_FUNCTION): New macro.
2412 Include test-skeleton.c.
2413 * stdlib/tst-strtod.c (main): Converted to ...
2414 (do_test): ... this.
2415 (TEST_FUNCTION): New macro.
2416 Include test-skeleton.c.
2417 * string/tst-strlen.c (main): Converted to ...
2418 (do_test): ... this.
2419 (TEST_FUNCTION): New macro.
2420 Include test-skeleton.c.
2421 * string/tst-svc.c (main): Converted to ...
2422 (do_test): ... this.
2423 (TEST_FUNCTION): New macro.
2424 Include test-skeleton.c.
2425 * time/tst-strptime.c (main): Converted to ...
2426 (do_test): ... this.
2427 (TEST_FUNCTION): New macro.
2428 Include test-skeleton.c.
2429 * timezone/tst-timezone.c (main): Converted to ...
2430 (do_test): ... this.
2431 (TEST_FUNCTION): New macro.
2432 Include test-skeleton.c.
2433
2434 2015-08-05 Zack Weinberg <zackw@panix.com>
2435
2436 * misc/regexp.h: Update comments.
2437
2438 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2439
2440 [BZ #18635]
2441 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2442 before return label.
2443
2444 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2445
2446 [BZ #18661]
2447 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2448 when calling __errno_location.
2449 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2450 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2451
2452 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2453
2454 [BZ #18661]
2455 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2456 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2457 __gettimeofday.
2458
2459 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2460
2461 [BZ #18661]
2462 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2463 (__start_context): Don't use pop to restore %rdi so that stack
2464 is aligned to 16 bytes when calling __setcontext.
2465
2466 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2467
2468 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2469 only for libc.
2470 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2471
2472 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2473
2474 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2475 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2476 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2477
2478 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2479
2480 * string/memccpy.c (memccpy):
2481 Improve performance by using memchr/memcpy/__mempcpy.
2482
2483 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2484
2485 * string/strncpy.c (strncpy):
2486 Improve performance by using __strnlen/memcpy.
2487
2488 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2489
2490 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2491 Optimize to avoid an unnecessary FPCR read.
2492
2493 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2494
2495 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2496 Optimize to reduce FPCR/FPSR accesses.
2497
2498 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2499
2500 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2501 dead->data[category] != NULL.
2502
2503 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2504
2505 [BZ #18647]
2506 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2507 and |x| close to 1, use absolute value of x when computing log.
2508 * math/auto-libm-test-in: Add more tests of pow.
2509 * math/auto-libm-test-out: Regenerated.
2510
2511 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2512
2513 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2514 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2515 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2516
2517 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2518
2519 [BZ #18525]
2520 * locales/km_KH: Remove timezone definition.
2521 * locales/lo_LA: Likewise.
2522 * locales/my_MM: Likewise.
2523 * locales/nan_TW@latin: Likewise.
2524 * locales/th_TH: Likewise.
2525 * locales/uk_UA: Likewise.
2526
2527 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2528
2529 [BZ #18265]
2530 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2531 (wcsncat): Likewise.
2532 (wcscmp): Likewise.
2533 (wcsncmp): Likewise.
2534
2535 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2536
2537 * test-skeleton.c (usage): New function.
2538 (main): Call usage when opt is '?'.
2539
2540 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2541
2542 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2543 before first use.
2544
2545 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2546
2547 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2548 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2549 in there too.
2550
2551 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2552
2553 * version.h (RELEASE): Set to "development".
2554 (VERSION): Set to "2.22.90"
2555
2556 * version.h (RELEASE): Set to "stable".
2557 (VERSION): Set to "2.22"
2558 * include/features.h (__GLIBC_MINOR__): Set to 22.
2559
2560 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2561
2562 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2563 Restructure macro to avoid "value computed is not used" warning.
2564 (atomic_compare_and_exchange_val_acq): Likewise.
2565
2566 2015-08-04 Andreas Schwab <schwab@suse.de>
2567
2568 [BZ #18635]
2569 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2570 ret.
2571 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2572
2573 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2574
2575 * po/pl.po: Updated translation.
2576 * po/uk.po: Likewise.
2577 * po/fi.po: Likewise.
2578 * po/ko.po: Likewise.
2579 * po/ru.po: Likewise.
2580 * po/vi.po: Likewise.
2581
2582 2015-07-31 Zack Weinberg <zackw@panix.com>
2583
2584 [BZ #18681]
2585 * regexp.h: Add unconditional #warning stating that this header
2586 will be removed soon. Revise banner comment to match.
2587 (compile): Consistently use ERROR instead of RETURN to report
2588 errors (partial fix for bz#18681).
2589 * regexp.c: Don't include regexp.h. Remove some unnecessary
2590 declarations.
2591
2592 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2593
2594 * po/libc.pot: Regenerated.
2595
2596 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2597
2598 [BZ #18740]
2599 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2600 float-vlen4-arch-ext-cflags): Removed.
2601 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2602 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2603
2604 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2605
2606 [BZ #14113]
2607 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2608 aligned to __aligned__.
2609 (pthread_cond_t, pthread_rwlock_t): Likewise.
2610
2611 2015-07-30 Torvald Riegel <triegel@redhat.com>
2612
2613 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2614
2615 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2616
2617 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2618 (struct sigaction): Change sa_flags from a long to an int, and add
2619 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2620
2621 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2622
2623 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2624 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2625 sysdeps/generic/sysdep.h include.
2626 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2627 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2628 sysdeps/hppa/sysdep.h.
2629 (ENTRY, PSEUDO): Undefine before defining.
2630
2631 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2632
2633 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2634 from scratch to use INTERNAL_SYSCALL.
2635
2636 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2637
2638 [BZ #18078]
2639 * scripts/check-localplt.awk: Support alternate relocations.
2640 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2641 sections.
2642 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2643 malloc entries with + REL R_386_GLOB_DAT.
2644 * sysdeps/x86_64/localplt.data: New file.
2645
2646 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2647
2648 [BZ #18731]
2649 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2650 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2651 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2652
2653 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2654
2655 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2656
2657 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2658
2659 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2660 directly in terms of __sync_fetch_and_add and delete (int) cast.
2661
2662 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2663
2664 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2665 the -D_ASM_IA64_CURRENT_H flag.
2666
2667 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2668
2669 [BZ #18641]
2670 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2671
2672 2015-07-27 Andreas Schwab <schwab@suse.de>
2673
2674 * conform/conformtest.pl (checknamespace): Filter out string
2675 literals while tokenizing.
2676
2677 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2678
2679 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2680 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2681 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2682
2683 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2684
2685 * nptl/tst-join7mod.c: Add #include <string.h>.
2686
2687 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2688
2689 * sysdeps/nios2/libm-test-ulps: Update.
2690
2691 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2692
2693 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2694 Fix order of arguments to the rt_sigprocmask syscall.
2695 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2696 Likewise.
2697
2698 2015-07-24 Roland McGrath <roland@hack.frob.com>
2699
2700 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2701
2702 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2703
2704 [BZ #18457]
2705 * nptl/Makefile (tests): New test case tst-join7.
2706 (modules-names): New test case module tst-join7mod.
2707 * nptl/tst-join7.c: New file.
2708 * nptl/tst-join7mod.c: New file.
2709 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2710 all translation units in libc.so, libpthread.so and rtld.
2711
2712 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2713
2714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2715
2716 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2717
2718 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2719 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2720 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2721 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2722 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2724 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2725 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2726 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2727 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2728 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2729 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2730 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2731 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2732 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2733 implementation.
2734
2735 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2736
2737 [BZ #17711]
2738 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2739 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2740 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2741 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2742 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2743 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2744
2745 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2746
2747 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2748 instead of just saying load lock in the comments.
2749
2750 2015-07-23 Roland McGrath <roland@hack.frob.com>
2751
2752 * sysdeps/unix/Subdirs: Moved ...
2753 * sysdeps/posix/Subdirs: ... here.
2754 * login/pty.h (struct termios, struct winsize): Add forward decls.
2755 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2756 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2757 * sysdeps/arm/nacl/libc.abilist: Updated.
2758 * sysdeps/nacl/libutil.abilist: New file.
2759
2760 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2761 (SIGWINCH): New macro.
2762
2763 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2764 * sysdeps/arm/nacl/libc.abilist: Add it.
2765
2766 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2767
2768 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2769
2770 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2771
2772 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2773 Swap __glibc_reserved0 and sa_flags order.
2774
2775 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2776
2777 [BZ #18657]
2778 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2779 are pending TLS destructor calls.
2780 * include/link.h (struct link_map): Add concurrency note for
2781 L_TLS_DTOR_COUNT.
2782 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2783 Don't touch the link map flag. Atomically increment
2784 l_tls_dtor_count.
2785 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2786 Avoid taking the load lock and don't touch the link map flag.
2787 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2788 * stdlib/Makefile (tests): Use it.
2789 * stdlib/tst-tls-atexit.c (do_test): dlopen
2790 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2791 to allow tst-tls-atexit-nodelete test case to use it.
2792
2793 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2794
2795 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2796 to bits/types.h.
2797 (msgqnum_t): New typedef.
2798 (msglen_t): Likewise.
2799 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2800 and msg_qbytes type to msglen_t.
2801
2802 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2803
2804 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2805 pad0 to __glibc_reserved0.
2806 (struct stat64): Likewise.
2807
2808 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2809
2810 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2811 Change sa_flags from a long to an int and add __glibc_reserved0 before
2812 it for padding.
2813
2814 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2815
2816 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2817 anonymous by deleting "siginfo" name.
2818
2819 2015-07-21 Roland McGrath <roland@hack.frob.com>
2820
2821 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2822 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2823 rather than __nacl_irt_filename.
2824 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2825
2826 * NEWS: New item for arm-nacl port.
2827 * sysdeps/arm/nacl/libc.abilist: New file.
2828 * sysdeps/nacl/ld.abilist: New file.
2829 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2830 * sysdeps/nacl/libanl.abilist: New file.
2831 * sysdeps/nacl/libcrypt.abilist: New file.
2832 * sysdeps/nacl/libdl.abilist: New file.
2833 * sysdeps/nacl/libm.abilist: New file.
2834 * sysdeps/nacl/libpthread.abilist: New file.
2835 * sysdeps/nacl/libresolv.abilist: New file.
2836 * sysdeps/nacl/librt.abilist: New file.
2837
2838 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2839
2840 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2841 __startcontext to initialize the new context.
2842 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2843 up CFI directive to forbid further backtracing.
2844
2845 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2846
2847 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2848 reference.
2849 * charmaps/ANSI_X3.4-1968: Likewise.
2850 * charmaps/BS_4730: Likewise.
2851 * charmaps/BS_VIEWDATA: Likewise.
2852 * charmaps/CP1250: Likewise.
2853 * charmaps/CP1251: Likewise.
2854 * charmaps/CP1252: Likewise.
2855 * charmaps/CP1253: Likewise.
2856 * charmaps/CP1254: Likewise.
2857 * charmaps/CP1255: Likewise.
2858 * charmaps/CP1256: Likewise.
2859 * charmaps/CSN_369103: Likewise.
2860 * charmaps/EBCDIC-DK-NO: Likewise.
2861 * charmaps/GB_1988-80: Likewise.
2862 * charmaps/GREEK-CCITT: Likewise.
2863 * charmaps/GREEK7: Likewise.
2864 * charmaps/INIS-8: Likewise.
2865 * charmaps/ISIRI-3342: Likewise.
2866 * charmaps/ISO_2033-1983: Likewise.
2867 * charmaps/ISO_5427-EXT: Likewise.
2868 * locales/POSIX: Likewise.
2869 * locales/ar_SA: Likewise.
2870 * locales/be_BY: Likewise.
2871 * locales/be_BY@latin: Likewise.
2872 * locales/ca_ES: Likewise.
2873 * locales/cs_CZ: Likewise.
2874 * locales/da_DK: Likewise.
2875 * locales/de_BE: Likewise.
2876 * locales/de_CH: Likewise.
2877 * locales/de_LU: Likewise.
2878 * locales/en_AU: Likewise.
2879 * locales/en_BW: Likewise.
2880 * locales/en_CA: Likewise.
2881 * locales/en_DK: Likewise.
2882 * locales/en_GB: Likewise.
2883 * locales/en_IE: Likewise.
2884 * locales/en_NZ: Likewise.
2885 * locales/en_ZA: Likewise.
2886 * locales/en_ZW: Likewise.
2887 * locales/es_AR: Likewise.
2888 * locales/es_BO: Likewise.
2889 * locales/es_CL: Likewise.
2890 * locales/es_CO: Likewise.
2891 * locales/es_DO: Likewise.
2892 * locales/es_EC: Likewise.
2893 * locales/es_ES: Likewise.
2894 * locales/es_HN: Likewise.
2895 * locales/es_MX: Likewise.
2896 * locales/es_PA: Likewise.
2897 * locales/es_PE: Likewise.
2898 * locales/es_PY: Likewise.
2899 * locales/es_SV: Likewise.
2900 * locales/es_US: Likewise.
2901 * locales/es_UY: Likewise.
2902 * locales/es_VE: Likewise.
2903 * locales/et_EE: Likewise.
2904 * locales/fa_IR: Likewise.
2905 * locales/fo_FO: Likewise.
2906 * locales/fr_CA: Likewise.
2907 * locales/fr_CH: Likewise.
2908 * locales/gv_GB: Likewise.
2909 * locales/he_IL: Likewise.
2910 * locales/hr_HR: Likewise.
2911 * locales/id_ID: Likewise.
2912 * locales/is_IS: Likewise.
2913 * locales/it_CH: Likewise.
2914 * locales/iw_IL: Likewise.
2915 * locales/kl_GL: Likewise.
2916 * locales/ko_KR: Likewise.
2917 * locales/kw_GB: Likewise.
2918 * locales/lg_UG: Likewise.
2919 * locales/lt_LT: Likewise.
2920 * locales/lv_LV: Likewise.
2921 * locales/mi_NZ: Likewise.
2922 * locales/nhn_MX: Likewise.
2923 * locales/nl_BE: Likewise.
2924 * locales/pl_PL: Likewise.
2925 * locales/sk_SK: Likewise.
2926 * locales/sl_SI: Likewise.
2927 * locales/sv_FI: Likewise.
2928 * locales/tl_PH: Likewise.
2929 * locales/tr_TR: Likewise.
2930 * locales/vi_VN: Likewise.
2931
2932 2015-07-21 Khem Raj <raj.khem@gmail.com>
2933
2934 [BZ #17475]
2935 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2936 of tu_IN and bh_IN.
2937
2938 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2939
2940 [BZ #18694]
2941 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2942 bits/wordsize.h.
2943 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2944
2945 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2946
2947 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2948 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2949 (spawn_thread): New function.
2950 (load): Rename to reg_dtor_and_close. Move dlopen to...
2951 (do_test): ... here. Use IS_LOADED to test for its
2952 availability.
2953
2954 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
2955
2956 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2957
2958 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
2959
2960 [BZ #18696]
2961 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2962 si_addr_bnd.
2963 (si_lower): New.
2964 (si_upper): Likewise.
2965
2966 2015-07-16 David S. Miller <davem@davemloft.net>
2967
2968 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2969
2970 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2971
2972 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2973 buffer.
2974 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2975 fail output information.
2976
2977 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2978
2979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2980 and strstr-ppc64..
2981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2982 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2983 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2984 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2985 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2986
2987 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2988
2989 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2990 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2991 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2992 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2993
2994 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2995
2996 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2997 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2998 rtld_hidden_proto.
2999 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3000
3001 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3002
3003 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3004 the test can fail.
3005
3006 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3007
3008 [BZ #18676]
3009 * elf/tst-nodelete-opened.c: New test case.
3010 * elf/tst-nodelete-opened-lib.c: New test case module.
3011 * elf/Makefile (tests, modules-names): Use them.
3012 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3013 early.
3014
3015 2015-07-15 David S. Miller <davem@davemloft.net>
3016
3017 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3018 futex-intenal.h
3019 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3020 * sysdeps/sparc/sparc64/Makefile: Likewise.
3021 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3022 Remove space from macro define.
3023 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3024
3025 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3026
3027 [BZ #17475]
3028 * locale/iso-639.def: Update Bhili and Tulu language codes as
3029 per iso639-3.
3030
3031 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3032
3033 * elf/tst-leaks1.c (main): Converted to ...
3034 (do_test): ... this.
3035 (TEST_FUNCTION): New macro.
3036 Include test-skeleton.c.
3037 * localedata/tst-langinfo.c (main): Converted to ...
3038 (do_test): ... this.
3039 (TEST_FUNCTION): New macro.
3040 Include test-skeleton.c.
3041 * math/test-fpucw.c (main): Converted to ...
3042 (do_test): ... this.
3043 (TEST_FUNCTION): New macro.
3044 Include test-skeleton.c.
3045 * math/test-tgmath.c (main): Converted to ...
3046 (do_test): ... this.
3047 (TEST_FUNCTION): New macro.
3048 Include test-skeleton.c.
3049 * math/test-tgmath2.c (main): Converted to ...
3050 (do_test): ... this.
3051 (TEST_FUNCTION): New macro.
3052 Include test-skeleton.c.
3053 * setjmp/tst-setjmp.c (main): Converted to ...
3054 (do_test): ... this.
3055 (TEST_FUNCTION): New macro.
3056 Include test-skeleton.c.
3057 * stdio-common/tst-sscanf.c (main): Converted to ...
3058 (do_test): ... this.
3059 (TEST_FUNCTION): New macro.
3060 Include test-skeleton.c.
3061 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3062 (do_test): ... this.
3063 (TEST_FUNCTION): New macro.
3064 Include test-skeleton.c.
3065
3066 * elf/tst-audit9.c (main): Converted to ...
3067 (do_test): ... this.
3068 (TEST_FUNCTION): New macro.
3069 Include test-skeleton.c.
3070
3071 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3072
3073 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3074
3075 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3076
3077 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3078 New variable.
3079
3080 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3081
3082 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3083
3084 2015-07-14 Roland McGrath <roland@hack.frob.com>
3085
3086 * sysdeps/generic/dl-fileid.h: New file.
3087 * sysdeps/posix/dl-fileid.h: New file.
3088 * sysdeps/nacl/dl-fileid.h: New file.
3089 * include/link.h: Include <dl-fileid.h>.
3090 (struct link_map): Replace l_dev and l_ino with l_file_id.
3091 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3092 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3093 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3094
3095 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3096
3097 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3098
3099 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3100
3101 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3102 Add iff $CXX is set.
3103 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3104 Likewise.
3105 (tst-nodelete-zmodiff): Likewise.
3106 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3107
3108 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3109
3110 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3111
3112 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3113
3114 * sysdeps/aarch64/fpu/math_private.h
3115 (define math_opt_barrier): Add AArch64 version.
3116 (math_force_eval): Likewise.
3117
3118 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3119
3120 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3121
3122 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3123
3124 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3125 %ld with %jd and cast to intmax_t.
3126 (do_test_length_zero): Likewise.
3127
3128 2015-07-10 Roland McGrath <roland@hack.frob.com>
3129
3130 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3131
3132 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3133
3134 * sysdeps/tile/libm-test-ulps: Regenerated.
3135
3136 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3137 Comment out the whole function, not just its body.
3138
3139 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3140
3141 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3142 locks.
3143
3144 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3145
3146 2015-07-10 Torvald Riegel <triegel@redhat.com>
3147
3148 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3149 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3150
3151 2015-07-10 Torvald Riegel <triegel@redhat.com>
3152
3153 * sysdeps/nptl/futex-internal.h: New file.
3154 * sysdeps/nacl/futex-internal.h: New file.
3155 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3156 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3157 error checking.
3158 (setxid_unmark_thread): Likewise.
3159 (__nptl_setxid): Likewise.
3160 (__wait_lookup_done): Likewise.
3161 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3162 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3163 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3164 * nptl/pthread_once.c (clear_once_control): Likewise.
3165 (__pthread_once_slow): Likewise.
3166 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3167 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3168 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3169 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3170 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3171 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3172 Likewise.
3173 (__pthread_rwlock_rdlock): Likewise.
3174 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3175 Likewise.
3176 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3177 Likewise.
3178 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3179 Likewise.
3180 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3181 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3182 Likewise.
3183 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3184 __ASSUME_PRIVATE_FUTEX check.
3185 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3186 Check that shared futexes are supported.
3187 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3188 wrappers with error checking.
3189 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3190 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3191 * nptl/pthread_barrierattr_setpshared.c
3192 (pthread_barrierattr_setpshared): Check that shared futexes are
3193 supported.
3194 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3195 Likewise.
3196 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3197 Likewise.
3198 * nptl/sem_init.c (futex_private_if_supported): Remove.
3199 (__new_sem_init): Adapt and check that shared futexes are supported.
3200 * nptl/sem_open.c (sem_open): Likewise.
3201 * nptl/sem_post.c (futex_wake): Remove.
3202 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3203 (do_futex_wait): Use futex wrappers with error checking.
3204 * nptl/sem_wait.c: Include lowlevellock.h.
3205 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3206 Use futex_supports_pshared.
3207 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3208 Use futex wrappers with error checking.
3209 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3210 Likewise.
3211 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3212 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3213 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3214 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3215 (futex_wake): Likewise.
3216 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3217 (do_futex_wait): Use futex wrappers with error checking.
3218 (__new_sem_wait_slow): Update EINTR handling.
3219 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3220
3221 2015-07-09 Martin Sebor <msebor@redhat.com>
3222
3223 [BZ #18435]
3224 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3225 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3226 * nptl/Makefile (test-xfail-tst-once5): Define.
3227
3228 2015-07-09 Roland McGrath <roland@hack.frob.com>
3229
3230 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3231 * elf/dl-minimal.c: For readability, reorder some definitions and
3232 introduce more page breaks. Include <stdio.h>.
3233 (__libc_fatal): New function.
3234
3235 * include/unistd.h: Add rtld_hidden_proto for _exit.
3236 * posix/_exit.c: Add rtld_hidden_def.
3237 * sysdeps/mach/hurd/_exit.c: Likewise.
3238 * sysdeps/nacl/_exit.c: Likewise.
3239 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3240 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3241
3242 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3243
3244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3245 bndmov encoding with zero displacement.
3246
3247 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3248 H.J. Lu <hongjiu.lu@intel.com>
3249
3250 [BZ #18134]
3251 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3252 * sysdeps/i386/configure: Regenerated.
3253 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3254 (_dl_runtime_profile): Save and restore Intel MPX return bound
3255 registers when calling _dl_call_pltexit. Add
3256 PRESERVE_BND_REGS_PREFIX before return.
3257 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3258 (LRV_BND1_OFFSET): Likewise.
3259 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3260 lrv_bnd1.
3261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3262 typo in bndmov encoding.
3263 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3264 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3265 branch instructions to preserve bounds.
3266
3267 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3268
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3270 [GLIBC_2.22]: Add fmemopen.
3271
3272 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3273
3274 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3275 returns an error, also try to use host port from __mach_host_self for
3276 the __vm_wire call.
3277 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3278
3279 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3280
3281 [BZ #18400]
3282 [BZ #18648]
3283 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3284 Fix pr_uid and pr_gid members.
3285 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3286 definition to elf_greg_t.
3287
3288 2015-07-08 Roland McGrath <roland@hack.frob.com>
3289
3290 [BZ #18383]
3291 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3292 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3293 * sysdeps/arm/configure: Regenerated.
3294 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3295 (test-xfail-tst-tlsalign-static): Variable removed.
3296
3297 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3298 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3299 rather than explicit 'ln -s'.
3300
3301 * resolv/rpc/netdb.h: New file.
3302 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3303
3304 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3305
3306 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3307 length buffers.
3308 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3309 test-skeleton.c.
3310
3311 [BZ #6544]
3312 [BZ #11216]
3313 [BZ #12836]
3314 [BZ #13151]
3315 [BZ #13152]
3316 [BZ #14292]
3317 * include/stdio.h (fmemopen): Remove hidden prototype.
3318 (__fmemopen): Add new hidden prototype.
3319 * libio/Makefile: Add oldfmemopen object.
3320 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3321 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3322 compliance.
3323 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3324 symbol compatibility.
3325 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3326 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3327 fmemopen.
3328 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3329 on append and read mode.
3330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3331 fmemopen.
3332 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3333 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3334 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3335 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3336 Likewise.
3337 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3338 [GLIBC_2.22]: Likewise.
3339 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3340 Likewise.
3341 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3342 Likewise.
3343 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3344 [GLIBC_2.22]: Likewise.
3345 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3346 [GLIBC_2.22]: Likewise.
3347 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3348 [GLIBC_2.22]: Likewise.
3349 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3350 [GLIBC_2.22]: Likewise.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3352 [GLIBC_2.22]: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3354 [GLIBC_2.22]: Likewise.
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3356 [GLIBC_2.22]: Likewise.
3357 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3358 Likewise.
3359 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3360 Likewise.
3361 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3362 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3363 [GLIBC_2.22]: Likewise.
3364 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3365 [GLIBC_2.22]: Likewise.
3366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3367 [GLIBC_2.22]: Likewise.
3368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3369 [GLIBC_2.22]: Likewise.
3370 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3371 Likewise.
3372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3373 Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3375 Likewise.
3376 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3377 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3378
3379 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3380
3381 [BZ #18643]
3382 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3383 IPV6_PATHMTU, and IPV6_DONTFRAG.
3384
3385 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3386
3387 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3388 and _IO_UNBUFFERED.
3389 * libio/oldfileops.c: Likewise.
3390 * libio/wfileops.c: Likewise.
3391
3392 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3393
3394 * nscd/selinux.c: Delete selinux/flask.h include.
3395
3396 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3397
3398 [BZ #18641]
3399 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3400 (putpwent): Likewise.
3401 (getpwnam): Likewise.
3402 (getpwent_r): Likewise.
3403 (getpwuid_r): Likewise.
3404 (getpwnam_r): Likewise.
3405 (fgetpwent_r): Likewise.
3406
3407 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3408
3409 [BZ #18557]
3410 * inet/rcmd.c (__validuser2_sa): Check user first to
3411 short-circuit host check.
3412
3413 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3414 Mikhail Ilin <m.ilin@samsung.com>
3415
3416 [BZ #17833]
3417 * elf/Makefile (tests): Add tst-nodelete.
3418 (modules-names): Add tst-nodelete-uniquemod.
3419 (tst-nodelete-uniquemod.so-no-z-defs): New.
3420 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3421 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3422 ($(objpfx)tst-nodelete): Likewise.
3423 ($(objpfx)tst-nodelete.out): Likewise.
3424 (LDFLAGS-tst-nodelete): Likewise.
3425 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3426 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3427 implement forced object deletion.
3428 (_dl_close): Pass false to _dl_close_worker.
3429 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3430 * elf/tst-nodelete.cc: New file.
3431 * elf/tst-nodeletelib.cc: Likewise.
3432 * elf/tst-znodeletelib.cc: Likewise.
3433 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3434
3435 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3436
3437 [BZ #18508]
3438 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3439 Depend on $(libdl).
3440 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3441 is not called infinitely times.
3442 (backtrace_helper): New function.
3443 (trace_arg): New struct.
3444 (st1): Enlarge stack size.
3445 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3446 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3447 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3448 Likewise.
3449
3450 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3451
3452 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3453
3454 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3455
3456 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3457 Include sys/types.h instead of bits/types.h.
3458 Remove inclusion of bits/wordsize.h.
3459
3460 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3463 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3464 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3465 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3466 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3467 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3468
3469 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3472 link-defines.sym.
3473 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3474 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3475 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3476 and LR_SIZE.
3477 * sysdeps/i386/link-defines.sym: New file.
3478
3479 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3480
3481 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3482 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3483 ($(objpfx)tst-audit3): New rule.
3484 ($(objpfx)tst-audit3.out): Likewise.
3485 * sysdeps/i386/tst-audit3.c: New file.
3486 * sysdeps/i386/tst-audit3.h: Likewise.
3487 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3488 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3489
3490 2015-07-07 Torvald Riegel <triegel@redhat.com>
3491
3492 [BZ #18633]
3493 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3494 pointer in C code.
3495 (__strcat_c): Likewise.
3496 (__strcat_g): Likewise.
3497
3498 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3499
3500 [BZ #18592]
3501 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3502
3503 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3504
3505 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3506 New function. (__ieee754_sqrtf): New function.
3507 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3508 New function.
3509 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3510 New function.
3511
3512 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3513
3514 * sysdeps/ieee754/support.c: Remove unused file.
3515
3516 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3517
3518 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3519 registers instead of d ones so the layout is kernel abi compatible.
3520 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3521 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3522 Likewise.
3523
3524 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3525
3526 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3527
3528 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3529
3530 [BZ #18619]
3531 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3532 and return argument in case of subnormal argument.
3533
3534 2015-07-01 Martin Sebor <msebor@redhat.com>
3535
3536 [BZ #18435]
3537 * nptl/Makefile: Add tst-once5.cc.
3538 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3539 Remove macro redefinitions.
3540 * nptl/tst-once5.cc: New test.
3541
3542 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3543
3544 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3545
3546 * sysdeps/arm/libm-test-ulps: Regenerated.
3547
3548 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3549 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3550
3551 2015-06-30 Torvald Riegel <triegel@redhat.com>
3552
3553 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3554 lll_lock_wait_private and lll_futex_wake probes.
3555
3556 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3557 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3558 Likewise.
3559 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3560 atomic_spin_nop.
3561 * sysdeps/x86_64/bits/atomic.h: Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3563 to atomic_spin_nop and move ...
3564 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3565 ... here and ...
3566 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3567 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3568 atomic_spin_nop instead of BUSY_WAIT_NOP.
3569 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3570 Likewise.
3571 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3572 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3573 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3574 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3575 instead of atomic_delay.
3576
3577 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3578
3579 [BZ #18613]
3580 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3581 X_ADJ not X when adjusting exponent.
3582 (__ieee754_gamma_r): Do intermediate computations in
3583 round-to-nearest then adjust overflowing and underflowing results
3584 as needed.
3585 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3586 of X_ADJ not X when adjusting exponent.
3587 (__ieee754_gammaf_r): Do intermediate computations in
3588 round-to-nearest then adjust overflowing and underflowing results
3589 as needed.
3590 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3591 log of X_ADJ not X when adjusting exponent.
3592 (__ieee754_gammal_r): Do intermediate computations in
3593 round-to-nearest then adjust overflowing and underflowing results
3594 as needed. Use 1.0L not 1.0f as numerator of division.
3595 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3596 log of X_ADJ not X when adjusting exponent.
3597 (__ieee754_gammal_r): Do intermediate computations in
3598 round-to-nearest then adjust overflowing and underflowing results
3599 as needed. Use 1.0L not 1.0f as numerator of division.
3600 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3601 of X_ADJ not X when adjusting exponent.
3602 (__ieee754_gammal_r): Do intermediate computations in
3603 round-to-nearest then adjust overflowing and underflowing results
3604 as needed. Use 1.0L not 1.0f as numerator of division.
3605 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3606 to auto-libm-test-in.
3607 (tgamma_test): Use ALL_RM_TEST.
3608 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3609 tests of tgamma with spurious-overflow.
3610 * math/auto-libm-test-out: Regenerated.
3611 * math/gen-libm-have-vector-test.sh: Do not check for START.
3612 * sysdeps/i386/fpu/libm-test-ulps: Update.
3613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3614
3615 [BZ #18612]
3616 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3617 arguments, just return 0.5 times the argument, with underflow
3618 forced as needed.
3619 * math/auto-libm-test-in: Add more tests of j1.
3620 * math/auto-libm-test-out: Regenerated.
3621
3622 [BZ #16559]
3623 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3624 (__ieee754_j1): Force underflow exception for small results.
3625 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3626 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3627 (__ieee754_j1f): Force underflow exception for small results.
3628 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3629 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3631 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3632 (__ieee754_j1l): Force underflow exception for small results.
3633 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3634 * math/auto-libm-test-in: Add more tests of j1 and jn.
3635 * math/auto-libm-test-out: Regenerated.
3636
3637 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3638 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3639 (PF_MPLS): Likewise.
3640 (AF_IB): Likewise.
3641 (AF_MPLS): Likewise.
3642 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3643 value and macro.
3644 (MS_RMT_MASK): Include MS_LAZYTIME.
3645
3646 2015-06-26 Mel Gorman <mgorman@suse.de>
3647
3648 [BZ #18502]
3649 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3650 already minimal.
3651
3652 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3653
3654 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3655 (DT_MIPS_NUM): Update.
3656 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3657 DT_MIPS_RLD_MAP_REL.
3658
3659 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3660
3661 [BZ #16559]
3662 [BZ #18602]
3663 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3664 round-to-nearest internally then recompute results that
3665 underflowed to zero in the original rounding mode.
3666 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3667 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3670 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3671 * sysdeps/i386/fpu/libm-test-ulps: Update.
3672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3673
3674 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3675
3676 * NEWS: Fixed description of link with vector math library.
3677
3678 2015-06-25 Andreas Schwab <schwab@suse.de>
3679
3680 [BZ #18549]
3681 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3682 * libio/test-fmemopen.c (do_test): Add test for it.
3683
3684 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3685
3686 [BZ #17841]
3687 * Makeconfig (no-pie-ldflag): New.
3688 (+link): Set to $(+link-pie) if default to PIE.
3689 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3690 * config.make.in (build-pie-default): New.
3691 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3692 is default. AC_SUBST.
3693 * configure: Regenerated.
3694 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3695
3696 2015-06-24 Roland McGrath <roland@hack.frob.com>
3697
3698 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3699 to 'unsigned int'.
3700
3701 * resolv/gai_misc.h (struct waitlist): Change type of field
3702 counterp to 'volatile unsigned int *'.
3703 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3704 FUTEXADDR and OLDVAL.
3705 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3706 Give local variable TOTAL type 'volatile unsigned int'.
3707 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3708 * resolv/gai_suspend.c (gai_suspend):
3709 Give local variable CNTR type 'unsigned int'.
3710
3711 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3712 counterp to 'volatile unsigned int *'.
3713 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3714 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3715 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3716 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3717 Give local variable TOTAL type 'volatile unsigned int'.
3718 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3719
3720 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 [BZ #18383]
3723 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3724 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3725 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3726 comment for i386/x86-64.
3727 (test-xfail-tst-tlsalign-extern-static): Removed.
3728
3729 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3730
3731 * math/test-double.h: New file.
3732 * math/test-float.h: Likewise.
3733 * math/test-ldouble.h: Likewise.
3734 * math/test-math-inline.h: Likewise.
3735 * math/test-math-no-inline.h: Likewise.
3736 * math/test-math-scalar.h: Likewise.
3737 * math/test-math-vector.h: Likewise.
3738 * math/test-vec-loop.h: Remove file. Contents moved into
3739 test-math-vector.h.
3740 * math/libm-test.inc (MATHCONST): Do not document macro.
3741 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3742 and test-math-scalar.h.
3743 (FUNC): Remove macro.
3744 (FUNC_TEST): Likewise.
3745 (FLOAT): Likewise.
3746 (MATHCONST): Likewise.
3747 (PRINTF_EXPR): Likewise.
3748 (PRINTF_XEXPR): Likewise.
3749 (PRINTF_NEXPR): Likewise.
3750 (TEST_DOUBLE): Likewise.
3751 (TEST_MATHVEC): Likewise.
3752 (__NO_MATH_INLINES): Likewise.
3753 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3754 and test-math-scalar.h.
3755 (FUNC): Remove macro.
3756 (FUNC_TEST): Likewise.
3757 (FLOAT): Likewise.
3758 (MATHCONST): Likewise.
3759 (PRINTF_EXPR): Likewise.
3760 (PRINTF_XEXPR): Likewise.
3761 (PRINTF_NEXPR): Likewise.
3762 (TEST_FLOAT): Likewise.
3763 (TEST_MATHVEC): Likewise.
3764 (__NO_MATH_INLINES): Likewise.
3765 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3766 and test-math-scalar.h.
3767 (FUNC): Remove macro.
3768 (FUNC_TEST): Likewise.
3769 (FLOAT): Likewise.
3770 (MATHCONST): Likewise.
3771 (PRINTF_EXPR): Likewise.
3772 (PRINTF_XEXPR): Likewise.
3773 (PRINTF_NEXPR): Likewise.
3774 (TEST_DOUBLE): Likewise.
3775 (TEST_MATHVEC): Likewise.
3776 (TEST_INLINE): Likewise.
3777 (__NO_MATH_INLINES): Likewise.
3778 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3779 test-math-scalar.h.
3780 (FUNC): Remove macro.
3781 (FUNC_TEST): Likewise.
3782 (FLOAT): Likewise.
3783 (MATHCONST): Likewise.
3784 (PRINTF_EXPR): Likewise.
3785 (PRINTF_XEXPR): Likewise.
3786 (PRINTF_NEXPR): Likewise.
3787 (TEST_FLOAT): Likewise.
3788 (TEST_MATHVEC): Likewise.
3789 (TEST_INLINE): Likewise.
3790 (__NO_MATH_INLINES): Likewise.
3791 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3792 and test-math-scalar.h.
3793 (FUNC): Remove macro.
3794 (FUNC_TEST): Likewise.
3795 (FLOAT): Likewise.
3796 (MATHCONST): Likewise.
3797 (PRINTF_EXPR): Likewise.
3798 (PRINTF_XEXPR): Likewise.
3799 (PRINTF_NEXPR): Likewise.
3800 (TEST_LDOUBLE): Likewise.
3801 (TEST_MATHVEC): Likewise.
3802 (TEST_INLINE): Likewise.
3803 (__NO_MATH_INLINES): Likewise.
3804 * math/test-ldouble.c: Include test-ldouble.h,
3805 test-math-no-inline.h and test-math-scalar.h.
3806 (FUNC): Remove macro.
3807 (FUNC_TEST): Likewise.
3808 (FLOAT): Likewise.
3809 (MATHCONST): Likewise.
3810 (PRINTF_EXPR): Likewise.
3811 (PRINTF_XEXPR): Likewise.
3812 (PRINTF_NEXPR): Likewise.
3813 (TEST_LDOUBLE): Likewise.
3814 (TEST_MATHVEC): Likewise.
3815 (__NO_MATH_INLINES): Likewise.
3816 * math/test-double-vlen2.h: Include test-double.h,
3817 test-math-no-inline.h and test-math-vector.h.
3818 (FLOAT): Remove macro.
3819 (FUNC): Likewise.
3820 (MATHCONST): Likewise.
3821 (PRINTF_EXPR): Likewise.
3822 (PRINTF_XEXPR): Likewise.
3823 (PRINTF_NEXPR): Likewise.
3824 (TEST_DOUBLE): Likewise.
3825 (TEST_MATHVEC): Likewise.
3826 (__NO_MATH_INLINES): Likewise.
3827 (CNCT): Likewise.
3828 (CONCAT): Likewise.
3829 (WRAPPER_NAME): Likewise.
3830 (WRAPPER_DECL): Likewise.
3831 (WRAPPER_DECL_ff): Likewise.
3832 (WRAPPER_DECL_fFF): Likewise.
3833 (VECTOR_WRAPPER): Likewise.
3834 (VECTOR_WRAPPER_ff): Likewise.
3835 (VECTOR_WRAPPER_fFF): Likewise.
3836 (VEC_LEN): New macro.
3837 * math/test-double-vlen4.h: Include test-double.h,
3838 test-math-no-inline.h and test-math-vector.h.
3839 (FLOAT): Remove macro.
3840 (FUNC): Likewise.
3841 (MATHCONST): Likewise.
3842 (PRINTF_EXPR): Likewise.
3843 (PRINTF_XEXPR): Likewise.
3844 (PRINTF_NEXPR): Likewise.
3845 (TEST_DOUBLE): Likewise.
3846 (TEST_MATHVEC): Likewise.
3847 (__NO_MATH_INLINES): Likewise.
3848 (CNCT): Likewise.
3849 (CONCAT): Likewise.
3850 (WRAPPER_NAME): Likewise.
3851 (WRAPPER_DECL): Likewise.
3852 (WRAPPER_DECL_ff): Likewise.
3853 (WRAPPER_DECL_fFF): Likewise.
3854 (VECTOR_WRAPPER): Likewise.
3855 (VECTOR_WRAPPER_ff): Likewise.
3856 (VECTOR_WRAPPER_fFF): Likewise.
3857 (VEC_LEN): New macro.
3858 * math/test-double-vlen8.h: Include test-double.h,
3859 test-math-no-inline.h and test-math-vector.h.
3860 (FLOAT): Remove macro.
3861 (FUNC): Likewise.
3862 (MATHCONST): Likewise.
3863 (PRINTF_EXPR): Likewise.
3864 (PRINTF_XEXPR): Likewise.
3865 (PRINTF_NEXPR): Likewise.
3866 (TEST_DOUBLE): Likewise.
3867 (TEST_MATHVEC): Likewise.
3868 (__NO_MATH_INLINES): Likewise.
3869 (CNCT): Likewise.
3870 (CONCAT): Likewise.
3871 (WRAPPER_NAME): Likewise.
3872 (WRAPPER_DECL): Likewise.
3873 (WRAPPER_DECL_ff): Likewise.
3874 (WRAPPER_DECL_fFF): Likewise.
3875 (VECTOR_WRAPPER): Likewise.
3876 (VECTOR_WRAPPER_ff): Likewise.
3877 (VECTOR_WRAPPER_fFF): Likewise.
3878 (VEC_LEN): New macro.
3879 * math/test-float-vlen4.h: Include test-float.h,
3880 test-math-no-inline.h and test-math-vector.h.
3881 (FLOAT): Remove macro.
3882 (FUNC): Likewise.
3883 (MATHCONST): Likewise.
3884 (PRINTF_EXPR): Likewise.
3885 (PRINTF_XEXPR): Likewise.
3886 (PRINTF_NEXPR): Likewise.
3887 (TEST_FLOAT): Likewise.
3888 (TEST_MATHVEC): Likewise.
3889 (__NO_MATH_INLINES): Likewise.
3890 (CNCT): Likewise.
3891 (CONCAT): Likewise.
3892 (WRAPPER_NAME): Likewise.
3893 (WRAPPER_DECL): Likewise.
3894 (WRAPPER_DECL_ff): Likewise.
3895 (WRAPPER_DECL_fFF): Likewise.
3896 (VECTOR_WRAPPER): Likewise.
3897 (VECTOR_WRAPPER_ff): Likewise.
3898 (VECTOR_WRAPPER_fFF): Likewise.
3899 (VEC_LEN): New macro.
3900 * math/test-float-vlen8.h: Include test-float.h,
3901 test-math-no-inline.h and test-math-vector.h.
3902 (FLOAT): Remove macro.
3903 (FUNC): Likewise.
3904 (MATHCONST): Likewise.
3905 (PRINTF_EXPR): Likewise.
3906 (PRINTF_XEXPR): Likewise.
3907 (PRINTF_NEXPR): Likewise.
3908 (TEST_FLOAT): Likewise.
3909 (TEST_MATHVEC): Likewise.
3910 (__NO_MATH_INLINES): Likewise.
3911 (CNCT): Likewise.
3912 (CONCAT): Likewise.
3913 (WRAPPER_NAME): Likewise.
3914 (WRAPPER_DECL): Likewise.
3915 (WRAPPER_DECL_ff): Likewise.
3916 (WRAPPER_DECL_fFF): Likewise.
3917 (VECTOR_WRAPPER): Likewise.
3918 (VECTOR_WRAPPER_ff): Likewise.
3919 (VECTOR_WRAPPER_fFF): Likewise.
3920 (VEC_LEN): New macro.
3921 * math/test-float-vlen16.h: Include test-float.h,
3922 test-math-no-inline.h and test-math-vector.h.
3923 (FLOAT): Remove macro.
3924 (FUNC): Likewise.
3925 (MATHCONST): Likewise.
3926 (PRINTF_EXPR): Likewise.
3927 (PRINTF_XEXPR): Likewise.
3928 (PRINTF_NEXPR): Likewise.
3929 (TEST_FLOAT): Likewise.
3930 (TEST_MATHVEC): Likewise.
3931 (__NO_MATH_INLINES): Likewise.
3932 (CNCT): Likewise.
3933 (CONCAT): Likewise.
3934 (WRAPPER_NAME): Likewise.
3935 (WRAPPER_DECL): Likewise.
3936 (WRAPPER_DECL_ff): Likewise.
3937 (WRAPPER_DECL_fFF): Likewise.
3938 (VECTOR_WRAPPER): Likewise.
3939 (VECTOR_WRAPPER_ff): Likewise.
3940 (VECTOR_WRAPPER_fFF): Likewise.
3941 (VEC_LEN): New macro.
3942 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3943 test-vec-loop.h.
3944 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3945 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3946 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3947 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3948 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3949 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3950 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3951
3952 2015-06-24 Roland McGrath <roland@hack.frob.com>
3953
3954 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3955 (__getlogin_r): ... this.
3956
3957 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3958
3959 [BZ #18594]
3960 * math/s_ccosh.c (__ccosh): Compare with least normal value
3961 instead of comparing class with FP_SUBNORMAL.
3962 * math/s_ccoshf.c (__ccoshf): Likewise.
3963 * math/s_ccoshl.c (__ccoshl): Likewise.
3964 * math/s_cexp.c (__cexp): Likewise.
3965 * math/s_cexpf.c (__cexpf): Likewise.
3966 * math/s_cexpl.c (__cexpl): Likewise.
3967 * math/s_csin.c (__csin): Likewise.
3968 * math/s_csinf.c (__csinf): Likewise.
3969 * math/s_csinh.c (__csinh): Likewise.
3970 * math/s_csinhf.c (__csinhf): Likewise.
3971 * math/s_csinhl.c (__csinhl): Likewise.
3972 * math/s_csinl.c (__csinl): Likewise.
3973 * math/s_ctan.c (__ctan): Likewise.
3974 * math/s_ctanf.c (__ctanf): Likewise.
3975 * math/s_ctanh.c (__ctanh): Likewise.
3976 * math/s_ctanhf.c (__ctanhf): Likewise.
3977 * math/s_ctanhl.c (__ctanhl): Likewise.
3978 * math/s_ctanl.c (__ctanl): Likewise.
3979 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3980 csin, csinh, ctan and ctanh.
3981 * math/auto-libm-test-out: Regenerated.
3982 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3983 * sysdeps/i386/fpu/libm-test-ulps: Update.
3984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3985
3986 2015-06-24 Roland McGrath <roland@hack.frob.com>
3987
3988 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3989 return value is wrong, print the expected value too.
3990
3991 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 [BZ #18585]
3994 * elf/readlib.c (is_gdb_python_file): New.
3995 (process_file): Don't issue errors on filenames with -gdb.py
3996 suffix.
3997
3998 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3999
4000 * math/auto-libm-test-in: Add more tests of csin and csinh.
4001 * math/auto-libm-test-out: Regenerated.
4002 * math/libm-test.inc (csin_test_data): Remove tests moved to
4003 auto-libm-test-in.
4004 (csinh_test_data): Likewise.
4005
4006 [BZ #18593]
4007 * math/s_csin.c (__csin): Negate before rather than after possibly
4008 overflowing multiplication.
4009 * math/s_csinf.c (__csinf): Likewise.
4010 * math/s_csinh.c (__csinh): Likewise.
4011 * math/s_csinhf.c (__csinhf): Likewise.
4012 * math/s_csinhl.c (__csinhl): Likewise.
4013 * math/s_csinl.c (__csinl): Likewise.
4014 * math/auto-libm-test-in: Add some tests of csin and csinh.
4015 * math/auto-libm-test-out: Regenerated.
4016 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4017 (csinh_test_data): Likewise.
4018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4019
4020 [BZ #18586]
4021 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4022 underflow exception for small results.
4023
4024 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4025
4026 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4027 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4028 variable and included header.
4029 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4030 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4031 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4032 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4033 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4034 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4035 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4036 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4037 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4038 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4039 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4040 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4041 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4042 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4043 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4044 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4045
4046 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4047
4048 [BZ #16526]
4049 [BZ #16538]
4050 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4051 (__sin): Force underflow exception for arguments with small
4052 absolute value.
4053 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4054 (__kernel_sinf): Force underflow exception for arguments with
4055 small absolute value.
4056 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4057 (__kernel_sincosl): Force underflow exception for arguments with
4058 small absolute value.
4059 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4060 (__kernel_sinl): Force underflow exception for arguments with
4061 small absolute value.
4062 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4063 (__kernel_sincosl): Force underflow exception for arguments with
4064 small absolute value.
4065 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4066 (__kernel_sinl): Force underflow exception for arguments with
4067 small absolute value.
4068 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4069 (__kernel_sinl): Force underflow exception for arguments with
4070 small absolute value.
4071 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4072 (__kernel_sinf): Force underflow exception for arguments with
4073 small absolute value.
4074 * math/auto-libm-test-in: Add more tests of sin and sincos.
4075 * math/auto-libm-test-out: Regenerated.
4076
4077 [BZ #18245]
4078 [BZ #18583]
4079 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4080 (__kernel_standard_l): Use feholdexcept and fesetenv around
4081 conversion to double instead of special-casing overflow and
4082 underflow.
4083 * math/libm-test.inc (fmod_test_data): Add more tests.
4084 (remainder_test_data): Likewise.
4085 (sqrt_test_data): Likewise.
4086
4087 2015-06-23 Torvald Riegel <triegel@redhat.com>
4088
4089 [BZ #17403]
4090 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4091 atomic_read_barrier, atomic_write_barrier): Define.
4092 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4093 atomic_read_barrier, atomic_write_barrier): Define.
4094
4095 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4096
4097 * math/Makefile [$(PERL) != no]
4098 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4099 dependency on libm-test.stmp below the inclusion of Rules.
4100
4101 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4102
4103 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4104 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4105 and included header.
4106 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4107 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4108 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4109 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4110 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4111 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4112 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4113 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4114 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4115 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4116 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4117 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4118 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4119 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4120 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4121 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4122 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4123 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4124 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4125
4126 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4127
4128 [BZ #18371]
4129 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4130 intermediate but not final result might underflow.
4131 * math/s_csqrtf.c (__csqrtf): Likewise.
4132 * math/s_csqrtl.c (__csqrtl): Likewise.
4133 * math/auto-libm-test-in: Add more tests of csqrt.
4134 * math/auto-libm-test-out: Regenerated.
4135 * sysdeps/i386/fpu/libm-test-ulps: Update.
4136
4137 [BZ #18219]
4138 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4139 threshold on absolute value of exponent for which scaling is used.
4140 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4141 * math/auto-libm-test-in: Add more tests of exp2.
4142 * math/auto-libm-test-out: Regenerated.
4143
4144 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4145
4146 [BZ #17977]
4147 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4148 when initializing interface list, based on the bug analysis
4149 and the patch proposed by Eric Newton.
4150 * resolv/tst-res_hconf_reorder.c: New test.
4151 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4152 tst-res_hconf_reorder.
4153 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4154 and $(shared-thread-library).
4155 (tst-res_hconf_reorder-ENV): New variable.
4156
4157 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4158 in comment.
4159
4160 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4161
4162 [BZ #16353]
4163 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4164 (__expm1): Force underflow exception for arguments with small
4165 absolute value.
4166 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4167 (__expm1f): Force underflow exception for arguments with small
4168 absolute value.
4169 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4170 (__expm1): Force underflow exception for arguments with small
4171 absolute value.
4172 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4173 (__expm1f): Force underflow exception for arguments with small
4174 absolute value.
4175 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4176 Check for small arguments before calling __expm1.
4177 * math/auto-libm-test-in: Do not mark underflow exceptions as
4178 possibly missing for bug 16353.
4179 * math/auto-libm-test-out: Regenerated.
4180
4181 2015-06-22 Andreas Schwab <schwab@suse.de>
4182
4183 [BZ #18513]
4184 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4185 PTR queries.
4186
4187 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4188
4189 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4190
4191 * string/strcoll_l.c: Remove unused struct element idxnow.
4192
4193 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4194
4195 [BZ #18569]
4196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4197 underflow and return argument in case of subnormal argument.
4198 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4199 Likewise.
4200 * math/auto-libm-test-in: Add more tests of expm1.
4201 * math/auto-libm-test-out: Regenerated.
4202
4203 [BZ #16361]
4204 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4205 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4206 tiny results.
4207 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4208 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4209 tiny results.
4210 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4211 mark underflow exceptions as possibly missing for bug 16361.
4212 * math/auto-libm-test-out: Regenerated.
4213
4214 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4215
4216 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4217 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4218 Remove variable.
4219 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4220 (test-xfail-XOPEN2K8/utmpx.h/conform).
4221
4222 * conform/conformtest.pl ($xerrors): New variable.
4223 (note_error): New function.
4224 (compiletest): New argument $xfail. Use not_error.
4225 (runtest): Likewise.
4226 (top level): Handle xfail- lines. Update calls to compiletest and
4227 runtest. Handle xfail- and optional- in headers listed with
4228 allow-header.
4229 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4230 (O_EXEC): Likewise.
4231 (O_SEARCH): Likewise.
4232 * conform/data/stropts.h-data (ioctl): Likewise.
4233 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4234 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4235 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4236 (msghdr.msg_controllen): Likewise.
4237 (cmsghdr.cmsg_len): Likewise.
4238 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4239 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4240 variable.
4241 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4242 (test-xfail-XPG4/stropts.h/conform): Likewise.
4243 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4244 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4245 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4246 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4247 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4248 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4249 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4250 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4251 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4252 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4253 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4254 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4255 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4256 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4257 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4258 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4259 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4260 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4261 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4262
4263 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4264
4265 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4266 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4267 definitions for proper unfolding of __MATHDECL_VEC.
4268
4269 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4270
4271 * benchtests/bench-strcoll.c:
4272 Include string.h.
4273 (main): Remove unused variable res.
4274
4275 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4276
4277 * timezone/Makefile (%/UTC %/Universal):
4278 Generate test-result files for UTC and Universal.
4279
4280 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4281
4282 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4283
4284 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4285
4286 [BZ #16350]
4287 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4288 for arguments with small absolute value.
4289 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4290 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4291 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4292 (__asinh): Force underflow exception for arguments with small
4293 absolute value.
4294 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4295 (__asinhf): Force underflow exception for arguments with small
4296 absolute value.
4297 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4298 (__asinhl): Force underflow exception for arguments with small
4299 absolute value.
4300 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4301 (__asinhl): Force underflow exception for arguments with small
4302 absolute value.
4303 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4304 (__asinhl): Force underflow exception for arguments with small
4305 absolute value.
4306 * math/auto-libm-test-in: Do not mark underflow exceptions as
4307 possibly missing for bug 16350.
4308 * math/auto-libm-test-out: Regenerated.
4309
4310 * include/bits/ipc.h: Remove file.
4311 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4312 variable.
4313 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4314 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4315 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4316 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4317 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4318 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4319 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4320 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4321 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4322
4323 * math/auto-libm-test-in: Remove spurious underflow allowance for
4324 tests of cexp.
4325 * math/auto-libm-test-out: Regenerated.
4326
4327 [BZ #18558]
4328 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4329 unconditional definition.
4330 (MCAST_BLOCK_SOURCE): Likewise.
4331 (MCAST_UNBLOCK_SOURCE): Likewise.
4332 (MCAST_LEAVE_GROUP): Likewise.
4333 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4334 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4335 (MCAST_MSFILTER): Likewise.
4336 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4337 Remove variable.
4338 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4339 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4340 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4341 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4342 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4343
4344 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4345
4346 * NEWS: Mention addition of x86_64 vector sincosf.
4347 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4348 * math/test-float-vlen4.h: Likewise.
4349 * math/test-float-vlen8.h: Likewise.
4350 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4351 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4352 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4353 * sysdeps/x86_64/fpu/Versions: New versions added.
4354 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4355 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4356 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4357 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4358 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4359 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4360 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4361 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4362 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4363 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4364 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4365 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4366 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4367 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4368 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4369 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4370 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4371 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4372 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4373 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4374 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4375 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4376 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4377 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4378
4379 * NEWS: Mention addition of x86_64 vector sincos.
4380 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4381 * math/math.h (__MATHDECL_VEC): New macro.
4382 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4383 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4384 declaration under condition.
4385 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4386 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4387 TEST_VEC_LOOP change.
4388 * math/test-double-vlen4.h: Likewise.
4389 * math/test-double-vlen8.h: Likewise.
4390 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4391 * math/test-float-vlen4.h: Likewise.
4392 * math/test-float-vlen8.h: Likewise.
4393 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4394 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4395 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4396 * sysdeps/x86_64/fpu/Versions: New versions added.
4397 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4398 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4399 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4400 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4401 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4402 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4403 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4405 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4406 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4407 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4408 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4409 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4410 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4411 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4412 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4413 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4414 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4415 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4416 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4417 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4418 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4419 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4420 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4421
4422 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4423 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4424 redirections for powf.
4425 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4426 * sysdeps/x86_64/fpu/Versions: New versions added.
4427 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4428 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4429 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4430 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4431 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4432 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4433 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4434 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4435 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4436 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4437 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4438 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4439 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4440 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4441 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4442 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4443 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4444 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4445 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4446 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4447 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4448 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4449 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4450 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4451 * math/test-float-vlen16.h: Fixed 2 argument macro.
4452 * math/test-float-vlen4.h: Likewise.
4453 * math/test-float-vlen8.h: Likewise.
4454 * NEWS: Mention addition of x86_64 vector powf.
4455
4456 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4457
4458 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4459 and redefine.
4460 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4461 and redefine.
4462 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4463 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4465
4466 [BZ #18553]
4467 * resource/getpriority.c (getpriority): Rename to __getpriority
4468 and define as weak alias of __getpriority.
4469 * resource/setpriority.c (setpriority): Rename to __setpriority
4470 and define as weak alias of __setpriority.
4471 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4472 __getpriority and define as weak alias of __getpriority.
4473 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4474 __setpriority and define as weak alias of __setpriority.
4475 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4476 strong name.
4477 (setpriority): Use __setpriority as strong name.
4478 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4479 __getpriority and define as weak alias of __getpriority.
4480 * include/sys/resource.h (__getpriority): Declare. Use
4481 libc_hidden_proto.
4482 (__setpriority): Likewise.
4483 (getpriority): Don't use libc_hidden_proto.
4484 (setpriority): Likewise.
4485 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4486 getpriority. Call __setpriority instead of setpriority.
4487 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4488 Remove variable.
4489
4490 [BZ #18547]
4491 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4492 as weak alias of __getttynam. Use prototype function definition.
4493 Call __setttyent, __getttyent and __endttyent instead of
4494 setttyent, getttyent and endttyent.
4495 (getttyent): Rename to __getttyent and define as weak alias of
4496 __getttyent. Call __setttyent instead of setttyent. Call
4497 __fgets_unlocked instead of fgets_unlocked.
4498 (setttyent): Rename to __setttyent and define as weak alias of
4499 __setttyent.
4500 (endttyent): Rename to __endttyent and define as weak alias of
4501 __endttyent.
4502 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4503 (__setttyent): Likewise.
4504 (__endttyent): Likewise.
4505 (getttyent): Don't use libc_hidden_proto.
4506 (setttyent): Likewise.
4507 (endttyent): Likewise.
4508 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4509 __endttyent instead of setttyent, getttyent and endttyent.
4510 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4511 Remove variable.
4512
4513 [BZ #18546]
4514 * socket/recv.c (__recv): Use libc_hidden_def.
4515 * socket/socket.c (__socket): Likewise.
4516 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4517 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4518 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4519 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4520 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4521 libc_hidden_def.
4522 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4523 libc_hidden_weak.
4524 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4525 Use libc_hidden_proto.
4526 (__recv): Likewise.
4527 * socket/Versions (libc): Export __recv and __socket at version
4528 GLIBC_PRIVATE.
4529 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4530 instead of recv.
4531 (init_mq_netlink): Call __socket instead of socket.
4532 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4533 Remove variable.
4534
4535 [BZ #18545]
4536 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4537 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4538 hidden_weak.
4539 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4540 define as alias of __mq_timedsend. Use hidden_weak.
4541 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4542 __mq_timedsend as strong name.
4543 (mq_timedreceive): Use __mq_timedreceive as strong name.
4544 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4545 (__mq_timedreceive): Likewise.
4546 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4547 __mq_timedreceive instead of mq_timedreceive.
4548 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4549 instead of mq_timedsend.
4550 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4551 Remove variable.
4552
4553 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4554 hidden_def and hidden_weak instead of libc_hidden_def and
4555 libc_hidden_weak.
4556 (top level): Refer to hidden_def in comment.
4557 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4558 macro. Use it instead of libc_hidden_def.
4559 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4560 specify __GI_* name explicitly.
4561 (mq_timedreceive): Likewise.
4562 (mq_setattr): Likewise.
4563
4564 [BZ #18544]
4565 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4566 __pthread_barrier_init and define as weak alias of
4567 __pthread_barrier_init.
4568 * sysdeps/sparc/nptl/pthread_barrier_init.c
4569 (pthread_barrier_init): Likewise.
4570 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4571 __pthread_barrier_wait and define as weak alias of
4572 __pthread_barrier_wait.
4573 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4574 (pthread_barrier_wait): Likewise.
4575 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4576 (pthread_barrier_wait): Likewise.
4577 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4578 (pthread_barrier_wait): Likewise.
4579 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4580 (pthread_barrier_wait): Likewise.
4581 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4582 __pthread_barrier_wait at version GLIBC_PRIVATE.
4583 * include/pthread.h (__pthread_barrier_init): Declare.
4584 (__pthread_barrier_wait): Likewise.
4585 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4586 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4587 (helper_thread): Likewise.
4588 (init_mq_netlink): Call __pthread_barrier_init instead of
4589 pthread_barrier_init.
4590
4591 [BZ #18542]
4592 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4593 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4594 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4595 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4596 vswscanf.
4597 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4598 Remove variable.
4599
4600 [BZ #18540]
4601 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4602 strong alias of _IO_fflush. Use libc_hidden_def.
4603 * libio/iofflush_u.c (fflush_unlocked): Rename to
4604 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4605 Use libc_hidden_weak.
4606 * include/stdio.h (__fflush_unlocked): Declare. Use
4607 libc_hidden_proto.
4608 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4609 fflush_unlocked.
4610 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4611 Remove variable.
4612
4613 [BZ #18539]
4614 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4615 define as weak alias of __addseverity.
4616 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4617 Remove variable.
4618 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4619 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4620 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4621
4622 [BZ #18536]
4623 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4624 (__tfind): Likewise.
4625 (__tdelete): Likewise.
4626 (__twalk): Likewise.
4627 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4628 __twalk to GLIBC_PRIVATE.
4629 * include/search.h (__tsearch): Use libc_hidden_proto.
4630 (__tfind): Likewise.
4631 (__tdelete): Likewise.
4632 (__twalk): Likewise.
4633 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4634 Call __tdelete instead of tdelete.
4635 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4636 tfind. Call __tsearch instead of tsearch.
4637 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4638 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4639 Remove variable.
4640 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4641
4642 [BZ #18534]
4643 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4644 (dprintf): Define as a weak alias of __dprintf, not a strong
4645 alias.
4646 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4647 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4648 dprintf.
4649 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4650 Remove variable.
4651 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4652 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4653
4654 [BZ #18533]
4655 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4656 not a strong alias.
4657 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4658 Remove variable.
4659
4660 [BZ #18532]
4661 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4662 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4663 (in6addr_loopback): Rename to __in6addr_loopback and define as
4664 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4665 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4666 libc_hidden_proto.
4667 (__in6addr_any): Likewise.
4668 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4669 in6addr_any.
4670 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4671 variable.
4672 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4673
4674 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4675
4676 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4677 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4678 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4679 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4680 redirections for pow.
4681 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4682 * sysdeps/x86_64/fpu/Versions: New versions added.
4683 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4684 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4685 build of SSE, AVX2 and AVX512 IFUNC versions.
4686 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4687 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4688 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4689 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4690 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4691 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4692 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4693 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4694 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4695 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4696 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4697 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4698 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4699 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4700 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4701 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4702 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4703 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4704 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4705 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4706 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4707 * NEWS: Mention addition of x86_64 vector pow.
4708
4709 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4710 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4711 redirections for expf.
4712 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4713 * sysdeps/x86_64/fpu/Versions: New versions added.
4714 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4715 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4716 build of SSE, AVX2 and AVX512 IFUNC versions.
4717 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4718 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4719 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4720 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4721 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4722 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4723 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4724 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4725 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4726 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4727 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4728 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4729 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4730 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4731 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4732 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4733 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4734 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4735 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4736 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4737 * NEWS: Mention addition of x86_64 vector expf.
4738
4739 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4740 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4741 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4742 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4743 redirections for exp.
4744 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4745 * sysdeps/x86_64/fpu/Versions: New versions added.
4746 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4747 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4748 build of SSE, AVX2 and AVX512 IFUNC versions.
4749 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4750 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4751 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4752 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4753 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4754 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4755 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4756 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4757 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4758 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4759 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4760 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4761 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4762 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4763 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4764 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4765 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4766 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4767 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4768 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4769 * NEWS: Mention addition of x86_64 vector exp.
4770
4771 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4772 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4773 redirections for logf.
4774 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4775 * sysdeps/x86_64/fpu/Versions: New versions added.
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4777 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4778 build of SSE, AVX2 and AVX512 IFUNC versions.
4779 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4780 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4781 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4782 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4783 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4784 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4785 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4786 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4787 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4788 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4789 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4790 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4791 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4792 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4793 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4794 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4795 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4796 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4797 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4798 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4799 * NEWS: Mention addition of x86_64 vector logf.
4800
4801 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4802 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4803 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4804 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4805 redirections for log.
4806 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4807 * sysdeps/x86_64/fpu/Versions: New versions added.
4808 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4809 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4810 build of SSE, AVX2 and AVX512 IFUNC versions.
4811 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4812 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4813 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4814 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4815 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4816 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4817 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4818 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4819 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4820 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4821 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4822 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4823 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4824 test.
4825 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4826 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4827 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4828 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4829 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4830 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4831 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4832 * NEWS: Mention addition of x86_64 vector log.
4833
4834 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4835
4836 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4837 cfi_adjust_cfa_offset argument.
4838 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4839 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4840
4841 [BZ #18034]
4842 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4843 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4844 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4845 ordering using ldar.
4846 (_dl_tlsdesc_dynamic): Likewise.
4847 (_dl_tlsdesc_return_lazy): Likewise.
4848 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4849 relaxed atomics instead of volatile and synchronize with release store.
4850 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4851 volatile.
4852 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4853
4854 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4855
4856 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4857 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4858 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4859 * sysdeps/x86_64/fpu/Versions: New versions added.
4860 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4861 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4862 build of SSE, AVX2 and AVX512 IFUNC versions.
4863 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4864 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4865 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4866 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4867 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4868 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4869 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4870 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4871 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4872 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4873 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4874 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4875 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4876 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4877 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4878 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4879 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4880 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4881 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4882 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4883 * NEWS: Mention addition of x86_64 vector sinf.
4884
4885 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4886
4887 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4888 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4889 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4890 Remove variable.
4891 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4892 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4893
4894 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4895
4896 [BZ #18530]
4897 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4898 strong alias of _IO_fputs. Use libc_hidden_def.
4899 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4900 and define as weak alias of __fputs_unlocked. Use
4901 libc_hidden_weak.
4902 * include/stdio.h (__fputs_unlocked): Declare. Use
4903 libc_hidden_proto.
4904 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4905 fputs_unlocked.
4906
4907 [BZ #18529]
4908 * resolv/netdb.h [__USE_POSIX]: Change condition to
4909 [__USE_XOPEN2K].
4910 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4911 not expect.
4912 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4913 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4914 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4915 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4916 [XPG4 || UNIX98] (AI_ALL): Likewise.
4917 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4918 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4919 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4920 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4921 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4922 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4923 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4924 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4925 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4926 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4927 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4928 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4929 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4930 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4931 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4932 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4933 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4934 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4935 [XPG4 || UNIX98] (gai_strerror): Likewise.
4936 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4937 [XPG4 || UNIX98] (getnameinfo): Likewise.
4938
4939 [BZ #18528]
4940 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4941 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4942 __USE_XOPEN2K8].
4943 (getgrent): Likewise.
4944 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4945 expect.
4946 [XPG3 || POSIX2008] (endgrent): Likewise.
4947 [XPG3] (setgrent): Likewise.
4948 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4949 variable.
4950 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4951
4952 [BZ #18527]
4953 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4954 define as weak alias of __getlogin_r. Use libc_hidden_weak.
4955 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4956 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4957 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4958 * include/unistd.h (__getlogin_r): Declare. Use
4959 libc_hidden_proto.
4960 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4961 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4962 variable.
4963 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4964 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4965 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4966
4967 2015-06-12 Martin Sebor <msebor@redhat.com>
4968
4969 [BZ #18512]
4970 * Makerules (check-install-supported): New target.
4971 (install): Add check-install-supported as a dependency.
4972 * manual/install.texi (Installing the C Library): Document
4973 that overriding prefix and exec_prefix is not supported.
4974 Mention DESTDIR.
4975 * INSTALL: Regenerate from the above.
4976
4977 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4978
4979 [BZ #18519]
4980 * posix/Versions (libc): Export __libc_pread at version
4981 GLIBC_PRIVATE.
4982 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4983 instead of pread.
4984 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4985 variable.
4986
4987 [BZ #18522]
4988 * misc/efgcvt_r.c
4989 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4990 (cvt_symbol): Use weak_alias instead of strong_alias.
4991 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4992 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4993 Remove variable.
4994 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4995 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4996
4997 [BZ #18520]
4998 * inet/herrno.c (h_errno): Rename to __h_errno.
4999 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5000 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5001 to __h_errno instead of h_errno.
5002 * nptl/herrno.c (h_errno): Rename to __h_errno.
5003 (__h_errno_location): Refer to __h_errno not h_errno.
5004 * resolv/Versions (h_errno): Rename to __h_errno.
5005 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5006 Remove variable.
5007 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5008
5009 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5010
5011 * configure.ac: More strict check for AVX512 assembler support.
5012 * configure: Regenerated.
5013
5014 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5015 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5016 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5017 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5018 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5019 * sysdeps/x86_64/fpu/Versions: New versions added.
5020 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5021 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5022 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5023 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5024 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5025 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5026 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5027 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5028 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5029 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5030 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5031 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5032 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5033 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5034 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5035 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5036 test.
5037 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5038 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5039 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5040 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5041 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5042 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5043 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5044 * NEWS: Mention addition of x86_64 vector sin.
5045
5046 2015-06-11 Florian Weimer <fweimer@redhat.com>
5047
5048 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5049 comment.
5050
5051 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5052
5053 [BZ #18479]
5054 * nptl/pt-interp.c: New file.
5055 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5056 Add pt-interp.
5057 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5058 $(common-objpfx)runtime-linker.h.
5059
5060 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5061
5062 * Makeconfig (+interp): Remove unused variable.
5063 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5064 only. Depend on $(common-objpfx)runtime-linker.h instead of
5065 $(elf-objpfx)runtime-linker.h.
5066 ($(elf-objpfx)runtime-linker.h): Rename to
5067 $(common-objpfx)runtime-linker.h and move ...
5068 * Makerules [$(build-shared) = yes]: ... here.
5069 * elf/interp.c: Include <runtime-linker.h> instead of
5070 <elf/runtime-linker.h>.
5071
5072 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5073
5074 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5075 (__gettimeofday_syscall): Remove vsyscall fallback.
5076 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5077 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5078 Add syscall fallback function.
5079 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5080 if vDSO is not present.
5081 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5082 fallback function.
5083 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5084 present.
5085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5086 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5087
5088 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5089
5090 [BZ #18497]
5091 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5092 of wcscmp.
5093 (wcscmp): Define as weak alias of WCSCMP.
5094 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5095 wcscoll.
5096 (USE_HIDDEN_DEF): Define.
5097 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5098 __wcscoll. Don't use libc_hidden_weak.
5099 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5100 wcscmp.
5101 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5102 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5103 __GI_wcscmp.
5104 (weak_alias): Undefine and redefine.
5105 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5106 __wcscmp and define as weak alias of __wcscmp.
5107 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5108 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5109 (__wcscoll): Likewise.
5110 (wcscmp): Don't use libc_hidden_proto.
5111 (wcscoll): Likewise.
5112 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5113 wcscoll.
5114 * posix/regexec.c (check_node_accept_bytes): Likewise.
5115 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5116 variable.
5117 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5118 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5119
5120 [BZ #18507]
5121 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5122 __fstatvfs and define as weak alias of __fstatvfs. Use
5123 libc_hidden_weak.
5124 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5125 and define as weak alias of __statvfs. Use libc_hidden_weak.
5126 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5127 Define as alias of __fstatvfs, not fstatvfs.
5128 (fstatvfs64): Likewise.
5129 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5130 Define as alias of __statvfs, not statvfs.
5131 (statvfs64): Likewise.
5132 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5133 Remove variable.
5134
5135 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5136
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5138 (HAVE_GETCPU_VSYSCALL): Define.
5139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5140 (HAVE_GETCPU_VSYSCALL): Likewise.
5141 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5142 * sysdeps/unix/sysv/linux/sched_getcpu.c
5143 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5144 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5145 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5146 prototype.
5147 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5148 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5149 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5151 Define.
5152 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5153 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5154 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5156
5157 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5158
5159 * sysdeps/x86_64/fpu/Makefile: New file.
5160 * sysdeps/x86_64/fpu/Versions: New file.
5161 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5162 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5163 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5164 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5165 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5166 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5167 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5168 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5169 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5170 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5171 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5172 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5173 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5174 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5175 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5176 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5177 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5178 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5179 * sysdeps/x86_64/configure: Regenerated.
5180 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5181 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5182 * manual/install.texi (Configuring and compiling): Document
5183 --disable-mathvec.
5184 * INSTALL: Regenerated.
5185 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5186
5187 * math/Makefile: Added rules for vector tests.
5188 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5189 declaration under condition.
5190 * math/test-double-vlen2.h: New file.
5191 * math/test-double-vlen4.h: New file.
5192 * math/test-double-vlen8.h: New file.
5193 * math/test-vec-loop.h: Added initialization macro.
5194 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5195 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5196 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5197 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5198 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5199 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5200 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5201 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5202 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5203 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5204 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5205
5206 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5207 * sysdeps/x86_64/fpu/Versions: New versions added.
5208 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5209 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5210 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5211 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5212 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5213 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5214 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5215 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5216 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5217 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5218 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5219 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5220 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5221 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5222 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5223 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5224 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5225 * NEWS: Mention addition of x86_64 vector cosf.
5226
5227 * math/Makefile: Added CFLAGS for new tests.
5228 * math/test-float-vlen16.h: New file.
5229 * math/test-float-vlen4.h: New file.
5230 * math/test-float-vlen8.h: New file.
5231 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5232 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5233 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5234 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5235 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5236 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5237 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5238 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5239 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5240 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5241 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5242
5243 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5244
5245 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5246 * locale/programs/ld-ctype.c: Likewise.
5247
5248 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5249
5250 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5251 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5252 bit_ZMM16_31_state): New macro.
5253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5254 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5255
5256 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5257
5258 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5259
5260 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5261
5262 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5263
5264 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5265
5266 [BZ #18498]
5267 * libio/memstream.c (open_memstream): Rename to __open_memstream
5268 and define as weak alias of __open_memstream.
5269 * include/stdio.h (__open_memstream): Declare. Use
5270 libc_hidden_proto.
5271 (open_memstream): Don't use libc_hidden_proto.
5272 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5273 open_memstream.
5274 * posix/getopt.c (_getopt_internal_r): Likewise.
5275 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5276 variable.
5277 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5278 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5279 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5280
5281 [BZ #18496]
5282 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5283 instead of wcrtomb.
5284
5285 [BZ #18483]
5286 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5287 [__USE_XOPEN2K8]. Remove redundant #endif.
5288 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5289 Remove redundant #if.
5290 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5291 Remove variable.
5292 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5293 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5294
5295 [BZ #18495]
5296 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5297 (__iswlower): Likewise.
5298 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5299 (__iswlower): Likewise.
5300 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5301 instead of towlower.
5302 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5303 instead of iswlower. Call __towupper instead of towupper.
5304 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5305 instead of iswalnum.
5306
5307 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5308
5309 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5310 errors to stderr.
5311
5312 2015-06-05 Florian Weimer <fweimer@redhat.com>
5313
5314 [BZ #15661]
5315 [BZ #17322]
5316 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5317 Check for overflow properly. Check for O_APPEND. Ignore large
5318 file system block sizes. Add comments about problems.
5319 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5320 * manual/filesys.texi (Storage Allocation): New node.
5321
5322 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5323
5324 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5325 cancellable syscalls.
5326 (SYS_ify): Add guard to no redefine it.
5327 (INLINE_SYSCALL): Likewise.
5328 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5329 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5330 SYSCALL_CANCEL instead.
5331 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5332 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5333 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5334 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5335 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5336 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5337 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5338 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5339 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5340 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5341 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5342 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5343 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5344 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5345 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5346 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5347 Likewise.
5348 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5349 (__libc_pread64): Likewise.
5350 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5351 (__libc_preadv): Likewise.
5352 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5353 (__libc_readv64): Likewise.
5354 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5355 (__libc_pwrite): Likewise.
5356 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5357 (__libc_pwrite64): Likewise.
5358 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5359 (__libc_pwritev): Likewise.
5360 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5361 (__libc_pwritev64): Likewise.
5362 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5363 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5364 (sync_file_range): Likewise.
5365 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5366 Likewise.
5367 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5368 Likewise.
5369 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5370 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5371 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5372 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5373 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5374 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5375 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5376 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5378 Likewise.
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5380 (__libc_read64): Likewise.
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5382 Likewise.
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5384 Likewise.
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5386 Likewise.
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5388 Likewise.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5390 (__libc_pread64): Likewise.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5392 Likewise.
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5394 (__libc_pwrite64): Likewise.
5395 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5396 (sync_file_range): Likewise.
5397 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5398 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5399 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5400 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5401 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5402 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5403 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5404 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5405 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5406 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5407 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5408 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5409 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5410 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5411 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5412 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5413 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5414 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5415 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5416 Likewise.
5417 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5418 Likewise.
5419 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5420 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5421 Likewise.
5422 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5423 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5424 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5425 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5426 Likewise.
5427 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5428 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5429 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5430 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5431 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5432
5433 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5434
5435 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5436 Include dl-vdso.
5437 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5438 Use VDSO routines for gettimeofday, clock_gettime if
5439 available.
5440 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5441 Declare VDSO symbols.
5442 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5443 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5444 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5445 * sysdeps/unix/sysv/linux/arm/Versions: Add
5446 __vdso_clock_gettime.
5447
5448 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5449
5450 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5451 be an inline implementation regardless of library is built within.
5452 (open_not_cancel_2): Likewise.
5453 (__read_nocancel): Likewise.
5454 (__write_nocancel): Likewise.
5455 (openat_not_cancel): Likewise.
5456 (openat_not_cancel_3): Likewise.
5457 (openat64_not_cancel): Likewise.
5458 (openat64_not_cancel_3): Likewise.
5459 (__close_nocancel): Likewise.
5460 (pause_not_cancel): Likewise.
5461 (nanosleep_not_cancel): Likewise.
5462 (sigsuspend_not_cancel): Likewise.
5463
5464 2015-06-04 Torvald Riegel <triegel@redhat.com>
5465
5466 [BZ #14958]
5467 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5468 wake-up.
5469 (__pthread_rwlock_rdlock_slow): Likewise.
5470 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5471 Likewise.
5472 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5473 Likewise.
5474 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5475 * nptl/tst-rwlock16.c: New file.
5476 * nptl/Makefile (tests): Add new test.
5477
5478 2015-06-04 Torvald Riegel <triegel@redhat.com>
5479
5480 [BZ #18324]
5481 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5482 missing wake-up of readers.
5483 * nptl/tst-rwlock15.c: New file.
5484 * nptl/Makefile (tests): Add new test.
5485
5486 2015-06-03 Roland McGrath <roland@hack.frob.com>
5487
5488 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5489 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5490 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5491 and __nacl_supply_interface_rtld.
5492 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5493 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5494 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5495 Add __nacl_supply_interface_rtld.
5496 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5497
5498 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5499
5500 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5501 isfinite.
5502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5503 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5504
5505 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5506
5507 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5508 __signbit* with standard C99 macros.
5509 * math/e_exp10l.c: Likewise.
5510 * math/e_exp2l.c: Likewise.
5511 * math/e_scalb.c: Likewise.
5512 * math/e_scalbf.c: Likewise.
5513 * math/e_scalbl.c: Likewise.
5514 * math/s_ldexp.c: Likewise.
5515 * math/s_ldexpf.c: Likewise.
5516 * math/s_ldexpl.c: Likewise.
5517 * math/w_atan2.c: Likewise.
5518 * math/w_atan2f.c: Likewise.
5519 * math/w_atan2l.c: Likewise.
5520 * math/w_cosh.c: Likewise.
5521 * math/w_coshf.c: Likewise.
5522 * math/w_coshl.c: Likewise.
5523 * math/w_exp10.c: Likewise.
5524 * math/w_exp10f.c: Likewise.
5525 * math/w_exp10l.c: Likewise.
5526 * math/w_exp2.c: Likewise.
5527 * math/w_exp2f.c: Likewise.
5528 * math/w_exp2l.c: Likewise.
5529 * math/w_fmod.c: Likewise.
5530 * math/w_fmodf.c: Likewise.
5531 * math/w_fmodl.c: Likewise.
5532 * math/w_hypot.c: Likewise.
5533 * math/w_hypotf.c: Likewise.
5534 * math/w_hypotl.c: Likewise.
5535 * math/w_jnl.c: Likewise.
5536 * math/w_lgamma.c: Likewise.
5537 * math/w_lgamma_r.c: Likewise.
5538 * math/w_lgammaf.c: Likewise.
5539 * math/w_lgammaf_r.c: Likewise.
5540 * math/w_lgammal.c: Likewise.
5541 * math/w_lgammal_r.c: Likewise.
5542 * math/w_pow.c: Likewise.
5543 * math/w_powf.c: Likewise.
5544 * math/w_powl.c: Likewise.
5545 * math/w_remainder.c: Likewise.
5546 * math/w_remainderf.c: Likewise.
5547 * math/w_remainderl.c: Likewise.
5548 * math/w_scalb.c: Likewise.
5549 * math/w_scalbf.c: Likewise.
5550 * math/w_scalbl.c: Likewise.
5551 * math/w_scalbln.c: Likewise.
5552 * math/w_scalblnf.c: Likewise.
5553 * math/w_scalblnl.c: Likewise.
5554 * math/w_sinh.c: Likewise.
5555 * math/w_sinhf.c: Likewise.
5556 * math/w_sinhl.c: Likewise.
5557 * math/w_tgamma.c: Likewise.
5558 * math/w_tgammaf.c: Likewise.
5559 * math/w_tgammal.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5566 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5567 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5568 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5569 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5570 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5591 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5592 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5593 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5594 * stdio-common/printf_fp.c: Likewise.
5595 * stdio-common/printf_fphex.c: Likewise.
5596 * stdio-common/printf_size.c: Likewise.
5597
5598 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5599
5600 [BZ #18470]
5601 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5602 strnlen.
5603 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5604 Remove variable.
5605 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5606 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5607 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5608 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5609 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5610 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5611 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5612 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5613 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5614 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5615
5616 [BZ #18468]
5617 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5618 weak alias of __wmemchr. Use libc_hidden_weak.
5619 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5620 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5621 instead of wmemchr.
5622
5623 2015-06-02 Roland McGrath <roland@hack.frob.com>
5624
5625 [BZ #18383]
5626 * elf/tst-tlsalign-extern.c: New file.
5627 * elf/tst-tlsalign-extern-static.c: New file.
5628 * elf/tst-tlsalign-vars.c: New file.
5629 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5630 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5631 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5632 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5633 (test-xfail-tst-tlsalign-extern-static): New variable.
5634
5635 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5636
5637 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5638 Use variable name _sc_err instead of err.
5639 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5640 instead of ret.
5641 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5642 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5643 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5644 (INLINE_SYSCALL): Likewise.
5645
5646 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5647 * include/string.h (__strnlen): Use libc_hidden_proto.
5648 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5649 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5650 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5651 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5652 (libc_hidden_def): Undefine and redefine.
5653 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5654 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5655 __GI_strnlen.
5656 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5657 libc_hidden_def.
5658 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5659
5660 [BZ #18469]
5661 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5662 weak alias of __towlower. Use libc_hidden_weak.
5663 (towupper): Rename to __towupper and define as weak alias of
5664 __towupper. Use libc_hidden_weak.
5665 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5666 (__towupper): Likewise.
5667 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5668 __towlower instead of towlower.
5669
5670 2015-06-02 Roland McGrath <roland@hack.frob.com>
5671
5672 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5673 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5674
5675 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5676
5677 * sysdeps/aarch64/libm-test-ulps: Update.
5678
5679 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5680
5681 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5682 Define.
5683 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5685 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5686 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5687 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5688 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5689 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5690
5691 2015-06-01 Martin Sebor <msebor@redhat.com>
5692
5693 [BZ #18116]
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5695 (__setcontext): Use extended four-operand version of mtsf whenever
5696 possible.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5698 (__novec_swapcontext): Likewise.
5699
5700 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5701
5702 * benchtests/scripts/compare_bench.py: New file.
5703 * benchtests/scripts/import_bench.py (mean): New function.
5704 (split_list): Likewise.
5705 (do_for_all_timings): Likewise.
5706 (compress_timings): Likewise.
5707
5708 * benchtests/scripts/import_bench.py: New file.
5709 * benchtests/scripts/validate_benchout.py: Import import_bench
5710 instead of jsonschema.
5711 (validate_bench): Remove function.
5712 (main): Use import_bench.
5713
5714 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5715
5716 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5717 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5718
5719 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5720
5721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5722
5723 2015-05-28 Roland McGrath <roland@hack.frob.com>
5724
5725 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5726 set THREAD_SELF->tid to a magic value and futex-wake it.
5727 Pass its address to the thread_exit system call.
5728 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5729 bit is clear.
5730 * sysdeps/nacl/lowlevellock.h: New file.
5731 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5732
5733 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5734 Add TIMEOUT to current time, don't subtract it.
5735
5736 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5737
5738 [BZ #2981]
5739 [BZ #18422]
5740 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5741 ($(objpfx)tst-audit2.out): Also depend on
5742 $(objpfx)tst-auditmod9b.so.
5743 * elf/tst-audit2.c: Include <dlfcn.h>.
5744 (calloc_called): New.
5745 (calloc): Allow to be called more than once.
5746 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5747
5748 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5749
5750 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5751 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5752
5753 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5754
5755 * stdlib/monetary.h: Fix comment.
5756
5757 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5758
5759 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5760 Avoid using variables in #defines that might cause shadowing.
5761 (INTERNAL_VSYSCALL_CALL): Likewise.
5762
5763 2015-05-26 Roland McGrath <roland@hack.frob.com>
5764
5765 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5766
5767 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5768 * nptl/lll_timedlock_wait.c: ... to this new file.
5769 * nptl/Makefile (libpthread-routines): Add it.
5770 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5771 * nptl/lll_timedwait_tid.c: ... to this new file.
5772 * nptl/Makefile (libpthread-routines): Add it.
5773 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5774 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5775 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5776 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5777 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5778 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5779 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5780 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5781 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5782 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5783
5784 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5785
5786 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5787 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5788 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5789 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5790 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5791 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5792 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5794 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5795 * sysdeps/unix/sysv/linux/tile/sysdep.h
5796 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5797 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5798 using vDSO syscall macro.
5799
5800 2015-05-26 Andriy Rysin <arysin@gmail.com>
5801
5802 [BZ #17293]
5803 * uk_UA: Fix sorting order for Ukrainian locale
5804
5805 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5806
5807 * stdlib/monetary.h: Fix comment.
5808
5809 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5810
5811 [BZ #18234]
5812 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5813 st_mtim and st_ctim members.
5814 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5815 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5816 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5817 (struct stat64): Likewise.
5818 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5819 (struct stat64): Likewise.
5820 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5821 (struct stat64): Likewise.
5822
5823 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5824
5825 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5826 Define and include sysdep-vdso.h.
5827 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5828 Likewise.
5829 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5830 Likewise.
5831 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5832 Define with VDSO_SYMBOL and use PTR_MANGLE.
5833 (__vdso_clock_gettime): Likewise.
5834 (__vdso_clock_getres): Likewise.
5835 (_libc_vdso_platform_setup): Likewise.
5836 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5837 Likewise.
5838 (_libc_vdso_platform_setup): Likewise.
5839 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5840 Likewise.
5841 (__vdso_clock_gettime): Likewise.
5842 (__vdso_clock_getres): Likewise.
5843 (__vdso_get_tbfreq): Likewise.
5844 (__vdso_getcpu): Likewise.
5845 (__vdso_time): Likewise.
5846 (__vdso_sigtramp_rt64): Likewise.
5847 (__vdso_signtramp32): Likewise.
5848 (__vdso_sigtramp_rt32): Likewise.
5849 (_libc_vdso_platform_setup): Likewise.
5850 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5851 Likewise.
5852 (__vdso_clock_gettime): Likewise.
5853 (__vdso_clock_getres): Likewise.
5854 (_libc_vdso_platform_setup): Likewise.
5855 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5856 Likewise.
5857 (__vdso_clock_gettime): Likewise.
5858 (_libc_vdso_platform_setup): Likewise.
5859 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5860 Likewise.
5861 (__vdso_getcpu): Likewise.
5862 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5863 Use VDSO_SYMBOL macro to define.
5864 (__vdso_clock_gettime): Likewise.
5865 (__vdso_clock_getres): Likewise.
5866 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5867 Likewise.
5868 (__vdso_clock_gettime): Likewise.
5869 (__vdso_clock_getres): Likewise.
5870 (__vdso_get_tbfreq): Likewise.
5871 (__vdso_getcpu): Likewise.
5872 (__vdso_time): Likewise.
5873 (__vdso_sigtramp_rt64): Likewise.
5874 (__vdso_signtramp32): Likewise.
5875 (__vdso_sigtramp_rt32): Likewise.
5876 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5877 Likewise.
5878 (__vdso_clock_gettime): Likewise.
5879 (__vdso_clock_getres): Likewise.
5880 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5881 Likewise.
5882 (__vdso_clock_gettime): Likewise.
5883 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5884 Likewise.
5885 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5886 macro.
5887 (INTERNAL_VSYSCALL): Likewise.
5888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5889 Remove macro.
5890 (INTERNAL_VSYSCALL): Likewise.
5891 (INTERNAL_VSYSCALL_NCS): Likewise.
5892 (INTERNAL_VSYSCALL_CALL): New macro.
5893 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5894 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5895 Likewise.
5896 (INTERNAL_VSYSCALL): Likewise.
5897 (INTERNAL_VSYSCALL_NCS): Likewise.
5898 (INTERNAL_VSYSCALL_CALL): New macro.
5899 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5901 (INLINE_VSYSCALL): Remove macro.
5902 (INTERNAL_VSYSCALL): Remove macro.
5903 (INTERNAL_VSYSCALL_NCS): Remove macro.
5904 (INTERNAL_VSYSCALL_CALL): New macro.
5905 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5906 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5907 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5908 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5909 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5911 (INLINE_VSYSCALL): Remove macro.
5912 (INTERNAL_VSYSCALL): Likewise.
5913 (INTERNAL_VSYSCALL_NCS): Likewise.
5914 (INTERNAL_VSYSCALL_CALL): New macro.
5915 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5916 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5917 PTR_DEMANGLE on vDSO pointer.
5918 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5919 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5920 macro.
5921 (INTERNAL_SYSCALL): Likewise.
5922 (INTERNAL_VSYSCALL_NCS): Remove macro.
5923 (INTERNAL_VSYSCALL_CALL): New macro.
5924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5925 Remove macro.
5926 (INTERNAL_VSYSCALL): Likewise.
5927 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5928 sysdep-vdso.h instead of libc-vdso.h.
5929 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5930 definition.
5931 (INLINE_VSYSCALL): Likewise.
5932 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5933 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5934 definition.
5935 (INLINE_VSYSCALL): Likewise.
5936 (INTERNAL_VSYSCALL): Likewise.
5937 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5938 * sysdeps/unix/sysv/linux/timespec_get.c
5939 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5940 (timespec_get): Use ANSI prototype.
5941 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5942 and definition for Linux.
5943
5944 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
5945
5946 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5947 * include/libc-symbols.h: libmvec_hidden_* macro series added.
5948
5949 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
5950
5951 [BZ #2981]
5952 [BZ #18410]
5953 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5954 for missing DT_PLTRELSZ.
5955
5956 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
5957
5958 Remove obsolete aliases that broke 'locale -a'
5959 [BZ #18412]
5960 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5961 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5962 breaking some applications that use 'locale -a' output.
5963 Change the encoding of this file from Latin-1 to ASCII to avoid
5964 other potential problems with people grepping this file.
5965
5966 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5967
5968 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5969 -fasynchronous-unwind-tables.
5970 (CFLAGS-sendto.c): Likewise.
5971 (CFLAGS-sendmsg.c): Likewise.
5972 (CFLAGS-connect.c): Likewise.
5973 (CFLAGS-recvmsg.c): Likewise.
5974 (CFLAGS-recvfrom.c): Likewise.
5975 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5976 (SOCKETCALL): New macro: non-cancellable socketcall.
5977 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5978 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5979 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5980 * sysdeps/unix/sysv/linux/accept.c: New file.
5981 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5982 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5983 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5984 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5985 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5986 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5987 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5988 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5989 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5990 * sysdeps/unix/sysv/linux/send.c: Likewise.
5991 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5992 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5993 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5994 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5995 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5996 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5997 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5998 prototype.
5999 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6000 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6001 instead of __internal_xxx function.
6002 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6003 prototype.
6004 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6005 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6006 instead of __internal_xxx function.
6007 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6008 prototype.
6009 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6010 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6011 instead of __internal_xxx function.
6012 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6013 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6014 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6015 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6016 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6017 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6018 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6019 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6020 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6021 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6022 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6023 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6024 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6025 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6026 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6027 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6028 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6029 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6030 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6031 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6034 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6035 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6036 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6037 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6039 * sysdeps/unix/sysv/linux/send.S: Likewise.
6040 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6041 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6042 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6043 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6044 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6045 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6046 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6047 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6048 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6049 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6050 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6051 socketcall is implemented in GLIBC.
6052
6053 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6054
6055 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6056 (__fma): Ignore uninitialized warnings around packing.
6057 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6058 (__fmaf): Ignore uninitialized warnings around packing.
6059 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6060 (__fmal): Ignore uninitialized warnings around packing.
6061
6062 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6063 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6064 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6065 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6066
6067 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6068 switch statement into default case.
6069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6070
6071 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6072 a conditional in forcing "inexact".
6073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6074 Likewise.
6075
6076 2015-05-22 Roland McGrath <roland@hack.frob.com>
6077
6078 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6079 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6080 for each INTERNAL_SYSCALL use.
6081
6082 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6083
6084 [BZ #438]
6085 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6086 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6087 variable.
6088
6089 [BZ #18444]
6090 * string/basename.c (basename): Rename to __basename and define as
6091 weak alias of __basename. Use libc_hidden_weak.
6092 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6093 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6094 __basename instead of basename.
6095 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6096 Remove variable.
6097 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6098
6099 2015-05-18 Florian Weimer <fweimer@redhat.com>
6100
6101 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6102 (_IO_JUMPS_FILE_plus): New.
6103 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6104 _IO_CAST_FIELD_ACCESS.
6105 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6106 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6107 * libio/freopen.c (freopen): Likewise.
6108 * libio/freopen64.c (freopen64): Likewise.
6109 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6110 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6111 * libio/iofwide.c (_IO_fwide): Likewise.
6112 * libio/memstream.c (open_memstream): Likewise.
6113 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6114 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6115 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6116
6117 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6118
6119 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6120 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6121 NADJ.
6122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6123 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6124 NADJ.
6125 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6126 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6127 NADJ.
6128
6129 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6130 (p == 4) case.
6131
6132 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6133 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6134 Remove variable.
6135 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6136 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6137 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6138
6139 2015-05-21 Florian Weimer <fweimer@redhat.com>
6140
6141 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6142 Adjust jump table label generation macros.
6143
6144 2015-05-21 Florian Weimer <fweimer@redhat.com>
6145
6146 * stdio-common/vfprintf.c (vfprintf): Move local variables
6147 args_malloced, specs, specs_malloced, and the code after
6148 do_positional to the printf_positional function.
6149 (printf_positional): New function.
6150
6151 2015-05-21 Florian Weimer <fweimer@redhat.com>
6152
6153 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6154 function.
6155 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6156 STEP4_TABLE, process_arg): Move macro definitions
6157 out of the vfprintf function. (Cosmetic change only.)
6158
6159 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6160
6161 * benchtests/Makefile (stdio-common-bench): Define.
6162 (benchset): Add stdio-common-bench.
6163 * sprintf-inputs: New file.
6164 * sprintf-source.c: New file.
6165
6166 2015-05-21 Andreas Schwab <schwab@suse.de>
6167
6168 [BZ #13028]
6169 [BZ #17053]
6170 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6171 of struct __res_state.
6172 * resolv/res_send.c (__libc_res_nsend): Likewise.
6173 (get_nsaddr): New function.
6174 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6175 statp directly.
6176
6177 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6178
6179 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6180 -D_POSIX_C_SOURCE=199506L.
6181
6182 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6183
6184 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6185 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6186 Do not mention otherwise.
6187 [POSIX] (_XOPEN_VERSION): Do not expect.
6188 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6189 [POSIX] (_POSIX2_C_BIND): Likewise.
6190 [POSIX] (_POSIX2_VERSION): Likewise.
6191 [POSIX] (_XOPEN_XPG2): Likewise.
6192 [POSIX] (_XOPEN_XPG3): Likewise.
6193 [POSIX] (_XOPEN_XPG4): Likewise.
6194 [POSIX] (_XOPEN_UNIX): Likewise.
6195 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6196 [POSIX] (_POSIX_BARRIERS): Likewise.
6197 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6198 [POSIX] (_POSIX_CPUTIME): Likewise.
6199 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6200 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6201 [POSIX] (_POSIX_SHELL): Likewise.
6202 [POSIX] (_POSIX_SPAWN): Likewise.
6203 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6204 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6205 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6206 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6207 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6208 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6209 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6210 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6211 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6212 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6213 [POSIX] (_POSIX2_PBS): Likewise.
6214 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6215 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6216 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6217 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6218 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6219 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6220 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6221 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6222 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6223 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6224 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6225 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6226 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6227 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6228 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6229 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6230 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6231 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6232 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6233 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6234 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6235 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6236 [POSIX] (_SC_2_C_BIND): Likewise.
6237 [POSIX] (_SC_2_C_VERSION): Likewise.
6238 [POSIX] (_SC_2_PBS): Likewise.
6239 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6240 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6241 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6242 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6243 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6244 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6245 [POSIX] (_SC_BARRIERS): Likewise.
6246 [POSIX] (_SC_BASE): Likewise.
6247 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6248 [POSIX] (_SC_DEVICE_IO): Likewise.
6249 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6250 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6251 [POSIX] (_SC_FD_MGMT): Likewise.
6252 [POSIX] (_SC_FIFO): Likewise.
6253 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6254 [POSIX] (_SC_FILE_LOCKING): Likewise.
6255 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6256 [POSIX] (_SC_IOV_MAX): Likewise.
6257 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6258 [POSIX] (_SC_NETWORKING): Likewise.
6259 [POSIX] (_SC_PAGE_SIZE): Likewise.
6260 [POSIX] (_SC_PASS_MAX): Likewise.
6261 [POSIX] (_SC_PIPE): Likewise.
6262 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6263 [POSIX] (_SC_REGEXP): Likewise.
6264 [POSIX] (_SC_SHELL): Likewise.
6265 [POSIX] (_SC_SIGNALS): Likewise.
6266 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6267 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6268 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6269 [POSIX] (_SC_USER_GROUPS): Likewise.
6270 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6271 [POSIX] (_SC_STREAMS): Likewise.
6272 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6273 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6274 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6275 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6276 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6277 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6278 [POSIX] (_PC_FILESIZEBITS): Likewise.
6279 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6280 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6281 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6282 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6283 [POSIX] (uid_t): Likewise.
6284 [POSIX] (gid_t): Likewise.
6285 [POSIX] (off_t): Likewise.
6286 [POSIX] (pid_t): Likewise.
6287 [POSIX] (cuserid): Allow.
6288 (_SC_2_CHAR_TERM): Require constant.
6289 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6290 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6291 variable.
6292
6293 2015-05-20 Roland McGrath <roland@hack.frob.com>
6294
6295 * sysdeps/nacl/pthread-pids.h: New file.
6296 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6297 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6298
6299 * nptl/pthread-pids.h: New file.
6300 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6301 * nptl/nptl-init.c: Include <pthread-pids.h>.
6302 (__pthread_initialize_minimal_internal):
6303 Call __pthread_initialize_pids instead of set_tid_address syscall.
6304
6305 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6306 * sysdeps/posix/usleep.c: ... here.
6307
6308 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6309
6310 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6311 call_pselect6 object.
6312 [$(subdir) = io]: Remove call_sync_file_range object.
6313 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6314 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6315 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6316 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6317
6318 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6319
6320 * math/s_cproj.c: Add include "math_private.h".
6321 * math/s_cprojf.c: Likewise.
6322 * math/s_cprojl.c: Likewise.
6323
6324 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6325
6326 [BZ #18244]
6327 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6328 high mantissa bit when testing whether P is a NaN.
6329 * math/libm-test.inc (remainder_test_data): Add more tests.
6330 (remquo_test_data): Likewise.
6331
6332 [BZ #18049]
6333 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6334 below -32, return the argument, with underflow if subnormal.
6335 * math/auto-libm-test-in: Add more tests of atanh.
6336 * math/auto-libm-test-out: Regenerated.
6337
6338 2015-05-19 Roland McGrath <roland@hack.frob.com>
6339
6340 [BZ #18434]
6341 * nptl/tst-sem15.c: New file.
6342 * nptl/Makefile (tests): Add it.
6343 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6344 s/<</>>/ to fix typo in EOVERFLOW check.
6345 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6346
6347 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6348
6349 * manual/strings.texi (envz_remove): Fix typo in safety
6350 annotations.
6351
6352 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6353 Steve Ellcey <sellcey@imgtec.com>
6354
6355 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6356 in order to avoid strict alias warnings.
6357 (iruserok_af): Ditto for ra.
6358
6359 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6360
6361 [BZ #17581]
6362 * malloc/hooks.c
6363 (magicbyte): Convert to a function and avoid returning 0x01.
6364 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6365 (mem2chunk_check): Fix unsigned comparisons to zero.
6366 Hoist defs of sz and magic.
6367
6368 2015-05-19 Richard Henderson <rth@redhat.com>
6369
6370 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6371
6372 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6373
6374 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6375
6376 [BZ #16159]
6377 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6378 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6379 (reused_arena): Find a non-corrupt arena.
6380 (heap_trim): Pass arena to unlink.
6381 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6382 malloc_printerr.
6383 (top_check): Likewise.
6384 (free_check): Likewise.
6385 (realloc_check): Likewise.
6386 * malloc/malloc.c (malloc_printerr): Add arena argument.
6387 (unlink): Likewise.
6388 (munmap_chunk): Adjust.
6389 (ARENA_CORRUPTION_BIT): New macro.
6390 (arena_is_corrupt): Likewise.
6391 (set_arena_corrupt): Likewise.
6392 (sysmalloc): Use mmap if there are no usable arenas.
6393 (_int_malloc): Likewise.
6394 (__libc_malloc): Don't fail if arena_get returns NULL.
6395 (_mid_memalign): Likewise.
6396 (__libc_calloc): Likewise.
6397 (__libc_realloc): Adjust for additional argument to
6398 malloc_printerr.
6399 (_int_free): Likewise.
6400 (malloc_consolidate): Likewise.
6401 (_int_realloc): Likewise.
6402 (_int_memalign): Don't touch corrupt arenas.
6403 * malloc/tst-malloc-backtrace.c: New test case.
6404
6405 * Makefile (summarize-tests): Fix return value on success.
6406
6407 * manual/string.texi (Envz Functions): Add envz_remove.
6408
6409 2015-05-18 Roland McGrath <roland@hack.frob.com>
6410
6411 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6412 (invalid_name): New function, broken out of ...
6413 (__opendirat): ... here. Call it.
6414 (need_isdir_precheck): New function, broken out of ...
6415 (__opendirat): ... here. Call it.
6416 Use __fxstatat64, not __xstatat64.
6417 (opendir_oflags): New function, broken out of ...
6418 (__opendirat): ... here. Call it.
6419 (opendir_tail): New function, broken out of ...
6420 (__opendirat): ... here. Call it.
6421 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6422 opendir_tail, rather than punting to __opendirat.
6423 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6424
6425 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6426
6427 * .gitignore: Ignore generated *.pyc.
6428
6429 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6430
6431 * include/stdio.h: Define __need_wint_t.
6432 * test-skeleton.c: Avoid `for' loop initial declaration.
6433 * nptl/tst-initializers1.c: Use test-skeleton.c.
6434
6435 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6436
6437 [BZ #18418]
6438 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6439
6440 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6441
6442 [BZ #16352]
6443 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6444 (__ieee754_atanh): Force underflow exception for results with
6445 small absolute value.
6446 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6447 (__ieee754_atanhf): Force underflow exception for results with
6448 small absolute value.
6449 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6450 (__ieee754_atanh): Force underflow exception for results with
6451 small absolute value.
6452 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6453 (__ieee754_atanhf): Force underflow exception for results with
6454 small absolute value.
6455 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6456 (__ieee754_atanhl): Force underflow exception for results with
6457 small absolute value.
6458 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6459 (__ieee754_atanhl): Force underflow exception for results with
6460 small absolute value.
6461 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6462 (__ieee754_atanhl): Force underflow exception for results with
6463 small absolute value.
6464 * math/auto-libm-test-in: Do not allow missing underflow
6465 exceptions from atanh.
6466 * math/auto-libm-test-out: Regenerated.
6467
6468 [BZ #18221]
6469 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6470 2**-28 as threshold for returning x or +/- 1/x.
6471 * math/auto-libm-test-in: Add more tests of tan.
6472 * math/auto-libm-test-out: Regenerated.
6473
6474 [BZ #18220]
6475 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6476 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6477 * math/auto-libm-test-in: Add another test of lgamma.
6478 * math/auto-libm-test-out: Regenerated.
6479
6480 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6481
6482 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6483 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6484 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6485 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6486 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6487 (ADD2A): Use fabs. (SUB2A): Use fabs.
6488 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6489 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6491 (log1): Use fabs. (my_log2): Use fabs.
6492 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6493 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6495 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6497 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6498 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6499 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6500 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6501 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6502 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6503
6504 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6505
6506 [BZ #18217]
6507 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6508 as threshold for returning 1 - x.
6509 * math/auto-libm-test-in: Add more tests of erfc.
6510 * math/auto-libm-test-out: Regenerated.
6511
6512 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6513
6514 [BZ #18196]
6515 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6516 threshold for large arguments.
6517 * math/auto-libm-test-in: Add another test of atan.
6518 * math/auto-libm-test-out: Regenerated.
6519
6520 [BZ #16339]
6521 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6522 (__log1p): Force underflow exception for results with small
6523 absolute value.
6524 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6525 (__log1pf): Force underflow exception for results with small
6526 absolute value.
6527 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6528 (__log1p): Force underflow exception for results with small
6529 absolute value.
6530 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6531 (__log1pf): Force underflow exception for results with small
6532 absolute value.
6533 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6534 (__log1pl): Force underflow exception for results with small
6535 absolute value.
6536 * math/auto-libm-test-in: Do not allow missing underflow
6537 exceptions from log1p.
6538 * math/auto-libm-test-out: Regenerated.
6539
6540 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6541 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6542
6543 [BZ #16704]
6544 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6545
6546 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6547
6548 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6549 (libmvec): New variable.
6550 * configure.ac: Added option for mathvec build.
6551 * configure: Regenerated.
6552 * mathvec/Depend: New file.
6553 * mathvec/Makefile: New file.
6554 * shlib-versions: Added libmvec.
6555 * math/Makefile: Added rule for libm.so installation.
6556
6557 * bits/math-vector.h: New file.
6558 * bits/libm-simd-decl-stubs.h: New header.
6559 * math/Makefile (headers): Added new header
6560 libm-simd-decl-stubs.h.
6561 * math/math.h (__MATHCALL_VEC): New macro.
6562
6563 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6564 for conditions in testing functions.
6565 * math/Makefile: Added call of libm-have-vector-test.sh.
6566 * math/libm-test.inc (HAVE_VECTOR): New macros.
6567
6568 * math/libm-test.inc: START refactored.
6569 * math/test-double.c (TEST_MATHVEC): Add define.
6570 * math/test-float.c: Likewise.
6571 * math/test-idouble.c: Likewise.
6572 * math/test-ifloat.c: Likewise.
6573 * math/test-ildoubl.c: Likewise.
6574 * math/test-ldouble.c: Likewise.
6575 * sysdeps/generic/math-tests-arch.h
6576 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6577 architecture check.
6578
6579 * math/test-double.c (FUNC_TEST): New macro.
6580 * math/test-float.c: Likewise.
6581 * math/test-idouble.c: Likewise.
6582 * math/test-ifloat.c: Likewise.
6583 * math/test-ildoubl.c: Likewise.
6584 * math/test-ldouble.c: Likewise.
6585 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6586
6587 2015-05-13 Roland McGrath <roland@hack.frob.com>
6588
6589 * sysdeps/nacl/fdopendir.c: New file.
6590
6591 * dirent/scandir-tail.c: New file.
6592 * dirent/scandir64-tail.c: New file.
6593 * dirent/Makefile (routines): Add them.
6594 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6595 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6596 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6597 [!SCANDIR] (SCANDIR_TAIL): New macro.
6598 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6599 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6600 (SCANDIRAT): Macro removed.
6601 (SCANDIR_TAIL): New macro.
6602 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6603 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6604 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6605 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6606 (READDIR): Macro removed.
6607 (SCANDIR_TAIL): New macro.
6608 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6609 (SCANDIR_TAIL): New macro.
6610
6611 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6612 * dirent/scandir-cancel.c: ... to this new file.
6613 * dirent/Makefile (routines): Add it.
6614 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6615 * sysdeps/unix/sysv/linux/i386/scandir64.c
6616 (SKIP_SCANDIR_CANCEL): Macro removed.
6617 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6618
6619 * dirent/tst-scandir.c: New file.
6620 * dirent/tst-scandir64.c: New file.
6621 * dirent/Makefile (tests): Add them.
6622
6623 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6624
6625 [BZ #18409]
6626 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6627
6628 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6629
6630 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6631 list.
6632
6633 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6634
6635 * benchtests/bench-strcoll.c: New benchmark.
6636 * benchtests/Makefile: Generate locales and run benchmark.
6637 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6638 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6639 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6640 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6641 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6642 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6643 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6644 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6645 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6646 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6647 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6648 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6649 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6650 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6651 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6652 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6653 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6654 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6655 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6656 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6657 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6658 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6659 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6660 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6661
6662 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6663
6664 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6665 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6666
6667 2015-05-12 Roland McGrath <roland@hack.frob.com>
6668
6669 * posix/uname-values.h: New file.
6670 * posix/uname.c: Include that instead of <config-name.h>.
6671 * sysdeps/nacl/uname-values.h: New file.
6672 * sysdeps/arm/nacl/uname-values.h: New file.
6673
6674 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6675
6676 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6677 splitting into fields.
6678
6679 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6680
6681 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6682 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6683 * locale/localeinfo.h: Add enum collation_encoding_type.
6684 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6685 * programs/ld-collate.c (collate_output): Add encoding type info.
6686 * string/strcoll_l.c (STRDIFF): New function.
6687 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6688 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6689
6690 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6691
6692 [BZ #18397]
6693 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6694 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6695 <fpu_control.h> instead of <math/fpu_control.c>.
6696 * sysdeps/mips/mips32/fpu/Makefile: New file.
6697
6698 2015-05-11 Andreas Schwab <schwab@suse.de>
6699
6700 [BZ #18007]
6701 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6702 nss_endgrent.
6703 (_nss_compat_endgrent): Call nss_endgrent.
6704 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6705 nss_endpwent.
6706 (_nss_compat_endpwent): Call nss_endpwent.
6707 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6708 needent, call nss_setspent only if non-zero.
6709 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6710 (internal_endspent): Don't call nss_endspent.
6711 (_nss_compat_endspent): Call nss_endspent.
6712 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6713 Remove. All uses removed.
6714 (internal_setent): Remove parameter stayopen, add parameter
6715 stream. Use it instead of global variable.
6716 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6717 (internal_endent, internal_getent): Add parameter stream. Use it
6718 instead of global variable.
6719 (CONCAT(_nss_files_end,ENTNAME))
6720 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6721 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6722 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6723 uses removed.
6724 (internal_setent, internal_endent): Add parameter stream. Use it
6725 instead of global variable.
6726 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6727 stream.
6728 (get_next_alias): Add parameter stream.
6729 (_nss_files_getaliasent_r): Pass global stream.
6730 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6731 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6732 (_nss_files_gethostbyname4_r): Pass local stream to
6733 internal_setent, internal_getent and internal_endent. Remove
6734 locking.
6735
6736 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6737
6738 * tst-strfmon1.c (tests): Update expected currency symbol.
6739
6740 2015-05-08 Roland McGrath <roland@hack.frob.com>
6741
6742 * sysdeps/nacl/gethostname.c: New file.
6743
6744 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6745
6746 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6747 and sinh.
6748 * math/auto-libm-test-out: Regenerated.
6749 * sysdeps/i386/fpu/libm-test-ulps: Update.
6750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6751
6752 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6753
6754 [BZ #18125]
6755 * stdlib/tst-setcontext3.c: New file.
6756 * stdlib/tst-setcontext3.sh: New file.
6757 * stdlib/Makefile (tests): Add tst-setcontext3.
6758 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6759 to verify test program created output file.
6760 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6761 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6762 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6763 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6764
6765 2015-05-06 Roland McGrath <roland@hack.frob.com>
6766
6767 [BZ #18383]
6768 * elf/tst-tlsalign.c: New file.
6769 * elf/tst-tlsalign-static.c: New file.
6770 * elf/tst-tlsalign-lib.c: New file.
6771 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6772 (tests-static): Add tst-tlsalign-static.
6773 (modules-names): Add tst-tlsalign-lib.
6774 (test-xfail-tst-tlsalign): New variable.
6775 (test-xfail-tst-tlsalign-static): New variable.
6776
6777 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6778 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6779
6780 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6781
6782 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6783 csqrt, erfc, sin and sincos.
6784 * math/auto-libm-test-out: Regenerated.
6785 * sysdeps/i386/fpu/libm-test-ulps: Update.
6786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6787
6788 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6789
6790 * sysdeps/aarch64/libm-test-ulps: Update.
6791
6792 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6793
6794 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6795 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6796 * math/auto-libm-test-out: Regenerated.
6797 * sysdeps/i386/fpu/libm-test-ulps: Update.
6798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6799
6800 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6801
6802 [BZ #18265]
6803 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6804 (wcsncpy): Likewise.
6805
6806 2015-05-05 Florian Weimer <fweimer@redhat.com>
6807
6808 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6809 Assume __ASSUME_FALLOCATE is always true.
6810 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6811 (__posix_fallocate64_l64): Likweise.
6812 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6813 (posix_fallocate): Likewise.
6814 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6815 (__posix_fallocate64_l64): Likewise.
6816 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6817 [!__ASSUME_FALLOCATE]: Add comment.
6818
6819 2015-05-05 Florian Weimer <fweimer@redhat.com>
6820
6821 * sysdeps/unix/sysv/linux/i386/Makefile
6822 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6823 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6824 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6825 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6826 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6827 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6828 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6829
6830 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6831
6832 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6833 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6834 tgamma.
6835 * math/auto-libm-test-out: Regenerated.
6836 * sysdeps/i386/fpu/libm-test-ulps: Update.
6837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6838
6839 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6840
6841 * math/auto-libm-test-in: Add more tests of tgamma.
6842 * math/auto-libm-test-out: Regenerated.
6843 * sysdeps/i386/fpu/libm-test-ulps: Update.
6844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6845
6846 * math/auto-libm-test-in: Add more tests of tanh.
6847 * math/auto-libm-test-out: Regenerated.
6848 * sysdeps/i386/fpu/libm-test-ulps: Update.
6849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6850
6851 * math/auto-libm-test-in: Add more tests of tan.
6852 * math/auto-libm-test-out: Regenerated.
6853 * sysdeps/i386/fpu/libm-test-ulps: Update.
6854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6855
6856 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6857 * math/auto-libm-test-out: Regenerated.
6858 * sysdeps/i386/fpu/libm-test-ulps: Update.
6859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6860
6861 * math/auto-libm-test-in: Add another test of pow.
6862 * math/auto-libm-test-out: Regenerated.
6863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6864
6865 * math/auto-libm-test-in: Add more tests of lgamma.
6866 * math/auto-libm-test-out: Regenerated.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6869
6870 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6871 log1p.
6872 * math/auto-libm-test-out: Regenerated.
6873 * sysdeps/i386/fpu/libm-test-ulps: Update.
6874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6875
6876 2015-05-01 Mark Wielaard <mjw@redhat.com>
6877
6878 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6879 Elf64_Chdr structs and ELFCOMPRESS constants.
6880
6881 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6882
6883 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6884 expm1.
6885 * math/auto-libm-test-out: Regenerated.
6886 * sysdeps/i386/fpu/libm-test-ulps: Update.
6887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6888
6889 * math/auto-libm-test-in: Add more tests of erf and erfc.
6890 * math/auto-libm-test-out: Regenerated.
6891 * sysdeps/i386/fpu/libm-test-ulps: Update.
6892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6893
6894 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6895
6896 * config.h.in (HAVE_AARCH64_BE): Add.
6897
6898 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6899
6900 * math/auto-libm-test-in: Add more tests of csqrt.
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 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6906 * math/auto-libm-test-out: Regenerated.
6907 * sysdeps/i386/fpu/libm-test-ulps: Update.
6908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6909
6910 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6911
6912 2015-04-29 Roland McGrath <roland@hack.frob.com>
6913
6914 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6915 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6916
6917 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6918 (euidaccess, eaccess): Define as weak aliases.
6919
6920 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6921 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6922 but __suseconds_t is often 'long int' so some sources assume that
6923 type is being used (e.g. they use %ld to print tv_usec).
6924
6925 2015-04-29 Florian Weimer <fweimer@redhat.com>
6926
6927 [BZ #18007]
6928 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6929 (CVE-2014-8121)
6930 * nss/tst-nss-getpwent.c: New file.
6931 * nss/Makefile (tests): Add new test.
6932
6933 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6934
6935 [BZ #18346]
6936 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6937 exponents less than 48 as cases where high part of mantissa needs
6938 examining to determine whether argument is integral.
6939 * math/libm-test.inc (round_test_data): Add more tests.
6940
6941 2015-04-28 Mark Wielaard <mjw@redhat.com>
6942
6943 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6944
6945 2015-04-27 David S. Miller <davem@davemloft.net>
6946
6947 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6948 __tls_get_addr.
6949 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6950
6951 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
6952
6953 [BZ#18333]
6954 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6955
6956 2015-04-27 Florian Weimer <fweimer@redhat.com>
6957
6958 [BZ#18333]
6959 * time/tzset.c (parse_tzname): Return error on memory allocation
6960 failure.
6961 * test-skeleton.c (struct temp_name_list): Change type of name
6962 member to non-const.
6963 (add_temp_file): Create a copy of the file name.
6964 (delete_temp_files): Deallocate memory.
6965 (create_temp_file): Add comment.
6966
6967 2015-04-24 Florian Weimer <fweimer@redhat.com>
6968
6969 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6970 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6971
6972 2015-04-24 Roland McGrath <roland@hack.frob.com>
6973
6974 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6975 * sysdeps/arm/configure: Regenerated.
6976
6977 2015-04-24 Florian Weimer <fweimer@redhat.com>
6978
6979 [BZ #17715]
6980 * time/tzfile.c (__tzfile_read): Check for large values of
6981 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6982 * time/tzset.c (__tzstring_len): New function, based on the old
6983 __tzstring function.
6984 (__tzstring): Call __tzstring_len.
6985 (parse_tzname): New helper function extracted from
6986 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6987 the input string.
6988 (parse_offset): New helper function extracted from
6989 __tzset_parse_tz. Replace switch with fallthrough with
6990 initialization before sscanf.
6991 (parse_rule): Likewise.
6992 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6993 new-style function definition.
6994 * timezone/Makefile (tests): Add tst-tzset.
6995 (tst-tzset.out): Dependencies on time zone files.
6996 (tst-tzset-ENV): Set TZDIR.
6997 (testdata/XT%): Copy crafted time zone files.
6998 * timezone/README: Mention crafted time zone files.
6999 * timezone/testdata/XT1, timezone/testdata/XT2,
7000 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7001 files.
7002 * timezone/tst-tzset.c: New test.
7003
7004 2015-04-24 Florian Weimer <fweimer@redhat.com>
7005
7006 * Makeconfig (+gccwarn): Remove -Winline.
7007
7008 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7009
7010 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7011
7012 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7013
7014 * NEWS: Mention sysconf() cache information support for s390.
7015 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7016
7017 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7018
7019 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7020 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7021 (__nearbyint): Likewise.
7022 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7023 (copysignl): Likewise.
7024
7025 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7026
7027 [BZ #18287]
7028 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7029 based on padding. (CVE-2015-1781)
7030
7031 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7032
7033 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7034 libc-vdso.h.
7035 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7036 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7037 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7038 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7039 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7040 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7041 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7043 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7044 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7045 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7046 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7047 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7048 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7049 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7050 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7051 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7052 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7053 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7054 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7055 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7056 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7057 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7058
7059 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7060
7061 * stdlib/setenv.c (__add_to_environ):
7062 Dump core quickly if setenv (..., NULL, ...) is called.
7063 This time, do it the right way, and pacify GCC with a pragma.
7064
7065 2015-04-17 Roland McGrath <roland@hack.frob.com>
7066
7067 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7068 IMAP->l_prev cannot be null, and #if out the code for the contrary
7069 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7070 believe that NS (&_dl_ns[NSID]) could point outside the array.
7071
7072 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7073 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7074 before using NSID as an index.
7075
7076 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7077
7078 [BZ #17825]
7079 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7080 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7081 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7082
7083 2015-04-17 Roland McGrath <roland@hack.frob.com>
7084
7085 Add preliminary port to Google Native Client on ARM.
7086 * abi-tags (.*-.*-nacl.*): New entry.
7087 * sysdeps/arm/nacl: New directory.
7088 * sysdeps/nacl: New directory.
7089
7090 2015-04-16 David S. Miller <davem@davemloft.net>
7091
7092 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7093 lowlevellock-futex.h
7094
7095 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7096
7097 * sysdeps/tile/configure.ac: New file.
7098 * sysdeps/tile/configure: Regenerated.
7099
7100 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7101
7102 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7103 conditionals for weak_alias and libc_hidden_weak.
7104 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7105 libc_hidden_weak and weak_alias.
7106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7107 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7108 and weak_alias for static one.
7109
7110 2015-04-15 David S. Miller <davem@davemloft.net>
7111
7112 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7113
7114 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7115
7116 [BZ #18206]
7117 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7118 Use signed comparision instead of substraction to avoid
7119 overflow bug.
7120 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7121 Take the sign of ret.
7122 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7123 Do not expect precise return values. Only the sign matters.
7124 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7125 * wcsmbs/test-wcsncmp.c: New File.
7126 * string/test-strncmp.c: Add wcsncmp support.
7127
7128 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7129
7130 [BZ #6792]
7131 * math/w_log1p.c: New file.
7132 * math/w_log1pf.c: Likewise.
7133 * math/w_log1pl.c: Likewise.
7134 * math/Makefile (libm-calls): Add w_log1p.
7135 * math/s_log1pl.c (log1pl): Remove weak_alias.
7136 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7137 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7138 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7139 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7140 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7141 [NO_LONG_DOUBLE] (log1pl): Likewise.
7142 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7143 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7144 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7145 (log1p): Remove long_double_symbol.
7146 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7147 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7148 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7149 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7150 remove weak_alias for corresponding log1p function.
7151 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7152 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7153 * sysdeps/ia64/fpu/w_log1p.c: New file.
7154 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7155 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7156 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7157
7158 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7159
7160 [BZ #18247]
7161 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7162 decimal exponent by 1.
7163 * stdlib/tst-strtod-round-data: Add more tests.
7164 * stdlib/tst-strtod-round.c (tests): Regenerated.
7165
7166 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7167
7168 * math/auto-libm-test-in: Add more tests of clog and clog10.
7169 * math/auto-libm-test-out: Regenerated.
7170 * sysdeps/i386/fpu/libm-test-ulps: Update.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172
7173 2015-04-09 Roland McGrath <roland@hack.frob.com>
7174
7175 * Makeconfig (module-cppflags): Exclude all .v.i files.
7176 (skip-module-cppflags): Variable removed.
7177
7178 * configure.ac (libc_config_ok): Initialize before reading
7179 preconfigure scripts, not after.
7180 * configure: Regenerated.
7181
7182 * test-skeleton.c (TIMEOUT): Move #define to top level.
7183 (main): Grok environment variable TEST_DIRECT. If set, print
7184 test expectation details into that file and then behave as if
7185 given --direct.
7186
7187 2015-04-09 Florian Weimer <fweimer@redhat.com>
7188
7189 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7190 warning on 32-bit.
7191
7192 2015-04-08 David S. Miller <davem@davemloft.net>
7193
7194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7195
7196 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7197
7198 * math/auto-libm-test-in: Add more tests of atanh.
7199 * math/auto-libm-test-out: Regenerated.
7200 * sysdeps/i386/fpu/libm-test-ulps: Update.
7201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7202
7203 * math/auto-libm-test-in: Add more tests of atan.
7204 * math/auto-libm-test-out: Regenerated.
7205 * sysdeps/i386/fpu/libm-test-ulps: Update.
7206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7207
7208 2015-04-08 Florian Weimer <fweimer@redhat.com>
7209
7210 * elf/pldd.c (main): Rewrite to use struct
7211 scratch_buffer instead of extend_alloca.
7212 * elf/pldd-xx.c (find_maps): Likewise.
7213 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7214 <alloca.h>.
7215 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7216 scratch_buffer instead of extend_alloca.
7217 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7218 grp/compat-initgroups.c.
7219 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7220 Rewrite to use struct scratch_buffer instead of extend_alloca.
7221 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7222 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7223
7224 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7225
7226 * math/auto-libm-test-in: Add more tests of cbrt.
7227 * math/auto-libm-test-out: Regenerated.
7228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7229
7230 * math/auto-libm-test-in: Add more tests of cabs.
7231 * math/auto-libm-test-out: Regenerated.
7232 * sysdeps/i386/fpu/libm-test-ulps: Update.
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7234
7235 [BZ #18210]
7236 [BZ #18211]
7237 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7238 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7239 computations.
7240 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7241 clog10.
7242 * math/auto-libm-test-out: Regenerated.
7243 * sysdeps/i386/fpu/libm-test-ulps: Update.
7244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7245
7246 [BZ #18197]
7247 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7248 (atan): Set FE_TONEAREST mode for internal computations.
7249 * math/auto-libm-test-in: Add more tests of atan.
7250 * math/auto-libm-test-out: Regenerated.
7251
7252 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7253
7254 [BZ #17930]
7255 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7256
7257 2015-04-07 Florian Weimer <fweimer@redhat.com>
7258
7259 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7260
7261 2015-04-07 Florian Weimer <fweimer@redhat.com>
7262
7263 * include/scratch_buffer.h: New file.
7264 * malloc/scratch_buffer_grow.c: Likewise.
7265 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7266 * malloc/scratch_buffer_set_array_size.c: Likewise.
7267 * malloc/tst-scratch_buffer.c: Likewise.
7268 * malloc/Makefile (routines): Add scratch_buffer_grow.
7269 (tests): Add test case.
7270 * malloc/Versions (GLIBC_PRIVATE): Export
7271 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7272 __libc_scratch_buffer_set_array_size.
7273
7274 2015-04-06 Richard Henderson <rth@redhat.com>
7275
7276 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7277 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7278
7279 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7280 unsigned int before printing.
7281
7282 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7283
7284 [BZ #17596]
7285 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7286 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7287
7288 2015-04-02 Florian Weimer <fweimer@redhat.com>
7289
7290 * include/libc-internal.h (libc_max_align_t): Define.
7291
7292 2015-04-02 Andreas Schwab <schwab@suse.de>
7293
7294 [BZ #16850]
7295 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7296
7297 2015-04-02 Mel Gorman <mgorman@suse.de>
7298
7299 [BZ #17195]
7300 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7301 as well as the main arena.
7302
7303 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7304
7305 [BZ #18185]
7306 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7307 sharing L2 cache to 2 for Silvermont/Knights Landing.
7308
7309 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7310
7311 [BZ #17711]
7312 * config.make.in (have-protected-data): New.
7313 * configure.ac: Check linker support for protected data symbol.
7314 * configure: Regenerated.
7315 * elf/Makefile (modules-names): Add tst-protected1moda and
7316 tst-protected1modb if $(have-protected-data) is yes.
7317 (tests): Add tst-protected1a and tst-protected1b if
7318 $(have-protected-data) is yes.
7319 ($(objpfx)tst-protected1a): New.
7320 ($(objpfx)tst-protected1b): Likewise.
7321 (tst-protected1modb.so-no-z-defs): Likewise.
7322 * elf/tst-protected1a.c: New file.
7323 * elf/tst-protected1b.c: Likewise.
7324 * elf/tst-protected1mod.h: Likewise.
7325 * elf/tst-protected1moda.c: Likewise.
7326 * elf/tst-protected1modb.c: Likewise.
7327
7328 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7329
7330 [BZ #17711]
7331 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7332 indicates it is called from do_lookup_x on relocation against
7333 protected data, skip the data definion in the executable from
7334 copy reloc.
7335 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7336 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7337 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7338 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7339 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7340 otherwise to 0.
7341 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7342 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7343 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7344 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7345 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7346 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7347
7348 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7349
7350 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7351 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7352
7353 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7354
7355 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7356 THREAD_SETMEM_NC.
7357 * sysdeps/x86_64/nptl/tls.h: Ditto.
7358
7359 2015-03-27 Roland McGrath <roland@hack.frob.com>
7360
7361 * dlfcn/tststatic.c (main): Converted to ...
7362 (do_test): ... this.
7363 (TEST_FUNCTION): New macro.
7364 Include test-skeleton.c.
7365
7366 2015-03-26 Alan Modra <amodra@gmail.com>
7367
7368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7369 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7370 zero for undefined weak.
7371 (elf_machine_plt_conflict): Similarly.
7372
7373 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7374
7375 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7376 atanh.
7377 * math/auto-libm-test-out: Regenerated.
7378 * sysdeps/i386/fpu/libm-test-ulps: Update.
7379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7380
7381 * math/auto-libm-test-in: Add another test of asin.
7382 * math/auto-libm-test-out: Regenerated.
7383 * sysdeps/i386/fpu/libm-test-ulps: Update.
7384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7385
7386 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7387 Remove macro.
7388 (LLL_EBX_REG): Likewise.
7389 (LLL_ENTER_KERNEL): Likewise.
7390
7391 * math/auto-libm-test-in: Add more tests of asin.
7392 * math/auto-libm-test-out: Regenerated.
7393 * sysdeps/i386/fpu/libm-test-ulps: Update.
7394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7395
7396 [BZ #18138]
7397 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7398 libc_do_syscall_args): New structure.
7399 (INTERNAL_SYSCALL_MAIN_0): New macro.
7400 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7401 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7402 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7403 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7404 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7405 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7406 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7407 Replace conditional definitions by conditional definitions of ....
7408 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7409 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7410 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7411 (libpthread-sysdep_routines): Add libc-do-syscall.
7412 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7413 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7414 to __NR_futex not 240.
7415
7416 2015-03-25 Alan Modra <amodra@gmail.com>
7417
7418 * NEWS: Advertise TLS optimization.
7419 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7420 (DT_PPC_NUM): Increment.
7421 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7422 (CHECK_STATIC_TLS): Use here.
7423 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7424 TLS descriptors.
7425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7426 * sysdeps/powerpc/dl-tls.c: New file.
7427 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7428 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7429 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7430 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7434
7435 2015-03-25 Alan Modra <amodra@gmail.com>
7436
7437 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7438 for overlapping .opd entries" to "support...".
7439 * sysdeps/powerpc/powerpc64/configure: Regenerate
7440
7441 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7442
7443 * math/auto-libm-test-in: Add more tests of acos.
7444 * math/auto-libm-test-out: Regenerated.
7445 * sysdeps/i386/fpu/libm-test-ulps: Update.
7446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7447
7448 * math/auto-libm-test-in: Add more tests of expm1.
7449 * math/auto-libm-test-out: Regenerated.
7450 * sysdeps/i386/fpu/libm-test-ulps: Update.
7451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7452
7453 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7454
7455 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7456 * math/auto-libm-test-out: Regenerated.
7457 * sysdeps/i386/fpu/libm-test-ulps: Update.
7458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459
7460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7462
7463 * math/auto-libm-test-in: Add more tests of log2.
7464 * math/auto-libm-test-out: Regenerated.
7465 * sysdeps/i386/fpu/libm-test-ulps: Update.
7466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7467
7468 2015-03-23 Roland McGrath <roland@hack.frob.com>
7469
7470 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7471 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7472 _IO_IS_APPENDING bit in READ_WRITE instead.
7473
7474 2015-03-23 Florian Weimer <fweimer@redhat.com>
7475
7476 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7477 (__determine_cpumask_size): Replace extend_alloca with a
7478 variable-length array. Do not treat res == 0 as an error.
7479
7480 2015-03-23 Florian Weimer <fweimer@redhat.com>
7481
7482 [BZ #18100]
7483 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7484 and integer overflow.
7485 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7486 (main): Add integer overflow tests.
7487 * manual/pattern.texi (Calling Wordexp): Document additional use
7488 for WRDE_SYNTAX.
7489
7490 2015-03-23 Alan Modra <amodra@gmail.com>
7491
7492 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7493 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7494 and false branch of conditional.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7496 Likewise.
7497
7498 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7499
7500 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7501 libc-modules.h
7502 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7503 unused declaration of _hurd_intr_rpc_msg_in_trap.
7504 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7505 defined instead of whether it is non-zero.
7506 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7507 input constraint instead of both input and output constraint. Use ecx
7508 clobber instead of %ecx.
7509 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7510 mutex_unlock): Use a statement expression instead of an expression list.
7511 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7512 type to vm_size_t instead of vm_address_t.
7513 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7514 defined instead of whether it is non-zero.
7515 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7516 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7517 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7518 comparisons with mapaddr.
7519 * nscd/nscd-client.h: Include <time.h>.
7520 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7521 9th parameter to __vm_region instead of int.
7522 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7523 * scripts/check-local-headers.sh (exclude): Add device/,
7524 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7525 cthreads.h.
7526
7527 2015-03-19 Roland McGrath <roland@hack.frob.com>
7528
7529 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7530 to account for alignment padding.
7531 * sysdeps/arm/memmove.S: Likewise.
7532
7533 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7534
7535 * sysdeps/unix/sysv/linux/generic/README: New file.
7536
7537 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7538
7539 [BZ #18138]
7540 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7541 (futex_abstimed_wait)
7542 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7543 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7544 of lll_futex_timed_wait.
7545
7546 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7547
7548 [BZ #17542]
7549 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7550
7551 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7552
7553 [BZ #17090]
7554 [BZ #17620]
7555 [BZ #17621]
7556 [BZ #17628]
7557 * NEWS: Update.
7558 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7559 entries with Static TLS too. Skip entries past the end of the
7560 allocated DTV, from Alan Modra.
7561 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7562 Static TLS DTV entry set up from...
7563 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7564 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7565 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7566 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7567 for Static TLS.
7568 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7569 that the slot we find is associated with the given map before
7570 using its generation count.
7571 * nptl_db/db_info.c: Include ldsodefs.h.
7572 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7573 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7574 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7575 (link_map::l_tls_offset): New struct field.
7576 (dtv_t::counter): Likewise.
7577 (rtld_global): New struct.
7578 (_rtld_global): New rtld variable.
7579 (dl_tls_dtv_slotinfo_list): New rtld global field.
7580 (dtv_slotinfo_list): New struct.
7581 (dtv_slotinfo): Likewise.
7582 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7583 (td_lookup): Rename to...
7584 (td_mod_lookup): ... this. Use new mod parameter instead of
7585 LIBPTHREAD_SO.
7586 * nptl_db/td_thr_tlsbase.c: Include link.h.
7587 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7588 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7589 addresses even if the DTV is out of date or missing them.
7590 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7591 index zero-length arrays.
7592 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7593 (td_lookup): Make it a macro implemented in terms of...
7594 (td_mod_lookup): ... this declaration.
7595 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7596 (DB_MAIN_VARIABLE): Likewise.
7597
7598 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 [BZ #18134]
7601 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7602
7603 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7604
7605 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7606
7607 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7608
7609 [BZ #18128]
7610 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7611 (atomic_add, atomic_increment_and_test)
7612 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7613
7614 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7615
7616 * stdlib/setenv.c (__add_to_environ):
7617 Dump core quickly if setenv (..., NULL, ...) is called.
7618
7619 2015-03-13 Roland McGrath <roland@hack.frob.com>
7620
7621 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7622 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7623 all the necessary asm magic in one place.
7624 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7625 using those.
7626
7627 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7628
7629 [BZ #14906]
7630 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7631 traced file mtime. Use consistent log message.
7632 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7633 (register_traced_file): Call install_watches. Always set mtime.
7634 (invalidate_cache): Iterate over all trace files. Call install_watches.
7635 (inotify_check_files): Don't inline. Handle watching parent
7636 directories and configuration file movement in and out.
7637 (handle_inotify_events): New function.
7638 (main_loop_poll): Call handle_inotify_events.
7639 (main_loop_epoll): Likewise.
7640 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7641 (struct traced_file): Use array of inotify fds. Add parent directory,
7642 and basename.
7643 (struct database_dyn): Remove unused file_mtime.
7644 (init_traced_file): New inline function.
7645 (define_traced_file): New macro.
7646 * nss/nss_db/db-init.c: Use define_traced_file.
7647 (_nss_db_init): Use init_traced_file.
7648 * nss/nss_files/files-init.c: Use define_traced_file.
7649 (_nss_files_init): Use init_traced_file.
7650
7651 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7652
7653 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7654 [_LIBC]: Do not include <stdlib.h>.
7655 [!_LIBC] (abort): Remove declaration.
7656 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7657 _FP_STATIC_ASSERT instead of conditionally calling abort.
7658 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7659 (_FP_EXTEND_CNAN): Likewise.
7660 (FP_TRUNC): Likewise.
7661 (__FP_CLZ): Likewise.
7662 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7663
7664 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7665
7666 * manual/string.texi (XPG basename): Fix prototype.
7667
7668 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7669
7670 [BZ #18080]
7671 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7672 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7673 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7674 (__setcontext): Likewise.
7675 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7676 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7677 Call rt_sigprocmask syscall one time to set new signal mask
7678 and retrieve the current signal mask instead of two calls.
7679 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7680 (__swapcontext): Likewise.
7681 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7682 * stdlib/tst-setcontext2.c: New file.
7683
7684 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7685
7686 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7687
7688 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7689
7690 [BZ #18093]
7691 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7692 the wrong size.
7693
7694 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7695
7696 [BZ #18043]
7697 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7698
7699 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7700
7701 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7702 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7703 Remove define.
7704 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7705 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7706 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7707 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7708 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7709 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7710 define.
7711 * nptl_db/td_symbol_list.c (td_lookup): Remove
7712 HAVE_ASM_GLOBAL_DOT_NAME code.
7713 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7714 HAVE_ASM_GLOBAL_DOT_NAME check.
7715 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7716 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7717 (DOT_LABEL): Remove define.
7718 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7719 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7720 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7721 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7722 (__TLS_GET_ADDR): Likewise.
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7724 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7725
7726 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7727
7728 [BZ #18111]
7729 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7730 (_FPU_SETCW): Initialize cw from fpsr before storing.
7731 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7732 (fesetexceptflag): Rewrite using fpu_control.h.
7733 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7734
7735 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7736
7737 [BZ #18110]
7738 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7739 asms.
7740 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7741
7742 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7743
7744 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7745 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7746 abort.
7747 (_FP_FMA): Likewise.
7748 (_FP_DIV): Likewise.
7749
7750 2015-03-10 Roland McGrath <roland@hack.frob.com>
7751
7752 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7753 with 0 in that case.
7754 * Makefile (summarize-tests): New canned sequence, factored out of
7755 commands for targets tests and xtests. Display summary lines that
7756 don't start with PASS: or XFAIL: rather than ones that do start with
7757 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7758 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7759 do start with ERROR: or FAIL:.
7760 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7761 (except for [$(build-shared) = yes]).
7762 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7763 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7764 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7765 * nptl/Makefile: Revert 2015-03-04 changes.
7766 [$(CXX) empty] (tests-unsupported): New variable.
7767 * debug/Makefile: Likewise.
7768
7769 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7770 gnulib file. Replace __attribute with __attribute__ throughout.
7771
7772 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7773
7774 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7775
7776 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #18104]
7779 * math/auto-libm-test-in: Add another test of pow.
7780 * math/auto-libm-test-out: Regenerated.
7781
7782 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7783
7784 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7785 $(config-cflags-nofma).
7786
7787 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7788
7789 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7790 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7791 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7792 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7793 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7794 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7795 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7796 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7797 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7798 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7799 Add comment on closing #endif.
7800
7801 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7802
7803 * posix/wordexp.c (CHAR_IN_SET): New macro.
7804 (parse_param): Use it.
7805
7806 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7807
7808 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7809
7810 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7811
7812 [BZ #18043]
7813 * posix/wordexp.c (parse_param): Fix buffer overflow.
7814 * posix/wordexp-test.c (test_case): Add test case.
7815
7816 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7817
7818 [BZ #18042]
7819 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7820 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7821
7822 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7823
7824 [BZ #18043]
7825 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7826 (do_bz18043): Delete.
7827 (at_page_end): New.
7828 (testit): Refactor to have words at the edge of unreadable page.
7829
7830 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7831
7832 [BZ #16734]
7833 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7834 Cleanup read-only streams as well.
7835 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7836
7837 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7838
7839 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7840 <bits/libc-lockP.h>
7841
7842 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7843
7844 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7845 on [__KERNEL__].
7846 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7847 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7848 * soft-fp/op-common.h (_FP_DECL): Likewise.
7849
7850 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7851
7852 * elf/ifuncdep2.c (global): Replace
7853 __attribute__((visibility("protected"))) with
7854 asm (".protected global").
7855 * elf/ifuncmod1.c (global): Likewise.
7856 * elf/ifuncmod5.c (global): Likewise.
7857
7858 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7859
7860 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7861 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7862
7863 2015-03-06 Roland McGrath <roland@hack.frob.com>
7864
7865 * manual/install.texi (Configuring and compiling):
7866 Document test-wrapper-env-only.
7867 * INSTALL: Regenerated.
7868
7869 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7870
7871 [BZ #18043]
7872 * posix/wordexp.c (parse_param): Fix buffer overflow.
7873 * posix/wordexp-test.c (do_bz18043): Add test case.
7874
7875 2015-03-06 Vincent Bernat <vincent@bernat.im>
7876
7877 * time/tst-strptime2.c (do_test): Ensure failing tests are
7878 reported correctly.
7879 * time/tst-strptime3.c (do_test): Likewise.
7880
7881 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7882
7883 Fix aio_error thread-safety.
7884 * sysdeps/pthread/aio_error.c: New file
7885 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7886 synchronization.
7887
7888 2015-03-06 Florian Weimer <fweimer@redhat.com>
7889
7890 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7891 (group_number, vfprintf): Use it.
7892 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7893 (JUMP, REF): Use it.
7894 (WORK_BUFFER_SIZE): New enum constant.
7895 (process_arg, vfprintf): Use it.
7896
7897 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7898
7899 * manual/errno.texi (Error Messages): Complete example function
7900 by adding missing #define.
7901 (program_invocation_name): Add statement indicating GNU
7902 extension and reference which header file declares the variable.
7903 (program_invocation_short_name): Likewise.
7904
7905 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7906
7907 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7908 compatibility note.
7909
7910 2015-03-05 Roland McGrath <roland@hack.frob.com>
7911
7912 * Makeconfig (test-wrapper-env-only): New variable.
7913 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7914 then use that with $(test-wrapper-env-only) rather than using
7915 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7916
7917 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7918
7919 [BZ #18082]
7920 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7921 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7922 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7923 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7924 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7925 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7926 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7927 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7928 Likewise.
7929 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7930 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7931 Likewise.
7932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7933 Likewise.
7934 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7935 Likewise.
7936 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7937 Likewise.
7938 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7939 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7940 Likewise.
7941 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7942 Likewise.
7943 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7944 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7945
7946 2015-03-04 Roland McGrath <roland@hack.frob.com>
7947
7948 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7949 (ETH_ALEN): New macro.
7950 (struct ether_addr): Use it for length of ether_addr_octet.
7951
7952 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7953 (setdb): Don't call __nss_configure_lookup for "rpc".
7954 (do_test): Don't call test_rpc.
7955 (output_rpcent, test_rpc): Functions moved ...
7956 * sunrpc/test-rpcent.c: ... to this new file.
7957 * sunrpc/Makefile (tests): Add it.
7958
7959 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7960 __xpg_sigpause.
7961 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7962 * nptl/tst-signal6.c: Likewise.
7963 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7964 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7965
7966 * configure.ac (libc_cv_cxx_link_ok): New check.
7967 Reset CXX to empty if it fails to link.
7968 * configure: Regenerated.
7969 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7970 bug-atexit3-lib only if $(CXX) is nonempty.
7971 * nptl/Makefile (tests): Likewise for tst-cancel24.
7972 (tests, tests-static): Likewise for tst-cancel24-static.
7973 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7974 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7975 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7976 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7977
7978 2015-03-04 Andreas Schwab <schwab@suse.de>
7979
7980 [BZ #17631]
7981 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7982 for non-GCC compilers.
7983 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7984 Likewise.
7985
7986 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7987
7988 [BZ #17776]
7989 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7990 integer before bitwise and assembly operations.
7991 (feclearexcept): Likewise.
7992 * math/test-fenvinline.c: New file.
7993 * math/Makefile: Add test-fenvinline test.
7994
7995 2015-03-03 Alan Modra <amodra@gmail.com>
7996
7997 [BZ #16512]
7998 * scripts/localplt.awk: Strip off symbol version.
7999 * NEWS: Mention bug fix.
8000
8001 2015-03-02 Roland McGrath <roland@hack.frob.com>
8002
8003 * sysdeps/pthread/timer_routines.c
8004 (timer_free_list, thread_free_list, thread_active_list): Make static.
8005
8006 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8007
8008 [BZ #17779]
8009 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8010 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8011 Undefine.
8012 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8013 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8014 Likewise.
8015 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8016 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8017 Likewise.
8018
8019 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8020
8021 [BZ #18036]
8022 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8023 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8024
8025 2015-03-02 Andreas Schwab <schwab@suse.de>
8026
8027 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8028 variable name.
8029
8030 2015-03-02 Florian Weimer <fweimer@redhat.com>
8031
8032 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8033 Return error status.
8034
8035 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8036
8037 [BZ #15969]
8038 * locale/findlocale.c (_nl_find_locale): Introduce const
8039 version of loc_name and drop unsafe type casts.
8040
8041 2015-02-27 Roland McGrath <roland@hack.frob.com>
8042
8043 * dlfcn/tststatic2.c (main): Converted to ...
8044 (do_test): ... this.
8045 (TEST_FUNCTION): New macro.
8046 Include test-skeleton.c.
8047
8048 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8049
8050 [BZ #17711]
8051 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8052 (tests-pie): Add vismain.
8053 (CFLAGS-vismain.c): New.
8054 * elf/vismain.c: Add comments for PIE requirement.
8055
8056 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8057
8058 [BZ #18046]
8059 [BZ #18047]
8060 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8061 0x1p-56L as threshold for just returning the argument.
8062 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8063 0x1p-32L as threshold for just returning the argument.
8064 * math/auto-libm-test-in: Add more tests of atanh.
8065 * math/auto-libm-test-out: Regenerated.
8066 * sysdeps/i386/fpu/libm-test-ulps: Update.
8067 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8068
8069 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8070
8071 * string/bcopy.c (bcopy): Call memmove for performance.
8072
8073 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8074
8075 * string/bzero.c (__bzero): Call memset for performance.
8076
8077 2015-02-27 John David Anglin <dave.anglin@bell.net>
8078
8079 [BZ #18068]
8080 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8081 to 00100000.
8082
8083 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8084
8085 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8086
8087 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8088
8089 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8090 (__kernel_standard): Use CSTR macro when setting exc.name.
8091 * sysdeps/ieee754/Makefile [$(subdir) = math]
8092 (CFLAGS-k_standard.c): Remove variable.
8093
8094 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8095 setting p and q from "else if" to "else".
8096 (qzero): Likewise.
8097 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8098 (qone): Likewise.
8099 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8100 (qzerof): Likewise.
8101 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8102 (qonef): Likewise.
8103 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8104 (qzero): Likewise.
8105 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8106 (qone): Likewise.
8107
8108 [BZ #18038]
8109 [BZ #18039]
8110 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8111 return pi/2 for arguments below 0x1p-113L.
8112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8113 return pi/2 for arguments below 0x1p-106L.
8114 * math/auto-libm-test-in: Add more tests of acos.
8115 * math/auto-libm-test-out: Regenerated.
8116
8117 [BZ #16351]
8118 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8119 (MO): New macro.
8120 (__ieee754_asin): Force underflow exception for results with small
8121 absolute value.
8122 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8123 (MO): New macro.
8124 (__ieee754_asinf): Force underflow exception for results with
8125 small absolute value.
8126 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8127 (__ieee754_asin): Force underflow exception for results with small
8128 absolute value.
8129 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8130 (__ieee754_asinf): Force underflow exception for results with
8131 small absolute value.
8132 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8133 (__ieee754_asinl): Force underflow exception for results with
8134 small absolute value.
8135 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8136 (__ieee754_asinl): Force underflow exception for results with
8137 small absolute value.
8138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8139 (__ieee754_asinl): Force underflow exception for results with
8140 small absolute value.
8141 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8142 Include <math.h>.
8143 * math/auto-libm-test-in: Do not mark underflow exceptions as
8144 possibly missing for bug 16351.
8145 * math/auto-libm-test-out: Regenerated.
8146
8147 [BZ #18030]
8148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8149 of power of 2 down when low part has opposite sign.
8150 * math/libm-test.inc (logb_test_data): Add more tests.
8151
8152 2015-02-26 Andreas Schwab <schwab@suse.de>
8153
8154 [BZ #18032]
8155 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8156 over collating symbol inside a bracket expression. Minor cleanup.
8157 * posix/tst-fnmatch3.c (do_test): Add test case.
8158
8159 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8160
8161 [BZ #18029]
8162 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8163 Adjust exponent of power of 2 down when low part has opposite
8164 sign.
8165 * math/libm-test.inc (ilogb_test_data): Add more tests.
8166
8167 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8168
8169 [BZ #15969]
8170 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8171 the previous change.
8172
8173 [BZ #15969]
8174 * locale/findlocale.c (_nl_find_locale): Retry archive search
8175 after alias expansion.
8176
8177 2015-02-25 Roland McGrath <roland@hack.frob.com>
8178
8179 * iconv/tst-iconv3.c (main): Converted to ...
8180 (do_test): ... this.
8181 (TEST_FUNCTION): New macro.
8182 Include test-skeleton.c.
8183
8184 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8185 (convert): Make function static.
8186 (test_unalign): Likewise. Add const to argument pointee types.
8187 (main): Replace with static function do_test.
8188 Print "Succeeded." only if RET is zero.
8189 (TEST_FUNCTION): New macro.
8190 Include test-skeleton.c.
8191
8192 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8193 returns a null pointer.
8194
8195 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8196
8197 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8198 to __memcpy_ppc only for static builds.
8199
8200 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8201
8202 [BZ #18020]
8203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8204 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8205 * math/auto-libm-test-in: Add more tests of asinh.
8206 * math/auto-libm-test-out: Regenerated.
8207 * sysdeps/i386/fpu/libm-test-ulps: Update.
8208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8209
8210 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8211
8212 [BZ #15850]
8213 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8214 and ip6_mtuinfo definitions here.
8215 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8216 in this define too. Update comment.
8217
8218 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8219
8220 * elf/sprof.c (load_shobj): Tweak error message to match others.
8221
8222 2015-02-24 Kevin Easton <kevin@guarana.org>
8223
8224 [BZ #16145] (partial fix)
8225 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8226 to reduce lock contention.
8227
8228 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8229
8230 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8231 (struct timex): Update time comment.
8232 (ADJ_SETOFFSET): Define.
8233
8234 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8235
8236 [BZ #18019]
8237 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8238 2**56 not 2**28 as threshold for log (2x) formula.
8239 * math/auto-libm-test-in: Add more tests of acosh.
8240 * math/auto-libm-test-out: Regenerated.
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8243
8244 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8245
8246 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8247 parenthesis around the buf assignment.
8248 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8249
8250 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8251
8252 [BZ #16783]
8253 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8254 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8255 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8256 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8257 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8258 * math/libm-test.inc (scalb_test_data): Add more tests.
8259
8260 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8261
8262 [BZ #17916]
8263 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8264 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8265
8266 2015-02-24 Eric Rannaud <e@nanocritical.com>
8267
8268 [BZ #17523]
8269 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8270 * io/bits/fcntl2.h (open): Use it.
8271 (openat): Likewise.
8272 * io/open.c (__libc_open): Likewise.
8273 * io/open64.c (__libc_open64): Likewise.
8274 * io/open64_2.c (__open64_2): Likewise.
8275 * io/open_2.c (__open_2): Likewise.
8276 * io/openat.c (__openat): Likewise.
8277 * io/openat64.c (__openat64): Likewise.
8278 * io/openat64_2.c (__openat64_2): Likewise.
8279 * io/openat_2.c (__openat_2): Likewise.
8280 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8281 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8282 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8283 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8284 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8285 (__open_nocancel): Likewise.
8286 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8287 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8288 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8289
8290 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8291
8292 [BZ #14841]
8293 * resolv/gethnamaddr.c (getanswer): Skip logging if
8294 RES_USE_DNSSEC is set.
8295 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8296
8297 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8298
8299 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8300
8301 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8302
8303 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8304 201304L, for Unicode 7.
8305
8306 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 [BZ #17836]
8309 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8310 shared library. Add gmon-start.os otherwise.
8311 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8312 $(objpfx)gmon-start.os if builing shared library.
8313 ($(objpfx)g$(static-start-installed-name)): Likewise.
8314
8315 2015-02-23 Andreas Schwab <schwab@suse.de>
8316
8317 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8318
8319 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8320
8321 [BZ #17269]
8322 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8323 (enlarge_userbuf): Likewise.
8324
8325 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8326
8327 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8328 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8329 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8330 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8331
8332 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8333
8334 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8335 expression inside statement expression.
8336
8337 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8338
8339 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8340 <sysdeps/nptl/lowlevellock.h> and remove macros and
8341 functions that are now defined there.
8342 (SYS_futex): Remove.
8343 (lll_compare_and_swap): Remove.
8344 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8345
8346 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8347
8348 [BZ #17999]
8349 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8350 instead of scandirat.
8351 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8352 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8353 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8354 __scandirat.
8355 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8356 (__scandirat): Declare. Use libc_hidden_proto.
8357 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8358 Remove variable.
8359 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8360
8361 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8362
8363 [BZ #15319]
8364 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8365 (MO): New macro.
8366 (__ieee754_atan2): For results with small absolute value, force
8367 underflow exception and remove excess range and precision from
8368 return value.
8369 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8370 (MO): New macro.
8371 (__ieee754_atan2f): For results with small absolute value, force
8372 underflow exception and remove excess range and precision from
8373 return value.
8374 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8375 (MO): New macro.
8376 (__atan): For results with small absolute value, force underflow
8377 exception and remove excess range and precision from return value.
8378 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8379 (MO): New macro.
8380 (__atanf): For results with small absolute value, force underflow
8381 exception and remove excess range and precision from return value.
8382 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8383 <math.h>.
8384 (__ieee754_atan2): Force underflow exception for results with
8385 small absolute value.
8386 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8387 <math_private.h>.
8388 (atan): Force underflow exception for results with small absolute
8389 value.
8390 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8391 (__atanf): Force underflow exception for results with small
8392 absolute value.
8393 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8394 <math.h>.
8395 (__atanl): Force underflow exception for results with small
8396 absolute value.
8397 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8398 (__atanl): Force underflow exception for results with small
8399 absolute value.
8400 * sysdeps/x86/fpu/bits/mathinline.h
8401 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8402 (__ieee754_atan2): Only define inline for long double.
8403 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8404 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8405 * math/auto-libm-test-in: Do not mark underflow exceptions as
8406 possibly missing for bug 15319. Add more tests of atan2.
8407 * math/auto-libm-test-out: Regenerated.
8408 * math/libm-test.inc (casin_test_data): Do not mark underflow
8409 exceptions as possibly missing for bug 15319.
8410 (casinh_test_data): Likewise.
8411 * sysdeps/i386/fpu/libm-test-ulps: Update.
8412
8413 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8414
8415 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8416 * sysdeps/mips/bits/endian.h: Fix comments.
8417
8418 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8419
8420 [BZ #17996]
8421 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8422 (hdestroy_r): Likewise.
8423 (hsearch_r): Likewise.
8424 (__hcreate_r): Declare and use libc_hidden_proto.
8425 (__hdestroy_r): Likewise.
8426 (__hsearch_r): Likewise.
8427 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8428 (hcreate): Call __hcreate_r instead of hcreate_r.
8429 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8430 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8431 as weak alias of __hcreate_r.
8432 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8433 __hdestroy_r.
8434 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8435 __hsearch_r.
8436 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8437 Remove variable.
8438 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8439 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8440 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8441 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8442
8443 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8444
8445 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8446 arena_lock into a single arena_get.
8447
8448 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8449
8450 * dl-reloc.c: Inlucde libc-internal.h.
8451 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8452 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8453 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8454 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8455 (grow_heap): Likewise.
8456 * malloc/malloc.c: Include libc-internal.h.
8457 (do_check_malloc): Call powerof2.
8458 (sysmalloc): Use pagesize. Call ALIGN_UP.
8459 (systrim): Use pagesize.
8460 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8461 (__libc_valloc): Use pagesize.
8462 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8463
8464 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8465
8466 [BZ #17991]
8467 * include/sys/resource.h (__getrlimit64): Declare. Use
8468 libc_hidden_proto.
8469 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8470 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8471 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8472 getrlimit64.
8473 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8474 __getrlimit64.
8475 [!getrlimit64] (getrlimit64): Define as weak alias of
8476 __getrlimit64. Use libc_hidden_weak.
8477 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8478 using __getrlimit64 not __new_getrlimit64.
8479 (__GI_getrlimit64): Likewise.
8480 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8481 Likewise.
8482 (__GI_getrlimit64): Likewise.
8483 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8485 (getrlimit): Add __getrlimit64 alias.
8486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8487 Likewise.
8488 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8489 Remove variable.
8490 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8491 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8492
8493 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8494
8495 * libio/fileops.c: Add missing sys/mman.h
8496 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8497
8498 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8499
8500 * manual/math.texi (Errors in Math Functions): Clarify goals
8501 regarding inexact and underflow exceptions.
8502
8503 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8504
8505 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8506 * sysdeps/mips/memset.S: Ditto.
8507
8508 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8509
8510 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8511
8512 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8513
8514 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8515 (__v1longjmp): Remove versioned symbol.
8516 (__v1siglongjmp): Remove alias and versioned symbol.
8517 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8518 (__v2siglongjmp): Likewise.
8519
8520 2015-02-16 Torvald Riegel <triegel@redhat.com>
8521
8522 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8523
8524 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8525
8526 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8527
8528 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8529
8530 [BZ #17987]
8531 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8532 zero result does not depend on the sign resulting from
8533 subtraction.
8534 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8535 Likewise.
8536 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8537 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8539 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8540 * math/libm-test.inc (remquo_test_data): Add more tests.
8541
8542 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8543
8544 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8545 Problem reported by J William Piggott.
8546
8547 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8548
8549 [BZ #17978]
8550 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8551 products 4 * y and 2 * y where those would overflow.
8552 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8553 Likewise.
8554 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8555 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8557 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8558 * math/libm-test.inc (remquo_test_data): Add more tests.
8559
8560 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8561
8562 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8563 [defined _COMPILING_NEWLIB].
8564 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8565 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8566
8567 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8568 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8569
8570 2015-02-16 Torvald Riegel <triegel@redhat.com>
8571
8572 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8573 acquired.
8574
8575 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8576
8577 [BZ #17792]
8578 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8579 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8580 HOST_STACK_END_ADDR): Likewise.
8581
8582 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8583
8584 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8585 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8586 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8587
8588 2015-02-13 Roland McGrath <roland@hack.frob.com>
8589
8590 * sysdeps/generic/c++-types.data: New file.
8591 * sysdeps/generic/ld.abilist: New file.
8592 * sysdeps/generic/libBrokenLocale.abilist: New file.
8593 * sysdeps/generic/libanl.abilist: New file.
8594 * sysdeps/generic/libc.abilist: New file.
8595 * sysdeps/generic/libcrypt.abilist: New file.
8596 * sysdeps/generic/libdl.abilist: New file.
8597 * sysdeps/generic/libm.abilist: New file.
8598 * sysdeps/generic/libpthread.abilist: New file.
8599 * sysdeps/generic/libresolv.abilist: New file.
8600 * sysdeps/generic/librt.abilist: New file.
8601
8602 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8603
8604 [BZ #17569]
8605 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8606 Compute absolute value of x as modified by fmod, not original
8607 value of x.
8608 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8609 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8610 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8611 RUN_TEST_ffI_f1_mod8.
8612 (remquo_test_data): Add more tests.
8613
8614 2015-02-13 Roland McGrath <roland@hack.frob.com>
8615
8616 * sysdeps/init_array/pt-crti.S: New file.
8617
8618 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8619
8620 [BZ #17967]
8621 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8622 __builtin_fmaf instead of relying on contraction of a * b + c.
8623
8624 2015-02-12 J William Piggott <elseifthen@gmx.com>
8625
8626 [BZ #17969]
8627 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8628 node.
8629
8630 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8631
8632 [BZ #17964]
8633 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8634 __builtin_fma instead of relying on contraction of a * b + c.
8635
8636 2015-02-12 Roland McGrath <roland@hack.frob.com>
8637
8638 * Makeconfig (ASFLAGS): Add -Werror=undef.
8639 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8640 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8641 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8642
8643 * Makeconfig (after-link): New variable.
8644 (+link-pie, +link-pie-tests): Use it.
8645 (+link-static, +link-static-tests): Likewise.
8646 (+link, +link-tests): Likewise.
8647 * Makerules (build-module, build-module-asneeded): Likewise.
8648 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8649 Likewise.
8650 * elf/Makefile ($(objpfx)ld.so): Likewise.
8651
8652 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8653
8654 [BZ #17965]
8655 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8656 both struct timeval and struct timespec.
8657
8658 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8659
8660 [BZ #16560]
8661 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8662 and redefine.
8663 (__ieee754_exp2l): Do not multiply small fractional parts by
8664 M_LN2l.
8665 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8666 small argument.
8667 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8668 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8669 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8670 * math/auto-libm-test-in: Add more tests of exp2.
8671 * math/auto-libm-test-out: Regenerated.
8672
8673 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8674
8675 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8676 unaligned path.
8677
8678 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8679
8680 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8681 little endian.
8682
8683 2015-02-12 Andreas Schwab <schwab@suse.de>
8684
8685 [BZ #15790]
8686 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8687 Filter out elision flags from value returned in kind.
8688 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8689 * nptl/tst-pthread-mutexattr.c: New file.
8690
8691 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8692
8693 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8694 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8695 into gnu-gnu, and update comment to refer to abi-tags.
8696
8697 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8698
8699 [BZ #15467]
8700 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8701 (__sincos): Set errno to EDOM for infinite argument.
8702 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8703 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8704 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8705 (__sincosl): Set errno to EDOM for infinite argument.
8706 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8707 (__sincosl): Set errno to EDOM for infinite argument.
8708 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8709 (__sincosl): Set errno to EDOM for infinite argument.
8710 * math/libm-test.inc (sincos_test_data): Test errno setting.
8711
8712 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8713
8714 * string/strxfrm_l.c: Remove #define STRCMP.
8715 * string/strcoll_l.c: Remove #define STRLEN.
8716 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8717 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8718
8719 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8720
8721 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8722 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8723 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8724 * sysdeps/mips/mips64/Makefile: ... here.
8725 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8726 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8727 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8728 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8729 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8730 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8731 * sysdeps/mips/mips64/n64/Implies: Likewise.
8732
8733 2015-02-10 Roland McGrath <roland@hack.frob.com>
8734
8735 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8736 <sys/time.h>, <string.h>, and <errno.h>.
8737 (dest_offset, dest_address, value, zero): Remove unused variables.
8738 (ldouble): Remove typedef.
8739 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8740 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8741 1). Fix code style.
8742 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8743 (check): Function removed.
8744 (CHECK): New macro.
8745 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8746 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8747 Don't call set_sigaction_FP and remove_sigaction_FP here.
8748 (ldouble_test): Just use 'long double' as macro argument, no need for
8749 the 'ldouble' typedef.
8750 (do_test): Set up SIGFPE handler at start, using plain signal rather
8751 than sigaction. Fix code style.
8752
8753 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8754
8755 [BZ #17949]
8756 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8757 jump label.
8758
8759 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8760
8761 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8762 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8763
8764 * sysdeps/powerpc/configure.ac: Remove file.
8765 * sysdeps/powerpc/configure: Likewise.
8766
8767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8768 [sysdep_routines]: Remove wordcopy-power6 object.
8769 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8770 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8771 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8772 (__memmove_ppc32): Likewise.
8773 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8774 file.
8775 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8776 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8777 Remove preprocessor.
8778
8779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8780 [sysdep_routines]: Remove wide chars objects.
8781 [wcsmbs]: New rule for wide char objects.
8782
8783 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8784 Remove wordcopy-power6 obejct.
8785 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8786 Use local call for wordcopy and memcpy symbols.
8787 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8788 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8789 implementation for loader.
8790 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8791
8792 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8793 Remove wordcopy-power7 object.
8794 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8795 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8796 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8797 (_wordcopy_fwd_dest_aligned): Likewise.
8798 (_wordcopy_bwd_aligned): Likewise.
8799 (_wordcopy_bwd_dest_aligned): Likewise.
8800
8801 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8802 Rewrite to call __memmove_ppc instead of include default
8803 implementation.
8804
8805 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8806 Remove wide chars objects.
8807 [wcsmbs]: New rule for wide char objects.
8808
8809 2015-02-09 Andreas Schwab <schwab@suse.de>
8810
8811 [BZ #17912]
8812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8813 in terms of __O_DIRECTORY.
8814
8815 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8816
8817 * time/getdate.c: Include <stdbool.h>.
8818 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8819 call PTR_MANGLE.
8820 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8821 PTR_DEMANGLE.
8822
8823 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8824
8825 Add ersatz _Static_assert on older C hosts
8826 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8827 pre-C11 C platform that is not known to support _Static_assert.
8828
8829 2015-02-07 Richard Braun <rbraun@sceen.net>
8830
8831 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8832 sigstate.
8833 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8834
8835 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8836
8837 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8838 priority against unexistent AIO_PRIO_DELTA_MAX.
8839 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8840 instead of int.
8841 * misc/fchflags.c (fchflags): Likewise.
8842 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8843 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8844 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8845 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8846 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8847 Declare macros.
8848 [__USE_MISC] (chflags, fchflags): Declare functions.
8849 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8850 EINVAL when nfds is greater than FD_SETSIZE.
8851 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8852 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8853 45.
8854 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8855 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8856 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8857 MACH_RCV_TIMED_OUT.
8858 * hurd/hurd/signal.h (_hurd_self_sigstate,
8859 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8860 Explicit casts from void *.
8861 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8862 * abi-tags: Rename gnu-gnu os into gnu.
8863
8864 [BZ #4719]
8865 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8866 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8867 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8868 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8869 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8870 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8871
8872 [BZ #17944]
8873 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8874 duplicates ADDR->sun_path with sockaddr LEN limitation.
8875 * sysdeps/mach/hurd/connect.c: Include <string.h>
8876 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8877 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8878 * sysdeps/mach/hurd/sendto.c: Likewise.
8879 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8880 implementing it by hand.
8881
8882 2015-02-06 Roland McGrath <roland@hack.frob.com>
8883
8884 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8885 Use sfi_breg on ldr.
8886 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8887 Likewise.
8888
8889 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8890 it's defined.
8891 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8892 Test SIGSETXID only if it's defined.
8893
8894 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8895
8896 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8897 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8898
8899 * nptl/tst-align2.c: Moved ...
8900 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8901 * nptl/Makefile (tests): Remove tst-align2.
8902 * sysdeps/unix/sysv/linux/Makefile
8903 [$(subdir) = nptl] (tests): Add tst-align-clone.
8904 * nptl/tst-getpid1.c: Moved ...
8905 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8906 * nptl/tst-getpid2.c: Moved ...
8907 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8908 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8909 * sysdeps/unix/sysv/linux/Makefile
8910 [$(subdir) = nptl] (tests): ... here.
8911 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8912 * sysdeps/unix/sysv/linux/Makefile
8913 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8914
8915 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8916 Drop trailing \n from perror argument. Use return rather than exit.
8917
8918 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8919 on [SA_SIGINFO].
8920 * nptl/tst-cancel21.c (do_test): Likewise.
8921 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8922 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8923 [!SA_SIGINFO]: Make it a stub test.
8924
8925 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8926 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8927
8928 * posix/tst-getlogin.c: Move to ...
8929 * login/tst-getlogin.c: ... here.
8930 * posix/Makefile (tests): Move tst-getlogin to ...
8931 * login/Makefile (tests): ... here.
8932
8933 * libio/tst-atime.c (do_test): Move local variables SV and E
8934 inside [ST_NOATIME] conditional.
8935
8936 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8937
8938 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8939
8940 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8941 (wait_code): New function replaces macro.
8942 Call nanosleep rather than syscall.
8943
8944 * nptl/pt-system.c: Rewritten. Put everything under
8945 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8946 Use IFUNC to redirect when possible.
8947
8948 * nptl/pt-longjmp.c: Rewritten. Put everything under
8949 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8950 Use IFUNC to redirect when possible.
8951
8952 * nptl/pt-fork.c: Rewritten. Put everything under
8953 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8954 Use IFUNC to redirect when possible.
8955 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8956
8957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8958 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8959 unconditionally nowadays. This included the only reference to
8960 __vdso_clock_gettime that appears outside libc proper.
8961 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8962 Remove version set (containing only __vdso_clock_gettime).
8963 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8964 Add attribute_hidden.
8965 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8966 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8967 libc_hidden_data_def.
8968 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8969 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8970
8971 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8972 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8973 setrpcent, and getrpcport to ...
8974 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8975 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8976 getrpcbynumber_r, and getrpcent_r to ...
8977 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8978 * inet/getrpcbyname.c: Moved ...
8979 * sunrpc/getrpcbyname.c: ... here.
8980 * inet/getrpcbyname_r.c: Moved ...
8981 * sunrpc/getrpcbyname_r.c: ... here.
8982 * inet/getrpcbynumber.c: Moved ...
8983 * sunrpc/getrpcbynumber.c: ... here.
8984 * inet/getrpcbynumber_r.c: Moved ...
8985 * sunrpc/getrpcbynumber_r.c: ... here.
8986 * inet/getrpcent.c: Moved ...
8987 * sunrpc/getrpcent.c: ... here.
8988 * inet/getrpcent_r.c: Moved ...
8989 * sunrpc/getrpcent_r.c: ... here.
8990 * inet/Makefile (routines): Move those to ...
8991 * sunrpc/Makefile (routines): ... here.
8992 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8993 the $(subdirs) list.
8994 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8995 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8996 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8997 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8998
8999 * elf/Makefile (routines): Include $(all-dl-routines), not just
9000 $(dl-routines).
9001 (rtld-routines): Likewise. Use = rather than :=.
9002 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9003 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9004 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9005 * sysdeps/arm/Makefile: Likewise.
9006 * sysdeps/i386/Makefile: Likewise.
9007 * sysdeps/x86_64/Makefile: Likewise.
9008 * sysdeps/hppa/Makefile [$(subdir) = elf]
9009 (sysdep_routines, sysdep-rtld-routines): Don't add
9010 $(sysdep-dl-routines) to these.
9011 * sysdeps/ia64/Makefile: Likewise.
9012 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9013 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9014 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9015 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9016 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9017 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9018 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9019 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9020 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9021 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9022 these; sysdep-dl-routines alone is enough.
9023
9024 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9025
9026 [BZ #17932]
9027 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9028 where multiplication results in zero and third argument is finite
9029 and nonzero.
9030 * math/auto-libm-test-in: Add more tests of fma.
9031 * math/auto-libm-test-out: Regenerated.
9032
9033 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9034 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9035 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9036 (_FP_CMP_EQ): Likewise.
9037 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9038
9039 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9040 extra argument CHECK_NAN. Redefine as wrapper around
9041 _FP_EXTEND_CNAN.
9042
9043 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9044
9045 * version.h (RELEASE): Set to "stable".
9046 (VERSION): Set to "2.21"
9047 * include/features.h (__GLIBC_MINOR__): Set to 21.
9048
9049 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9050
9051 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9052 Paul Eggert <eggert@cs.ucla.edu>
9053
9054 [BZ #16618]
9055 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9056 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9057 size in bytes. Store needed elements in wpmax. Use needed size
9058 in bytes for extend_alloca.
9059
9060 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9061
9062 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9063 binutls 2.25, and texinfo 5.2.
9064 * INSTALL: Regenerate.
9065 * sysdeps/nios2/configure: Regenerate.
9066 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9067 * manual/contrib.texi: Update.
9068 * po/be.po: Update.
9069 * po/bg.po: Update.
9070 * po/ca.po: Update.
9071 * po/cs.po: Update.
9072 * po/da.po: Update.
9073 * po/de.po: Update.
9074 * po/el.po: Update.
9075 * po/eo.po: Update.
9076 * po/es.po: Update.
9077 * po/fi.po: Update.
9078 * po/fr.po: Update.
9079 * po/gl.po: Update.
9080 * po/hr.po: Update.
9081 * po/hu.po: Update.
9082 * po/ia.po: Update.
9083 * po/id.po: Update.
9084 * po/it.po: Update.
9085 * po/ja.po: Update.
9086 * po/ko.po: Update.
9087 * po/lt.po: Update.
9088 * po/nb.po: Update.
9089 * po/nl.po: Update.
9090 * po/pl.po: Update.
9091 * po/pt_BR.po: Update.
9092 * po/ru.po: Update.
9093 * po/rw.po: Update.
9094 * po/sk.po: Update.
9095 * po/sl.po: Update.
9096 * po/sv.po: Update.
9097 * po/tr.po: Update.
9098 * po/uk.po: Update.
9099 * po/vi.po: Update.
9100 * po/zh_CN.po: Update.
9101 * po/zh_TW.po: Update.
9102
9103 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9104 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9105 * sysdeps/hppa/dl-irel.h: Remove #warning.
9106 * sysdeps/hppa/entry.h: Provide prototype for
9107 __canonicalize_funcptr_for_compare and cast argument.
9108 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9109 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9110 * sysdeps/hppa/sotruss-lib.c: New file.
9111 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9112 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9113 (atomic_compare_and_exchange_bool_acq): Likewise.
9114 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9115 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9116
9117 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9118 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9119 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9120
9121 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9122
9123 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9124 called function in non-PIC case.
9125
9126 2015-01-31 David S. Miller <davem@davemloft.net>
9127
9128 * sysdeps/sparc/sparc32/bits/atomic.h
9129 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9130 unlock not after it.
9131 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9132 volatile register usage warnings from the compiler.
9133
9134 * sysdeps/sparc/nptl/sem_init.c: Delete.
9135 * sysdeps/sparc/nptl/sem_post.c: Delete.
9136 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9137 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9138 * sysdeps/sparc/sparc32/sem_init.c: New file.
9139 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9140 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9141 padding explicitly initialized.
9142 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9143 padding for in-semaphore spinlock.
9144 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9145 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9146 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9147 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9148 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9149 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9150 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9151 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9152 version.
9153 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9154 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9155
9156 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 [BZ #17801]
9159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9160 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9161 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9162 New.
9163 (index_AVX_Fast_Unaligned_Load): Likewise.
9164 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9165 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9166 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9167 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9168 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9169 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9170 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9171 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9172 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9173
9174 2015-01-29 Andreas Schwab <schwab@suse.de>
9175
9176 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9177
9178 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9179
9180 [BZ #17892]
9181 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9182
9183 2015-01-28 Martin Sebor <msebor@redhat.com>
9184
9185 * math/README.libm-test: Clarify. Add "How to read the test output."
9186
9187 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9188
9189 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9190 Define to 0.
9191
9192 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9193
9194 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9195 (__HAVE_64B_ATOMICS): Define to 0.
9196
9197 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9198
9199 [BZ #17885]
9200 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9201 value to set as new flag.
9202
9203 [BZ #16576]
9204 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9205 and use _ARCH_PPCSQ instead.
9206 (__ieee754_sqrt): Likewise.
9207 (__ieee754_sqrtf): Likewise.
9208 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9209 _ARCH_PPCSQ is defined.
9210 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9211 fsqrt instruction.
9212 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9213 _ARCH_PPCSQ is defined.
9214 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9215 fsqrts instruction.
9216 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9217
9218 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9219
9220 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9221 bug (GCC BZ #64739).
9222
9223 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9224
9225 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9226 Mark _retval as used.
9227 (lll_futex_wake_unlock): Likewise.
9228 (lll_futex_timed_wait_requeue_pi): Likewise.
9229
9230 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9231 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9232 register variables.
9233
9234 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9235 libm_hidden_def.
9236
9237 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9238 (__bswap_64): Mark as __always_inline.
9239
9240 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9241
9242 [BZ #15378]
9243 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9244 when none of the search directories exist.
9245
9246 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9247
9248 [BZ #17869]
9249 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9250 power8 in .machine directive.
9251
9252 [BZ #17868]
9253 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9254 set dependency from opd value.
9255
9256 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9257
9258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9259 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9260 architecture.
9261
9262 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9263
9264 [BZ #17870]
9265 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9266 with uint64_t.
9267 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9268 (uint64_t) 1.
9269 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9270 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9271 Replace 1UL with (uint64_t) 1.
9272 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9273 int with uint64_t.
9274
9275 2015-01-23 Roland McGrath <roland@hack.frob.com>
9276
9277 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9278 (if_freenameindex): Likewise.
9279
9280 * resource/getrlimit64.c: Add missing libc_hidden_def.
9281
9282 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9283
9284 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9285 __label__.
9286 (_FP_FMA): Likewise.
9287 (_FP_TO_INT_ROUND): Likewise.
9288 (_FP_FROM_INT): Likewise.
9289
9290 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9291
9292 [BZ #16418]
9293 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9294 Make code racy and cancel safe.
9295
9296 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9297
9298 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9299 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9300 attribution.
9301
9302 * pwd/tst-getpw.c: Rewrite.
9303
9304 [BZ #17702]
9305 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9306 (modules-names): Add moddummy1 and moddummy2.
9307 ($(objpfx)tst-rec-dlopen): Define.
9308 * dlfcn/moddummy1.c: New file.
9309 * dlfcn/moddummy2.c: New file.
9310 * dlfcn/tst-rec-dlopen.c: New file.
9311 * elf/dl-cache.c (_dl_load_cache_lookup):
9312 Return char*. Copy result with alloca/strcpy/strdup.
9313 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9314 returns char*. Free cached. If not saving realname
9315 free cached.
9316 * elf/dl-open.c (dl_open_worker): Do not assert that
9317 _r_debug->r_state is RT_CONSISTENT.
9318 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9319 returns char*.
9320
9321 2015-01-21 Torvald Riegel <triegel@redhat.com>
9322 Carlos O'Donell <carlos@redhat.com>
9323
9324 [BZ #12674]
9325 * nptl/sem_waitcommon.c: New file.
9326 * nptl/sem_wait.c: Include sem_waitcommon.c.
9327 (__sem_wait_cleanup, do_futex_wait): Remove.
9328 (__new_sem_wait): Adapt.
9329 (__new_sem_trywait): New function.
9330 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9331 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9332 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9333 (sem_timedwait): Adapt.
9334 * nptl/sem_post.c (__new_sem_post): Adapt.
9335 (futex_wake): New function.
9336 (__old_sem_post): Add release MO fence.
9337 * nptl/sem_open.c (sem_open): Adapt.
9338 * nptl/sem_init.c (__new_sem_init): Adapt.
9339 (futex_private_if_supported): New function.
9340 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9341 (__old_sem_getvalue): Add using previous code.
9342 * sysdeps/nptl/internaltypes.h: Adapt.
9343 * nptl/tst-sem13.c (do_test): Adapt.
9344 * nptl/tst-sem11.c (main): Adapt.
9345 * nptl/sem_trywait.c: Remove.
9346 * nptl/DESIGN-sem.txt: Remove.
9347 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9348 (gen-as-const-headers): Remove structsem.sym.
9349 * nptl/structsem.sym: Remove.
9350 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9351 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9352 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9353 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9354 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9355 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9356 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9357 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9358 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9359 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9360 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9361 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9362 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9363 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9364 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9365 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9366 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9367 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9368 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9369 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9370 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9371 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9372
9373 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9374
9375 * INSTALL: Regenerated.
9376
9377 * po/libc.pot: Regenerated.
9378
9379 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9380 Sandra Loosemore <sandra@codesourcery.com>
9381 Andrew Jenner <andrew@codesourcery.com>
9382 Joseph Myers <joseph@codesourcery.com>
9383 Nathan Sidwell <nathan@codesourcery.com>
9384
9385 * NEWS: Mention new Nios II port.
9386 * sysdeps/nios2/Implies: New file.
9387 * sysdeps/nios2/Makefile: New file.
9388 * sysdeps/nios2/Subdirs: New file.
9389 * sysdeps/nios2/Versions: New file.
9390 * sysdeps/nios2/__longjmp.S: New file.
9391 * sysdeps/nios2/abort-instr.h: New file.
9392 * sysdeps/nios2/backtrace.c: New file.
9393 * sysdeps/nios2/bits/endian.h: New file.
9394 * sysdeps/nios2/bits/fenv.h: New file.
9395 * sysdeps/nios2/bits/link.h: New file.
9396 * sysdeps/nios2/bits/setjmp.h: New file.
9397 * sysdeps/nios2/bsd-_setjmp.S: New file.
9398 * sysdeps/nios2/bsd-setjmp.S: New file.
9399 * sysdeps/nios2/configure: New generated file.
9400 * sysdeps/nios2/configure.ac: New file.
9401 * sysdeps/nios2/crti.S: New file.
9402 * sysdeps/nios2/crtn.S: New file.
9403 * sysdeps/nios2/dl-init.c: New file.
9404 * sysdeps/nios2/dl-machine.h: New file.
9405 * sysdeps/nios2/dl-sysdep.h: New file.
9406 * sysdeps/nios2/dl-tls.h: New file.
9407 * sysdeps/nios2/dl-trampoline.S: New file.
9408 * sysdeps/nios2/gccframe.h: New file.
9409 * sysdeps/nios2/gmp-mparam.h: New file.
9410 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9411 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9412 * sysdeps/nios2/ldsodefs.h: New file.
9413 * sysdeps/nios2/libc-tls.c: New file.
9414 * sysdeps/nios2/libm-test-ulps: New file.
9415 * sysdeps/nios2/machine-gmon.h: New file.
9416 * sysdeps/nios2/math-tests.h: New file.
9417 * sysdeps/nios2/math_private.h: New file.
9418 * sysdeps/nios2/memusage.h: New file.
9419 * sysdeps/nios2/nptl/Makefile: New file.
9420 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9421 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9422 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9423 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9424 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9425 * sysdeps/nios2/nptl/tls.h: New file.
9426 * sysdeps/nios2/preconfigure: New file.
9427 * sysdeps/nios2/s_fma.c: New file.
9428 * sysdeps/nios2/s_fmaf.c: New file.
9429 * sysdeps/nios2/setjmp.S: New file.
9430 * sysdeps/nios2/sfp-machine.h: New file.
9431 * sysdeps/nios2/sotruss-lib.c: New file.
9432 * sysdeps/nios2/stackguard-macros.h: New file.
9433 * sysdeps/nios2/stackinfo.h: New file.
9434 * sysdeps/nios2/start.S: New file.
9435 * sysdeps/nios2/sysdep.h: New file.
9436 * sysdeps/nios2/tls-macros.h: New file.
9437 * sysdeps/nios2/tst-audit.h: New file.
9438 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9439 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9440 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9441 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9442 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9443 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9444 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9445 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9446 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9447 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9448 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9449 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9450 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9451 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9452 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9453 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9454 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9455 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9456 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9457 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9458 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9459 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9460 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9461 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9462 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9463 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9464 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9465 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9466 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9467 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9468 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9469 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9470 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9471 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9472 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9473 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9474 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9475 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9476 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9477 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9478 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9479 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9480 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9481 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9482
9483 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9484
9485 [BZ #17844]
9486 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9487 (getutent): Use weak_alias in non SHARED case
9488 and default_symbol_version in SHARED case.
9489 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9490 (getutent_r, pututline): Likewise.
9491 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9492 (getutid): Likewise.
9493 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9494 (getutid_r): Likewise.
9495 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9496 (getutline): Likewise.
9497 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9498 (getutline_r): Likewise.
9499 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9500 (updwtmp): Likewise.
9501
9502 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9503
9504 [BZ #17848]
9505 * sysdeps/s390/s390-32/memcmp.S
9506 (memcmp_g5): Rename to __memcmp_g5.
9507 * sysdeps/s390/s390-32/memcpy.S
9508 (memcpy_g5): Rename to __memcpy_g5.
9509 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9510 (memcpy_mvcle) Rename to __memcpy_mvcle.
9511 * sysdeps/s390/s390-32/memset.S
9512 (memset_g5): Rename to __memset_g5.
9513 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9514 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9515 and use prefixed functions.
9516 * sysdeps/s390/s390-32/multiarch/memcmp.S
9517 (memcmp_z196): Rename to __memcmp_z196.
9518 (memcmp_z10): Rename to __memcmp_z10.
9519 (memcmp): Set alias to __memcmp_g5.
9520 (bcmp): Set alias to __memcmp_g5.
9521 * sysdeps/s390/s390-32/multiarch/memcpy.S
9522 (memcpy_z196): Rename to __memcpy_z196.
9523 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9524 (memcpy_z10): Rename to __memcpy_z10.
9525 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9526 (memcpy): Set alias to __memcpy_g5.
9527 * sysdeps/s390/s390-32/multiarch/memset.S
9528 (memset_z196): Rename to __memset_z196.
9529 Jump to __memset_mvcle instead of memset_mvcle.
9530 (memset_z10): Rename to __memset_z10.
9531 Jump to __memset_mvcle instead of memset_mvcle.
9532 (memset_mvcle) Rename to __memset_mvcle.
9533 (memset): Set alias to __memset_g5.
9534 * sysdeps/s390/s390-64/memcmp.S
9535 (memcmp_z900): Rename to __memcmp_z900.
9536 * sysdeps/s390/s390-64/memcpy.S
9537 (memcpy_z900): Rename to __memcpy_z900.
9538 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9539 (memcpy_mvcle) Rename to __memcpy_mvcle.
9540 * sysdeps/s390/s390-64/memset.S
9541 (memset_z900): Rename to __memset_z900.
9542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9543 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9544 and use prefixed functions.
9545 * sysdeps/s390/s390-64/multiarch/memcmp.S
9546 (memcmp_z196): Rename to __memcmp_z196.
9547 (memcmp_z10): Rename to __memcmp_z10.
9548 (memcmp): Set alias to __memcmp_z900.
9549 (bcmp): Set alias to __memcmp_z900.
9550 * sysdeps/s390/s390-64/multiarch/memcpy.S
9551 (memcpy_z196): Rename to __memcpy_z196.
9552 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9553 (memcpy_z10): Rename to __memcpy_z10.
9554 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9555 (memcpy): Set alias to __memcpy_z900.
9556 * sysdeps/s390/s390-64/multiarch/memset.S
9557 (memset_z196): Rename to __memset_z196.
9558 Jump to __memset_mvcle instead of memset_mvcle.
9559 (memset_z10): Rename to __memset_z10.
9560 Jump to __memset_mvcle instead of memset_mvcle.
9561 (memset_mvcle) Rename to __memset_mvcle.
9562 (memset): Set alias to __memset_z900.
9563
9564 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9565
9566 [BZ #17748]
9567 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9568 __fesetenv instead of fesetenv.
9569
9570 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9571
9572 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9573 macro.
9574
9575 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9576
9577 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9578 regression on LE.
9579
9580 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9581 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9582 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9583 strncmp-power8 object.
9584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9585 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9586 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9587 * NEWS: Update.
9588
9589 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9590 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9591
9592 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9593 trailing byte check.
9594
9595 2015-01-13 David S. Miller <davem@davemloft.net>
9596
9597 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9598
9599 2015-01-13 Roland McGrath <roland@hack.frob.com>
9600
9601 * login/logout.c (logout): Use memset rather than bzero.
9602 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9603 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9604 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9605 (_gethtbyaddr): Likewise.
9606 * locale/programs/simple-hash.c (bcopy): Macro removed.
9607
9608 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9609
9610 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9611 Add strcmp-power8 object.
9612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9613 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9614 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9615 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9616 __strcmp_power8 implementation.
9617 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9618 * NEWS: Update.
9619
9620 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9621 Add strncpy-power8 and stpncpy-power8 objects.
9622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9623 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9624 implementations.
9625 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9626 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9627 __stpncpy_power8 implementation.
9628 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9629 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9630 __strncpy_power8 implementation.
9631 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9632 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9633 * NEWS: Update.
9634
9635 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9636 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9637 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9638
9639 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9640 strncat-power8 object.
9641 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9642 __strcat_power8 implementation.
9643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9644 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9645 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9646 optimized strcat for power8.
9647
9648 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9649 strcpy-power8 and stpcpy-power8 objects.
9650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9651 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9652 implementations.
9653 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9654 multiarch stpcpy implementation for POWER8.
9655 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9656 multiarch strcpy implementation for POWER8.
9657 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9658 __strcpy_power8 function.
9659 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9660 stpcpy for POWER8.
9661 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9662 strcpy for POWER8.
9663 * NEWS: Update.
9664
9665 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9666
9667 [BZ #16009]
9668 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9669 weights and rules. Use do_xfrm_cached if data fits in cache,
9670 do_xfrm otherwise. Moved former main loop to...
9671 * (do_xfrm_cached): New function.
9672 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9673 find_idx, find_position and stack_push.
9674 * (find_idx): New function.
9675 * (find_position): Likewise.
9676 * localedata/sort-test.sh: Added test run for do_xfrm.
9677 * localedata/xfrm-test.c (main): Added command line option
9678 -nocache to run the test with strings that are too large for
9679 the STRXFRM cache.
9680
9681 2015-01-13 Torvald Riegel <triegel@redhat.com>
9682
9683 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9684 variable to lll_futex_wake call, not the value itself.
9685
9686 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9687
9688 [BZ #17803]
9689 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9690 twom64. Adjust value to 0x1p-64L.
9691 (__scalblnl): Only return standard underflowing result for K <=
9692 -64 not K <= -63; adjust exponent for underflowing result by 64
9693 not 63.
9694 * math/libm-test.inc (scalbn_test_data): Add more tests.
9695 (scalbln_test_data): Likewise.
9696
9697 [BZ #17834]
9698 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9699 0x1p63L.
9700 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9701 not HX.
9702 * math/libm-test.inc (scalbn_test_data): Add more tests.
9703 (scalbln_test_data): Likewise.
9704
9705 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9706 Stefani Seibold <stefani@seibold.net>
9707
9708 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9709 (sysdep_routines): Add dl-vdso here, ...
9710 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9711 (sysdep_routines): ... not here.
9712 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9713 fallback when vDSO is not presented.
9714 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9715 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9716 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9717 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9718 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9719 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9720 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9721 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9722 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9724 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9725 fallback configurable symbol when vDSO is not available.
9726 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9727 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9728 be able to redefine fallback symbol when vDSO is not available.
9729 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9730 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9731
9732 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9733
9734 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9735 (TLS_INIT_TP): Add tm_capable initialization.
9736 (TLS_DEFINE_INIT_TP): Likewise.
9737 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9738 TCB.
9739 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9740 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9741 calculation.
9742 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9743 transactoion is lock elision is built and TCB tm_capable is set.
9744 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9746 (INTERNAL_SYSCALL_NCS): Likewise.
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9748 (INTERNAL_SYSCALL_NCS): Likewise.
9749 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9750
9751 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9752 for powerpc.
9753 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9754 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9755 and remove it for 32 bits case.
9756 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9757 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9758 initialization.
9759 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9760 Disable lock elision with rdlocks if elision is not available.
9761
9762 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9763 (sysdep_routines): Add lock elision objects.
9764 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9765 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9766 [pthread_mutex_t] (__elision): Add field.
9767 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9768 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9769 elision definitions for powerpc.
9770 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9771 implementation of lock elision for powerpc.
9772 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9773 implementation of timed lock elision for powerpc.
9774 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9775 implementation of trylock with lock elision for powerpc.
9776 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9777 implementaion of unlock for lock elision for powerpc.
9778 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9779 automatic enable lock elision for mutexes.
9780 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9781 transaction execution definitions for powerpc.
9782 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9783 definitions.
9784 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9785 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9787 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9788 * NEWS: Update.
9789
9790 2015-01-09 Roland McGrath <roland@hack.frob.com>
9791
9792 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9793 for #include of <shm-directory.h>.
9794
9795 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9796
9797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9798 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9799
9800 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9801
9802 [BZ #17791]
9803 * NEWS: Mention bug fix.
9804 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9805 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9806 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9807
9808 2015-01-09 Torvald Riegel <triegel@redhat.com>
9809
9810 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9811
9812 2015-01-09 Torvald Riegel <triegel@redhat.com>
9813
9814 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9815
9816 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9817
9818 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9819 pointer and cast to uintptr_t.
9820
9821 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9822
9823 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9824 removed.
9825 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9826
9827 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9828
9829 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9830 of 0.
9831
9832 2015-01-08 Roland McGrath <roland@hack.frob.com>
9833
9834 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9835 <nptl/pthreadP.h> instead.
9836 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9837
9838 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9839 already defined.
9840 [__SIGRTMIN] (init): Function removed.
9841 [__SIGRTMIN] (initialized): Variable removed.
9842 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9843 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9844 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9845 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9846 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9847 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9848 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9849 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9850 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9851 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9852 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9853 * sysdeps/nptl/allocrtsig.c: New file.
9854 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9855 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9856 * sysdeps/generic/testrtsig.h: File removed.
9857
9858 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9859 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9860
9861 * nptl/nptl-init.c (pthread_functions): Conditionalize
9862 .ptr__nptl_setxid initialization on [SIGSETXID].
9863
9864 * sysdeps/nptl/sys/procfs.h: New file.
9865 * nptl_db/Makefile (headers): Add it.
9866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9867
9868 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9869 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9870 * nptl/pthread_attr_setaffinity.c: Include it.
9871 * nptl/pthread_setattr_default_np.c: Likewise.
9872 * nptl/check-cpuset.h: New file.
9873
9874 2015-01-08 Richard Henderson <rth@redhat.com>
9875
9876 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9877 (CFLAGS-tst-execstack-prog.c): Likewise.
9878 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9879
9880 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9881 Sandra Loosemore <sandra@codesourcery.com>
9882 Andrew Jenner <andrew@codesourcery.com>
9883 Joseph Myers <joseph@codesourcery.com>
9884 Nathan Sidwell <nathan@codesourcery.com>
9885
9886 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9887 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9888 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9889 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9890 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9891 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9892 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9893 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9894 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9895 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9896 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9897 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9898 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9899 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9900 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9901 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9902 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9903
9904 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9905
9906 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9907 timespec struct member in syscall macro.
9908 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9909 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9910 first timeval struct member in syscall macro.
9911 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9912
9913 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9914
9915 [BZ #17748]
9916 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9917 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9918 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9919 __feupdateenv and define as weak alias of __feupdateenv. Use
9920 libm_hidden_weak.
9921 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9922 libm_hidden_def.
9923 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9924 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9925 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9926 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9927 libm_hidden_def.
9928 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9929 __feupdateenv and define as weak alias of __feupdateenv. Use
9930 libm_hidden_weak.
9931 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9932 libm_hidden_def.
9933 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9934 __feupdateenv and define as weak alias of __feupdateenv. Use
9935 libm_hidden_weak.
9936 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9937 libm_hidden_def.
9938 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9939 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9940 (__feupdateenv): Likewise.
9941 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9942 __feupdateenv and define as weak alias of __feupdateenv. Use
9943 libm_hidden_weak.
9944 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9945 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9946 libm_hidden_def.
9947 * sysdeps/tile/math_private.h (__feupdateenv): New inline
9948 function.
9949 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9950 libm_hidden_def.
9951 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9952 __feupdateenv instead of feupdateenv.
9953 (default_libc_feupdateenv_test): Likewise.
9954 (libc_feresetround_ctx): Likewise.
9955
9956 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9957
9958 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9959 prototype.
9960
9961 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
9962
9963 * posix/regcomp.c (parse_bracket_exp): Initialize type to
9964 COLL_SYM in a couple of places to avoid uninitialized variable
9965 wanings on tilegx gcc 4.8.2.
9966
9967 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9968
9969 * sysdeps/aarch64/strcpy.S: New file.
9970 * sysdeps/aarch64/stpcpy.S: New file.
9971 * NEWS: Updated.
9972
9973 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9974
9975 * sysdeps/aarch64/strrchr.S: New file.
9976 * NEWS: Updated.
9977
9978 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9979
9980 [BZ #17658]
9981 * stdlib/setenv.c: Fix memory leak when setting large,
9982 duplicate string.
9983
9984 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9985
9986 [BZ #17273]
9987 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9988 and tabs from buffer before parsing fstab entry.
9989 * misc/tst-mntent.c (main): Add test for mount entry with
9990 trailing spaces and tabs.
9991
9992 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9993
9994 [BZ #17748]
9995 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9996 * math/fesetround.c (fesetround): Rename to __fesetround and
9997 define as weak alias of __fesetround. Use libm_hidden_weak.
9998 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9999 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10000 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10001 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10002 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10003 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10004 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10005 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10006 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10007 __fesetround_inline.
10008 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10009 __fesetround_inline instead of __fesetround.
10010 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10011 __fesetround and define as weak alias of __fesetround. Use
10012 libm_hidden_weak. Call __fesetround_inline instead of
10013 __fesetround.
10014 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10015 __fesetround and define as weak alias of __fesetround. Use
10016 libm_hidden_weak.
10017 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10018 Likewise.
10019 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10020 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10021 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10022 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10023 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10024 __fesetround and define as weak alias of __fesetround. Use
10025 libm_hidden_weak.
10026 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10027 __fesetround instead of fesetround.
10028 (default_libc_feholdexcept_setround): Likewise.
10029 (libc_feholdsetround_ctx): Likewise.
10030 (libc_feholdsetround_noex_ctx): Likewise.
10031
10032 [BZ #17748]
10033 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10034 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10035 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10036 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10037 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10038 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10039 define as weak alias of __fesetenv. Use libm_hidden_weak.
10040 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10041 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10042 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10043 define as weak alias of __fesetenv. Use libm_hidden_weak.
10044 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10045 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10046 define as weak alias of __fesetenv. Use libm_hidden_weak.
10047 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10048 libm_hidden_def.
10049 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10050 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10051 Likewise.
10052 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10053 define as weak alias of __fesetenv. Use libm_hidden_weak.
10054 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10055 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10056 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10057 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10058 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10059 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10060 __fesetenv instead of fesetenv.
10061 (libc_feresetround_noex_ctx): Likewise.
10062 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10063 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10064 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10065 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10066 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10067 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10068 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10069 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10070 (__feupdateenv): Likewise.
10071 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10072 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10073 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10074 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10075
10076 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10077
10078 [BZ #17806]
10079 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10080 addresses have been freed.
10081
10082 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10083
10084 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10085 and nservall.
10086
10087 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10088
10089 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10090 Clean up check_pf allocation pattern. addresses
10091
10092 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10093
10094 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10095 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10096 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10097 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10098 * nptl/pthread_join.c (pthread_join): Likewise.
10099 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10100 * sysdeps/posix/waitid.c (__waitid): Likewise.
10101 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10102 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10103 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10104 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10105 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10106 Likewise.
10107 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10108 (__libc_pread64): Likewise.
10109 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10110 (__libc_pwrite): Likewise.
10111 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10112 (__libc_pwrite64): Likewsie.
10113 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10114 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10115 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10116 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10117 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10118 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10119 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10121 Likewise.
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10123 (__libc_pread64): Likewise.
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10125 Likewise.
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10127 (__libc_pwrite64): Likewise.
10128 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10129 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10130 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10131 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10132 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10133 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10134 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10135 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10136 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10137 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10138 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10139 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10140 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10141 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10142 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10143 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10144 Likewise.
10145
10146 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10147
10148 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10149 (CFLAGS-test-double.c): Likewise.
10150 (CFLAGS-test-ldouble.c): Likewise.
10151 (CPPFLAGS-test-ifloat.c): Likewise.
10152 (CPPFLAGS-test-idouble.c): Likewise.
10153 (CPPFLAGS-test-ildoubl.c): Likewise.
10154 (CFLAGS-test-test-fenv.c): Remove variable.
10155 (CFLAGS-test-misc.c): Likewise.
10156
10157 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10158
10159 [BZ #17797]
10160 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10161 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10162 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10163 CLOCKS_PER_SEC == 1000000.
10164 * time/clocktest.c (main): Replace %ld with %jd and cast to
10165 intmax_t.
10166
10167 2015-01-05 Roland McGrath <roland@hack.frob.com>
10168
10169 * sysdeps/generic/unwind-resume.h: New file.
10170 * sysdeps/gnu/unwind-resume.c: Include it.
10171 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10172 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10173 argument list.
10174 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10175 global rather than static.
10176 (_Unwind_Resume): Update user.
10177 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10178 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10179 rather than static. Add __attribute__ ((cold)).
10180 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10181 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10182 * sysdeps/arm/arm-unwind-resume.S: New file.
10183 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10184 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10185 * sysdeps/arm/Makefile [$(subdir) = csu]
10186 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10187 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10188 Add rt-arm-unwind-resume.
10189 [$(subdir) = nptl]
10190 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10191 Add pt-arm-unwind-resume.
10192 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10193 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10194
10195 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10196
10197 [BZ #17748]
10198 * include/fenv.h (__feholdexcept): Declare. Use
10199 libm_hidden_proto.
10200 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10201 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10202 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10203 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10204 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10205 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10206 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10207 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10208 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10209 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10210 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10211 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10212 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10213 (feholdexcept): Likewise.
10214 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10215 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10216 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10217 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10218 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10219 __feholdexcept instead of feholdexcept.
10220 (default_libc_feholdexcept_setround): Likewise.
10221
10222 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10223
10224 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10225 to avoid using stl/str to align destination.
10226
10227 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10228
10229 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10230
10231 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10232
10233 [BZ #17796]
10234 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10235 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10236 Define as weak alias not strong alias.
10237
10238 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10239
10240 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10241 bltzal with addiupc.
10242 (RTLD_START): Ditto.
10243
10244 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10245
10246 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10247 for __vdso_* functions in declarations.
10248 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10249 definitions.
10250 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10251 INTERNAL_VSYSCALL): Use struct return types to check for error.
10252
10253 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10254 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10255 function with cast from llround().
10256 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10257 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10258 Define.
10259
10260 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10261
10262 [BZ #17793]
10263 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10264 Define as weak alias not strong alias.
10265
10266 [BZ #17635]
10267 * ctype/ctype-c99.c: New file. isblank implementation moved from
10268 ...
10269 * ctype/ctype-extn.c: ... here.
10270 (__isblank_l): Move to ...
10271 * ctype/ctype-c99_l.c: ... here. New file.
10272 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10273 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10274 Remove variable.
10275 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10276 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10277 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10278 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10279 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10280
10281 [BZ #17777]
10282 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10283 (posix_fadvise64): Define as weak alias not strong alias.
10284 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10285 (posix_fallocate64): Likewise.
10286 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10287 Remove variable.
10288 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10289 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10290 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10291 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10292 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10293
10294 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10295
10296 [BZ #16191]
10297 * NEWS: Mention bug fix.
10298 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10299 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10300 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10301 (HOST_STACK_END_ADDR): Likewise.
10302
10303 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10304
10305 [BZ #17748]
10306 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10307 * math/fegetround.c (fegetround): Rename to __fegetround and
10308 define as weak alias of __fegetround. Use libm_hidden_weak.
10309 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10310 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10311 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10312 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10313 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10314 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10315 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10316 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10317 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10318 Undefine after rather than before function definition; use
10319 parentheses around function name in definition.
10320 (__fegetround): Also undefine macro after function definition.
10321 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10322 __fegetround and define as weak alias of __fegetround. Use
10323 libm_hidden_weak. Do not undefine as macro.
10324 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10325 Likewise.
10326 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10327 __fegetround and define as weak alias of __fegetround. Use
10328 libm_hidden_weak.
10329 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10330 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10331 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10332 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10333 __fegetround and define as weak alias of __fegetround. Use
10334 libm_hidden_weak.
10335 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10336 __fegetround instead of fegetround.
10337
10338 [BZ #17782]
10339 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10340 Condition macro definition on [__USE_MISC].
10341
10342 [BZ #17781]
10343 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10344 (struct sigaction): Change type of sa_flags field to int.
10345
10346 [BZ #17780]
10347 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10348 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10349 __glibc_reserved0.
10350
10351 * nptl/version.c (banner): Use single year in copyright notice.
10352
10353 * NEWS: Update copyright dates.
10354 * catgets/gencat.c (print_version): Likewise.
10355 * csu/version.c (banner): Likewise.
10356 * debug/catchsegv.sh: Likewise.
10357 * debug/pcprofiledump.c (print_version): Likewise.
10358 * debug/xtrace.sh (do_version): Likewise.
10359 * elf/ldconfig.c (print_version): Likewise.
10360 * elf/ldd.bash.in: Likewise.
10361 * elf/pldd.c (print_version): Likewise.
10362 * elf/sotruss.sh: Likewise.
10363 * elf/sprof.c (print_version): Likewise.
10364 * iconv/iconv_prog.c (print_version): Likewise.
10365 * iconv/iconvconfig.c (print_version): Likewise.
10366 * locale/programs/locale.c (print_version): Likewise.
10367 * locale/programs/localedef.c (print_version): Likewise.
10368 * login/programs/pt_chown.c (print_version): Likewise.
10369 * malloc/memusage.sh (do_version): Likewise.
10370 * malloc/memusagestat.c (print_version): Likewise.
10371 * malloc/mtrace.pl: Likewise.
10372 * manual/libc.texinfo: Likewise.
10373 * nptl/version.c (banner): Likewise.
10374 * nscd/nscd.c (print_version): Likewise.
10375 * nss/getent.c (print_version): Likewise.
10376 * nss/makedb.c (print_version): Likewise.
10377 * posix/getconf.c (main): Likewise.
10378 * scripts/test-installation.pl: Likewise.
10379 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10380
10381 2015-01-02 Will Newton <will.newton@linaro.org>
10382
10383 * sysdeps/arm/armv7/configure: Removed.
10384 * sysdeps/arm/armv7/configure.ac: Likewise.
10385
10386 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10387
10388 * All files with FSF copyright notices: Update copyright dates
10389 using scripts/update-copyrights.
10390 * intl/plural.c: Regenerated.
10391 * locale/programs/charmap-kw.h: Likewise.
10392 * locale/programs/locfile-kw.h: Likewise.
10393
10394 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10395
10396 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10397
10398 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10399
10400 [BZ #17748]
10401 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10402 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10403 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10404 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10405 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10406 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10407 define as weak alias of __fegetenv. Use libm_hidden_weak.
10408 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10409 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10410 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10411 define as weak alias of __fegetenv. Use libm_hidden_weak.
10412 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10413 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10414 define as weak alias of __fegetenv. Use libm_hidden_weak.
10415 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10416 libm_hidden_def.
10417 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10418 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10419 Likewise.
10420 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10421 define as weak alias of __fegetenv. Use libm_hidden_weak.
10422 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10423 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10424 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10425 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10426 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10427 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10428 __fegetenv instead of fegetenv.
10429 (libc_feholdsetround_noex_ctx): Likewise.
10430
10431 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10432
10433 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10434 (Elf_MIPS_ABIFlags_v0): New structure.
10435 (EF_MIPS_FP64): Define.
10436 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10437 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10438 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10439 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10440 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10441 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10442 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10443 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10444 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10445 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10446 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10447 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10448 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10449 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10450 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10451 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10452 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10453 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10454 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10455 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10456 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10457 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10458 field.
10459 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10460 EF_MIPS_FP64.
10461 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10462 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10463 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10464 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10465 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10466 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10467 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10468 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10469 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10470 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10471 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10472 record the current FP ABI extension.
10473 (mips-mode-switch): Define to show if kernel headers support mode
10474 switching.
10475 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10476 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10477 supported SYSV ABI version to 3.
10478 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10479 feature.
10480
10481 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10482 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10483
10484 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10485 path.
10486 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10487
10488 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10489
10490 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10491 __fegetround and redefine to call __fegetround. Remove condition
10492 on [!__NO_MATH_INLINES].
10493 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10494 function.
10495 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10496 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10497 Remove macro.
10498 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10499 instead of <fenv_libc.h>.
10500 (__llrintl): Call fegetround instead of __fegetround.
10501 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10502 instead of <fenv_libc.h>.
10503 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10504 (__lrintl): Call fegetround instead of __fegetround.
10505 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10506 instead of <fenv_libc.h>.
10507 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10508 (__rintl): Call fegetround instead of __fegetround.
10509
10510 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10511
10512 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10513 arrays.
10514
10515 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 [BZ #17775]
10518 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10519 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10520 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10521
10522 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10523
10524 * sysdeps/i386/tls-macros.h: Include <features.h>.
10525 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10526 (TLS_IE): Likewise.
10527 (TLS_LD): Likewise.
10528 (TLS_GD): Likewise.
10529 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10530 define for GCC >= 5.0.
10531
10532 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10533
10534 * math/test-fenv.c (test_single_exception, set_single_exc,
10535 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10536 feexcp_mask_test, feenable_test, fe_single_test): Add
10537 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10538 case where they are not used.
10539 * math/libm-test.inc: Likewise.
10540 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10541 unused in the absence of FP rounding/exception support.
10542 * stdio-common/tst-printf-round.c: Likewise.
10543 * stdlib/tst-strtod-round.c: Likewise.
10544 * stdlib/tst-strtod-underflow.c: Likewise.
10545
10546 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10547
10548 [BZ #17723]
10549 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10550 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10551 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10552 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10553 libm_hidden_weak.
10554 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10555 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10556 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10557 libm_hidden_def.
10558 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10559 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10560 libm_hidden_weak.
10561 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10562 Likewise.
10563 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10564 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10565 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10566 libm_hidden_weak.
10567 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10568 libm_hidden_def.
10569 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10570 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10571 (__feraiseexcept): Likewise.
10572 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10573 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10574 libm_hidden_weak.
10575 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10576 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10577 libm_hidden_def.
10578 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10579 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10580 Use libm_hidden_def.
10581 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10582 libm_hidden_def.
10583 (feraiseexcept): Define as weak not strong alias. Use
10584 libm_hidden_weak.
10585 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10586 New inline function. Factored out of ...
10587 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10588 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10589 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10590 feraiseexcept.
10591 * math/w_acos.c (__acos): Likewise.
10592 * math/w_asin.c (__asin): Likewise.
10593 * math/w_ilogb.c (__ilogb): Likewise.
10594 * math/w_j0.c (y0): Likewise.
10595 * math/w_j1.c (y1): Likewise.
10596 * math/w_jn.c (yn): Likewise.
10597 * math/w_log.c (__log): Likewise.
10598 * math/w_log10.c (__log10): Likewise.
10599 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10600 * sysdeps/aarch64/fpu/math_private.h
10601 (libc_feupdateenv_test_aarch64): Likewise.
10602 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10603 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10604 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10605 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10606 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10607 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10608 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10609 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10610 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10611 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10612
10613 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10614
10615 [BZ #17732]
10616 * io/test-utime.c (main): Replace %ld with %jd and cast to
10617 intmax_t.
10618 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10619 * nptl/tst-mutex5.c: Include <stdint.h>.
10620 (do_test): Replace %ld with %jd and cast to intmax_t.
10621 * posix/tst-regex.c (run_test): Likewise.
10622 (run_test_backwards): Likewise.
10623 * rt/tst-clock.c: Include <stdint.h>.
10624 (clock_test): Replace %ld with %jd and cast to intmax_t.
10625 * rt/tst-cpuclock1.c: Include <stdint.h>.
10626 (do_test): Replace %lu with %ju and cast to uintmax_t.
10627 * rt/tst-cpuclock2.c: Include <stdint.h>.
10628 (do_test): Replace %lu with %ju and cast to uintmax_t.
10629 * rt/tst-mqueue1.c: Include <stdint.h>.
10630 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10631 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10632 intmax_t.
10633 * rt/tst-mqueue4.c (do_test): Likewise.
10634 * rt/tst-timer4.c: Include <stdint.h>.
10635 (check_ts): Replace %ld with %jd and cast to intmax_t.
10636 (do_test): Likewise.
10637 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10638 and cast to intmax_t.
10639 * sysdeps/pthread/tst-timer.c (main): Likewise.
10640 * time/clocktest.c (main): Likewise.
10641 * time/tst-posixtz.c (do_test): Likewise.
10642 * timezone/tst-timezone.c (main): Likewise.
10643
10644 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10645 H.J. Lu <hongjiu.lu@intel.com>
10646
10647 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10648 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10649 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10650 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10651 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10652 version if bit_Fast_Unaligned_Load is set.
10653 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10654 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10655 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10656 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10657 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10658 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10660 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10661 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10662 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10663 to 4.
10664 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10665 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10666 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10667 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10668
10669 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10670
10671 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10672 instead of #if to avoid a Wundef warning.
10673 * stdlib/tst-limits.c (do_test): Likewise.
10674
10675 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10676 parallel other exception macros.
10677 (fegetenv): Convert from macro to extern inline so that it applies
10678 retroactively to inline functions already seen by the compiler.
10679 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10680
10681 * posix/Makefile (before-compile): Use $(objpfx) for
10682 posix-conf-vars-def.h.
10683
10684 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10685
10686 * posix/getconf.c (main): Use size_t for type of I.
10687 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10688 NSPEC.
10689
10690 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10691 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10692 * posix/posix-envs.def: Likewise.
10693 * sysdeps/posix/sysconf.c: Likewise.
10694 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10695 (specs): Remove array.
10696 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10697 array.
10698
10699 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10700 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10701 (__sysconf): Use CONF_IS_* macros.
10702
10703 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10704 ($(objpfx)posix-conf-vars-def.h): New target.
10705 * posix/posix-conf-vars.list: New file.
10706 * posix/posix-conf-vars.h: New file.
10707 * posix/confstr.c: Include posix-conf-vars.h.
10708 (confstr): Use CONF_IS_* macros.
10709 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10710 CONF_IS_* macros.
10711 * scripts/gen-posix-conf-vars.awk: New file.
10712
10713 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10714
10715 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10716 fegetround): Add no-op macros to avoid linknamespace issues.
10717
10718 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10719 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10720
10721 * sysdeps/unix/sysv/linux/tile/sysdep.h
10722 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10723 assembly-specific section to avoid a redefinition warning.
10724
10725 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10726 long before casting to pointer to avoid a cast warning.
10727
10728 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10729
10730 * sysdeps/tile/tilegx/Implies: New file.
10731
10732 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10733
10734 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10735
10736 2014-12-23 Florian Weimer <fweimer@redhat.com>
10737
10738 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10739
10740 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10741
10742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10743 not define.
10744 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10745 <kernel-features.h>.
10746 (__utimes) [__NR_utimes]: Make code unconditional.
10747 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10748 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10749 (__ASSUME_UTIMES): Do not undefine.
10750 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10751 (__ASSUME_UTIMES): Likewise.
10752 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10753 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10754 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10755 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10756
10757 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10758
10759 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10760
10761 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10762
10763 [BZ #17747]
10764 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10765 alias to weak alias for j0l, y0l.
10766 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10767 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10768
10769 [BZ #17746]
10770 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10771 conversion.
10772
10773 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10774
10775 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10776 to zero if not already defined.
10777
10778 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10779
10780 [BZ #17724]
10781 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10782 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10783 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10784 (char *) casts added.
10785 * sysdeps/ieee754/k_standardf.c: New file.
10786 * sysdeps/ieee754/k_standardl.c: Likewise.
10787 * math/Makefile (libm-support): Remove k_standard.
10788 (libm-calls): Add k_standard.
10789
10790 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10791
10792 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10793 Optimize to avoid an unnecessary FPCR read.
10794
10795 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10796
10797 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10798 Optimize to reduce FPCR/FPSR accesses.
10799
10800 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10801
10802 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10803 Call libc_fetestexcept_aarch64.
10804
10805 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10806
10807 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10808 Call libc_fesetround_aarch64.
10809
10810 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10811
10812 [BZ #17733]
10813 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10814 (__bind): Do not define as weak alias.
10815 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10816 define.
10817 (__getsockname): Do not define as weak alias.
10818
10819 2014-12-22 Will Newton <will.newton@linaro.org>
10820
10821 * manual/install.texi: Document that we require bison 2.7
10822 or above.
10823 * INSTALL: Regenerate.
10824 * configure.ac: Use AC_CHECK_PROG_VER instead of
10825 AC_PATH_PROG when checking for bison and check for
10826 version 2.7 or above.
10827 * configure: Regenerate.
10828
10829 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10830
10831 [BZ #17745]
10832 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10833 * sysdeps/tile/ffsll.c (ffsll): To here.
10834
10835 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10836
10837 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10838
10839 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10840 if not defined.
10841 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10842 definition.
10843 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10844 hidden ___tls_get_addr.
10845 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10846 hidden __tls_get_addr.
10847 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10848 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10849 Likewise.
10850
10851 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10852
10853 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10854 _dl_init call.
10855
10856 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10857
10858 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10859 from "call _dl_init@PLT".
10860 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10861
10862 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10863
10864 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10865 guarantees.
10866
10867 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10868
10869 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10870
10871 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10872
10873 [BZ #17744]
10874 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10875 strnlen.
10876
10877 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10878
10879 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10880 of multu on MIPSr6.
10881 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10882 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10883 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10884 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10885 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10886
10887 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10888
10889 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10890 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10891 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10892 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10893 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10894 mips32r6/mips64r6.
10895 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10896
10897 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10898
10899 * string/strncat.c (STRNCAT): Simplify implementation.
10900
10901 2014-12-19 David S. Miller <davem@davemloft.net>
10902
10903 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10904 access the quad as both a long double and as a series of 4 words.
10905
10906 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10907 link_map->l_info array access.
10908
10909 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10910
10911 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10912
10913 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10914 * math/atest-exp2.c (TIMEOUT): Likewise.
10915 * math/atest-sincos.c (TIMEOUT): Likewise.
10916
10917 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10918
10919 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10920 -Wno-error with -fno-builtin-lround.
10921
10922 2014-12-19 Torvald Riegel <triegel@redhat.com>
10923
10924 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10925 Contains futex constants and functions moved over from ...
10926 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10927 <lowlevellock-futex.h>.
10928 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10929 (lll_timedwait_tid): Add comments and parentheses around macro
10930 arguments.
10931
10932 2014-12-19 Torvald Riegel <triegel@redhat.com>
10933
10934 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10935 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10936 (__lll_private_flag): Remove.
10937 (lll_futex_wait): Likewise.
10938 (lll_futex_timed_wait): Likewise.
10939 (lll_futex_wake): Likewise.
10940 (lll_futex_requeue): Likewise.
10941 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10942 (__lll_timedwait_tid): Spell out argument names.
10943 (lll_timedwait_tid): Add comments and parentheses around macro
10944 arguments.
10945 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10946 LLL_SHARED and LLL_PRIVATE usable from assembly code.
10947
10948 2014-12-19 Torvald Riegel <triegel@redhat.com>
10949
10950 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10951 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10952 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10953 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10954 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10955 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10956 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10957 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10958 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10959 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10960 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10961 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10962 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10963 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10964 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10965 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10966 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10967 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10968 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10969
10970 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10971
10972 * sysdeps/x86_64/x32/Makefile: New file.
10973
10974 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10975
10976 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10977 1L with (mp_limb_t) 1.
10978
10979 2014-12-17 Roland McGrath <roland@hack.frob.com>
10980
10981 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10982 * nptl/libc_pthread_init.c: ... here.
10983 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10984 * nptl/register-atfork.c: ... here.
10985
10986 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10987 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10988 Use assert_perror to check its return value.
10989 (__gai_create_helper_thread): Likewise.
10990
10991 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10992
10993 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10994
10995 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10996
10997 [BZ #17725]
10998 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10999 __profil_counter.
11000 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11001 Likewise.
11002 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11003 Likewise.
11004 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11005 Likewise.
11006 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11007 (profil_counter): Likewise.
11008 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11009 (profil_counter): Likewise.
11010 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11011 Likewise.
11012 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11013 Likewise.
11014 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11015 (profil_counter): Likewise.
11016 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11017 Likewise.
11018 [!__profil_counter] (profil_counter): Define as weak alias of
11019 __profil_counter.
11020 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11021 (profil_counter): Rename to __profil_counter.
11022 [!__profil_counter] (profil_counter): Define as weak alias of
11023 __profil_counter.
11024 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11025 (profil_counter): Rename to __profil_counter.
11026 [!__profil_counter] (profil_counter): Define as weak alias of
11027 __profil_counter.
11028 * sysdeps/posix/profil.c: Update comment referring to
11029 profil_counter.
11030 (__profil): Use __profil_counter instead of profil_counter.
11031 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11032 __profil_counter. Use __profil_counter_ushort and
11033 __profil_counter_uint in definitions.
11034 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11035 instead of profil_counter_uint and profil_counter_ushort.
11036
11037 [BZ #17722]
11038 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11039 define as weak alias of __inet_makeaddr.
11040 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11041 as weak alias of __inet_addr.
11042 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11043 as weak alias of __inet_pton. Use libc_hidden_weak.
11044 * include/arpa/inet.h (__inet_pton): Declare. Use
11045 libc_hidden_proto.
11046 (inet_makeaddr): Don't use libc_hidden_proto.
11047 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11048 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11049 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11050 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11051 Remove variable.
11052 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11053 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11054
11055 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11056
11057 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11058
11059 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11060
11061 * stdio-common/bug-vfprintf-nargs.c (do_test):
11062 Cast value to intptr_t to avoid format warning
11063 for usage with PRIdPTR printing macro.
11064
11065 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11066
11067 * libio/tst-widetext.c (do_test):
11068 Use format type %td instead of %Zd for ptrdiff_t
11069 in order to avoid format warning.
11070
11071 2014-12-17 Andreas Schwab <schwab@suse.de>
11072
11073 * nscd/mem.c (gc): Add size_t cast to match printf format.
11074
11075 2014-12-16 Roland McGrath <roland@hack.frob.com>
11076
11077 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11078 (init): Apply PTR_MANGLE to pointers before storing them.
11079 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11080 before using them.
11081
11082 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11083
11084 [BZ #17719]
11085 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11086 define as weak alias of __memrchr.
11087 (__memrchr): Do not define as strong alias of memrchr.
11088 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11089 Remove variable.
11090 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11091 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11092 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11093
11094 [BZ #17717]
11095 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11096 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11097 (if_indextoname): Rename to __if_indextoname and define as weak
11098 alias of __if_indextoname. Use libc_hidden_weak.
11099 (if_freenameindex): Rename to __if_freenameindex and define as
11100 weak alias of __if_freenameindex.
11101 (if_nameindex): Rename to __if_nameindex and define as weak alias
11102 of __if_nameindex.
11103 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11104 __if_nametoindex and define as weak alias of __if_nametoindex.
11105 Use libc_hidden_weak.
11106 (if_freenameindex): Rename to __if_freenameindex and define as
11107 weak alias of __if_freenameindex.
11108 (if_nameindex): Rename to __if_nameindex and define as weak alias
11109 of __if_nameindex.
11110 (if_indextoname): Rename to __if_indextoname and define as weak
11111 alias of __if_indextoname. Use libc_hidden_weak.
11112 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11113 __if_nametoindex and define as weak alias of __if_nametoindex.
11114 Use libc_hidden_weak.
11115 (if_freenameindex): Rename to __if_freenameindex and define as
11116 weak alias of __if_freenameindex. Use libc_hidden_weak.
11117 (if_nameindex_netlink): Use __if_freenameindex instead of
11118 if_freenameindex.
11119 (if_nameindex): Rename to __if_nameindex and define as weak alias
11120 of __if_nameindex. Use libc_hidden_weak.
11121 (if_indextoname): Rename to __if_indextoname and define as weak
11122 alias of __if_indextoname. Use libc_hidden_weak.
11123 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11124 libc_hidden_proto.
11125 [!_ISOMAC] (__if_freenameindex): Likewise.
11126 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11127 if_nametoindex.
11128 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11129 variable.
11130 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11131 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11132 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11133 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11134 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11135 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11136 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11137
11138 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11139 Remove variable.
11140 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11141 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11142
11143 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11144
11145 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11146 subscript above bounds'
11147
11148 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11149 bounds.
11150
11151 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11152
11153 * libio/tst-fopenloc.c: Use test-skeleton.c.
11154
11155 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11156 (entry): Rename to ITEM.
11157 (do_test, comp): Adjust.
11158
11159 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11160
11161 2014-12-16 Torvald Riegel <triegel@redhat.com>
11162
11163 * string/tester.c: Include <libc-internal.h>.
11164 (test_memset): Ignore -Wmemset-transposed-args.
11165
11166 2014-12-16 Torvald Riegel <triegel@redhat.com>
11167
11168 * misc/tst-mntent2.c (do_test): Fix warning.
11169
11170 2014-12-16 Torvald Riegel <triegel@redhat.com>
11171
11172 * elf/tst-unique4lib.cc(a): Mark as used.
11173
11174 2014-12-16 Florian Weimer <fweimer@redhat.com>
11175
11176 [BZ #17630]
11177 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11178 names.
11179
11180 2014-12-16 Allan McRae <allan@archlinux.org>
11181
11182 * stdio-common/Makefile (tests): Re-add bug26.
11183
11184 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11185
11186 [BZ #17657]
11187 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11188 static array.
11189
11190 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11191
11192 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11193 (__lll_lock_wait): Likewise.
11194 (__lll_timedlock_wait): Likewise.
11195 (__lll_timedwait_tid): Likewise.
11196 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11197 (__lll_robust_timedlock_wait): Likewise.
11198 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11199 (lll_cond_trylock): Likewise.
11200 (__lll_lock): Likewise.
11201 (__lll_robust_lock): Likewise.
11202 (__lll_cond_lock): Likewise.
11203 (lll_robust_cond_lock): Likewise.
11204 (__lll_timedlock): Likewise.
11205 (__lll_robust_timedlock): Likewise.
11206 (__lll_unlock): Likewise.
11207 (__lll_robust_unlock): Likewise.
11208 (lll_wait_tid): Likewise.
11209 (lll_timedwait_tid): Likewise.
11210
11211 2014-12-15 Torvald Riegel <triegel@redhat.com>
11212
11213 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11214
11215 2014-12-15 Torvald Riegel <triegel@redhat.com>
11216
11217 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11218
11219 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11220
11221 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11222 * stdio-common/tst-sprintf.c: Likewise.
11223
11224 2014-12-15 Torvald Riegel <triegel@redhat.com>
11225
11226 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11227
11228 2014-12-15 Jeff Law <law@redhat.com>
11229
11230 [BZ #16617]
11231 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11232 on the heap. (CVE-2012-3406)
11233 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11234 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11235 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11236
11237 2014-12-15 Will Newton <will.newton@linaro.org>
11238
11239 * manual/install.texi: Bump required version of texinfo
11240 to 4.7 from 4.5.
11241 * INSTALL: Regenerated.
11242 * configure.ac: Check for makeinfo version 4.7 and above.
11243 * configure: Regenerated.
11244
11245 2014-12-12 Roland McGrath <roland@hack.frob.com>
11246
11247 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11248 PREFIX, string constant to insert between directory and name.
11249 * sysdeps/posix/shm_open.c: Update caller.
11250 * sysdeps/posix/shm_unlink.c: Likewise.
11251 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11252 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11253 (SEM_SHM_PREFIX): New macro.
11254 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11255 [$(have-thread-library) = no].
11256 * nptl/Makefile (libpthread-routines): Add shm-directory.
11257 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11258 * sysdeps/nptl/shm-directory.h: New file.
11259 * sysdeps/posix/shm-directory.c
11260 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11261 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11262 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11263 INTERNAL_SYSCALL.
11264 (__where_is_shmfs): Function removed.
11265 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11266 Variables removed.
11267 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11268 Use SHM_GET_NAME.
11269 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11270
11271 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11272 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11273 unconditional for use inside libpthread.
11274 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11275
11276 2014-12-12 Roland McGrath <roland@hack.frob.com>
11277
11278 * nptl/pthread_getaffinity.c: New file.
11279 * nptl/pthread_setaffinity.c: New file.
11280 * nptl/pthread_getname.c: New file.
11281 * nptl/pthread_setname.c: New file.
11282
11283 * nptl/pthread_create.c (START_THREAD_DEFN)
11284 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11285
11286 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11287 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11288
11289 * resolv/res_send.c (send_vc): Disable warning resplen may
11290 be used uninitialized.
11291
11292 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11293
11294 * nptl/tst-mutex6.c
11295 (ATTR_NULL): New define checks ATTR against NULL.
11296 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11297 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11298
11299 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11300
11301 [BZ #17581]
11302 * malloc/hooks.c
11303 (mem2mem_check): Revert my previous change.
11304 (malloc_check_get_size): Revert my previous change.
11305 (mem2chunk_check): Revert my previous change.
11306
11307 2014-12-11 Roland McGrath <roland@hack.frob.com>
11308
11309 * sysdeps/posix/shm-directory.c: New file.
11310 * sysdeps/posix/shm-directory.h: New file.
11311 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11312 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11313 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11314 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11315 Transmute EPERM to EACCES.
11316 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11317 from ...
11318 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11319 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11320
11321 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11322
11323 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11324 pointer and cast to uintptr_t.
11325 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11326 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11327 Add cast to avoid warning.
11328 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11329
11330 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11331
11332 * nptl/semaphore.h: Move to ...
11333 * sysdeps/pthread/semaphore.h: ... here.
11334 * Makefile (installed-headers): Change nptl/semaphore.h to
11335 sysdeps/pthread/semaphore.h.
11336
11337 2014-12-11 Roland McGrath <roland@hack.frob.com>
11338
11339 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11340 generated error format strings.
11341
11342 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11343 -Wformat-extra-args warnings for scanf formats.
11344 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11345 test of zero-length format (duh).
11346 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11347 corner-case scanf format test.
11348 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11349 generated fprintf format string.
11350 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11351 corner-case sprintf format tests.
11352 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11353 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11354 -Wformat-extra-args warnings throughout.
11355 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11356 (CFLAGS-scanf4.c): Likewise.
11357 (CFLAGS-scanf7.c): Likewise.
11358 (CFLAGS-tst-sprintf.c): Likewise.
11359 (CFLAGS-tst-printf.c): Likewise.
11360 (CFLAGS-tst-printfsz.c): Likewise.
11361
11362 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11363
11364 * include/cpio.h: New file.
11365 * include/fmtmsg.h: Likewise.
11366
11367 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11368 corresponding format argument to size_t.
11369 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11370 arguments.
11371 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11372 corresponding format argument to size_t.
11373 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11374 arguments.
11375 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11376 corresponding format argument to size_t.
11377 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11378 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11379 (CFLAGS-tst-mbswcs2.c): Likewise.
11380 (CFLAGS-tst-mbswcs3.c): Likewise.
11381 (CFLAGS-tst-mbswcs4.c): Likewise.
11382 (CFLAGS-tst-mbswcs5.c): Likewise.
11383 (CFLAGS-tst-trans.c): Likewise
11384
11385 2014-12-11 Roland McGrath <roland@hack.frob.com>
11386
11387 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11388 rather than assuming they won't contain any '%'s.
11389
11390 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11391
11392 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11393 inhibit_loop_to_libcall to avoid recursive calls.
11394 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11395 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11396
11397 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11398
11399 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11400 prototype.
11401
11402 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11403
11404 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11405 integer value instead of boolean.
11406
11407 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11408
11409 * malloc/malloc.c: Fix powerof2 check.
11410
11411 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11412
11413 * locale/programs/locfile.h (maybe_swap_uint32):
11414 Remove inline and add unused attribute.
11415
11416 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11417
11418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11419 Truncating assembler expression to a .long expression.
11420
11421 2014-12-11 Andreas Schwab <schwab@suse.de>
11422
11423 * elf/rtld.c (struct map_args): Constify str member.
11424 (do_preload): Constify fname argument.
11425
11426 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11427
11428 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11429 constants definition.
11430
11431 2014-12-11 Andreas Schwab <schwab@suse.de>
11432
11433 [BZ #16657]
11434 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11435 FORCE_ELISION instead of DO_ELISION.
11436 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11437 Remove.
11438 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11439 Likewise.
11440
11441 * iconvdata/gconv-modules: Remove duplicate entry.
11442
11443 2014-12-11 Will Newton <will.newton@linaro.org>
11444
11445 Merge gettext 0.19.3 into intl/.
11446
11447 This involves a number of cosmetic changes to comments
11448 and ANSI function definitions and prototypes throughout
11449 all the files. The gettext copyright header is used but
11450 with the date ranges taken from the glibc copy.
11451
11452 * NEWS: Add gettext merge to 2.21.
11453 * intl/bindtextdom.c: Switch to gettext copyright.
11454 Use ANSI definitions and prototypes.
11455 Use gl_* locking primitives rather than __libc_* ones.
11456 Use __builtin_expect rather than __glibc_likely/unlikely.
11457 * intl/dcgettext.c: Switch to gettext copyright.
11458 Use ANSI definitions and prototypes.
11459 * intl/dcigettext.c: Switch to gettext copyright.
11460 Use ANSI definitions and prototypes.
11461 (INTDIV0_RAISES_SIGFPE): New define.
11462 Use gl_* locking primitives rather than __libc_* ones.
11463 Include eval-plural.h instead of plural-eval.c.
11464 Use __builtin_expect rather than __glibc_likely/unlikely.
11465 * intl/dcngettext.c: Switch to gettext copyright.
11466 Use ANSI definitions and prototypes.
11467 * intl/dgettext.c: Likewise.
11468 * intl/dngettext.c: Likewise.
11469 * intl/plural-eval.c: Renamed to...
11470 * intl/eval-plural.h: ...this.
11471 * intl/explodename.c: Switch to gettext copyright.
11472 Use ANSI definitions and prototypes.
11473 (_nl_explode_name): Use strchr instead of __rawmemchr.
11474 * intl/finddomain.c: Switch to gettext copyright.
11475 Use ANSI definitions and prototypes.
11476 Use gl_* locking primitives rather than __libc_* ones.
11477 (_nl_find_domain): Use malloc rather than alloca for
11478 allocation of temporary locale name.
11479 * intl/gettext.c: Switch to gettext copyright.
11480 Use ANSI definitions and prototypes.
11481 * intl/gettextP.h: Switch to gettext copyright.
11482 Use ANSI definitions and prototypes.
11483 Use gl_* locking primitives rather than __libc_* ones.
11484 * intl/gmo.h: Switch to gettext copyright.
11485 (struct sysdep_string): Move struct segment_pair outside of
11486 struct definition.
11487 * intl/hash-string.c: Use ANSI definitions and prototypes.
11488 * intl/hash-string.h: Switch to gettext copyright.
11489 Use ANSI definitions and prototypes.
11490 * intl/l10nflist.c: Switch to gettext copyright.
11491 Use ANSI definitions and prototypes.
11492 (_nl_normalize_codeset): Avoid integer overflow.
11493 * intl/loadinfo.h: Switch to gettext copyright.
11494 Use ANSI definitions and prototypes.
11495 (LIBINTL_DLL_EXPORTED): New define.
11496 (PATH_SEPARATOR): New define.
11497 * intl/loadmsgcat.c: Switch to gettext copyright.
11498 * intl/localealias.c: Switch to gettext copyright.
11499 Use ANSI definitions and prototypes.
11500 (_nl_expand_alias): Use PATH_SEPARATOR.
11501 * intl/ngettext.c: Switch to gettext copyright.
11502 Use ANSI definitions and prototypes.
11503 * intl/plural-exp.c: Likewise.
11504 * intl/plural-exp.h: Switch to gettext copyright.
11505 Use ANSI definitions and prototypes.
11506 (struct expression): Move definition of enum operator outside
11507 of struct definition.
11508 * intl/plural.c: Regenerate.
11509 * intl/plural.y: Switch to gettext copyright.
11510 Use ANSI definitions and prototypes.
11511 Port to bison 3.0.
11512 * intl/textdomain.c: Switch to gettext copyright.
11513 Use ANSI definitions and prototypes.
11514 Use gl_* locking primitives rather than __libc_* ones.
11515
11516 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11517
11518 * debug/warning-nop.c: Add used atrribute.
11519
11520 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11521
11522 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11523
11524 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11525 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11526 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11527
11528 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11529 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11530
11531 [BZ #17634]
11532 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11533 Undefine after defining function. Define as weak alias of
11534 __wcschr. Use libc_hidden_weak.
11535 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11536 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11537 (libc_hidden_def): Also define __GI___wcschr alias.
11538 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11539 __wcschr and define as weak alias of __wcschr.
11540 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11541 __wcschr.
11542 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11543 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11544 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11545 libc_hidden_weak. Do not use libc_hidden_def.
11546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11547 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11548 __GI___wcschr alias.
11549 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11550 [IS_IN (libc)] (wcschr): Define as macro expanding to
11551 __redirect_wcschr.
11552 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11553 [IS_IN (libc)] (__wcschr_power6): Likewise.
11554 [IS_IN (libc)] (__wcschr_power7): Likewise.
11555 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11556 instead of wcschr.
11557 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11558 __libc_wcschr.
11559 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11560 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11561 __wcschr and define as weak alias of __wcschr. Use
11562 libc_hidden_builtin_def.
11563 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11564 as weak alias of __wcschr. Use libc_hidden_weak.
11565 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11566 wcschr.
11567 * time/era.c (_nl_init_era_entries): Likewise.
11568 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11569 variable.
11570 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11571 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11572
11573 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11574
11575 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11576 format for long int variable.
11577
11578 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11579
11580 [BZ #10672]
11581 * manual/search.texi: (Array Sort Function): Remove claim how to make
11582 qsort stable.
11583
11584 2014-12-10 Andreas Schwab <schwab@suse.de>
11585
11586 [BZ #12847]
11587 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11588 user-controlled locks.
11589
11590 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11591
11592 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11593 register.
11594
11595 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11596
11597 * configure.ac (--disable-werror): New configure option.
11598 (enable_werror): New AC_SUBST.
11599 * configure: Regenerated.
11600 * config.make.in (enable-werror): New variable.
11601 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11602 -Wno-error=undef.
11603 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11604 * manual/install.texi (Configuring and compiling): Document
11605 --disable-werror.
11606 * INSTALL: Regenerated.
11607 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11608 (CFLAGS-tst-chk2.c): Likewise.
11609 (CFLAGS-tst-chk3.c): Likewise.
11610 (CFLAGS-tst-chk4.cc): Likewise.
11611 (CFLAGS-tst-chk5.cc): Likewise.
11612 (CFLAGS-tst-chk6.cc): Likewise.
11613 (CFLAGS-tst-lfschk1.c): Likewise.
11614 (CFLAGS-tst-lfschk2.c): Likewise.
11615 (CFLAGS-tst-lfschk3.c): Likewise.
11616 (CFLAGS-tst-lfschk4.cc): Likewise.
11617 (CFLAGS-tst-lfschk5.cc): Likewise.
11618 (CFLAGS-tst-lfschk6.cc): Likewise.
11619
11620 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11621 (main): Disable -Wdeprecated-declarations around calls to
11622 register_printf_function.
11623
11624 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11625 (do_test): Disable -Wdiv-by-zero around some calls to
11626 fwrite_unlocked and fread_unlocked.
11627
11628 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11629 (DIAG_POP_NEEDS_COMMENT): Likewise.
11630 (_DIAG_STR1): Likewise.
11631 (_DIAG_STR): Likewise.
11632 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11633 * stdio-common/bug21.c: Include <libc-internal.h>.
11634 (do_test): Disable -Wformat around call to sscanf.
11635 * stdio-common/scanf14.c: Include <libc-internal.h>.
11636 (main): Disable -Wformat around some calls to scanf functions.
11637
11638 2014-12-09 Torvald Riegel <triegel@redhat.com>
11639
11640 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11641
11642 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11643
11644 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11645 stack variable alignment.
11646
11647 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11648
11649 [BZ #17682]
11650 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11651 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11652 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11653 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11654 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11655 __getrlimit instead of getrlimit.
11656 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11657 __gettimeofday instead of gettimeofday.
11658 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11659 Likewise.
11660 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11661 Likewise.
11662 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11663 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11664 Remove variable.
11665 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11666 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11667
11668 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11669
11670 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11671 for wide-character tests.
11672
11673 2014-12-04 Roland McGrath <roland@hack.frob.com>
11674
11675 * io/openat64.c: #include <libc-internal.h>
11676 (__openat64): Prototypify. Use ignore_value on MODE.
11677 * io/openat.c: Likewise.
11678 * misc/reboot.c: #include <libc-internal.h>
11679 (reboot): Prototypify. Use ignore_value on HOWTO.
11680 * misc/ptrace.c: #include <libc-internal.h>
11681 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11682
11683 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11684
11685 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11686 XPG4, UNIX98 and XOPEN2K.
11687 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11688 Remove variable.
11689 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11690
11691 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11692
11693 * libio/fileops.c: Use ISO C style for function definitions.
11694 * libio/iofopen.c: Likewise.
11695 * libio/wfileops.c: Likewise.
11696
11697 [BZ #17653]
11698 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11699 offset on EOF.
11700 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11701 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11702 (fgets_func): Function pointer to fgets and fgetws.
11703 (do_ftell_test): Add test to verify ftell value after read
11704 EOF.
11705 (do_test): Set fgets_func.
11706
11707 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11708 O_TRUNC flag for w and w+ modes.
11709 (do_rewind_test): Likewise.
11710 (do_ftell_test): Likewise.
11711 (do_write_test): Likewise.
11712
11713 [BZ #17647]
11714 * libio/fileops.c (do_ftell): Seek only when there are
11715 unflushed writes.
11716 * libio/wfileops.c (do_ftell_wide): Likewise.
11717 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11718 test case.
11719 (do_one_test): Call it.
11720
11721 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11722
11723 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11724 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11725 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11726 Remove variable.
11727 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11728 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11729 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11730
11731 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11732
11733 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11734 Remove variable.
11735 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11736
11737 [BZ #17668]
11738 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11739 as weak alias of __getifaddrs. Use libc_hidden_weak.
11740 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11741 __freeifaddrs. Use libc_hidden_weak.
11742 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11743 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11744 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11745 __freeifaddrs. Use libc_hidden_weak.
11746 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11747 __getifaddrs and define as weak alias of __getifaddrs. Use
11748 libc_hidden_weak.
11749 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11750 __freeifaddrs. Use libc_hidden_weak.
11751 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11752 Remove variable.
11753 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11754 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11755
11756 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11757
11758 [BZ #17601]
11759 * sysdeps/mips/start.S (__start): Use indirect jump to call
11760 __libc_start_main.
11761
11762 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11763
11764 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11765
11766 * nptl/tst-mutex1.c: Include <stdbool.h>.
11767 [!ATTR] (ATTR_NULL): New macro.
11768 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11769 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11770 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11771
11772 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11773 to char *.
11774
11775 [BZ #17665]
11776 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11777 Change conditional to [__USE_MISC].
11778
11779 [BZ #17664]
11780 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11781 fgets_unlocked.
11782 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11783 __fgets_unlocked.
11784 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11785 fgets_unlocked.
11786 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11787 Remove variable.
11788 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11789 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11790 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11791 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11792 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11793 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11794 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11795 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11796 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11797
11798 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11799
11800 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11801
11802 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11803 Remove strpbrk objects.
11804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11805 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11806 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11807 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11808 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11809 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11810
11811 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11812 Remove strcspn objects.
11813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11814 (__libc_ifunc_impl_list): Remove strcspn implementation.
11815 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11816 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11817 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11818 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11819
11820 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11821 Remove strspn objetcs.
11822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11823 (__libc_ifunc_impl_list): Remove strspn implementation.
11824 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11825 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11826 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11827 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11828
11829 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11830
11831 [BZ #17581]
11832 * malloc/hooks.c
11833 (mem2mem_check): Add a terminator to the chain of checking blocks.
11834 (malloc_check_get_size): Use it here.
11835 (mem2chunk_check): Ditto.
11836
11837 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11838
11839 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11840 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11841
11842 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11843
11844 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11845
11846 * nptl/nptl-init.c: Include libc-internal.h.
11847 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11848
11849 * elf/ldconfig.c (search_dir): Expand comment.
11850
11851 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11852
11853 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11854 variable.
11855 (linknamespace-symlist-stdlibs-tests): Likewise.
11856 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11857 instead of $(objpfx)symlist-stdlibs.
11858 (linknamespace-libs-isoc): New variable.
11859 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11860 (linknamespace-libs-ISO): New variable.
11861 (linknamespace-libs-ISO99): Likewise.
11862 (linknamespace-libs-ISO11): Likewise.
11863 (linknamespace-libs-XPG3): Likewise.
11864 (linknamespace-libs-XPG4): Likewise.
11865 (linknamespace-libs-POSIX): Likewise.
11866 (linknamespace-libs-UNIX98): Likewise.
11867 (linknamespace-libs-XOPEN2K): Likewise.
11868 (linknamespace-libs-POSIX2008): Likewise.
11869 (linknamespace-libs-XOPEN2K8): Likewise.
11870 ($(objpfx)symlist-stdlibs): Replace by
11871 $(linknamespace-symlist-stdlibs-tests). Use
11872 $(linknamespace-libs-$*) as set of libraries.
11873 ($(linknamespace-header-tests)): Update dependencies. Use
11874 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11875 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11876 * conform/linknamespace.pl: Remove comment about considering
11877 definitions of symbols from irrelevant libraries.
11878
11879 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11880
11881 [BZ #13862]
11882 * elf/dl-tls.c: Include <atomic.h>.
11883 (oom): Remove #ifdef SHARED/#endif.
11884 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11885 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11886 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11887 big enough.
11888 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11889 * nptl/Makefile (tests): Add tst-stack4.
11890 (modules-names): Add tst-stack4mod.
11891 ($(objpfx)tst-stack4): New.
11892 (tst-stack4mod.sos): Likewise.
11893 ($(objpfx)tst-stack4.out): Likewise.
11894 ($(tst-stack4mod.sos)): Likewise.
11895 (clean): Likewise.
11896 * nptl/tst-stack4.c: New file.
11897 * nptl/tst-stack4mod.c: Likewise.
11898
11899 2014-11-27 J. Brown <jb999@gmx.de>
11900
11901 * sysdeps/x86/bits/string.h: Add recent CPUs.
11902
11903 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11904
11905 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11906 sigblock.
11907
11908 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11909 feof.
11910
11911 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11912 variable.
11913
11914 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11915
11916 * nscd/connections.c: Include libc-internal.h because of macro
11917 usage ignore_value.
11918
11919 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11920
11921 * string/bits/string3.h (__warn_memset_zero_len): Don't
11922 declare for gcc newer than 5.0.
11923 (memset): Don't test for zero-length __LEN for gcc newer than
11924 5.0.
11925
11926 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11927
11928 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11929 size_t for %zu format.
11930
11931 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11932 difference, not %ju.
11933
11934 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11935
11936 * include/libc-internal.h (ignore_value): New macro.
11937 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11938 with ignore_value.
11939
11940 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11941 definition.
11942
11943 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11944 pthread_cleanup_push to void *.
11945
11946 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11947 Undefine.
11948
11949 [BZ #16619]
11950 [BZ #16740]
11951 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11952 instead of 1L << 52.
11953
11954 * libio/bug-rewind.c (do_test): Check fwscanf return values.
11955 * libio/bug-rewind2.c (do_test): Likewise.
11956
11957 * debug/test-stpcpy_chk-ifunc.c: Remove file.
11958 * debug/test-strcpy_chk-ifunc.c: Likewise.
11959 * wcsmbs/test-wcschr-ifunc.c: Likewise.
11960 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11961 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11962 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11963 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11964 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11965 * Rules [$(multi-arch) = no] (tests): Do not filter out
11966 $(tests-ifunc).
11967 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11968 * debug/Makefile (tests-ifunc): Remove variable.
11969 (tests): Do not add $(tests-ifunc).
11970 * wcsmbs/Makefile (tests-ifunc): Remove variable.
11971 (tests): Do not add $(tests-ifunc).
11972 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11973 [TEST_IFUNC]: Remove conditionals.
11974 * string/test-string.h (TEST_IFUNC): Remove macro.
11975 [TEST_IFUNC]: Remove conditionals.
11976
11977 * string/test-strchr.c [!WIDE] (L): New macro.
11978 [WIDE] (L): Likewise.
11979 (check1): Use CHAR instead of char. Use L on string and character
11980 constants.
11981
11982 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11983
11984 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11985 tests.
11986 * sysdeps/powerpc/bits/atomic.h
11987 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11988 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11989 (atomic_exchange_and_add_acq): Likewise.
11990 (atomic_exchange_and_add_rel): Likewise.
11991 * sysdeps/powerpc/powerpc32/bits/atomic.h
11992 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11993 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11994 * sysdeps/powerpc/powerpc64/bits/atomic.h
11995 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11996 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11997
11998 2014-11-26 Torvald Riegel <triegel@redhat.com>
11999
12000 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12001 Change synchronization of __sched_fifo_min_prio and
12002 __sched_fifo_max_prio.
12003 * nptl/pthread_mutexattr_getprioceiling.c
12004 (pthread_mutexattr_getprioceiling): Likewise.
12005 * nptl/pthread_mutexattr_setprioceiling.c
12006 (pthread_mutexattr_setprioceiling): Likewise.
12007 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12008 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12009 Likewise.
12010
12011 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12012
12013 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12014 void.
12015
12016 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12017
12018 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12019 third argument const.
12020
12021 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12022
12023 fnmatch: work around GCC compiler warning bug with uninit var
12024 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12025 This works around a bug with x86-64 GCC 4.9.2 and earlier
12026 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12027 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12028 used uninitialized in this function [-Wmaybe-uninitialized]".
12029
12030 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12031
12032 * posix/bug-regex31.c (main): Return RES not 0.
12033
12034 2014-11-25 Anton Blanchard <anton@samba.org>
12035
12036 * sysdeps/powerpc/bits/atomic.h
12037 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12038
12039 2014-11-24 Sterling Augustine <saugustine@google.com>
12040
12041 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12042
12043 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12044
12045 [BZ #17608]
12046 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12047
12048 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12049
12050 [BZ #17633]
12051 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12052 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12053 variable.
12054 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12055 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12056
12057 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12058
12059 * string/strncpy.c (strncpy): Improve performance by using memset.
12060
12061 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12062
12063 * string/strcpy.c (strcpy):
12064 Improve performance by using strlen and memcpy.
12065
12066 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12067
12068 * string/strcoll_l.c (get_next_seq): __always_inline.
12069 * string/strcoll_l.c (do_compare): __always_inline.
12070
12071 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12072
12073 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12074 defined.
12075 * include/mqueue.h: Likewise.
12076 * include/stdlib.h: Likewise.
12077
12078 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12079 (get_null_defines): Adjust.
12080 * sunrpc/Makefile: Adjust comment.
12081 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12082 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12083 (CFLAGS-interp.c): Likewise.
12084 (CFLAGS-ldconfig.c): Likewise.
12085 (CPPFLAGS-.os): Likewise.
12086 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12087 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12088 * extra-modules.mk (extra-modules.mk): Likewise.
12089 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12090 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12091 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12092 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12093 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12094 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12095 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12096 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12097 * iconvdata/Makefile (CPPFLAGS): Likewise.
12098 (cpp-srcs-left): Add libof for all iconvdata routines.
12099 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12100 * include/assert.h: Likewise.
12101 * include/ctype.h: Likewise.
12102 * include/errno.h: Likewise.
12103 * include/libc-symbols.h: Likewise.
12104 * include/math.h: Likewise.
12105 * include/netdb.h: Likewise.
12106 * include/resolv.h: Likewise.
12107 * include/stdio.h: Likewise.
12108 * include/stdlib.h: Likewise.
12109 * include/string.h: Likewise.
12110 * include/sys/stat.h: Likewise.
12111 * include/wctype.h: Likewise.
12112 * intl/l10nflist.c: Likewise.
12113 * libidn/idn-stub.c: Likewise.
12114 * libio/libioP.h: Likewise.
12115 * nptl/libc_multiple_threads.c: Likewise.
12116 * nptl/pthreadP.h: Likewise.
12117 * posix/regex_internal.h: Likewise.
12118 * resolv/res_hconf.c: Likewise.
12119 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12120 * sysdeps/arm/memmove.S: Likewise.
12121 * sysdeps/arm/sysdep.h: Likewise.
12122 * sysdeps/generic/_itoa.h: Likewise.
12123 * sysdeps/generic/symbol-hacks.h: Likewise.
12124 * sysdeps/gnu/errlist.awk: Likewise.
12125 * sysdeps/gnu/errlist.c: Likewise.
12126 * sysdeps/i386/i586/memcpy.S: Likewise.
12127 * sysdeps/i386/i586/memset.S: Likewise.
12128 * sysdeps/i386/i686/memcpy.S: Likewise.
12129 * sysdeps/i386/i686/memmove.S: Likewise.
12130 * sysdeps/i386/i686/mempcpy.S: Likewise.
12131 * sysdeps/i386/i686/memset.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12133 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12134 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12135 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12136 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12137 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12138 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12139 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12140 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12142 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12143 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12144 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12145 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12146 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12147 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12148 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12149 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12150 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12151 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12152 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12153 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12154 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12155 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12156 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12158 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12159 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12160 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12161 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12162 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12163 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12165 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12166 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12168 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12169 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12170 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12171 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12172 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12173 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12175 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12176 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12177 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12178 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12179 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12180 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12181 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12182 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12183 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12184 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12185 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12186 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12187 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12188 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12189 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12190 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12191 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12192 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12193 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12194 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12195 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12196 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12197 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12198 * sysdeps/posix/closedir.c: Likewise.
12199 * sysdeps/posix/opendir.c: Likewise.
12200 * sysdeps/posix/readdir.c: Likewise.
12201 * sysdeps/posix/rewinddir.c: Likewise.
12202 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12203 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12204 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12205 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12206 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12207 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12208 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12209 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12210 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12212 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12214 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12215 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12217 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12219 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12221 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12223 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12227 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12230 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12238 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12239 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12240 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12241 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12242 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12243 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12244 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12246 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12247 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12248 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12249 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12250 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12251 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12252 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12253 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12254 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12255 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12256 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12259 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12260 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12261 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12262 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12263 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12264 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12265 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12266 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12267 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12268 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12269 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12270 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12271 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12272 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12273 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12274 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12275 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12276 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12277 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12278 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12279 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12280 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12281 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12282 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12283 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12284 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12285 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12286 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12287 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12288 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12289 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12290 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12291 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12292 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12293 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12294 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12297 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12298 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12300 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12301 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12302 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12303 * sysdeps/unix/alpha/sysdep.S: Likewise.
12304 * sysdeps/unix/alpha/sysdep.h: Likewise.
12305 * sysdeps/unix/make-syscalls.sh: Likewise.
12306 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12308 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12309 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12310 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12311 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12312 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12313 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12314 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12315 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12316 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12317 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12318 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12319 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12320 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12321 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12322 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12323 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12324 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12325 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12326 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12327 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12328 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12329 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12330 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12331 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12332 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12335 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12336 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12337 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12340 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12342 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12343 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12344 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12345 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12346 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12347 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12348 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12349 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12350 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12356 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12357 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12358 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12359 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12360 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12361 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12364 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12365 * sysdeps/x86_64/memcpy.S: Likewise.
12366 * sysdeps/x86_64/memmove.c: Likewise.
12367 * sysdeps/x86_64/memset.S: Likewise.
12368 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12369 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12370 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12371 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12372 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12373 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12374 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12375 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12376 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12377 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12378 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12379 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12380 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12381 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12382 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12383 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12384 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12385 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12386 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12387 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12388 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12389 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12392 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12393 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12394 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12395 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12396 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12397 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12398 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12399 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12400 * sysdeps/x86_64/strcmp.S: Likewise.
12401
12402 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12403
12404 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12405 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12406 * elf/rtld-Rules: Likewise.
12407 * elf/setup-vdso.h: Likewise.
12408 * include/assert.h: Likewise.
12409 * include/bits/stdlib-float.h: Likewise.
12410 * include/errno.h: Likewise.
12411 * include/sys/stat.h: Likewise.
12412 * include/unistd.h: Likewise.
12413 * sysdeps/aarch64/setjmp.S: Likewise.
12414 * sysdeps/alpha/setjmp.S: Likewise.
12415 * sysdeps/arm/__longjmp.S: Likewise.
12416 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12417 * sysdeps/arm/setjmp.S: Likewise.
12418 * sysdeps/arm/sysdep.h: Likewise.
12419 * sysdeps/generic/_itoa.h: Likewise.
12420 * sysdeps/generic/dl-sysdep.h: Likewise.
12421 * sysdeps/generic/ldsodefs.h: Likewise.
12422 * sysdeps/i386/dl-tls.h: Likewise.
12423 * sysdeps/i386/setjmp.S: Likewise.
12424 * sysdeps/m68k/setjmp.c: Likewise.
12425 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12426 * sysdeps/mach/hurd/opendir.c: Likewise.
12427 * sysdeps/posix/getcwd.c: Likewise.
12428 * sysdeps/posix/opendir.c: Likewise.
12429 * sysdeps/posix/profil.c: Likewise.
12430 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12431 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12433 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12434 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12435 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12436 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12437 * sysdeps/s390/dl-tls.h: Likewise.
12438 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12439 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12440 * sysdeps/sh/sh3/setjmp.S: Likewise.
12441 * sysdeps/sh/sh4/setjmp.S: Likewise.
12442 * sysdeps/unix/alpha/sysdep.h: Likewise.
12443 * sysdeps/unix/arm/sysdep.S: Likewise.
12444 * sysdeps/unix/i386/sysdep.S: Likewise.
12445 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12446 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12447 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12448 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12449 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12450 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12451 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12452 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12453 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12454 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12455 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12456 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12457 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12460 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12463 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12464 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12465 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12468 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12469 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12472 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12473 * sysdeps/x86_64/setjmp.S: Likewise.
12474
12475 * include/math.h: Use IS_IN instead of IS_IN_libm.
12476 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12488 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12496 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12497 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12498 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12499 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12500 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12501 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12503 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12504 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12505 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12506 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12507 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12508 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12510 Likewise.
12511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12512 Likewise.
12513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12514 Likewise.
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12516 Likewise.
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12518 Likewise.
12519 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12520 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12521 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12522 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12523 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12524 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12530 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12531 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12532 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12533 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12534 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12535 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12536 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12537 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12538 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12539 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12540 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12541 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12542 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12543 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12545 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12546
12547 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12548 * nptl/pthreadP.h: Likewise.
12549 * nptl_db/structs.def: Likewise.
12550 * sysdeps/arm/sysdep.h: Likewise.
12551 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12552 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12553 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12554 * sysdeps/unix/alpha/sysdep.h: Likewise.
12555 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12557 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12558 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12559 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12560 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12561 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12562 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12563 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12564 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12565 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12566 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12567 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12568 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12571 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12572 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12573 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12574 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12576 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12577 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12578 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12579 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12580 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12581
12582 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12583 * nptl/pthreadP.h: Likewise.
12584 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12585 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12586 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12587 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12588 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12589 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12590 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12591 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12592 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12593 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12594 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12595 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12597 Likewise.
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12599 Likewise.
12600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12602 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12605 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12606 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12607 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12608
12609 * dlfcn/dladdr.c: Use IS_IN.
12610 * dlfcn/dladdr1.c: Likewise.
12611 * dlfcn/dlclose.c: Likewise.
12612 * dlfcn/dlerror.c: Likewise.
12613 * dlfcn/dlinfo.c: Likewise.
12614 * dlfcn/dlmopen.c: Likewise.
12615 * dlfcn/dlopen.c: Likewise.
12616 * dlfcn/dlsym.c: Likewise.
12617 * dlfcn/dlvsym.c: Likewise.
12618
12619 * include/ifaddrs.h: Use IS_IN.
12620 * inet/check_pf.c: Likewise.
12621 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12622 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12623
12624 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12625 IS_IN_ldconfig.
12626 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12627 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12628
12629 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12630 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12631 IS_IN (libc).
12632
12633 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12634
12635 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12636 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12637 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12638 * include/libc-symbols.h (IS_IN_LIB): New macro.
12639 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12640 * include/netdb.h: Likewise.
12641 * include/stap-probe.h: Remove all uses of IN_LIB.
12642
12643 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12644 instead of IN_MODULE.
12645 * include/libc-symbols.h (IN_MODULE): Define using
12646 MODULE_NAME.
12647 (PASTE_NAME, PASTE_NAME1): New macros.
12648 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12649 of IN_LIB.
12650 (STAP_PROBE_ASM): Likewise.
12651
12652 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12653
12654 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12655 __mach_init in dlopened libc.
12656
12657 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12658
12659 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12660 * sysdeps/arm/preconfigure: Regenerate.
12661
12662 2014-11-21 Roland McGrath <roland@hack.frob.com>
12663
12664 * nptl/pthread_create.c (__pthread_create_2_1): Set
12665 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12666 when copying values from IATTR into PD.
12667
12668 2014-11-21 Will Newton <will.newton@linaro.org>
12669 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12670
12671 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12672 Refactor inline-asm. Also add comment.
12673
12674 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12675 ElfW macro instead of hardcoded Elf64 types.
12676 (la_aarch64_gnu_pltenter): Likewise.
12677 * sysdeps/aarch64/dl-machine.h
12678 (elf_machine_runtime_setup): Use ElfW(Addr).
12679
12680 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12681 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12682 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12683 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12684 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12685 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12686 (R_AARCH64_TLS_DTPMOD): This.
12687 (R_AARCH64_TLS_DTPREL64): Rename to ...
12688 (R_AARCH64_TLS_DTPREL): This.
12689 (R_AARCH64_TLS_TPREL64): Rename to ...
12690 (R_AARCH64_TLS_TPREL): This.
12691 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12692 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12693 R_AARCH64_TLS_TPREL64.
12694 (elf_machine_rela): Likewise.
12695
12696 2014-11-21 Torvald Riegel <triegel@redhat.com>
12697
12698 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12699 by setting it to 0. 64b atomics are not supported currently.
12700
12701 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12702
12703 [BZ #16469]
12704 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12705 search domain names.
12706
12707 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12708
12709 [BZ #16469]
12710 * NEWS: Update.
12711 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12712 trailing dot.
12713 * posix/tst-getaddrinfo5.c: New.
12714 * posix/Makefile (tests): Add it.
12715
12716 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12717
12718 [BZ #14498]
12719 * NEWS: Fixed.
12720 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12721 after parsing line but before break_if_match.
12722 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12723 if there is a protocol mismatch.
12724
12725 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12726
12727 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12728 because the potential race is on the user-supplied stream.
12729
12730 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12731
12732 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12733 string literal if not passed a buffer.
12734 * manual/job.texi (ctermid): Update reasoning, note deviation
12735 from posix, suggest mtasurace when not passed a buffer, for
12736 future non-preliminary safety notes.
12737
12738 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12739
12740 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12741 of not passing it a buffer.
12742 Reported by Peng Haitao.
12743
12744 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12745
12746 * manual/Makefile ($(objpfx)stamp-summary): Require
12747 check-safety.sh to pass.
12748 * manual/check-safety.sh: Wish for verification that every
12749 @deftypefn and @deftypefun is followed by a @safety remark.
12750
12751 2014-11-20 Roland McGrath <roland@hack.frob.com>
12752
12753 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12754
12755 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12756 PTHREAD_CANCEL_ASYNCHRONOUS.
12757 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12758 send SIGCANCEL.
12759
12760 * nptl/default-sched.h: New file.
12761 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12762 * nptl/pthread_create.c: Include it.
12763 (__pthread_create_2_1): Use collect_default_sched instead of making
12764 Linux syscalls here directly.
12765
12766 2014-11-20 Torvald Riegel <triegel@redhat.com>
12767
12768 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12769 __pthread_once): Use C11 atomics.
12770
12771 2014-11-20 Torvald Riegel <triegel@redhat.com>
12772
12773 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12774
12775 2014-11-20 Torvald Riegel <triegel@redhat.com>
12776
12777 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12778 atomic_thread_fence_acquire, atomic_thread_fence_release,
12779 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12780 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12781 atomic_compare_exchange_weak_relaxed,
12782 atomic_compare_exchange_weak_acquire,
12783 atomic_compare_exchange_weak_release,
12784 atomic_exchange_acquire, atomic_exchange_release,
12785 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12786 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12787 atomic_fetch_and_acquire,
12788 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12789
12790 2014-11-20 Torvald Riegel <triegel@redhat.com>
12791
12792 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12793 USE_ATOMIC_COMPILER_BUILTINS): Define.
12794 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12795 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12796 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12797 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12798 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12799 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12800 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12801 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12802 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12803 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12804 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12805 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12806 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12807 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12808 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12809 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12810 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12811 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12812 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12813 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12814 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12815 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12816 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12817 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12818 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12819 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12820 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12821 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12822 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12823 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12824 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12825 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12826 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12827 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12828 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12829 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12830 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12831 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12832 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12833 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12834
12835 2014-11-19 Roland McGrath <roland@hack.frob.com>
12836
12837 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12838 the sched_priority value here. It was already checked when the user
12839 called pthread_attr_setschedparam.
12840
12841 * nptl/tst-bad-schedattr.c: New file.
12842 * nptl/Makefile (tests): Add it.
12843
12844 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12845 Florian Weimer <fweimer@redhat.com>
12846 Joseph Myers <joseph@codesourcery.com>
12847 Adam Conrad <adconrad@0c3.net>
12848 Andreas Schwab <schwab@suse.de>
12849 Brooks <bmoses@google.com>
12850
12851 [BZ #17625]
12852 * wordexp-test.c (__dso_handle): Add prototype.
12853 (__register_atfork): Likewise.
12854 (__app_register_atfork): New function.
12855 (registered_forks): New global.
12856 (register_fork): New function.
12857 (test_case): Add 3 new tests for WRDE_CMDSUB.
12858 (main): Call __app_register_atfork.
12859 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12860 fork count is non-zero fail the test.
12861 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12862 is set.
12863 (parse_dollars): Remove check for WRDE_NOCMD.
12864 (parse_dquote): Likewise.
12865
12866 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12867
12868 * Makeconfig (built-modules): List non-library modules to be
12869 built.
12870 (module-cppflags): Include libc-modules.h for
12871 everything except shlib-versions.v.i.
12872 (CPPFLAGS): Use it.
12873 (before-compile): Add libc-modules.h.
12874 ($(common-objpfx)libc-modules.h,
12875 $(common-objpfx)libc-modules.stmp): New targets.
12876 (common-generated): Add libc-modules.h and libc-modules.stmp.
12877 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12878 * include/libc-symbols.h: Don't include libc-modules.h.
12879 * include/libc-modules.h: Remove file.
12880 * scripts/gen-libc-modules.awk: New script to generate
12881 libc-modules.h.
12882 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12883 Depend on libc-modules.stmp.
12884
12885 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12886
12887 * Makeconfig (in-module): Get value of libof set for the
12888 translation unit.
12889 (CPPFLAGS): Use $(in-module).
12890 * Makerules: Don't suffix routine names for nonlib.
12891 * include/libc-modules.h: New file.
12892 * include/libc-symbols.h: Include libc-modules.h
12893 (IS_IN): New macro to replace IS_IN_* macros.
12894 * elf/Makefile: Set libof-* for each routine.
12895 * elf/rtld-Rules: Likewise.
12896 * extra-modules.mk: Likewise.
12897 * iconv/Makefile: Likewise.
12898 * iconvdata/Makefile: Likewise.
12899 * locale/Makefile: Likewise.
12900 * malloc/Makefile: Likewise.
12901 * nss/Makefile: Likewise.
12902 * sysdeps/gnu/Makefile: Likewise.
12903 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12904 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12905 * sysdeps/s390/s390-64/Makefile: Likewise.
12906 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12907 CPPFLAGS for nscd instead of nonlib.
12908
12909 2014-11-18 Roland McGrath <roland@hack.frob.com>
12910
12911 * nptl/createthread.c: New file.
12912
12913 * nptl/createthread.c: Moved ...
12914 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12915
12916 * nptl/createthread.c: Add proper top-line comment.
12917 (do_clone): Folded into ...
12918 (create_thread): ... here. Take new arguments STOPPED_START and
12919 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12920 increment __nptl_threads, do event-reporting logic, do
12921 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12922 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12923 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12924 just send SIGCANCEL.
12925 * nptl/pthread_create.c: Forward-declare create_thread before
12926 including createthread.c.
12927 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12928 declaration, and new macro START_THREAD_SELF to replace argument.
12929 Remove return statement.
12930 (report_thread_creation): New function.
12931 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12932 synchronization logic, and __nptl_nthreads increment here, around
12933 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12934 PD->parent_cancelhandling here, before create_thread. When
12935 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12936 __deallocate_stack, and ENOMEM translation here.
12937
12938 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12939
12940 [BZ #17616]
12941 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12942 (mptwo): Rename to __mptwo.
12943 (__inv): Use __mptwo instead of mptwo.
12944 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12945 (mptwo): Rename to __mptwo.
12946 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12947 of mpone and __mptwo instead of mptwo.
12948 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12949 instead of mpone.
12950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12951 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12952 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12953 of mpone and __mptwo instead of mptwo.
12954 (__mpranred): Use __mpone instead of mpone.
12955 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12956 variable.
12957 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12958 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12959 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12960 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12961 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12962 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12963 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12964 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12965 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12966 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12967 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12968 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12969 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12970 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12971 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12972 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12973 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12974 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12975 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12976
12977 2014-11-18 Tom de Vries <tom@codesoucery.com>
12978
12979 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12980 replace BSD Handler xref with BSD Signal Handling.
12981
12982 2014-11-17 Richard Henderson <rth@redhat.com>
12983
12984 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12985 (_FP_PACK_RAW_2): Remove.
12986 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12987 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12988 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12989 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12990 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12991 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12992 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12993 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12994 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12995 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12996 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12997 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12998 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12999 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13000 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13001 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13002
13003 2014-11-14 Roland McGrath <roland@hack.frob.com>
13004
13005 * signal/signal.h [__USE_MISC]
13006 (struct sigvec): Remove type.
13007 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13008 (sigvec): Remove declaration.
13009 * sysdeps/posix/sigvec.c: Moved ...
13010 * signal/sigvec.c: ... here, replacing old file.
13011 (struct sigvec): New type, copied from old signal.h definition.
13012 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13013 (__sigvec): Convert definition to prototype.
13014 (sigvec): Replace weak_alias with compat_symbol.
13015 * signal/Versions (libc: GLIBC_2.21): New version set.
13016 * include/signal.h: Remove __sigvec declaration.
13017 * sysdeps/unix/bsd/sigvec.c: Remove file.
13018 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13019 * manual/signal.texi (BSD Handler): Remove subsection.
13020 Move siginterrupt up to ...
13021 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13022 (Blocking in BSD): Fold subsection into its parent.
13023 * NEWS: Mention sigvec removal.
13024
13025 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13026
13027 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13028 (DLA_FMS): Make definition conditional only on [__FMA4__].
13029 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13030 definition.
13031
13032 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13033 Make definition conditional only on [PROF].
13034 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13035 definition.
13036 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13037 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13038
13039 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13040 !__GNUC__].
13041 * include/signal.h (__sigpause): Move declaration above call to
13042 libc_hidden_proto.
13043 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13044 variable.
13045 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13046 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13047
13048 2014-11-14 David S. Miller <davem@davemloft.net>
13049
13050 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13051 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13052
13053 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13054
13055 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13056 * configure: Regenerated.
13057 * manual/install.texi (Tools for Compilation): Document a
13058 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13059 compiler verified to work.
13060 * INSTALL: Regenerated.
13061
13062 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13063 redeclare with asm name.
13064 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13065 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13066 including <string.h>.
13067 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13068 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13069 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13070 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13071 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13072 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13073 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13074
13075 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13076
13077 * stdlib/strtol.c (__strtol): Use prototype definition.
13078
13079 [BZ #17594]
13080 * stdlib/strtol.c (SYM__): New macro.
13081 (SYM__1): Likewise.
13082 (__strtol): Likewise.
13083 (strtol): Rename to __strtol and define as weak alias of
13084 __strtol. Use libc_hidden_weak.
13085
13086 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13087
13088 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13089 Use numbered labels in inline assembly.
13090
13091 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13092
13093 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13094 Add setjmp LIBC_PROBE.
13095 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13096 Likewise.
13097 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13098 Add longjmp, longjmp_target LIBC_PROBE.
13099 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13100 Likewise.
13101
13102 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13103
13104 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13105 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13106 to get rid of unused variable warning.
13107
13108 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13109
13110 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13111 Check for unwind_backtrace == NULL only in SHARED case.
13112 (__backchain_backtrace): Compile only in SHARED case.
13113 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13114 Likewise.
13115 (__backchain_backtrace): Declare as static.
13116
13117 2014-11-12 Roland McGrath <roland@hack.frob.com>
13118
13119 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13120 (__libc_multiple_threads_ptr): Variable moved ...
13121 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13122
13123 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13124
13125 * conform/GlibcConform.pm: New file.
13126 * conform/conformtest.pl: Use GlibcConform module.
13127 * conform/linknamespace.pl: New file.
13128 * conform/list-header-symbols.pl: Likewise.
13129 * conform/Makefile (linknamespace-symlists-base): New variable.
13130 (linknamespace-symlists-tests): Likewise.
13131 (linknamespace-header-base): Likewise.
13132 (linknamespace-header-tests): Likewise.
13133 (tests-special): Add new tests.
13134 ($(linknamespace-symlists-tests)): New rule.
13135 (linknamespace-libs): New variable.
13136 ($(objpfx)symlist-stdlibs): New rule.
13137 ($(linknamespace-header-tests)): Likewise.
13138 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13139 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13140 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13141 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13142 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13143 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13144 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13145 (test-xfail-ISO/math.h/linknamespace): Likewise.
13146 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13147 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13148 (test-xfail-ISO/time.h/linknamespace): Likewise.
13149 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13150 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13151 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13152 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13153 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13154 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13155 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13156 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13157 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13158 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13159 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13160 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13161 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13162 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13163 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13164 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13165 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13166 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13167 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13168 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13169 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13170 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13171 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13172 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13173 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13174 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13175 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13176 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13177 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13178 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13179 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13180 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13181 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13182 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13183 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13184 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13185 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13186 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13187 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13188 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13189 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13190 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13191 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13192 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13193 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13194 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13195 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13196 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13197 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13198 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13199 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13200 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13201 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13202 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13203 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13204 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13205 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13206 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13207 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13208 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13209 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13210 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13211 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13212 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13213 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13214 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13215 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13216 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13217 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13218 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13219 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13220 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13221 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13222 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13223 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13224 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13225 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13226 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13227 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13228 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13229 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13230 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13231 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13232 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13233 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13234 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13235 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13236 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13237 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13238 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13239 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13240 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13241 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13242 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13243 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13244 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13245 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13246 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13247 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13248 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13249 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13250 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13251 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13252 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13253 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13254 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13255 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13256 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13257 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13258 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13259 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13260 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13261 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13262 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13263 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13264 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13265 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13266 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13267 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13268 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13269 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13270 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13271 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13272 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13273 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13274 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13275 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13276 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13277 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13278 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13279 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13280 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13281 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13282 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13283 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13284 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13285 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13286 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13287 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13288 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13289 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13290 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13291 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13292 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13293 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13294 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13295 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13296 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13297 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13298 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13299
13300 [BZ #17589]
13301 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13302 of fgets_unlocked.
13303
13304 [BZ #17585]
13305 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13306 (memmem): Rename to __memmem and define as weak alias of
13307 __memmem. Use libc_hidden_weak.
13308 (__memmem): Use libc_hidden_def.
13309 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13310 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13311 memmem.
13312
13313 [BZ #17582]
13314 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13315 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13316 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13317 and define as weak alias of __fgets_unlocked. Use
13318 libc_hidden_weak.
13319 (__fgets_unlocked): Use libc_hidden_def.
13320 * include/stdio.h (__fgets_unlocked): Declare. Use
13321 libc_hidden_proto.
13322 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13323 __fgets_unlocked instead of fgets_unlocked.
13324 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13325 (GET_NPROCS_CONF_PARSER): Likewise.
13326 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13327 (GET_NPROCS_CONF_PARSER): Likewise.
13328
13329 [BZ #17574]
13330 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13331 weak alias of __wmemset. Use libc_hidden_weak.
13332 (__wmemset): Use libc_hidden_def.
13333 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13334 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13335 of wmemset.
13336
13337 [BZ #17573]
13338 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13339 with asm name __mempcpy.
13340 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13341
13342 [BZ #17572]
13343 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13344 and define as weak alias of __rawmemchr.
13345 (__rawmemchr): Do not define as strong alias of rawmemchr.
13346
13347 [BZ #17571]
13348 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13349 alias of __qsort_r.
13350 (qsort): Call __qsort_r instead of qsort_r.
13351 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13352 (__qsort_r): Declare. Call libc_hidden_proto.
13353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13354 instead of qsort_r.
13355 * nscd/gai.c (__qsort_r): Define to qsort_r.
13356 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13357 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13358 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13359
13360 [BZ #17570]
13361 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13362 define as weak alias of __malloc_info.
13363
13364 [BZ #17584]
13365 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13366 as weak alias of __rewinddir. Don't use libc_hidden_def.
13367 (__rewinddir): Use libc_hidden_def.
13368 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13369 as weak alias of __rewinddir. Don't use libc_hidden_def.
13370 (__rewinddir): Use libc_hidden_def.
13371 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13372 weak alias of __rewinddir. Don't use libc_hidden_def.
13373 (__rewinddir): Use libc_hidden_def.
13374 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13375 (__rewinddir): Use libc_hidden_proto.
13376 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13377 rewinddir.
13378 (__getcwd): Use __rewinddir instead of rewinddir.
13379
13380 [BZ #17583]
13381 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13382 alias of __fileno. Use libc_hidden_weak.
13383 (__fileno): Use libc_hidden_def.
13384 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13385 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13386 alias of __ftello.
13387 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13388 __ftello.
13389 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13390 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13391 libc_hidden_def.
13392 (fread_unlocked): Don't use libc_hidden_ver.
13393 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13394 and define as weak alias of __fread_unlocked. Don't use
13395 libc_hidden_def.
13396 (__fread_unlocked): Use libc_hidden_def.
13397 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13398 (ftello): Don't use libc_hidden_proto.
13399 (__ftello): Declare. Use libc_hidden_proto.
13400 (fread_unlocked): Don't use libc_hidden_proto.
13401 (__fread_unlocked): Declare. Use libc_hidden_proto.
13402 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13403 and __ftello instead of fileno, fread_unlocked and ftello.
13404
13405 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13406
13407 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13408 GOT12.
13409 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13410 Likewise.
13411 (_dl_start_user): Likewise.
13412 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13413
13414 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13415 Siddhesh Poyarekar <siddhesh@redhat.com>
13416
13417 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13418 Move argv and envp down instead of moving argc up.
13419 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13420
13421 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13422
13423 [BZ #17506]
13424 * test-skeleton.c (main): Return successful if one of
13425 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13426 * string/tst-strcoll-overflow.c: Define expected status.
13427
13428 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13429
13430 [BZ #17475]
13431 * locale/iso-639.def: Define Bhili and Tulu language codes.
13432
13433 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13434
13435 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13436
13437 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13438
13439 [BZ #17555]
13440 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13441
13442 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13443
13444 * configure.ac: Updated check of minimal required version to
13445 2.22.
13446 * manual/install.texi (Tools for Compilation): Updated version
13447 number.
13448 * configure: Regenerated.
13449 * INSTALL: Likewise.
13450
13451 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13452
13453 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13454 __tls_get_addr.
13455
13456 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13457
13458 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13459 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13460 (__waitpid): Don't define as alias. Use libc_hidden_def not
13461 libc_hidden_weak.
13462 (waitpid): Define as alias of __waitpid.
13463 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13464 __waitpid.
13465 (__waitpid): Don't define as alias. Use libc_hidden_def not
13466 libc_hidden_weak.
13467 (waitpid): Define as alias of __waitpid.
13468 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13469 __libc_waitpid alias.
13470 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13471 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13472 Likewise.
13473 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13474 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13475 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13476 alias.
13477 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13478 __waitpid.
13479 (__waitpid): Don't define as alias. Use libc_hidden_def not
13480 libc_hidden_weak.
13481 (waitpid): Define as alias of __waitpid.
13482
13483 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13484
13485 * manual/llio.texi: Add comment that write safety has been
13486 fixed in Linux.
13487
13488 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13489 (localplt-build-dso): Add elf/ld.so.
13490 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13491 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13492 and free for ld.so.
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13494 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13496 Likewise.
13497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13498 Likewise.
13499 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13500 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13501 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13502 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13503 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13504 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13505 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13506 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13507 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13508 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13509 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13510
13511 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13512
13513 [BZ #14132]
13514 * include/libc-symbols.h (INTUSE): Remove macro.
13515 (INTDEF): Likewise.
13516 (INTVARDEF): Likewise.
13517 (_INTVARDEF): Likewise.
13518 (INTDEF2): Likewise.
13519 (INTVARDEF2): Likewise.
13520 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13521 rtld_hidden_def instead of INTVARDEF.
13522 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13523 (_dl_starting_up_internal): Remove declaration.
13524 (_dl_starting_up): Use rtld_hidden_proto.
13525 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13526 declaration.
13527 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13528 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13529 _dl_starting_up.
13530 * elf/dl-writev.h (_dl_writev): Likewise.
13531 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13532 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13533 _dl_starting_up_internal.
13534
13535 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13536
13537 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13538 test-skeleton.c.
13539
13540 2014-11-05 Will Newton <will.newton@linaro.org>
13541
13542 * benchtests/Makefile: (bench-malloc): Add malloc thread
13543 scalability benchmark.
13544 * benchtests/bench-malloc-threads.c: New file.
13545
13546 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13547
13548 * sysdeps/aarch64/strchrnul.S: New file.
13549
13550 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13551
13552 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13553 definition.
13554 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13555 Likwise.
13556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13557 Likewise.
13558 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13559 Likewise.
13560 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13561 Likewise.
13562 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13563 Likewise.
13564
13565 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13566
13567 * catgets/test-gencat.c: Use test-skeleton.c.
13568 * catgets/tst-catgets.c: Likewise.
13569 * csu/tst-empty.c: Likewise.
13570 * elf/tst-audit2.c: Likewise.
13571 * elf/tst-global1.c: Likewise.
13572 * elf/tst-pathopt.c: Likewise.
13573 * elf/tst-piemod1.c: Likewise.
13574 * elf/tst-tls10.c: Likewise.
13575 * elf/tst-tls11.c: Likewise.
13576 * elf/tst-tls12.c: Likewise.
13577 * gnulib/tst-gcc.c: Likewise.
13578 * iconvdata/tst-e2big.c: Likewise.
13579 * iconvdata/tst-loading.c: Likewise.
13580 * iconv/tst-iconv1.c: Likewise.
13581 * iconv/tst-iconv2.c: Likewise.
13582 * inet/test-inet6_opt.c: Likewise.
13583 * inet/tst-gethnm.c: Likewise.
13584 * inet/tst-network.c: Likewise.
13585 * inet/tst-ntoa.c: Likewise.
13586 * intl/tst-codeset.c: Likewise.
13587 * intl/tst-gettext2.c: Likewise.
13588 * intl/tst-gettext3.c: Likewise.
13589 * intl/tst-ngettext.c: Likewise.
13590 * intl/tst-translit.c: Likewise.
13591 * io/test-stat.c: Likewise.
13592 * libio/test-fmemopen.c: Likewise.
13593 * libio/tst-freopen.c: Likewise.
13594 * libio/tst-sscanf.c: Likewise.
13595 * libio/tst-ungetwc1.c: Likewise.
13596 * libio/tst-ungetwc2.c: Likewise.
13597 * libio/tst-widetext.c: Likewise.
13598 * localedata/tst-ctype.c: Likewise.
13599 * localedata/tst-digits.c: Likewise.
13600 * localedata/tst-leaks.c: Likewise.
13601 * localedata/tst-mbswcs1.c: Likewise.
13602 * localedata/tst-mbswcs2.c: Likewise.
13603 * localedata/tst-mbswcs3.c: Likewise.
13604 * localedata/tst-mbswcs4.c: Likewise.
13605 * localedata/tst-mbswcs5.c: Likewise.
13606 * localedata/tst-setlocale.c: Likewise.
13607 * localedata/tst-trans.c: Likewise.
13608 * localedata/tst-wctype.c: Likewise.
13609 * localedata/tst-xlocale1.c: Likewise.
13610 * login/tst-grantpt.c: Likewise.
13611 * malloc/tst-calloc.c: Likewise.
13612 * malloc/tst-malloc.c: Likewise.
13613 * malloc/tst-mallocstate.c: Likewise.
13614 * malloc/tst-mcheck.c: Likewise.
13615 * malloc/tst-mtrace.c: Likewise.
13616 * malloc/tst-obstack.c: Likewise.
13617 * math/atest-exp2.c: Likewise.
13618 * math/atest-exp.c: Likewise.
13619 * math/atest-sincos.c: Likewise.
13620 * math/test-matherr.c: Likewise.
13621 * math/test-misc.c: Likewise.
13622 * math/test-powl.c: Likewise.
13623 * math/tst-definitions.c: Likewise.
13624 * misc/tst-dirname.c: Likewise.
13625 * misc/tst-efgcvt.c: Likewise.
13626 * misc/tst-fdset.c: Likewise.
13627 * misc/tst-hsearch.c: Likewise.
13628 * misc/tst-mntent2.c: Likewise.
13629 * nptl/tst-sem7.c: Likewise.
13630 * nptl/tst-sem8.c: Likewise.
13631 * nptl/tst-sem9.c: Likewise.
13632 * nss/test-netdb.c: Likewise.
13633 * posix/tst-fnmatch.c: Likewise.
13634 * posix/tst-getlogin.c: Likewise.
13635 * posix/tst-gnuglob.c: Likewise.
13636 * posix/tst-mmap.c: Likewise.
13637 * pwd/tst-getpw.c: Likewise.
13638 * resolv/tst-inet_ntop.c: Likewise.
13639 * rt/tst-timer.c: Likewise.
13640 * stdio-common/test-fseek.c: Likewise.
13641 * stdio-common/test-popen.c: Likewise.
13642 * stdio-common/test-vfprintf.c: Likewise.
13643 * stdio-common/tst-cookie.c: Likewise.
13644 * stdio-common/tst-fileno.c: Likewise.
13645 * stdio-common/tst-gets.c: Likewise.
13646 * stdio-common/tst-obprintf.c: Likewise.
13647 * stdio-common/tst-perror.c: Likewise.
13648 * stdio-common/tst-sprintf2.c: Likewise.
13649 * stdio-common/tst-sprintf3.c: Likewise.
13650 * stdio-common/tst-sprintf.c: Likewise.
13651 * stdio-common/tst-swprintf.c: Likewise.
13652 * stdio-common/tst-tmpnam.c: Likewise.
13653 * stdio-common/tst-unbputc.c: Likewise.
13654 * stdio-common/tst-wc-printf.c: Likewise.
13655 * stdlib/tst-environ.c: Likewise.
13656 * stdlib/tst-fmtmsg.c: Likewise.
13657 * stdlib/tst-limits.c: Likewise.
13658 * stdlib/tst-rand48-2.c: Likewise.
13659 * stdlib/tst-rand48.c: Likewise.
13660 * stdlib/tst-random2.c: Likewise.
13661 * stdlib/tst-random.c: Likewise.
13662 * stdlib/tst-strtol.c: Likewise.
13663 * stdlib/tst-strtoll.c: Likewise.
13664 * stdlib/tst-tls-atexit.c: Likewise.
13665 * stdlib/tst-xpg-basename.c: Likewise.
13666 * string/test-ffs.c: Likewise.
13667 * string/tst-bswap.c: Likewise.
13668 * string/tst-inlcall.c: Likewise.
13669 * string/tst-strtok.c: Likewise.
13670 * string/tst-strxfrm.c: Likewise.
13671 * sysdeps/x86_64/tst-audit10.c: Likewise.
13672 * sysdeps/x86_64/tst-audit3.c: Likewise.
13673 * sysdeps/x86_64/tst-audit4.c: Likewise.
13674 * sysdeps/x86_64/tst-audit5.c: Likewise.
13675 * time/tst-ftime_l.c: Likewise.
13676 * time/tst-getdate.c: Likewise.
13677 * time/tst-mktime3.c: Likewise.
13678 * time/tst-mktime.c: Likewise.
13679 * time/tst-posixtz.c: Likewise.
13680 * time/tst-strptime2.c: Likewise.
13681 * time/tst-strptime3.c: Likewise.
13682 * wcsmbs/tst-btowc.c: Likewise.
13683 * wcsmbs/tst-mbrtowc.c: Likewise.
13684 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13685 * wcsmbs/tst-wchar-h.c: Likewise.
13686 * wcsmbs/tst-wcpncpy.c: Likewise.
13687 * wcsmbs/tst-wcrtomb.c: Likewise.
13688 * wcsmbs/tst-wcsnlen.c: Likewise.
13689 * wcsmbs/tst-wcstof.c: Likewise.
13690
13691 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13692
13693 [BZ #14132]
13694 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13695 INTDEF.
13696 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13697 declaration.
13698 (_dl_mcount): Use rtld_hidden_proto.
13699 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13700 _dl_mcount.
13701 * elf/rtld.c (_rtld_global_ro): Likewise.
13702
13703 [BZ #14132]
13704 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13705 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13706 of _dl_init_internal.
13707 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13708 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13709 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13710 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13711 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13712 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13713 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13714 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13715 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13716 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13717 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13718 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13719 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13720 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13721 * sysdeps/tile/dl-start.S (_start): Likewise.
13722 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13723 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13724
13725 [BZ #14132]
13726 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13727 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13728 (rtld_progname): Make macro definition unconditional.
13729 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13730 INTDEF.
13731 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13732 (dl_main): Likewise.
13733 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13734 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13735 instead of _dl_argv_internal.
13736 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13737 __GI__dl_argv instead of INTUSE(_dl_argv).
13738 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13739 __GI__dl_argv instead of _dl_argv_internal.
13740
13741 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13742 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13743 macro.
13744 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13745 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13746 New macro.
13747 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13748 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13749 macro.
13750 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13751 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13752
13753 2014-11-04 Andreas Schwab <schwab@suse.de>
13754
13755 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13756
13757 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13758
13759 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13760 mtvsrd instruction in binary form.
13761
13762 2014-11-03 Andreas Schwab <schwab@suse.de>
13763
13764 [BZ #17522]
13765 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13766 for less than MB_LEN_MAX use a local buffer of that size.
13767 * libio/tst-fputws.c: New file.
13768 * libio/Makefile (tests): Add tst-fputws.
13769
13770 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13771
13772 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13773 the size of the fpu_fr.fpu_dregs[] array.
13774
13775 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13776
13777 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13778 (__nanosleep): Do not define as alias.
13779 (nanosleep): Define as alias of __nanosleep.
13780 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13781 __libc_nanosleep name.
13782
13783 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13784
13785 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13786 install.texi in comment.
13787
13788 2014-10-31 Torvald Riegel <triegel@redhat.com>
13789
13790 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13791 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13792 ... add here and use lwsync or sync ...
13793 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13794 ... and add here using lwsync.
13795
13796 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13797
13798 * elf/dl-machine-reject-phdr.h: New file.
13799 * elf/dl-load.c: #include that.
13800 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13801 if that returned true.
13802
13803 2014-10-31 Roland McGrath <roland@hack.frob.com>
13804
13805 [BZ #17496]
13806 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13807 gen-as-const-headers chunk. Add a big scare comment after the last
13808 safe place to touch before-compile.
13809
13810 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13811
13812 * manual/install.texi (Tools for Compilation): Update autoconf
13813 version requirements.
13814 * INSTALL: Regenerated.
13815
13816 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13817 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13818 (__libc_pselect): Likewise.
13819
13820 [BZ #14138]
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13825
13826 2014-10-31 Torvald Riegel <triegel@redhat.com>
13827
13828 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13829 correct barrier instruction.
13830 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13831 Likewise.
13832 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13833 Likewise.
13834
13835 2014-10-30 Roland McGrath <roland@hack.frob.com>
13836
13837 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13838 after defining inlines. Instead, just use parens to defeat macro
13839 expansion of __isctype in its declaration.
13840
13841 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13842
13843 * include/sys/uio.h (__libc_readv): Remove declaration.
13844 (__libc_writev): Likewise.
13845 * misc/readv.c (__libc_readv): Rename to __readv.
13846 (__readv): Do not define as alias.
13847 (readv): Define as alias of __readv.
13848 * misc/writev.c (__libc_writev): Rename to __writev.
13849 (__writev): Do not define as alias.
13850 (writev): Define as alias of __writev.
13851 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13852 (__readv): Do not define as alias.
13853 (readv): Define unconditionally as alias of __readv.
13854 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13855 (__writev): Do not define as alias.
13856 (writev): Define unconditionally as alias of __writev.
13857 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13858 name.
13859 (writev): Do not define __libc_writev name.
13860
13861 2014-10-30 Roland McGrath <roland@hack.frob.com>
13862
13863 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13864 (convert_charseq): New function, broken out of ...
13865 (use_from_charmap): ... here. Call it.
13866 (use_to_charmap): Use convert_charseq and free instead of duplicating
13867 its code with a variable-length stack struct.
13868
13869 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13870
13871 * include/fcntl.h (__libc_creat): Remove declaration.
13872 * io/creat.c (__libc_creat): Rename to creat.
13873 (creat): Do not define as alias.
13874 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13875 of creat instead of __libc_creat.
13876 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13877 to creat.
13878 (creat): Do not define as alias.
13879 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13880 __libc_creat.
13881 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13882 __libc_creat name.
13883 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13884 Likewise.
13885
13886 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13887
13888 * manual/llio.texi: Add comments discussing why write() may be
13889 considered MT-unsafe on Linux.
13890
13891 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13892
13893 * dl-load.c (local_strdup): Remove.
13894 (expand_dynamic_string_token): Use __strdup.
13895 (decompose_rpath): Likewise.
13896 (_dl_map_object): Likewise.
13897
13898 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13899
13900 [BZ #14132]
13901 * sysdeps/generic/unwind-dw2-fde.c
13902 (__register_frame_info_bases_internal): Do not declare.
13903 (__register_frame_info_table_bases_internal): Likewise.
13904 (__deregister_frame_info_bases_internal): Likewise.
13905 (__register_frame_info_bases): Declare and use hidden_proto before
13906 definition. Use hidden_def instead of INTDEF.
13907 (__register_frame_info_table_bases): Likewise.
13908 (__deregister_frame_info_bases): Likewise.
13909 (__register_frame_info): Do not use INTUSE.
13910 (__register_frame): Likewise.
13911 (__register_frame_info_table): Likewise.
13912 (__register_frame_table): Likewise.
13913 (__deregister_frame_info): Likewise.
13914 (__deregister_frame): Likewise.
13915
13916 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13917
13918 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13919 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13920 not undefine.
13921 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13922 Likewise.
13923 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13924 Likewise.
13925
13926 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13927
13928 [BZ #14138]
13929 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13930 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13931 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13932 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13933 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13934 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13935 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13936 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13937 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13938 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13939 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13940 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13941 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13942 syscall.
13943 (setfsuid): Likewise.
13944 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13945 (setfsuid): Likewise.
13946 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13947 (setfsuid): Likewise.
13948 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13949 Likewise.
13950 (setfsuid): Likewise.
13951 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13952 (setfsuid): Likewise.
13953 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13954 Likewise.
13955 (setfsuid): Likewise.
13956
13957 2014-10-27 Andreas Schwab <schwab@suse.de>
13958
13959 [BZ #17501]
13960 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13961 check for Slow_SSE4_2 feature bit.
13962 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13963 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13964 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13965 Likewise. Fix check for Fast_Unaligned_Load feature bit.
13966
13967 2014-10-24 Roland McGrath <roland@hack.frob.com>
13968
13969 * configure.ac: Validate compiler version with a empirical test of
13970 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13971 $CC -v output.
13972 * configure: Regenerated.
13973
13974 * inet/htons.c (htons): Prototypify.
13975 * inet/htonl.c (htonl): Likewise.
13976
13977 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13978
13979 * string/strncat.c (strncat): Improve performance by using strlen.
13980
13981 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13982
13983 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13984
13985 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13986
13987 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13988 Call libc_fetestexcept_aarch64.
13989
13990 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13991
13992 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13993 Call libc_feholdexcept_aarch64.
13994
13995 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13996
13997 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13998 Call get_rounding_mode.
13999
14000 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14001
14002 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14003 Simplify logic.
14004
14005 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14006
14007 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14008 Simplify logic.
14009
14010 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14011
14012 [BZ #14138]
14013 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14014 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14015 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14016 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14017 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14018 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14019 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14020 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14021 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14022 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14023 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14024 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14025 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14026 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14027 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14028 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14029 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14030 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14031 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14032 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14033 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14034 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14035 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14036 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14037 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14038 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14039 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14040 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14041 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14042 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14043 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14044 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14045 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14046 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14047 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14048 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14049 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14050 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14051 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14052 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14053 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14054 syscall.
14055 (geteuid): Likewise.
14056 (getgid): Likewise.
14057 (getuid): Likewise.
14058 (getresgid): Likewise.
14059 (getresuid): Likewise.
14060 (getgroups): Likewise.
14061 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14062 (geteuid): Likewise.
14063 (getgid): Likewise.
14064 (getuid): Likewise.
14065 (getresgid): Likewise.
14066 (getresuid): Likewise.
14067 (getgroups): Likewise.
14068 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14069 (geteuid): Likewise.
14070 (getgid): Likewise.
14071 (getuid): Likewise.
14072 (getresgid): Likewise.
14073 (getresuid): Likewise.
14074 (getgroups): Likewise.
14075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14076 Likewise.
14077 (geteuid): Likewise.
14078 (getgid): Likewise.
14079 (getuid): Likewise.
14080 (getresgid): Likewise.
14081 (getresuid): Likewise.
14082 (getgroups): Likewise.
14083 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14084 (geteuid): Likewise.
14085 (getgid): Likewise.
14086 (getuid): Likewise.
14087 (getresgid): Likewise.
14088 (getresuid): Likewise.
14089 (getgroups): Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14091 Likewise.
14092 (geteuid): Likewise.
14093 (getgid): Likewise.
14094 (getuid): Likewise.
14095 (getgroups): Likewise.
14096
14097 [BZ #14138]
14098 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14099 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14100 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14101 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14102 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14103 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14104 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14105 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14106 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14107 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14108 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14109 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14110 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14111 __chown.
14112 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14113 (lchown): Likewise.
14114 (fchown): Likewise.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14116 Likewise.
14117 (lchown): Likewise.
14118 (fchown): Likewise.
14119 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14120 (lchown): Likewise.
14121 (fchown): Likewise.
14122 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14123 Likewise.
14124 (lchown): Likewise.
14125 (fchown): Likewise.
14126
14127 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14128
14129 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14130 Simplify logic.
14131
14132 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14133
14134 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14135 Cleanup logic.
14136
14137 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14138
14139 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14140 Remove unused include.
14141
14142 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14143
14144 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14145 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14146 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14147 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14148
14149 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14150 Helge Deller <deller@gmx.de>
14151
14152 [BZ #17508]
14153 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14154 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14155 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14156
14157 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14158
14159 [BZ #14132]
14160 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14161 Remove macro definition.
14162 (__ashrdi3_v_glibc20): Likewise.
14163 (__lshrdi3_v_glibc20): Likewise.
14164 (__cmpdi2_v_glibc20): Likewise.
14165 (__ucmpdi2_v_glibc20): Likewise.
14166 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14167 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14168 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14169 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14170 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14171 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14172
14173 2014-10-22 Roland McGrath <roland@hack.frob.com>
14174
14175 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14176 old GNU extension [0] syntax.
14177 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14178 alloca rather than an array member with variable length.
14179 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14180 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14181 (parse_opt): ... here. Likewise use alloca there.
14182 Validate the -i argument before checking for rootness.
14183 (send_shutdown): New function, broken out of ...
14184 (parse_opt): ... here.
14185
14186 2014-10-22 Roland McGrath <roland@hack.frob.com>
14187
14188 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14189 macro to get at the _rt_local_ro field.
14190 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14191 ([PIC] case) or _dl_hwcap ([!PIC] case).
14192 * sysdeps/arm/setjmp.S: Likewise.
14193
14194 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14195 * sysdeps/arm/configure.ac: New check to define it.
14196 * sysdeps/arm/configure: Regenerated.
14197 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14198 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14199 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14200 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14201 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14202 Use move/movt pair instead of a load.
14203 (LDST_GLOBAL): Macro removed.
14204 (LDR_GLOBAL): New macro replaces it.
14205 (LDR_HIDDEN): New macro.
14206 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14207 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14208
14209 * setjmp/tst-setjmp-static.c: New file.
14210 * setjmp/Makefile (tests): Add it.
14211 (tests-static): New variable.
14212
14213 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14214
14215 [BZ #17485]
14216 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14217
14218 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #14132]
14221 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14222
14223 2014-10-21 Roland McGrath <roland@hack.frob.com>
14224
14225 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14226
14227 2014-10-20 Roland McGrath <roland@hack.frob.com>
14228
14229 * io/fts.c (dirent_not_directory): New function.
14230 (fts_build): Call it.
14231
14232 2014-10-20 Roland McGrath <roland@hack.frob.com>
14233
14234 * nptl/version.c (__nptl_main): Use normal __write rather than
14235 INTERNAL_SYSCALL.
14236 (banner): Update copyright years.
14237
14238 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14239 gettimeofday.
14240 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14241 * nptl/pthread_cond_timedwait.c: Likewise.
14242 * nptl/pthread_mutex_timedlock.c: Likewise.
14243 * nptl/sem_timedwait.c: Likewise.
14244
14245 * sysdeps/nptl/bits/libc-lock.h
14246 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14247 (__libc_lock_init_recursive): Return void, not 0.
14248 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14249 (__libc_rwlock_init): Likewise.
14250 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14251
14252 2014-10-20 Torvald Riegel <triegel@redhat.com>
14253
14254 [BZ #15215]
14255 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14256 (__pthread_once_slow): ... here.
14257 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14258 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14259
14260 2014-10-20 Torvald Riegel <triegel@redhat.com>
14261
14262 [BZ #15215]
14263 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14264 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14265 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14266 * nptl/pthread_once.c (__pthread_once): Likewise.
14267 Update comments.
14268
14269 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14270
14271 [BZ #14138]
14272 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14273 name.
14274 (writev): Use __libc_writev as strong name.
14275 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14276 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14277
14278 2014-10-17 Roland McGrath <roland@hack.frob.com>
14279
14280 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14281
14282 * sysdeps/i386/nptl/tls.h
14283 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14284 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14285 New macros.
14286 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14287 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14288 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14289 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14290 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14291 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14292
14293 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14294 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14295 on [__NR_futex].
14296 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14297 broken out of ...
14298 (__pthread_mutex_init): ... here. Call it.
14299 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14300 Conditionalize PI cases on [__NR_futex].
14301 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14302 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14303 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14304
14305 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14306 conditional on [SIGSETXID].
14307 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14308 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14309 is defined. Likewise for SIGSETXID.
14310 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14311 Conditionalize definitions on [SIGSETXID].
14312 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14313 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14314 unblocking on [SIGCANCEL].
14315
14316 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14317 [__NR_set_robust_list].
14318
14319 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14320
14321 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14322 (do_compare): Likewise.
14323
14324 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14325
14326 [BZ #15884]
14327 * string/strcoll_l.c: Don't include stdio.h.
14328 (coll_seq): Remove members idxarr and rulearr.
14329 (get_next_seq_cached): Remove function.
14330 (get_next_seq): Likewise.
14331 (get_next_seq_nocache): Rename to get_next_seq.
14332 (do_compare): Remove function.
14333 (do_compare_nocache): Rename to do_compare.
14334 (STRCOLL): Remove weight and rules cache.
14335
14336 2014-10-16 Roland McGrath <roland@hack.frob.com>
14337
14338 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14339 * sysdeps/arm/sfp-machine.h: ... to here.
14340 * sysdeps/arm/Implies: Remove arm/soft-fp.
14341
14342 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14343
14344 * conform/data/sys/utsname.h-data (*_t): Allow.
14345 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14346 [POSIX] (WEXITED): Do not expect constant.
14347 [POSIX] (WSTOPPED): Likewise.
14348 [POSIX] (WNOHANG): Likewise.
14349 [POSIX] (WNOWAIT): Likewise.
14350 [POSIX] (siginfo_t): Do not expect type or elements.
14351 [POSIX] (pid_t): Do not expect type.
14352 [POSIX] (signal.h): Do not allow header.
14353 [POSIX] (sys/resource.h): Likewise.
14354 [POSIX] (si_*): Do not allow pattern.
14355 [POSIX] (W*): Likewise.
14356 [POSIX] (P_*): Likewise.
14357 [POSIX] (BUS_*): Likewise.
14358 [POSIX] (CLD_*): Likewise.
14359 [POSIX] (FPE_*): Likewise.
14360 [POSIX] (ILL_*): Likewise.
14361 [POSIX] (POLL_*): Likewise.
14362 [POSIX] (SEGV_*): Likewise.
14363 [POSIX] (SI_*): Likewise.
14364 [POSIX] (TRAP_*): Likewise.
14365 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14366 variable.
14367
14368 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14369
14370 [BZ #12926]
14371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14372 infinite loop when __recvmsg returns 0.
14373
14374 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14375
14376 * CANCEL-FCT-WAIVE: Remove file.
14377 * CANCEL-FILE-WAIVE: Likewise.
14378
14379 [BZ #14132]
14380 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14381 instead of INTVARDEF.
14382 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14383 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14384 rtld_hidden_data_def instead of INTVARDEF.
14385 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14386 * elf/dl-deps.c (expand_dst): Likewise.
14387 * elf/dl-load.c (_dl_dst_count): Likewise.
14388 (_dl_dst_substitute): Likewise.
14389 (decompose_rpath): Likewise.
14390 (_dl_init_paths): Likewise.
14391 (open_path): Likewise.
14392 (_dl_map_object): Likewise.
14393 * elf/rtld.c (dl_main): Likewise.
14394 (process_dl_audit): Likewise.
14395 (process_envvars): Likewise.
14396 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14397 Remove declaration.
14398 (__libc_enable_secure): Use rtld_hidden_proto.
14399
14400 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14401
14402 * elf/dl-load.c
14403 (add_path): New function broken out of _dl_rtld_di_serinfo.
14404 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14405
14406 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14407
14408 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14409 parentheses around macro arguments.
14410 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14411 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14412 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14413 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14414 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14415 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14416 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14417 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14418 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14419 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14420 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14421 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14422 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14423 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14424 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14425 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14426 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14427 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14428 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14429 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14430 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14431 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14433 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14434 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14435 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14436 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14437 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14438 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14439 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14440 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14441 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14442 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14443 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14444 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14445 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14446 Likewise.
14447 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14448 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14449 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14450 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14453 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14454 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14455 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14456 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14457 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14458 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14459 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14460 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14461 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14462 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14463 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14464 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14465 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14466 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14467 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14468 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14469 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14470 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14471 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14472 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14473 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14474 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14475 (_FP_FRAC_SRS_1): Likewise.
14476 (_FP_FRAC_CLZ_1): Likewise.
14477 (_FP_MUL_MEAT_1_imm): Likewise.
14478 (_FP_MUL_MEAT_1_wide): Likewise.
14479 (_FP_MUL_MEAT_1_hard): Likewise.
14480 (_FP_SQRT_MEAT_1): Likewise.
14481 (_FP_FRAC_ASSEMBLE_1): Likewise.
14482 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14483 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14484 (__FP_CLZ_2): Likewise.
14485 (_FP_MUL_MEAT_2_wide): Likewise.
14486 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14487 (_FP_MUL_MEAT_2_gmp): Likewise.
14488 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14489 (_FP_SQRT_MEAT_2): Likewise.
14490 (_FP_FRAC_ASSEMBLE_2): Likewise.
14491 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14492 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14493 (_FP_FRAC_CLZ_4): Likewise.
14494 (_FP_MUL_MEAT_4_wide): Likewise.
14495 (_FP_MUL_MEAT_4_gmp): Likewise.
14496 (_FP_SQRT_MEAT_4): Likewise.
14497 (_FP_FRAC_ASSEMBLE_4): Likewise.
14498 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14499 * soft-fp/op-common.h (_FP_CMP): Likewise.
14500 (_FP_CMP_EQ): Likewise.
14501 (_FP_CMP_UNORD): Likewise.
14502 (_FP_TO_INT): Likewise.
14503 (_FP_FROM_INT): Likewise.
14504 [!__FP_CLZ] (__FP_CLZ): Likewise.
14505 (_FP_DIV_HELP_imm): Likewise.
14506 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14507 Likewise.
14508 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14509 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14510 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14511 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14512 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14513 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14514 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14515 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14516 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14517 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14518 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14519 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14520 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14521 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14522 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14523 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14524 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14525 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14526 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14527 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14528 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14529 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14530 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14531 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14532 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14533 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14534 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14535 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14536 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14537 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14538 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14539 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14540 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14541 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14542 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14543 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14544 (FP_UNPACK_RAW_SP): Likewise.
14545 (FP_PACK_RAW_S): Likewise.
14546 (FP_PACK_RAW_SP): Likewise.
14547 (FP_UNPACK_S): Likewise.
14548 (FP_UNPACK_SP): Likewise.
14549 (FP_UNPACK_SEMIRAW_S): Likewise.
14550 (FP_UNPACK_SEMIRAW_SP): Likewise.
14551 (FP_PACK_S): Likewise.
14552 (FP_PACK_SP): Likewise.
14553 (FP_PACK_SEMIRAW_S): Likewise.
14554 (FP_PACK_SEMIRAW_SP): Likewise.
14555 (_FP_SQRT_MEAT_S): Likewise.
14556 (FP_CMP_S): Likewise.
14557 (FP_CMP_EQ_S): Likewise.
14558 (FP_CMP_UNORD_S): Likewise.
14559 (FP_TO_INT_S): Likewise.
14560 (FP_FROM_INT_S): Likewise.
14561
14562 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14563
14564 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14565 (FP_EX_INVALID_IMZ): Likewise.
14566 (FP_EX_INVALID_IMZ_FMA): Likewise.
14567 (FP_EX_INVALID_ISI): Likewise.
14568 (FP_EX_INVALID_ZDZ): Likewise.
14569 (FP_EX_INVALID_IDI): Likewise.
14570 (FP_EX_INVALID_SQRT): Likewise.
14571 (FP_EX_INVALID_CVI): Likewise.
14572 (FP_EX_INVALID_VC): Likewise.
14573 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14574 "invalid" exceptions.
14575 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14576 (_FP_ADD_INTERNAL): Likewise.
14577 (_FP_MUL): Likewise.
14578 (_FP_FMA): Likewise.
14579 (_FP_DIV): Likewise.
14580 (_FP_CMP_CHECK_NAN): Likewise.
14581 (_FP_SQRT): Likewise.
14582 (_FP_TO_INT): Likewise.
14583 (FP_EXTEND): Likewise.
14584
14585 2014-10-09 Allan McRae <allan@archlinux.org>
14586
14587 * po/fr.po: Update French translation from translation project.
14588
14589 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14590
14591 [BZ #14132]
14592 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14593 of INTDEF.
14594 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14595 (__cxa_atexit): Use libc_hidden_proto.
14596 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14597
14598 [BZ #14132]
14599 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14600 declaration.
14601 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14602 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14603 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14604 [!_ISOMAC] (__iswctype_internal): Likewise.
14605 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14606 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14607 alias.
14608 (fcntl): Remove __fcntl_internal alias.
14609 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14610 __connect_internal alias.
14611 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14612 Likewise.
14613
14614 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14615 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14616 FP_DENORM_ZERO.
14617 (_FP_CHECK_FLUSH_ZERO): New macro.
14618 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14619 (_FP_CMP): Likewise.
14620 (_FP_CMP_EQ): Likewise.
14621 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14622 FP_DENORM_ZERO.
14623 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14624 (FP_TRUNC): Likewise.
14625
14626 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14627 treated as invalid conversion, not as normal exponent.
14628
14629 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14630 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14631 (_FP_CMP_EQ): Likewise.
14632 (_FP_CMP_UNORD): Likewise.
14633 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14634 (FP_CMP_EQ_D): Likewise.
14635 (FP_CMP_UNORD_D): Likewise.
14636 * soft-fp/extended.h (FP_CMP_E): Likewise.
14637 (FP_CMP_EQ_E): Likewise.
14638 (FP_CMP_UNORD_E): Likewise.
14639 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14640 (FP_CMP_EQ_Q): Likewise.
14641 (FP_CMP_UNORD_Q): Likewise.
14642 * soft-fp/single.h (FP_CMP_S): Likewise.
14643 (FP_CMP_EQ_S): Likewise.
14644 (FP_CMP_UNORD_S): Likewise.
14645 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14646 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14647 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14648 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14649 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14650 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14651 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14652 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14653 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14654 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14655 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14656 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14657 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14658 to FP_CMP_Q.
14659 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14660 FP_CMP_Q.
14661 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14662 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14663 FP_CMP_EQ_Q.
14664 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14665 FP_CMP_Q.
14666 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14667 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14668 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14669 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14670 FP_CMP_EQ_Q.
14671 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14672 FP_CMP_Q.
14673 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14674 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14675 FP_CMP_EQ_Q.
14676 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14677 FP_CMP_Q.
14678 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14679 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14680 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14681 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14682 FP_CMP_EQ_Q.
14683
14684 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14685 a subnormal result, set the underflow exception if trapping on
14686 underflow is enabled.
14687 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14688 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14689 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14690 redefine to 0.
14691 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14692 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14693 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14694 * soft-fp/extendxftf2.c (__extendxftf2): Use
14695 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14696
14697 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14698 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14699 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14700 FP_HANDLE_EXCEPTIONS.
14701 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14702 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14703 FP_HANDLE_EXCEPTIONS.
14704 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14705 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14706 FP_HANDLE_EXCEPTIONS.
14707 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14708 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14709 FP_HANDLE_EXCEPTIONS.
14710
14711 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14712
14713 [BZ #14132]
14714 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14715 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14716 use INTUSE.
14717 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14718 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14719 Remove alias.
14720 (__adjtimex): Define using libc_hidden_ver.
14721 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14722 Remove declaration.
14723 (ntp_gettime): Call __adjtimex directly.
14724 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14725 Remove declaration.
14726 (ntp_gettimex): Call __adjtimex directly.
14727 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14728 __adjtimex_internal alias.
14729
14730 2014-10-08 Roland McGrath <roland@hack.frob.com>
14731
14732 [BZ #17460]
14733 * nscd/nscd.c (more_help): Rewrite list of tables collection
14734 using xstrdup and asprintf.
14735
14736 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14737
14738 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14739 Roland McGrath <roland@hack.frob.com>
14740
14741 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14742 (do_lookup_unique): ... local function 'enter' here; update callers.
14743
14744 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14745
14746 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14747 compat_symbol calls on [SHARED].
14748 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14749 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14750 Remove.
14751 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14752 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14753 (oldsetrlimit): Remove.
14754 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14756 (lchown): New syscall entry.
14757 (oldsetrlimit): Remove.
14758 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14759 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14760 (oldsetrlimit): Remove.
14761 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14762
14763 [BZ #14138]
14764 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14765 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14766 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14767 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14769 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14770 (fchown): Likewise.
14771 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14772 (fchown): Likewise.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14774 Likewise.
14775
14776 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14777
14778 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14779 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14780 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14781 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14782 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14783 Likewise.
14784 (__old_sem_post): Likewise.
14785
14786 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14787
14788 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14789 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14790 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14791 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14792 Use INLINE_VSYSCALL macro.
14793 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14794 __vdso_clock_gettime.
14795 * sysdeps/unix/sysv/linux/tile/init-first.c
14796 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14797 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14798 __vdso_clock_gettime.
14799
14800 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14801 to set up frame more cleanly.
14802
14803 * sysdeps/tile/memcmp.c: New file.
14804
14805 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14806
14807 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14808 * sysdeps/tile/tilegx/strcasestr.c: New file.
14809 * sysdeps/tile/tilegx/strnlen.c: New file.
14810 * sysdeps/tile/tilegx/strstr.c: New file.
14811
14812 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14813
14814 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14815
14816 * nptl/tst-setuid3.c: Write errors to stdout.
14817
14818 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14819
14820 * elf/dl-deps.c
14821 (preload): New functions broken out of _dl_map_object_deps.
14822 (_dl_map_object_deps): Remove a nested function. Update call sites.
14823
14824 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14825
14826 [BZ #14138]
14827 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14828 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14829
14830 2014-10-01 Steve Ellcey <sellcey@mips.com>
14831
14832 * sysdeps/mips/strcmp.S: New.
14833
14834 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14835
14836 [BZ #14138]
14837 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14838 (linkat): Likewise.
14839 (mkdirat): Likewise.
14840 (readlinkat): Likewise.
14841 (renameat): Likewise.
14842 (symlinkat): Likewise.
14843 (unlinkat): Likewise.
14844 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14845 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14846 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14847 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14848 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14849 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14850 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14851
14852 2014-09-30 Will Newton <will.newton@linaro.org>
14853
14854 * math/math.h: Define long double math functions if
14855 _LIBC_TEST is defined.
14856 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14857
14858 * localedata/Makefile: Move assignment to tests-special
14859 into an ifdef testing run-built-tests.
14860 * timezone/Makefile: Likewise.
14861
14862 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14863
14864 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14865 with $(BASH) not $(SHELL).
14866
14867 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14868 Matthew LeGendre <legendre1@llnl.gov>
14869
14870 [BZ #17411]
14871 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14872 l_reloc_result.
14873
14874 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14875
14876 * stdio-common/printf_fp.c
14877 (hack_digit): New function, broken out of ...
14878 (__printf_fp): ... local function here. Update call sites.
14879 hack_digit now takes an additional parameter that is a pointer
14880 to a struct of the referenced locals. Those locals moved inside
14881 the struct and references updated.
14882
14883 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14884
14885 * aclocal.m4: Require autoconf 2.69.
14886 * configure: Regenerated.
14887 * sysdeps/aarch64/configure: Likewise.
14888 * sysdeps/alpha/configure: Likewise.
14889 * sysdeps/arm/armv7/configure: Likewise.
14890 * sysdeps/arm/configure: Likewise.
14891 * sysdeps/ia64/configure: Likewise.
14892 * sysdeps/mach/configure: Likewise.
14893 * sysdeps/mips/configure: Likewise.
14894 * sysdeps/s390/configure: Likewise.
14895 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14897
14898 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14899 file.
14900 * sysdeps/ia64/configure.ac: Likewise.
14901
14902 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14903
14904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14905 specify symbol version for ld.so. Do not include entry for
14906 libpthread.
14907 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14908 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14909 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14910
14911 [BZ #14171]
14912 * Makeconfig [$(build-shared) = yes]
14913 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14914 makefiles.
14915 [$(build-shared) = yes && $(soversions.mk-done) = t]
14916 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14917 [$(build-shared) = yes && $(soversions.mk-done) = t]
14918 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14919 to Makerules.
14920 [$(build-shared) = yes && $(soversions.mk-done) = t]
14921 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14922 here.
14923 [$(build-shared) = yes && $(soversions.mk-done) = t]
14924 (common-generated): Don't append gnu/lib-names.h and
14925 gnu/lib-names.stmp here.
14926 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14927 (lib-names-h-abi): New variable.
14928 [$(build-shared) = yes && $(soversions.mk-done) = t]
14929 (lib-names-stmp-abi): Likewise.
14930 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14931 abi-variants] (before-compile): Append
14932 $(common-objpfx)$(lib-names-h-abi).
14933 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14934 abi-variants] (common-generated): Append gnu/lib-names.h.
14935 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14936 abi-variants] (install-others-nosubdir): Depend on
14937 $(inst_includedir)/$(lib-names-h-abi).
14938 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14939 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14940 [$(build-shared) = yes && $(soversions.mk-done) = t]
14941 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14942 [$(build-shared) = yes && $(soversions.mk-done) = t]
14943 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14944 [$(build-shared) = yes && $(soversions.mk-done) = t]
14945 (common-generated): Append $(lib-names-h-abi) and
14946 $(lib-names-stmp-abi).
14947 * scripts/lib-names.awk: Do not handle multi being set.
14948 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14949 Remove variable.
14950 (abi-lp64_be-ld-soname): Likewise.
14951 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14952 Likewise.
14953 (abi-hard-ld-soname): Likewise.
14954 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14955 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14956 Remove variable.
14957 (abi-o32_hard-ld-soname): Likewise.
14958 (abi-o32_soft_2008-ld-soname): Likewise.
14959 (abi-o32_hard_2008-ld-soname): Likewise.
14960 (abi-n32_soft-ld-soname): Likewise.
14961 (abi-n32_hard-ld-soname): Likewise.
14962 (abi-n32_soft_2008-ld-soname): Likewise.
14963 (abi-n32_hard_2008-ld-soname): Likewise.
14964 (abi-n64_soft-ld-soname): Likewise.
14965 (abi-n64_hard-ld-soname): Likewise.
14966 (abi-n64_soft_2008-ld-soname): Likewise.
14967 (abi-n64_hard_2008-ld-soname): Likewise.
14968 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14969 Likewise.
14970 (abi-64-v2-ld-soname): Likewise.
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14972 ld.so entries.
14973 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14974 variable.
14975 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14976 entry.
14977 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14978 variable.
14979 (abi-64-ld-soname): Likewise.
14980 (abi-x32-ld-soname): Likewise.
14981 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14982 entry.
14983 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14984
14985 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14986
14987 [BZ #14138]
14988 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14989 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14990 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14991 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14992 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14993 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14994 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14995 syscall entry for GLIBC_2.2 symbol version.
14996 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14997 Likewise.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14999 (setrlimit): Likewise.
15000 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15001 Likewise.
15002
15003 2014-09-23 Will Newton <will.newton@linaro.org>
15004
15005 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15006 _LINUX_ARM_SYSDEP_H include guard too.
15007 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15008 define.
15009
15010 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15011
15012 * sysdeps/unix/sysv/linux/eventfd.c:
15013 Make first argument unsigned.
15014 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15015 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15016
15017 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15018
15019 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15020 * socket/sys/socket.h: Likewise
15021 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15022
15023 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15024
15025 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15026
15027 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15028
15029 * time/tst-ftime.c: New test.
15030 * time/Makefile (tests): Add tst-ftime.
15031
15032 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15033
15034 * soft-fp/extended.h: Fix comment formatting.
15035 * soft-fp/op-1.h: Likewise.
15036 * soft-fp/op-2.h: Likewise.
15037 * soft-fp/op-4.h: Likewise.
15038 * soft-fp/op-8.h: Likewise.
15039 * soft-fp/op-common.h: Likewise.
15040 * soft-fp/soft-fp.h: Likewise.
15041
15042 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15043
15044 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15045
15046 [BZ #6652]
15047 * Makeconfig (soversions-default-setname): Remove variable.
15048 ($(common-objpfx)soversions.i): Don't pass default_setname to
15049 soversions.awk.
15050 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15051 oldest_abi to abi-versions.awk.
15052 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15053 * config.make.in (oldest-abi): Remove variable.
15054 * configure.ac (--enable-oldest-abi): Remove configure option.
15055 * configure: Regenerated.
15056 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15057 text.
15058 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15059 * scripts/soversions.awk: Do not handle default_setname variable.
15060 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15061 variable.
15062 * sysdeps/mach/hurd/configure: Regenerated.
15063 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15064 variable.
15065 * sysdeps/unix/sysv/linux/configure: Regenerated.
15066
15067 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15068
15069 * elf/Makefile (CFLAGS-interp.c): Remove.
15070 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15071 path string.
15072 * elf/interp.c: Include generated runtime-linker.h
15073
15074 * Makerules (lib%.so): Don't include $(+interp) in
15075 prerequisites.
15076 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15077 * dlfcn/eval.c: Remove file.
15078
15079 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15080 macros.
15081
15082 [BZ #17266]
15083 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15084 4.2 and newer.
15085
15086 [BZ #17370]
15087 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15088
15089 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15090 Jakub Jelinek <jakub@redhat.com>
15091
15092 [BZ #17266]
15093 * libio/stdio.h: Check definition of __fortify_function
15094 instead of __extern_always_inline to include bits/stdio2.h.
15095 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15096 check if __extern_always_inline is defined.
15097 [__USE_MISC || __USE_XOPEN]: Likewise.
15098 [__USE_ISOC99] Likewise.
15099 * misc/sys/cdefs.h (__fortify_function): Define only if
15100 __extern_always_inline is defined.
15101 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15102 __extern_always_inline and __extern_inline only for g++-4.3
15103 and newer or a compatible gcc.
15104
15105 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15106
15107 [BZ #17371]
15108 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15109 last change to handle zero prefix length.
15110
15111 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15112
15113 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15114 _SC_REGEX_VERSION.
15115
15116 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15117 _POSIX_RAW_SOCKETS.
15118
15119 2014-09-13 Allan McRae <allan@archlinux.org>
15120
15121 * po/ru.po: Update Russian translation from translation project.
15122
15123 2014-09-12 Roland McGrath <roland@hack.frob.com>
15124
15125 * locale/programs/locale.c (show_locale_vars): Inline local function
15126 into its sole call site. Clean up some style nits.
15127 (print_item): New function, broken out of ...
15128 (show_info): ... local function here. Clean up style nits.
15129
15130 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15131 out of ...
15132 (set_class_defaults): ... local function set_default here.
15133 Define set_default as a macro locally to pass constant parameters.
15134 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15135 rather than a shared local.
15136
15137 * stdlib/rpmatch.c (try): New function, broken out of ...
15138 (rpmatch): ... local function here. Also, prototypify definition.
15139
15140 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15141
15142 * scripts/soversions.awk: Do not handle configuration names.
15143 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15144 vendor and os variables to soversions.awk.
15145 * configure.ac: Do not modify gnu-* host_os.
15146 * configure: Regenerated
15147 * shlib-versions: Remove first column with configuration names.
15148 * nptl/shlib-versions: Likewise.
15149 * nptl_db/shlib-versions: Likewise.
15150 * sysdeps/hppa/shlib-versions: Likewise.
15151 * sysdeps/m68k/shlib-versions: Likewise.
15152 * sysdeps/mach/hurd/shlib-versions: Likewise.
15153 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15154 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15155 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15156 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15157 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15158 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15159 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15160 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15162 Likewise.
15163 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15164 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15165 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15166 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15167 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15168 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15170 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15171
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15173 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15175 Regenerated.
15176 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15178 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15179
15180 * shlib-versions: Remove OS-specific entries. Moved to files in
15181 sysdeps.
15182 * sysdeps/mach/hurd/shlib-versions: New file.
15183 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15184
15185 * nptl/shlib-versions: Remove architecture-specific entries.
15186 Moved to files in sysdeps.
15187 * shlib-versions: Likewise.
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15189 file.
15190 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15191 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15192 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15193 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15194
15195 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15196 (UDP_NO_CHECK6_RX): Likewise.
15197
15198 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15199
15200 * sysdeps/posix/sysconf.c (__sysconf): Spell
15201 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15202
15203 2014-08-12 Florian Weimer <fweimer@redhat.com>
15204
15205 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15206 loading.
15207 * iconv/Versions (__gconv_transliterate): Export for use from
15208 gconv modules.
15209 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15210 (struct __gconv_trans_data, __gconv_trans_fct,
15211 __gconv_trans_context_fct, __gconv_trans_query_fct,
15212 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15213 definitions.
15214 (struct __gconv_step_data): Remove __trans member.
15215 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15216 longer hidden. Remove unused trans_data argument.
15217 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15218 (__gconv_translit_find): Remove declaration.
15219 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15220 prototype.
15221 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15222 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15223 trans_data argument. Add hidden definition.
15224 (__gconv_translit_find): Remove.
15225 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15226 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15227 * iconv/skeleton.c: Remove transliteration initialization.
15228 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15229 __gconv_step_data initialization.
15230 * libio/iofwide.c (__libio_translit_): Remove.
15231 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15232 * wcsmbs/btowc.c (__btowc): Likewise.
15233 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15234 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15235 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15236 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15237 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15238 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15239 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15240 * wcsmbs/wctob.c (wctob): Likewise.
15241
15242 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15243
15244 [BZ #16194]
15245 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15246 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15247 register usage.
15248 * sysdeps/x86/Makefile: Adjust.
15249
15250 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15251 Roland McGrath <roland@hack.frob.com>
15252
15253 * locale/weight.h: Add include guard.
15254 (findidx): Make static rather than auto; take new parameters
15255 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15256 * locale/weightwc.h: Likewise.
15257 * posix/fnmatch_loop.c
15258 (FCT): Change type of EXTRA from int32_t to wint_t.
15259 Don't include either header inside the function.
15260 Call FINDIDX rather than findidx, and pass new arguments.
15261 #undef FINDIDX at the end of the file.
15262 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15263 FINDIDX before including fnmatch_loop.c for the non-wide version.
15264 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15265 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15266 for the wide version.
15267 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15268 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15269 Pass new arguments to findidx.
15270 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15271 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15272 Don't #include it inside the function. Pass new arguments to findidx.
15273 * posix/regex_internal.h
15274 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15275 (re_string_elem_size_at): Don't #include it inside the function.
15276 Pass new arguments to findidx.
15277 * string/strcoll_l.c: #include WEIGHT_H at top level.
15278 (get_next_seq): Don't #include it inside the function.
15279 Pass new arguments to findidx.
15280 (get_next_seq_nocache): Likewise.
15281 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15282 (STRXFRM): Don't #include it inside the function.
15283 Pass new arguments to findidx.
15284
15285 2014-09-11 Florian Weimer <fweimer@redhat.com>
15286
15287 [BZ #17344]
15288 * malloc/malloc.c (unlink): Turn asserts into a call to
15289 malloc_printerr.
15290
15291 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15292
15293 [BZ #17370]
15294 * libio/wfileops (do_ftell_wide): Free OUT.
15295
15296 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15297
15298 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15299
15300 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15301
15302 [BZ #17363]
15303 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15304 group if the current group is empty.
15305
15306 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15307
15308 * benchtests/bench-memset.c (test_main): Add more test from size
15309 from 32 to 512 bytes.
15310 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15311 Add POWER8 memset object.
15312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15313 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15314 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15315 implementation.
15316 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15317 Likewise.
15318 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15319 multiarch POWER8 memset optimization.
15320 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15321 POWER8 memset optimization.
15322
15323 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15324 Remove bzero multiarch objects.
15325 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15326 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15327 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15328 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15329 Remove define.
15330 [__bzero]: Redefine to specific name.
15331 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15332 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15333 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15334 define.
15335 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15336 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15337
15338 2014-09-10 Florian Weimer <fweimer@redhat.com>
15339
15340 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15341 warnings into errors.
15342
15343 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15344 __cxa_thread_atexit_impl prototype.
15345
15346 2014-09-09 Steve Ellcey <sellcey@mips.com>
15347
15348 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15349 Fix capitalization of error message.
15350
15351 2014-09-09 Steve Ellcey <sellcey@mips.com>
15352
15353 * sysdeps/mips/preconfigure: Modify ABI tests.
15354
15355 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15356
15357 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15358
15359 2014-09-07 Roland McGrath <roland@hack.frob.com>
15360 Carlos O'Donell <carlos@systemhalted.org>
15361
15362 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15363 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15364 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15365 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15366 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15367 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15368 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15369 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15370 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15371 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15372 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15373 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15374 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15375 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15376 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15377 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15378 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15379 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15380 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15381 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15382 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15383 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15384 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15385 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15386 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15387 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15388 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15389 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15390 Deconditionalize the code that was previously under [RESET_PID].
15391 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15392 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15393 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15394 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15395 include sysdep.h.
15396
15397 2014-09-08 Allan McRae <allan@archlinux.org>
15398
15399 * version.h (RELEASE): Set to "development".
15400 (VERSION): Set to "2.20.90"
15401
15402 2014-09-07 Allan McRae <allan@archlinux.org
15403
15404 * version.h (RELEASE): Set to "stable".
15405 (VERSION): Set to "2.20"
15406 * include/features.h (__GLIBC_MINOR__): Set to 20.
15407
15408 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15409 Liebler.
15410
15411 * po/ko.po: Update Korean translation from translation project.
15412
15413 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15414
15415 [BZ #17354]
15416 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15417 macro for handling signed relocations.
15418
15419 2014-09-03 Florian Weimer <fweimer@redhat.com>
15420
15421 [BZ #17325]
15422 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15423 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15424 assert.
15425 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15426 * iconvdata/ibm935.c (BODY): Likewise.
15427 * iconvdata/ibm937.c (BODY): Likewise.
15428 * iconvdata/ibm939.c (BODY): Likewise.
15429 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15430 assert.
15431 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15432 script.
15433 * iconvdata/run-iconv-test.sh: New test loop for checking for
15434 decoder crashers.
15435
15436 2014-09-02 Khem Raj <raj.khem@gmail.com>
15437
15438 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15439 libm_hidden_ver.
15440
15441 2014-09-01 Allan McRae <allan@archlinux.org>
15442
15443 * po/eo.po: Update Esperanto translation from translation project.
15444
15445 * po/ca.po: Update Catalan translation from translation project.
15446
15447 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15448
15449 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15450 __proc_dostop call.
15451
15452 2014-08-27 Mark Wielaard <mjw@redhat.com>
15453
15454 [BZ #17319]
15455 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15456 to call set_thread_area instead of hand written asm.
15457 (__NR_set_thread_area): Removed define.
15458 (TLS_FLAG_WRITABLE): Likewise.
15459 (__ASSUME_SET_THREAD_AREA): Remove check.
15460 (TLS_EBX_ARG): Remove define.
15461 (TLS_LOAD_EBX): Likewise.
15462
15463 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15464
15465 Simplify atomicity of socket creation in bind.
15466
15467 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15468 looking up the name after linking the file.
15469
15470 2014-08-27 Allan McRae <allan@archlinux.org>
15471
15472 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15473
15474 2014-08-26 Florian Weimer <fweimer@redhat.com>
15475
15476 [BZ #17187]
15477 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15478 trans_compare, open_translit, __gconv_translit_find):
15479 Remove module loading code.
15480
15481 2014-08-26 Allan McRae <allan@archlinux.org>
15482
15483 * po/vi.po: Update Vietnamese translation from translation project.
15484
15485 * po/uk.po: Update Ukrainian translation from translation project.
15486
15487 * po/fr.po: Update French translation from translation project.
15488
15489 * po/ru.po: Update Russian translation from translation project.
15490
15491 * po/pl.po: Update Polish translation from translation project.
15492
15493 * po/cs.po: Update Czech translation from translation project.
15494
15495 * po/de.po: Update German translation from translation project.
15496
15497 * po/bg.po: Update Bulgarian translation from translation project.
15498
15499 * po/sv.po: Update Sweedish translation from translation project.
15500
15501 * po/nl.po: Update Dutch translation from translation project.
15502
15503 * po/es.po: Update Spanish translation from translation project.
15504
15505 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15506
15507 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15508
15509 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15510 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15511 (CPPFLAGS-iconvconfig): Likewise.
15512 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15513
15514 * include/libc-symbols.h: Remove unnecessary check for
15515 NOT_IN_libc.
15516 * nptl/pthreadP.h: Likewise.
15517 * sysdeps/aarch64/setjmp.S: Likewise.
15518 * sysdeps/alpha/setjmp.S: Likewise.
15519 * sysdeps/arm/sysdep.h: Likewise.
15520 * sysdeps/i386/setjmp.S: Likewise.
15521 * sysdeps/m68k/setjmp.c: Likewise.
15522 * sysdeps/posix/getcwd.c: Likewise.
15523 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15524 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15525 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15526 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15527 * sysdeps/sh/sh3/setjmp.S: Likewise.
15528 * sysdeps/sh/sh4/setjmp.S: Likewise.
15529 * sysdeps/unix/alpha/sysdep.h: Likewise.
15530 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15531 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15532 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15533 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15538 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15541 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15543 * sysdeps/x86_64/setjmp.S: Likewise.
15544
15545 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15546
15547 [BZ #17263]
15548 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15549 <stdint.h>.
15550 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15551 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15552
15553 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15554
15555 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15556
15557 [BZ #17262]
15558 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15559 and __x86_64__ when disabling x87 inline functions.
15560
15561 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15562
15563 [BZ #17259]
15564 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15565 asm statement with __cpuid_count.
15566
15567 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15568
15569 * configure.ac: Change __ehdr_start code to dereference the struct.
15570 Run readelf on the output to look for relocations.
15571 * configure: Regenerated.
15572
15573 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15574
15575 [BZ #17261]
15576 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15577 value to 0.
15578 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15579
15580 2014-08-12 Roland McGrath <roland@hack.frob.com>
15581
15582 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15583
15584 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15585
15586 [BZ #16892]
15587 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15588 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15589
15590 2014-08-12 Sean Anderson <seanga2@gmail.com>
15591
15592 * malloc/malloc.c: Fix typo in comment.
15593
15594 2014-08-09 Allan McRae <allan@archlinux.org>
15595
15596 * Regenerate libc.po.
15597
15598 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15599
15600 * intl/tst-gettext2.sh: Check every lang file for creation.
15601
15602 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15603
15604 * sysdeps/aarch64/fpu/math_private.h
15605 (libc_feholdsetround_noex_aarch64_ctx): New function.
15606
15607 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15608
15609 * sysdeps/arm/armv6/strcpy.S (strcpy):
15610 Fix performance issue in misaligned cases.
15611
15612 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15613
15614 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15615 Move definition from termios.h.
15616 (struct termio): Likewise.
15617 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15618 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15619 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15620 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15621 Likewise.
15622 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15623 Move definition to ioctl-types.h
15624 (struct termio): Likewise.
15625 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15626 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15627 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15628 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15629 Likewise.
15630
15631 2014-08-05 Richard Henderson <rth@redhat.com>
15632
15633 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15634 exceptions.
15635 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15636 Add fraiseexcpt.
15637 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15638 Use __feraiseexcept.
15639 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15640 Protect libm symbols with IS_IN_libm.
15641
15642 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15643
15644 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15645
15646 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15647
15648 2014-08-04 Will Newton <will.newton@linaro.org>
15649
15650 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15651 file.
15652
15653 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15654
15655 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15656 variants for each function.
15657
15658 2014-08-04 Roland McGrath <roland@hack.frob.com>
15659
15660 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15661 appended ...
15662 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15663 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15664 appended ...
15665 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15666 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15667 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15668 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15669 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15670 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15671 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15672 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15673 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15674 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15675 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15676 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15677 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15678 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15679 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15680 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15681 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15682 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15683 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15684 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15685 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15686 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15687 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15688 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15689 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15690 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15691 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15692 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15693 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15694 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15695 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15696 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15697 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15698 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15699 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15700 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15701 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15702 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15703 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15704 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15705 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15706 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15707 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15708 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15709 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15710 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15711 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15712 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15713 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15714 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15715 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15716 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15717 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15718 Update #include.
15719 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15720 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15721
15722 2014-08-04 Roland McGrath <roland@hack.frob.com>
15723
15724 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15725 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15726 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15727 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15728 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15729 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15730
15731 2014-08-04 Roland McGrath <roland@hack.frob.com>
15732
15733 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15734 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15735 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15736 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15737
15738 2014-08-04 Roland McGrath <roland@hack.frob.com>
15739
15740 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15741 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15742 (__libc_vfork): Define function under this name.
15743 (__vfork): Define as an alias.
15744 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15745 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15746
15747 2014-08-04 Roland McGrath <roland@hack.frob.com>
15748
15749 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15750 that was previously under [RESET_PID].
15751 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15752
15753 2014-08-04 Andreas Schwab <schwab@suse.de>
15754
15755 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15756
15757 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15758
15759 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15760 (main): Likewise.
15761
15762 2014-08-01 Roland McGrath <roland@hack.frob.com>
15763
15764 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15765
15766 2014-08-01 Richard Henderon <rth@redhat.com>
15767
15768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15769 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15770 typo in exact zero test.
15771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15772 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15774
15775 2014-08-01 Roland McGrath <roland@hack.frob.com>
15776
15777 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15778 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15779 * sysdeps/arm/sysdep.h: ... here.
15780 [!__ASSEMBLER__]: Include <stdint.h>.
15781
15782 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15783
15784 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15785 (HAVE_WCTYPE_H): Likewise.
15786 (HAVE_ISWCTYPE): Likewise.
15787 (ENABLE_NLS): Likewise.
15788 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15789 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15790
15791 * posix/regex_internal.c: Check if DEBUG is defined and is
15792 set.
15793
15794 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15795 (HAVE_MBSRTOWCS): Likewise.
15796 * posix/fnmatch.c: Include string.h unconditionally.
15797
15798 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15799
15800 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15801 reversal.
15802
15803 2014-07-31 Roland McGrath <roland@hack.frob.com>
15804
15805 * sysdeps/generic/safe-fatal.h: New file.
15806 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15807 * nptl/forward.c: Include it.
15808 (__pthread_unwind): Use __safe_fatal as default action, rather
15809 than a bogus use of INTERNAL_SYSCALL that could never work.
15810
15811 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15812 * configure.ac (libc_cv_builtin_trap): New test.
15813 * configure: Regenerated.
15814 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15815 (ABORT_INSTRUCTION): Define using __builtin_trap.
15816
15817 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15818 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15819 * sysdeps/nptl/nptl-signals.h: New file.
15820 * nptl/pthreadP.h: Include <nptl-signals.h>.
15821
15822 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15823
15824 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15825 (ONE_DIRECTION): Define.
15826 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15827 (ONE_DIRECTION): Define.
15828 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15829 (ONE_DIRECTION): Define.
15830
15831 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15832
15833 * sysdeps/s390/Makefile: Delete file.
15834 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15835 * sysdeps/s390/__longjmp.c: Delete file.
15836 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15837 Remove fields __flags and __reserved.
15838 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15839 and add versioning.
15840 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15841 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15842 * sysdeps/s390/rtld-setjmp.S: Likewise.
15843 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15844 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15845 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15846 * sysdeps/s390/s390-32/setjmp.S: ... here.
15847 Add versioning.
15848 (__sigsetjmp): Remove setting __flags field.
15849 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15850 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15851 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15852 * sysdeps/s390/s390-64/setjmp.S: ... here.
15853 Add versioning.
15854 (__sigsetjmp): Remove setting __flags field.
15855 * sysdeps/s390/setjmp.S: Delete file.
15856 * sysdeps/s390/sigjmp.c: Likewise.
15857 * sysdeps/s390/v1-longjmp.c: Likewise.
15858 * sysdeps/s390/v1-setjmp.h: Likewise.
15859 * sysdeps/s390/v1-sigjmp.c: Likewise.
15860 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15861 Remove v1-longjmp_chk.
15862 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15863 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15864 Include debug/longjmp_chk.c and add versioning.
15865 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15866 Include nptl/pt-longjmp.c and add versioning.
15867 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15868 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15869 Include __longjmp.c.
15870 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15871 Move to ...
15872 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15873 (__getcontext): Remove setting __flags field.
15874 Add versioning.
15875 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15876 Don't restore upper high grps.
15877 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15878 Likewise.
15879 (__swapcontext): Remove setting uc_flags field.
15880 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15881 Delete file.
15882 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15883 Include __longjmp.c.
15884 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15885 Move to ...
15886 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15887 (__getcontext): Remove setting __flags field.
15888 Add versioning.
15889 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15890 (__swapcontext): Remove setting uc_flags field.
15891 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15892 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15893 Remove fields uc_high_gprs and __reserved.
15894 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15895 New file with reverted content.
15896 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15897 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15898 Regenerated.
15899 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15900 Regenerated.
15901
15902 2014-07-31 Andreas Schwab <schwab@suse.de>
15903
15904 * config.h.in (HAVE_IFUNC): Define to 0.
15905 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15906 definedness.
15907
15908 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15909
15910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15911 memmove-avx-unaligned, memcpy-avx-unaligned and
15912 mempcpy-avx-unaligned.
15913 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15914 Add tests for AVX memcpy functions.
15915 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15916 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15917 memcpy_chk.
15918 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15919 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15920 memmove_chk.
15921 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15922 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15923 mempcpy_chk.
15924 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15925 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15926 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15927
15928 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15929
15930 [BZ #17213]
15931 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15932 powerpc64le.
15933
15934 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15935
15936 [BZ #16839]
15937 * manual/llio.texi: Add section about open file description locks.
15938 * manual/examples/ofdlocks.c: Example of open file description
15939 lock usage.
15940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15941 F_OFD_SETLK, and F_OFD_SETLKW.
15942
15943 2014-07-23 Allan McRae <allan@archlinux.org>
15944
15945 * po/es.po: Update Spanish translation from translation project.
15946
15947 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
15948
15949 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15950
15951 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
15952
15953 [BZ #17078]
15954 * sysdeps/arm/dl-machine.h (elf_machine_rela)
15955 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15956 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15957
15958 2014-07-17 Joseph Myers <joseph@codesourcery.com>
15959
15960 [BZ #17088]
15961 * math/fesetenv.c (__fesetenv)
15962 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15963 * math/feupdateenv.c (__feupdateenv)
15964 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15965
15966 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15967 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15968 (__ASSUME_SOCKETCALL): Do not define.
15969
15970 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15971 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15972 (__ASSUME_SOCKETCALL): Do not define.
15973 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15974 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15975 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15976 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15977 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15978 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15979 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15980 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15981
15982 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15983 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15984 (__ASSUME_SOCKETCALL): Do not define.
15985 (__ASSUME_IPC64): Define unconditionally.
15986 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15987 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15988 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15989 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15990 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15991 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15992 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15993 Likewise.
15994
15995 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15996 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15997 (__ASSUME_SOCKETCALL): Do not define.
15998 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15999 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16000 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16001 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16002 (__ASSUME_REQUEUE_PI): Define unconditionally.
16003 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16004 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16005 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16006 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16007 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16008 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16009
16010 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16011 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16012 (__ASSUME_SOCKETCALL): Do not define.
16013 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16014 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16015 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16016 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16017 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16018 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16019
16020 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16021 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16022 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16023 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16024 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16025 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16026 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16027 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16028 (__ASSUME_GETCPU_SYSCALL): Likewise.
16029
16030 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16031 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16032 cases for individual architectures.
16033 * sysdeps/gnu/configure: Regenerated.
16034 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16035 LIBC_SLIBDIR_RTLDDIR.
16036 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16037 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16038 LIBC_SLIBDIR_RTLDDIR.
16039 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16041 LIBC_SLIBDIR_RTLDDIR.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16043 Regenerated.
16044 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16045 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16046 file.
16047 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16048 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16049 file.
16050 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16051 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16054
16055 * sysdeps/aarch64/shlib-versions: Move to ...
16056 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16057 * sysdeps/alpha/shlib-versions: Move to ...
16058 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16059 * sysdeps/arm/shlib-versions: Move to ...
16060 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16061 * sysdeps/hppa/shlib-versions: Move all contents except for
16062 libgcc_s entry to ...
16063 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16064 entry from ...
16065 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16066 * sysdeps/ia64/shlib-versions: Move to ...
16067 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16068 entry from ...
16069 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16070 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16071 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16072 * sysdeps/microblaze/shlib-versions: Move to ...
16073 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16074 * sysdeps/mips/shlib-versions: Move to ...
16075 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16076 entry from ...
16077 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16078 * sysdeps/tile/shlib-versions: Move to ...
16079 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16080 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16081 from ...
16082 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16083 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16084 entry from ...
16085 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16086
16087 2014-07-17 Will Newton <will.newton@linaro.org>
16088
16089 * sysdeps/arm/bits/atomic.h
16090 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16091 (__arch_compare_and_exchange_bool_16_int): Likewise.
16092 (__arch_compare_and_exchange_bool_64_int): Likewise.
16093
16094 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16095 into an #else block.
16096
16097 2014-07-16 Roland McGrath <roland@hack.frob.com>
16098
16099 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16100 just Linux configurations. Test empirically that the compiler sets
16101 __ARM_EABI__, rather than using the tuple to decide.
16102 * sysdeps/arm/preconfigure: Regenerated.
16103 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16104 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16105 contents appended ...
16106 * sysdeps/arm/configure.ac: ... here.
16107 * sysdeps/arm/configure: Regenerated.
16108
16109 2014-07-15 Roland McGrath <roland@hack.frob.com>
16110
16111 * nptl/pthread_kill.c: New file.
16112 * nptl/pthread_sigmask.c: New file.
16113 * nptl/pthread_sigqueue.c: New file.
16114
16115 * sysdeps/nptl/lowlevellock.h: New file.
16116 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16117 * sysdeps/nptl/lowlevellock-futex.h: New file.
16118
16119 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16120 Remove dead declarations.
16121
16122 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16123
16124 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16125 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16126 config-cflags-avx2.
16127 * sysdeps/x86_64/configure.ac: Likewise.
16128 * sysdeps/i386/configure: Regenerated.
16129 * sysdeps/x86_64/configure: Likewise.
16130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16131 memset-avx2 only if config-cflags-avx2 is yes.
16132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16133 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16134 defined.
16135 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16136 only if HAVE_AVX2_SUPPORT is defined.
16137 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16138
16139 2014-07-14 Alan Modra <amodra@gmail.com>
16140
16141 [BZ #17153]
16142 * elf/elf.h (DT_PPC64_NUM): Correct value.
16143 * NEWS: Add to fixed bug list.
16144
16145 2014-07-13 Jim Meyering <meyering@fb.com>
16146
16147 [BZ 17150]
16148 regex: don't deref NULL upon heap allocation failure
16149 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16150 failure in one more place.
16151 To trigger the segfault, configure grep -with-included-regex,
16152 build it, and run these commands:
16153 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16154
16155 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16156
16157 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16158
16159 2014-07-11 Richard Henderson <rth@redhat.com>
16160
16161 * sysdeps/aarch64/libm-test-ulps: Update.
16162
16163 2014-07-10 Florian Weimer <fweimer@redhat.com>
16164
16165 [BZ #17135]
16166 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16167 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16168 (__nptl_setxid): Initialize error member. Call
16169 __nptl_setxid_error.
16170 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16171 * nptl/descr.h (struct xid_command): Add error member.
16172 * nptl/tst-setuid3.c: New file.
16173 * nptl/Makefile (tests): Add it.
16174
16175 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16176
16177 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16178 New define.
16179 (__lll_trylock): Use __lll_base_trylock.
16180 (__lll_cond_trylock): Likewise.
16181
16182 2014-07-10 Roland McGrath <roland@hack.frob.com>
16183
16184 * nptl/pthread_create.c (start_thread): Use atomic_or and
16185 lll_futex_wake directly rather than lll_robust_dead.
16186 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16187 (lll_robust_dead): Macro removed.
16188 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16189 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16190 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16191 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16192 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16193 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16194 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16195 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16196 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16197 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16198 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16199 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16200 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16201 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16203
16204 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16205 Use atomic_compare_and_exchange_val_acq directly rather than
16206 lll_robust_trylock.
16207 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16208 (__lll_robust_trylock, lll_robust_trylock): Removed.
16209 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16210 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16211 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16212 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16213 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16214 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16215 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16216 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16217 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16218 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16219 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16220 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16221 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16222 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16223
16224 2014-07-02 Florian Weimer <fweimer@redhat.com>
16225
16226 * manual/locale.texi (Locale Names): New section documenting
16227 locale name syntax. Adjust menu and node chaining accordingly.
16228 (Choosing Locale): Reference Locale Names, Locale Categories.
16229 Mention setting LC_ALL=C. Reflect that name syntax is now
16230 documented.
16231 (Locale Categories): New section title. Reference Locale Names.
16232 LC_ALL is an environment variable, but not a category.
16233 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16234 description, now in Locale Name. Reference that section. Locale
16235 name syntax is now documented.
16236
16237 2014-07-02 Florian Weimer <fweimer@redhat.com>
16238
16239 [BZ #17137]
16240 * locale/findlocale.c (name_present, valid_locale_name): New
16241 functions.
16242 (_nl_find_locale): Use the loc_name variable to store name
16243 candidates. Call name_present and valid_locale_name to check and
16244 validate locale names. Return an error if the locale is invalid.
16245
16246 2014-07-02 Florian Weimer <fweimer@redhat.com>
16247
16248 * locale/setlocale.c (setlocale): Use strdup for allocating
16249 composite name copy.
16250
16251 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16252
16253 Sync up with gnulib.
16254 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16255 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16256 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16257 and _GL_ARG_NONNULL.
16258 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16259 [!_LIBC]: Include code for Windows and Cygwin.
16260 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16261 Include prototype for int strerror_r.
16262 [!_LIBC] (is_open): New function.
16263 (flush_stdout): New function.
16264 (print_errno_message): Use it.
16265 (error): Likewise.
16266 (error_at_line): Likewise.
16267 (error_tail) Add function attribute macros. Use
16268 __builtin_expect.
16269
16270 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16271
16272 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16273
16274 * io/ftw.c: Include sys/param.h unconditionally.
16275
16276 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16277
16278 [BZ #17125]
16279 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16280 libc_freeres_ptr.
16281 (freecache): New function to free CACHE on exit.
16282
16283 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16284 initialization.
16285
16286 2014-07-09 David S. Miller <davem@davemloft.net>
16287
16288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16289
16290 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16291 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16292 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16293 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16294 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16295 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16296 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16297 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16298 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16299 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16300 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16301 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16302 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16303
16304 2014-07-09 Andreas Schwab <schwab@suse.de>
16305
16306 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16307 output.
16308 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16309 (do_test): Likewise.
16310
16311 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16312
16313 2014-07-09 Will Newton <will.newton@linaro.org>
16314
16315 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16316 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16317 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16318 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16319 * sysdeps/hppa/start.S (_start): Likewise.
16320
16321 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16322
16323 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16324
16325 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16326 defined.
16327
16328 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16329
16330 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16331 after checking that it is non-NULL.
16332
16333 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16334
16335 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16336
16337 * sysdeps/powerpc/memmove.c: Remove file.
16338 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16339 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16340 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16341 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16342 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16343 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16344 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16345 string memmove instead of removed powerpc one.
16346
16347 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16348 [weak_alias]: Fix compiler warning due trailing data.
16349 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16350 [weak_alias]: Likewise.
16351 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16352 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16353
16354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16355 (__libc_ifunc_impl_list): Add memmove functions.
16356
16357 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16358
16359 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16360 Remove code.
16361 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16362 Likewise
16363 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16364 Likewise
16365 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16366 Likewise
16367 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16368 Likewise
16369 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16370 Likewise
16371 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16372 Likewise
16373 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16374 Likewise
16375 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16376 Likewise
16377 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16378 Likewise
16379 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16380 Likewise
16381 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16382 Likewise
16383 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16384 Likewise
16385 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16386 Likewise
16387 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16388 Likewise
16389 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16390 Likewise
16391 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16392 Likewise
16393
16394 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16395
16396 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16397 to avoid alignment traps in non-cacheable memory.
16398 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16399
16400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16401 multiarch objects.
16402 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16403 file: multiarch power7 memmove.
16404 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16405 multiarch default memmove.
16406 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16407 multiarch memove for powerpc32/power4.
16408
16409 * string/bcopy.c: Use full path to include memmove.c.
16410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16411 multiarch objects.
16412 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16413 bcopy for powerpc64.
16414 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16415 bcopy for powerpc64.
16416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16417 and memmove implementations.
16418 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16419 optimized multiarch memmove for POWER7/powerpc64.
16420 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16421 default multiarch memmove for powerpc64.
16422 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16423 multiarch for powerpc64.
16424 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16425 for POWER7/powerpc64.
16426 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16427 memmove for POWER7/powerpc64.
16428
16429 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16430 glibc default one.
16431
16432 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16433 __ELF_NATIVE_CLASS equal to 64.
16434
16435 2014-07-07 Roland McGrath <roland@hack.frob.com>
16436
16437 * sysdeps/nptl/lowlevellock.h: File removed.
16438
16439 * NEWS: NPTL is no longer an add-on!
16440 * nptl/internaltypes.h: Moved ...
16441 * sysdeps/nptl/internaltypes.h: ... here.
16442 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16443 * sysdeps/nptl/fork.c: Likewise.
16444 * sysdeps/nptl/gai_misc.h: Likewise.
16445 * sysdeps/nptl/librt-cancellation.c: Likewise.
16446 * sysdeps/nptl/jmp-unwind.c: Likewise.
16447 * sysdeps/nptl/setxid.h: Likewise.
16448 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16449 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16450 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16451 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16452 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16453 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16454 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16455 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16456 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16457 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16458 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16459 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16460 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16461 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16462 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16463 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16464 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16465 * nptl/Makeconfig: Moved ...
16466 * sysdeps/nptl/Makeconfig: ... here.
16467 * nptl/configure: File removed.
16468 * nptl/ANNOUNCE: File removed.
16469 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16470 * sysdeps/unix/sysv/linux/configure: Regenerated.
16471
16472 * nptl/Makefile (routines): Add libc_pthread_init,
16473 libc_multiple_threads, register-atfork and unregister-atfork.
16474 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16475 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16476 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16477 pthread-pi-defines.sym, structsem.sym.
16478 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16479 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16480 [$(subdir) = nptl] (tests): Add tst-setgetname.
16481 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16482 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16483 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16484 [!LIBC_SIGACTION]: Remove aliases.
16485 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16486 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16487 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16488 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16489 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16490 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16491 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16492 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16493 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16494 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16495 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16496 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16497 __libc_allocate_rtsig_private.
16498 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16499 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16500 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16501 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16502 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16503 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16504 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16505 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16506 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16507 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16508 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16509 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16510 * nptl/internaltypes.h: ... here.
16511 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16512 * sysdeps/nptl/jmp-unwind.c: ... here.
16513 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16514 * nptl/libc-lowlevellock.c: ... here.
16515 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16516 * nptl/libc_multiple_threads.c: ... here.
16517 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16518 * nptl/libc_pthread_init.c: ... here.
16519 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16520 * nptl/lowlevelbarrier.sym: ... here.
16521 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16522 * nptl/lowlevelcond.sym: ... here.
16523 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16524 * nptl/lowlevellock.c: ... here.
16525 * nptl/lowlevellock.h: Moved ...
16526 * sysdeps/nptl/lowlevellock.h: ... here.
16527 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16528 * nptl/lowlevelrobustlock.c: ... here.
16529 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16530 * nptl/lowlevelrobustlock.sym: ... here.
16531 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16532 * nptl/lowlevelrwlock.sym: ... here.
16533 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16534 * nptl/pt-fork.c: ... here.
16535 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16536 * nptl/pthread-pi-defines.sym: ... here.
16537 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16538 * nptl/pthread_attr_getaffinity.c: ... here.
16539 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16540 * nptl/pthread_attr_setaffinity.c: ... here.
16541 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16542 * nptl/pthread_mutex_cond_lock.c: ... here.
16543 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16544 Update #include.
16545 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16546 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16547 * nptl/pthread_once.c: ... here, replacing old file.
16548 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16549 * nptl/pthread_yield.c: ... here.
16550 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16551 * nptl/register-atfork.c: ... here.
16552 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16553 * nptl/sem_post.c: ... here.
16554 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16555 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16556 * nptl/sem_timedwait.c: ... here.
16557 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16558 * nptl/sem_trywait.c: ... here.
16559 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16560 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16561 * nptl/sem_wait.c: ... here.
16562 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16563 * nptl/structsem.sym: ... here.
16564 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16565 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16566 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16567 * nptl/unregister-atfork.c: ... here.
16568 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16569 * nptl/unwindbuf.sym: ... here.
16570 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16571 * sysdeps/nptl/fork.c: ... here.
16572 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16573 * sysdeps/nptl/fork.h: ... here.
16574 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16575 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16576 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16577 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16578 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16579 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16580 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16581 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16582 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16583 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16584 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16585 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16586 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16587 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16588 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16589 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16590 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16591 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16592 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16593 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16594 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16595 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16596 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16597 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16598 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16599 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16600 * sysdeps/unix/sysv/linux/raise.c: ... here.
16601 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16602 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16603 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16604 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16605 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16606 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16607 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16608 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16609 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16610 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16611 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16612 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16613 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16614 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16615 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16616
16617 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16618
16619 * sysdeps/generic/memcopy.h: Add comment for
16620 MEMCPY_OK_FOR_FWD_MEMMOVE.
16621
16622 2014-07-04 Will Newton <will.newton@linaro.org>
16623
16624 * string/memchr.c: Merge from gnulib.
16625 [_LIBC]: Remove conditionals.
16626 (__ptr_t): Remove define.
16627 (LONG_MAX_32_BITS): Likewise.
16628 (LONG_MAX): Likewise.
16629 (MEMCHR): Use ANSI prototype and optimize algorithm.
16630
16631 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16632
16633 2014-07-03 Roland McGrath <roland@hack.frob.com>
16634
16635 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16636 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16637
16638 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16639 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16640 in a bare environment with no <stdlib.h> installed.
16641 * sysdeps/nptl/configure: Regenerated.
16642
16643 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16644
16645 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16646 AC_EGREP_CPP for kernel header checks, so they only succeed if
16647 including <linux/version.h> actually works right.
16648 * sysdeps/unix/sysv/linux/configure: Regenerated.
16649
16650 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16651 value so it's not diagnosed as unused.
16652
16653 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16654 thing) with "ifeq ($(subdir),rt)".
16655
16656 2014-07-03 Richard Henderson <rth@redhat.com>
16657
16658 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16659 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16660 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16661
16662 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16663 (math_force_eval): New.
16664
16665 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16666 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16667
16668 * sysdeps/alpha/fpu/s_round.c: Remove file.
16669 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16670
16671 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16672 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16673 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16674 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16675 (_dl_start, print_statistics): Likewise.
16676 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16677 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16678
16679 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16680 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16681 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16682 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16683 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16684 (HP_SMALL_TIMING_AVAIL): Define.
16685 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16686 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16687 (HP_SMALL_TIMING_AVAIL): Define.
16688 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16689 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16690
16691 * sysdeps/aarch64/hp-timing.h: New file.
16692
16693 * sysdeps/generic/hp-timing.h: Remove dead comment.
16694 * sysdeps/generic/hp-timing-common.h: New file.
16695 * sysdeps/alpha/hp-timing.h: Include it.
16696 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16697 * sysdeps/i386/i686/hp-timing.h: Likewise.
16698 * sysdeps/ia64/hp-timing.h: Likewise.
16699 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16700 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16701 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16702 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16703 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16704 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16705 (hp_timing_t): New.
16706
16707 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16708 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16709 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16710 * elf/rtld.c (_dl_start_final): Likewise.
16711 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16712 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16713 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16714 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16715 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16716 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16717 (HP_TIMING_DIFF_INIT): Remove.
16718 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16719 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16720 (HP_TIMING_DIFF_INIT): Remove.
16721 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16722 * sysdeps/i386/i686/hp-timing.c: Remove file.
16723 * sysdeps/x86_64/hp-timing.c: Remove file.
16724 * sysdeps/ia64/hp-timing.c: Remove file.
16725 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16726 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16727 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16728 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16729
16730 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16731 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16732 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16733 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16734 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16735 (HP_TIMING_ACCUM): Remove.
16736 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16737 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16738 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16739
16740 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16741 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16742 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16743 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16744 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16745 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16746 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16747 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16748
16749 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16750
16751 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16752
16753 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16754
16755 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16756
16757 Sync up with gettext.
16758 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16759 [_MSC_VER]: Include malloc.h
16760 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16761 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16762 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16763 TEMP_FAILURE_RETRY. Cast return of alloca.
16764 [!_LIBC] Call gl_rwlock_init.
16765 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16766
16767 2014-07-02 Roland McGrath <roland@hack.frob.com>
16768
16769 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16770 before checking its value.
16771
16772 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16773
16774 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16775
16776 * debug/memcpy_chk.c: Don't include pagecopy.h.
16777 * debug/mempcpy_chk.c: Likewise.
16778 * string/memcpy.c: Likewise.
16779 * string/memmove.c: Likewise.
16780 * sysdeps/powerpc/memmove.c: Likewise.
16781 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16782 definition of PAGE_COPY_FWD_MAYBE here...
16783 * sysdeps/generic/pagecopy.h: ... from here.
16784 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16785
16786 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16787 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16788
16789 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16791 optimizations.
16792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16793 (__libc_ifunc_impl_list): Likewise.
16794 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16795 multiarch strcat for PPC64.
16796 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16797 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16798
16799 2014-07-02 Roland McGrath <roland@hack.frob.com>
16800
16801 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16802
16803 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16804
16805 * intl/loadmsgcat.c: Remove declaration of
16806 get_sysdep_segment_value.
16807 (get_sysdep_segment_value): Use ISO C style.
16808 (_nl_load_domain): Use ISO C style. Get rid of redundant
16809 semicolon. Fix typo and formatting in comment.
16810 (_nl_unload_domain): Use ISO C style.
16811
16812 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16813
16814 2014-07-02 Will Newton <will.newton@linaro.org>
16815
16816 * malloc/obstack.c: Merge from gnulib master.
16817 [HAVE_CONFIG_H]: Remove conditional code.
16818 [!_LIBC]: Include config.h.
16819 [!ELIDE_CODE]: Don't include inttypes.h, include
16820 stdint.h unconditionally.
16821 (print_and_abort): Mark as _Noreturn.
16822 (_obstack_allocated_p): Mark as __attribute_pure__.
16823 (obstack_free): Rename to __obstack_free.
16824 [!__attribute__]: Remove conditional code.
16825 * malloc/obstack.h: Merge from gnulib master.
16826 [__cplusplus]: Move conditional down.
16827 [!__attribute_pure__]: Define __attribute_pure__ here
16828 if it is not already defined.
16829 (_obstack_memory_used): Mark as __attribute_pure__.
16830 [!__obstack_free]: Define as obstack_free.
16831 [__GNUC__]: Remove check for ancient NeXT gcc.
16832
16833 2014-07-02 Will Newton <will.newton@linaro.org>
16834 Paul Eggert <eggert@cs.ucla.edu>
16835
16836 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16837
16838 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16839
16840 * resolv/gethnamaddr.c: Add comment warning that the file is
16841 not maintained.
16842
16843 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16844
16845 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16846 entries.
16847
16848 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16849 entry for aio_cancel and aio_cancel64.
16850 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16851 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16852 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16853 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16854 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16855 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16856 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16857 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16858 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16859 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16860 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16861 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16862 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16863
16864 2014-07-01 Roland McGrath <roland@hack.frob.com>
16865
16866 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16867 * nptl/pthread_mutex_lock.c: Likewise.
16868 * nptl/pthread_mutex_timedlock.c: Likewise.
16869 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16870
16871 2014-07-01 Richard henderson <rth@redhat.com>
16872
16873 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16874 (__isnan, __isnanl): Remove.
16875 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16876
16877 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16878
16879 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16880
16881 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16882
16883 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16884
16885 * resolv/nss_dns/dns-host.c (getanswer_r)
16886 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16887
16888 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16889
16890 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16891 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16892 undefine.
16893 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16894 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16895
16896 2014-07-01 Roland McGrath <roland@hack.frob.com>
16897
16898 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16899 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16900
16901 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16902 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16903
16904 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16905 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16906 ... here.
16907 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16908 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16909
16910 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16911 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16912 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16913 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16914
16915 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16916 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16917 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16918 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16919 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16920 Moved ...
16921 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16922 ... here.
16923 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16924 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16925 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16926 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16927 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16928 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16929 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16930 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16931 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16932 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16933 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16934 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16935 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16936 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16937 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16938 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16939 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16940 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16941 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16942 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16943 ... here.
16944 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16945 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16946 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16947 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16948 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16949 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16950 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16951 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16952
16953 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
16954
16955 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16956 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16957 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16958 Add sysdep.
16959
16960 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16961
16962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16963
16964 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16965
16966 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16967 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16968
16969 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16970
16971 * sysdeps/arm/libm-test-ulps: Regenerated.
16972
16973 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16974 Roland McGrath <roland@hack.frob.com>
16975
16976 * test-skeleton.c (signal_handler): Kill the whole process group
16977 before killing the child individually.
16978 (main): Report any failure on `setpgid'.
16979
16980 2014-06-30 Roland McGrath <roland@hack.frob.com>
16981
16982 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16983 from _TLS_H to _ARM_NPTL_TLS_H.
16984 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16985 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16986
16987 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16988
16989 [BZ #16539]
16990 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16991 (__expm1l): Return argument unchanged when small but not
16992 subnormal.
16993
16994 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16995 include macro name.
16996 (_FP_UNPACK_RAW_1_P): Likewise.
16997 (_FP_PACK_RAW_1): Likewise.
16998 (_FP_PACK_RAW_1_P): Likewise.
16999 (_FP_MUL_MEAT_1_wide): Likewise.
17000 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17001 (_FP_MUL_MEAT_1_hard): Likewise.
17002 (_FP_DIV_MEAT_1_imm): Likewise.
17003 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17004 (_FP_DIV_MEAT_1_udiv): Likewise.
17005 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17006 (_FP_UNPACK_RAW_2): Likewise.
17007 (_FP_UNPACK_RAW_2_P): Likewise.
17008 (_FP_PACK_RAW_2): Likewise.
17009 (_FP_PACK_RAW_2_P): Likewise.
17010 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17011 (_FP_MUL_MEAT_2_wide): Likewise.
17012 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17013 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17014 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17015 (_FP_MUL_MEAT_2_gmp): Likewise.
17016 (_FP_DIV_MEAT_2_udiv): Likewise.
17017 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17018 (_FP_FRAC_SRL_4): Likewise.
17019 (_FP_FRAC_SRST_4): Likewise.
17020 (_FP_FRAC_SRS_4): Likewise.
17021 (_FP_UNPACK_RAW_4): Likewise.
17022 (_FP_UNPACK_RAW_4_P): Likewise.
17023 (_FP_PACK_RAW_4): Likewise.
17024 (_FP_PACK_RAW_4_P): Likewise.
17025 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17026 (_FP_MUL_MEAT_4_wide): Likewise.
17027 (_FP_MUL_MEAT_4_gmp): Likewise.
17028 (umul_ppppmnnn): Likewise.
17029 (_FP_DIV_MEAT_4_udiv): Likewise.
17030 (__FP_FRAC_ADD_4): Likewise.
17031 (__FP_FRAC_SUB_3): Likewise.
17032 (__FP_FRAC_SUB_4): Likewise.
17033 (__FP_FRAC_DEC_3): Likewise.
17034 (__FP_FRAC_DEC_4): Likewise.
17035 (__FP_FRAC_ADDI_4): Likewise.
17036 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17037 (_FP_FRAC_SRL_8): Likewise.
17038 (_FP_FRAC_SRS_8): Likewise.
17039
17040 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17041 include macro name.
17042 (FP_UNPACK_RAW_EP): Likewise.
17043 (FP_PACK_RAW_E): Likewise.
17044 (FP_PACK_RAW_EP): Likewise.
17045 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17046 (_FP_ISSIGNAN): Likewise.
17047 (_FP_ADD_INTERNAL): Likewise.
17048 (_FP_FMA): Likewise.
17049 (_FP_CMP): Likewise.
17050 (_FP_SQRT): Likewise.
17051 (_FP_TO_INT): Likewise.
17052 (_FP_FROM_INT): Likewise.
17053 (FP_EXTEND): Likewise.
17054 (_FP_DIV_MEAT_N_loop): Likewise.
17055
17056 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17057
17058 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17059 throughout.
17060
17061 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17062
17063 [BZ #17097]
17064 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17065 result with correct sign in case of exponents that produce
17066 overflow except for X very close to 1.
17067
17068 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17069
17070 mktime: merge #if/#ifdef usage from glibc
17071 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17072 as that works with both Glibc's and Gnulib's style.
17073 See thread starting at Siddhesh Poyarekar's bug report at:
17074 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17075
17076 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17077
17078 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17079 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17080 * sysdeps/tile/tilegx/memmove.c: Remove file.
17081
17082 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17083
17084 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17085 abi-name definition.
17086 * scripts/soversions.awk: Do not handle or generate ABI lines.
17087 * shlib-versions: Remove ABI entries.
17088 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17089 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17090
17091 2014-06-27 Roland McGrath <roland@hack.frob.com>
17092
17093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17094 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17095 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17096 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17097 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17098 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17100 Moved ...
17101 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17102 ... here.
17103 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17104 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17106 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17108 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17110 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17112 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17114 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17116 Moved ...
17117 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17119 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17120 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17121 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17122 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17123 Moved ...
17124 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17125 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17126 Moved ...
17127 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17129 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17131 Moved ...
17132 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17134 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17136 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17138 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17140 Moved ...
17141 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17143 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17144 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17145 Moved ...
17146 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17147 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17148 Moved ...
17149 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17150 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17151 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17152 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17153 Moved ...
17154 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17155 ... here.
17156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17157 Identical file removed.
17158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17159 Moved ...
17160 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17162 Identical file removed.
17163 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17164 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17165 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17166 Moved ...
17167 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17168 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17169 Identical file removed.
17170 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17171 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17172 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17173 Identical file removed.
17174 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17175 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17176 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17177 Identical file removed.
17178 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17179 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17180 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17181 Identical file removed.
17182 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17183 Moved ...
17184 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17186 Identical file removed.
17187 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17188 Moved ...
17189 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17190 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17191 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17192 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17193 Identical file removed.
17194 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17195 Moved ...
17196 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17197 ... here.
17198 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17199 Identical file removed.
17200 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17201 Moved ...
17202 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17203 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17204 Identical file removed.
17205 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17206 Moved ...
17207 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17208 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17209 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17210 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17211 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17212 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17213 Moved ...
17214 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17215 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17216 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17217
17218 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17219 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17220 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17221 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17222 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17223
17224 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17225
17226 [BZ #17092]
17227 * nscd/nscd.c (monitor_child): Return exit status of child
17228 instead of return value from wait syscall.
17229
17230 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17231
17232 * configure.ac (libc_commonpagesize): Remove variable.
17233 (libc_relro_required): Likewise.
17234 (libc_cv_z_relro): Remove configure test.
17235 * configure: Regenerated.
17236 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17237 variable.
17238 (libc_relro_required): Likewise.
17239 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17240 (libc_relro_required): Likewise.
17241 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17242 (libc_relro_required): Likewise.
17243 * sysdeps/arm/preconfigure: Regenerated.
17244 * sysdeps/ia64/preconfigure: Remove file.
17245 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17246 variable.
17247 (libc_relro_required): Likewise.
17248
17249 [BZ #16561]
17250 [BZ #16562]
17251 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17252 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17253 recompute overflowing results in original rounding mode.
17254 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17255 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17256 recompute overflowing results in original rounding mode.
17257 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17258 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17259 recompute overflowing results in original rounding mode.
17260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17261 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17262 recompute overflowing results in original rounding mode.
17263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17264 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17265 recompute overflowing results in original rounding mode.
17266 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17267 (libc_feholdsetround_ctx): New macro.
17268 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17269 * sysdeps/i386/fpu/libm-test-ulps: Update.
17270 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17271
17272 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17273
17274 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17275 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17276 corresponding .cpsetup call.
17277
17278 2014-06-26 Roland McGrath <roland@hack.frob.com>
17279
17280 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17281 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17282 * sysdeps/arm/Makefile [$(subdir) = csu]
17283 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17284 (static-only-routines): Add aeabi_read_tp here.
17285 (shared-only-routines): Add libc-aeabi_read_tp here.
17286 (CFLAGS-libc-start.c): Add -fexceptions here.
17287 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17288 (sysdep_routines, static-only-routines, shared-only-routines):
17289 Don't add to these here.
17290 (CFLAGS-libc-start.c): Likewise.
17291
17292 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17293 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17294 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17295 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17296 * sysdeps/arm/Makefile [$(subdir) = rt]
17297 (librt-sysdep_routines, librt-shared-only-routines):
17298 Append rt-aeabi_unwind_cpp_pr1 here.
17299 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17300 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17301 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17302 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17303 Append nptl-aeabi_unwind_cpp_pr1 here.
17304 (tests): Filter out tst-cleanupx4 here.
17305 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17306 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17307 Don't do those here.
17308
17309 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17310
17311 * scripts/list-sources.sh: Do not handle ports specially.
17312
17313 2014-06-26 Roland McGrath <roland@hack.frob.com>
17314
17315 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17316 * sysdeps/arm/feupdateenv.c: Likewise.
17317
17318 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17319
17320 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17321
17322 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17323 trailing whitespace removed.
17324 * scripts/config.guess: Update to version 2014-03-23.
17325 * scripts/config.sub: Update to version 2014-05-01
17326 * scripts/install-sh: Update to version 2013-12-25.23.
17327 * scripts/move-if-change: Update from gnulib.
17328
17329 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17330
17331 * debug/memmove_chk.c: Remove pagecopy.h include.
17332
17333 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17334
17335 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17336 identical to gnulib mktime.
17337
17338 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17339
17340 * configure.ac: Do not test for machine being rs6000. Do not test
17341 for powerpc*-*soft.
17342 * configure: Regenerated.
17343
17344 [BZ #11505]
17345 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17346 test.
17347 * configure: Regenerated.
17348 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17349 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17350 Remove configure test.
17351 * sysdeps/arm/configure: Regenerated.
17352 * sysdeps/nptl/configure.ac: Do not check
17353 libc_cv_asm_cfi_directives.
17354 * sysdeps/nptl/configure: Regenerated.
17355 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17356 * sysdeps/x86_64/nptl/configure: Remove generated file.
17357 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17358 unconditional.
17359 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17360
17361 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17362
17363 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17364 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17365 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17366 it is defined.
17367
17368 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17369 instead of whether it is defined.
17370 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17371 * sysdeps/hppa/dl-machine.h: Likewise.
17372 * sysdeps/ia64/dl-machine.h: Likewise.
17373 * sysdeps/m68k/dl-machine.h: Likewise.
17374 * sysdeps/microblaze/dl-machine.h: Likewise.
17375 * sysdeps/mips/dl-machine.: Likewise.
17376 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17377 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17378 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17379 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17380 * sysdeps/sh/dl-machine.h: Likewise.
17381 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17382 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17383 * sysdeps/tile/dl-machine.h: Likewise.
17384 * sysdeps/x86_64/dl-machine.h: Likewise.
17385
17386 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17387 code.
17388 (verify_persistent_db): Likewise.
17389
17390 2014-06-26 Roland McGrath <roland@hack.frob.com>
17391
17392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17393 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17395 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17397 Moved ...
17398 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17399 ... here.
17400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17401 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17403 Identical file removed.
17404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17407 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17409 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17411 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17413 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17415 Moved ...
17416 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17418 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17420 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17422 Moved ...
17423 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17425 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17427 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17429 Identical file removed.
17430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17431 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17433 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17435 Moved ...
17436 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17437 ... here.
17438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17439 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17441 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17443 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17445 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17447 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17449 Moved ...
17450 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17452 Moved ...
17453 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17455 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17457 Moved ...
17458 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17460 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17461
17462 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17463 folded into ...
17464 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17465 * sysdeps/unix/sysv/linux/s390/Versions
17466 (libpthread: GLIBC_2.19): New version set.
17467 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17468 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17469 (librt: GLIBC_2.3.3): New version set.
17470 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17471 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17472 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17473 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17474 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17475 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17476 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17477 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17478 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17479 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17480 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17481 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17482 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17483 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17484 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17485 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17486 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17487 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17488 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17489 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17490 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17491 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17492 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17493 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17494 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17495 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17496 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17497 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17498 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17500 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17501 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17506 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17508 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17510 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17512 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17513 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17514 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17515
17516 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17517 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17518 (__libc_vfork): Define the function under this name.
17519 [!NOT_IN_libc] (__vfork): Make this an alias.
17520 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17521 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17522 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17523 (__libc_vfork): Define the function under this name.
17524 [!NOT_IN_libc] (__vfork): Make this an alias.
17525 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17526 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17527 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17529 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17530 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17531
17532 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17533 code that was previously under [RESET_PID].
17534 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17535 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17537
17538 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17539 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17540 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17541 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17542 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17543 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17544 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17545 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17546 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17547 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17548 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17549 Moved ...
17550 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17551 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17552 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17553 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17554 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17555 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17556 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17557 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17558 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17559 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17560 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17561 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17562 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17563 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17564 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17565 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17566 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17567 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17568 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17569 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17570 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17571 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17572 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17573 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17574 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17575 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17576 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17577 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17578 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17579
17580 2014-06-25 Roland McGrath <roland@hack.frob.com>
17581
17582 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17583 that was previously under [RESET_PID].
17584 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17585
17586 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17587
17588 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17589 not undefine and redefine.
17590 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17591 [O_CLOEXEC]: Make code unconditional.
17592 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17593 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17594 <kernel-features.h>.
17595 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17596 conditional variable definition.
17597 (shm_open) [O_CLOEXEC]: Make code unconditional.
17598 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17599 code.
17600
17601 * configure.ac (USE_REGPARMS): Don't define here.
17602 * configure: Regenerated.
17603 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17604 * sysdeps/i386/configure: Regenerated.
17605
17606 * nptl/createthread.c: Don't include kernel-features.h.
17607 * nptl/pthread_cancel.c: Likewise.
17608 * nptl/pthread_condattr_setclock.c: Likewise.
17609 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17610 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17611 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17612 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17613 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17614 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17615 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17616 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17617 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17618 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17619 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17620 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17621 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17622 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17623 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17624 * nscd/gai.c: Likewise.
17625 * nss/nss_db/db-open.c: Likewise.
17626 * sysdeps/generic/ldsodefs.h: Likewise.
17627 * sysdeps/sh/nptl/tls.h: Likewise.
17628 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17629 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17630 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17631 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17632 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17633 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17634 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17635 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17637 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17638 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17639 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17640 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17641 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17642 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17643 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17644 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17645 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17646 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17647 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17648 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17649 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17650 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17651 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17652 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17653 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17654 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17655 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17656 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17657 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17658 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17659 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17660 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17661 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17662 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17663 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17664 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17665 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17666 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17667 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17668 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17669 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17670 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17671 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17672 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17673 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17674 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17675 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17676 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17677 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17678 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17679 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17680 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17681 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17682 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17683 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17684 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17685 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17708 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17709 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17710 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17711 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17712 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17713 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17714 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17715 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17716 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17717 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17718 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17719 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17720 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17721 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17722 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17723 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17724 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17725 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17726 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17727 * sysdeps/unix/sysv/linux/system.c: Likewise.
17728 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17729 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17730 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17731 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17732 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17733 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17734 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17735
17736 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17737 * configure: Regenerated.
17738 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17739
17740 * configure.ac (base_machine): Do not set specially for particular
17741 machines here.
17742 * configure: Regenerated.
17743 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17744 settings from configure.ac.
17745 * sysdeps/i386/preconfigure: New file.
17746 * sysdeps/s390/preconfigure: Likewise.
17747 * sysdeps/sh/preconfigure: Likewise.
17748 * sysdeps/sparc/preconfigure: Likewise.
17749
17750 2014-06-25 Roland McGrath <roland@hack.frob.com>
17751
17752 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17753 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17754 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17755 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17756 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17757 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17758 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17759 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17760 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17761 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17762 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17763 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17764 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17765 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17766 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17767 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17768 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17769 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17770 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17771
17772 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17773 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17774 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17775 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17776 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17777 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17778 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17779 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17780 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17781 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17782 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17783 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17784 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17785 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17786 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17787 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17788 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17789 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17790 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17791 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17792 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17793 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17794 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17795 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17796 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17797 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17798 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17799 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17800 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17801 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17802 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17803 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17804 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17805 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17806 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17807 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17808 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17809 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17810
17811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17812 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17814 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17816 Moved ...
17817 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17818 ... here.
17819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17820 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17822 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17824 Moved ...
17825 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17827 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17829 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17831 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17833 Moved ...
17834 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17836 Moved ...
17837 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17839 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17841 Moved ...
17842 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17844 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17846 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17848 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17850 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17852 Moved ...
17853 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17854 ... here.
17855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17856 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17858 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17860 Moved ...
17861 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17863 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17865 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17867 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17869 Moved ...
17870 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17872 Moved ...
17873 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17875 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17877 Moved ...
17878 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17880 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17882 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17883
17884 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17885
17886 * timezone/checktab.awk: Update from tzcode 2014e.
17887 * timezone/private.h: Likewise.
17888 * timezone/tzfile.h: Likewise.
17889 * timezone/zdump.c: Likewise.
17890 * timezone/zic.c: Likewise.
17891
17892 * sysdeps/unix/sysv/linux/kernel-features.h
17893 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17894 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17895 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17896 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17897 Remove conditional code.
17898
17899 2014-06-25 Will Newton <will.newton@linaro.org>
17900
17901 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17902 (_dl_arm_cap_flags): Add HWCAP2 values.
17903 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17904 (_DL_HWCAP_COUNT): Increase to 37.
17905 (_DL_HWCAP_LAST): New define.
17906 (_DL_HWCAP2_LAST): New define.
17907 (_dl_procinfo): Add support for printing
17908 AT_HWCAP2 entries.
17909 (_dl_string_hwcap): Use _dl_hwcap_string.
17910
17911 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17912
17913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17914
17915 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17916
17917 * README: Do not mention ports directory.
17918
17919 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17920 Remove macro.
17921 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17922 <kernel-features.h>.
17923 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17924 conditional variable definition.
17925 (__futimes): Update comment.
17926 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17927 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17928
17929 [BZ #16560]
17930 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17931 arguments close to 0.
17932 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17933 Likewise.
17934 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17935 Likewise.
17936 * math/auto-libm-test-in: Add more tests of exp10.
17937 * math/auto-libm-test-out: Regenerated.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17939
17940 * sysdeps/unix/sysv/linux/kernel-features.h
17941 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17942 * sysdeps/unix/sysv/linux/readv.c: Do not include
17943 <kernel-features.h>.
17944 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17945 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17946 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17947 unconditional.
17948 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17949 conditional code.
17950 * sysdeps/unix/sysv/linux/writev.c: Do not include
17951 <kernel-features.h>.
17952 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17953 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17954 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17955 unconditional.
17956 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17957 conditional code.
17958
17959 2014-06-25 Will Newton <will.newton@linaro.org>
17960
17961 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17962 comment changes throughout the file. Remove checks
17963 for HAVE_*_H definitions that are not required.
17964 (__gen_tempname): Call abort if an unknown kind value is
17965 passed.
17966
17967 2014-06-25 Andreas Schwab <schwab@suse.de>
17968
17969 [BZ #17086]
17970 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17971 scalbln, scalblnf, scalblnl in libc.
17972
17973 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17974
17975 [BZ #17086]
17976 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17977 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17978 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17979
17980 2014-06-24 Roland McGrath <roland@hack.frob.com>
17981
17982 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17983 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17984 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17985 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17986 Update #include.
17987 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17988 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17989 Update #include.
17990 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17991 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17992 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17993 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17994 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17995 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17996 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17997 * sysdeps/x86/bits/semaphore.h: ... here.
17998 * sysdeps/x86/nptl/elide.h: Moved ...
17999 * sysdeps/x86/elide.h: ... here.
18000 * sysdeps/x86_64/nptl/Implies: File removed.
18001 * sysdeps/i386/nptl/Implies: File removed.
18002
18003 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18004
18005 [BZ #16539]
18006 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18007 return the argument for normal arguments with exponent below -64.
18008 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18009 Likewise.
18010 * math/auto-libm-test-in: Add another test of expm1.
18011 * math/auto-libm-test-out: Regenerated.
18012
18013 [BZ #16287]
18014 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18015 calling __erfcl for arguments at least 16.
18016 * math/auto-libm-test-in: Add more tests of erf.
18017 * math/auto-libm-test-out: Regenerated.
18018
18019 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18020 individual architectures.
18021 * sysdeps/unix/sysv/linux/configure: Regenerated.
18022 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18023 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18024 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18025 (ldd_rewrite_script): Define variable.
18026 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18028 file.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18030 generated file.
18031 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18032 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18033 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18034 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18035 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18036 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18037 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18038 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18039
18040 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18041
18042 [BZ #17084]
18043 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18044 Rename member __data.d to __data.__elision_data.
18045
18046 2014-06-24 Wilco <wdijkstr@arm.com>
18047
18048 * NEWS: Add 16918 to fixed bug list.
18049
18050 2014-06-24 Wilco <wdijkstr@arm.com>
18051
18052 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18053
18054 2014-06-24 Wilco <wdijkstr@arm.com>
18055
18056 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18057 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18058 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18059 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18060 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18061 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18062 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18063 Use _FPU_MASK_RM.
18064
18065 2014-06-24 Wilco <wdijkstr@arm.com>
18066
18067 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18068
18069 2014-06-24 Wilco <wdijkstr@arm.com>
18070
18071 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18072 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18073 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18074 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18075
18076 2014-06-24 Wilco <wdijkstr@arm.com>
18077
18078 [BZ #16918]
18079 * sysdeps/arm/feupdateenv.c (feupdateenv):
18080 Rewrite to reduce FPSCR accesses and fix return value.
18081
18082 2014-06-24 Wilco <wdijkstr@arm.com>
18083
18084 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18085 Optimize to avoid unnecessary FPSCR writes.
18086 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18087 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18088 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18089 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18090
18091 2014-06-24 Wilco <wdijkstr@arm.com>
18092
18093 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18094 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18095 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18096 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18097 Call libc_fetestexcept_vfp.
18098 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18099 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18100 __SOFTFP__ ifdef so that they can be built for softfp.
18101
18102 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18103
18104 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18105 argument type signed char.
18106
18107 * Makerules (check-abi): Dump diff of symlist if the test
18108 fails.
18109
18110 2014-06-23 Roland McGrath <roland@hack.frob.com>
18111
18112 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18113 using abort.
18114
18115 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18116 Remove unused variable ST.
18117
18118 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18119
18120 [BZ #16354]
18121 [BZ #17061]
18122 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18123 small arguments before calling __expm1.
18124 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18125 small arguments before calling __expm1f.
18126 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18127 small arguments before calling __expm1l.
18128 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18129 Likewise.
18130 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18131 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18132 spurious underflow for some cosh tests.
18133 * math/auto-libm-test-out: Regenerated.
18134 * sysdeps/i386/fpu/libm-test-ulps: Update.
18135
18136 [BZ #17050]
18137 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18138 (__ieee754_y1): Set errno if return value overflows.
18139 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18140 (__ieee754_y1f): Set errno if return value overflows.
18141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18142 (__ieee754_y1l): Set errno if return value overflows.
18143 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18144 (__ieee754_y1l): Set errno if return value overflows.
18145 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18146 * math/auto-libm-test-out: Regenerated.
18147
18148 * math/gen-auto-libm-tests.c: Document use of
18149 ignore-zero-inf-sign.
18150 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18151 (input_flags): Add ignore-zero-inf-sign.
18152 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18153 * math/gen-libm-test.pl (generate_testfile): Handle
18154 ignore-zero-inf-sign.
18155 * math/auto-libm-test-in: Mark some cpow tests with
18156 ignore-zero-inf-sign and some with xfail-rounding.
18157 * math/auto-libm-test-out: Regenerated.
18158 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18159 * sysdeps/i386/fpu/libm-test-ulps: Update.
18160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18161
18162 [BZ #16315]
18163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18164 overflowing or underflowing operations take place with sign of
18165 result.
18166 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18167 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18168 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18169 (__ieee754_pow): Recompute overflowing and underflowing results in
18170 original rounding mode.
18171 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18172 (__powl_helper): Allow negative argument X and scale negated value
18173 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18174 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18175 overflowing or underflowing operations take place with sign of
18176 result.
18177 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18178 Include <math.h>.
18179 * math/auto-libm-test-in: Add more tests of pow.
18180 * math/auto-libm-test-out: Regenerated.
18181 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18182 (pow_tonearest_test_data): Remove.
18183 (pow_test_tonearest): Likewise.
18184 (pow_towardzero_test_data): Likewise.
18185 (pow_test_towardzero): Likewise.
18186 (pow_downward_test_data): Likewise.
18187 (pow_test_downward): Likewise.
18188 (pow_upward_test_data): Likewise.
18189 (pow_test_upward): Likewise.
18190 (main): Don't call removed functions.
18191 * sysdeps/i386/fpu/libm-test-ulps: Update.
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193
18194 2014-06-23 Roland McGrath <roland@hack.frob.com>
18195
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18197 Moved ...
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18200 Moved ...
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18203 Moved ...
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18206 Moved ...
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18209 File removed.
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18211 File removed.
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18213 File removed.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18215 File removed.
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18217 File removed.
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18219 File removed.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18221 File removed.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18223 File removed.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18225 File removed.
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18227 File removed.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18229 File removed.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18231 File removed.
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18233 Moved ...
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18236 Moved ...
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18238 ... here.
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18240 Moved ...
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18243 Moved ...
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18246 Moved ...
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18249 Moved ...
18250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18252 Moved ...
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18255 Moved ...
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18258 Moved ...
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18262 ... here.
18263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18264 Moved ...
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18267 Moved ...
18268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18269 ... here.
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18271 Moved ...
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18273 ... here.
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18275 Moved ...
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18277 ... here.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18279 Moved ...
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18282 Moved ...
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18287 Moved ...
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18289 ... here.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18291 Moved ...
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18293 ... here.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18295 Moved ...
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18298 Moved ...
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18301 Moved ...
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18304 Moved ...
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18307 Moved ...
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18309 ... here.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18311 Moved ...
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18314 Moved ...
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18317 Moved ...
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18320 Moved ...
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18325 Moved ...
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18328 Moved ...
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18331 Moved ...
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18333 ... here.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18335 Moved ...
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18337 ... here.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18339 Moved ...
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18341 ... here.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18343 Moved ...
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18346 Moved ...
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18349 Moved ...
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18352 Moved ...
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18354 ... here.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18356 Moved ...
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18358 ... here.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18360 Moved ...
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18362 ... here.
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18364 Moved ...
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18367 Moved ...
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18369
18370 2014-06-23 Will Newton <will.newton@linaro.org>
18371 Wilco <wdijkstr@arm.com>
18372
18373 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18374 implementation. Include get-rounding-mode.h.
18375 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18376 [!libc_feholdsetround_noex_ctx]: Define
18377 libc_feholdsetround_noex_ctx.
18378 [!libc_feholdsetround_noexf_ctx]: Define
18379 libc_feholdsetround_noexf_ctx.
18380 [!libc_feholdsetround_noexl_ctx]: Define
18381 libc_feholdsetround_noexl_ctx.
18382 (libc_feholdsetround_ctx): New function.
18383 (libc_feresetround_ctx): New function.
18384 (libc_feholdsetround_noex_ctx): New function.
18385 (libc_feresetround_noex_ctx): New function.
18386
18387 2014-06-23 Roland McGrath <roland@hack.frob.com>
18388
18389 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18390 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18391 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18392 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18393 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18394 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18395
18396 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18397 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18398 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18399 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18400 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18401 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18403 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18404 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18405 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18406 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18407 Moved ...
18408 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18409 ... here.
18410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18411 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18412 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18413 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18414 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18415 Moved ...
18416 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18417 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18418 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18419 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18420 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18421 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18422 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18424 Moved ...
18425 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18426 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18427 Moved ...
18428 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18429 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18430 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18431 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18432 Moved ...
18433 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18434 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18435 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18436 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18437 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18438 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18439 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18441 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18443 Moved ...
18444 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18445 ... here.
18446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18447 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18449 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18450 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18451 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18453 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18454 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18455 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18456 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18457 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18459 Moved ...
18460 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18461 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18462 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18463 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18464 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18465 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18466 Moved ...
18467 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18468 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18469 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18470 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18471 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18472
18473 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18474 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18475 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18476 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18477 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18478 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18479 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18480 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18482 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18483 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18484 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18485 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18486 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18487 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18488 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18489 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18490 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18491 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18492 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18493 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18494 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18496 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18497 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18498 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18499 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18500 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18501
18502 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18503
18504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18505 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18506 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18507 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18508 (IPV6_PMTUDISC_INTERFACE): Likewise.
18509 (IPV6_PMTUDISC_OMIT): Likewise.
18510
18511 2014-06-23 Andreas Schwab <schwab@suse.de>
18512
18513 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18514 Remove unused errout label.
18515
18516 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18517
18518 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18519 macro: hardware supports Vector Crypto instructions.
18520
18521 2014-06-23 Will Newton <will.newton@linaro.org>
18522
18523 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18524 rather than __builtin_expect.
18525
18526 * elf/dl-lookup.c (undefined_msg): Remove variable.
18527 (_dl_lookup_symbol_x): Replace undefined_msg with string
18528 literal.
18529
18530 * elf/dl-lookup.c (do_lookup_unique): New function.
18531 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18532 to a separate function.
18533
18534 2014-06-23 Andreas Schwab <schwab@suse.de>
18535
18536 [BZ #17079]
18537 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18538 before reading the next line.
18539
18540 2014-06-23 Will Newton <will.newton@linaro.org>
18541
18542 * test-skeleton.c (signal_handler): Use printf and %m
18543 rather than perror. Use printf rather than fprintf to
18544 stderr. Use puts rather than fputs to stderr.
18545 (main): Likewise.
18546
18547 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18548
18549 * nscd/nscd.c (thread_info_t): Remove typedef.
18550 (thread_info): Remove variable.
18551
18552 2014-06-21 Allan McRae <allan@archlinux.org>
18553
18554 * NEWS: Mention CVE-2014-4043.
18555
18556 2014-06-20 Roland McGrath <roland@hack.frob.com>
18557
18558 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18559 * nptl/smp.h: ... here.
18560
18561 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18562
18563 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18564 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18565 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18566 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18567
18568 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18569 * nptl/stack-aliasing.h: New file.
18570 * sysdeps/i386/i686/stack-aliasing.h: New file.
18571 * sysdeps/i386/i686/nptl/Makefile: File removed.
18572 * sysdeps/x86_64/stack-aliasing.h: New file.
18573 * sysdeps/x86_64/nptl/Makefile
18574 (CFLAGS-pthread_create.c): Variable removed.
18575
18576 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18577 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18578 old file.
18579 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18580 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18581 old file.
18582
18583 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18584
18585 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18586 (__ASSUME_SIGFRAME_V2): Remove macro.
18587 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18588 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18589 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18590 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18591 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18592 Declare as function. Remove conditional macro definitions.
18593 (__default_rt_sa_restorer): Likewise.
18594 (__default_sa_restorer_v1): Remove declaration.
18595 (__default_sa_restorer_v2): Likewise.
18596 (__default_rt_sa_restorer_v1): Likewise.
18597 (__default_rt_sa_restorer_v2): Likewise.
18598 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18599 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18600 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18601
18602 2014-06-20 Roland McGrath <roland@hack.frob.com>
18603
18604 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18605 (libpthread-routines): Add sysdep.
18606 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18607 * sysdeps/unix/sysv/linux/sparc/Versions
18608 (libpthread: GLIBC_2.3.3): New version set.
18609 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18610 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18611 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18612 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18613 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18614 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18615 Moved ...
18616 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18617 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18618 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18619 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18620 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18621 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18622 * sysdeps/sparc/nptl/sem_init.c: ... here.
18623 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18624 * sysdeps/sparc/nptl/sem_post.c: ... here.
18625 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18626 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18627 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18628 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18629 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18630 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18631 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18632 (libpthread-routines): Add cpu_relax.
18633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18634 File removed.
18635 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18636 (librt: GLIBC_2.3.3): New version set.
18637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18638 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18639 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18640 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18643 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18645 Moved ...
18646 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18648 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18650 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18652 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18654 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18656 Moved ...
18657 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18658 Update #include.
18659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18660 Moved ...
18661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18662 Update #include.
18663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18664 Moved ...
18665 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18666 Update #include.
18667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18668 Moved ...
18669 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18670 Update #include.
18671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18672 Moved ...
18673 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18674 Update #include.
18675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18676 Moved ...
18677 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18678 Update #include.
18679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18680 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18686 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18688 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18690 Moved ...
18691 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18693 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18695 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18696
18697 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18698
18699 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18700 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18701 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18702 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18703 * nscd/nscd.c: Likewise.
18704 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18705 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18706 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18707 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18708
18709 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18710 <kernel-features.h>.
18711 (init_mq_netlink): Remove conditional have_sock_cloexec
18712 definitions. Remove code conditional on have_sock_cloexec < 0.
18713 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18714 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18715 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18716 <kernel-features.h>.
18717 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18718 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18719
18720 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18721
18722 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18723 Add tests for memset_chk and memset.
18724
18725 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18726 with AVX2_Usable.
18727
18728 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18729
18730 [BZ #16046]
18731 * elf/tst-dl-iter-static.c: New file.
18732 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18733
18734 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18735 error.
18736
18737 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18738
18739 * sysdeps/unix/sysv/linux/kernel-features.h
18740 (__ASSUME_F_GETOWN_EX): Remove macro.
18741 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18742 <kernel-features.h>.
18743 (miss_F_GETOWN_EX): Remove variable or macro.
18744 (do_fcntl): Do not check miss_F_GETOWN_EX.
18745 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18746
18747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18748 Remove macro.
18749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18750 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18751 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18752
18753 * sysdeps/unix/sysv/linux/kernel-features.h
18754 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18755 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18756 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18757 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18758
18759 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18760
18761 [BZ #17075]
18762 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18763 Fix calculation of the symbol's value.
18764 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18765 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18766 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18767 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18768 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18769 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18770 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18771 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18772 (modules-names): Add `tst-armtlsdescmod',
18773 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18774 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18775 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18776 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18777 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18778 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18779 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18780 ($(objpfx)tst-armtlsdescloc): New dependency.
18781 ($(objpfx)tst-armtlsdescextnow): Likewise.
18782 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18783 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18784 TLS scheme support.
18785 * sysdeps/arm/configure: Regenerate.
18786
18787 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18788
18789 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18790 (__atfct_seterrno_2): Likewise.
18791 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18792 <kernel-features.h>.
18793 (__ASSUME_ATFCTS): Do not undefine and redefine.
18794 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18795 (__have_atfcts): Remove conditional definition.
18796 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18797 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18798 unreachable if [__ASSUME_ATFCTS].
18799 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18800 not undefine and redefine.
18801 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18802 <kernel-features.h>.
18803 (faccessat) [__NR_faccessat]: Make code unconditional.
18804 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18805 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18806 <kernel-features.h>.
18807 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18808 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18809 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18810 <kernel-features.h>.
18811 (fchownat) [__NR_fchownat]: Make code unconditional.
18812 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18813 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18814 <kernel-features.h>.
18815 (futimesat) [__NR_futimesat]: Make code unconditional.
18816 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18817 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18818 <kernel-features.h>.
18819 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18820 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18821 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18822 <kernel-features.h>.
18823 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18824 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18825 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18826 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18827 <kernel-features.h>.
18828 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18829 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18830 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18831 <kernel-features.h>.
18832 (linkat) [__NR_linkat]: Make code unconditional.
18833 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18834 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18835 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18836 <kernel-features.h>.
18837 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18838 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18839 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18840 <kernel-features.h>.
18841 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18842 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18843 * sysdeps/unix/sysv/linux/openat.c: Do not include
18844 <kernel-features.h>.
18845 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18846 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18847 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18848 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18849 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18850 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18851 <kernel-features.h>.
18852 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18853 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18854 result of INLINE_SYSCALL directly, not via int variable.
18855 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18856 <kernel-features.h>.
18857 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18858 (renameat) [__NR_renameat]: Make code unconditional.
18859 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18860 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18861 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18862 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18863 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18864 (__ASSUME_ATFCTS): Do not undefine and redefine.
18865 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18866 <kernel-features.h>.
18867 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18868 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18869 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18870 <kernel-features.h>.
18871 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18872 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18873 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18874 (__ASSUME_ATFCTS): Do not undefine and redefine.
18875 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18876 <kernel-features.h>.
18877 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18878 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18879 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18880 <kernel-features.h>.
18881 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18882 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18883
18884 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18885
18886 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18887
18888 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18889
18890 [BZ #17069]
18891 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18892 constructed tree before returning error.
18893 * posix/bug-regexp36.c: Expand test case.
18894
18895 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18896
18897 [BZ #6803]
18898 * math/libm-test.inc (scalbln_test_date):
18899 Add errno expectations.
18900 * math/w_scalblnf.c: New File.
18901 Add wrapper which checks for setting errno to ERANGE.
18902 Add weak_alias for corresponding scalbln function.
18903 * math/w_scalbln.c: Likewise.
18904 * math/w_scalblnl.c: Likewise.
18905 * math/Makefile (libm-calls): Add w_scalbln.
18906 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18907 Remove weak_alias for corresponding scalbln function.
18908 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18910 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18912 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18913 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18914 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18915 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18916 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18917 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18918 Remove long_double_symbol for scalblnl function in libm, libc.
18919 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18920 Add wrapper which checks for setting errno to ERANGE.
18921 Add long_double_symbol for scalblnl function in libm, libc.
18922 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18923 Remove long_double_symbol for scalblnl in libm.
18924 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18925 Add wrapper which checks for setting errno to ERANGE.
18926 Add long_double_symbol for scalblnl function in libm.
18927 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18928 Do not use wrapper because of own implementation.
18929
18930 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18933 3 bytes for __pad1 for x32.
18934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18935
18936 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18937 H.J. Lu <hongjiu.lu@intel.com>
18938
18939 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18940 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18941 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18942 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18943 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18944
18945 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
18946
18947 [BZ #17069]
18948 * posix/regcomp.c (parse_expression): Deallocate partially
18949 constructed tree before returning error.
18950 * posix/Makefile.c (tests): Add bug-regex36.
18951 (generated): Add bug-regex36.mtrace.
18952 (tests-special): Add $(objpfx)bug-regex36-mem.out
18953 (bug-regex36-ENV): New variable.
18954 ($(objpfx)bug-regex36-mem.out): New rule.
18955 * posix/bug-regex36.c: New file.
18956
18957 2014-06-19 Will Newton <will.newton@linaro.org>
18958
18959 * malloc/malloc.c (systrim): If extra is zero then return
18960 early.
18961
18962 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18963
18964 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18965
18966 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
18967
18968 * sysdeps/aarch64/strchr.S: New file.
18969
18970 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18971
18972 [BZ #17022]
18973 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18974 from arguments -2 or below.
18975 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18976 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18977
18978 2014-06-18 Andreas Schwab <schwab@suse.de>
18979
18980 [BZ #17062]
18981 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18982 of a bracket expr not to run off the end of the string.
18983 * posix/Makefile (tests): Add tst-fnmatch3.
18984 * posix/tst-fnmatch3.c: New file.
18985
18986 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18987
18988 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18989 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18990 [$(cross-compiling) = no]: Likewise.
18991 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18992 [$(cross-compiling) = no]: Likewise.
18993
18994 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18995
18996 [BZ #17031]
18997 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18998 double, adjusted for any remainder from the high double.
18999 * math/libm-test.inc (nearbyint): Add tests.
19000 (rint): Likewise.
19001
19002 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19003
19004 * nptl/sysdeps/powerpc/Makefile: Moved ...
19005 * sysdeps/powerpc/nptl/Makefile: ... here.
19006 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19007 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19008 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19009 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19010 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19011 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19012 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19013 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19014 * nptl/sysdeps/powerpc/tls.h: Moved ...
19015 * sysdeps/powerpc/nptl/tls.h: ... here.
19016
19017 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19018
19019 [BZ #16681]
19020 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19021 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19022 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19023 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19024 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19025 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19026 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19027 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19028 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19029
19030 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19031
19032 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19033
19034 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19035
19036 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19037 defined operator.
19038
19039 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19040 $TIMEOUTFACTOR.
19041
19042 2014-06-16 Florian Weimer <fweimer@redhat.com>
19043
19044 [BZ #17058]
19045 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19046 non-executed part of the test.
19047
19048 2014-06-16 Andreas Schwab <schwab@suse.de>
19049
19050 * string/bits/string2.h (strdup, strndup): Update feature guard.
19051
19052 2014-06-14 David S. Miller <davem@davemloft.net>
19053
19054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19055
19056 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19057
19058 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19059 that was previously under [RESET_PID].
19060 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19061
19062 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19063 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19064 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19065 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19066 (__libc_vfork): New strong alias.
19067 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19068
19069 2014-06-14 Andi Kleen <ak@linux.intel.com>
19070
19071 * sysdeps/generic/elide.h: New file.
19072
19073 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19074
19075 * Makefile (installed-headers): Adjust path of pthread.h header.
19076
19077 2014-06-13 Roland McGrath <roland@hack.frob.com>
19078
19079 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19080 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19081 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19082 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19083
19084 * nptl/sysdeps/s390/Makefile: Moved ...
19085 * sysdeps/s390/nptl/Makefile: ... here.
19086 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19087 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19088 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19089 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19090 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19091 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19092 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19093 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19094 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19095 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19096 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19097 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19098 * nptl/sysdeps/s390/tls.h: Moved ...
19099 * sysdeps/s390/nptl/tls.h: ... here.
19100
19101 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19102 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19103
19104 2014-06-13 David S. Miller <davem@davemloft.net>
19105
19106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19109 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19113 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19114 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19115 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19116 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19117 Remove RESET_PID cpp guards.
19118 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19119 Remove RESET_PID cpp guards.
19120 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19121
19122 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19123
19124 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19125 __sp to uintptr_t.
19126
19127 2014-06-13 Andi Kleen <ak@linux.intel.com>
19128
19129 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19130 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19131 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19132 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19133 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19134 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19135 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19137 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19138 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19139 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19140 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19141 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19142 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19143 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19144 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19145 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19146 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19147 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19148 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19149
19150 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19151 (pthread_rwlock_rdlock): Add elision.
19152 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19153 (pthread_rwlock_wrlock): Add elision.
19154 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19155 (pthread_rwlock_trywrlock): Add elision.
19156 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19157 (pthread_rwlock_tryrdlock): Add elision.
19158 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19159 (pthread_rwlock_tryrdlock): Add elision unlock.
19160 * nptl/sysdeps/pthread/pthread.h:
19161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19162 (PTHREAD_RWLOCK_INITIALIZER,
19163 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19164 Handle new elision field.
19165 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19166 * sysdeps/arm/nptl/bits/pthreadtypes.h
19167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19168 * sysdeps/sh/nptl/bits/pthreadtypes.h
19169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19170 * sysdeps/tile/nptl/bits/pthreadtypes.h
19171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19172 * sysdeps/a/nptl/bits/pthreadtypes.h
19173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19174 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19176 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19178 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19180 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19182 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19184 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19186 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19188 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19189 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19190 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19191 (elision_init): Set try_xbegin to zero when no RTM.
19192 * sysdeps/x86/nptl/bits/pthreadtypes.h
19193 (pthread_rwlock_t): Change __pad1 to __rwelision.
19194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19195
19196 2014-06-13 Andi Kleen <ak@linux.intel.com>
19197
19198 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19199 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19200 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19201 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19202
19203 2014-06-13 Meador Inge <meadori@codesourcery.com>
19204
19205 [BZ #16996]
19206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19207 that the cached result has been set before returning it.
19208
19209 2014-06-12 Roland McGrath <roland@hack.frob.com>
19210
19211 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19212 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19213 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19214 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19215 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19216 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19217
19218 * nptl/sysdeps/sparc/Makefile: Moved ...
19219 * sysdeps/sparc/nptl/Makefile: ... here.
19220 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19221 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19222 * nptl/sysdeps/sparc/tls.h: Moved ...
19223 * sysdeps/sparc/nptl/tls.h: ... here.
19224 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19225 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19226 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19227 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19228 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19229 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19230 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19231 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19232 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19233 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19234 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19235 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19236 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19237 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19238 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19239 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19240 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19241 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19242 Update #include.
19243 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19244 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19245 Update #include.
19246 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19247 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19248 Update #include.
19249 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19250 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19251 Update #include.
19252
19253 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19254
19255 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19256 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19257
19258 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19259 (struct list_links): Type removed.
19260 (struct thread_node, struct timer_node): Replace struct list_links
19261 with struct list_head.
19262 (list_unlink_ip): Likewise.
19263 * sysdeps/pthread/timer_routines.c
19264 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19265 (list_append, list_insbefore): Likewise.
19266 (list_init): Function removed.
19267 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19268 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19269 * sysdeps/pthread/Makefile: ... here, new file.
19270
19271 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19272 * sysdeps/nptl/Implies: ... here.
19273 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19274 * nptl/sysdeps/pthread/list.h: Moved ...
19275 * include/list.h: ... here.
19276 * nptl/sysdeps/pthread/createthread.c: Moved ...
19277 * nptl/createthread.c: ... here.
19278 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19279 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19280 * nptl/pt-longjmp.c: ... here.
19281 * nptl/sysdeps/pthread/Makefile: Moved ...
19282 * sysdeps/nptl/Makefile: ... here.
19283 * nptl/sysdeps/pthread/Subdirs: Moved ...
19284 * sysdeps/nptl/Subdirs: ... here.
19285 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19286 * sysdeps/nptl/aio_misc.h: ... here.
19287 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19288 * sysdeps/nptl/bits/libc-lock.h: ... here.
19289 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19290 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19291 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19292 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19293 * nptl/sysdeps/pthread/configure: Moved ...
19294 * sysdeps/nptl/configure: ... here.
19295 * nptl/sysdeps/pthread/configure.ac: Moved ...
19296 * sysdeps/nptl/configure.ac: ... here.
19297 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19298 * sysdeps/nptl/gai_misc.h: ... here.
19299 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19300 * sysdeps/nptl/librt-cancellation.c: ... here.
19301 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19302 * sysdeps/nptl/malloc-machine.h: ... here.
19303 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19304 * sysdeps/nptl/pthread-functions.h: ... here.
19305 * nptl/sysdeps/pthread/pthread.h: Moved ...
19306 * sysdeps/nptl/pthread.h: ... here.
19307 * nptl/sysdeps/pthread/setxid.h: Moved ...
19308 * sysdeps/nptl/setxid.h: ... here.
19309 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19310 * sysdeps/nptl/sigfillset.c: ... here.
19311 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19312 * sysdeps/nptl/tcb-offsets.h: ... here.
19313 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19314 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19315 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19316 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19317 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19318 * sysdeps/pthread/allocalim.h: ... here.
19319 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19320 * sysdeps/pthread/bits/sigthread.h: ... here.
19321 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19322 * sysdeps/pthread/flockfile.c: ... here.
19323 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19324 * sysdeps/pthread/ftrylockfile.c: ... here.
19325 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19326 * sysdeps/pthread/funlockfile.c: ... here.
19327 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19328 * sysdeps/pthread/posix-timer.h: ... here.
19329 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19330 * sysdeps/pthread/timer_create.c: ... here.
19331 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19332 * sysdeps/pthread/timer_delete.c: ... here.
19333 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19334 * sysdeps/pthread/timer_getoverr.c: ... here.
19335 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19336 * sysdeps/pthread/timer_gettime.c: ... here.
19337 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19338 * sysdeps/pthread/timer_routines.c: ... here.
19339 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19340 * sysdeps/pthread/timer_settime.c: ... here.
19341 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19342 * sysdeps/pthread/tst-timer.c: ... here.
19343 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19344 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19345
19346 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19347 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19348
19349 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19350 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19351 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19352 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19353 Update #include target.
19354 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19355 * sysdeps/i386/i686/nptl/Makefile: ... here.
19356 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19357 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19358 Update #include target.
19359 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19360 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19361 * nptl/sysdeps/i386/Makefile: Moved ...
19362 * sysdeps/i386/nptl/Makefile: ... here.
19363 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19364 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19365 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19366 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19367 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19368 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19369 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19370 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19371 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19372 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19373 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19374 * nptl/sysdeps/i386/tls.h: Moved ...
19375 * sysdeps/i386/nptl/tls.h: ... here.
19376
19377 * sysdeps/sh/Makefile [$(subdir) = csu]
19378 (gen-as-const-headers): Add tcb-offsets.sym.
19379 * nptl/sysdeps/sh/Makefile: File removed.
19380 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19381 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19382 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19383 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19384 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19385 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19386 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19387 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19388 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19389 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19390 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19391 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19392 * nptl/sysdeps/sh/tls.h: Moved ...
19393 * sysdeps/sh/nptl/tls.h: ... here.
19394 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19395 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19396 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19397 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19398 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19399 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19400 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19401 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19402 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19403 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19404 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19405 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19406 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19407 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19409 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19411 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19412 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19413 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19415 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19417 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19418 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19419 Moved ...
19420 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19421 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19422 Moved ...
19423 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19424 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19425 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19426 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19427 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19428 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19429 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19430 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19431 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19432 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19433 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19434 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19435 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19436 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19437 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19438 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19439 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19440 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19441 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19442
19443 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19444
19445 * posix/spawn_faction_addopen.c: Include string.h.
19446
19447 2014-06-11 Roland McGrath <roland@hack.frob.com>
19448
19449 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19450 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19451 * nptl/sysdeps/x86_64/Makefile: Moved ...
19452 * sysdeps/x86_64/nptl/Makefile: ... here.
19453 * nptl/sysdeps/x86_64/configure: Moved ...
19454 * sysdeps/x86_64/nptl/configure: ... here.
19455 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19456 * sysdeps/x86_64/nptl/configure.ac: ... here.
19457 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19458 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19459 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19460 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19461 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19462 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19463 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19464 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19465 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19466 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19467 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19468 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19469 * nptl/sysdeps/x86_64/tls.h: Moved ...
19470 * sysdeps/x86_64/nptl/tls.h: ... here.
19471 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19472 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19473 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19474 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19475
19476 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19477
19478 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19479
19480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19481
19482 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19483
19484 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19485 type.
19486 [POSIX] (off_t): Likewise.
19487 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19488 [POSIX] (S_ISBLK): Require macro.
19489 [POSIX] (S_ISCHR): Likewise.
19490 [POSIX] (S_ISDIR): Likewise.
19491 [POSIX] (S_ISFIFO): Likewise.
19492 [POSIX] (S_ISREG): Likewise.
19493 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19494 optional-macro.
19495 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19496 type.
19497 [POSIX] (time_t): Likewise.
19498 [POSIX] (timer_t): Likewise.
19499
19500 2014-06-11 Florian Weimer <fweimer@redhat.com>
19501
19502 [BZ #17048]
19503 * posix/spawn_int.h (struct __spawn_action): Make the path string
19504 non-const to support deallocation.
19505 * posix/spawn_faction_addopen.c
19506 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19507 * posix/spawn_faction_destroy.c
19508 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19509 path in all spawn_do_open actions.
19510 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19511 posix_spawn_file_actions_addopen.
19512
19513 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19514
19515 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19516 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19517 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19518 conditional code always true.
19519 (__libc_vfork): New alias.
19520
19521 2014-06-11 Roland McGrath <roland@hack.frob.com>
19522
19523 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19524 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19525
19526 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19527
19528 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19529 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19530
19531 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19532 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19533
19534 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19535 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19536
19537 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19538
19539 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19540 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19541 multiarch strcmp for PPC64.
19542 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19543 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19545 multiarch optimizations.
19546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19547 (__libc_ifunc_impl_list): Likewise.
19548
19549 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19550
19551 * benchtests/scripts/validate_benchout.py: New script.
19552 * benchtests/Makefile (bench-func): Call it.
19553 * benchtests/scripts/benchout.schema.json: New file.
19554
19555 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19556
19557 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19558 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19559 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19560 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19561 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19562 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19563 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19564 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19565 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19566 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19567 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19568 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19569 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19570 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19571 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19572 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19574 Moved ...
19575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19576 ... here.
19577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19578 Moved ...
19579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19581 Moved ...
19582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19583 ... here.
19584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19585 Moved ...
19586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19587 ... here.
19588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19589 Moved ...
19590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19592 Moved ...
19593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19594 ... here.
19595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19596 Moved ...
19597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19598 ... here.
19599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19600 Moved ...
19601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19603 Moved ...
19604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19605 ... here.
19606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19607 Moved ...
19608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19609 ... here.
19610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19611 Moved ...
19612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19613 ... here.
19614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19615 Moved ...
19616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19618 Moved ...
19619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19620 ... here.
19621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19622 Moved ...
19623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19624 ... here.
19625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19626 Moved ...
19627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19628 ... here.
19629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19630 Moved ...
19631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19633 Moved ...
19634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19635 ... here.
19636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19637 Moved ...
19638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19639 ... here.
19640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19641 Moved ...
19642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19644 Moved ...
19645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19646 ... here.
19647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19648 Moved ...
19649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19651 Moved ...
19652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19654 Moved ...
19655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19656 ... here.
19657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19658 Moved ...
19659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19660 ... here.
19661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19662 Moved ...
19663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19664 ... here.
19665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19666 Moved ...
19667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19669 Moved ...
19670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19671 ... here.
19672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19673 Moved ...
19674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19675 ... here.
19676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19677 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19679 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19681 Moved ...
19682 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19683 ... here.
19684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19685 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19687 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19689 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19690 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19691 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19693 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19695 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19697 Moved ...
19698 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19700 Moved ...
19701 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19702 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19703 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19704 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19705 Moved ...
19706 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19708 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19709 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19710 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19711 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19712 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19713
19714 2014-06-10 Wilco <wdijkstr@arm.com>
19715
19716 * math/test-fenv-return.c: New file.
19717 * math/Makefile: Add new test test-fenv-return.
19718
19719 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19720
19721 [BZ #17042]
19722 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19723 when x - 1 is zero.
19724 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19725 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19726 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19727 0.0L for an argument of 1.0L.
19728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19729 Likewise.
19730 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19731 value when x - 1 is zero.
19732 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19733 * sysdeps/i386/fpu/libm-test-ulps: Update.
19734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19735
19736 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19737
19738 [BZ #15119]
19739 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19740
19741 2014-06-09 Roland McGrath <roland@hack.frob.com>
19742
19743 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19744 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19745
19746 2014-06-09 Roland McGrath <roland@hack.frob.com>
19747
19748 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19749 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19750
19751 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19752 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19753
19754 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19755 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19756
19757 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19758 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19759
19760 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19761 if not already defined.
19762 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19763 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19764 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19765 (TLS_INIT_TP): Use it.
19766 (TLS_DEFINE_INIT_TP): New macro.
19767 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19768
19769 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19770
19771 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19772 constant.
19773 [POSIX] (IXANY): Likewise.
19774 [POSIX] (OLCUC): Likewise.
19775 [POSIX || POSIX2008] (CBAUD): Do not allow.
19776 [POSIX || POSIX2008] (DEFECHO): Likewise.
19777 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19778 [POSIX || POSIX2008] (ECHOKE): Likewise.
19779 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19780 [POSIX || POSIX2008] (EXTA): Likewise.
19781 [POSIX || POSIX2008] (EXTB): Likewise.
19782 [POSIX || POSIX2008] (FLUSHO): Likewise.
19783 [POSIX || POSIX2008] (LOBLK): Likewise.
19784 [POSIX || POSIX2008] (PENDIN): Likewise.
19785 [POSIX || POSIX2008] (SWTCH): Likewise.
19786 [POSIX || POSIX2008] (VDISCARD): Likewise.
19787 [POSIX || POSIX2008] (VDSUSP): Likewise.
19788 [POSIX || POSIX2008] (VLNEXT): Likewise.
19789 [POSIX || POSIX2008] (VREPRINT): Likewise.
19790 [POSIX || POSIX2008] (VSTATUS): Likewise.
19791 [POSIX || POSIX2008] (VWERASE): Likewise.
19792 (B*): Change to B[0123456789]*.
19793 * conform/data/time.h-data [POSIX || UNIX98]
19794 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19795 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19796 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19797 [POSIX] (tm_*): Do not allow.
19798
19799 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19800
19801 * Makefile (install): Don't set LANGUAGE.
19802 * Makefile.in (install): Likewise.
19803 * assert/Makefile (test-assert-ENV): Remove variable.
19804 (test-assert-perr-ENV): Likewise.
19805 * elf/Makefile (neededtest4-ENV): Likewise.
19806 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19807 [$(cross-compiling) = no]: Don't set LANGUAGE.
19808 * io/ftwtest-sh (LANG): Remove variable.
19809 * libio/Makefile (tst-widetext-ENV): Likewise.
19810 * manual/install.texi (Running make install): Don't refer to
19811 environment settings for make install.
19812 * INSTALL: Regenerated.
19813 * nptl/tst-tls6.sh: Don't set LANG.
19814 * posix/globtest.sh (LANG): Remove variable.
19815 * string/Makefile (tester-ENV): Likewise.
19816 (inl-tester-ENV): Likewise.
19817 (noinl-tester-ENV): Likewise.
19818 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19819 [$(cross-compiling) = no]: Don't set LANGUAGE.
19820 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19821 without explicit environment settings.
19822
19823 2014-06-06 Roland McGrath <roland@hack.frob.com>
19824
19825 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19826 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19827 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19828 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19829
19830 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19831
19832 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19833 other files in the crypt directory.
19834 * crypt/crypt.c: Remove duplicate includes.
19835 * crypt/crypt-entry.c: Likewise.
19836 * crypt/crypt_util.c: Likewise.
19837
19838 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19839
19840 * Makeconfig (run-program-env): New variable.
19841 (run-program-prefix-before-env): Likewise.
19842 (run-program-prefix-after-env): Likewise.
19843 (run-program-prefix): Define in terms of new variables.
19844 (built-program-cmd-before-env): New variable.
19845 (built-program-cmd-after-env): Likewise.
19846 (built-program-cmd): Define in terms of new variables.
19847 (test-program-prefix-before-env): New variable.
19848 (test-program-prefix-after-env): Likewise.
19849 (test-program-prefix): Define in terms of new variables.
19850 (test-program-cmd-before-env): New variable.
19851 (test-program-cmd-after-env): Likewise.
19852 (test-program-cmd): Define in terms of new variables.
19853 * Rules (make-test-out): Use $(run-program-env).
19854 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19855 (help): Do not mention environment variables. Mention
19856 --timeoutfactor option.
19857 (timeoutfactor): New variable.
19858 (blacklist_exports): Remove function.
19859 (exports): Remove variable.
19860 (command): Do not include ${exports}.
19861 * manual/install.texi (Configuring and compiling): Do not mention
19862 test wrappers preserving environment variables. Mention that last
19863 assignment to a variable must take precedence.
19864 * INSTALL: Regenerated.
19865 * benchtests/Makefile (run-bench): Use $(run-program-env).
19866 * catgets/Makefile ($(objpfx)test1.cat): Use
19867 $(built-program-cmd-before-env), $(run-program-env) and
19868 $(built-program-cmd-after-env).
19869 ($(objpfx)test2.cat): Do not specify environment variables
19870 explicitly.
19871 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19872 $(run-program-env) and $(built-program-cmd-after-env).
19873 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19874 $(run-program-env) and $(test-program-cmd-after-env).
19875 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19876 explicitly.
19877 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19878 run_program_env and test_program_cmd_after_env arguments.
19879 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19880 * elf/tst-pathopt.sh: Use run_program_env argument.
19881 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19882 $(test-wrapper-env) and $(run-program-env).
19883 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19884 run_program_env arguments.
19885 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19886 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19887 $(test-program-prefix-before-env), $(run-program-env) and
19888 $(test-program-prefix-after-env).
19889 ($(objpfx)tst-gettext2.out): Likewise.
19890 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19891 run_program_env and test_program_prefix_after_env arguments.
19892 * intl/tst-gettext2.sh: Likewise.
19893 * intl/tst-gettext4.sh: Do not set environment variables
19894 explicitly.
19895 * intl/tst-gettext6.sh: Likewise.
19896 * intl/tst-translit.sh: Likewise.
19897 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19898 $(test-program-prefix-before-env), $(run-program-env) and
19899 $(test-program-prefix-after-env).
19900 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19901 run_program_env and test_program_prefix_after_env arguments.
19902 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19903 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19904 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19905 explicitly with each use of ${test_wrapper_env}.
19906 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19907 $(test-program-prefix-before-env), $(run-program-env) and
19908 $(test-program-prefix-after-env).
19909 * posix/tst-getconf.sh: Do not set environment variables
19910 explicitly.
19911 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19912 run_program_env and test_program_prefix_after_env arguments.
19913 * stdio-common/tst-printf.sh: Do not set environment variables
19914 explicitly.
19915 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19916 $(test-program-prefix-before-env), $(run-program-env) and
19917 $(test-program-prefix-after-env).
19918 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19919 run_program_env and test_program_prefix_after_env arguments.
19920 Split $test calls into $test_pre and $test.
19921 * timezone/Makefile (build-testdata): Use
19922 $(built-program-cmd-before-env), $(run-program-env) and
19923 $(built-program-cmd-after-env).
19924
19925 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19926
19927 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19928 strlen for non SHARED builds.
19929
19930 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19931
19932 * nptl/allocatestack.c (check_list): Inlined function...
19933 (__reclaim_stacks): ... here.
19934
19935 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19936
19937 [BZ #15698]
19938 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19939 memory overrun.
19940
19941 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19942
19943 * Rules (make-test-out): Include
19944 LOCPATH=$(common-objpfx)localedata in default environment.
19945 * debug/Makefile (tst-chk1-ENV): Remove variable.
19946 (tst-chk2-ENV): Likewise.
19947 (tst-chk3-ENV): Likewise.
19948 (tst-chk4-ENV): Likewise.
19949 (tst-chk5-ENV): Likewise.
19950 (tst-chk6-ENV): Likewise.
19951 (tst-lfschk1-ENV): Likewise.
19952 (tst-lfschk2-ENV): Likewise.
19953 (tst-lfschk3-ENV): Likewise.
19954 (tst-lfschk4-ENV): Likewise.
19955 (tst-lfschk5-ENV): Likewise.
19956 (tst-lfschk6-ENV): Likewise.
19957 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19958 (tst-iconv7-ENV): Likewise.
19959 * intl/Makefile (LOCPATH-ENV): Likewise.
19960 (tst-codeset-ENV): Likewise.
19961 (tst-gettext3-ENV): Likewise.
19962 (tst-gettext5-ENV): Likewise.
19963 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19964 (tst-fopenloc-ENV): Likewise.
19965 (tst-fgetws-ENV): Remove variable.
19966 (tst-ungetwc1-ENV): Likewise.
19967 (tst-ungetwc2-ENV): Likewise.
19968 (bug-ungetwc2-ENV): Likewise.
19969 (tst-swscanf-ENV): Likewise.
19970 (bug-ftell-ENV): Likewise.
19971 (tst-fgetwc-ENV): Likewise.
19972 (tst-fseek-ENV): Likewise.
19973 (tst-ftell-partial-wide-ENV): Likewise.
19974 (tst-ftell-active-handler-ENV): Likewise.
19975 (tst-ftell-append-ENV): Likewise.
19976 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19977 (tst-regexloc-ENV): Likewise.
19978 (bug-regex1-ENV): Likewise.
19979 (tst-regex-ENV): Likewise.
19980 (tst-regex2-ENV): Likewise.
19981 (bug-regex5-ENV): Likewise.
19982 (bug-regex6-ENV): Likewise.
19983 (bug-regex17-ENV): Likewise.
19984 (bug-regex18-ENV): Likewise.
19985 (bug-regex19-ENV): Likewise.
19986 (bug-regex20-ENV): Likewise.
19987 (bug-regex22-ENV): Likewise.
19988 (bug-regex23-ENV): Likewise.
19989 (bug-regex25-ENV): Likewise.
19990 (bug-regex26-ENV): Likewise.
19991 (bug-regex30-ENV): Likewise.
19992 (bug-regex32-ENV): Likewise.
19993 (bug-regex33-ENV): Likewise.
19994 (bug-regex34-ENV): Likewise.
19995 (bug-regex35-ENV): Likewise.
19996 (tst-rxspencer-ENV): Likewise.
19997 (tst-rxspencer-no-utf8-ENV): Likewise.
19998 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19999 (tst-sscanf-ENV): Likewise.
20000 (tst-swprintf-ENV): Likewise.
20001 (tst-swscanf-ENV): Likewise.
20002 (test-vfprintf-ENV): Likewise.
20003 (scanf13-ENV): Likewise.
20004 (bug14-ENV): Likewise.
20005 (tst-grouping-ENV): Likewise.
20006 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20007 (tst-strtod3-ENV): Likewise.
20008 (tst-strtod4-ENV): Likewise.
20009 (tst-strtod5-ENV): Likewise.
20010 (testmb2-ENV): Likewise./
20011 * string/Makefile (tst-strxfrm-ENV): Likewise.
20012 (tst-strxfrm2-ENV): Likewise.
20013 (bug-strcoll1-ENV): Likewise.
20014 (test-strcasecmp-ENV): Likewise.
20015 (test-strncasecmp-ENV): Likewise.
20016 * time/Makefile (tst-strptime-ENV): Likewise.
20017 (tst-ftime_l-ENV): Likewise.
20018 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20019 (tst-mbrtowc-ENV): Likewise.
20020 (tst-wcrtomb-ENV): Likewise.
20021 (tst-mbrtowc2-ENV): Likewise.
20022 (tst-c16c32-1-ENV): Likewise.
20023 (tst-mbsnrtowcs-ENV): Likewise.
20024
20025 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20026
20027 * manual/resource.texi (How to get information about the memory
20028 subsystem?): Fix typo.
20029 Reported by Peon de la Parra Ivan <peon@keba.com>
20030
20031 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20032
20033 [BZ #16882]
20034 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20035 (pthread_spin_lock): Branch out of spin loop to proper location.
20036 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20037 (pthread_spin_lock): Likewise.
20038
20039 * nptl/tst-spin4.c: New test.
20040 * nptl/Makefile (tests): Add tst-spin4.
20041
20042 2014-06-03 Andreas Schwab <schwab@suse.de>
20043
20044 [BZ #15946]
20045 * resolv/res_send.c (send_dg): Reload file descriptor after
20046 calling reopen.
20047
20048 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20049
20050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20051
20052 2014-06-03 Richard Henderson <rth@redhat.com>
20053
20054 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20055 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20056 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20057 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20058 in the SAVE_PID block.
20059 (__libc_vfork): New alias.
20060 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20061
20062 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20063 child in registers, not on the stack. Remove RESET_PID conditionals.
20064 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20065
20066 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20067
20068 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20069
20070 2014-06-03 Wilco <wdijkstr@arm.com>
20071
20072 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20073 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20074 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20075 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20076 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20077 Likewise.
20078
20079 2014-06-03 Wilco <wdijkstr@arm.com>
20080
20081 * sysdeps/aarch64/fpu/math_private.h
20082 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20083 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20084 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20085 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20086 Fix declarations.
20087
20088 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20089
20090 * crypt/crypt-private.h: Include ufc-crypt.h.
20091 (__b64_from_24bit): Declare extern.
20092 * crypt/crypt_util.c(__b64_from_24bit): New function.
20093 (b64t): New static const variable.
20094 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20095 (b64t): Remove variable.
20096 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20097 * crypt/sha256-crypt.c: Include crypt-private.h.
20098 (b64t): Remove variable.
20099 (__sha256_crypt_r): Remove b64_from_24bit and replace
20100 with __b64_from_24bit.
20101 * crypt/sha512-crypt.c: Likewise.
20102
20103 2014-06-02 Roland McGrath <roland@hack.frob.com>
20104
20105 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20106 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20107 Label the code __libc_vfork rather than __vfork.
20108 [!NOT_IN_libc] (vfork): Define as weak alias.
20109 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20110 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20111 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20112
20113 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20114
20115 * malloc/malloc.c (malloc_info): Fix format specifier for
20116 n_mmaps.
20117
20118 2014-06-02 Wilco <wdijkstr@arm.com>
20119
20120 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20121 FPCR write.
20122
20123 2014-06-02 Wilco <wdijkstr@arm.com>
20124
20125 [BZ #17009]
20126 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20127 Rewrite to reduce FPCR/FPSR accesses.
20128
20129 2014-06-01 David S. Miller <davem@davemloft.net>
20130
20131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20132
20133 2014-05-31 David S. Miller <davem@davemloft.net>
20134
20135 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20136 to occur in round to nearest mode when |x| >= 2.0
20137
20138 2014-05-30 Richard Henderson <rth@twiddle.net>
20139
20140 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20141 (PSEUDO_RET_NOERRNO): Remove.
20142 (ret): Don't redefine.
20143 (ret_NOERRNO): Define in terms of ret.
20144 (ret_ERRVAL): Likewise.
20145
20146 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20147 use of PSEUDO_RET; perform the error check directly.
20148
20149 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20150
20151 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20152 with __int128_t.
20153
20154 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20155
20156 * malloc/malloc (malloc_info): Fix formatting.
20157
20158 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20159 Roland McGrath <roland@hack.frob.com>
20160
20161 * malloc/malloc (malloc_info): Also print mmapped statistics.
20162
20163 2014-05-30 Roland McGrath <roland@hack.frob.com>
20164
20165 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20166 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20167
20168 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20169
20170 * malloc/malloc.c (malloc_info): Inline mi_arena.
20171
20172 2014-05-29 Richard Henderson <rth@twiddle.net>
20173
20174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20175 Remove comma before expanding ASM_ARGS_##nr.
20176 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20177 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20178 of ASM_ARGS_##nr.
20179 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20180 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20181 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20182 (ASM_ARGS_1): Add leading comma.
20183
20184 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20185 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20186 to __errno_location.
20187 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20188 Remove the expected plt for __errno_location.
20189
20190 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20191 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20192 call to __read_tp.
20193
20194 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20195 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20196 it and break it down.
20197 (DOCARGS_0, DOCARGS_1): Do nothing.
20198 (DOCARGS_2): Update to store into the new stack frame.
20199 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20200 (UNDOCARGS_1): Update to restore from the new stack frame.
20201 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20202 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20203
20204 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20205 (SINGLE_THREAD_P): New parameter for result regno.
20206 (PSEUDO): Update to match; use cbz instead of beq.
20207
20208 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20209 Use ENTRY to define the _nocancel entry point. Share the syscall
20210 and syscall error check paths with the cancel path.
20211 (PSEUDO_END): New.
20212
20213 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20214 whitespace; tabs before and after asm mnemonics.
20215
20216 2014-05-29 Eric Wong <normalperson@yhbt.net>
20217
20218 [BZ #15132]
20219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20220 Call fstat64 or stat64 internally, depending on arguments passed.
20221 Replace stat buffer argument with file descriptor argument.
20222 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20223 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20224 Pass fd to __internal_statvfs instead of calling fstat64.
20225 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20226 Pass fd to __internal_statvfs64 instead of calling fstat64.
20227 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20228 Pass -1 to __internal_statvfs instead of calling stat64.
20229 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20230 Pass -1 to __internal_statvfs64 instead of calling stat64.
20231
20232 2014-05-28 Roland McGrath <roland@hack.frob.com>
20233
20234 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20235 that was previously under [RESET_PID].
20236 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20237
20238 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20239 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20240
20241 2014-05-27 Roland McGrath <roland@hack.frob.com>
20242
20243 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20244
20245 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20246 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20247
20248 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20249
20250 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20251
20252 2014-05-27 Andreas Schwab <schwab@suse.de>
20253
20254 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20255 TLS_INIT_TP macro.
20256 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20257 * elf/rtld.c (init_tls, dl_main): Likewise.
20258 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20259 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20260 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20261 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20262 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20263 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20264 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20265 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20266 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20267 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20268 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20269 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20270 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20271 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20272 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20273 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20274 * sysdeps/generic/tls.h: Update description.
20275
20276 2014-05-27 Will Newton <will.newton@linaro.org>
20277
20278 [BZ #16990]
20279 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20280 and restore r2 rather than just restoring.
20281
20282 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20283
20284 [BZ #16724]
20285 * libio/tst-ftell-append.c: New test case.
20286 * libio/Makefile (tests): Add test case.
20287 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20288 append mode.
20289 * libio/wfileops.c (do_ftell_wide): Likewise.
20290
20291 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20292
20293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20294
20295 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20296 ...
20297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20299 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20300 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20301 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20302 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20303 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20304 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20306 Moved ...
20307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20309 Moved ...
20310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20311 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20312 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20313 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20314 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20315 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20316 ...
20317 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20318 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20319 Moved ...
20320 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20321 here.
20322 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20323 ...
20324 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20325 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20326 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20327
20328 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20329 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20330 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20331 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20332
20333 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20334 merge into ...
20335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20337 ...
20338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20340 ...
20341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20343 Moved ...
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20345 here.
20346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20347 Moved ...
20348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20350 Moved ...
20351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20352
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20354 conditional [RESET_PID].
20355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20357 removed.
20358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20359 removed.
20360
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20362 <tcb-offsets.h>.
20363 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20364 (__libc_vfork): New strong alias.
20365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20366 removed.
20367 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20368 Removed.
20369
20370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20371 <tcb-offsets.h>.
20372 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20373 (__libc_vfork): New strong alias.
20374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20375 removed.
20376 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20377 removed.
20378
20379 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20380
20381 * malloc/malloc.c (mi_arena): New function.
20382 (malloc_info): Remove nested function mi_arena. Call non-nosted
20383 function mi_arena.
20384
20385 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20386
20387 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20388 by insrwi.
20389 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20390 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20391 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20392 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20393 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20394 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20395 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20396
20397 2014-05-26 Andreas Schwab <schwab@suse.de>
20398
20399 [BZ #16984]
20400 * locale/programs/repertoire.c (repertoire_read): Add slash
20401 between I18NPATH element and file name.
20402 * locale/programs/locfile.c (locfile_read): Likewise.
20403
20404 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20405
20406 * nptl/pthread_mutexattr_settype.c
20407 (__pthread_mutexattr_settype):
20408 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20409
20410 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20411
20412 * nptl/tst-mutex5 (do_test):
20413 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20414
20415 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20416
20417 * benchtests/README: Document 'init' directive.
20418 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20419 BENCH_INIT.
20420 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20421 (parse_file): Recognize 'init' directive.
20422
20423 2014-05-26 Kyle McMartin <kyle@redhat.com>
20424
20425 [BZ #16796]
20426 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20427 alignment of struct pthread.
20428
20429 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20430
20431 [BZ #16878]
20432 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20433 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20434 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20435 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20436
20437 2014-05-25 Richard Henderson <rth@twiddle.net>
20438
20439 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20440 (SINGLE_THREAD_P_PIC): Remove.
20441 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20442 (SINGLE_THREAD_P_PIC): Remove.
20443
20444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20445 branch to syscall error ...
20446 (PSEUDO): ... here.
20447 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20448 from __local_syscall_error to .Lsyscall_error.
20449 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20450 (SYSCALL_ERROR): Update label name.
20451
20452 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20453 Do not use DOARGS/UNDOARGS.
20454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20455 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20456 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20457 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20458 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20459
20460 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20461 block comment.
20462
20463 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20464 define if !NOT_IN_libc.
20465 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20466 define with non-default symbol versions.
20467
20468 2014-05-23 Richard Henderson <rth@twiddle.net>
20469
20470 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20471 (vfork, __vfork): Define via compat_symbol.
20472
20473 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20474 [!HAVE_IFUNC] (vfork_compat): Remove.
20475 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20476
20477 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20478
20479 [BZ #16978]
20480 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20481 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20482 variable.
20483
20484 2014-05-23 Richard Henderson <rth@twiddle.net>
20485
20486 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20487 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20488 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20489 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20490
20491 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20492 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20493 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20494 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20495 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20496 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20497 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20498 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20499 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20500 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20501 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20502 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20503 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20504 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20505 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20506 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20507 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20508 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20509 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20510 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20511 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20512 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20513 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20514 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20515 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20516 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20517 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20518 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20519 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20520 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20521 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20522 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20523 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20524 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20525 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20526 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20527 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20528 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20529 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20530 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20531 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20532 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20533 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20534 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20535 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20536 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20537 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20538 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20539 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20540 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20541 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20542 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20543 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20544 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20545 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20546 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20547
20548 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20549 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20550 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20551 before exiting on error.
20552 (__libc_vfork): New strong alias.
20553 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20554 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20555
20556 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20557 that was previously under [RESET_PID].
20558 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20559
20560 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20561
20562 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20563
20564 [BZ #16977]
20565 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20566 value when x - 1 is zero.
20567 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20568 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20569 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20570 0.0L for an argument of 1.0L.
20571 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20572 Likewise.
20573 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20574 value when x - 1 is zero.
20575 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20576 * sysdeps/i386/fpu/libm-test-ulps: Update.
20577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20578
20579 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20580
20581 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20582 alphasort and versionsort.
20583
20584 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20585
20586 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20587 macro.
20588 [copysignf]: Likewise.
20589
20590 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20591
20592 * crypt/md5-crypt.c: Fix formatting.
20593
20594 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20595
20596 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20597 (b64_from_24bit): New function.
20598
20599 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20600
20601 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20602 libc_hidden_builtin_def to ifunc.
20603 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20604 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20605
20606 2014-05-21 Roland McGrath <roland@hack.frob.com>
20607
20608 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20609 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20610
20611 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20612
20613 * nscd/Depend (linuxthreads): Remove.
20614 (nptl): Add.
20615 * resolv/Depend (linuxthreads): Remove.
20616 * rt/Depend (linuxthreads): Remove.
20617
20618 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20619 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20620 $(common-objpfx)elf/.
20621 (link-libc-before-gnulib): Likewise.
20622 (elfobjdir): Remove variable.
20623 * Makefile (install): Use $(elf-objpfx) instead of
20624 $(common-objpfx)elf/.
20625 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20626 $(elfobjdir)/.
20627 (link-libc-deps): Likewise.
20628 ($(common-objpfx)libc.so): Likewise.
20629 ($(common-objpfx)linkobj/libc.so): Likewise.
20630 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20631 instead of $(common-objpfx)elf/.
20632 (symbolic-link-list): Likewise.
20633 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20634 [$(cross-compiling) = no]: Likewise.
20635 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20636 $(elfobjdir)/.
20637 (static-gnulib-arch): Likewise.
20638 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20639 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20640 $(common-objpfx)elf/.
20641
20642 2014-05-21 Richard Henderson <rth@redhat.com>
20643
20644 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20645 (SINGLE_THREAD_P): Use the correct width load. Fold
20646 into the ldr offset.
20647
20648 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20649 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20650
20651 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20652
20653 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20654 (libgcc_s_resume): Use __attribute_used__.
20655 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20656 Likewise.
20657
20658 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20659
20660 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20661 optimization when used with float constants.
20662
20663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20664
20665 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20666
20667 [BZ #16915]
20668 * locale/nl_langinfo_l.c: Make direct reference to every
20669 _nl_current_CATEGORY symbol.
20670 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20671 (tests-static): Add tst-langinfo-static.
20672 (tests-special): Add tst-langinfo-static.out.
20673 ($(objpfx)tst-langinfo.out): Redirect output.
20674 ($(objpfx)tst-langinfo-static.out): New.
20675 * localedata/tst-langinfo.sh: Send output to stdout.
20676 * localedata/tst-langinfo-static.c: New file.
20677
20678 [BZ #16965]
20679 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20680 when the shift amount is modulo the limb size.
20681
20682 2014-05-20 Richard Henderson <rth@redhat.com>
20683
20684 [BZ #16967]
20685 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20686 Change type of sa_flags from unsigned int to int.
20687
20688 [BZ #16966]
20689 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20690
20691 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20692
20693 2014-05-20 Will Newton <will.newton@linaro.org>
20694
20695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20696 Test the return value of the system call in the nocancel case.
20697
20698 2014-05-20 Will Newton <will.newton@linaro.org>
20699 Yvan Roux <yvan.roux@linaro.org>
20700
20701 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20702 #include of asm/ptrace.h.
20703 (PTRACE_GET_THREAD_AREA): Remove #undef.
20704 (PTRACE_GETHBPREGS): Likewise.
20705 (PTRACE_SETHBPREGS): Likewise.
20706 (struct user_regs_struct): New structure.
20707 (struct user_fpsimd_struct): New structure.
20708 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20709 #include of asm/ptrace.h and second #include of sys/user.h.
20710 (PTRACE_GET_THREAD_AREA): Remove #undef.
20711 (PTRACE_GETHBPREGS): Likewise.
20712 (PTRACE_SETHBPREGS): Likewise.
20713 (ELF_NGREG): Use new struct user_regs_struct.
20714 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20715
20716 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20717
20718 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20719 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20720
20721 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20722
20723 [BZ #16958]
20724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20725 membar to avoid block loads/stores to overlap previous stores.
20726
20727 2014-05-17 Richard Henderson <rth@redhat.com>
20728
20729 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20730 Create the __##syscall_name##_nocancel entry point.
20731 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20732 Remove; let the sysdep-cancel.h code create it.
20733
20734 2014-05-17 David S. Miller <davem@davemloft.net>
20735
20736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20737 Protect with __USE_GNU.
20738 (TIOCSET_TEMPT): Likewise.
20739 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20740 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20741 these are already provided in bits/ioctl-types.h
20742
20743 2014-05-16 Roland McGrath <roland@hack.frob.com>
20744
20745 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20746 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20747
20748 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20749 Use wait4 regardless of [__NR_waitpid].
20750
20751 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20752
20753 PR libgcc/60166
20754 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20755 (_FP_NANSIGN_Q): Set the quiet bit.
20756
20757 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20758
20759 * benchtests/Makefile
20760 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20761 not $(common-objpfx)math/libm.so.
20762 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20763 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20764 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20765 $(common-objpfx)dlfcn/libdl.so.
20766 ($(objpfx)tst-audit8): Depend on $(libm), not
20767 $(common-objpfx)math/libm.so.
20768 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20769 not $(common-objpfx)dlfcn/libdl.so.
20770 * math/Makefile
20771 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20772 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20773 [$(build-shared) = yes].
20774 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20775 $(common-objpfx)nptl/libpthread.so.
20776 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20777 $(common-objpfx)math/libm.so$(libm.so-version) or
20778 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20779 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20780 $(common-objpfx)dlfcn/libdl.so.
20781 * setjmp/Makefile (link-libm): Remove variable.
20782 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20783 * stdio-common/Makefile (link-libm): Remove variable.
20784 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20785 * stdlib/Makefile (link-libm): Remove variable.
20786 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20787 ($(objpfx)tst-strtod-round): Likewise.
20788 ($(objpfx)tst-tininess): Likewise.
20789 ($(objpfx)tst-strtod-underflow): Likewise.
20790 ($(objpfx)tst-strtod6): Likewise.
20791 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20792 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20793 $(common-objpfx)dlfcn/libdl.so.
20794
20795 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20796
20797 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20798 BSD terminal modes definitions.
20799
20800 2014-05-16 Roland McGrath <roland@hack.frob.com>
20801
20802 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20803 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20804
20805 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20806 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20807 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20808 Don't do #include_next.
20809 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20810 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20811 Don't do #include_next.
20812 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20813 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20814 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20815 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20816
20817 2014-05-16 Allan McRae <allan@archlinux.org>
20818
20819 * po/sv.po: Update Swedish translation from translation project.
20820
20821 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20822 in sed expression.
20823
20824 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20825
20826 [BZ #16917]
20827 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20828 errno if the TIOCGPTN ioctl fails with an error different than
20829 EINVAL.
20830 * login/tst-ptsname.c: New file.
20831 * login/Makefile (tests): Add tst-ptsname.
20832
20833 [BZ #16943]
20834 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20835 and prlimit64.
20836
20837 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20838
20839 [BZ #16849]
20840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20841 herrno to return EAI_AGAIN.
20842
20843 2014-05-14 Roland McGrath <roland@hack.frob.com>
20844
20845 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20846 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20847 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20848 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20849 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20850 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20851 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20852 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20853 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20854 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20855 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20856 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20857 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20858 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20859 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20860 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20861 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20862 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20863 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20864 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20865 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20866 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20867 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20868 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20869 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20870 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20871 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20872 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20873 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20874 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20876 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20878 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20880 Moved ...
20881 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20883 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20885 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20887 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20889 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20891 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20893 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20895 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20897 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20899 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20901 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20903 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20905 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20907 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20909 Moved ...
20910 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20912 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20914 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20916 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20918 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20920 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20922 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20924 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20926 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20928 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20930 Moved ...
20931 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20933 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20934
20935 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20936 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20937 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20938 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20939 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20940 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20941 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20942 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20943 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20944 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20945 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20946 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20947 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20948 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20949 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20950 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20951 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20952 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20953 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20954 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20955 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20956 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20957 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20958 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20959 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20960 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20961 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20962 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20963 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20964 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20965 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20966
20967 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20968 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20969
20970 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20971 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20972 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20973 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20974 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20975 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20976 Moved ...
20977 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20979 Moved ...
20980 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20981 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20982 Moved ...
20983 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20984 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20985 Moved ...
20986 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20987 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20988 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20989 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20990 Moved ...
20991 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20992 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20993 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20994 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20995 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20996 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20997 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20998 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20999 Moved ...
21000 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21001 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21002 Moved ...
21003 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21004 ... here.
21005 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21006 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21007 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21008 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21009 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21010 Moved ...
21011 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21012 ... here.
21013 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21014 Moved ...
21015 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21016 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21017 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21018 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21019 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21020 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21021 Moved ...
21022 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21024 Moved ...
21025 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21026 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21027 Moved ...
21028 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21029 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21030 Moved ...
21031 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21032 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21033 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21034 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21035 Moved ...
21036 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21037 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21038 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21039 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21040 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21041 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21042 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21043 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21044 Moved ...
21045 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21046 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21047 Moved ...
21048 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21049 ... here.
21050 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21051 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21052 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21053 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21054 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21055 Moved ...
21056 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21057 ... here.
21058 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21059 Moved ...
21060 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21061 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21062 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21063 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21064 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21065 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21066 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21067 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21068 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21069 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21070 Moved ...
21071 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21072 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21073 Moved ...
21074 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21075 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21076 Moved ...
21077 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21079 Moved ...
21080 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21081 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21082 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21083 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21084 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21085 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21086 Moved ...
21087 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21088 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21089 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21090 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21091 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21092 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21093 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21094 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21095 Moved ...
21096 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21097 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21098 Moved ...
21099 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21100 ... here.
21101 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21102 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21103 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21104 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21105 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21106 Moved ...
21107 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21108 ... here.
21109 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21110 Moved ...
21111 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21112 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21113 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21114 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21115 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21116 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21117 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21118 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21119 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21120 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21121 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21122
21123 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21124 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21125
21126 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21127 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21128
21129 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21130 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21131 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21132 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21133 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21134 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21135 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21136 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21137 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21138 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21139 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21140 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21141 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21142 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21143 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21145 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21147 Moved ...
21148 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21149 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21150 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21151 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21152 Moved ...
21153 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21155 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21156 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21157 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21158 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21159 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21161 Moved ...
21162 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21163 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21164 Moved ...
21165 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21166 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21167 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21168 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21169 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21170 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21171 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21172 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21173 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21174 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21175 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21176 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21177 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21178 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21179 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21180 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21181 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21182
21183 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21184 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21185 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21186 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21187 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21188
21189 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21190 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21191 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21192 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21193 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21194 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21195 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21196 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21197 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21198 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21199
21200 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21202
21203 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21204 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21205 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21206 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21207 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21208 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21209 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21210 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21211 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21212 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21213 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21214 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21215 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21216 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21218 Update #include.
21219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21220 Likewise.
21221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21222 Likewise.
21223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21224 Likewise.
21225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21226 Likewise.
21227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21228 Likewise.
21229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21230 Likewise.
21231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21232 Likewise.
21233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21234 Likewise.
21235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21236 Likewise.
21237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21240 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21242 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21244 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21245 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21246 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21247 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21248 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21249 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21250 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21251 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21252
21253 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21254 that was previously under [RESET_PID].
21255 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21256 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21257 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21258
21259 * sysdeps/i386/nptl/Implies: New file.
21260 * sysdeps/x86_64/nptl/Implies: New file.
21261 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21262 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21263 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21264 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21265
21266 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21267 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21268 (__libc_vfork): New strong alias.
21269 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21270 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21271
21272 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21273 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21274 (__libc_vfork): New strong alias.
21275 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21276 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21277
21278 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21279 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21280 (__libc_vfork): New strong alias.
21281 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21282 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21283 * nptl/pt-vfork.c: New file.
21284 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21285 (libpthread: GLIBC_2.20): New version set (empty).
21286
21287 2014-05-14 Will Newton <will.newton@linaro.org>
21288
21289 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21290 rather than #if.
21291
21292 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21293
21294 [BZ #16564]
21295 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21296 arguments with exponent 65 or above.
21297 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21298 arguments 0x1p113L or above.
21299 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21300 to arguments 0x1p107L or above.
21301 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21302 positive arguments with exponent 65 or above.
21303 * math/auto-libm-test-in: Add more tests of log1p.
21304 * math/auto-libm-test-out: Regenerated.
21305
21306 [BZ #16928]
21307 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21308 non-finite arguments is +0.
21309 * math/s_cacosf.c (__cacosf): Likewise.
21310 * math/s_cacosl.c (__cacosl): Likewise.
21311 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21312 * sysdeps/i386/fpu/libm-test-ulps: Update.
21313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21314
21315 [BZ #16927]
21316 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21317 value.
21318 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21319 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21320 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21321 for explicit high bit of mantissa when testing for argument equal
21322 to 1.
21323 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21324 * sysdeps/i386/fpu/libm-test-ulps: Update.
21325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21326
21327 [BZ #16516]
21328 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21329 (__erf): Scale by 16 instead of 8 in potentially underflowing
21330 case. Ensure exception if result actually underflows.
21331 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21332 (__erff): Scale by 16 instead of 8 in potentially underflowing
21333 case. Ensure exception if result actually underflows.
21334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21335 (efx8): Remove variable.
21336 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21337 case. Ensure exception if result actually underflows.
21338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21339 (efx8): Remove variable.
21340 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21341 case. Ensure exception if result actually underflows.
21342 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21343 (efx8): Remove variable.
21344 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21345 case. Ensure exception if result actually underflows.
21346 * math/auto-libm-test-in: Add more tests of erf.
21347 * math/auto-libm-test-out: Regenerated.
21348
21349 2014-05-14 Andreas Schwab <schwab@suse.de>
21350
21351 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21352 Remove code conditionalized on USE___THREAD.
21353
21354 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21355 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21356 not definedness.
21357
21358 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21359
21360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21361 Define unconditionally.
21362 (__ASSUME_O_CLOEXEC): Likewise.
21363 (__ASSUME_SOCK_CLOEXEC): Likewise.
21364 (__ASSUME_IN_NONBLOCK): Likewise.
21365 (__ASSUME_PIPE2): Likewise.
21366 (__ASSUME_EVENTFD2): Likewise.
21367 (__ASSUME_SIGNALFD4): Likewise.
21368 (__ASSUME_DUP3): Likewise.
21369 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21370 (__ASSUME_DUP3): Do not define.
21371 (__ASSUME_EVENTFD2): Likewise.
21372 (__ASSUME_IN_NONBLOCK): Likewise.
21373 (__ASSUME_O_CLOEXEC): Likewise.
21374 (__ASSUME_PIPE2): Likewise.
21375 (__ASSUME_SIGNALFD4): Likewise.
21376 (__ASSUME_SOCK_CLOEXEC): Likewise.
21377 (__ASSUME_UTIMES): Undefine.
21378 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21379 (__ASSUME_UTIMES): Do not define.
21380 (__ASSUME_O_CLOEXEC): Likewise.
21381 (__ASSUME_SOCK_CLOEXEC): Likewise.
21382 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21383 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21384 0x020621].
21385 (__ASSUME_PIPE2): Likewise.
21386 (__ASSUME_EVENTFD2): Likewise.
21387 (__ASSUME_SIGNALFD4): Likewise.
21388 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21389 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21390 Do not define.
21391 (__ASSUME_EVENTFD2): Likewise.
21392 (__ASSUME_SIGNALFD4): Likewise.
21393 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21394 (__ASSUME_32BITUIDS): Likewise.
21395 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21396 (__ASSUME_IPC64): Likewise.
21397 (__ASSUME_ST_INO_64_BIT): Likewise.
21398 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21399 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21400 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21401 (__ASSUME_UTIMES): Do not define.
21402 (__ASSUME_PSELECT): Likewise.
21403 (__ASSUME_PPOLL): Likewise.
21404 (__ASSUME_O_CLOEXEC): Likewise.
21405 (__ASSUME_SOCK_CLOEXEC): Likewise.
21406 (__ASSUME_IN_NONBLOCK): Likewise.
21407 (__ASSUME_PIPE2): Likewise.
21408 (__ASSUME_EVENTFD2): Likewise.
21409 (__ASSUME_SIGNALFD4): Likewise.
21410 (__ASSUME_DUP3): Likewise.
21411 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21412 (__ASSUME_UTIMES): Likewise.
21413 (__ASSUME_O_CLOEXEC): Likewise.
21414 (__ASSUME_SOCK_CLOEXEC): Likewise.
21415 (__ASSUME_IN_NONBLOCK): Likewise.
21416 (__ASSUME_PIPE2): Likewise.
21417 (__ASSUME_EVENTFD2): Likewise.
21418 (__ASSUME_SIGNALFD4): Likewise.
21419 (__ASSUME_DUP3): Likewise.
21420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21421 (__ASSUME_UTIMES): Likewise.
21422 (__ASSUME_O_CLOEXEC): Likewise.
21423 (__ASSUME_SOCK_CLOEXEC): Likewise.
21424 (__ASSUME_IN_NONBLOCK): Likewise.
21425 (__ASSUME_PIPE2): Likewise.
21426 (__ASSUME_EVENTFD2): Likewise.
21427 (__ASSUME_SIGNALFD4): Likewise.
21428 (__ASSUME_DUP3): Likewise.
21429 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21430 Likewise.
21431 (__ASSUME_UTIMES): Likewise.
21432 (__ASSUME_EVENTFD2): Likewise.
21433 (__ASSUME_SIGNALFD4): Likewise.
21434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21435 (__ASSUME_O_CLOEXEC): Likewise.
21436 (__ASSUME_SOCK_CLOEXEC): Likewise.
21437 (__ASSUME_IN_NONBLOCK): Likewise.
21438 (__ASSUME_PIPE2): Likewise.
21439 (__ASSUME_EVENTFD2): Likewise.
21440 (__ASSUME_SIGNALFD4): Likewise.
21441 (__ASSUME_DUP3): Likewise.
21442 (__ASSUME_UTIMES): Undefine.
21443
21444 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21445 feclearexcept. Remove symbol versioning code.
21446 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21447 symbol versioning code.
21448 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21449 symbol versioning code.
21450 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21451 feupdateenv. Remove symbol versioning code.
21452 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21453 fegetexceptflag. Remove symbol versioning code.
21454 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21455 fesetexceptflag. Remove symbol versioning code.
21456 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21457 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21458 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21459 (__posix_fadvise64_l32): Remove prototype.
21460 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21461 code.
21462
21463 2014-05-13 Roland McGrath <roland@hack.frob.com>
21464
21465 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21466 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21467 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21468 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21469
21470 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21471
21472 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21473 current working directory
21474
21475 2014-05-13 Roland McGrath <roland@hack.frob.com>
21476
21477 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21478 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21479 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21480 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21481 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21482 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21483 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21484 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21485 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21486 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21487 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21488 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21489 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21490 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21491 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21492 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21493 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21494 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21495 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21496 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21497 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21498 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21499 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21500 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21501 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21502 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21503 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21504 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21505 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21506 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21507 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21508 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21509 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21510 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21511 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21512 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21513 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21514 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21515 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21516 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21517 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21518 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21519
21520 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21521 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21522
21523 * sysdeps/unix/sysv/linux/arm/Makefile
21524 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21525 Add rt-aeabi_unwind_cpp_pr1.
21526 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21527 Add nptl-aeabi_unwind_cpp_pr1.
21528 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21529 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21530 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21531 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21532 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21533 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21534
21535 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21536 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21537 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21538 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21539
21540 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21541 Deconditionalize the code that was previously under [RESET_PID].
21542 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21543
21544 * sysdeps/generic/exit-thread.h: New file.
21545 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21546 * include/unistd.h (__exit_thread): Remove declaration.
21547 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21548 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21549 * csu/libc-start.c: Include <exit-thread.h>.
21550 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21551 * nptl/pthread_create.c: Include <exit-thread.h>.
21552 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21553 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21554 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21555 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21556 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21557 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21558 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21559 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21560 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21561 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21562 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21563 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21564 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21565 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21566 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21567 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21568 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21569
21570 2014-05-13 Andreas Schwab <schwab@suse.de>
21571
21572 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21573
21574 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21575
21576 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21577 (__ASSUME_UTIMES): Do not condition on kernel version.
21578 (__ASSUME_PSELECT): Define unconditionally.
21579 (__ASSUME_PPOLL): Likewise.
21580 (__ASSUME_ATFCTS): Likewise.
21581 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21582 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21583 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21584 (__ASSUME_UTIMENSAT): Define unconditionally.
21585 (__ASSUME_PRIVATE_FUTEX): Likewise.
21586 (__ASSUME_FALLOCATE): Likewise.
21587 (__ASSUME_O_CLOEXEC): Likewise.
21588 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21589 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21590 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21591 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21592 (__ASSUME_IN_NONBLOCK): Likewise.
21593 (__ASSUME_PIPE2): Likewise.
21594 (__ASSUME_EVENTFD2): Likewise.
21595 (__ASSUME_SIGNALFD4): Likewise.
21596 (__ASSUME_DUP3): Likewise.
21597 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21598 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21599 (__ASSUME_AT_RANDOM): Likewise.
21600 (__ASSUME_PREADV): Likewise.
21601 (__ASSUME_PWRITEV): Likewise.
21602 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21603 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21604 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21605 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21606 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21607 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21608 (__ASSUME_O_CLOEXEC): Define unconditionally.
21609 (__ASSUME_PSELECT): Do not undefine conditionally.
21610 (__ASSUME_PPOLL): Likewise.
21611 (__ASSUME_ATFCTS): Likewise.
21612 (__ASSUME_SET_ROBUST_LIST): Likewise.
21613 (__ASSUME_UTIMENSAT): Likewise.
21614 (__ASSUME_FDATASYNC): Define unconditionally.
21615 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21616 (__ASSUME_SIGFRAME_V2): Likewise.
21617 )__ASSUME_EVENTFD2): Likewise.
21618 (__ASSUME_SIGNALFD4): Likewise.
21619 (__ASSUME_PSELECT): Do not undefine conditionally.
21620 (__ASSUME_PPOLL): Likewise.
21621 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21622 (__ASSUME_PSELECT): Define unconditionally.
21623 (__ASSUME_PPOLL): Likewise.
21624 (__ASSUME_O_CLOEXEC): Likewise.
21625 (__ASSUME_SOCK_CLOEXEC): Likewise.
21626 (__ASSUME_IN_NONBLOCK): Likewise.
21627 (__ASSUME_PIPE2): Likewise.
21628 (__ASSUME_EVENTFD2): Likewise.
21629 (__ASSUME_SIGNALFD4): Likewise.
21630 (__ASSUME_DUP3): Likewise.
21631 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21632 (__ASSUME_O_CLOEXEC): Likewise.
21633 (__ASSUME_SOCK_CLOEXEC): Likewise.
21634 (__ASSUME_IN_NONBLOCK): Likewise.
21635 (__ASSUME_PIPE2): Likewise.
21636 (__ASSUME_EVENTFD2): Likewise.
21637 (__ASSUME_SIGNALFD4): Likewise.
21638 (__ASSUME_DUP3): Likewise.
21639 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21640 (__ASSUME_EVENTFD2): Likewise.
21641 (__ASSUME_SIGNALFD4): Likewise.
21642 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21643
21644 2014-05-12 Andreas Schwab <schwab@suse.de>
21645
21646 [BZ #16932]
21647 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21648 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21649 than maximum RPC packet size.
21650 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21651 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21652 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21653 (_nss_nis_getservbyport_r): Likewise.
21654
21655 2014-05-12 Will Newton <will.newton@linaro.org>
21656
21657 * malloc/Makefile (tests): Add tst-mallopt.
21658 * malloc/tst-mallopt.c: New file.
21659
21660 2014-05-09 Roland McGrath <roland@hack.frob.com>
21661
21662 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21663 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21664
21665 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21666
21667 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21668 (tst-tlsmod6.so): Likewise.
21669
21670 2014-05-09 Roland McGrath <roland@hack.frob.com>
21671
21672 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21673
21674 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21675
21676 [BZ #16064]
21677 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21678 and <dl-procinfo.h>.
21679 (__fegetenv): Save SSE state in envp->__eip if supported.
21680 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21681 envp->__eip if supported.
21682 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21683 and <dl-procinfo.h>.
21684 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21685 __data_offset and __data_selector in environment to 0. Set SSE
21686 state if supported.
21687 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21688 test-fenv-sse.
21689 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21690 -mfpmath=sse.
21691 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21692
21693 2014-05-09 Will Newton <will.newton@linaro.org>
21694
21695 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21696 and libc_relro_required for ARM.
21697 * sysdeps/arm/preconfigure: Regenerate.
21698
21699 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21700 Stefan Liebler <stli@linux.vnet.ibm.com>
21701
21702 * config.make.in (enable-lock-elision): New Makefile variable.
21703 * configure.ac: Likewise.
21704 * configure: Regenerate.
21705 * sysdeps/s390/configure.ac:
21706 Add check for gcc transactions support.
21707 * sysdeps/s390/configure: Regenerate.
21708 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21709 Build elision files if enabled.
21710 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21711 Add lock elision support for s390.
21712 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21713 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21714 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21715 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21716 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21717 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21718 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21719 Likewise.
21720 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21721 Likewise.
21722 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21723 Likewise.
21724 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21725 Likewise.
21726 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21727 (__lll_timedlock_elision, __lll_lock_elision)
21728 (__lll_unlock_elision, __lll_trylock_elision)
21729 (lll_timedlock_elision, lll_lock_elision)
21730 (lll_unlock_elision, lll_trylock_elision): Add.
21731 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21732 (pthread_mutex_t): Add lock elision support for s390.
21733
21734 2014-05-14 Wilco <wdijkstr@arm.com>
21735
21736 * sysdeps/arm/fclrexcpt.c: Cleanup.
21737 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21738 * sysdeps/arm/feenablxcpt.c: Cleanup.
21739 * sysdeps/arm/fegetenv.c: Cleanup.
21740 * sysdeps/arm/fegetexcept.c: Cleanup.
21741 * sysdeps/arm/fegetround.c: Cleanup.
21742 * sysdeps/arm/feholdexcpt.c: Cleanup.
21743 * sysdeps/arm/fesetenv.c: Cleanup.
21744 * sysdeps/arm/fesetround.c: Cleanup.
21745 * sysdeps/arm/feupdateenv.c: Cleanup.
21746 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21747 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21748 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21749 * sysdeps/arm/ftestexcept.c: Cleanup.
21750 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21751 * sysdeps/arm/setfpucw.c: Cleanup.
21752
21753 2014-05-09 Will Newton <will.newton@linaro.org>
21754
21755 * sysdeps/arm/armv7/strcmp.S: New file.
21756 * NEWS: Mention addition of ARMv7 optimized strcmp.
21757
21758 2014-05-08 Roland McGrath <roland@hack.frob.com>
21759
21760 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21761 look for %.ac rather than %.in.
21762
21763 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21764 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21765 * sysdeps/mach/hurd/configure: Regenerated.
21766 * sysdeps/unix/sysv/linux/configure: Regenerated.
21767
21768 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21769
21770 2014-05-07 Steve Ellcey <sellcey@mips.com>
21771
21772 [BZ# 16922]
21773 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21774 (LONG_SUB): Ditto.
21775 (PTR_SUB): Ditto.
21776
21777 2014-05-07 Andreas Schwab <schwab@suse.de>
21778
21779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21780 when skipping over non-matching result from nscd.
21781
21782 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21783
21784 [BZ #16876]
21785 * nptl/sockperf.c (client): Check socket return value.
21786
21787 [BZ #16877]
21788 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21789 nscd security class.
21790
21791 2014-05-06 Roland McGrath <roland@hack.frob.com>
21792
21793 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21794 * sysdeps/arm/unwind.h: ... here.
21795
21796 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21797
21798 [BZ# 16916]
21799 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21800 Define.
21801
21802 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21803
21804 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21805 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21806 multiarch strncpy for PPC64.
21807 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21808 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21810 multiarch optimizations.
21811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21812 (__libc_ifunc_impl_list): Likewise.
21813 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21814 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21815 multiarch stpncpy for PPC64.
21816 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21817 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21818
21819 2014-05-06 Andreas Schwab <schwab@suse.de>
21820
21821 [BZ #16912]
21822 * gmon/mcount.c (_MCOUNT_DECL): Use
21823 atomic_compare_and_exchange_bool_acq instead of
21824 catomic_compare_and_exchange_bool_acq.
21825
21826 2014-05-05 Roland McGrath <roland@hack.frob.com>
21827
21828 * elf/Makefile (others, install-bin): Remove pldd.
21829 (pldd-modules): Variable removed.
21830 ($(objpfx)pldd): Target removed.
21831 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21832 (others, install-bin): Append pldd here.
21833 ($(objpfx)pldd): New target.
21834
21835 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21836 to 0, so the first #if test emitted later doesn't see it undefined.
21837 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21838 * sysdeps/gnu/errlist.c: Regenerated.
21839
21840 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21841
21842 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21843 [libc_hidden_builtin_def]: Define to empty value.
21844 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21845 [libc_hidden_builtin_def]: Likewise.
21846 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21847 [libc_hidden_builtin_def]: Likewise.
21848 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21849 [libc_hidden_builtin_def]: Likewise.
21850 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21851 __redirect_memcpy and define ifunc as default hidden symbol.
21852 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21853 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21854
21855 2014-05-04 Adam Conrad <adconrad@0c3.net>
21856
21857 * locale/iso-4217.def: Reintroduce XDR currency.
21858
21859 2014-05-04 Allan McRae <allan@archlinux.org>
21860
21861 * po/eo.po: Update Esperanto translation from translation project.
21862
21863 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21864
21865 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21866 and FEATURE_INDEX_MAX to 1.
21867 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21868
21869 2014-05-01 Steve Ellcey <sellcey@mips.com>
21870
21871 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21872 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21873 * iconvdata/big5.c (ONE_DIRECTION): Define.
21874 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21875 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21876 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21877 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21878 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21879 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21880 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21881 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21882 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21883 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21884 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21885 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21886 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21887 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21888 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21889 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21890 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21891 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21892 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21893 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21894 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21895 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21896 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21897 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21898 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21899 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21900 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21901 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21902 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21903 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21904 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21905 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21906 * iconvdata/johab.c (ONE_DIRECTION): Define.
21907 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21908 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21909 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21910 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21911 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21912 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21913 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21914 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21915 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21916 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21917
21918 2014-05-01 Roland McGrath <roland@hack.frob.com>
21919
21920 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21921 (_IO_JUMPS_OFFSET): Define to 0.
21922
21923 * nptl/sysdeps/pthread/bits/libc-lock.h
21924 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21925 (__libc_lock_define_initialized_recursive): Always define using
21926 initializer. Modern compilers treat uninitialized (implicit zero) and
21927 explicit zero initializers the same (i.e. put the datum in bss).
21928
21929 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21930
21931 * nscd/nscd-client.h: Include <string.h>.
21932
21933 2014-05-01 David S. Miller <davem@davemloft.net>
21934
21935 [BZ #16885]
21936 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21937 multiple zero bytes exist at the end of a string.
21938 Reported by Aurelien Jarno <aurelien@aurel32.net>
21939
21940 * string/test-strcmp.c (check): Add explicit test for situations where
21941 there are multiple zero bytes after the first.
21942
21943 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21944
21945 [BZ #16890]
21946 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21947 when compiling wprintf.
21948 * stdio-common/tstdiomisc.c (t3): New function.
21949 (main): Call it.
21950
21951 2014-05-01 Steve Ellcey <sellcey@mips.com>
21952
21953 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21954 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21955 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21956 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21957
21958 2014-05-01 Steve Ellcey <sellcey@mips.com>
21959
21960 * stdlib/longlong.h: Updated from GCC.
21961
21962 2014-05-01 Will Newton <will.newton@linaro.org>
21963 Bernard Ogden <bernie.ogden@linaro.org>
21964
21965 * NEWS: Update fixed bug list.
21966
21967 [BZ #15119]
21968 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21969
21970 2014-04-30 David S. Miller <davem@davemloft.net>
21971
21972 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21973 (libc_feholdexcept_setround_sparc_ctx): New function.
21974 (libc_fesetenv_sparc_ctx): Likewise.
21975 (libc_feupdateenv_sparc_ctx): Likewise.
21976 (libc_feholdsetround_sparc_ctx): Likewise.
21977 (libc_feholdexcept_setround_ctx): Define.
21978 (libc_feholdexcept_setroundf_ctx): Likewise.
21979 (libc_feholdexcept_setroundl_ctx): Likewise.
21980 (libc_fesetenv_ctx): Likewise.
21981 (libc_fesetenvf_ctx): Likewise.
21982 (libc_fesetenvl_ctx): Likewise.
21983 (libc_feupdateenv_ctx): Likewise.
21984 (libc_feupdateenvf_ctx): Likewise.
21985 (libc_feupdateenvl_ctx): Likewise.
21986 (libc_feresetround_ctx): Likewise.
21987 (libc_feresetroundf_ctx): Likewise.
21988 (libc_feresetroundl_ctx): Likewise.
21989 (libc_feholdsetround_ctx): Likewise.
21990 (libc_feholdsetroundf_ctx): Likewise.
21991 (libc_feholdsetroundl_ctx): Likewise.
21992
21993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21994 with __USE_GNU instead of XOPEN cpp guards.
21995
21996 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21997 0.
21998
21999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22000 with XOPEN cpp guards.
22001
22002 2014-04-30 Julian Brown <julian@codesourcery.com>
22003
22004 [BZ #16888]
22005 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22006 handling.
22007
22008 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22009
22010 [BZ #9894]
22011 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22012 Change to 2.6.32.
22013 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22014 * sysdeps/unix/sysv/linux/configure: Regenerated.
22015 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22016 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22017 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22018 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22019 * README: Update reference to required Linux kernel version.
22020 * manual/install.texi (Linux): Update reference to required Linux
22021 kernel headers version.
22022 * INSTALL: Regenerated.
22023
22024 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22025 header inclusion.
22026 [POSIX] (limits.h): Likewise.
22027 [POSIX] (math.h): Likewise.
22028 [POSIX] (sys/wait.h): Likewise.
22029 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22030 function.
22031 [POSIX] (stddef.h): Do not allow header inclusion.
22032
22033 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22034
22035 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22036
22037 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22038
22039 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22040 Return immediately after lll_futex_wake.
22041
22042 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22043
22044 [BZ #16791]
22045 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22046 structure.
22047 (datahead_init_pos): Call datahead_init_common early.
22048 (datahead_init_neg): Likewise.
22049
22050 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22051 datahead_init_neg): New functions.
22052 * nscd/aicache.c (addhstaiX): Use them.
22053 * nscd/grpcache.c (cache_addgr): Likewise.
22054 * nscd/hstcache.c (cache_addhst): Likewise.
22055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22056 * nscd/netgroupcache.c (do_notfound): Likewise.
22057 (addgetnetgrentX): Likewise.
22058 (addinnetgrX): Likewise.
22059 * nscd/pwdcache.c (cache_addpw): Likewise.
22060 * nscd/servicescache.c (cache_addserv): Likewise.
22061
22062 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22063 Atsushi Onoe <atsushi@onoe.org>
22064
22065 [BZ #14308]
22066 [BZ #12994]
22067 [BZ #13651]
22068 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22069 one response is valid.
22070 * resolv/res_send.c (send_dg): Check for validity of other
22071 response if the current response is a referral.
22072
22073 2014-04-29 Steve Ellcey <sellcey@mips.com>
22074
22075 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22076
22077 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22078
22079 [BZ #16823]
22080 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22081 Always divide by positive zero when computing -Inf result.
22082 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22083 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22084
22085 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22086
22087 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22088 FPSCR if value do not change.
22089 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22090 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22091 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22092 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22093 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22094 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22095 function.
22096
22097 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22098
22099 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22100 * sysdeps/unix/sysv/linux/hppa: Move directory from
22101 ports/systeps/unix/sysv/linux/hppa.
22102 * README: Update listing for hppa-*-linux-gnu.
22103
22104 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22105
22106 [BZ #16754]
22107 * manual/stdio.texi (Hook functions): Fix types of stream hook
22108 functions.
22109 [BZ #16854]
22110 * socket/sys/socket.h: Fix typo in comment.
22111
22112 2014-04-28 Wilco <wdijkstr@arm.com>
22113
22114 * sysdeps/arm/fenv_private.h: New file.
22115 * sysdeps/arm/math_private.h: New file.
22116 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22117
22118 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22119
22120 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22121 with __int128_t.
22122 (La_x86_64_retval): Likewise.
22123
22124 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22125
22126 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22127 fpsr if value didn't change.
22128 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22129 to fpcr if value didn't change.
22130 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22131 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22132 fpsr or fpcr if value didn't change.
22133 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22134 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22135 fpcr if value didn't change.
22136 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22137 to fpsr if value didn't change.
22138
22139 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22140
22141 * nptl/tst-sem3.c: Use test-skeleton.c
22142 (main): Rename to do_test. Use return instead of
22143 exit.
22144 * nptl/tst-sem4.c: Use test-skeleton.c
22145 (main): Rename to do_test.
22146
22147 2014-04-22 David S. Miller <davem@davemloft.net>
22148
22149 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22150 (struct sigaction): New struct member __glibc_reserved0, change
22151 type of sa_flags to int.
22152
22153 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22154
22155 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22156 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22157
22158 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22159
22160 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22161 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22162
22163 2014-04-22 Will Newton <will.newton@linaro.org>
22164 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22165
22166 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22167 (__longjmp): Add longjmp and longjmp_target SystemTap
22168 probes.
22169 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22170 (__sigsetjmp): Add setjmp SystemTap probe.
22171
22172 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22173
22174 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22175 match manual order.
22176
22177 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22178
22179 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22180
22181 * sysdeps/powerpc/fpu/fenv_private.h
22182 (libc_feholdexcept_setroundl_ctx): Define to
22183 libc_feholdexcept_setround_ppc_ctx.
22184 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22185 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22186 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22187 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22188
22189 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22190
22191 * sysdeps/aarch64/math-tests.h: New file.
22192
22193 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22194
22195 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22196 New.
22197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22198 Check and set bit_AVX2_Usable.
22199 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22200 macro.
22201 (bit_AVX2): Likewise.
22202 (index_AVX2_Usable): Likewise.
22203 (CPUID_AVX2): Likewise.
22204 (HAS_AVX2): Likewise.
22205
22206 2014-04-17 Will Newton <will.newton@linaro.org>
22207
22208 * manual/setjmp.texi (System V contexts): Add note that
22209 calling setcontext on a context created by a call to a
22210 signal handler is undefined. Update text to note that
22211 setcontext from a signal handler is possible but not
22212 recommended.
22213
22214 [BZ #16629]
22215 * stdlib/tst-setcontext.c: Include signal.h.
22216 (main): Check that the signal stack before and
22217 after swapcontext is the same.
22218
22219 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22220 Re-implement to restore registers in user code and avoid
22221 rt_sigreturn system call.
22222
22223 2014-04-17 Wilco <wdijkstr@arm.com>
22224
22225 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22226 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22227 * math/test-fenv.c: Skip exception trap tests on targets which only
22228 support non-stop mode.
22229
22230 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22231 Wilco Dijkstra <wilco.dijkstra@arm.com>
22232
22233 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22234 (libc_feholdsetround_aarch64_ctx)
22235 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22236 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22237 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22238 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22239 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22240 (libc_feresetround_noexl_ctx): Define.
22241
22242 2014-04-16 Richard Henderson <rth@redhat.com>
22243
22244 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22245
22246 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22247 unwind tables.
22248
22249 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22250 const from the non-libc, non-ldso copy.
22251
22252 * sysdeps/alpha/libm-test-ulps: Regenerate.
22253
22254 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22255 Wilco Dijkstra <wilco.dijkstra@arm.com>
22256
22257 * sysdeps/aarch64/fpu/math_private.h: New file.
22258
22259 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22260
22261 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22262
22263 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22264
22265 [BZ #16275]
22266 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22267 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22268 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22269 Intel MPX bound registers before _dl_profile_fixup.
22270 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22271 registers after _dl_profile_fixup. Save and restore bound
22272 registers bnd0/bnd1 when calling _dl_call_pltexit.
22273 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22274 (LR_BND_OFFSET): Likewise.
22275 (LRV_BND0_OFFSET): Likewise.
22276 (LRV_BND1_OFFSET): Likewise.
22277
22278 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22279
22280 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22281 to...
22282 * sysdeps/mach/hurd/i386/tls.h: ... here.
22283 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22284 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22285 fields.
22286
22287 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22288
22289 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22290
22291 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22292
22293 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22294
22295 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22296
22297 [BZ #14770]
22298 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22299 * sysdeps/s390/configure: Regenerate.
22300
22301 [BZ #16824]
22302 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22303 Set round-to-nearest internally to reduce error accumulation.
22304
22305 2014-04-16 Alan Modra <amodra@gmail.com>
22306
22307 [BZ #16740]
22308 [BZ #16619]
22309 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22310 * math/libm-test.inc (frexp_test_data): Add tests.
22311 * NEWS: Update fixed bug list.
22312
22313 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22314
22315 * benchtests/Makefile: Depend on libraries in build directory.
22316 (bench-math): Separate out math tests.
22317 (bench-pthread): Separate out pthread tests.
22318 (bench): Include math and pthread tests.
22319
22320 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22321
22322 [BZ #16831]
22323 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22324 _dl_debug_initialize.
22325
22326 * configure.ac: Remove SELinux header check.
22327 * configure: Regenerate.
22328 * nscd/selinux.c (perms): Array of const char* to permission names.
22329 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22330 default policy. Call string_to_security_class and string_to_av_perm to
22331 translate strings. Enforce default policy and call avs_has_perm with
22332 results of translated strings.
22333
22334 2014-04-13 David S. Miller <davem@davemloft.net>
22335
22336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22337
22338 2014-04-12 Allan McRae <allan@archlinux.org>
22339
22340 [BZ #16838]
22341 * manual/string.texi (Collation Functions): Fix qsort argument
22342 order in example.
22343 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22344
22345 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22346
22347 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22348 Make the test a no-op if there are no exceptions defined.
22349
22350 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22351
22352 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22353 enable-hardcoded-path-in-tests
22354
22355 2014-04-11 Will Newton <will.newton@linaro.org>
22356
22357 * benchtests/Makefile (extra-objs): Add json-lib.o.
22358 (bench-func): Tidy up JSON output.
22359 * benchtests/bench-skeleton.c: Include json-lib.h.
22360 (main): Use JSON library functions to do output of
22361 benchmark results.
22362 * benchtests/bench-timing-type.c (main): Output the
22363 timing type simply, leaving formatting to the user.
22364 * benchtests/json-lib.c: New file.
22365 * benchtests/json-lib.h: Likewise.
22366
22367 2014-04-11 Torvald Riegel <triegel@redhat.com>
22368
22369 [BZ #15215]
22370 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22371 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22372 memory barriers. Add comments.
22373 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22374 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22375 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22376 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22377 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22378 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22379
22380 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22381
22382 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22383 * sysdeps/s390/s390-64/configure.ac: ... this ...
22384 * sysdeps/s390/configure.ac: ... to here.
22385 * sysdeps/s390/s390-32/configure: Delete file.
22386 * sysdeps/s390/s390-64/configure: Delete file.
22387 * sysdeps/s390/configure: Regenerate.
22388
22389 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22390
22391 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22392
22393 2014-04-11 Will Newton <will.newton@linaro.org>
22394
22395 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22396 to zero if it is not defined elsewhere. (mtrim): Test
22397 the value of MALLOC_DEBUG with #if rather than #ifdef.
22398
22399 2014-04-10 Torvald Riegel <triegel@redhat.com>
22400
22401 * benchtests/pthread_once-inputs: New file.
22402 * benchtests/pthread_once-source.c: New file.
22403 * benchtests/README: Update documentation.
22404
22405 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22406 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 [BZ #16275]
22409 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22410 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22411 * sysdeps/x86_64/configure: Regenerated.
22412 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22413 macro.
22414 (REGISTER_SAVE_RAX): Likewise.
22415 (REGISTER_SAVE_RCX): Likewise.
22416 (REGISTER_SAVE_RDX): Likewise.
22417 (REGISTER_SAVE_RSI): Likewise.
22418 (REGISTER_SAVE_RDI): Likewise.
22419 (REGISTER_SAVE_R8): Likewise.
22420 (REGISTER_SAVE_R9): Likewise.
22421 (REGISTER_SAVE_BND0): Likewise.
22422 (REGISTER_SAVE_BND1): Likewise.
22423 (REGISTER_SAVE_BND2): Likewise.
22424 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22425 bound registers when calling _dl_fixup.
22426
22427 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22428
22429 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22430 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22431 of its definition.
22432 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22433 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22434 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22435 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22436 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22437 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22438 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22439
22440 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22441
22442 [BZ #15514]
22443 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22444 pathconf(_PC_NAME_MAX).
22445
22446 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22447
22448 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22449 Remove macro usage.
22450 (__PTHREAD_SPINS): Move definition to ...
22451 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22452 (__PTHREAD_SPINS): ... here.
22453 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22454 (__PTHREAD_SPIN): Likewise.
22455 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22456 (__PTHREAD_SPIN): Likewise.
22457 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22458 (__PTHREAD_SPIN): Likewise.
22459 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22460 (__PTHREAD_SPIN): Likewise.
22461 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22462 (__PTHREAD_SPIN): Likewise.
22463 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22464 (__PTHREAD_SPIN): Likewise.
22465 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22466 (__PTHREAD_SPIN): Likewise.
22467 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22468 (__PTHREAD_SPIN): Likewise.
22469 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22470 (__PTHREAD_SPIN): Likewise.
22471 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22472 (__PTHREAD_SPIN): Likewise.
22473 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22474 (__PTHREAD_SPIN): Likewise.
22475 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22476 (__PTHREAD_SPIN): Likewise.
22477
22478 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22479 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22480 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22481 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22482 imply folder.
22483 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22484 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22485 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22486 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22487 correct imply path.
22488 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22489 strlen symbol for non multi-arch builds.
22490 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22491 missing hidden_def and weak_alias.
22492
22493 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22494
22495 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22496
22497 2014-04-07 Will Newton <will.newton@linaro.org>
22498
22499 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22500 and contents. [!_LIBC] Remove #ifndef and contents.
22501 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22502 * string/memccpy.c (__memccpy): Use ANSI prototype.
22503 * string/memfrob.c (memfrob): Likewise.
22504 * string/strcoll.c (STRCOLL): Likewise.
22505 * string/strlen.c (strlen): Likewise.
22506 * string/strtok.c (STRTOK): Likewise.
22507 * string/strcat.c: Remove unused #include of memcopy.h.
22508 (strcat): Use ANSI prototype.
22509 * string/strchr.c: Remove unused #include of memcopy.h.
22510 (strchr): Use ANSI prototype.
22511 * string/strcmp.c: Remove unused #include of memcopy.h.
22512 (strcmp): Use ANSI prototype.
22513 * string/strcpy.c: Remove unused #include of memcopy.h.
22514 (strcpy): Use ANSI prototype.
22515
22516 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22517
22518 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22519 * config.make.in (config-extra-cppflags): Set it from
22520 libc_extra_cppflags.
22521 * configure.ac (libc_extra_cflags): Make it accumulate over
22522 configure fragments.
22523 (libc_extra_cppflags): New flag.
22524 * configure. Regenerate.
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22526 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22527 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22529
22530 [BZ #16815]
22531 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22532 result for FE_DOWNWARD rounding mode.
22533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22534 Likewise.
22535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22536
22537 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22538
22539 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22540 in function argument name.
22541
22542 2014-04-03 David Svoboda <svoboda@cert.org>
22543
22544 [BZ #5666]
22545 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22546 explicitly.
22547
22548 2014-04-03 Roland McGrath <roland@hack.frob.com>
22549
22550 * elf/dl-unmap-segments.h: New file.
22551 * sysdeps/generic/ldsodefs.h
22552 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22553 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22554 * elf/dl-fptr.c: Likewise.
22555 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22556 * sysdeps/aarch64/tlsdesc.c: Likewise.
22557 * sysdeps/arm/tlsdesc.c: Likewise.
22558 * sysdeps/i386/tlsdesc.c: Likewise.
22559 * sysdeps/tile/dl-runtime.c: Likewise.
22560 * sysdeps/x86_64/tlsdesc.c: Likewise.
22561 * elf/dl-load.h: New file.
22562 * elf/dl-load.c: Include it.
22563 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22564 Macros moved to dl-load.h.
22565 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22566 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22567 Use _dl_unmap_segments in place of __munmap.
22568 Break out segment-mapping loop into ...
22569 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22570
22571 2014-04-03 Will Newton <will.newton@linaro.org>
22572
22573 * elf/dl-lookup.c (do_lookup_x): Remove comment
22574 referring to nested function and move variable
22575 declarations down to before first use.
22576
22577 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22578
22579 [BZ #16799]
22580 [BZ #16800]
22581 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22582 with 0 numerator.
22583 * math/s_catanf.c (__catanf): Likewise.
22584 * math/s_catanh.c (__catanh): Likewise.
22585 * math/s_catanhf.c (__catanhf): Likewise.
22586 * math/s_catanhl.c (__catanhl): Likewise.
22587 * math/s_catanl.c (__catanl): Likewise.
22588 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22589 by positive zero when computing -Inf result.
22590 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22591 (catanh_test): Likewise.
22592 * sysdeps/i386/fpu/libm-test-ulps: Update.
22593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22594
22595 [BZ #16789]
22596 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22597 instead of using underflowing value in computing result.
22598 * math/s_clog10.c (__clog10): Likewise.
22599 * math/s_clog10f.c (__clog10f): Likewise.
22600 * math/s_clog10l.c (__clog10l): Likewise.
22601 * math/s_clogf.c (__clogf): Likewise.
22602 * math/s_clogl.c (__clogl): Likewise.
22603 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22604 (clog10_test): Likewise.
22605 * sysdeps/i386/fpu/libm-test-ulps: Update.
22606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22607
22608 2014-04-02 Alan Modra <amodra@gmail.com>
22609
22610 [BZ #16739]
22611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22612 output when value is near a power of two. Use int64_t for lx and
22613 remove casts. Use decimal rather than hex exponent constants.
22614 Don't use long double multiplication when double will suffice.
22615 * math/libm-test.inc (nextafter_test_data): Add tests.
22616 * NEWS: Add 16739 and 16786 to bug list.
22617
22618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22619
22620 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22621
22622 2014-04-01 Will Newton <will.newton@linaro.org>
22623
22624 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22625 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22626
22627 2014-04-01 Florian Weimer <fweimer@redhat.com>
22628
22629 [BZ #13347]
22630 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22631 * nptl/tst-setuid2.c: New file.
22632 * nptl/Makefile (xtests): Add tst-setuid2.
22633
22634 2014-04-01 Alan Modra <amodra@gmail.com>
22635
22636 [BZ #16786]
22637 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22638
22639 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22640
22641 [BZ #6803]
22642 [BZ #6804]
22643 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22644 set errno as appropriate.
22645 * math/w_scalbf.c (__scalbf): Likewise.
22646 * math/w_scalbl.c (__scalbl): Likewise.
22647 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22648 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22649 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22650 Add more NaN tests.
22651
22652 [BZ #16349]
22653 * math/w_atan2.c: Include <errno.h>.
22654 (__atan2): Set errno for result underflowing to zero.
22655 * math/w_atan2f.c: Include <errno.h>.
22656 (__atan2f): Set errno for result underflowing to zero.
22657 * math/w_atan2l.c: Include <errno.h>.
22658 (__atan2l): Set errno for result underflowing to zero.
22659 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22660 tests.
22661 * math/auto-libm-test-out: Regenerated.
22662
22663 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22664
22665 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22666 Encode instruction correctly in little endian.
22667 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22668 Likewise.
22669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22670 Likewise.
22671 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22672 Likewise.
22673 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22674 Likewise.
22675
22676 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22677
22678 [BZ #9894]
22679 * sysdeps/unix/sysv/linux/kernel-features.h
22680 [__sparc__ && !__arch64__ && !__sparc_v9__]
22681 (__ASSUME_SET_ROBUST_LIST): Do not define.
22682 [__sparc__ && !__arch64__ && !__sparc_v9__]
22683 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22684 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22685 Likewise.
22686 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22687 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22688 (__ASSUME_REQUEUE_PI): Likewise.
22689 (__ASSUME_SET_ROBUST_LIST): Likewise.
22690 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22691 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22692 Undefine.
22693 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22694 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22695 Likewise.
22696 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22697 Likewise.
22698 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22699 Likewise.
22700 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22701 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22702 Undefine.
22703 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22704 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22705 Likewise.
22706
22707 [BZ #16648]
22708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22710 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22711
22712 2014-03-31 Will Newton <will.newton@linaro.org>
22713
22714 * benchtests/Makefile (bench): Add ffs and ffsll to list
22715 of tests.
22716 * benchtests/ffs-inputs: New file.
22717 * benchtests/ffsll-inputs: Likewise.
22718
22719 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22720
22721 [BZ #16770]
22722 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22723 too large before casting to int.
22724 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22725 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22726 * math/libm-test.inc (scalb_test_data): Add more tests.
22727
22728 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22729
22730 * benchtests/Makefile (DETAILED_OPT): New make option.
22731 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22732 set.
22733 * benchtests/bench-skeleton.c: Include stdbool.h.
22734 (main): Store and print timings per input.
22735 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22736 member to each argument value.
22737 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22738 (_print_arg_data): Initialize per-input timing to 0.
22739
22740 * benchtests/Makefile (timing-type): New binary.
22741 (bench-clean): Also remove bench-timing-type.
22742 (bench): New target for timing-type.
22743 (bench-func): Print output in JSON format.
22744 * benchtests/bench-skeleton.c (main): Print output in JSON
22745 format.
22746 * benchtests/bench-timing-type.c: New file.
22747 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22748 (TIMING_PRINT_STATS): Remove.
22749 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22750 name separately.
22751
22752 * benchtests/bench-modf.c: Remove.
22753 * benchtests/modf-inputs: New inputs file.
22754
22755 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22756
22757 [BZ #16362]
22758 * math/s_clog10.c (M_PI_LOG10E): New macro.
22759 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22760 imaginary parts are 0.
22761 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22762 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22763 imaginary parts are 0.
22764 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22765 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22766 imaginary parts are 0.
22767 * math/libm-test.inc (clog10_test_data): Update expected results
22768 for when real and imaginary parts are 0.
22769
22770 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22771
22772 * elf/dl-load.c: Finish conversion of __builtin_expect into
22773 __glibc_{un}likely.
22774
22775 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22776
22777 [BZ #16348]
22778 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22779 1+x for argument with exponent below -67.
22780 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22781 Likewise.
22782 * math/auto-libm-test-in: Add more tests of exp.
22783 * math/auto-libm-test-out: Regenerated.
22784
22785 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22786
22787 [BZ #16759]
22788 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22789 (nscd_getnetgrent): Use it.
22790
22791 [BZ #16760]
22792 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22793 of stpcpy.
22794
22795 2014-03-27 Andi Kleen <ak@linux.intel.com>
22796
22797 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22798 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22799 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22800 (lll_robust_unlock): Remove out of line section. Use cfi
22801 intrinsics.
22802 (LLL_STUB_UNWIND_INFO*): Remove.
22803 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22804 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22805 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22806 (lll_robust_unlock): Remove out of line section. Use cfi
22807 intrinsics.
22808 (LLL_STUB_UNWIND_INFO*): Remove.
22809
22810 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22811
22812 [BZ #16758]
22813 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22814 blank values.
22815
22816 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22817
22818 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22819
22820 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22821
22822 [BZ #16198]
22823 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22824 fnstenv.
22825 * math/test-fenv-preserve.c: New file.
22826 * math/Makefile (tests): Add test-fenv-preserve.
22827
22828 2014-03-26 Will Newton <will.newton@linaro.org>
22829
22830 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22831
22832 2014-03-25 Roland McGrath <roland@hack.frob.com>
22833
22834 * scripts/versionlist.awk: Partition the version sets and emit all
22835 GLIBC_* (sorted) before all others (sorted).
22836
22837 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22838
22839 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22840 GLIBC_2.2.5 version.
22841
22842 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22843
22844 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22845 calls.
22846
22847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22848 previous change.
22849
22850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22851
22852 2014-03-25 Andreas Schwab <schwab@suse.de>
22853
22854 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22855 label to be used after in6ailist is initialized.
22856
22857 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22858
22859 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22860 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22861
22862 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22863
22864 [BZ #16357]
22865 [BZ #16599]
22866 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22867 min_plus_half.
22868 (fp_formats): Update initializers.
22869 (init_fp_formats): Initialize new field.
22870 (output_for_one_input_case): Allow underflow for results up to
22871 min_plus_half.
22872 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22873 * math/auto-libm-test-in: Don't mark some underflows from asin and
22874 atanh as spurious.
22875 * math/auto-libm-test-out: Regenerated.
22876 * sysdeps/i386/fpu/libm-test-ulps: Update.
22877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22878
22879 2014-03-25 Andreas Schwab <schwab@suse.de>
22880
22881 * libio/Makefile (tst-ftell-partial-wide-ENV)
22882 (tst-ftell-active-handler-ENV): Define.
22883
22884 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22885
22886 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22887
22888 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22889
22890 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22891
22892 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22893
22894 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22895 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22896 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22897
22898 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22899
22900 [BZ #16634]
22901 * elf/dl-load.c (open_verify): Add mode parameter.
22902 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22903 (open_path): Change from boolean 'secure' to complete flag 'mode'
22904 (_dl_map_object): Adjust.
22905 * elf/Makefile (tests): Add tst-dlopen-aout.
22906 * elf/tst-dlopen-aout.c: New test.
22907
22908 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22909
22910 [BZ #16714]
22911 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22912 (struct stat): Rename member pad0 to __glibc_reserved0.
22913
22914 [BZ #16712]
22915 * sysdeps/s390/s390-32/bits/wordsize.h
22916 (__WORDSIZE32_SIZE_ULONG): New define.
22917 * sysdeps/s390/s390-64/bits/wordsize.h
22918 (__WORDSIZE32_SIZE_ULONG): Likewise.
22919 * sysdeps/generic/stdint.h (SIZE_MAX):
22920 Define as UL if __WORDSIZE32_SIZE_ULONG.
22921
22922 [BZ #16713]
22923 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22924 (__glibc_reserved0): New variable.
22925 (sa_flags): Change type to int.
22926
22927 * posix/Makefile (before-compile): Use += before-compile instead
22928 of a :=.
22929
22930 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22931 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22932
22933 2014-03-20 Andreas Schwab <schwab@suse.de>
22934
22935 [BZ #16743]
22936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22937 non-matching result from nscd.
22938
22939 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22940
22941 * scripts/bench.py: Moved to ...
22942 * benchtests/scripts/bench.py: ... here.
22943 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22944
22945 2014-03-24 Andreas Schwab <schwab@suse.de>
22946
22947 [BZ #16002]
22948 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22949 alloca_account and account alloca use for struct in6ailist.
22950
22951 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22952
22953 [BZ #16284]
22954 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22955 rounding mode to recompute results that overflow to infinity or
22956 underflow to zero.
22957 * math/auto-libm-test-in: Don't mark tests as expected to fail for
22958 bug 16284.
22959 * math/auto-libm-test-out: Regenerated.
22960 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22961 (ccosh_test): Likewise.
22962 (csin_test_data): Use plus_oflow.
22963 (csin_test): Use ALL_RM_TEST.
22964 (csinh_test_data): Use plus_oflow.
22965 (csinh_test): Use ALL_RM_TEST.
22966 * sysdeps/i386/fpu/libm-test-ulps: Update.
22967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22968
22969 2014-03-21 Joseph Myers <joseph@codesourcery.com>
22970
22971 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22972 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22973 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22974
22975 [BZ #16731]
22976 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22977 when x - 1 is zero.
22978 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22979 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22980 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22982 argument is 1.
22983 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22984 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22985 zero.
22986 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22987 * sysdeps/i386/fpu/libm-test-ulps: Update.
22988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22989
22990 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22991
22992 * scripts/bench.pl: Remove file.
22993 * scripts/bench.py: New benchmark script.
22994 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22995 * benchtests/README: Mention python dependency.
22996 * scripts/pylintrc: New file.
22997 * scripts/pylint: New file.
22998
22999 * bits/mathdef.h: Use #ifdef instead of #if.
23000 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23001 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23002 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23003 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23004 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23005 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23006
23007 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23008 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23009
23010 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23012 and strpbrk-ppc64 objects.
23013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23014 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23015 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23016 multiarch strpbrk for POWER7.
23017 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23018 multiarch strpbrk for PPC64.
23019 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23020 ifunc selector.
23021 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23022 strpbrk for POWER7.
23023
23024 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23025
23026 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23027 (atan_test): Likewise.
23028 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23029 (atanh_test): Use ALL_RM_TEST.
23030 (atan2_test_data): Likewise.
23031 (cabs_test): Likewise.
23032 (cacosh_test): Likewise.
23033 (carg_test): Likewise.
23034 (casin_test): Likewise.
23035 (casinh_test): Likewise.
23036 (cbrt_test): Likewise.
23037 (csqrt_test): Likewise.
23038 (erf_test): Likewise.
23039 (erfc_test): Likewise.
23040 (pow10_test): Likewise.
23041 (exp2_test): Likewise.
23042 (hypot_test): Likewise.
23043 (j0_test): Likewise.
23044 (j1_test): Likewise.
23045 (lgamma_test): Likewise.
23046 (gamma_test): Likewise.
23047 (sincos_test): Likewise.
23048 (tanh_test): Likewise.
23049 (y0_test): Likewise.
23050 (y1_test): Likewise.
23051 * sysdeps/i386/fpu/libm-test-ulps: Update.
23052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23053
23054 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23055
23056 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23058 and strcspn-ppc64 objects.
23059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23060 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23061 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23062 multiarch strcspn for POWER7.
23063 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23064 multiarch strcspn for PPC64.
23065 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23066 ifunc selector.
23067 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23068 strcspn for POWER7.
23069
23070 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23071
23072 * math/gen-libm-test.pl (generate_testfile): Expect only function
23073 name as argument to AUTO_TESTS_* and pass results for all rounding
23074 modes to parse_args.
23075 (parse_auto_input): Separate inputs of automatic tests from
23076 outputs before storing in %auto_tests.
23077 * math/libm-test.inc (acos_test_data): Update call to
23078 AUTO_TESTS_f_f.
23079 (acos_test): Use ALL_RM_TEST.
23080 (acos_tonearest_test_data): Remove.
23081 (acos_test_tonearest): Likewise.
23082 (acos_towardzero_test_data): Likewise.
23083 (acos_test_towardzero): Likewise.
23084 (acos_downward_test_data): Likewise.
23085 (acos_test_downward): Likewise.
23086 (acos_upward_test_data): Likewise.
23087 (acos_test_upward): Likewise.
23088 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23089 (asin_test_data): Likewise.
23090 (asin_test): Use ALL_RM_TEST.
23091 (asin_tonearest_test_data): Remove.
23092 (asin_test_tonearest): Likewise.
23093 (asin_towardzero_test_data): Likewise.
23094 (asin_test_towardzero): Likewise.
23095 (asin_downward_test_data): Likewise.
23096 (asin_test_downward): Likewise.
23097 (asin_upward_test_data): Likewise.
23098 (asin_test_upward): Likewise.
23099 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23100 (atan_test_data): Likewise.
23101 (atanh_test_data): Likewise.
23102 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23103 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23104 (carg_test_data): Likewise.
23105 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23106 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23107 (ccosh_test_data): Likewise.
23108 (cexp_test_data): Likewise.
23109 (clog_test_data): Likewise.
23110 (clog10_test_data): Likewise.
23111 (cos_test_data): Update call to AUTO_TESTS_f_f.
23112 (cos_test): Use ALL_RM_TEST.
23113 (cos_tonearest_test_data): Remove.
23114 (cos_test_tonearest): Likewise.
23115 (cos_towardzero_test_data): Likewise.
23116 (cos_test_towardzero): Likewise.
23117 (cos_downward_test_data): Likewise.
23118 (cos_test_downward): Likewise.
23119 (cos_upward_test_data): Likewise.
23120 (cos_test_upward): Likewise.
23121 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23122 (cosh_test): Use ALL_RM_TEST.
23123 (cosh_tonearest_test_data): Remove.
23124 (cosh_test_tonearest): Likewise.
23125 (cosh_towardzero_test_data): Likewise.
23126 (cosh_test_towardzero): Likewise.
23127 (cosh_downward_test_data): Likewise.
23128 (cosh_test_downward): Likewise.
23129 (cosh_upward_test_data): Likewise.
23130 (cosh_test_upward): Likewise.
23131 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23132 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23133 (ctan_test_data): Likewise.
23134 (ctan_test): Use ALL_RM_TEST.
23135 (ctan_tonearest_test_data): Remove.
23136 (ctan_test_tonearest): Likewise.
23137 (ctan_towardzero_test_data): Likewise.
23138 (ctan_test_towardzero): Likewise.
23139 (ctan_downward_test_data): Likewise.
23140 (ctan_test_downward): Likewise.
23141 (ctan_upward_test_data): Likewise.
23142 (ctan_test_upward): Likewise.
23143 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23144 (ctanh_test): Use ALL_RM_TEST.
23145 (ctanh_tonearest_test_data): Remove.
23146 (ctanh_test_tonearest): Likewise.
23147 (ctanh_towardzero_test_data): Likewise.
23148 (ctanh_test_towardzero): Likewise.
23149 (ctanh_downward_test_data): Likewise.
23150 (ctanh_test_downward): Likewise.
23151 (ctanh_upward_test_data): Likewise.
23152 (ctanh_test_upward): Likewise.
23153 (erf_test_data): Update call to AUTO_TESTS_f_f.
23154 (erfc_test_data): Likewise.
23155 (exp_test_data): Likewise.
23156 (exp_test): Use ALL_RM_TEST.
23157 (exp_tonearest_test_data): Remove.
23158 (exp_test_tonearest): Likewise.
23159 (exp_towardzero_test_data): Likewise.
23160 (exp_test_towardzero): Likewise.
23161 (exp_downward_test_data): Likewise.
23162 (exp_test_downward): Likewise.
23163 (exp_upward_test_data): Likewise.
23164 (exp_test_upward): Likewise.
23165 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23166 (exp10_test): Use ALL_RM_TEST.
23167 (exp10_tonearest_test_data): Remove.
23168 (exp10_test_tonearest): Likewise.
23169 (exp10_towardzero_test_data): Likewise.
23170 (exp10_test_towardzero): Likewise.
23171 (exp10_downward_test_data): Likewise.
23172 (exp10_test_downward): Likewise.
23173 (exp10_upward_test_data): Likewise.
23174 (exp10_test_upward): Likewise.
23175 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23176 (expm1_test_data): Likewise.
23177 (expm1_test): Use ALL_RM_TEST.
23178 (expm1_tonearest_test_data): Remove.
23179 (expm1_test_tonearest): Likewise.
23180 (expm1_towardzero_test_data): Likewise.
23181 (expm1_test_towardzero): Likewise.
23182 (expm1_downward_test_data): Likewise.
23183 (expm1_test_downward): Likewise.
23184 (expm1_upward_test_data): Likewise.
23185 (expm1_test_upward): Likewise.
23186 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23187 (fma_test): Use ALL_RM_TEST.
23188 (fma_towardzero_test_data): Remove.
23189 (fma_test_towardzero): Likewise.
23190 (fma_downward_test_data): Likewise.
23191 (fma_test_downward): Likewise.
23192 (fma_upward_test_data): Likewise.
23193 (fma_test_upward): Likewise.
23194 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23195 (j0_test_data): Update call to AUTO_TESTS_f_f.
23196 (j1_test_data): Likewise.
23197 (jn_test_data): Update call to AUTO_TESTS_if_f.
23198 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23199 (log_test_data): Update call to AUTO_TESTS_f_f.
23200 (log10_test_data): Likewise.
23201 (log1p_test_data): Likewise.
23202 (log2_test_data): Likewise.
23203 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23204 (pow_tonearest_test_data): Likewise.
23205 (sin_test_data): Update call to AUTO_TESTS_f_f.
23206 (sin_test): Use ALL_RM_TEST.
23207 (sin_tonearest_test_data): Remove.
23208 (sin_test_tonearest): Likewise.
23209 (sin_towardzero_test_data): Likewise.
23210 (sin_test_towardzero): Likewise.
23211 (sin_downward_test_data): Likewise.
23212 (sin_test_downward): Likewise.
23213 (sin_upward_test_data): Likewise.
23214 (sin_test_upward): Likewise.
23215 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23216 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23217 (sinh_test): Use ALL_RM_TEST.
23218 (sinh_tonearest_test_data): Remove.
23219 (sinh_test_tonearest): Likewise.
23220 (sinh_towardzero_test_data): Likewise.
23221 (sinh_test_towardzero): Likewise.
23222 (sinh_downward_test_data): Likewise.
23223 (sinh_test_downward): Likewise.
23224 (sinh_upward_test_data): Likewise.
23225 (sinh_test_upward): Likewise.
23226 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23227 (sqrt_test): Use ALL_RM_TEST.
23228 (sqrt_tonearest_test_data): Remove.
23229 (sqrt_test_tonearest): Likewise.
23230 (sqrt_towardzero_test_data): Likewise.
23231 (sqrt_test_towardzero): Likewise.
23232 (sqrt_downward_test_data): Likewise.
23233 (sqrt_test_downward): Likewise.
23234 (sqrt_upward_test_data): Likewise.
23235 (sqrt_test_upward): Likewise.
23236 (tan_test_data): Update call to AUTO_TESTS_f_f.
23237 (tan_test): Use ALL_RM_TEST.
23238 (tan_tonearest_test_data): Remove.
23239 (tan_test_tonearest): Likewise.
23240 (tan_towardzero_test_data): Likewise.
23241 (tan_test_towardzero): Likewise.
23242 (tan_downward_test_data): Likewise.
23243 (tan_test_downward): Likewise.
23244 (tan_upward_test_data): Likewise.
23245 (tan_test_upward): Likewise.
23246 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23247 (tgamma_test_data): Likewise.
23248 (y0_test_data): Likewise.
23249 (y1_test_data): Likewise.
23250 (yn_test_data): Update call to AUTO_TESTS_if_f.
23251 (main): Do not call removed functions.
23252
23253 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23254
23255 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23256 (ldexp_test_data): Remove.
23257 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23258 scalbn_test_data.
23259 (scalb_test): Use ALL_RM_TEST.
23260
23261 2014-03-19 Andreas Schwab <schwab@suse.de>
23262
23263 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23264
23265 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23266
23267 [BZ #16649]
23268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23269 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23270 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23271 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23272 (__ASSUME_PREADV): Undefine.
23273 (__ASSUME_PWRITEV): Likewise.
23274
23275 2014-03-18 Roland McGrath <roland@hack.frob.com>
23276
23277 * bits/mman-linux.h: Add comment about non-Linux use.
23278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23279 bits/mman-linux.h resting place.
23280
23281 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23282 * bits/mman-linux.h: ... here.
23283
23284 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23285
23286 * conform/conformtest.pl: Add standard definition when calling C
23287 preprocessor on data files.
23288 (checknamespace): Remove unused variable.
23289
23290 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23291
23292 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23293 minus_oflow, plus_uflow and minus_uflow in expected results.
23294 * math/libm-test.inc (scalbn_test_data): Add more tests of
23295 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23296 minus_uflow.
23297 (scalbn_test): Use ALL_RM_TEST.
23298 (scalbln_test_data): Add more tests of negative arguments. Use
23299 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23300 (scalbln_test): Use ALL_RM_TEST.
23301
23302 2014-03-18 Roland McGrath <roland@hack.frob.com>
23303
23304 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23305
23306 2014-03-18 Will Newton <will.newton@linaro.org>
23307
23308 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23309 inaccurate comment.
23310
23311 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23312
23313 * Makerules [!subdir] (check-abi): Exit with error status if a
23314 test failed.
23315
23316 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23317
23318 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23319 for rint. Include results for all rounding modes.
23320 (nearbyint_test): Use ALL_RM_TEST.
23321 (rint_test_data): Include all tests used for nearbyint.
23322
23323 2014-03-17 Will Newton <will.newton@linaro.org>
23324
23325 * nptl/sysdeps/pthread/pthread.h: Revert previous
23326 change.
23327
23328 * sysdeps/generic/ldsodefs.h: Revert previous
23329 change.
23330
23331 * libio/genops.c: Revert previous change.
23332 * libio/libioP.h: Likewise.
23333 * stdio-common/vfprintf.c: Likewise.
23334
23335 * sysdeps/generic/math_private.h: Revert previous
23336 change.
23337
23338 * sysdeps/generic/math_private.h: Check whether
23339 HAVE_RM_CTX is defined with #ifdef rather
23340 than #if.
23341
23342 * argp/argp-fmtstream.h: Check whether
23343 __STRICT_ANSI__ is defined with #ifdef rather
23344 than #if.
23345 * argp/argp.h: Likewise.
23346
23347 * libio/genops.c: Check whether
23348 _IO_JUMPS_OFFSET is defined with #ifdef rather
23349 than #if.
23350 * libio/libioP.h: Likewise.
23351 * stdio-common/vfprintf.c: Likewise.
23352
23353 * sysdeps/generic/ldsodefs.h: Check whether
23354 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23355 than #if.
23356
23357 * nptl/sysdeps/pthread/pthread.h: Check
23358 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23359 its value.
23360
23361 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23362
23363 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23364 setting O_APPEND.
23365 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23366 test case.
23367
23368 [BZ #16680]
23369 * libio/fileops.c (_IO_file_open): Seek to end of file but
23370 don't cache the offset.
23371 (get_file_offset): Remove function.
23372 (do_ftell): Use cached offset when available.
23373 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23374 don't cache the offset.
23375 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23376 case.
23377 (do_one_test): Call it.
23378 (do_ftell_test): Fix up expected old offset for a+ mode.
23379 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23380 available.
23381
23382 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23383 up test status with function return status.
23384 (do_write_test): Likewise.
23385 (do_append_test): Likewise.
23386
23387 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23388 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23389 Remove.
23390
23391 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23392
23393 * math/gen-libm-test.pl (parse_args): Handle results specified for
23394 each rounding mode separately.
23395 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23396 tests and results from lrint_tonearest_test_data,
23397 lrint_towardzero_test_data, lrint_downward_test_data and
23398 lrint_upward_test_data.
23399 (lrint_test): Use ALL_RM_TEST.
23400 (lrint_tonearest_test_data): Remove.
23401 (lrint_test_tonearest): Likewise.
23402 (lrint_towardzero_test_data): Likewise.
23403 (lrint_test_towardzero): Likewise.
23404 (lrint_downward_test_data): Likewise.
23405 (lrint_test_downward): Likewise.
23406 (lrint_upward_test_data): Likewise.
23407 (lrint_test_upward): Likewise.
23408 (llrint_test_data): Merge in per-rounding-mode tests and results
23409 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23410 llrint_downward_test_data and llrint_upward_test_data.
23411 (llrint_test): Use ALL_RM_TEST.
23412 (llrint_tonearest_test_data): Remove.
23413 (llrint_test_tonearest): Likewise.
23414 (llrint_towardzero_test_data): Likewise.
23415 (llrint_test_towardzero): Likewise.
23416 (llrint_downward_test_data): Likewise.
23417 (llrint_test_downward): Likewise.
23418 (llrint_upward_test_data): Likewise.
23419 (llrint_test_upward): Likewise.
23420 (rint_test_data): Merge in per-rounding-mode tests and results
23421 from rint_tonearest_test_data, rint_towardzero_test_data,
23422 rint_downward_test_data and rint_upward_test_data. Add
23423 per-rounding-mode results for tests not in those arrays.
23424 (rint_test): Use ALL_RM_TEST.
23425 (rint_tonearest_test_data): Remove.
23426 (rint_test_tonearest): Likewise.
23427 (rint_towardzero_test_data): Likewise.
23428 (rint_test_towardzero): Likewise.
23429 (rint_downward_test_data): Likewise.
23430 (rint_test_downward): Likewise.
23431 (rint_upward_test_data): Likewise.
23432 (rint_test_upward): Likewise.
23433 (main): Don't call removed functions.
23434
23435 2014-03-14 Roland McGrath <roland@hack.frob.com>
23436
23437 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23438 "Compiled on ..." crapola. It is anti-useful.
23439
23440 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23441
23442 * scripts/evaluate-test.sh: Handle fourth argument to determine
23443 whether test run should stop on failure.
23444 * Makeconfig (stop-on-test-failure): New variable.
23445 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23446 $(stop-on-test-failure).
23447 * Makefile (tests): Give a summary of results from testing and
23448 exit with failure status if they include an ERROR or FAIL.
23449 (xtests): Likewise.
23450 * manual/install.texi (Configuring and compiling): Mention
23451 stop-on-test-failure=y.
23452 * INSTALL: Regenerated.
23453
23454 2014-03-14 Roland McGrath <roland@hack.frob.com>
23455
23456 * scripts/versionlist.awk: New file.
23457 * Makerules [$(build-shared) = yes]
23458 (postclean-generated): Add Versions.def, not Versions.def.v and
23459 Versions.def.v.i.
23460 ($(common-objpfx)Versions.def.v.i): Target removed.
23461 ($(common-objpfx)Versions.def): New target.
23462 ($(common-objpfx)Versions.all): Depend on that rather that
23463 $(common-objpfx)Versions.def.v.
23464 * Versions.def: File removed.
23465
23466 * Makeconfig (+gccwarn): Add -Wundef.
23467 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23468 a dl-sysdep.h breaking its contract.
23469 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23470 * include/stackinfo.h: New file.
23471 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23472 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23473 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23474 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23475 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23476 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23477 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23478 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23479 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23480 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23481 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23482 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23483 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23484 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23485 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23486
23487 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23488
23489 [BZ #16707]
23490 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23491 implementation.
23492 * math/libm-test.inc (round_test_data): Add more tests.
23493
23494 [BZ #16706]
23495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23496 implementation.
23497 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23498
23499 [BZ #16701]
23500 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23501 implementation.
23502 * math/libm-test.inc (ceil_test_data): Add more tests.
23503
23504 * math/libm-test.inc (trunc_test_data): Add more tests related to
23505 BZ#16414.
23506
23507 2014-03-14 Roland McGrath <roland@hack.frob.com>
23508
23509 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23510 with #if rather than #ifdef.
23511 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23512
23513 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23514
23515 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23516 first. Disable AVX-512 GCC support if assembler doesn't support
23517 it.
23518 * sysdeps/x86_64/configure: Regenerated.
23519
23520 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23521
23522 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23523 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23524 (__old_pthread_attr_setstack): Likewise.
23525 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23526 [!_STACK_GROWS_DOWN]: Likewise.
23527
23528 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23529
23530 * config.make.in (have-bash2): Delete.
23531 * configure.ac (libc_cv_have_bash2): Delete.
23532 * configure: Regenerate.
23533 * elf/Makefile (common-ldd-rewrite): Rename to ...
23534 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23535 (sh-ldd-rewrite): Delete.
23536 (bash-ldd-rewrite): Delete.
23537 (have-bash2): Delete checks.
23538 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23539 ldd-rewrite.
23540
23541 * config.make.in (have-ksh): Delete.
23542 (KSH): Delete.
23543 * configure.ac (libc_cv_have_ksh): Delete.
23544 * configure: Regenerate.
23545
23546 * elf/Makefile: Delete $(have-ksh) check.
23547 ($(objpfx)sotruss): Change KSH to BASH.
23548 * elf/sotruss.ksh: Rename to ...
23549 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23550 function style to match POSIX. Drop ksh vim mode setting.
23551
23552 * manual/time.texi (Specifying the Time Zone with TZ): Change
23553 Tuesday to Thursday.
23554
23555 * debug/tst-longjmp_chk2.c: Update header comment.
23556 (stackoverflow_handler): Add comment. Call assert on pass value.
23557
23558 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23559
23560 [BZ #16194]
23561 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23562 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23563 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23564 (La_x86_64_vector): Add zmm.
23565 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23566 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23567 ($(objpfx)tst-audit10): New target.
23568 ($(objpfx)tst-audit10.out): Likewise.
23569 (tst-audit10-ENV): New.
23570 (AVX512-CFLAGS): Likewise.
23571 (CFLAGS-tst-audit10.c): Likewise.
23572 (CFLAGS-tst-auditmod10a.c): Likewise.
23573 (CFLAGS-tst-auditmod10b.c): Likewise.
23574 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23575 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23576 * sysdeps/x86_64/configure: Regenerated.
23577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23578 AVX-512 zmm register support.
23579 (_dl_x86_64_save_sse): Likewise.
23580 (_dl_x86_64_restore_sse): Likewise.
23581 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23582 size vector registers.
23583 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23584 (ZMM_SIZE): Likewise.
23585 * sysdeps/x86_64/tst-audit10.c: New file.
23586 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23587 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23588
23589 2014-03-13 Roland McGrath <roland@hack.frob.com>
23590
23591 * configure.ac (HAVE_EHDR_START): New check.
23592 * configure: Regenerated.
23593 * config.h.in (HAVE_EHDR_START): New #undef.
23594 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23595 assuming the lowest-addressed segment maps the start of the file.
23596
23597 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23598
23599 * INSTALL: Regenerated.
23600
23601 2014-03-13 Will Newton <will.newton@linaro.org>
23602
23603 * manual/setjmp.texi (System V contexts): Improve
23604 clarity and grammar of documentation.
23605
23606 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23607
23608 [BZ #16381]
23609 * elf/Makefile (tests): Add tst-pie2.
23610 (tests-pie): Add tst-pie2.
23611 * elf/tst-pie2.c: New file.
23612 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23613 for ET_EXEC.
23614 * elf/rtld.c (map_doit): Load executable as lt_executable.
23615 (dl_main): Likewise.
23616
23617 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23618
23619 [BZ #16642]
23620 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23621 (__ASSUME_PSELECT): Undefine.
23622
23623 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23624
23625 [BZ #16689]
23626 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23627 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23628 static build.
23629 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23630 selector for static builds.
23631
23632 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23633
23634 [BZ #16695]
23635 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23636 key in the buffer.
23637
23638 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23639
23640 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23641 IFUNC selector for static builds.
23642
23643 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23644
23645 * sysdeps/mips/math_private.h [__mips_hard_float]
23646 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23647 libc_feresetround_mips_ctx.
23648 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23649 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23650 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23651
23652 [BZ #16677]
23653 * math/s_nextafter.c (__nextafter): Do not return value from
23654 overflowing computation.
23655 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23656 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23657 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23658 Likewise.
23659 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23660 Likewise.
23661 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23662 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23663
23664 2014-03-11 Roland McGrath <roland@hack.frob.com>
23665
23666 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23667 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23668 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23669 the new mov targetting sp.
23670
23671 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23672
23673 [BZ #16683]
23674 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23675 Define it for static builds as well.
23676 (NO_BZERO_IMPL): Likewise.
23677
23678 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23679
23680 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23681 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23682 multiarch strspn for PPC64.
23683 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23684 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23686 (__libc_ifunc_impl_list): Likewise.
23687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23688 multiarch optimizations
23689 * string/strspn.c (strspn): Using macro to redefine symbol name.
23690
23691 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23692 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23693
23694 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23695 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23696 multiarch strncat for PPC64.
23697 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23698 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23700 (__libc_ifunc_impl_list): Likewise.
23701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23702 multiarch optimizations
23703
23704 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23705
23706 [BZ #16639]
23707 * nscd/nscd.service: Make service type forking.
23708
23709 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23710
23711 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23712 sign in non default rounding modes.
23713 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23714
23715 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23716
23717 * math/libm-test.inc (ALL_RM_TEST): New macro.
23718 (ceil_test): Use ALL_RM_TEST.
23719 (cimag_test): Likewise.
23720 (conj_test): Likewise.
23721 (copysign_test): Likewise.
23722 (cproj_test): Likewise.
23723 (creal_test): Likewise.
23724 (fabs_test): Likewise.
23725 (floor_test): Likewise.
23726 (fmax_test): Likewise.
23727 (fmin_test): Likewise.
23728 (fmod_test): Likewise.
23729 (fpclassify_test): Likewise.
23730 (frexp_test): Likewise.
23731 (ilogb_test): Likewise.
23732 (isfinite_test): Likewise.
23733 (finite_test): Likewise.
23734 (isgreater_test): Likewise.
23735 (isgreaterequal_test): Likewise.
23736 (isinf_test): Likewise.
23737 (isless_test): Likewise.
23738 (islessequal_test): Likewise.
23739 (islessgreater_test): Likewise.
23740 (isnan_test): Likewise.
23741 (isnormal_test): Likewise.
23742 (issignaling_test): Likewise.
23743 (isunordered_test): Likewise.
23744 (logb_test): Likewise.
23745 (logb_downward_test_data): Remove.
23746 (logb_test_downward): Likewise.
23747 (lround_test): Use ALL_RM_TEST.
23748 (llround_test): Likewise.
23749 (modf_test): Likewise.
23750 (nexttoward_test): Likewise.
23751 (remainder_test): Likewise.
23752 (drem_test): Likewise.
23753 (remainder_tonearest_test_data): Likewise.
23754 (remainder_test_tonearest): Likewise.
23755 (drem_test_tonearest): Likewise.
23756 (remainder_towardzero_test_data): Likewise.
23757 (remainder_test_towardzero): Likewise.
23758 (drem_test_towardzero): Likewise.
23759 (remainder_downward_test_data): Likewise.
23760 (remainder_test_downward): Likewise.
23761 (drem_test_downward): Likewise.
23762 (remainder_upward_test_data): Likewise.
23763 (remainder_test_upward): Likewise.
23764 (drem_test_upward): Likewise.
23765 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23766 (round_test): Use ALL_RM_TEST.
23767 (signbit_test): Likewise.
23768 (trunc_test): Likewise.
23769 (significand_test): Likewise.
23770 (main): Don't call removed functions.
23771
23772 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23773
23774 [BZ #16674]
23775 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23776 || __USE_XOPEN2K8].
23777 (ILL_ILLOPN): Likewise.
23778 (ILL_ILLADR): Likewise.
23779 (ILL_ILLTRP): Likewise.
23780 (ILL_PRVOPC): Likewise.
23781 (ILL_PRVREG): Likewise.
23782 (ILL_COPROC): Likewise.
23783 (ILL_BADSTK): Likewise.
23784 (FPE_INTDIV): Likewise.
23785 (FPE_INTOVF): Likewise.
23786 (FPE_FLTDIV): Likewise.
23787 (FPE_FLTOVF): Likewise.
23788 (FPE_FLTUND): Likewise.
23789 (FPE_FLTRES): Likewise.
23790 (FPE_FLTINV): Likewise.
23791 (FPE_FLTSUB): Likewise.
23792 (SEGV_MAPERR): Likewise.
23793 (SEGV_ACCERR): Likewise.
23794 (BUS_ADRALN): Likewise.
23795 (BUS_ADRERR): Likewise.
23796 (BUS_OBJERR): Likewise.
23797 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23798 (TRAP_TRACE): Likewise.
23799 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23800 __USE_XOPEN2K8].
23801 (CLD_KILLED): Likewise.
23802 (CLD_DUMPED): Likewise.
23803 (CLD_TRAPPED): Likewise.
23804 (CLD_STOPPED): Likewise.
23805 (CLD_CONTINUED): Likewise.
23806 (POLL_IN): Likewise.
23807 (POLL_OUT): Likewise.
23808 (POLL_MSG): Likewise.
23809 (POLL_ERR): Likewise.
23810 (POLL_PRI): Likewise.
23811 (POLL_HUP): Likewise.
23812 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23813 Likewise.
23814 (ILL_ILLOPN): Likewise.
23815 (ILL_ILLADR): Likewise.
23816 (ILL_ILLTRP): Likewise.
23817 (ILL_PRVOPC): Likewise.
23818 (ILL_PRVREG): Likewise.
23819 (ILL_COPROC): Likewise.
23820 (ILL_BADSTK): Likewise.
23821 (FPE_INTDIV): Likewise.
23822 (FPE_INTOVF): Likewise.
23823 (FPE_FLTDIV): Likewise.
23824 (FPE_FLTOVF): Likewise.
23825 (FPE_FLTUND): Likewise.
23826 (FPE_FLTRES): Likewise.
23827 (FPE_FLTINV): Likewise.
23828 (FPE_FLTSUB): Likewise.
23829 (SEGV_MAPERR): Likewise.
23830 (SEGV_ACCERR): Likewise.
23831 (BUS_ADRALN): Likewise.
23832 (BUS_ADRERR): Likewise.
23833 (BUS_OBJERR): Likewise.
23834 (BUS_MCEERR_AR): Likewise.
23835 (BUS_MCEERR_AO): Likewise.
23836 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23837 (TRAP_TRACE): Likewise.
23838 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23839 __USE_XOPEN2K8].
23840 (CLD_KILLED): Likewise.
23841 (CLD_DUMPED): Likewise.
23842 (CLD_TRAPPED): Likewise.
23843 (CLD_STOPPED): Likewise.
23844 (CLD_CONTINUED): Likewise.
23845 (POLL_IN): Likewise.
23846 (POLL_OUT): Likewise.
23847 (POLL_MSG): Likewise.
23848 (POLL_ERR): Likewise.
23849 (POLL_PRI): Likewise.
23850 (POLL_HUP): Likewise.
23851 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23852 (ILL_ILLOPN): Likewise.
23853 (ILL_ILLADR): Likewise.
23854 (ILL_ILLTRP): Likewise.
23855 (ILL_PRVOPC): Likewise.
23856 (ILL_PRVREG): Likewise.
23857 (ILL_COPROC): Likewise.
23858 (ILL_BADSTK): Likewise.
23859 (FPE_INTDIV): Likewise.
23860 (FPE_INTOVF): Likewise.
23861 (FPE_FLTDIV): Likewise.
23862 (FPE_FLTOVF): Likewise.
23863 (FPE_FLTUND): Likewise.
23864 (FPE_FLTRES): Likewise.
23865 (FPE_FLTINV): Likewise.
23866 (FPE_FLTSUB): Likewise.
23867 (SEGV_MAPERR): Likewise.
23868 (SEGV_ACCERR): Likewise.
23869 (BUS_ADRALN): Likewise.
23870 (BUS_ADRERR): Likewise.
23871 (BUS_OBJERR): Likewise.
23872 (BUS_MCEERR_AR): Likewise.
23873 (BUS_MCEERR_AO): Likewise.
23874 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23875 (TRAP_TRACE): Likewise.
23876 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23877 __USE_XOPEN2K8].
23878 (CLD_KILLED): Likewise.
23879 (CLD_DUMPED): Likewise.
23880 (CLD_TRAPPED): Likewise.
23881 (CLD_STOPPED): Likewise.
23882 (CLD_CONTINUED): Likewise.
23883 (POLL_IN): Likewise.
23884 (POLL_OUT): Likewise.
23885 (POLL_MSG): Likewise.
23886 (POLL_ERR): Likewise.
23887 (POLL_PRI): Likewise.
23888 (POLL_HUP): Likewise.
23889 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23890 Likewise.
23891 (ILL_ILLOPN): Likewise.
23892 (ILL_ILLADR): Likewise.
23893 (ILL_ILLTRP): Likewise.
23894 (ILL_PRVOPC): Likewise.
23895 (ILL_PRVREG): Likewise.
23896 (ILL_COPROC): Likewise.
23897 (ILL_BADSTK): Likewise.
23898 (ILL_BADIADDR): Likewise.
23899 (ILL_BREAK): Likewise.
23900 (FPE_INTDIV): Likewise.
23901 (FPE_INTOVF): Likewise.
23902 (FPE_FLTDIV): Likewise.
23903 (FPE_FLTOVF): Likewise.
23904 (FPE_FLTUND): Likewise.
23905 (FPE_FLTRES): Likewise.
23906 (FPE_FLTINV): Likewise.
23907 (FPE_FLTSUB): Likewise.
23908 (FPE_DECOVF): Likewise.
23909 (FPE_DECDIV): Likewise.
23910 (FPE_DECERR): Likewise.
23911 (FPE_INVASC): Likewise.
23912 (FPE_INVDEC): Likewise.
23913 (SEGV_MAPERR): Likewise.
23914 (SEGV_ACCERR): Likewise.
23915 (SEGV_PSTKOVF): Likewise.
23916 (BUS_ADRALN): Likewise.
23917 (BUS_ADRERR): Likewise.
23918 (BUS_OBJERR): Likewise.
23919 (BUS_MCEERR_AR): Likewise.
23920 (BUS_MCEERR_AO): Likewise.
23921 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23922 (TRAP_TRACE): Likewise.
23923 (TRAP_BRANCH): Likewise.
23924 (TRAP_HWBKPT): Likewise.
23925 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23926 __USE_XOPEN2K8].
23927 (CLD_KILLED): Likewise.
23928 (CLD_DUMPED): Likewise.
23929 (CLD_TRAPPED): Likewise.
23930 (CLD_STOPPED): Likewise.
23931 (CLD_CONTINUED): Likewise.
23932 (POLL_IN): Likewise.
23933 (POLL_OUT): Likewise.
23934 (POLL_MSG): Likewise.
23935 (POLL_ERR): Likewise.
23936 (POLL_PRI): Likewise.
23937 (POLL_HUP): Likewise.
23938 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23939 (ILL_ILLOPN): Likewise.
23940 (ILL_ILLADR): Likewise.
23941 (ILL_ILLTRP): Likewise.
23942 (ILL_PRVOPC): Likewise.
23943 (ILL_PRVREG): Likewise.
23944 (ILL_COPROC): Likewise.
23945 (ILL_BADSTK): Likewise.
23946 (FPE_INTDIV): Likewise.
23947 (FPE_INTOVF): Likewise.
23948 (FPE_FLTDIV): Likewise.
23949 (FPE_FLTOVF): Likewise.
23950 (FPE_FLTUND): Likewise.
23951 (FPE_FLTRES): Likewise.
23952 (FPE_FLTINV): Likewise.
23953 (FPE_FLTSUB): Likewise.
23954 (SEGV_MAPERR): Likewise.
23955 (SEGV_ACCERR): Likewise.
23956 (BUS_ADRALN): Likewise.
23957 (BUS_ADRERR): Likewise.
23958 (BUS_OBJERR): Likewise.
23959 (BUS_MCEERR_AR): Likewise.
23960 (BUS_MCEERR_AO): Likewise.
23961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23962 (TRAP_TRACE): Likewise.
23963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23964 __USE_XOPEN2K8].
23965 (CLD_KILLED): Likewise.
23966 (CLD_DUMPED): Likewise.
23967 (CLD_TRAPPED): Likewise.
23968 (CLD_STOPPED): Likewise.
23969 (CLD_CONTINUED): Likewise.
23970 (POLL_IN): Likewise.
23971 (POLL_OUT): Likewise.
23972 (POLL_MSG): Likewise.
23973 (POLL_ERR): Likewise.
23974 (POLL_PRI): Likewise.
23975 (POLL_HUP): Likewise.
23976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23977 (ILL_ILLOPN): Likewise.
23978 (ILL_ILLADR): Likewise.
23979 (ILL_ILLTRP): Likewise.
23980 (ILL_PRVOPC): Likewise.
23981 (ILL_PRVREG): Likewise.
23982 (ILL_COPROC): Likewise.
23983 (ILL_BADSTK): Likewise.
23984 (FPE_INTDIV): Likewise.
23985 (FPE_INTOVF): Likewise.
23986 (FPE_FLTDIV): Likewise.
23987 (FPE_FLTOVF): Likewise.
23988 (FPE_FLTUND): Likewise.
23989 (FPE_FLTRES): Likewise.
23990 (FPE_FLTINV): Likewise.
23991 (FPE_FLTSUB): Likewise.
23992 (SEGV_MAPERR): Likewise.
23993 (SEGV_ACCERR): Likewise.
23994 (BUS_ADRALN): Likewise.
23995 (BUS_ADRERR): Likewise.
23996 (BUS_OBJERR): Likewise.
23997 (BUS_MCEERR_AR): Likewise.
23998 (BUS_MCEERR_AO): Likewise.
23999 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24000 (TRAP_TRACE): Likewise.
24001 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24002 __USE_XOPEN2K8].
24003 (CLD_KILLED): Likewise.
24004 (CLD_DUMPED): Likewise.
24005 (CLD_TRAPPED): Likewise.
24006 (CLD_STOPPED): Likewise.
24007 (CLD_CONTINUED): Likewise.
24008 (POLL_IN): Likewise.
24009 (POLL_OUT): Likewise.
24010 (POLL_MSG): Likewise.
24011 (POLL_ERR): Likewise.
24012 (POLL_PRI): Likewise.
24013 (POLL_HUP): Likewise.
24014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24015 (ILL_ILLOPN): Likewise.
24016 (ILL_ILLADR): Likewise.
24017 (ILL_ILLTRP): Likewise.
24018 (ILL_PRVOPC): Likewise.
24019 (ILL_PRVREG): Likewise.
24020 (ILL_COPROC): Likewise.
24021 (ILL_BADSTK): Likewise.
24022 (FPE_INTDIV): Likewise.
24023 (FPE_INTOVF): Likewise.
24024 (FPE_FLTDIV): Likewise.
24025 (FPE_FLTOVF): Likewise.
24026 (FPE_FLTUND): Likewise.
24027 (FPE_FLTRES): Likewise.
24028 (FPE_FLTINV): Likewise.
24029 (FPE_FLTSUB): Likewise.
24030 (SEGV_MAPERR): Likewise.
24031 (SEGV_ACCERR): Likewise.
24032 (BUS_ADRALN): Likewise.
24033 (BUS_ADRERR): Likewise.
24034 (BUS_OBJERR): Likewise.
24035 (BUS_MCEERR_AR): Likewise.
24036 (BUS_MCEERR_AO): Likewise.
24037 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24038 (TRAP_TRACE): Likewise.
24039 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24040 __USE_XOPEN2K8].
24041 (CLD_KILLED): Likewise.
24042 (CLD_DUMPED): Likewise.
24043 (CLD_TRAPPED): Likewise.
24044 (CLD_STOPPED): Likewise.
24045 (CLD_CONTINUED): Likewise.
24046 (POLL_IN): Likewise.
24047 (POLL_OUT): Likewise.
24048 (POLL_MSG): Likewise.
24049 (POLL_ERR): Likewise.
24050 (POLL_PRI): Likewise.
24051 (POLL_HUP): Likewise.
24052 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24053 (ILL_ILLOPN): Likewise.
24054 (ILL_ILLADR): Likewise.
24055 (ILL_ILLTRP): Likewise.
24056 (ILL_PRVOPC): Likewise.
24057 (ILL_PRVREG): Likewise.
24058 (ILL_COPROC): Likewise.
24059 (ILL_BADSTK): Likewise.
24060 (ILL_DBLFLT): Likewise.
24061 (ILL_HARDWALL): Likewise.
24062 (FPE_INTDIV): Likewise.
24063 (FPE_INTOVF): Likewise.
24064 (FPE_FLTDIV): Likewise.
24065 (FPE_FLTOVF): Likewise.
24066 (FPE_FLTUND): Likewise.
24067 (FPE_FLTRES): Likewise.
24068 (FPE_FLTINV): Likewise.
24069 (FPE_FLTSUB): Likewise.
24070 (SEGV_MAPERR): Likewise.
24071 (SEGV_ACCERR): Likewise.
24072 (BUS_ADRALN): Likewise.
24073 (BUS_ADRERR): Likewise.
24074 (BUS_OBJERR): Likewise.
24075 (BUS_MCEERR_AR): Likewise.
24076 (BUS_MCEERR_AO): Likewise.
24077 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24078 (TRAP_TRACE): Likewise.
24079 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24080 __USE_XOPEN2K8].
24081 (CLD_KILLED): Likewise.
24082 (CLD_DUMPED): Likewise.
24083 (CLD_TRAPPED): Likewise.
24084 (CLD_STOPPED): Likewise.
24085 (CLD_CONTINUED): Likewise.
24086 (POLL_IN): Likewise.
24087 (POLL_OUT): Likewise.
24088 (POLL_MSG): Likewise.
24089 (POLL_ERR): Likewise.
24090 (POLL_PRI): Likewise.
24091 (POLL_HUP): Likewise.
24092 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24093 (ILL_ILLOPN): Likewise.
24094 (ILL_ILLADR): Likewise.
24095 (ILL_ILLTRP): Likewise.
24096 (ILL_PRVOPC): Likewise.
24097 (ILL_PRVREG): Likewise.
24098 (ILL_COPROC): Likewise.
24099 (ILL_BADSTK): Likewise.
24100 (FPE_INTDIV): Likewise.
24101 (FPE_INTOVF): Likewise.
24102 (FPE_FLTDIV): Likewise.
24103 (FPE_FLTOVF): Likewise.
24104 (FPE_FLTUND): Likewise.
24105 (FPE_FLTRES): Likewise.
24106 (FPE_FLTINV): Likewise.
24107 (FPE_FLTSUB): Likewise.
24108 (SEGV_MAPERR): Likewise.
24109 (SEGV_ACCERR): Likewise.
24110 (BUS_ADRALN): Likewise.
24111 (BUS_ADRERR): Likewise.
24112 (BUS_OBJERR): Likewise.
24113 (BUS_MCEERR_AR): Likewise.
24114 (BUS_MCEERR_AO): Likewise.
24115 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24116 (TRAP_TRACE): Likewise.
24117 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24118 __USE_XOPEN2K8].
24119 (CLD_KILLED): Likewise.
24120 (CLD_DUMPED): Likewise.
24121 (CLD_TRAPPED): Likewise.
24122 (CLD_STOPPED): Likewise.
24123 (CLD_CONTINUED): Likewise.
24124 (POLL_IN): Likewise.
24125 (POLL_OUT): Likewise.
24126 (POLL_MSG): Likewise.
24127 (POLL_ERR): Likewise.
24128 (POLL_PRI): Likewise.
24129 (POLL_HUP): Likewise.
24130 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24131 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24132
24133 [BZ #16670]
24134 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24135 before #include of <time.h>.
24136 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24137 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24138 (test-xfail-UNIX98/sched.h/conform): Likewise.
24139
24140 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24141
24142 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24143 error absence of trapping exception support.
24144 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24145
24146 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24147
24148 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24149 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24150 * timezone/Makefile (testdata): Move definition above include of
24151 Rules.
24152 (test-zones): New variable.
24153 (tests-special): Add zone files.
24154 (build-testdata): Use $(evaluate-test).
24155
24156 * elf/Makefile (tests-special): Rename tests to end with .out.
24157 ($(objpfx)noload-mem): Likewise.
24158 ($(objpfx)tst-leaks1-mem): Likewise.
24159 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24160 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24161 $(objpfx)test-iconvconfig.out.
24162 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24163 set -e inside subshell and redirect output to file.
24164 * iconvdata/Makefile (generated): Rename tests to end with .out.
24165 Correct type.
24166 (tests-special): Rename tests to end with .out.
24167 ($(objpfx)mtrace-tst-loading): Likewise.
24168 * intl/Makefile (generated): Likewise.
24169 (tests-special): Likewise.
24170 ($(objpfx)mtrace-tst-gettext): Likewise.
24171 * misc/Makefile (generated): Likewise.
24172 (tests-special): Likewise.
24173 ($(objpfx)tst-error1-mem): Likewise.
24174 * nptl/Makefile (tests-special): Likewise.
24175 ($(objpfx)tst-stack3-mem): Likewise.
24176 (generated): Likewise.
24177 * posix/Makefile (generated): Likewise.
24178 (tests-special): Likewise.
24179 (xtests-special): Likewise.
24180 ($(objpfx)tst-fnmatch-mem): Likewise.
24181 ($(objpfx)bug-regex2-mem): Likewise.
24182 ($(objpfx)bug-regex14-mem): Likewise.
24183 ($(objpfx)bug-regex21-mem): Likewise.
24184 ($(objpfx)bug-regex31-mem): Likewise.
24185 ($(objpfx)tst-vfork3-mem): Likewise.
24186 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24187 ($(objpfx)tst-pcre-mem): Likewise.
24188 ($(objpfx)tst-boost-mem): Likewise.
24189 ($(objpfx)bug-ga2-mem): Likewise.
24190 ($(objpfx)bug-glob2-mem): Likewise.
24191 * resolv/Makefile (generate): Likewise.
24192 (tests-special): Likewise.
24193 (xtests-special): Likewise.
24194 (generated): Likewise.
24195 ($(objpfx)mtrace-tst-leaks): Likewise.
24196 ($(objpfx)mtrace-tst-leaks2): Likewise.
24197
24198 * scripts/merge-test-results.sh: New file.
24199 * Makefile (tests-special-notdir): New variable.
24200 (tests): Run merge-test-results.sh.
24201 (xtests): Likewise.
24202 * Rules (tests-special-notdir): New variable.
24203 (xtests-special-notdir): Likewise.
24204 (tests): Run merge-test-results.sh
24205 (xtests): Likewise.
24206
24207 * Makeconfig (test-xfail-name): New variable.
24208 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24209 compute variable name for expected failures.
24210 * conform/Makefile (conformtest-headers-data): New variable.
24211 (conformtest-standards): Likewise.
24212 (conformtest-headers-ISO): Likewise.
24213 (conformtest-headers-ISO99): Likewise.
24214 (conformtest-headers-ISO11): Likewise.
24215 (conformtest-headers-POSIX): Likewise.
24216 (conformtest-headers-XPG3): Likewise.
24217 (conformtest-headers-XPG4): Likewise.
24218 (conformtest-headers-UNIX98): Likewise.
24219 (conformtest-headers-XOPEN2K): Likewise.
24220 (conformtest-headers-POSIX2008): Likewise.
24221 (conformtest-headers-XOPEN2K8): Likewise.
24222 (conformtest-header-list-base): Likewise.
24223 (conformtest-header-list-tests): Likewise.
24224 (conformtest-header-base): Likewise.
24225 (conformtest-header-tests): Likewise.
24226 (tests-special): Add $(conformtest-header-list-tests). If
24227 [$(fast-check) && !$(cross-compiling)], add
24228 $(conformtest-header-tests) instead of
24229 $(objpfx)run-conformtest.out.
24230 (generated): Add $(conformtest-header-list-base). If
24231 [$(fast-check) && !$(cross-compiling)], add
24232 $(conformtest-header-base). Remove previous setting.
24233 ($(conformtest-header-list-tests)): New target.
24234 (test-xfail-run-conformtest): Remove variable.
24235 ($(objpfx)run-conformtest.out): Remove target.
24236 (test-xfail-ISO11/complex.h/conform): New variable.
24237 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24238 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24239 (test-xfail-XPG3/varargs.h/conform): Likewise.
24240 (test-xfail-XPG4/varargs.h/conform): Likewise.
24241 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24242 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24243 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24244 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24245 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24246 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24247 (test-xfail-XPG3/ftw.h/conform): Likewise.
24248 (test-xfail-XPG3/grp.h/conform): Likewise.
24249 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24250 (test-xfail-XPG3/limits.h/conform): Likewise.
24251 (test-xfail-XPG3/pwd.h/conform): Likewise.
24252 (test-xfail-XPG3/search.h/conform): Likewise.
24253 (test-xfail-XPG3/signal.h/conform): Likewise.
24254 (test-xfail-XPG3/stdio.h/conform): Likewise.
24255 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24256 (test-xfail-XPG3/string.h/conform): Likewise.
24257 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24258 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24259 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24260 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24261 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24262 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24263 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24264 (test-xfail-XPG3/termios.h/conform): Likewise.
24265 (test-xfail-XPG3/time.h/conform): Likewise.
24266 (test-xfail-XPG3/unistd.h/conform): Likewise.
24267 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24268 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24269 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24270 (test-xfail-XPG4/netdb.h/conform): Likewise.
24271 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24272 (test-xfail-XPG4/signal.h/conform): Likewise.
24273 (test-xfail-XPG4/stdio.h/conform): Likewise.
24274 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24275 (test-xfail-XPG4/stropts.h/conform): Likewise.
24276 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24277 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24278 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24279 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24280 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24281 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24282 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24283 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24284 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24285 (test-xfail-XPG4/termios.h/conform): Likewise.
24286 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24287 (test-xfail-XPG4/unistd.h/conform): Likewise.
24288 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24289 (test-xfail-POSIX/sched.h/conform): Likewise.
24290 (test-xfail-POSIX/signal.h/conform): Likewise.
24291 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24292 (test-xfail-POSIX/tar.h/conform): Likewise.
24293 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24294 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24295 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24296 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24297 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24298 (test-xfail-UNIX98/sched.h/conform): Likewise.
24299 (test-xfail-UNIX98/signal.h/conform): Likewise.
24300 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24301 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24302 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24303 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24304 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24305 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24306 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24307 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24308 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24309 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24310 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24311 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24312 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24313 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24314 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24315 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24316 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24317 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24318 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24319 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24320 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24321 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24322 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24323 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24324 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24325 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24326 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24327 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24328 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24329 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24330 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24331 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24332 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24333 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24334 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24335 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24336 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24337 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24338 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24339 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24340 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24341 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24342 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24343 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24344 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24345 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24346 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24347 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24348 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24349 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24350 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24351 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24352 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24353 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24354 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24355 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24356 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24357 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24358 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24359 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24360 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24361 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24362 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24363 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24364 (conformtest-cc-flags): Likewise.
24365 ($(conformtest-header-tests): New target.
24366 * conform/check-header-lists.sh: New file.
24367 * conform/run-conformtest.sh: Remove.
24368
24369 * conform/conformtest.pl: Allow ' and \ in values given for
24370 constants.
24371 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24372 inclusion.
24373 [POSIX] (sys/types.h): Likewise.
24374 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24375 inclusion.
24376 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24377 inclusion.
24378 * conform/data/signal.h-data (SIGIO): Remove expectation.
24379 [XPG3] (SIGBUS): Do not expect.
24380 [POSIX || XPG3] (SIGPOLL): Likewise.
24381 [POSIX || XPG3] (SIGPROF): Likewise.
24382 [POSIX || XPG3] (SIGSYS): Likewise.
24383 [XPG3] (SIGTRAP): Likewise.
24384 [POSIX || XPG3] (SIGURG): Likewise.
24385 [POSIX || XPG3] (SIGVTALRM): Likewise.
24386 [POSIX || XPG3] (SIGXCPU): Likewise.
24387 [POSIX || XPG3] (SIGXFSZ): Likewise.
24388 [POSIX] (SA_SIGINFO): Expect.
24389 [XPG3] (siginfo_t): Do not expect type or contents.
24390 [POSIX] (si_pid): Do not expect element.
24391 [POSIX] (si_uid): Likewise.
24392 [POSIX] (si_addr): Likewise.
24393 [POSIX] (si_status): Likewise.
24394 [POSIX] (si_band): Likewise.
24395 [XPG4] (si_value): Likewise.
24396 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24397 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24398 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24399 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24400 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24401 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24402 [POSIX || XPG3] (ILL_COPROC): Likewise.
24403 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24404 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24405 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24406 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24407 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24408 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24409 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24410 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24411 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24412 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24413 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24414 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24415 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24416 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24417 [POSIX || XPG3] (CLD_EXITED): Likewise.
24418 [POSIX || XPG3] (CLD_KILLED): Likewise.
24419 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24420 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24421 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24422 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24423 [POSIX || XPG3] (POLL_IN): Likewise.
24424 [POSIX || XPG3] (POLL_OUT): Likewise.
24425 [POSIX || XPG3] (POLL_MSG): Likewise.
24426 [POSIX || XPG3] (POLL_ERR): Likewise.
24427 [POSIX || XPG3] (POLL_PRI): Likewise.
24428 [POSIX || XPG3] (POLL_HUP): Likewise.
24429 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24430 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24431 (SIG*): Do not allow.
24432 [XPG3] (si_*): Likewise.
24433 [XPG3] (SI_*): Likewise.
24434 [XPG3 || XPG4] (sigev_*): Likewise.
24435 [XPG3 || XPG4] (SIGEV_*): Likewise.
24436 [XPG3 || XPG4] (sival_*): Likewise.
24437 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24438 [POSIX || XPG3] (BUS_*): Likewise.
24439 [POSIX || XPG3] (CLD_*): Likewise.
24440 [POSIX || XPG3] (FPE_*): Likewise.
24441 [POSIX || XPG3] (ILL_*): Likewise.
24442 [POSIX || XPG3] (POLL_*): Likewise.
24443 [POSIX || XPG3] (SEGV_*): Likewise.
24444 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24445 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24446 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24447 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24448 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24449 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24450 Specify type and value.
24451 (TVERSLEN): Likewise.
24452 (REGTYPE): Likewise.
24453 (AREGTYPE): Likewise.
24454 (LNKTYPE): Likewise.
24455 (SYMTYPE): Likewise.
24456 (CHRTYPE): Likewise.
24457 (BLKTYPE): Likewise.
24458 (DIRTYPE): Likewise.
24459 (FIFOTYPE): Likewise.
24460 (CONTTYPE): Likewise.
24461 (TSUID): Likewise.
24462 (TSGID): Likewise.
24463 (TSVTX): Likewise.
24464 (TUREAD): Likewise.
24465 (TUWRITE): Likewise.
24466 (TUEXEC): Likewise.
24467 (TGREAD): Likewise.
24468 (TGWRITE): Likewise.
24469 (TGEXEC): Likewise.
24470 (TOREAD): Likewise.
24471 (TOWRITE): Likewise.
24472 (TOEXEC): Likewise.
24473 [POSIX] (TSVTX): Expect constant.
24474
24475 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24476
24477 * Makefile (tests): Change dependencies to ....
24478 (tests-special): ... additions to this variable.
24479 (tests): Depend on $(tests-special).
24480 * Makerules (check-abi-list): New variable.
24481 (check-abi): Depend on $(check-abi-list).
24482 [$(subdir) = elf] (tests-special): Add
24483 $(objpfx)check-abi-libc.out.
24484 [$(build-shared) = yes && subdir] (tests-special): Add
24485 $(check-abi-list).
24486 [$(build-shared) = yes && subdir] (tests): Do not depend on
24487 check-abi.
24488 * Rules (tests): Depend on $(tests-special).
24489 (xtests): Depend on $(xtests-special).
24490 * catgets/Makefile (tests): Change dependencies to ....
24491 (tests-special): ... additions to this variable.
24492 * conform/Makefile (tests): Change dependencies to ....
24493 (tests-special): ... additions to this variable.
24494 * elf/Makefile (tests): Change dependencies to ....
24495 (tests-special): ... additions to this variable.
24496 * grp/Makefile (tests): Change dependencies to ....
24497 (tests-special): ... additions to this variable.
24498 * iconv/Makefile (xtests): Change dependencies to ....
24499 (xtests-special): ... additions to this variable.
24500 * iconvdata/Makefile (tests): Change dependencies to ....
24501 (tests-special): ... additions to this variable.
24502 * intl/Makefile (tests): Change dependencies to ....
24503 (tests-special): ... additions to this variable. Also add
24504 $(objpfx)tst-gettext.out.
24505 * io/Makefile (tests): Change dependencies to ....
24506 (tests-special): ... additions to this variable.
24507 * libio/Makefile (tests): Change dependencies to ....
24508 (tests-special): ... additions to this variable.
24509 * malloc/Makefile (tests): Change dependencies to ....
24510 (tests-special): ... additions to this variable.
24511 * misc/Makefile (tests): Change dependencies to ....
24512 (tests-special): ... additions to this variable.
24513 * nptl/Makefile (tests): Change dependencies to ....
24514 (tests-special): ... additions to this variable.
24515 * nptl_db/Makefile (tests): Change dependencies to ....
24516 (tests-special): ... additions to this variable.
24517 * posix/Makefile (tests): Change dependencies to ....
24518 (tests-special): ... additions to this variable.
24519 (xtests): Change dependencies to ....
24520 (xtests-special): ... additions to this variable.
24521 * resolv/Makefile (tests): Change dependencies to ....
24522 (tests-special): ... additions to this variable.
24523 (xtests): Change dependencies to ....
24524 (xtests-special): ... additions to this variable.
24525 * stdio-common/Makefile (tests): Change dependencies to ....
24526 (tests-special): ... additions to this variable.
24527 (do-tst-unbputc): Remove target.
24528 (do-tst-printf): Likewise.
24529 * stdlib/Makefile (tests): Change dependencies to ....
24530 (tests-special): ... additions to this variable.
24531 * string/Makefile (tests): Change dependencies to ....
24532 (tests-special): ... additions to this variable.
24533 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24534 (tests-special): ... additions to this variable.
24535
24536 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24537 whole file.
24538 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24539 whole file.
24540 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24541 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24542
24543 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24544 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24545 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24546 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24547 * conform/data/libgen.h-data [XPG3]: Likewise.
24548 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24549 * conform/data/ndbm.h-data [XPG3]: Likewise.
24550 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24551 * conform/data/netdb.h-data [XPG3]: Likewise.
24552 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24553 * conform/data/poll.h-data [XPG3]: Likewise.
24554 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24555 * conform/data/strings.h-data [XPG3]: Likewise.
24556 * conform/data/stropts.h-data [XPG3]: Likewise.
24557 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24558 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24559 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24560 Likewise.
24561 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24562 * conform/data/sys/time.h-data [XPG3]: Likewise.
24563 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24564 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24565 * conform/data/sys/un.h-data [XPG3]: Likewise.
24566 * conform/data/syslog.h-data [XPG3]: Likewise.
24567 * conform/data/ucontext.h-data [XPG3]: Likewise.
24568 * conform/data/utmpx.h-data [XPG3]: Likewise.
24569 * conform/data/varargs.h-data [UNIX98]: Enable file.
24570
24571 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24572
24573 * math/libm-test.inc (struct test_f_f_data): Move expected results
24574 into structure for each rounding mode.
24575 (struct test_ff_f_data): Likewise.
24576 (struct test_ff_f_data_nexttoward): Likewise.
24577 (struct test_fi_f_data): Likewise.
24578 (struct test_fl_f_data): Likewise.
24579 (struct test_if_f_data): Likewise.
24580 (struct test_fff_f_data): Likewise.
24581 (struct test_c_f_data): Likewise.
24582 (struct test_f_f1_data): Likewise.
24583 (struct test_fF_f1_data): Likewise.
24584 (struct test_ffI_f1_data): Likewise.
24585 (struct test_c_c_data): Likewise.
24586 (struct test_cc_c_data): Likewise.
24587 (struct test_f_i_data): Likewise.
24588 (struct test_ff_i_data): Likewise.
24589 (struct test_f_l_data): Likewise.
24590 (struct test_f_L_data): Likewise.
24591 (struct test_fFF_11_data): Likewise.
24592 (RM_): New macro.
24593 (RM_FE_DOWNWARD): Likewise.
24594 (RM_FE_TONEAREST): Likewise.
24595 (RM_FE_TOWARDZERO): Likewise.
24596 (RM_FE_UPWARD): Likewise.
24597 (RUN_TEST_LOOP_f_f): Update references to expected results.
24598 (RUN_TEST_LOOP_2_f): Likewise.
24599 (RUN_TEST_LOOP_fff_f): Likewise.
24600 (RUN_TEST_LOOP_c_f): Likewise.
24601 (RUN_TEST_LOOP_f_f1): Likewise.
24602 (RUN_TEST_LOOP_fF_f1): Likewise.
24603 (RUN_TEST_LOOP_fI_f1): Likewise.
24604 (RUN_TEST_LOOP_ffI_f1): Likewise.
24605 (RUN_TEST_LOOP_c_c): Likewise.
24606 (RUN_TEST_LOOP_cc_c): Likewise.
24607 (RUN_TEST_LOOP_f_i): Likewise.
24608 (RUN_TEST_LOOP_f_i_tg): Likewise.
24609 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24610 (RUN_TEST_LOOP_f_b): Likewise.
24611 (RUN_TEST_LOOP_f_b_tg): Likewise.
24612 (RUN_TEST_LOOP_f_l): Likewise.
24613 (RUN_TEST_LOOP_f_L): Likewise.
24614 (RUN_TEST_LOOP_fFF_11): Likewise.
24615 * math/gen-libm-test.pl (parse_args): Output four copies of
24616 expected results for each test.
24617
24618 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24619 (__ASSUME_UTIMES): Remove.
24620 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24621 (__ASSUME_UTIMES): Likewise.
24622
24623 * math/gen-auto-libm-tests.c: Update comment on output format.
24624 (output_for_one_input_case): Generate before-rounding and
24625 after-rounding information as conditions on output flags not
24626 floating-point format.
24627 * math/auto-libm-test-out: Regenerated.
24628 * math/gen-libm-test.pl (cond_value): New function.
24629 (or_cond_value): Use cond_value.
24630 (generate_testfile): Handle conditional exceptions.
24631
24632 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24633
24634 * math/libm-test.inc (max_valid_error): New variable.
24635 (init_max_error): Take new argument specifying whether function
24636 results are exactly determined. Set max_valid_error and bound
24637 other variables for errors based on this argument.
24638 (set_max_error): Do not record results above max_valid_error.
24639 (check_float_internal): Only accept errors of up to 0.5ulps if
24640 also at most max_valid_error.
24641 (START): Take new argument EXACT and pass it to init_max_error.
24642 (acos_test): Update call to START.
24643 (acos_test_tonearest): Likewise.
24644 (acos_test_towardzero): Likewise.
24645 (acos_test_downward): Likewise.
24646 (acos_test_upward): Likewise.
24647 (acosh_test): Likewise.
24648 (asin_test): Likewise.
24649 (asin_test_tonearest): Likewise.
24650 (asin_test_towardzero): Likewise.
24651 (asin_test_downward): Likewise.
24652 (asin_test_upward): Likewise.
24653 (asinh_test): Likewise.
24654 (atan_test): Likewise.
24655 (atanh_test): Likewise.
24656 (atan2_test): Likewise.
24657 (cabs_test): Likewise.
24658 (cacos_test): Likewise.
24659 (cacosh_test): Likewise.
24660 (carg_test): Likewise.
24661 (casin_test): Likewise.
24662 (casinh_test): Likewise.
24663 (catan_test): Likewise.
24664 (catanh_test): Likewise.
24665 (cbrt_test): Likewise.
24666 (ccos_test): Likewise.
24667 (ccosh_test): Likewise.
24668 (ceil_test): Likewise.
24669 (cexp_test): Likewise.
24670 (cimag_test): Likewise.
24671 (clog_test): Likewise.
24672 (clog10_test): Likewise.
24673 (conj_test): Likewise.
24674 (copysign_test): Likewise.
24675 (cos_test): Likewise.
24676 (cos_test_tonearest): Likewise.
24677 (cos_test_towardzero): Likewise.
24678 (cos_test_downward): Likewise.
24679 (cos_test_upward): Likewise.
24680 (cosh_test): Likewise.
24681 (cosh_test_tonearest): Likewise.
24682 (cosh_test_towardzero): Likewise.
24683 (cosh_test_downward): Likewise.
24684 (cosh_test_upward): Likewise.
24685 (cpow_test): Likewise.
24686 (cproj_test): Likewise.
24687 (creal_test): Likewise.
24688 (csin_test): Likewise.
24689 (csinh_test): Likewise.
24690 (csqrt_test): Likewise.
24691 (ctan_test): Likewise.
24692 (ctan_test_tonearest): Likewise.
24693 (ctan_test_towardzero): Likewise.
24694 (ctan_test_downward): Likewise.
24695 (ctan_test_upward): Likewise.
24696 (ctanh_test): Likewise.
24697 (ctanh_test_tonearest): Likewise.
24698 (ctanh_test_towardzero): Likewise.
24699 (ctanh_test_downward): Likewise.
24700 (ctanh_test_upward): Likewise.
24701 (erf_test): Likewise.
24702 (erfc_test): Likewise.
24703 (exp_test): Likewise.
24704 (exp_test_tonearest): Likewise.
24705 (exp_test_towardzero): Likewise.
24706 (exp_test_downward): Likewise.
24707 (exp_test_upward): Likewise.
24708 (exp10_test): Likewise.
24709 (exp10_test_tonearest): Likewise.
24710 (exp10_test_towardzero): Likewise.
24711 (exp10_test_downward): Likewise.
24712 (exp10_test_upward): Likewise.
24713 (pow10_test): Likewise.
24714 (exp2_test): Likewise.
24715 (expm1_test): Likewise.
24716 (expm1_test_tonearest): Likewise.
24717 (expm1_test_towardzero): Likewise.
24718 (expm1_test_downward): Likewise.
24719 (expm1_test_upward): Likewise.
24720 (fabs_test): Likewise.
24721 (fdim_test): Likewise.
24722 (floor_test): Likewise.
24723 (fma_test): Likewise.
24724 (fma_test_towardzero): Likewise.
24725 (fma_test_downward): Likewise.
24726 (fma_test_upward): Likewise.
24727 (fmax_test): Likewise.
24728 (fmin_test): Likewise.
24729 (fmod_test): Likewise.
24730 (fpclassify_test): Likewise.
24731 (frexp_test): Likewise.
24732 (hypot_test): Likewise.
24733 (ilogb_test): Likewise.
24734 (isfinite_test): Likewise.
24735 (finite_test): Likewise.
24736 (isgreater_test): Likewise.
24737 (isgreaterequal_test): Likewise.
24738 (isinf_test): Likewise.
24739 (isless_test): Likewise.
24740 (islessequal_test): Likewise.
24741 (islessgreater_test): Likewise.
24742 (isnan_test): Likewise.
24743 (isnormal_test): Likewise.
24744 (issignaling_test): Likewise.
24745 (isunordered_test): Likewise.
24746 (j0_test): Likewise.
24747 (j1_test): Likewise.
24748 (jn_test): Likewise.
24749 (ldexp_test): Likewise.
24750 (lgamma_test): Likewise.
24751 (gamma_test): Likewise.
24752 (lrint_test): Likewise.
24753 (lrint_test_tonearest): Likewise.
24754 (lrint_test_towardzero): Likewise.
24755 (lrint_test_downward): Likewise.
24756 (lrint_test_upward): Likewise.
24757 (llrint_test): Likewise.
24758 (llrint_test_tonearest): Likewise.
24759 (llrint_test_towardzero): Likewise.
24760 (llrint_test_downward): Likewise.
24761 (llrint_test_upward): Likewise.
24762 (log_test): Likewise.
24763 (log10_test): Likewise.
24764 (log1p_test): Likewise.
24765 (log2_test): Likewise.
24766 (logb_test): Likewise.
24767 (logb_test_downward): Likewise.
24768 (lround_test): Likewise.
24769 (llround_test): Likewise.
24770 (modf_test): Likewise.
24771 (nearbyint_test): Likewise.
24772 (nextafter_test): Likewise.
24773 (nexttoward_test): Likewise.
24774 (pow_test): Likewise.
24775 (pow_test_tonearest): Likewise.
24776 (pow_test_towardzero): Likewise.
24777 (pow_test_downward): Likewise.
24778 (pow_test_upward): Likewise.
24779 (remainder_test): Likewise.
24780 (drem_test): Likewise.
24781 (remainder_test_tonearest): Likewise.
24782 (drem_test_tonearest): Likewise.
24783 (remainder_test_towardzero): Likewise.
24784 (drem_test_towardzero): Likewise.
24785 (remainder_test_downward): Likewise.
24786 (drem_test_downward): Likewise.
24787 (remainder_test_upward): Likewise.
24788 (drem_test_upward): Likewise.
24789 (remquo_test): Likewise.
24790 (rint_test): Likewise.
24791 (rint_test_tonearest): Likewise.
24792 (rint_test_towardzero): Likewise.
24793 (rint_test_downward): Likewise.
24794 (rint_test_upward): Likewise.
24795 (round_test): Likewise.
24796 (scalb_test): Likewise.
24797 (scalbn_test): Likewise.
24798 (scalbln_test): Likewise.
24799 (signbit_test): Likewise.
24800 (sin_test): Likewise.
24801 (sin_test_tonearest): Likewise.
24802 (sin_test_towardzero): Likewise.
24803 (sin_test_downward): Likewise.
24804 (sin_test_upward): Likewise.
24805 (sincos_test): Likewise.
24806 (sinh_test): Likewise.
24807 (sinh_test_tonearest): Likewise.
24808 (sinh_test_towardzero): Likewise.
24809 (sinh_test_downward): Likewise.
24810 (sinh_test_upward): Likewise.
24811 (sqrt_test): Likewise.
24812 (sqrt_test_tonearest): Likewise.
24813 (sqrt_test_towardzero): Likewise.
24814 (sqrt_test_downward): Likewise.
24815 (sqrt_test_upward): Likewise.
24816 (tan_test): Likewise.
24817 (tan_test_tonearest): Likewise.
24818 (tan_test_towardzero): Likewise.
24819 (tan_test_downward): Likewise.
24820 (tan_test_upward): Likewise.
24821 (tanh_test): Likewise.
24822 (tgamma_test): Likewise.
24823 (trunc_test): Likewise.
24824 (y0_test): Likewise.
24825 (y1_test): Likewise.
24826 (yn_test): Likewise.
24827 (significand_test): Likewise.
24828
24829 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24830 individual tests in comment.
24831 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24832 (prev_max_error): New variable.
24833 (prev_real_max_error): Likewise.
24834 (prev_imag_max_error): Likewise.
24835 (compare_ulp_data): Don't refer to test names in comment.
24836 (find_test_ulps): Remove function.
24837 (find_function_ulps): Likewise.
24838 (find_complex_function_ulps): Likewise.
24839 (init_max_error): Take function name as argument. Look up ulps
24840 for that function.
24841 (print_ulps): Remove function.
24842 (print_max_error): Use prev_max_error instead of calling
24843 find_function_ulps.
24844 (print_complex_max_error): Use prev_real_max_error and
24845 prev_imag_max_error instead of calling find_complex_function_ulps.
24846 (check_float_internal): Take max_ulp parameter instead of calling
24847 find_test_ulps. Don't call print_ulps.
24848 (check_float): Update call to check_float_internal.
24849 (check_complex): Update calls to check_float_internal.
24850 (START): Pass argument to init_max_error.
24851 * math/gen-libm-test.pl (%results): Don't include "kind"
24852 information.
24853 (parse_ulps): Don't handle ulps of individual tests.
24854 (print_ulps_file): Likewise.
24855 (output_ulps): Likewise.
24856 * math/README.libm-test: Update.
24857 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24858 individual tests.
24859 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24860 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24861 * sysdeps/arm/libm-test-ulps: Likewise.
24862 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24863 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24864 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24865 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24866 * sysdeps/microblaze/libm-test-ulps: Likewise.
24867 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24868 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24869 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24870 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24871 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24872 * sysdeps/sh/libm-test-ulps: Likewise.
24873 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24874 * sysdeps/tile/libm-test-ulps: Likewise.
24875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24876
24877 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24878
24879 * math/libm-test.inc (print_complex_max_error): Check separately
24880 whether real and imaginary errors are within allowed range and
24881 pass 0 to print_complex_function_ulps instead of value within
24882 allowed range.
24883
24884 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24885
24886 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24887 formatting.
24888 (get_handles_fopen): Likewise.
24889 (do_write_test): Likewise.
24890
24891 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24892
24893 * libio/fileops.c (do_ftell): Use cached offset when
24894 available.
24895 * libio/iofwide.c (do_ftell_wide): Likewise.
24896 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24897 _IO_file_attach.
24898 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24899
24900 [BZ #16532]
24901 * libio/libioP.h (get_file_offset): New function.
24902 * libio/fileops.c (get_file_offset): Likewise.
24903 (do_ftell): Likewise.
24904 (_IO_new_file_seekoff): Split out ftell logic.
24905 * libio/wfileops.c (do_ftell_wide): Likewise.
24906 (_IO_wfile_seekoff): Split out ftell logic.
24907 * libio/tst-ftell-active-handler.c: New test case.
24908 * libio/Makefile (tests): Add it.
24909
24910 2014-03-03 Roland McGrath <roland@hack.frob.com>
24911
24912 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24913 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24914
24915 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24916
24917 [BZ #16639]
24918 * nscd/connections.c (nscd_init): Call do_exit.
24919 (start_threads): Call do_exit and notify_parent.
24920 (begin_drop_privileges): Call do_exit.
24921 (finish_drop_privileges): Likewise.
24922 * nscd/selinux.c (preserve_capabilities): Likewise.
24923 (install_real_capabilities): Likewise.
24924 (nscd_selinux_enabled): Likewise.
24925 (avc_create_thread): Likewise.
24926 (avc_alloc_lock): Likewise.
24927 (nscd_avc_init): Likewise.
24928 * nscd/nscd.c (parent_fd): New static variable.
24929 (main): Create a pipe between parent and child processes.
24930 Skip closing parent_fd.
24931 (monitor_child): New function.
24932 (do_exit): Likewise.
24933 (notify_parent): Likewise.
24934 * nscd/nscd.h (notify_parent): Likewise.
24935 (do_exit): Likewise.
24936
24937 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24938
24939 * malloc/malloc.c (__libc_calloc): Revert last change.
24940
24941 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24942
24943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24944
24945 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24946
24947 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24949 implementation.
24950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24951 (__libc_ifunc_impl_list): Likewise.
24952 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24953 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24954 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24955 * string/strrchr.c: Define STRRCHR.
24956
24957 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
24958
24959 * benchtest/bench-strtok.c (simple_strtok): Delete.
24960 (strtok_string): Use as benchmark.
24961 * string/strtok (STRTOK): New macro.
24962
24963 2014-02-28 Carlos O'Donell <carlos@redhat.com>
24964
24965 * manual/threads.texi: Add header and standard comments to all
24966 functions.
24967
24968 * elf/dl-lookup.c (check_match): New function.
24969 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24970 (do_lookup_x): Remove nested function check_match. Use non-nested
24971 function check_match.
24972
24973 2014-02-28 Roland McGrath <roland@hack.frob.com>
24974
24975 * csu/Makefile (generated, before-compile): Use += rather than =.
24976 * catgets/Makefile (generated, generated-dirs): Likewise.
24977 * debug/Makefile (generated): Likewise.
24978 * dlfcn/Makefile (generated): Likewise.
24979 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24980 * iconvdata/Makefile (before-compile, generated): Likewise.
24981 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24982 * libio/Makefile (generated): Likewise.
24983 * malloc/Makefile (generated): Likewise.
24984 * manual/Makefile (generated, generated-dirs): Likewise.
24985 * misc/Makefile (generated): Likewise.
24986 * posix/Makefile (generated): Likewise.
24987 * resolv/Makefile (generated): Likewise.
24988 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24989 * timezone/Makefile (generated, generated-dirs): Likewise.
24990
24991 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24992
24993 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24994
24995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24996 power8 implementation.
24997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24998 file: POWER8 llround ifunc implementation.
24999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25000 (__lllround): Add POWER8 implementation.
25001 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25002 POWER8 llround implementation.
25003
25004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25005 power8 implementation.
25006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25007 file: POWER8 llrint ifunc implementation.
25008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25009 Add POWER8 implementation.
25010 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25011 POWER8 llrint implementation.
25012
25013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25014 power8 implementation.
25015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25016 file: POWER8 finite ifunc implementation.
25017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25018 Add POWER8 implementation.
25019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25020 Likewise.
25021 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25022 POWER8 finite implementation.
25023 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25024
25025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25026 power8 implementation.
25027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25028 file: POWER8 isinf ifunc implementation.
25029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25030 POWER8 implementation.
25031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25032 Likewise.
25033 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25034 isinf implementation.
25035 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25036
25037 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25038 (INIT_ARCH): Add hwcap2 initialization.
25039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25040 power8 implementation.
25041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25042 file: POWER8 isnan ifunc implementation.
25043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25044 POWER8 implementation.
25045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25046 Likewise.
25047 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25048 isnan implementation.
25049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25050
25051 2014-02-27 Joey Ye <joey.ye@arm.com>
25052
25053 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25054 (_FP_NANFRAC_Q): Set to zero.
25055
25056 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25057
25058 [BZ #16623]
25059 * math/auto-libm-test-in: New test inputs.
25060 * math/auto-libm-test-out: Regenerate.
25061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25062 and DA.
25063 (__cos): Likewise.
25064 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25065
25066 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25067
25068 * scripts/evaluate-test.sh: Take new argument indicating whether
25069 failure is expected.
25070 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25071 indicating whether failure is expected.
25072 * conform/Makefile (test-xfail-run-conformtest): New variable.
25073 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25074 level.
25075 * posix/Makefile (test-xfail-annexc): New variable.
25076 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25077
25078 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25079
25080 * argp/Makefile: Include Makeconfig immediately after defining
25081 subdir.
25082 * assert/Makefile: Likewise.
25083 * benchtests/Makefile: Likewise.
25084 * catgets/Makefile: Likewise.
25085 * conform/Makefile: Likewise.
25086 * crypt/Makefile: Likewise.
25087 * csu/Makefile: Likewise.
25088 (all): Remove target.
25089 * ctype/Makefile: Include Makeconfig immediately after defining
25090 subdir.
25091 * debug/Makefile: Likewise.
25092 * dirent/Makefile: Likewise.
25093 * dlfcn/Makefile: Likewise.
25094 * gmon/Makefile: Likewise.
25095 * gnulib/Makefile: Likewise.
25096 * grp/Makefile: Likewise.
25097 * gshadow/Makefile: Likewise.
25098 * hesiod/Makefile: Likewise.
25099 * hurd/Makefile: Likewise.
25100 (all): Remove target.
25101 * iconvdata/Makefile: Include Makeconfig immediately after
25102 defining subdir.
25103 * inet/Makefile: Likewise.
25104 * intl/Makefile: Likewise.
25105 * io/Makefile: Likewise.
25106 * libio/Makefile: Likewise.
25107 (all): Remove target.
25108 * locale/Makefile: Include Makeconfig immediately after defining
25109 subdir.
25110 * login/Makefile: Likewise.
25111 * mach/Makefile: Likewise.
25112 (all): Remove target.
25113 * malloc/Makefile: Include Makeconfig immediately after defining
25114 subdir.
25115 (all): Remove target.
25116 * manual/Makefile: Include Makeconfig immediately after defining
25117 subdir.
25118 * math/Makefile: Likewise.
25119 * misc/Makefile: Likewise.
25120 * nis/Makefile: Likewise.
25121 * nss/Makefile: Likewise.
25122 * po/Makefile: Likewise.
25123 (all): Remove target.
25124 * posix/Makefile: Include Makeconfig immediately after defining
25125 subdir.
25126 * pwd/Makefile: Likewise.
25127 * resolv/Makefile: Likewise.
25128 * resource/Makefile: Likewise.
25129 * rt/Makefile: Likewise.
25130 * setjmp/Makefile: Likewise.
25131 * shadow/Makefile: Likewise.
25132 * signal/Makefile: Likewise.
25133 * socket/Makefile: Likewise.
25134 * soft-fp/Makefile: Likewise.
25135 * stdio-common/Makefile: Likewise.
25136 * stdlib/Makefile: Likewise.
25137 * streams/Makefile: Likewise.
25138 * string/Makefile: Likewise.
25139 * sunrpc/Makefile: Likewise.
25140 (all): Remove target.
25141 * sysvipc/Makefile: Include Makeconfig immediately after defining
25142 subdir.
25143 * termios/Makefile: Likewise.
25144 * time/Makefile: Likewise.
25145 * timezone/Makefile: Likewise.
25146 (all): Remove target.
25147 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25148 subdir.
25149 * wctype/Makefile: Likewise.
25150
25151 2014-02-26 Steve Ellcey <sellcey@mips.com>
25152
25153 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25154 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25155 (libc_feholdexcept_setround_mips): Ditto.
25156 (libc_feholdsetround): New.
25157 (libc_feholdsetroundf): New.
25158 (libc_feholdsetroundl): New.
25159 (libc_feupdateenv_test_mips): New.
25160 (libc_feupdateenv_test): New.
25161 (libc_feupdateenv_testf): New.
25162 (libc_feupdateenv_testl): New.
25163 (libc_feresetround): New.
25164 (libc_feresetroundf): New.
25165 (libc_feresetroundl): New.
25166 (libc_fetestexcept_mips): New.
25167 (libc_fetestexcept): New.
25168 (libc_fetestexceptf): New.
25169 (libc_fetestexceptl): New.
25170 (HAVE_RM_CTX): New.
25171 (libc_feholdexcept_setround_mips_ctx): New.
25172 (libc_feholdexcept_setround_ctx): New.
25173 (libc_feholdexcept_setroundf_ctx): New.
25174 (libc_feholdexcept_setroundl_ctx): New.
25175 (libc_fesetenv_mips_ctx): New.
25176 (libc_fesetenv_ctx): New.
25177 (libc_fesetenv_ctxf): New.
25178 (libc_fesetenv_ctxl): New.
25179 (libc_feupdateenv_mips_ctx): New.
25180 (libc_feupdateenv_ctx): New.
25181 (libc_feupdateenvf_ctx): New.
25182 (libc_feupdateenvl_ctx): New.
25183 (libc_feholdsetround_mips_ctx): New.
25184 (libc_feholdsetround_ctx): New.
25185 (libc_feholdsetroundf_ctx): New.
25186 (libc_feholdsetroundl_ctx): New.
25187 (libc_feresetround_mips_ctx): New.
25188 (libc_feresetround_ctx): New.
25189 (libc_feresetroundf_ctx): New.
25190 (libc_feresetroundl_ctx): New.
25191
25192 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25193
25194 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25195
25196 * manual/ipc.texi: New file.
25197 * manual/Makefile (chapters): Add ipc.
25198 * manual/job.texi: Add "Inter-Process Communication" to next.
25199 * manual/process.texi: Add "Inter-Process Communication" to prev.
25200
25201 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25202
25203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25204
25205 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25206
25207 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25208
25209 * manual/arith.texi: Fix spaces after sentences.
25210 * manual/charset.texi: Likewise.
25211 * manual/errno.texi: Likewise.
25212 * manual/install.texi: Likewise.
25213 * manual/llio.texi: Likewise.
25214 * manual/locale.texi: Likewise.
25215 * manual/maint.texi: Likewise.
25216 * manual/math.texi: Likewise.
25217 * manual/memory.texi: Likewise.
25218 * manual/message.texi: Likewise.
25219 * manual/probes.texi: Likewise.
25220 * manual/resource.texi: Likewise.
25221 * manual/signal.texi: Likewise.
25222 * manual/socket.texi: Likewise.
25223 * manual/stdio.texi: Likewise.
25224 * manual/string.texi: Likewise.
25225 * manual/time.texi: Likewise.
25226 * manual/users.texi: Likewise.
25227
25228 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25229
25230 [BZ #16632]
25231 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25232 _DEFAULT_SOURCE is defined.
25233
25234 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25235 Carlos O'Donell <carlos@redhat.com>
25236
25237 [BZ #16613]
25238 * elf/dl-tls.c (_dl_count_modids): New function.
25239 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25240 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25241 audit library and increment generation counter.
25242 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25243 * elf/tst-audit9.c: New file.
25244 * elf/tst-auditmod9a.c: New file.
25245 * elf/tst-auditmod9b.c: New file.
25246 * elf/Makefile: Add rules to build and run tst-audit9.
25247
25248 2014-02-25 Florian Weimer <fweimer@redhat.com>
25249
25250 [BZ #15347]
25251 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25252
25253 2014-02-25 Will Newton <will.newton@linaro.org>
25254
25255 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25256 (__longjmp): Restore sp and lr before restoring callee
25257 saved registers. Add longjmp and longjmp_target
25258 SystemTap probe point.
25259 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25260 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25261 Define to zero to match jmpbuf layout.
25262 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25263 (__sigsetjmp): Save sp and lr before saving callee
25264 saved registers. Add setjmp SystemTap probe point.
25265
25266 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25267
25268 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25269
25270 2014-02-24 Andreas Schwab <schwab@suse.de>
25271
25272 [BZ #15804]
25273 * elf/pldd.c (wait_for_ptrace_stop): New function.
25274 (main): Call it after attaching.
25275
25276 2014-02-22 Roland McGrath <roland@hack.frob.com>
25277
25278 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25279 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25280 Versions files is now verboten.
25281 * hurd/Versions (libc: GLIBC_2.0):
25282 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25283 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25284 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25285 * mach/Versions: Likewise.
25286
25287 * csu/Versions: Remove unused %include.
25288 * resolv/Versions: Likewise.
25289
25290 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25291
25292 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25293 ($(objpfx)check-local-headers.out): Likewise.
25294 ($(objpfx)begin-end-check.out): Likewise.
25295 * Makerules (check-abi-%.out): Likewise.
25296 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25297 ($(objpfx)test2.cat): Likewise.
25298 ($(objpfx)de/libc.cat): Likewise.
25299 ($(objpfx)test-gencat.out): Likewise.
25300 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25301 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25302 ($(objpfx)noload-mem): Likewise.
25303 ($(objpfx)tst-pathopt.out): Likewise.
25304 ($(objpfx)tst-rtld-load-self.out): Likewise.
25305 ($(objpfx)tst-array1-cmp.out): Likewise.
25306 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25307 ($(objpfx)tst-array2-cmp.out): Likewise.
25308 ($(objpfx)tst-array3-cmp.out): Likewise.
25309 ($(objpfx)tst-array4-cmp.out): Likewise.
25310 ($(objpfx)tst-array5-cmp.out): Likewise.
25311 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25312 ($(objpfx)check-textrel.out): Likewise.
25313 ($(objpfx)check-execstack.out): Likewise.
25314 ($(objpfx)check-localplt.out): Likewise.
25315 ($(objpfx)order2-cmp.out): Likewise.
25316 ($(objpfx)tst-leaks1-mem): Likewise.
25317 ($(objpfx)tst-leaks1-static-mem): Likewise.
25318 ($(objpfx)tst-initorder-cmp.out): Likewise.
25319 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25320 ($(objpfx)tst-unused-dep.out): Likewise.
25321 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25322 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25323 * iconv/Makefile (test-iconvconfig): Likewise.
25324 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25325 ($(objpfx)iconv-test.out): Likewise.
25326 ($(objpfx)tst-tables.out): Likewise.
25327 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25328 ($(objpfx)tst-gettext.out): Likewise.
25329 ($(objpfx)tst-translit.out): Likewise.
25330 ($(objpfx)tst-gettext2.out): Likewise.
25331 ($(objpfx)tst-gettext4.out): Likewise.
25332 ($(objpfx)tst-gettext6.out): Likewise.
25333 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25334 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25335 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25336 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25337 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25338 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25339 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25340 ($(objpfx)wordexp-tst.out): Likewise.
25341 ($(objpfx)annexc.out): Likewise.
25342 ($(objpfx)tst-fnmatch-mem): Likewise.
25343 ($(objpfx)bug-regex2-mem): Likewise.
25344 ($(objpfx)bug-regex14-mem): Likewise.
25345 ($(objpfx)bug-regex21-mem): Likewise.
25346 ($(objpfx)bug-regex31-mem): Likewise.
25347 ($(objpfx)tst-vfork3-mem): Likewise.
25348 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25349 ($(objpfx)tst-pcre-mem): Likewise.
25350 ($(objpfx)tst-boost-mem): Likewise.
25351 ($(objpfx)tst-getconf.out): Likewise.
25352 ($(objpfx)bug-ga2-mem): Likewise.
25353 ($(objpfx)bug-glob2-mem): Likewise.
25354 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25355 ($(objpfx)mtrace-tst-leaks2): Likewise.
25356 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25357 ($(objpfx)tst-printf.out): Likewise.
25358 ($(objpfx)tst-setvbuf1.out): Likewise.
25359 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25360 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25361 ($(objpfx)tst-fmtmsg.out): Likewise.
25362 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25363 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25364
25365 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25366 * bits/sigaction.h [__USE_MISC]: Likewise.
25367 * bits/waitstatus.h: Update #endif comments.
25368 * ctype/ctype.h: Likewise.
25369 * dirent/dirent.h: Likewise.
25370 [__USE_MISC]: Remove redundant conditionals.
25371 * grp/grp.h: Update #endif comments.
25372 [__USE_GNU]: Remove redundant conditionals.
25373 [__USE_MISC]: Likewise.
25374 * inet/netinet/in.h [__USE_GNU]: Likewise.
25375 * io/sys/stat.h [__USE_MISC]: Likewise.
25376 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25377 * libio/bits/stdio.h: Update #endif comments.
25378 [__USE_MISC]: Remove redundant conditionals.
25379 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25380 * libio/stdio.h: Update #endif comments.
25381 [__USE_MISC]: Remove redundant conditionals.
25382 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25383 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25384 * math/math.h: Update #else and #endif comments.
25385 [__USE_MISC]: Remove redundant conditionals.
25386 * misc/sys/uio.h: Update #endif comments.
25387 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25388 * posix/glob.h [__USE_MISC]: Likewise.
25389 * posix/sys/types.h: Update #endif comments.
25390 [__USE_MISC]: Remove redundant conditionals.
25391 * posix/sys/wait.h: Update #endif comments.
25392 [__USE_MISC]: Remove redundant conditionals.
25393 * posix/unistd.h: Update #endif comments.
25394 [__USE_MISC]: Remove redundant conditionals.
25395 * pwd/pwd.h [__USE_GNU]: Likewise.
25396 [__USE_MISC]: Likewise.
25397 * resolv/netdb.h [__USE_GNU]: Likewise.
25398 * signal/signal.h: Update #endif comments.
25399 [__USE_MISC]: Remove redundant conditionals.
25400 * stdlib/stdlib.h: Update #else and #endif comments.
25401 [__USE_MISC]: Remove redundant conditionals.
25402 [__USE_GNU]: Likewise.
25403 * string/bits/string2.h [__USE_MISC]: Likewise.
25404 * string/string.h: Update #endif comments.
25405 [__USE_MISC]: Remove redundant conditionals.
25406 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25407 Likewise.
25408 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25409 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25410 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25411 Likewise.
25412 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25413 Likewise.
25414 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25415 comments.
25416 [__USE_MISC]: Remove redundant conditionals.
25417 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25418 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25419 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25420 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25421 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25422 Likewise.
25423 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25424 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25425 Likewise.
25426 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25427 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25428 Likewise.
25429 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25430 Likewise.
25431 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25432 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25433 Likewise.
25434 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25435 Likewise.
25436 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25437 * sysdeps/x86/bits/string.h: Update #endif comments.
25438 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25439 conditionals.
25440 * time/sys/time.h: Update #endif comments.
25441 * time/time.h: Likewise.
25442 [__USE_MISC]: Remove redundant conditionals.
25443
25444 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25445
25446 [BZ #16600]
25447 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25448
25449 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25450
25451 * Versions.def (librt): Add GLIBC_2.17.
25452
25453 2014-02-21 Adam Conrad <adconrad@0c3.net>
25454
25455 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25456 synonym for _SYS_AUXV_H to allow direct inclusion.
25457 * sysdeps/sparc/bits/hwcap.h: Likewise.
25458 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25459 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25460 * sysdeps/sparc/sysdep.h: Likewise.
25461
25462 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25463
25464 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25465
25466 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25467
25468 * benchtests/bench-strrchr.c: Print length instead of position.
25469
25470 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25471
25472 [BZ #16611]
25473 * sysdeps/unix/sysv/linux/kernel-features.h
25474 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25475 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25476 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25477 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25478 Likewise.
25479 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25480 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25481 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25482 (__ASSUME_SENDMMSG): Define instead of using previous
25483 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25484 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25485 (__ASSUME_SENDMMSG_SYSCALL): Define.
25486 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25487 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25488 Likewise.
25489 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25490 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25491 Likewise.
25492 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25493 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25494 Likewise.
25495 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25496 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25497 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25498 [__ASSUME_SENDMMSG]: Change conditionals to
25499 [__ASSUME_SENDMMSG_SOCKETCALL].
25500 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25501 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25502 Define.
25503 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25504 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25505 Likewise.
25506 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25507 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25508 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25509 [!__ASSUME_SENDMMSG]: Change conditional to
25510 [!__ASSUME_SENDMMSG_SOCKETCALL].
25511 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25512 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25513 Define.
25514
25515 [BZ #16610]
25516 * sysdeps/unix/sysv/linux/kernel-features.h
25517 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25518 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25519 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25520 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25521 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25522 [__i386__ || __sparc__]
25523 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25524 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25525 (__ASSUME_RECVMMSG): Define instead of using previous
25526 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25527 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25528 (__ASSUME_RECVMMSG_SYSCALL): Define.
25529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25530 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25531 Likewise.
25532 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25533 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25534 Likewise.
25535 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25536 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25537 Likewise.
25538 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25539 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25540 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25541 [__ASSUME_RECVMMSG]: Change condition to
25542 [__ASSUME_RECVMMSG_SOCKETCALL].
25543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25544 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25545 Define.
25546 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25547 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25548 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25549 Likewise.
25550 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25551 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25552 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25553 [!__ASSUME_RECVMMSG]: Change condition to
25554 [!__ASSUME_RECVMMSG_SOCKETCALL].
25555 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25556 (__ASSUME_RECVMMSG_SYSCALL): Define.
25557
25558 [BZ #16609]
25559 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25560 __powerpc__ || __s390__ || __sh__ || __sparc__]
25561 (__ASSUME_SOCKETCALL): Define.
25562 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25563 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25564 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25565 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25566 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25567 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25568 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25569 (__ASSUME_ACCEPT4): Define instead of using previous
25570 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25571 __powerpc__ || __sparc__ || __s390__)] condition.
25572 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25573 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25574 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25575 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25576 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25577 [!__ASSUME_ACCEPT4]: Change condition to
25578 [!__ASSUME_ACCEPT4_SOCKETCALL].
25579 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25580 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25581 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25582 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25583 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25584 __ASSUME_ACCEPT4_SYSCALL.
25585 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25586 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25587 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25588 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25589 __ASSUME_ACCEPT4_SYSCALL.
25590 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25591 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25592 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25593 [__ASSUME_ACCEPT4]: Change condition to
25594 [__ASSUME_ACCEPT4_SOCKETCALL].
25595 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25596 (__ASSUME_SOCKETCALL): Define.
25597 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25598 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25599 (__ASSUME_SOCKETCALL): Define.
25600 (__ASSUME_ACCEPT4): Remove.
25601 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25602 Define.
25603 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25604 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25605 Likewise.
25606 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25607 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25608
25609 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25610 macro.
25611 (HWCAP_ARM_LPAE): Likewise.
25612 (HWCAP_ARM_EVTSTRM): Likewise.
25613 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25614 Add vpfd32, lpae and evtstrm.
25615 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25616 Increase to 22.
25617
25618 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25619
25620 * math/auto-libm-test-in: Add tests of clog10.
25621 * math/auto-libm-test-out: Regenerated.
25622 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25623 * sysdeps/i386/fpu/libm-test-ulps: Update.
25624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25625
25626 2014-02-18 Andreas Schwab <schwab@suse.de>
25627
25628 [BZ #16574]
25629 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25630 Store non-zero if the second buffer was newly allocated.
25631 (send_dg): Likewise.
25632 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25633 to send_vc and send_dg.
25634 (res_nsend): Pass NULL for ansp2_malloced.
25635 * resolv/res_query.c (__libc_res_nquery): Add parameter
25636 answerp2_malloced and pass it down to __libc_res_nsend.
25637 (res_nquery): Pass additional NULL to __libc_res_nquery.
25638 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25639 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25640 second answer buffer if answerp2_malloced was set.
25641 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25642 (__libc_res_nquerydomain): Add parameter
25643 answerp2_malloced and pass it down to __libc_res_nquery.
25644 (res_nquerydomain): Pass additional NULL to
25645 __libc_res_nquerydomain.
25646 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25647 additional NULL to __libc_res_nsend and __libc_res_nquery.
25648 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25649 additional NULL to __libc_res_nsearch.
25650 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25651 parameter of __libc_res_nsearch to check for separately allocated
25652 second buffer.
25653 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25654 __libc_res_nquery.
25655 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25656 additional NULL to __libc_res_nquery.
25657 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25658 __libc_res_nsearch.
25659 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25660 * include/resolv.h: Update prototypes of __libc_res_nquery,
25661 __libc_res_nsearch, __libc_res_nsend.
25662
25663 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25664
25665 * math/auto-libm-test-in: Add tests of fma.
25666 * math/auto-libm-test-out: Regenerated.
25667 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25668 (fma_towardzero_test_data): Likewise.
25669 (fma_downward_test_data): Likewise.
25670 (fma_upward_test_data): Likewise.
25671 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25672 mpc_mode.
25673 (rounding_modes): Add values for new field.
25674 (func_calc_method): Add value mpfr_fff_f.
25675 (func_calc_desc): Add mpfr_fff_f union field.
25676 (test_function): Add field exact_args.
25677 (FUNC): Add macro argument EXACT_ARGS.
25678 (FUNC_mpfr_f_f): Update call to FUNC.
25679 (FUNC_mpfr_f_f): Likewise.
25680 (FUNC_mpfr_ff_f): Likewise.
25681 (FUNC_mpfr_if_f): Likewise.
25682 (FUNC_mpc_c_f): Likewise.
25683 (FUNC_mpc_c_c): Likewise.
25684 (test_functions): Add fma. Update calls to FUNC.
25685 (handle_input_arg): Add argument exact_args.
25686 (add_test): Update call to handle_input_arg.
25687 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25688 (output_for_one_input_case): Update call to calc_generic_results.
25689 Recalculate exact zero results in each rounding mode.
25690
25691 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25692 non-negative before setting low bit.
25693 * math/auto-libm-test-in: Mark one asin test possibly having
25694 spurious underflow.
25695 * math/auto-libm-test-out: Regenerated.
25696 * sysdeps/i386/fpu/libm-test-ulps: Update.
25697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25698
25699 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25700
25701 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25702 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25703 ports/sysdeps/unix/sysv/linux/microblaze.
25704 * README: Add missing listing for microblaze*-*-linux-gnu.
25705
25706 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25707
25708 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25709 duplicate code
25710
25711 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25712
25713 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25714 * sysdeps/unix/sysv/linux/ia64: Move directory from
25715 ports/sysdeps/unix/sysv/linux/ia64.
25716 * README: Update listing for ia64-*-linux-gnu.
25717
25718 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25719 Joseph Myers <joseph@codesourcery.com>
25720
25721 * Makeconfig (test-name): New variable.
25722 (evaluate-test): Likewise.
25723 * Makerules (do-test-clean): Remove .test-result files.
25724 (common-mostlyclean): Likewise.
25725 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25726 * scripts/evaluate-test.sh: New file.
25727
25728 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25729
25730 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25731 separate $(objpfx)tst-fopenloc-cmp.out and
25732 $(objpfx)tst-fopenloc-mem.out targets.
25733 (tests): Update dependencies.
25734 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25735 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25736 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25737 (tst-rxspencer-no-utf8-ARGS): New variable.
25738 (tst-rxspencer-no-utf8-ENV): Likewise.
25739 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25740 instead of $(objpfx)tst-rxspencer-mem.
25741 ($(objpfx)tst-rxspencer-mem): Change target to
25742 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25743 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25744 * posix/tst-rxspencer-no-utf8.c: New file.
25745
25746 * elf/Makefile ($(objpfx)order.out): Remove rule.
25747 [$(run-built-tests) = yes] (tests): Depend on
25748 $(objpfx)order-cmp.out.
25749 ($(objpfx)order-cmp.out): New rule.
25750 [$(run-built-tests) = yes] (tests): Depend on
25751 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25752 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25753 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25754 $(objpfx)tst-array5-static-cmp.out.
25755 ($(objpfx)tst-array1.out): Remove rule.
25756 ($(objpfx)tst-array1-cmp.out): New rule.
25757 ($(objpfx)tst-array1-static.out): Remove rule.
25758 ($(objpfx)tst-array1-static-cmp.out): New rule.
25759 ($(objpfx)tst-array2.out): Remove rule.
25760 ($(objpfx)tst-array2-cmp.out): New rule.
25761 ($(objpfx)tst-array3.out): Remove rule.
25762 ($(objpfx)tst-array3-cmp.out): New rule.
25763 ($(objpfx)tst-array4.out): Remove rule.
25764 ($(objpfx)tst-array4-cmp.out): New rule.
25765 ($(objpfx)tst-array5.out): Remove rule.
25766 ($(objpfx)tst-array5-cmp.out): New rule.
25767 ($(objpfx)tst-array5-static.out): Remove rule.
25768 ($(objpfx)tst-array5-static-cmp.out): New rule.
25769 [$(run-built-tests) = yes] (tests): Depend on
25770 $(objpfx)order2-cmp.out.
25771 ($(objpfx)order2.out): Remove rule.
25772 ($(objpfx)order2-cmp.out): New rule.
25773 ($(objpfx)tst-initorder.out): Remove rule.
25774 [$(run-built-tests) = yes] (tests): Depend on
25775 $(objpfx)tst-initorder-cmp.out.
25776 ($(objpfx)tst-initorder-cmp.out): New rule.
25777 ($(objpfx)tst-initorder2.out): Remove rule.
25778 [$(run-built-tests) = yes] (tests): Depend on
25779 $(objpfx)tst-initorder2-cmp.out.
25780 ($(objpfx)tst-initorder2-cmp.out): New rule.
25781 [$(run-built-tests) = yes] (tests): Depend on
25782 $(objpfx)tst-unused-dep-cmp.out.
25783 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25784 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25785 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25786 on $(objpfx)tst-setvbuf1-cmp.out.
25787 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25788 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25789 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25790 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25791 ($(objpfx)tst-svc.out): Remove rule.
25792 ($(objpfx)tst-svc-cmp.out): New rule.
25793
25794 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25795
25796 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25797 * ctype/ctype.h [__USE_MISC]: Likewise.
25798 * dirent/dirent.h [__USE_MISC]: Likewise.
25799 * grp/grp.h [__USE_MISC]: Likewise.
25800 * io/fcntl.h [__USE_MISC]: Likewise.
25801 * io/sys/stat.h [__USE_MISC]: Likewise.
25802 * libio/stdio.h [__USE_MISC]: Likewise.
25803 * posix/unistd.h [__USE_MISC]: Likewise.
25804 * pwd/pwd.h [__USE_MISC]: Likewise.
25805 * stdlib.h [__USE_MISC]: Likewise.
25806 * string/bits/string2.h [__USE_MISC]: Likewise.
25807 * string/string.h [__USE_MISC]: Likewise.
25808 * time/time.h [__USE_MISC]: Likewise.
25809
25810 2014-02-13 Andreas Schwab <schwab@suse.de>
25811
25812 [BZ #16574]
25813 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25814 second answer buffer if it was separately allocated.
25815
25816 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25817
25818 * sysdeps/mips/math-tests.h: Include <features.h>.
25819 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25820 (ROUNDING_TESTS_long_double): Do not define.
25821 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25822 (EXCEPTION_TESTS_long_double): Likewise.
25823 * sysdeps/mips/mips64/libm-test-ulps: Update.
25824
25825 * include/features.h (__USE_BSD): Remove macro definitions.
25826 (__USE_SVID): Likewise.
25827 (_BSD_SOURCE): Likewise.
25828 (_SVID_SOURCE): Likewise.
25829 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25830 from definition of _DEFAULT_SOURCE.
25831 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25832 [_DEFAULT_SOURCE].
25833 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25834 * bits/mman.h [__USE_BSD]: Likewise.
25835 * bits/termios.h [__USE_BSD]: Likewise.
25836 * bits/waitstatus.h [__USE_BSD]: Likewise.
25837 * ctype/ctype.h [__USE_SVID]: Likewise.
25838 * dirent/dirent.h [__USE_BSD]: Likewise.
25839 * grp/grp.h [__USE_SVID]: Likewise.
25840 [__USE_BSD]: Likewise.
25841 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25842 * io/fcntl.h [__USE_BSD]: Likewise.
25843 * io/ftw.h [__USE_BSD]: Likewise.
25844 * io/sys/stat.h [__USE_BSD]: Likewise.
25845 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25846 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25847 * libio/stdio.h [__USE_SVID]: Likewise.
25848 [__USE_BSD]: Likewise.
25849 * math/math.h [__USE_SVID]: Likewise.
25850 [__USE_BSD]: Likewise.
25851 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25852 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25853 * misc/search.h [__USE_SVID]: Likewise.
25854 * misc/sys/mman.h [__USE_BSD]: Likewise.
25855 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25856 * misc/sys/uio.h [__USE_BSD]: Likewise.
25857 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25858 * posix/glob.h [__USE_BSD]: Likewise.
25859 * posix/regex.h [__USE_BSD]: Likewise.
25860 * posix/sys/types.h [__USE_BSD]: Likewise.
25861 [__USE_SVID]: Likewise.
25862 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25863 * posix/sys/wait.h [__USE_BSD]: Likewise.
25864 [__USE_SVID]: Likewise.
25865 * posix/unistd.h [__USE_BSD]: Likewise.
25866 [__USE_SVID]: Likewise.
25867 * pwd/pwd.h [__USE_SVID]: Likewise.
25868 * resolv/netdb.h [__USE_BSD]: Likewise.
25869 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25870 * signal/signal.h [__USE_BSD]: Likewise.
25871 [__USE_SVID]: Likewise.
25872 * socket/sys/socket.h [__USE_BSD]: Likewise.
25873 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25874 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25875 [__USE_SVID]: Likewise.
25876 * string/bits/string2.h [__USE_BSD]: Likewise.
25877 [__USE_SVID]: Likewise.
25878 * string/bits/string3.h [__USE_BSD]: Likewise.
25879 * string/endian.h [__USE_BSD]: Likewise.
25880 * string/string.h [__USE_SVID]: Likewise.
25881 [__USE_BSD]: Likewise.
25882 * string/strings.h [__USE_BSD]: Likewise.
25883 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25884 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25885 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25886 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25887 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25888 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25889 Likewise.
25890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25891 Likewise.
25892 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25893 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25894 Likewise.
25895 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25896 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25897 Likewise.
25898 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25899 Likewise.
25900 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25901 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25902 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25903 Likewise.
25904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25905 Likewise.
25906 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25907 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25908 * termios/termios.h [__USE_BSD]: Likewise.
25909 * time/sys/time.h [__USE_BSD]: Likewise.
25910 * time/time.h [__USE_BSD]: Likewise.
25911 [__USE_SVID]: Likewise.
25912
25913 * Makefile (subdir_targets): Remove subdir_lint.out.
25914
25915 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25916 (do-tst-printf): Likewise.
25917 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25918 $(objpfx)tst-printf.out.
25919
25920 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25921
25922 * Makerules (check-abi-%): Change target to
25923 $(objpfx)check-abi-%.out.
25924 (check-abi target): Update dependencies.
25925 (check-abi-pattern variable): Redirect output of diff to $@.
25926 (check-abi variable): Likewise.
25927 * elf/Makefile (check-abi): Update dependencies.
25928
25929 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25930 unused.
25931 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25932 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25933 subnormal range.
25934 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25935 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25936 value has largest subnormal exponent.
25937 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25938 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25939 * sysdeps/aarch64/soft-fp/sfp-machine.h
25940 (_FP_TININESS_AFTER_ROUNDING): New macro.
25941 * sysdeps/alpha/soft-fp/sfp-machine.h
25942 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25943 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25944 Likewise.
25945 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25946 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25947 * sysdeps/mips/soft-fp/sfp-machine.h
25948 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25949 * sysdeps/powerpc/soft-fp/sfp-machine.h
25950 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25951 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25952 Likewise.
25953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25954 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25956 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25957 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25958 Likewise.
25959
25960 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
25961
25962 [BZ #16545]
25963 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25964 model 1.
25965
25966 2014-02-12 Richard Henderson <rth@redhat.com>
25967
25968 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25969 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25970 * sysdeps/unix/sysv/linux/alpha: Move directory from
25971 ports/sysdeps/unix/sysv/linux/alpha.
25972 * README: Update listing for alpha-*-linux-gnu.
25973
25974 2014-02-11 Joseph Myers <joseph@codesourcery.com>
25975
25976 * include/features.h: Update comment documenting feature test
25977 macros.
25978 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25979 _DEFAULT_SOURCE.
25980 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25981 (_SVID_SOURCE): Likewise.
25982 (_DEFAULT_SOURCE): Update description of default features.
25983 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25984 with _GNU_SOURCE.
25985 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25986 (S_ISVTX): Likewise.
25987 * manual/math.texi (Mathematical Constants): Likewise.
25988 * manual/signal.texi (Interrupted Primitives): Likewise.
25989 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25990 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25991 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25992 Don't refer to _SVID_SOURCE in warning text.
25993
25994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25995
25996 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25997 already defined.
25998 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25999 * sysdeps/mips/dl-lookup.c: Remove.
26000 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26001
26002 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26003
26004 [BZ #16447]
26005 * math/auto-libm-test-in: Add testcase for expl.
26006 * math/auto-libm-test-out: Regenerate.
26007 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26008 calculation of unsafe.
26009 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26010
26011 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26012
26013 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26014 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26015 ports/sysdeps/unix/sysv/linux/aarch64.
26016 * README: Update listing for aarch64*-*-linux-gnu.
26017
26018 2014-02-11 Will Newton <will.newton@linaro.org>
26019
26020 * manual/probes.texi (Mathematical Function Probes): Use
26021 "triggered" instead of "hit".
26022
26023 * manual/probes.texi (Internal Probes): Add documentation
26024 of setjmp, longjmp and longjmp_target probes.
26025
26026 * include/stap-probe.h: Add comment about probe argument
26027 format.
26028
26029 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26030 definition. (tr_where, tr_freehook, tr_mallochook,
26031 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26032
26033 2014-02-11 David S. Miller <davem@davemloft.net>
26034
26035 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26036 processing int_tests.
26037
26038 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26039
26040 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26041 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26042 * sysdeps/unix/sysv/linux/mips: Move directory from
26043 ports/sysdeps/unix/sysv/linux/mips.
26044 * README: Update listing for mips-*-linux-gnu and
26045 mips64-*-linux-gnu.
26046
26047 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26048
26049 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26050 * sysdeps/unix/sysv/linux/m68k: Move directory from
26051 ports/sysdeps/unix/sysv/linux/m68k.
26052 * README: Update listing for m68k-*-linux-gnu.
26053
26054 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26055
26056 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26057 * sysdeps/unix/sysv/linux/generic: Move directory from
26058 ports/sysdeps/unix/sysv/linux/generic.
26059 * sysdeps/unix/sysv/linux/tile: Move directory from
26060 ports/sysdeps/unix/sysv/linux/tile.
26061 * README: Update listing for tile*-*-linux-gnu.
26062
26063 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26064
26065 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26066 __builtin_expect.
26067 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26068 * catgets/open_catalog.c (__open_catalog): Likewise.
26069 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26070 * debug/confstr_chk.c: Likewise.
26071 * debug/fread_chk.c (__fread_chk): Likewise.
26072 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26073 * debug/getgroups_chk.c: Likewise.
26074 * debug/mbsnrtowcs_chk.c: Likewise.
26075 * debug/mbsrtowcs_chk.c: Likewise.
26076 * debug/mbstowcs_chk.c: Likewise.
26077 * debug/memcpy_chk.c: Likewise.
26078 * debug/memmove_chk.c: Likewise.
26079 * debug/mempcpy_chk.c: Likewise.
26080 * debug/memset_chk.c: Likewise.
26081 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26082 * debug/strcat_chk.c (__strcat_chk): Likewise.
26083 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26084 * debug/strncat_chk.c (__strncat_chk): Likewise.
26085 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26086 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26087 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26088 * debug/wcpncpy_chk.c: Likewise.
26089 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26090 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26091 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26092 * debug/wcsncpy_chk.c: Likewise.
26093 * debug/wcsnrtombs_chk.c: Likewise.
26094 * debug/wcsrtombs_chk.c: Likewise.
26095 * debug/wcstombs_chk.c: Likewise.
26096 * debug/wmemcpy_chk.c: Likewise.
26097 * debug/wmemmove_chk.c: Likewise.
26098 * debug/wmempcpy_chk.c: Likewise.
26099 * debug/wmemset_chk.c: Likewise.
26100 * dirent/scandirat.c (SCANDIRAT): Likewise.
26101 * dlfcn/dladdr1.c (dladdr1): Likewise.
26102 * dlfcn/dladdr.c (dladdr): Likewise.
26103 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26104 * dlfcn/dlerror.c (__dlerror): Likewise.
26105 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26106 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26107 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26108 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26109 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26110 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26111 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26112 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26113 Likewise.
26114 * elf/dl-conflict.c: Likewise.
26115 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26116 * elf/dl-dst.h: Likewise.
26117 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26118 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26119 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26120 * elf/dl-init.c (call_init, _dl_init): Likewise.
26121 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26122 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26123 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26124 Likewise.
26125 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26126 Likewise.
26127 * elf/dl-minimal.c (__libc_memalign): Likewise.
26128 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26129 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26130 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26131 * elf/dl-sym.c (do_sym): Likewise.
26132 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26133 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26134 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26135 * elf/dl-writev.h (_dl_writev): Likewise.
26136 * elf/ldconfig.c (search_dir): Likewise.
26137 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26138 (dl_main): Likewise.
26139 * elf/setup-vdso.h (setup_vdso): Likewise.
26140 * grp/compat-initgroups.c (compat_call): Likewise.
26141 * grp/fgetgrent.c (fgetgrent): Likewise.
26142 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26143 * grp/putgrent.c (putgrent): Likewise.
26144 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26145 Likewise.
26146 * hurd/hurdinit.c: Likewise.
26147 * iconvdata/8bit-gap.c (struct): Likewise.
26148 * iconvdata/ansi_x3.110.c : Likewise.
26149 * iconvdata/big5.c : Likewise.
26150 * iconvdata/big5hkscs.c : Likewise.
26151 * iconvdata/cp1255.c: Likewise.
26152 * iconvdata/cp1258.c : Likewise.
26153 * iconvdata/cp932.c : Likewise.
26154 * iconvdata/euc-cn.c: Likewise.
26155 * iconvdata/euc-jisx0213.c : Likewise.
26156 * iconvdata/euc-jp.c: Likewise.
26157 * iconvdata/euc-jp-ms.c : Likewise.
26158 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26159 * iconvdata/gb18030.c : Likewise.
26160 * iconvdata/gbbig5.c (const): Likewise.
26161 * iconvdata/gbgbk.c: Likewise.
26162 * iconvdata/gbk.c : Likewise.
26163 * iconvdata/ibm1364.c : Likewise.
26164 * iconvdata/ibm930.c : Likewise.
26165 * iconvdata/ibm932.c: Likewise.
26166 * iconvdata/ibm933.c : Likewise.
26167 * iconvdata/ibm935.c : Likewise.
26168 * iconvdata/ibm937.c : Likewise.
26169 * iconvdata/ibm939.c : Likewise.
26170 * iconvdata/ibm943.c: Likewise.
26171 * iconvdata/iso_11548-1.c: Likewise.
26172 * iconvdata/iso-2022-cn.c : Likewise.
26173 * iconvdata/iso-2022-cn-ext.c : Likewise.
26174 * iconvdata/iso-2022-jp-3.c: Likewise.
26175 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26176 * iconvdata/iso-2022-kr.c : Likewise.
26177 * iconvdata/iso646.c (gconv_end): Likewise.
26178 * iconvdata/iso_6937-2.c : Likewise.
26179 * iconvdata/iso_6937.c : Likewise.
26180 * iconvdata/iso8859-1.c: Likewise.
26181 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26182 * iconvdata/shift_jisx0213.c : Likewise.
26183 * iconvdata/sjis.c : Likewise.
26184 * iconvdata/t.61.c : Likewise.
26185 * iconvdata/tcvn5712-1.c : Likewise.
26186 * iconvdata/tscii.c: Likewise.
26187 * iconvdata/uhc.c : Likewise.
26188 * iconvdata/unicode.c (gconv_end): Likewise.
26189 * iconvdata/utf-16.c (gconv_end): Likewise.
26190 * iconvdata/utf-32.c (gconv_end): Likewise.
26191 * iconvdata/utf-7.c (base64): Likewise.
26192 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26193 * iconv/gconv_close.c (__gconv_close): Likewise.
26194 * iconv/gconv_open.c (__gconv_open): Likewise.
26195 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26196 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26197 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26198 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26199 (ucs4le_internal_loop_single): Likewise.
26200 * iconv/iconv.c (iconv): Likewise.
26201 * iconv/iconv_close.c: Likewise.
26202 * iconv/loop.c (SINGLE): Likewise.
26203 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26204 * include/atomic.h: Likewise.
26205 * inet/inet6_option.c (option_alloc): Likewise.
26206 * intl/bindtextdom.c (set_binding_values): Likewise.
26207 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26208 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26209 * intl/localealias.c (read_alias_file): Likewise.
26210 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26211 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26212 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26213 * libio/fmemopen.c (fmemopen): Likewise.
26214 * libio/iofgets.c (_IO_fgets): Likewise.
26215 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26216 * libio/iofgetws.c (fgetws): Likewise.
26217 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26218 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26219 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26220 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26221 * locale/findlocale.c (_nl_find_locale): Likewise.
26222 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26223 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26224 Likewise.
26225 * locale/setlocale.c (setlocale): Likewise.
26226 * login/programs/pt_chown.c (main): Likewise.
26227 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26228 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26229 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26230 (mmap, mmap64, mremap, munmap): Likewise.
26231 * math/e_exp2l.c: Likewise.
26232 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26233 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26234 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26235 * math/s_catan.c (__catan): Likewise.
26236 * math/s_catanf.c (__catanf): Likewise.
26237 * math/s_catanh.c (__catanh): Likewise.
26238 * math/s_catanhf.c (__catanhf): Likewise.
26239 * math/s_catanhl.c (__catanhl): Likewise.
26240 * math/s_catanl.c (__catanl): Likewise.
26241 * math/s_ccosh.c (__ccosh): Likewise.
26242 * math/s_ccoshf.c (__ccoshf): Likewise.
26243 * math/s_ccoshl.c (__ccoshl): Likewise.
26244 * math/s_cexp.c (__cexp): Likewise.
26245 * math/s_cexpf.c (__cexpf): Likewise.
26246 * math/s_cexpl.c (__cexpl): Likewise.
26247 * math/s_clog10.c (__clog10): Likewise.
26248 * math/s_clog10f.c (__clog10f): Likewise.
26249 * math/s_clog10l.c (__clog10l): Likewise.
26250 * math/s_clog.c (__clog): Likewise.
26251 * math/s_clogf.c (__clogf): Likewise.
26252 * math/s_clogl.c (__clogl): Likewise.
26253 * math/s_csin.c (__csin): Likewise.
26254 * math/s_csinf.c (__csinf): Likewise.
26255 * math/s_csinh.c (__csinh): Likewise.
26256 * math/s_csinhf.c (__csinhf): Likewise.
26257 * math/s_csinhl.c (__csinhl): Likewise.
26258 * math/s_csinl.c (__csinl): Likewise.
26259 * math/s_csqrt.c (__csqrt): Likewise.
26260 * math/s_csqrtf.c (__csqrtf): Likewise.
26261 * math/s_csqrtl.c (__csqrtl): Likewise.
26262 * math/s_ctan.c (__ctan): Likewise.
26263 * math/s_ctanf.c (__ctanf): Likewise.
26264 * math/s_ctanh.c (__ctanh): Likewise.
26265 * math/s_ctanhf.c (__ctanhf): Likewise.
26266 * math/s_ctanhl.c (__ctanhl): Likewise.
26267 * math/s_ctanl.c (__ctanl): Likewise.
26268 * math/w_pow.c: Likewise.
26269 * math/w_powf.c: Likewise.
26270 * math/w_powl.c: Likewise.
26271 * math/w_scalb.c (sysv_scalb): Likewise.
26272 * math/w_scalbf.c (sysv_scalbf): Likewise.
26273 * math/w_scalbl.c (sysv_scalbl): Likewise.
26274 * misc/error.c (error_tail): Likewise.
26275 * misc/pselect.c (__pselect): Likewise.
26276 * nis/nis_callback.c (__nis_create_callback): Likewise.
26277 * nis/nis_call.c (__nisfind_server): Likewise.
26278 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26279 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26281 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26282 * nis/nis_lookup.c (nis_lookup): Likewise.
26283 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26284 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26285 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26286 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26287 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26288 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26289 * nis/nss_compat/compat-initgroups.c (add_group)
26290 (internal_getgrent_r): Likewise.
26291 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26292 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26293 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26294 (internal_getspnam_r): Likewise.
26295 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26296 (_nss_nis_getaliasbyname_r): Likewise.
26297 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26298 (_nss_nis_getntohost_r): Likewise.
26299 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26300 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26301 (_nss_nis_getgrgid_r): Likewise.
26302 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26303 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26304 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26305 (_nss_nis_gethostbyname4_r): Likewise.
26306 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26307 (initgroups_netid): Likewise.
26308 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26309 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26310 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26311 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26312 (_nss_nis_getprotobynumber_r): Likewise.
26313 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26314 (_nss_nis_getsecretkey): Likewise.
26315 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26316 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26317 (_nss_nis_getpwuid_r): Likewise.
26318 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26319 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26320 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26321 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26322 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26323 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26324 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26325 Likewise.
26326 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26327 (_nss_nisplus_getntohost_r): Likewise.
26328 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26329 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26330 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26331 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26332 Likewise.
26333 * nis/nss_nisplus/nisplus-initgroups.c
26334 (_nss_nisplus_initgroups_dyn): Likewise.
26335 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26336 (_nss_nisplus_getnetbyaddr_r): Likewise.
26337 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26338 (_nss_nisplus_getprotobynumber_r): Likewise.
26339 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26340 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26341 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26342 Likewise.
26343 * nis/nss_nisplus/nisplus-service.c
26344 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26345 (_nss_nisplus_getservbyport_r): Likewise.
26346 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26347 (_nss_nisplus_getspnam_r): Likewise.
26348 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26349 Likewise.
26350 * nscd/aicache.c (addhstaiX): Likewise.
26351 * nscd/cache.c (cache_search, prune_cache): Likewise.
26352 * nscd/connections.c (register_traced_file, send_ro_fd)
26353 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26354 (main_loop_epoll): Likewise.
26355 * nscd/grpcache.c (addgrbyX): Likewise.
26356 * nscd/hstcache.c (addhstbyX): Likewise.
26357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26358 * nscd/mem.c (gc, mempool_alloc): Likewise.
26359 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26360 (addinnetgrX): Likewise.
26361 * nscd/nscd-client.h (__nscd_acquire_maplock)
26362 (__nscd_drop_map_ref): Likewise.
26363 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26364 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26366 Likewise.
26367 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26369 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26370 (__nscd_get_map_ref): Likewise.
26371 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26372 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26373 Likewise.
26374 * nscd/pwdcache.c (addpwbyX): Likewise.
26375 * nscd/selinux.c (preserve_capabilities): Likewise.
26376 * nscd/servicescache.c (addservbyX): Likewise.
26377 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26378 * posix/fnmatch.c (fnmatch): Likewise.
26379 * posix/getopt.c (_getopt_internal_r): Likewise.
26380 * posix/glob.c (glob, glob_in_dir): Likewise.
26381 * posix/wordexp.c (exec_comm_child): Likewise.
26382 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26383 (getanswer_r, gaih_getanswer_slice): Likewise.
26384 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26385 * resolv/res_init.c: Likewise.
26386 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26387 * resolv/res_query.c (__libc_res_nquery): Likewise.
26388 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26389 Likewise.
26390 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26391 * stdio-common/perror.c (perror): Likewise.
26392 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26393 * stdio-common/tmpnam.c (tmpnam): Likewise.
26394 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26395 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26396 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26397 Likewise.
26398 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26399 * stdlib/putenv.c (putenv): Likewise.
26400 * stdlib/setenv.c (__add_to_environ): Likewise.
26401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26402 * stdlib/strtol_l.c (INTERNAL): Likewise.
26403 * string/memmem.c (memmem): Likewise.
26404 * string/strerror.c (strerror): Likewise.
26405 * string/strnlen.c (__strnlen): Likewise.
26406 * string/test-memmem.c (simple_memmem): Likewise.
26407 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26408 * sunrpc/pm_getport.c (__get_socket): Likewise.
26409 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26410 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26411 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26412 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26413 Likewise.
26414 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26416 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26417 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26418 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26419 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26420 Likewise.
26421 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26422 Likewise.
26423 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26424 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26426 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26427 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26429 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26430 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26431 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26432 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26433 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26434 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26435 Likewise.
26436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26437 Likewise.
26438 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26439 Likewise.
26440 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26442 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26443 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26444 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26445 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26446 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26449 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26450 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26452 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26453 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26455 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26456 Likewise.
26457 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26458 Likewise.
26459 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26460 Likewise.
26461 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26462 Likewise.
26463 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26465 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26466 Likewise.
26467 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26468 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26469 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26470 * sysdeps/posix/sleep.c: Likewise.
26471 * sysdeps/posix/tempname.c: Likewise.
26472 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26473 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26474 Likewise.
26475 * sysdeps/powerpc/powerpc32/dl-machine.h
26476 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26477 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26479 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26480 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26481 Likewise.
26482 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26483 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26484 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26486 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26487 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26488 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26489 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26490 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26491 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26493 (elf_machine_lazy_rel): Likewise.
26494 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26496 (elf_machine_lazy_rel): Likewise.
26497 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26498 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26499 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26500 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26501 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26502 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26503 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26505 Likewise.
26506 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26507 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26508 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26509 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26510 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26511 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26512 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26513 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26514 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26515 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26516 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26517 Likewise.
26518 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26519 (__posix_fallocate64_l64): Likewise.
26520 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26521 (posix_fallocate): Likewise.
26522 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26523 Likewise.
26524 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26525 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26526 (getifaddrs_internal): Likewise.
26527 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26528 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26529 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26530 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26531 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26532 (__posix_fallocate64_l64): Likewise.
26533 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26534 Likewise.
26535 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26536 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26537 (__get_clockfreq): Likewise.
26538 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26539 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26540 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26543 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26544 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26545 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26546 Likewise.
26547 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26548 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26549 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26550 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26551 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26552 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26553 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26554 Likewise.
26555 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26556 (posix_fallocate): Likewise.
26557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26558 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26559 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26560 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26561 (elf_machine_rela, elf_machine_rela_relative)
26562 (elf_machine_lazy_rel): Likewise.
26563 * time/asctime.c (asctime_internal): Likewise.
26564 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26565 * time/tzset.c (__tzset_parse_tz): Likewise.
26566 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26567 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26568 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26569 * wcsmbs/wcsmbsload.h: Likewise.
26570
26571 [BZ #15894]
26572 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26573
26574 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26575 (arena_get2): Remove THREAD_STATS conditionals.
26576 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26577 (__malloc_stats, int): Likewise.
26578
26579 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26580
26581 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26582 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26583
26584 * manual/setjmp.texi: Fix typos/grammar errors.
26585
26586 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26587 Only return early when n is <= 0. Delete unused return statement.
26588
26589 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26590 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26591 * debug/tst-longjmp_chk3.c: New file.
26592
26593 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26594 (test_main): Replace code with set_fortify_handler call.
26595 * debug/test-strcpy_chk.c: Likewise.
26596 * debug/tst-chk1.c: Likewise.
26597 * debug/tst-longjmp_chk.c: Likewise.
26598 * test-skeleton.c: Include fcntl.h & paths.h
26599 (set_fortify_handler): Define.
26600
26601 * debug/tst-longjmp_chk.c: Add header comment and include
26602 ../test-skeleton.c.
26603 (do_test): Mark static.
26604 (TEST_FUNCTION): Define.
26605
26606 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26607 (IP_PMTUDISC_INTERFACE): Likewise.
26608 (IP_MULTICAST_IF): Likewise.
26609 (IP_MULTICAST_TTL): Likewise.
26610 (IP_MULTICAST_LOOP): Likewise.
26611 (IP_ADD_MEMBERSHIP): Likewise.
26612 (IP_DROP_MEMBERSHIP): Likewise.
26613 (IP_UNBLOCK_SOURCE): Likewise.
26614 (IP_BLOCK_SOURCE): Likewise.
26615 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26616 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26617 (IP_MSFILTER): Likewise.
26618 (MCAST_JOIN_GROUP): Likewise.
26619 (MCAST_BLOCK_SOURCE): Likewise.
26620 (MCAST_UNBLOCK_SOURCE): Likewise.
26621 (MCAST_LEAVE_GROUP): Likewise.
26622 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26623 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26624 (MCAST_MSFILTER): Likewise.
26625 (IP_MULTICAST_ALL): Likewise.
26626 (IP_UNICAST_IF): Likewise.
26627
26628 * timezone/Makefile: Delete $(have-ksh) check.
26629 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26630 * timezone/tzselect.ksh: Add +x mode bits.
26631
26632 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26633 (ANON_INODE_FS_MAGIC): Likewise.
26634 (BDEVFS_MAGIC): Likewise.
26635 (BINFMTFS_MAGIC): Likewise.
26636 (BTRFS_TEST_MAGIC): Likewise.
26637 (CRAMFS_MAGIC_WEND): Likewise.
26638 (DEBUGFS_MAGIC): Likewise.
26639 (ECRYPTFS_SUPER_MAGIC): Likewise.
26640 (EXT3_SUPER_MAGIC): Likewise.
26641 (EXT4_SUPER_MAGIC): Likewise.
26642 (FUTEXFS_SUPER_MAGIC): Likewise.
26643 (HOSTFS_SUPER_MAGIC): Likewise.
26644 (HUGETLBFS_MAGIC): Likewise.
26645 (MINIX3_SUPER_MAGIC): Likewise.
26646 (MTD_INODE_FS_MAGIC): Likewise.
26647 (NILFS_SUPER_MAGIC): Likewise.
26648 (OPENPROM_SUPER_MAGIC): Likewise.
26649 (PIPEFS_MAGIC): Likewise.
26650 (PSTOREFS_MAGIC): Likewise.
26651 (QNX6_SUPER_MAGIC): Likewise.
26652 (RAMFS_MAGIC): Likewise.
26653 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26654 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26655 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26656 (SECURITYFS_MAGIC): Likewise.
26657 (SELINUX_MAGIC): Likewise.
26658 (SMACK_MAGIC): Likewise.
26659 (SOCKFS_MAGIC): Likewise.
26660 (SQUASHFS_MAGIC): Likewise.
26661 (STACK_END_MAGIC): Likewise.
26662 (TMPFS_MAGIC): Likewise.
26663 (USBDEVICE_SUPER_MAGIC): Likewise.
26664 (V9FS_MAGIC): Likewise.
26665 (XENFS_SUPER_MAGIC): Likewise.
26666 (CRAMFS_MAGIC): Fix typo in comment.
26667 (EXT2_SUPER_MAGIC): Update comment.
26668 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26669
26670 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26671
26672 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26673 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26674 * sysdeps/unix/sysv/linux/arm: Move directory from
26675 ports/sysdeps/unix/sysv/linux/arm.
26676 * README: Update listing for arm-*-linux-gnueabi.
26677
26678 * README: Remove mention of am33.
26679
26680 2014-02-07 Roland McGrath <roland@hack.frob.com>
26681
26682 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26683 than the comma operator, to avoid "rhs of comma has no effect"
26684 compiler warnings.
26685 (__sigfillset, __sigandset, __sigorset): Likewise.
26686 * include/signal.h (__sigemptyset): Likewise.
26687 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26688
26689 2014-02-07 Allan McRae <allan@archlinux.org>
26690
26691 * version.h (RELEASE): Set to "development".
26692 (VERSION): Set to "2.19.90"
26693 * NEWS: Add 2.20 section.
26694
26695 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26696
26697 [BZ #16529]
26698 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26699
26700 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26701
26702 * manual/contrib.texi: Update entry for Carlos O'Donell,
26703 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26704
26705 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26706
26707 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26708
26709 * sysdeps/unix/sysv/linux/kernel-features.h
26710 [__LINUX_KERNEL_VERSION >= 0x020621]
26711 (__ASSUME_PROC_PID_TASK_COMM): Define.
26712
26713 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26714
26715 [BZ #16398]
26716 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26717 conversion when destination buffer does not have enough space.
26718 * libio/tst-ftell-partial-wide.c: New test case.
26719 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26720
26721 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26722 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26723 Leonard and Allan McRae.
26724
26725 2014-02-04 David S. Miller <davem@davemloft.net>
26726
26727 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26728 32-bit.
26729
26730 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26731
26732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26733 New file
26734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26735 New file
26736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26737 New file.
26738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26739 New file.
26740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26741 New file.
26742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26743 New file.
26744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26745 New file.
26746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26747 New file.
26748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26749 New file.
26750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26751 New file.
26752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26753 New file.
26754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26755 New file.
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26757 New file.
26758
26759 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26760
26761 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26762 * shlib-versions: Likewise.
26763
26764 2014-02-04 Roland McGrath <roland@hack.frob.com>
26765 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26766
26767 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26768 (abilist-pattern): New variable, set to %-le.abilist.
26769
26770 * Makerules (abilist-pattern): New variable.
26771 (vpath): Use $(abilist-pattern) in place of %.abilist.
26772 (check-abi-% pattern rule): Likewise.
26773 (check-abi, update-abi): Likewise.
26774
26775 2014-02-04 Eric Wong <normalperson@yhbt.net>
26776
26777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26778
26779 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26780
26781 * manual/startup.texi: Add next, previous, and top entries for
26782 the `Program Arguments' and `Environment Variables' nodes.
26783
26784 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26785
26786 * manual/macros.texi: Add comments before MTASC-safety macros.
26787
26788 * manual/users.texi: Document MTASC-safety properties.
26789
26790 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26791 (pthread_getspecific, pthread_setspecific): Format with
26792 @deftypefun, and add @safety note.
26793 * manual/signal.texi: Move comments that analyze the above
26794 functions to their home place.
26795
26796 2014-02-03 Allan McRae <allan@archlinux.org>
26797
26798 * po/sl.po: Update Slovenian translation from translation project.
26799
26800 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26801
26802 * manual/time.texi (timegm): Add missing blank after @c.
26803 Reported by Joseph Myers <joseph@codesourcery.com>.
26804
26805 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26806
26807 * manual/check-safety.sh: New.
26808 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26809
26810 * manual/terminal.texi: Document MTASC-safety properties.
26811
26812 * manual/filesys.texi: Document MTASC-safety properties.
26813
26814 * manual/errno.texi: Document MTASC-safety properties.
26815
26816 * manual/intro.texi: Document safety identifiers and
26817 conditionals.
26818
26819 * manual/string.texi (wcstok): Fix prototype.
26820 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26821
26822 * manual/time.texi: Document MTASC-safety properties.
26823
26824 * manual/string.texi: Document MTASC-safety properties.
26825
26826 * manual/threads.texi: Document MTASC-safety properties.
26827
26828 * manual/stdio.texi: Document MTASC-safety properties.
26829
26830 * manual/syslog.texi: Document MTASC-safety properties.
26831
26832 * manual/sysinfo.texi: Document MTASC-safety properties.
26833
26834 * manual/startup.texi: Document MTASC-safety properties.
26835
26836 * manual/socket.texi: Document MTASC-safety properties.
26837
26838 * manual/signal.texi: Document MTASC-safety properties.
26839
26840 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26841
26842 * manual/setjmp.texi: Document MTASC-safety properties.
26843
26844 * manual/search.texi: Document MTASC-safety properties.
26845
26846 * manual/resource.texi: Document MTASC-safety properties.
26847
26848 * manual/process.texi: Document MTASC-safety properties.
26849
26850 * manual/platform.texi: Document MTASC-safety properties.
26851
26852 * manual/pipe.texi: Document MTASC-safety properties.
26853
26854 * manual/pattern.texi: Document MTASC-safety properties.
26855
26856 * manual/message.texi: Document MTASC-safety properties.
26857
26858 [BZ #12751]
26859 * manual/memory.texi: Document MTASC-safety properties.
26860
26861 * manual/math.texi: Document MTASC-safety properties.
26862
26863 * manual/locale.texi: Document MTASC-safety properties.
26864
26865 * manual/llio.texi: Document MTASC-safety properties.
26866
26867 * manual/libdl.texi: New.
26868
26869 * manual/lang.texi: Document MTASC-safety properties.
26870
26871 * manual/job.texi: Document MTASC-safety properties.
26872
26873 * manual/getopt.texi: Document MTASC-safety properties.
26874
26875 * manual/ctype.texi: Document MTASC-safety properties.
26876
26877 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26878
26879 [BZ #16046]
26880 * csu/libc-tls.c (static_map): Remove variable.
26881 (__libc_setup_tls): Use main executable's link map for TLS data.
26882 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26883 casing for LM_ID_BASE and GL(dl_nns).
26884 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26885 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26886 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26887 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26888 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26889 member.
26890 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26891 l_phnum members.
26892
26893 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26894
26895 * manual/debug.texi: Document MTASC-safety properties.
26896
26897 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26898
26899 [BZ #16510]
26900 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26901 of __x86_64__ when disabling x87 inline functions.
26902
26903 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26904
26905 * manual/charset.texi: Document MTASC-safety properties.
26906
26907 * manual/crypt.texi: Document MTASC-safety properties.
26908
26909 * manual/conf.texi: Document MTASC-safety properties.
26910
26911 * manual/arith.texi: Document MTASC-safety properties.
26912
26913 * manual/argp.texi: Document MTASC-safety properties.
26914
26915 * manual/macros.texi: Introduce macros to document multi
26916 thread, asynchronous signal and asynchronous cancellation
26917 safety properties.
26918 * manual/intro.texi: Introduce the properties themselves.
26919
26920 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26921
26922 * sysdeps/sh/sh4/Makefile: New file.
26923
26924 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26925
26926 * math/gen-libm-test.pl ($srcdir): New variable.
26927 ($auto_input): Use it.
26928
26929 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26930
26931 [BZ #16506]
26932 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26933 access beyond array bounds when parsing netgroups file.
26934
26935 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26936 the old buffer before realloc.
26937
26938 2014-01-27 Allan McRae <allan@archlinux.org>
26939
26940 * po/fr.po: Update French translation from translation project.
26941
26942 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26943
26944 * sysdeps/sh/libm-test-ulps: Regenerate.
26945
26946 2014-01-24 David S. Miller <davem@davemloft.net>
26947
26948 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26949
26950 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26951
26952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26953 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26954
26955 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26956
26957 [BZ #16474]
26958 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26959 string pointers after reallocation.
26960
26961 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26962
26963 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26964 __SH4A__ instead of __SH_FPU_ANY__.
26965
26966 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26967
26968 * sysdeps/sh/fpu_control.h: New file.
26969 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26970 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26971 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26972 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26973 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26974 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26975 * sysdeps/sh/sys/ucontext.h: Remove.
26976 * sysdeps/sh/sys: Remove directory.
26977
26978 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26979
26980 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26981 s390/sys/ucontext.h.
26982 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26983 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26984
26985 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26986
26987 [BZ #15605]
26988 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26989
26990 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26991
26992 [BZ#16431]
26993 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26994 Adjust the vDSO correctly for internal calls.
26995 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26996
26997 2014-01-20 Allan McRae <allan@archlinux.org>
26998
26999 * po/ca.po: Update Catalan translation from translation project.
27000
27001 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27002
27003 * sysdeps/s390/sotruss-lib.c: New file.
27004
27005 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27006
27007 [BZ#16430]
27008 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27009 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27010 local calls issues by not having a PLT stub required for IFUNC calls.
27011 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27012
27013 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27014
27015 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27016 * math/test-fpucw-static.c: Likewise.
27017
27018 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27019
27020 [BZ #16453]
27021 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27022
27023 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27024
27025 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27026 implementation for powerpc.
27027
27028 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27029
27030 [BZ #14782]
27031 * sysdeps/posix/system.c (__libc_system): Do not enable
27032 asynchronous cancellation.
27033
27034 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27035
27036 [BZ #16427]
27037 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27038 handling only for numbers special also in the IEEE case.
27039
27040 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27041
27042 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27043
27044 2014-01-11 Allan McRae <allan@archlinux.org>
27045
27046 * po/bg.po: Update Bulgarian translation from translation project.
27047
27048 * po/de.po: Update German translation from translation project.
27049
27050 2014-01-10 Roland McGrath <roland@hack.frob.com>
27051
27052 * sysdeps/generic/gcc-compat.h: New file.
27053
27054 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27055
27056 * benchtests/asin-inputs: Correct slow inputs.
27057 * benchtests/acos-inputs: Likewise.
27058
27059 2014-01-10 Allan McRae <allan@archlinux.org>
27060
27061 * po:sv.po: Update Swedish translation from translation project.
27062
27063 * po/vi.po: Update Vietnamese translation from translation project.
27064
27065 * po/eo.po: Update Esperanto translation from translation project.
27066
27067 * po/cs.po: Update Czech translation from translation project.
27068
27069 * po/nl.po: Update Dutch translation from translation project.
27070
27071 * po/pl.po: Update Polish translation from translation project.
27072
27073 * po/ru.po: Update Russian translation from translation project.
27074
27075 * po/uk.po: Update Ukrainian translation from translation project.
27076
27077 2014-01-08 Brooks Moses <bmoses@google.com>
27078
27079 * elf/dl-load.c: Fix comment typo.
27080
27081 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27082
27083 * po/header.pot: Rename to...
27084 * po/pot.header: ... this.
27085 * po/Makefile: Use pot.header.
27086
27087 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27088 Maxim Kuvyrkov <maxim@kugelworks.com>
27089
27090 [BZ #16394]
27091 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27092 SRC and DEST against LEN.
27093
27094 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27095
27096 [BZ #16414]
27097 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27098 implementation.
27099 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27100
27101 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27102
27103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27104
27105 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27106
27107 [BZ #16408]
27108 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27109 for large positive arguments.
27110
27111 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27112
27113 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27114
27115 * math/auto-libm-test-in: Mark various tests with
27116 xfail-rounding:ldbl-128ibm.
27117 * math/auto-libm-test-out: Regenerated.
27118
27119 [BZ #16407]
27120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27121 Increase overflow threshold.
27122
27123 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27124
27125 [BZ #14286]
27126 * stdio-common/vfprintf.c: Check for integer overflow.
27127
27128 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27129
27130 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27131 the first argument and return value of __tls_get_addr_internal.
27132
27133 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27134
27135 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27136 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27137
27138 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27139
27140 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27141 * sysdeps/s390/rtld-global-offsets.sym: New file.
27142 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27143 GLIBC_2.19 symbol.
27144 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27145 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27146 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27147 ... this.
27148 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27149 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27150 ... this.
27151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27152 Regenerate.
27153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27154 Regenerate.
27155 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27156 halfs of GPRs for high_gprs contexts.
27157 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27158 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27159 field.
27160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27161 uc_flags field.
27162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27163 64 bit versions:
27164 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27165 for high GPRs (uc_high_gprs) and for future extensions
27166 (__reserved).
27167 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27168 for future extensions (__reserved).
27169 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27170 64 bit versions:
27171 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27172 SC_HIGHGPRS offset definition.
27173 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27174 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27175
27176 * Versions.def: Add GLIBC_2.19 for libpthread.
27177 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27178 siglongjmp for libpthread with GLIBC_2.19 symver.
27179 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27180 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27181 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27182 * sysdeps/s390/__longjmp.c: New file.
27183 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27184 * sysdeps/s390/longjmp.c: New file.
27185 * sysdeps/s390/setjmp.S: New file.
27186 * sysdeps/s390/sigjmp.S: New file.
27187 * sysdeps/s390/v1-longjmp.c: New file.
27188 * sysdeps/s390/v1-setjmp.h: New file.
27189 * sysdeps/s390/v1-sigjmp.c: New file.
27190 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27191 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27192 GLIBC_2.19 version.
27193 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27194 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27195 versioned symbols for ____longjmp_chk.
27196 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27197 Likewise.
27198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27199 Regenerate.
27200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27201 Regenerate.
27202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27203 Regenerate.
27204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27205 Regenerate.
27206 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27207 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27208 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27209 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27210 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27211 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27212 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27213 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27214 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27215 * sysdeps/s390/rtld-__longjmp.c: New file.
27216 * sysdeps/s390/rtld-setjmp.S: New file.
27217
27218 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27219
27220 [BZ #16400]
27221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27222 Return -__logl (x) for small positive arguments without evaluating
27223 a polynomial.
27224
27225 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27226
27227 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27228 Rename to ...
27229 (__ptrace_peeksiginfo_args): ... this.
27230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27231 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27232 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27233
27234 2014-01-06 Allan McRae <allan@archlinux.org>
27235
27236 * inet/netinet/in.h: Fix typo in comment.
27237
27238 2014-01-05 Andreas Jaeger <aj@suse.de>
27239
27240 * sysdeps/i386/fpu/libm-test-ulps: Update.
27241
27242 2014-01-05 Allan McRae <allan@archlinux.org>
27243
27244 * po/libc.pot: Regenerated.
27245
27246 * malloc/memusagestat.c: Fix gettext call formatting.
27247
27248 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27249
27250 * nscd/nscd.c: Improve usage() output.
27251
27252 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27253
27254 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27255 * sysdeps/unix/sysv/linux/configure: Regenerated.
27256 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27257 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27258
27259 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27260
27261 [BZ #16390]
27262 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27263 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27264
27265 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27266
27267 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27268 extra tokens at end of #undef directive.
27269 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27270 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27271 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27272
27273 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27274
27275 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27276
27277 * math/auto-libm-test-in: Mark various tests with
27278 xfail-rounding:ldbl-128ibm.
27279 * math/auto-libm-test-out: Regenerated.
27280
27281 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27282
27283 [BZ #16386]
27284 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27285 numbers with subnormal high part when calculating exponent.
27286
27287 [BZ #16385]
27288 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27289 fabs.
27290
27291 [BZ #16384]
27292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27293 M_LN2l.
27294 (__ieee754_acoshl): Use __log1pl not __log1p.
27295
27296 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27297
27298 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27299 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27300 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27301 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27302 (reused_arena, arena_get2): Convert to GNU style.
27303 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27304 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27305 (memalign_check, __malloc_set_state): Likewise.
27306 * malloc/mallocbug.c (main): Likewise.
27307 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27308 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27309 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27310 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27311 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27312 (__posix_memalign, malloc_info): Likewise.
27313 * malloc/malloc.h: Likewise.
27314 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27315 (mallochook, memalignhook, reallochook, mabort): Likewise.
27316 * malloc/mcheck.h: Likewise.
27317 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27318 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27319 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27320 * malloc/morecore.c (__default_morecore): Likewise.
27321 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27322 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27323 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27324 (print_and_abort): Likewise.
27325 * malloc/obstack.h: Likewise.
27326 * malloc/set-freeres.c (__libc_freeres): Likewise.
27327 * malloc/tst-mallocstate.c (main): Likewise.
27328 * malloc/tst-mtrace.c (main): Likewise.
27329 * malloc/tst-realloc.c (do_test): Likewise.
27330
27331 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27332
27333 [BZ #16366]
27334 * nscd/netgroupcache.c (do_notfound): New function.
27335 (addgetnetgrentX): Use it.
27336
27337 [BZ # 16365]
27338 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27339 NSS_STATUS_NOTFOUND.
27340
27341 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27342
27343 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27345
27346 2014-01-01 Allan McRae <allan@archlinux.org>
27347
27348 * scripts/update-copyrights: Update configure input file suffix.
27349
27350 * NEWS: Update copyright year.
27351 * catgets/gencat.c: Likewise.
27352 * csu/version.c: Likewise.
27353 * debug/catchsegv.sh: Likewise.
27354 * debug/pcprofiledump.c: Likewise.
27355 * debug/xtrace.sh: Likewise.
27356 * elf/ldconfig.c: Likewise.
27357 * elf/ldd.bash.in: Likewise.
27358 * elf/pldd.c: Likewise.
27359 * elf/sotruss.ksh: Likewise.
27360 * elf/sprof.c: Likewise.
27361 * iconv/iconv_prog.c: Likewise.
27362 * iconv/iconvconfig.c: Likewise.
27363 * locale/programs/locale.c: Likewise.
27364 * locale/programs/localedef.c: Likewise.
27365 * login/programs/pt_chown.c: Likewise.
27366 * malloc/memusage.sh: Likewise.
27367 * malloc/memusagestat.c: Likewise.
27368 * malloc/mtrace.pl: Likewise.
27369 * manual/libc.texinfo: Likewise.
27370 * nscd/nscd.c: Likewise.
27371 * nss/getent.c: Likewise.
27372 * nss/makedb.c: Likewise.
27373 * posix/getconf.c: Likewise.
27374 * scripts/test-installation.pl: Likewise.
27375
27376 * All files with FSF copyright notices: Update copyright dates
27377 using scripts/update-copyrights.
27378 * intl/plural.c: Regenerated.
27379 * locale/programs/charmap-kw.h: Likewise.
27380 * locale/programs/locfile-kw.h: Likewise.
27381
27382 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27383
27384 * sysdeps/unix/sysv/linux/configure: Regenerated.
27385 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27386 the linux/fanotify.h header.
27387 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27388 HAVE_LINUX_FANOTIFY_H is defined.
27389
27390 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27391
27392 * benchtests/cos-inputs: New inputs.
27393 * benchtests/sin-inputs: Likewise.
27394
27395 * benchtests/atan-inputs: New inputs. Fix name of multiple
27396 precision fallback inputs.
27397
27398 * benchtests/atanh-inputs: New inputs.
27399 * benchtests/tanh-inputs: Likewise.
27400
27401 * benchtests/acosh-inputs: New inputs.
27402 * benchtests/asinh-inputs: Likewise.
27403
27404 * benchtests/cosh-inputs: New inputs.
27405 * benchtests/sinh-inputs: Likewise.
27406
27407 * benchtests/acos-inputs: Add more inputs.
27408 * benchtests/asin-inputs: Likewise.
27409
27410 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27411
27412 [BZ #16375]
27413 * manual/arith.texi: Fix spelling.
27414 * manual/charset.texi: Likewise.
27415 * manual/errno.texi: Likewise.
27416 * manual/filesys.texi: Likewise.
27417 * manual/lang.texi: Likewise.
27418 * manual/llio.texi: Likewise.
27419 * manual/locale.texi: Likewise.
27420 * manual/message.texi: Likewise.
27421 * manual/resource.texi: Likewise.
27422 * manual/search.texi: Likewise.
27423 * manual/setjmp.texi: Likewise.
27424 * manual/stdio.texi: Likewise.
27425 * manual/string.texi: Likewise.
27426 * manual/sysinfo.texi: Likewise.
27427 * manual/time.texi: Likewise.
27428
27429 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27430
27431 * po/sl.po: New file.
27432
27433 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27434
27435 * .gitignore: Add core/.gdbinit/.gdb_history.
27436
27437 2013-12-27 Allan McRae <allan@archlinux.org>
27438
27439 [BZ #16369]
27440 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27441 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27442
27443 2013-12-24 Brooks Moses <bmoses@google.com>
27444
27445 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27446 all compilers that claim C++98 compliance, not just GCC.
27447 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27448 Likewise.
27449
27450 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27451
27452 * NEWS: Restore accidentally deleted bug-fix entries.
27453
27454 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27455 Ondřej Bílka <neleai@seznam.cz>
27456
27457 [BZ #15073]
27458 * malloc/malloc.c (_int_free): Perform sanity check only if we
27459 have_lock.
27460
27461 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27462
27463 [BZ #12986]
27464 * manual/stdio.texi (String Input Conversions): Clarify that character
27465 classes are not supported.
27466
27467 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27468
27469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27470
27471 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27472
27473 [BZ #16337]
27474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27475 Calculate results for small negative arguments directly rather
27476 than using reflection formula with special underflow handling.
27477
27478 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27479 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27480 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27481 (fchflags): Likewise.
27482 (revoke): Likewise.
27483 (setlogin): Likewise.
27484 (sigaltstack): Likewise.
27485 (wait4): Likewise.
27486 (sigblock): Remove.
27487 (sigsetmask): Likewise.
27488 (wait3): Likewise.
27489 (waitpid): Likewise.
27490 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27491 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27492 file.
27493 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27494 * sysdeps/unix/bsd/Makefile: ... here.
27495 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27496 * sysdeps/unix/bsd/Versions: ... here.
27497 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27498 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27499 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27500 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27501 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27502 * sysdeps/unix/bsd/sigblock.c: ... here.
27503 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27504 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27505 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27506 * sysdeps/unix/bsd/sigvec.c: ... here.
27507 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27508 * sysdeps/unix/bsd/tcdrain.c: ... here.
27509 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27510 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27511 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27512 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27513 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27514 * sysdeps/unix/bsd/wait.c: ... here.
27515 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27516 * sysdeps/unix/bsd/wait3.c: ... here.
27517 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27518 * sysdeps/unix/bsd/waitpid.c: ... here.
27519
27520 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27521
27522 [BZ #16356]
27523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27524 round-to-nearest for [!USE_AS_EXPM1L].
27525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27526 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27527 more tests of exp and exp10. Expect some exp10 tests to miss
27528 exceptions or fail in directed rounding modes.
27529 * math/auto-libm-test-out: Regenerated.
27530 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27531 (exp10_test_tonearest): New function.
27532 (exp10_towardzero_test_data): New array.
27533 (exp10_test_towardzero): New function.
27534 (exp10_downward_test_data): New array.
27535 (exp10_test_downward): New function.
27536 (exp10_upward_test_data): New array.
27537 (exp10_test_upward): New function.
27538 (main): Call the new functions.
27539 * sysdeps/i386/fpu/libm-test-ulps: Update.
27540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27541
27542 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27543
27544 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27545 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27546 * math/auto-libm-test-out: Regenerated.
27547 * math/libm-test.inc (acosh_test_data): Add more tests.
27548 (atanh_test_data): Likewise.
27549 (ceil_test_data): Likewise.
27550 (copysign_test_data): Likewise.
27551 * sysdeps/i386/fpu/libm-test-ulps: Update.
27552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27553
27554 * timezone/checktab.awk: Update from tzcode 2013i.
27555 * timezone/private.h: Likewise.
27556 * timezone/scheck.c: Likewise.
27557 * timezone/tzfile.h: Likewise.
27558 * timezone/tzselect.ksh: Likewise.
27559 * timezone/zdump.c: Likewise.
27560 * timezone/zic.c: Likewise.
27561
27562 * math/auto-libm-test-in: Add tests of cpow.
27563 * math/auto-libm-test-out: Regenerated.
27564 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27565 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27566 mpc_cc_c.
27567 (func_calc_desc): Add mpc_cc_c union field.
27568 (test_functions): Add cpow.
27569 (special_fill_2pi): New function.
27570 (special_real_inputs): Add 2pi.
27571 (calc_generic_results): Handle mpc_cc_c.
27572 * sysdeps/i386/fpu/libm-test-ulps: Update.
27573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27574
27575 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27576 csqrt, ctan and ctanh.
27577 * math/auto-libm-test-out: Regenerated.
27578 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27579 (TEST_COND_x86): Likewise.
27580 (ccos_test_data): Use AUTO_TESTS_c_c.
27581 (ccosh_test_data): Likewise.
27582 (cexp_test_data): Likewise.
27583 (clog_test_data): Likewise.
27584 (csqrt_test_data): Likewise.
27585 (ctan_test_data): Likewise.
27586 (ctan_tonearest_test_data): Likewise.
27587 (ctan_towardzero_test_data): Likewise.
27588 (ctan_downward_test_data): Likewise.
27589 (ctan_upward_test_data): Likewise.
27590 (ctanh_test_data): Likewise.
27591 (ctanh_tonearest_test_data): Likewise.
27592 (ctanh_towardzero_test_data): Likewise.
27593 (ctanh_downward_test_data): Likewise.
27594 (ctanh_upward_test_data): Likewise.
27595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27596 mpc_c_c.
27597 (func_calc_desc): Add mpc_c_c union field.
27598 (FUNC_mpc_c_c): New macro.
27599 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27600 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27601 ctanh.
27602 (special_fill_min_subnorm_p120): New function.
27603 (special_real_inputs): Add min_subnorm_p120.
27604 (calc_generic_results): Handle mpc_c_c.
27605 * sysdeps/i386/fpu/libm-test-ulps: Update.
27606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27607
27608 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27609
27610 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27611 (do_sin_slow): New functions.
27612 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27613 (cslow2, csloww1, csloww2): Use the new functions.
27614
27615 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27616 Use M to change sign of result instead of X. Assume X is
27617 positive.
27618 (csloww1): Likewise.
27619 (__sin): Adjust.
27620 (__cos): Adjust.
27621
27622 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27623 arguments A and DA.
27624 (__sin): Adjust.
27625 (__cos): Likewise.
27626
27627 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27628 (__cos): Likewise.
27629 (sloww1): Don't adjust sign of DX.
27630 (csloww1): Likewise.
27631 (sloww2): Use X directly and don't adjust sign of DX.
27632 (csloww2): Likewise.
27633
27634 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27635
27636 * math/auto-libm-test-in: Add tests of cabs and carg.
27637 * math/auto-libm-test-out: Regenerated.
27638 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27639 (carg_test_data): Likewise.
27640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27641 mpc_c_f.
27642 (func_calc_desc): Add mpc_c_f union field.
27643 (test_functions): Add cabs and carg.
27644 (calc_generic_results): Handle mpc_c_f.
27645
27646 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27647 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27648 as a macro and a compat symbol.
27649 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27650 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27651 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27652 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27653 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27654 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27655 not use .hidden.
27656 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27657 Likewise.
27658 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27659 Likewise.
27660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27661 Likewise.
27662 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27663 Likewise.
27664 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27665 Likewise.
27666 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27667 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27668 from GLIBC_2.3.2.
27669
27670 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27671
27672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27673
27674 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27675
27676 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27677 trailing whitespace removed.
27678 * scripts/config.guess: Update to version 2013-11-29.
27679 * scripts/config.sub: Update to version 2013-10-01.
27680
27681 * math/auto-libm-test-in: Add tests of sincos.
27682 * math/auto-libm-test-out: Regenerated.
27683 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27684 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27685 mpfr_f_11.
27686 (func_calc_desc): Add mpfr_f_11 union field.
27687 (test_functions): Add sincos.
27688 (calc_generic_results): Handle mpfr_f_11.
27689 * sysdeps/i386/fpu/libm-test-ulps: Update.
27690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27691
27692 2013-12-19 Andreas Schwab <schwab@suse.de>
27693
27694 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27695 CALL_MCOUNT.
27696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27697 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27698 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27699
27700 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27701
27702 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27703 * sysdeps/i386/fpu/libm-test-ulps: Update.
27704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27705
27706 [BZ #16293]
27707 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27708 round-to-nearest mode when using frndint.
27709 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27710 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27711 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27712 Likewise.
27713 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27714 sinh test to fail.
27715 * math/auto-libm-test-out: Regenerated.
27716 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27717 (TEST_COND_x86): Likewise.
27718 (expm1_tonearest_test_data): New array.
27719 (expm1_test_tonearest): New function.
27720 (expm1_towardzero_test_data): New array.
27721 (expm1_test_towardzero): New function.
27722 (expm1_downward_test_data): New array.
27723 (expm1_test_downward): New function.
27724 (expm1_upward_test_data): New array.
27725 (expm1_test_upward): New function.
27726 (main): Run the new test functions.
27727 * sysdeps/i386/fpu/libm-test-ulps: Update.
27728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27729
27730 * include/features.h: Update comment documenting feature test
27731 macros. Mention _DEFAULT_SOURCE in comment.
27732 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27733 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27734 _BSD_SOURCE and _SVID_SOURCE.
27735 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27736 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27737 !_SVID_SOURCE]: Likewise.
27738 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27739 (__USE_POSIX_IMPLICITLY): Define.
27740 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27741 (_POSIX_SOURCE): Undefine and redefine.
27742 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27743 (_POSIX_C_SOURCE): Likewise.
27744 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27745 (Feature Test Macros): Update documentation of default features.
27746
27747 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27748
27749 * benchtests/Makefile: Add bench-strtok.
27750 * benchtests/bench-strtok.c: New file: strtok benchtest.
27751
27752 2013-12-19 Allan McRae <allan@archlinux.org>
27753
27754 * manual/install.texi: Suppress menu for plain text output.
27755 * INSTALL: Regenerated.
27756
27757 2013-12-18 Brooks Moses <bmoses@google.com>
27758
27759 [BZ #15846]
27760 * misc/getauxval.c: Include errno.h.
27761 (__getauxval): Set errno to ENOENT if the requested type is not
27762 found.
27763 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27764 don't declare with __attribute_const__.
27765 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27766 * manual/startup.texi: Document that getauxval sets errno.
27767
27768 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27769
27770 * math/auto-libm-test-in: Add tests of jn and yn.
27771 * math/auto-libm-test-out: Regenerated.
27772 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27773 (yn_test_data): Likewise.
27774 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27775 mpfr_if_f.
27776 (func_calc_desc): Add mpfr_if_f union field.
27777 (FUNC_mpfr_if_f): New macro.
27778 (test_functions): Add jn and yn.
27779 (calc_generic_results): Assert type of second input for
27780 mpfr_ff_f. Handle mpfr_if_f.
27781 (output_for_one_input_case): Disable all checking for arguments
27782 fitting floating-point types in case of an integer argument.
27783 * sysdeps/i386/fpu/libm-test-ulps: Update.
27784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27785
27786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27787 Don't expect fegetround reference in libm.so.
27788
27789 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27790
27791 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27792 $(config-cflags-nofma).
27793
27794 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27795
27796 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27797 * math/auto-libm-test-out: Regenerated.
27798
27799 [BZ #16338]
27800 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27801 to determine exponent and adjust argument to have exponent of -1.
27802 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27803 log2.
27804 * math/auto-libm-test-out: Regenerated.
27805 * sysdeps/i386/fpu/libm-test-ulps: Update.
27806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27807
27808 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27809
27810 * manual/probes.texi: Remove cases when per-thread arenas are
27811 disabled.
27812
27813 2013-12-18 Andreas Schwab <schwab@suse.de>
27814
27815 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27816 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27817 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27818 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27819 * sysdeps/i386/i686/multiarch/Makefile: Update.
27820 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27821
27822 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27823
27824 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27825 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27826
27827 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27828
27829 [BZ #15968]
27830 Support TZ transition times < 00:00:00.
27831 This is needed for version-3 tz-format files; it supports time
27832 stamps past 2037 for America/Godthab (the only entry in the tz
27833 database for which this change is relevant).
27834 * manual/time.texi (TZ Variable): Document transition times
27835 from -167:59:59 through -00:00:01.
27836 * time/tzset.c (tz_rule): Time of day is now signed.
27837 (__tzset_parse_tz): Parse negative time of day.
27838
27839 Document TZ transition times >= 25:00:00.
27840 * manual/time.texi (TZ Variable): Document transition times from
27841 25:00:00 through 167:59:59. These are already supported, and this
27842 support will help with version-3 tz-format files.
27843
27844 * manual/time.texi (TZ Variable): Modernize North America example
27845 to reflect current (i.e., 2007-and-later) daylight saving rules.
27846
27847 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27848
27849 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27850
27851 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27852 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27855 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27856 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27857 * sysdeps/unix/bsd/clock.c: Likewise.
27858 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27859 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27860 * sysdeps/unix/bsd/init-posix.c: Likewise.
27861 * sysdeps/unix/bsd/poll.c: Likewise.
27862 * sysdeps/unix/bsd/ptsname.c: Likewise.
27863 * sysdeps/unix/bsd/seekdir.c: Likewise.
27864 * sysdeps/unix/bsd/setegid.c: Likewise.
27865 * sysdeps/unix/bsd/seteuid.c: Likewise.
27866 * sysdeps/unix/bsd/setgid.c: Likewise.
27867 * sysdeps/unix/bsd/setrgid.c: Likewise.
27868 * sysdeps/unix/bsd/setruid.c: Likewise.
27869 * sysdeps/unix/bsd/setsid.c: Likewise.
27870 * sysdeps/unix/bsd/setuid.c: Likewise.
27871 * sysdeps/unix/bsd/sigaction.c: Likewise.
27872 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27873 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27874 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27875 * sysdeps/unix/bsd/telldir.c: Likewise.
27876 * sysdeps/unix/bsd/times.c: Likewise.
27877 * sysdeps/unix/bsd/usleep.c: Likewise.
27878
27879 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27880 ($(objpfx)libbsd-compat.a): Remove rule.
27881
27882 * include/features.h (__FAVOR_BSD): Do not define.
27883 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27884 features conflicting with POSIX.
27885 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27886 (_BSD_SOURCE): Remove description of not being a subset of other
27887 feature test macros.
27888 * manual/job.texi (getpgrp): Do not document BSD version.
27889 (getpgid): Do not document by reference to BSD getpgrp.
27890 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27891 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27892 * signal/signal.h [__FAVOR_BSD]: Likewise.
27893 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27894 instead of making contents conditional on [__FAVOR_BSD].
27895 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27896
27897 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27898
27899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27900
27901 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27902
27903 [BZ #16314]
27904 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27905 values below 2**-450, not 2**-500.
27906 * math/auto-libm-test-in: Don't allow spurious underflow from
27907 hypot.
27908 * math/auto-libm-test-out: Regenerated.
27909
27910 [BZ #16316]
27911 [BZ #16330]
27912 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27913 values of ha and hb and sort them after adjusting subnormal
27914 arguments.
27915 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27916 Likewise.
27917 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27918 values of ea and eb and sort them after adjusting subnormal
27919 arguments.
27920 * math/auto-libm-test-in: Do not expect some hypot tests of
27921 subnormals to fail. Add more hypot tests.
27922 * math/auto-libm-test-out: Regenerated.
27923
27924 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27925
27926 [BZ #13304]
27927 * sysdeps/sh/s_fma.c: New file.
27928 * sysdeps/sh/s_fmaf.c: New file.
27929 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27930 version.
27931 * sysdeps/sh/Implies: Add sh/soft-fp.
27932
27933 2013-12-16 Roland McGrath <roland@hack.frob.com>
27934
27935 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27936 level of indirection to members `objname', `errstring', `malloced'.
27937 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27938 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27939 it as the __longjmp argument (just pass 1 instead).
27940 (_dl_catch_error): Initialize C with argument pointers and address of
27941 volatile local ERRCODE rather than copying values out of C at return.
27942
27943 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27944
27945 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27946 * math/auto-libm-test-out: Regenerated.
27947 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27948 (hypot_test_data): Likewise.
27949 (pow_test_data): Likewise.
27950 (pow_tonearest_test_data): Likewise.
27951 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27952 mpfr_ff_f.
27953 (func_calc_desc): Add mpfr_ff_f union field.
27954 (FUNC_mpfr_ff_f): New macro.
27955 (test_functions): Add atan2, hypot and pow.
27956 (special_fill_min): New function.
27957 (special_fill_minus_min): Likewise.
27958 (special_fill_min_subnorm): Likewise.
27959 (special_fill_minus_min_subnorm): Likewise.
27960 (special_real_inputs): Add min, -min, min_subnorm and
27961 -min_subnorm.
27962 (calc_generic_results): Handle mpfr_ff_f.
27963 * sysdeps/i386/fpu/libm-test-ulps: Update.
27964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27965
27966 2013-12-16 Will Newton <will.newton@linaro.org>
27967
27968 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27969 (Aligned Memory Blocks): Add documentation for aligned_alloc
27970 and suggest it as an alternative to posix_memalign.
27971 (Hooks for Malloc): Document __memalign_hook is also called
27972 for aligned_alloc. (Summary of Malloc): Add summary for
27973 aligned alloc. Document __memalign_hook is also called
27974 for aligned_alloc.
27975
27976 2013-12-16 Will Newton <will.newton@linaro.org>
27977
27978 * manual/memory.texi (Malloc Examples): Clarify default
27979 alignment documentation. Suggest posix_memalign rather
27980 than memalign or valloc.
27981 (Aligned Memory Blocks): Remove suggestion to use memalign
27982 or valloc. Remove obsolete comment about BSD.
27983 Document memalign errno values and mark the function obsolete.
27984 Document posix_memalign returned error codes. Mark valloc
27985 as obsolete. (Hooks for Malloc): __memalign_hook is also
27986 called for posix_memalign and valloc.
27987 (Summary of Malloc): Add posix_memalign to function summary.
27988 __memalign_hook is also called for posix_memalign and valloc.
27989
27990 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27991
27992 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27993 TAYLOR_SIN.
27994 (__sin): Adjust.
27995 (__cos): Likewise.
27996 (sloww): Use mynumber union. Expand ternary operator into
27997 if-else statements.
27998 (cslow): use mynumber union.
27999
28000 2013-12-16 Allan McRae <allan@archlinux.org>
28001
28002 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28003 * configure: Regenerated.
28004
28005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28006
28007 [BZ #14120]
28008 * configure.ac: Added --enable-maintainer-mode. Check for
28009 autoconf when enabled.
28010 * configure: Regenerated.
28011
28012 * nscd/nscd.service: New file.
28013 * nscd/nscd.tmpfiles: New file.
28014
28015 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28016
28017 [BZ #12100]
28018 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28019 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28020 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28021 (strstr): Add __strstr_sse2_unaligned ifunc.
28022 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28023 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28024 (strcasestr): Remove __strcasestr_sse42 ifunc.
28025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28028
28029 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28030
28031 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28032 * sysdeps/sh/bits/fenv.h: ... here.
28033 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28034
28035 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28036
28037 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28038
28039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28040 hypotf multiarch implementations.
28041 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28044 multiarch hypot for PPC64.
28045 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28048 multiarch hypotf for PPC64.
28049
28050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28051 modff multiarch implementations.
28052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28055 multiarch modf for PPC64.
28056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28059 multiarch modff for PPC64.
28060
28061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28062 and logl multiarch implementations.
28063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28066 multiarch logb for PPC64.
28067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28070 multiarch logb for PPC64.
28071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28074 multiarch logb for PPC64.
28075
28076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28077 isinff multiarch implementation.
28078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28079 file.
28080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28082 multiarch isinf for PPC64.
28083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28084 file.
28085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28086 multiarch isinff for PPC64.
28087
28088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28089 finitef multiarch implementation.
28090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28091 file.
28092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28094 multiarch finite for PPC64.
28095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28096 file.
28097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28098 multiarch finitef for PPC64.
28099
28100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28101 lrint multiarch implementation.
28102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28103 file.
28104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28106 multiarch llrint for PPC64.
28107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28108 multiarch lrint for PPC64.
28109
28110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28111 copysignf multiarch implementation.
28112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28113 file.
28114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28115 file.
28116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28117 multiarch copysign for PPC64.
28118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28119 multiarch copysignf for PPC64.
28120
28121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28122 multiarch implementation.
28123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28124 file.
28125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28126 file.
28127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28128 file.
28129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28130 file.
28131 multiarch llround for PPC64.
28132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28133 multiarch trunc for PPC64.
28134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28135 multiarch truncf for PPC64.
28136
28137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28138 multiarch implementation.
28139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28140 file.
28141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28142 file.
28143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28144 file.
28145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28146 file.
28147 multiarch llround for PPC64.
28148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28149 multiarch round for PPC64.
28150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28151 multiarch roundf for PPC64.
28152
28153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28154 multiarch implementation.
28155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28156 file.
28157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28158 file.
28159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28160 file.
28161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28162 file.
28163 multiarch llround for PPC64.
28164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28165 multiarch floor for PPC64.
28166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28167 multiarch floorf for PPC64.
28168
28169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28170 multiarch implementation.
28171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28172 file.
28173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28174 file.
28175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28176 file.
28177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28178 file.
28179 multiarch llround for PPC64.
28180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28181 multiarch ceil for PPC64.
28182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28183 multiarch ceilf for PPC64.
28184
28185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28186 multiarch implementation.
28187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28188 file.
28189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28190 file.
28191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28192 file.
28193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28194 multiarch llround for PPC64.
28195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28196 multiarch lround for PPC64.
28197
28198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28199 multiarch implementation.
28200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28203 file.
28204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28207 multiarch isnan for PPC64.
28208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28209 multiarch isnanf for PPC64.
28210
28211 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28212 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28213 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28214 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28215 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28217
28218 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28219 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28222
28223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28224 multiarch implementations.
28225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28226 (__libc_ifunc_impl_list): Likewise.
28227 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28228 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28229 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28230 multiarch stpcpy for PPC64.
28231
28232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28233 multiarch implementations.
28234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28235 (__libc_ifunc_impl_list): Likewise.
28236 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28237 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28238 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28239 multiarch strcpy for PPC64.
28240
28241 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28242 redefine function name.
28243 (_wordcopy_fwd_dest_aligned): Likewise.
28244 (_wordcopy_bwd_aligned): Likewise.
28245 (_wordcopy_bwd_dest_aligned): Likewise.
28246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28247 multiarch implementations.
28248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28249 (__libc_ifunc_impl_list): Likewise.
28250 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28251 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28252 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28253 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28254 multiarch wcscpy for PPC64.
28255
28256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28257 multiarch implementations.
28258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28259 (__libc_ifunc_impl_list): Likewise.
28260 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28261 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28262 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28263 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28264 multiarch wcscpy for PPC64.
28265
28266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28267 multiarch implementations.
28268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28269 (__libc_ifunc_impl_list): Likewise.
28270 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28271 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28273 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28274 multiarch wcsrchr for PPC64.
28275
28276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28277 multiarch implementations.
28278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28279 (__libc_ifunc_impl_list): Likewise.
28280 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28281 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28282 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28283 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28284 multiarch wcschr for PPC64.
28285
28286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28287 multiarch implementations.
28288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28289 (__libc_ifunc_impl_list): Likewise.
28290 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28291 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28292 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28293 multiarch strchrnul for PPC64.
28294
28295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28296 implementations.
28297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28298 (__libc_ifunc_impl_list): Likewise.
28299 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28300 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28301 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28302 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28303 strchr for PPC64.
28304
28305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28306 implementations.
28307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28308 (__libc_ifunc_impl_list): Likewise.
28309 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28310 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28312 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28313 strncmp for PPC64.
28314
28315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28316 multiarch implementations.
28317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28318 (__libc_ifunc_impl_list): Likewise.
28319 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28320 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28321 strncasecmp for PPC64.
28322 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28323 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28324 multiarch strncasecmp_l for PPC64.
28325
28326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28327 multiarch implementations.
28328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28329 (__libc_ifunc_impl_list): Likewise.
28330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28332 multiarch strcasecmp for PPC64.
28333 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28334 file.
28335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28336 multiarch strcasecmp_l for PPC64.
28337
28338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28339 implementations.
28340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28341 (__libc_ifunc_impl_list): Likewise.
28342 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28343 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28344 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28345 strnlen for PPC64.
28346
28347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28348 implementations.
28349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28350 (__libc_ifunc_impl_list): Likewise.
28351 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28352 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28353 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28354 strlen for PPC64.
28355
28356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28357 implementations.
28358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28359 (__libc_ifunc_impl_list): Likewise.
28360 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28361 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28362 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28363 rawmemrchr for PPC64.
28364
28365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28366 implementation.
28367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28368 (__libc_ifunc_impl_list): Likewise.
28369 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28370 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28371 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28372 memrchr for PPC64.
28373
28374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28375 implementation.
28376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28377 (__libc_ifunc_impl_list): Likewise.
28378 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28379 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28380 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28381 memchr for PPC64.
28382
28383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28384 implementation.
28385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28386 (__libc_ifunc_impl_list): Likewise.
28387 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28388 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28389 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28390 mempcpy for PPC64.
28391
28392 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28393 avoid cretion of __bzero symbol.
28394 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28395 Likewise.
28396 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28397 Likewise.
28398 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28399 Likewise.
28400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28401 multiarch implementations.
28402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28403 (__libc_ifunc_impl_list): Likewise.
28404 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28405 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28406 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28407 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28408 bzero for PPC32.
28409 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28410 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28411 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28412 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28413 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28414 memset for PPC64.
28415 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28416
28417 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28419 implementations.
28420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28421 (__libc_ifunc_impl_list): Likewise.
28422 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28423 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28424 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28425 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28426 memcmp for PPC64.
28427
28428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28429 multiarch for POWER/PPC64.
28430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28431 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28432 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28438 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28439 memcpy for PPC64.
28440
28441 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28442 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28443 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28444 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28445 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28446 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28447 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28448 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28449 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28450 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28451 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28452 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28453 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28454 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28455 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28463
28464 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28465
28466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28467
28468 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28469
28470 * benchtests/Makefile (bench): Add exp2 and log2.
28471 (LDLIBS-bench-exp2): Add -lm.
28472 (LDLIBS-bench-log2): Likewise.
28473 * benchtests/exp2-inputs: New inputs file.
28474 * benchtests/log2-inputs: New inputs file.
28475 * benchtests/log-inputs: Add new inputs.
28476 * benchtests/tan-inputs: Likewise.
28477
28478 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28479
28480 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28481 definition...
28482 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28483 (csloww2): ... from here.
28484
28485 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28486 instead of structures.
28487 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28488 (POLYNOMIAL): Likewise.
28489 (TAYLOR_SLOW): Likewise.
28490 (__sin): Likewise.
28491 (__cos): Likewise.
28492 (slow1): Likewise.
28493 (slow2): Likewise.
28494 (sloww): Likewise.
28495 (sloww1); Likewise.
28496 (sloww2): Likewise.
28497 (bsloww1): Likewise.
28498 (bsloww2): Likewise.
28499 (cslow2): Likewise.
28500 (csloww): Likewise.
28501 (csloww1): Likewise.
28502 (csloww2): Likewise.
28503
28504 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28505
28506 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28507 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28508 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28509 * malloc/hooks.c (realloc_check): Likewise.
28510
28511 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28512 * malloc/arena.c: Remove PER_THREAD conditional.
28513 [!PER_THREAD]: Remove code.
28514 (ptmalloc_unlock_all2): Likewise.
28515 (ptmalloc_init): Likewise.
28516 (_int_new_arena): Likewise.
28517 (arena_get2): Likewise.
28518 * malloc/hooks.c (__malloc_get_state): Likewise.
28519 (__malloc_set_state): Likewise.
28520 * malloc/malloc.c: Likewise.
28521 (struct malloc_state): Likewise.
28522 (struct malloc_par): Likewise.
28523 (__libc_realloc): Likewise.
28524 (__libc_mallopt): Likewise.
28525
28526 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28527
28528 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28529
28530 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28531
28532 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28533 macro to a function. Check for zero perturb_byte.
28534 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28535
28536 * malloc/malloc.c: (force_reg): Remove.
28537 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28538 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28539 force_reg by atomic_forced_read.
28540 * malloc/arena.c (ptmalloc_init): Likewise.
28541 * malloc/hooks.c (top_check): Likewise.
28542
28543 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28544
28545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28546
28547 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28548
28549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28550
28551 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28552
28553 * math/auto-libm-test-in: Add tests of lgamma.
28554 * math/auto-libm-test-out: Regenerated.
28555 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28556 (M_LOG_2_SQRT_PIl): Likewise.
28557 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28558 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28559 mpfr_f_f1.
28560 (func_calc_desc): Add mpfr_f_f1 union field.
28561 (ARGS1): New macro.
28562 (ARGS2): Likewise.
28563 (ARGS3): Likewise.
28564 (ARGS4): Likewise.
28565 (RET1): Likewise.
28566 (RET2): Likewise.
28567 (CALC): Likewise.
28568 (FUNC): Likewise.
28569 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28570 (test_functions): Add lgamma.
28571 (calc_generic_results): Handle mpfr_f_f1.
28572 * sysdeps/i386/fpu/libm-test-ulps: Update.
28573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28574
28575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28576
28577 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28578 __mpn_add_n for PowerPC64/POWER7.
28579 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28580 __mpn_sub_n for PowerPC64/POWER7.
28581
28582 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28583 __mpn_addmul_1 for PowerPC64.
28584 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28585 __mpn_submul_1 for PowerPC64.
28586 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28587 for PowerPC64.
28588 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28589 for PowerPC64.
28590
28591 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28592
28593 [BZ #15089]
28594 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28595
28596 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28597
28598 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28599
28600 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28601 add multiarch folders.
28602 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28603 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28604 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28605 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28606 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28607 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28608 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28609 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28610 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28611 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28612 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28619
28620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28621 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28623 New file.
28624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28625 New file.
28626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28627 multiarch __ieee754_hypot for PowerPC32.
28628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28629 New file.
28630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28631 New file.
28632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28633 multiarch __ieee754_hypotf for PowerPC32.
28634
28635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28636 long_double_symbol only if __logbl is defined.
28637 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28638 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28639 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28640 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28642 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28643 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28644 path for implementation.
28645 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28646 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28648 logb, and logbl multiarch implementations for PowerPC32.
28649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28650 file.
28651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28652 file.
28653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28654 multiarch logb for PowerPC32.
28655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28656 file.
28657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28658 file.
28659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28660 multiarch logbf for PowerPC32.
28661 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28663 file.
28664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28665 multiarch logbl implementation for PowerPC32.
28666
28667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28668 and modff multiarch implementations.
28669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28670 New file.
28671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28672 New file.
28673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28674 multiarch modf for PowerPC32.
28675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28676 New file.
28677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28678 New file.
28679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28680 multiarch modff for PowerPC32.
28681
28682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28683 and lrintf multiarch implementations.
28684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28685 New file.
28686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28687 New file.
28688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28689 multiarch lrint for PowerPC32.
28690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28691 file: multiarch lrintf for PowerPC32.
28692
28693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28694 and lroundf multiarch implementations.
28695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28696 New file.
28697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28698 New file.
28699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28700 New file.
28701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28702 multiarch lround for PowerPC32.
28703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28704 file: multiarch lroundf for PowerPC32.
28705
28706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28707 copysign and copysignf multiarch implementations.
28708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28709 New file.
28710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28711 New file.
28712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28713 file: multiarch copysign for PowerPC32.
28714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28715 file: multiarch copysignf for PowerPC32.
28716
28717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28718 and truncf multiarch implementations.
28719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28720 New file.
28721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28722 file.
28723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28724 multiarch trunc for PowerPC32.
28725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28726 New file.
28727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28728 New file.
28729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28730 multiarch truncf for PowerPC32.
28731
28732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28733 and roundf multiarch implementations.
28734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28735 New file.
28736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28737 file.
28738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28739 multiarch round for PowerPC32.
28740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28741 New file.
28742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28743 New file.
28744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28745 multiarch roundf for PowerPC32.
28746
28747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28748 and floorf multiarch implementations.
28749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28750 New file.
28751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28752 file.
28753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28754 multiarch floor for PowerPC32.
28755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28756 New file.
28757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28758 New file.
28759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28760 multiarch floorf for PowerPC32.
28761
28762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28763 and ceilf multiarch implementations.
28764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28765 New file.
28766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28767 file.
28768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28769 multiarch ceil for PowerPC32.
28770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28771 New file.
28772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28773 file.
28774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28775 multiarch ceilf for PowerPC32.
28776
28777 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28778 is defined.
28779 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28780 FINITEF is defined.
28781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28782 and finitef multiarch implementations.
28783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28784 New file.
28785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28786 file.
28787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28788 multiarch finite for PowerPC32.
28789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28790 New file.
28791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28792 file: multiarch finitef for PowerPC32.
28793
28794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28795 and isinff multiarch implementations.
28796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28797 file.
28798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28799 file.
28800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28801 multiarch isinf for PowerPC32.
28802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28803 New file.
28804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28805 multiarch isinff for PowerPC32.
28806
28807 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28808 alias when __isnan is defined.
28809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28810 and isnanf multiarch implementations.
28811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28812 file.
28813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28814 file.
28815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28816 file.
28817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28818 file.
28819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28820 multiarch isnan for PowerPC32.
28821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28822 New file.
28823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28824 New file.
28825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28826 multiarch isnanf for PowerPC32.
28827
28828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28829 and sqrtf multiarch implementations.
28830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28831 file.
28832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28833 file.
28834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28835 multiarch sqrt for PowerPC32.
28836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28837 file.
28838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28839 file.
28840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28841 multiarch sqrtf for PowerPC32.
28842
28843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28844 and llroundf multiarch implementations.
28845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28846 New file.
28847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28848 New file.
28849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28850 New file.
28851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28852 file: multiarch llround for PowerPC32.
28853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28854 file: multiarch llroundf for PowerPC32.
28855
28856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28857 multiarch PowerPC32 fpu implementations.
28858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28859 New file.
28860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28861 New file.
28862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28863 multiarch llrint for PowerPC32.
28864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28865 New file.
28866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28867 New file.
28868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28869 file.
28870
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28872
28873 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28874 file.
28875 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28876 file.
28877 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28878 file.
28879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28880 multiarch wordcopy for PPC32.
28881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28882 wordcopy objects.
28883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28884 (__libc_ifunc_impl_list): Likewise.
28885 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28886 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28887 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28888 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28889 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28890 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28891
28892 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28894 file.
28895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28896 file.
28897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28898 file.
28899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28900 multiarch wcscpy for PPC32.
28901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28902 multiarch objects.
28903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28904 (__libc_ifunc_impl_list): Likewise.
28905 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28906 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28907 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28908 sysdeps/powerpc/power6/wcscpy.c.
28909
28910 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28912 file.
28913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28914 file.
28915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28916 file.
28917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28918 multiarch wcsrchr for PPC32.
28919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28920 multiarch objects.
28921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28922 (__libc_ifunc_impl_list): Likewise.
28923 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28924 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28925 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28926 sysdeps/powerpc/power6/wcsrchr.c.
28927
28928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28929 file.
28930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28931 file.
28932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28934 multiarch wcschr for PPc32.
28935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28936 multiarch objects.
28937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28938 (__libc_ifunc_impl_list): Likewise.
28939 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28940 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28941 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28942 sysdeps/powerpc/power6/wcschr.c.
28943
28944 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28945 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28946 file.
28947 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28948 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28949 file: multiarch strchr for PPC32.
28950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28951 multiarch objects.
28952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28953 (__libc_ifunc_impl_list): Likewise.
28954
28955 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28956 name.
28957 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28958 file.
28959 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28960 file.
28961 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28962 multiarch strchrnul for PPC32.
28963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28964 multiarch objects.
28965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28966 (__libc_ifunc_impl_list): Likewise.
28967
28968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28969 file.
28970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28971 multiarch strncasecmp for PPC32.
28972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28973 file.
28974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28975 multiarch strncasecmp_l for PPC32.
28976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28977 strncasecmp multiarch objects.
28978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28979 (__libc_ifunc_impl_list): Likewise.
28980
28981 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28982 file.
28983 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28984 multiarch strncasecmp for PPC32.
28985 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28986 New file.
28987 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28988 multiarch strcasecmp_l for PPC32.
28989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28990 multiarch objects.
28991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28992 (__libc_ifunc_impl_list): Likewise.
28993
28994 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28995 file.
28996 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28997 file.
28998 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28999 multiarch strncmp for PPC32.
29000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29001 multiarch objects.
29002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29003 (__libc_ifunc_impl_list): Likewise.
29004
29005 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29006 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29007 file.
29008 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29009 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29011 multiarch objects.
29012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29013 (__libc_ifunc_impl_list): Likewise.
29014
29015 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29016 file.
29017 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29018 file.
29019 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29021 multiarch objects.
29022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29023 (__libc_ifunc_impl_list): Likewise.
29024
29025 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29026 file.
29027 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29028 file.
29029 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29030 multiarch rawmemchr for PPC32.
29031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29032 multiarch objects.
29033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29034 (__libc_ifunc_impl_list): Likewise.
29035
29036 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29037 file.
29038 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29039 file.
29040 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29041 file: memrchr multiarch for PPC32.
29042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29043 multiarch objects.
29044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29045 (__libc_ifunc_impl_list): Likewise.
29046
29047 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29048 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29049 file.
29050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29051 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29052 multiarch memchr for PPC32.
29053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29054 multiarch objects.
29055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29056 (__libc_ifunc_impl_list): Likewise.
29057
29058 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29059 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29060 file.
29061 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29062 file.
29063 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29064 file: multiarch mempcpy for PPC32.
29065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29066 multiarch objects.
29067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29068 (__libc_ifunc_impl_list): Likewise.
29069
29070 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29071 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29072 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29073 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29074 multiarch bzero for PPC32.
29075 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29076 file.
29077 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29078 file.
29079 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29080 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29081 file: multiarch memset for PPC32.
29082 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29084 memset multiarch objects.
29085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29086 (__libc_ifunc_impl_list): Likewise.
29087
29088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29089 file.
29090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29092 memcmp for PPC32.
29093 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29095 multiarch objects.
29096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29097 (__libc_ifunc_impl_list): Likewise.
29098
29099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29100 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29101 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29102 file.
29103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29104 file.
29105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29106 file.
29107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29108 multiarch memcpy for PPC32.
29109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29110 multiarch objects.
29111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29112 (__libc_ifunc_impl_list): Likewise.
29113
29114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29115 support multiarch for POWER/PPC32.
29116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29117 Likewise.
29118 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29120 Implies file to make multiarch folder appers before the fpu and
29121 default folder for power4 configuration.
29122
29123 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29124
29125 * scripts/bench.pl: Append volatile keyword to type.
29126
29127 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29128
29129 * sysdeps/sh/sotruss-lib.c: New file.
29130 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29131
29132 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29133
29134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29135
29136 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29137
29138 [BZ #6810]
29139 * math/w_tgamma.c: Include <errno.h>.
29140 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29141 * math/w_tgammaf.c: Include <errno.h>.
29142 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29143 * math/w_tgammal.c: Include <errno.h>.
29144 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29145 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29146 underflow. Add more tgamma tests.
29147 * math/auto-libm-test-out: Regenerated.
29148 * sysdeps/i386/fpu/libm-test-ulps: Update.
29149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29150
29151 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29152 sin, sinh, tan, tanh, tgamma, y0 and y1.
29153 * math/auto-libm-test-out: Regenerated.
29154 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29155 (TEST_COND_x86): Likewise.
29156 (M_E2l): Remove macro.
29157 (M_E3l): Likewise.
29158 (M_2_SQRT_PIl): Likewise.
29159 (M_SQRT_PIl): Likewise.
29160 (M_1_DIV_El): Likewise.
29161 (log_test_data): Use AUTO_TESTS_f_f.
29162 (log10_test_data): Likewise.
29163 (log1p_test_data): Likewise.
29164 (log2_test_data): Likewise.
29165 (sin_test_data): Likewise.
29166 (sin_tonearest_test_data): Likewise.
29167 (sin_towardzero_test_data): Likewise.
29168 (sin_downward_test_data): Likewise.
29169 (sin_upward_test_data): Likewise.
29170 (sinh_test_data): Likewise.
29171 (sinh_tonearest_test_data): Likewise.
29172 (sinh_towardzero_test_data): Likewise.
29173 (sinh_downward_test_data): Likewise.
29174 (sinh_upward_test_data): Likewise.
29175 (tan_test_data): Likewise.
29176 (tan_tonearest_test_data): Likewise.
29177 (tan_towardzero_test_data): Likewise.
29178 (tan_downward_test_data): Likewise.
29179 (tan_upward_test_data): Likewise.
29180 (tanh_test_data): Likewise.
29181 (tgamma_test_data): Likewise.
29182 (y0_test_data): Likewise.
29183 (y1_test_data): Likewise.
29184 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29185 (special_real_inputs): Add pi/4.
29186 * sysdeps/i386/fpu/libm-test-ulps: Update.
29187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29188
29189 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29190
29191 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29192 "longjmp_target" static probes.
29193 (__longjmp): Rename to __longjmp_symbol.
29194 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29195 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29196 on which longjmp to generate.
29197 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29198 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29199 probe.
29200 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29201 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29202 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29203 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29204 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29205 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29207 __longjmp_symbol based on which __longjmp to generate.
29208 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29209 probe.
29210 (setjmp): Rename to setjmp_symbol.
29211 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29212 (_setjmp): Rename to _setjmp_symbol.
29213 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29214 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29215 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29216 which setjmp to generate.
29217 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29218 "longjmp_target" static probes.
29219
29220 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29221
29222 * benchtests/README: Add note about output arguments.
29223 * benchtests/bench-sincos.c: Remove file.
29224 * benchtests/sincos-inputs: New file.
29225 * scripts/bench.pl: Identify output arguments and define
29226 static variables for them.
29227
29228 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29229
29230 [BZ #15941]
29231 * Makefile (INSTALL): Add install-plain.texi as the primary
29232 dependency.
29233 * manual/install-plain.texi: New file.
29234 * manual/install.texi: Include node directive only for
29235 non-plaintext output.
29236
29237 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29238
29239 * stdlib/longlong.h: Update from GCC.
29240
29241 [BZ #6807]
29242 [BZ #15901]
29243 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29244 * math/w_j0f.c (y0f): Likewise.
29245 * math/w_j0l.c (__y0l): Likewise.
29246 * math/w_j1.c (y1): Likewise.
29247 * math/w_j1f.c (y1f): Likewise.
29248 * math/w_j1l.c (__y1l): Likewise
29249 * math/w_jn.c (yn): Likewise.
29250 * math/w_jnf.c (ynf): Likewise.
29251 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29252 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29253 value for Bessel function domain errors outside _SVID_ mode.
29254 Adjust sign of return value for yn (negative integer, 0).
29255 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29256 by zero in return for negative x and set sign appropriately for
29257 negative n.
29258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29259 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29260 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29261 expectations in error cases.
29262 (y1_test_data): Likewise.
29263 (yn_test_data): Likewise.
29264 * sysdeps/i386/fpu/libm-test-ulps: Update.
29265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29266
29267 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29268
29269 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29270 "64" to "64-v1". Add "64-v2".
29271 (abi-64-options): Rename to ...
29272 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29273 (abi-64-condition): Rename to ...
29274 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29275 (abi-64-ld-soname): Rename to ...
29276 (abi-64-v1-ld-soname): ... this.
29277 (abi-64-v2-options): Define.
29278 (abi-64-v2-condition): Likewise.
29279 (abi-64-v2-ld-soname): Likewise.
29280 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29281 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29285
29286 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29287 Alan Modra <amodra@gmail.com>
29288
29289 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29290 New versions for use with the ELFv2 ABI.
29291 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29292 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29293 declaration.
29294 (struct La_ppc64v2_retval): Likewise.
29295 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29296 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29297 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29298 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29299 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29300 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29301 Do not save or restore CR.
29302 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29303 (_dl_profile_resolve): Do no save or restore CR. Support extended
29304 return values for ELFv2 ABI. Fix location of FPR return registers.
29305 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29306 updated values for _CALL_ELF == 2.
29307 (La_regs, La_retval, int_retval): Likewise.
29308
29309 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29310
29311 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29312 (FRAME_MIN_SIZE_PARM): Likewise.
29313 (FRAME_BACKCHAIN): Likewise.
29314 (FRAME_CR_SAVE): Likewise.
29315 (FRAME_LR_SAVE): Likewise.
29316 (FRAME_TOC_SAVE): Likewise.
29317 (FRAME_PARM_SAVE): Likewise.
29318 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29319 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29320 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29321 (call_mcount_parm_offset): New macro.
29322 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29323 (PROF): Use symbolic stack frame offsets.
29324 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29325 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29326 Redefine in terms of FRAME_MIN_SIZE.
29327 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29328 (_dl_profile_resolve): Likewise. Update comment.
29329 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29330 symbols stack frame offsets.
29331 (__sigsetjmp): Likewise.
29332 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29333 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29334 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29335 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29336
29337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29338 (FRAME_BACKCHAIN): Remove.
29339 (FRAME_CR_SAVE): Likewise.
29340 (FRAME_LR_SAVE): Likewise.
29341 (FRAME_COMPILER_DW): Likewise.
29342 (FRAME_LINKER_DW): Likewise.
29343 (FRAME_TOC_SAVE): Likewise.
29344 (FRAME_PARM_SAVE): Likewise.
29345 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29346 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29347 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29349 (CHECK_SP): Use symbolic stack frame offsets.
29350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29351 zone" instead of caller's parameter save area for temp storage.
29352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29353 Likewise. Also, use symbolic stack frame offsets.
29354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29355 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29356 our own stack frame instead of the caller's.
29357 (__socket): Use symbolic stack frame offsets.
29358
29359 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29360 Alan Modra <amodra@gmail.com>
29361
29362 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29363 Define.
29364 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29365 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29366 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29367 New function.
29368 (elf_machine_fixup_plt): Call it.
29369 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29370 reloc arguments.
29371 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29372 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29373 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29374 r2 before calling target.
29375
29376 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29377 Alan Modra <amodra@gmail.com>
29378
29379 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29380 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29381 versions of macros to support ELFv2 ABI.
29382 (LOCALENTRY): New macro.
29383 (ENTRY, EALIGN): Use it.
29384 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29385 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29386 fall through into ENTRY entry point.
29387 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29388 Only define if _CALL_ELF != 2.
29389
29390 (elf_machine_matches_host): Verify ABI version matches.
29391 (RTLD_START): Use LOCALENTRY.
29392 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29393 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29394 (PLT_ENTRY_WORDS): New macro.
29395 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29396 (elf_machine_runtime_setup): Support ELFv2 ABI.
29397 (elf_machine_fixup_plt): Likewise.
29398 (elf_machine_plt_conflict): Likewise.
29399 (resolve_ifunc): Likewise.
29400 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29402 Likewise.
29403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29404 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29406 (makecontext): Support ELFv2 ABI.
29407 * elf/elf.h (EF_PPC64_ABI): Define.
29408
29409 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29410
29411 * sysdeps/powerpc/powerpc64/sysdep.h
29412 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29413 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29414 (ENTRY) [ASSEMBLER]: ... but instead here ...
29415 (EALIGN) [ASSEMBLER]: ... and here.
29416 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29417 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29418 (ENTRY_2) [!ASSEMBLER]: Use it.
29419 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29420 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29422 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29423 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29425 Use PPC64_LOAD_FUNCPTR.
29426
29427 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29428
29429 2013-12-04 Alan Modra <amodra@gmail.com>
29430
29431 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29432 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29433 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29434 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29435
29436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29437 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29438 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29439 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29440 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29441 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29442
29443 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29444
29445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29446 (__makecontext): Fix incorrect CFI when backtracing out of
29447 context created via makecontext.
29448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29449 (__setcontext): Fix incorrect CFI during switch to new context.
29450 (__novec_setcontext): Likewise.
29451
29452 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29453
29454 [BZ #4772]
29455 * time/strptime_l.c (__strptime_internal): Allow modifiers
29456 in strptime.
29457 * time/tst-strptime.c (day_tests): Add testcase.
29458
29459 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29460
29461 * scripts/bench.pl: Skip over blank lines.
29462
29463 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29464
29465 [BZ #926]
29466 * manual/time.texi (Calendar Time): Clarify what timezone functions
29467 use.
29468
29469 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29470
29471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29472
29473 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29474
29475 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29476 implementation.
29477 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29478 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29479 * debug/memset_chk.c (__memset_chk): Likewise.
29480 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29481 * debug/strncpy_chk.c: Likewise.
29482
29483 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29484
29485 [BZ #15268]
29486 [BZ #15425]
29487 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29488 (__ieee754_exp): For possibly underflowing results, check size of
29489 result and force underflow exception if required.
29490 * math/auto-libm-test-in: Add more tests of exp.
29491 * math/auto-libm-test-out: Regenerated.
29492 * sysdeps/i386/fpu/libm-test-ulps: Update.
29493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29494
29495 [BZ #16283]
29496 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29497 * math/w_exp2f.c (__exp2f): Likewise.
29498 * math/w_exp2l.c (__exp2l): Likewise.
29499 * math/auto-libm-test-in: Do not allow missing errno on exp2
29500 underflow.
29501 * math/auto-libm-test-out: Regenerated.
29502
29503 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29504
29505 [BZ #16274]
29506 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29507 handle filename validation.
29508 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29509 (do_open): Delete.
29510
29511 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29512
29513 [BZ #6786]
29514 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29515 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29516 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29517 <float.h>.
29518 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29519 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29520 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29522 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29523 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29524 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29525 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29526 Add more erfc tests.
29527 * math/auto-libm-test-out: Regenerated.
29528 * sysdeps/i386/fpu/libm-test-ulps: Update.
29529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29530
29531 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29532 exp2, expm1, j0 and j1.
29533 * math/auto-libm-test-out: Regenerated.
29534 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29535 (erfc_test_data): Likewise.
29536 (exp_test_data): Likewise.
29537 (exp_tonearest_test_data): Likewise.
29538 (exp_towardzero_test_data): Likewise.
29539 (exp_downward_test_data): Likewise.
29540 (exp_upward_test_data): Likewise.
29541 (exp10_test_data): Likewise.
29542 (exp2_test_data): Likewise.
29543 (expm1_test_data): Likewise.
29544 (j0_test_data): Likewise.
29545 (j1_test_data): Likewise.
29546 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29547 (input_flag_type): Add flag_xfail_rounding.
29548 (input_flags): Add xfail-rounding.
29549 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29550 (output_for_one_input_case): Handle flag_xfail_rounding.
29551 * sysdeps/i386/fpu/libm-test-ulps: Update.
29552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29553
29554 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29555
29556 [BZ #16289]
29557 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29558 division by 0.
29559
29560 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29561
29562 [BZ #16195]
29563 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29564 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29565 (STAP_PROBE0): New macro.
29566 (STAP_PROBE1): Likewise.
29567 (STAP_PROBE2): Likewise.
29568 (STAP_PROBE3): Likewise.
29569 (STAP_PROBE4): Likewise.
29570
29571 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29572
29573 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29574
29575 2013-12-02 Steve Ellcey <sellcey@mips.com>
29576
29577 * benchtests/Makefile (bench): Add sqrt.
29578 (LDLIBS-bench-sqrt): New.
29579 * benchtests/sqrt-input: New.
29580
29581 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29582
29583 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29584 (GAIH_EAI): Likewise.
29585 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29586 (gaih_inet): Likewise.
29587 (getaddrinfo): Don't use GAIH_EAI.
29588
29589 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29590 (struct gaih): Remove definition.
29591
29592 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29593
29594 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29595 Use HERRNOP directly.
29596
29597 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29598
29599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29600
29601 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29602
29603 * math/gen-auto-libm-tests.c (test_functions): Add more
29604 single-argument functions.
29605 (special_fill_pi_2): New function.
29606 (special_fill_minus_pi_2): Likewise.
29607 (special_fill_pi_6): Likewise.
29608 (special_fill_minus_pi_6): Likewise.
29609 (special_fill_pi_3): Likewise.
29610 (special_fill_2pi_3): Likewise.
29611 (special_fill_e): Likewise.
29612 (special_fill_1_e): Likewise.
29613 (special_fill_e_minus_1): Likewise.
29614 (special_real_inputs): Add more special inputs.
29615 (output_for_one_input_case): Do not require ERANGE on underflow to
29616 zero if round-to-nearest result does not underflow to zero, unless
29617 exact results required.
29618 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29619 atan, atanh, cbrt, cos and cosh.
29620 * math/auto-libm-test-out: Regenerated.
29621 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29622 (acos_tonearest_test_data): Likewise.
29623 (acos_towardzero_test_data): Likewise.
29624 (acos_downward_test_data): Likewise.
29625 (acos_upward_test_data): Likewise.
29626 (acosh_test_data): Likewise.
29627 (asin_test_data): Likewise.
29628 (asin_tonearest_test_data): Likewise.
29629 (asin_towardzero_test_data): Likewise.
29630 (asin_upward_test_data): Likewise.
29631 (asinh_test_data): Likewise.
29632 (atan_test_data): Likewise.
29633 (atanh_test_data): Likewise.
29634 (cbrt_test_data): Likewise.
29635 (cos_test_data): Likewise.
29636 (cos_tonearest_test_data): Likewise.
29637 (cos_towardzero_test_data): Likewise.
29638 (cos_downward_test_data): Likewise.
29639 (cos_upward_test_data): Likewise.
29640 (cosh_test_data): Likewise.
29641 (cosh_tonearest_test_data): Likewise.
29642 (cosh_towardzero_test_data): Likewise.
29643 (cosh_downward_test_data): Likewise.
29644 (cosh_upward_test_data): Likewise.
29645 * sysdeps/i386/fpu/libm-test-ulps: Update.
29646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29647
29648 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29649
29650 [BZ #6787]
29651 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29652 * math/w_exp10f.c (__exp10f): Likewise.
29653 * math/w_exp10l.c (__exp10l): Likewise.
29654 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29655 errno settings in existing tests.
29656
29657 [BZ #14032]
29658 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29659 precision control set to double precision.
29660 * sysdeps/i386/fpu/w_sqrt.c: New file.
29661 * math/auto-libm-test-in: Add more tests.
29662 * math/auto-libm-test-out: Update.
29663
29664 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29665 (sqrt_test_tonearest): New function.
29666 (sqrt_towardzero_test_data): New variable.
29667 (sqrt_test_towardzero): New function.
29668 (sqrt_downward_test_data): New variable.
29669 (sqrt_test_downward): New function.
29670 (sqrt_upward_test_data): New variable.
29671 (sqrt_test_upward): New function.
29672 (main): Call the new functions.
29673
29674 * math/gen-auto-libm-tests.c: New file.
29675 * math/auto-libm-test-in: Likewise.
29676 * math/auto-libm-test-out: New generated file.
29677 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29678 variables.
29679 (%beautify): Add generated representations of zero.
29680 (top level): Set $auto_input and call parse_auto_input.
29681 (beautify): Remove trailing "f" from hex float constants.
29682 (parse_args): Handle XFAIL_TEST.
29683 (convert_condition): New function.
29684 (or_value): Likewise.
29685 (or_cond_value): Likewise.
29686 (generate_testfile): Handle AUTO_TESTS_* lines.
29687 (parse_auto_input): New function.
29688 * math/libm-test.inc (XFAIL_TEST): New macro.
29689 (ERRNO_UNCHANGED): Update value.
29690 (ERRNO_EDOM): Likewise.
29691 (ERRNO_ERANGE): Likewise.
29692 (IGNORE_RESULT): Likewise.
29693 (TEST_COND_flt_32): New macro.
29694 (TEST_COND_dbl_64): Likewise.
29695 (TEST_COND_ldbl_96_intel): Likewise.
29696 (TEST_COND_ldbl_96_m68k): Likewise.
29697 (TEST_COND_ldbl_128): Likewise.
29698 (TEST_COND_ldbl_128ibm): Likewise.
29699 (TEST_COND_long32): Likewise.
29700 (TEST_COND_long64): Likewise.
29701 (TEST_COND_before_rounding): Likewise.
29702 (TEST_COND_after_rounding): Likewise.
29703 (enable_test): Handle XFAIL_TEST flag.
29704 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29705 with finite results.
29706 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29707 auto-libm-test-out.
29708
29709 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29710 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29711
29712 [BZ #16214]
29713 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29714 __tls_get_addr_internal instead of __tls_get_offset in order to
29715 avoid GOT pointer dependency. Make rtld export
29716 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29717 __tls_get_addr since we are a __tls_get_offset platform.
29718 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29719 GOT pointer being set up before.
29720 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29721
29722 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29723
29724 * manual/math.texi (Errors in Math Functions): Document accuracy
29725 goals.
29726
29727 [BZ #15004]
29728 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29729 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29730 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29731 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29732 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29733 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29734 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29735 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29736 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29737 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29738 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29739 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29740 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29741 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29743 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29744
29745 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29746 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29747 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29748 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29749 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29750 Likewise.
29751 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29752 Likewise.
29753 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29754 Likewise.
29755 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29756 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29757 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29758 atomic-feupdateenv and flt-rounds.
29759 * sysdeps/powerpc/nofpu/Versions (libc): Add
29760 __atomic_feholdexcept, __atomic_feclearexcept,
29761 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29762 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29763 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29764 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29765 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29766 here.
29767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29768 Update.
29769
29770 * manual/arith.texi (FP Exceptions): Document that exceptions may
29771 not be raised when matherr is used.
29772 (Math Error Reporting): Document overflow in directed rounding
29773 modes. Document that errno may not be set when finite values are
29774 returned on overflow. Document intent to set errno on underflow
29775 only for underflow to zero.
29776
29777 [BZ #16271]
29778 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29779 round-to-nearest then adjust result for other rounding modes.
29780 * include/fenv.h (fegetround): Use libm_hidden_proto.
29781 * math/fegetround.c (fegetround): Use libm_hidden_def.
29782 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29783 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29784 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29785 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29786 Likewise.
29787 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29789 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29790 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29791
29792 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29793
29794 [BZ #16077]
29795 * nss/Versions (libnss_files): Add
29796 _nss_files_gethostbyname3_r.
29797 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29798 New function.
29799 (HOST_DB_LOOKUP): Remove macro.
29800 (_nss_files_gethostbyname_r): Implement function without the
29801 HOST_DB_LOOKUP macro.
29802 (_nss_files_gethostbyname2_r): Likewise.
29803
29804 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29805
29806 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29807
29808 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29809
29810 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29811 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29812 warning.
29813
29814 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29815
29816 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29817 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29818 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29819 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29820 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29821 __fe_nomask_env_priv and attribute_hidden.
29822 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29823 (libc_feupdateenv_test_ppc): Likewise.
29824 (libc_feresetround_ppc): Likewise.
29825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29826 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29827 compat_symbol macro.
29828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29829 (__fe_nomask_env): Likewise.
29830 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29831
29832 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29833
29834 * string/Makefile: Remove ifunc tests.
29835 * string/test-string.h: Define TEST_IFUNC.
29836 * string/test-bcopy-ifunc.c: Remove.
29837 * string/test-bzero-ifunc.c: Likewise.
29838 * string/test-memccpy-ifunc.c: Likewise.
29839 * string/test-memchr-ifunc.c: Likewise.
29840 * string/test-memcmp-ifunc.c: Likewise.
29841 * string/test-memcpy-ifunc.c: Likewise.
29842 * string/test-memmem-ifunc.c: Likewise.
29843 * string/test-memmove-ifunc.c: Likewise.
29844 * string/test-mempcpy-ifunc.c: Likewise.
29845 * string/test-memrchr-ifunc.c: Likewise.
29846 * string/test-memset-ifunc.c: Likewise.
29847 * string/test-rawmemchr-ifunc.c: Likewise.
29848 * string/test-stpcpy-ifunc.c: Likewise.
29849 * string/test-stpncpy-ifunc.c: Likewise.
29850 * string/test-strcasecmp-ifunc.c: Likewise.
29851 * string/test-strcasestr-ifunc.c: Likewise.
29852 * string/test-strcat-ifunc.c: Likewise.
29853 * string/test-strchr-ifunc.c: Likewise.
29854 * string/test-strchrnul-ifunc.c: Likewise.
29855 * string/test-strcmp-ifunc.c: Likewise.
29856 * string/test-strcpy-ifunc.c: Likewise.
29857 * string/test-strcspn-ifunc.c: Likewise.
29858 * string/test-strlen-ifunc.c: Likewise.
29859 * string/test-strncasecmp-ifunc.c: Likewise.
29860 * string/test-strncat-ifunc.c: Likewise.
29861 * string/test-strncmp-ifunc.c: Likewise.
29862 * string/test-strncpy-ifunc.c: Likewise.
29863 * string/test-strnlen-ifunc.c: Likewise.
29864 * string/test-strpbrk-ifunc.c: Likewise.
29865 * string/test-strrchr-ifunc.c: Likewise.
29866 * string/test-strspn-ifunc.c: Likewise.
29867 * string/test-strstr-ifunc.c: Likewise.
29868
29869 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29870
29871 * benchtests/Makefile: Remove ifunc tests.
29872 * benchtests/bench-string.h: Define TEST_IFUNC.
29873 * benchtests/bench-bcopy-ifunc.c: Remove.
29874 * benchtests/bench-bzero-ifunc.c: Likewise.
29875 * benchtests/bench-memccpy-ifunc.c: Likewise.
29876 * benchtests/bench-memchr-ifunc.c: Likewise.
29877 * benchtests/bench-memcmp-ifunc.c: Likewise.
29878 * benchtests/bench-memcpy-ifunc.c: Likewise.
29879 * benchtests/bench-memmem-ifunc.c: Likewise.
29880 * benchtests/bench-memmove-ifunc.c: Likewise.
29881 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29882 * benchtests/bench-memrchr-ifunc.c: Likewise.
29883 * benchtests/bench-memset-ifunc.c: Likewise.
29884 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29885 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29886 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29887 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29888 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29889 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29890 * benchtests/bench-strcat-ifunc.c: Likewise.
29891 * benchtests/bench-strchr-ifunc.c: Likewise.
29892 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29893 * benchtests/bench-strcmp-ifunc.c: Likewise.
29894 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29895 * benchtests/bench-strcpy-ifunc.c: Likewise.
29896 * benchtests/bench-strcspn-ifunc.c: Likewise.
29897 * benchtests/bench-strlen-ifunc.c: Likewise.
29898 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29899 * benchtests/bench-strncat-ifunc.c: Likewise.
29900 * benchtests/bench-strncmp-ifunc.c: Likewise.
29901 * benchtests/bench-strncpy-ifunc.c: Likewise.
29902 * benchtests/bench-strnlen-ifunc.c: Likewise.
29903 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29904 * benchtests/bench-strrchr-ifunc.c: Likewise.
29905 * benchtests/bench-strsep-ifunc.c: Likewise.
29906 * benchtests/bench-strspn-ifunc.c: Likewise.
29907 * benchtests/bench-strstr-ifunc.c: Likewise.
29908
29909 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29910
29911 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29912
29913 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29914
29915 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29916 * rt/aio.h: Likewise.
29917 * sysdeps/gnu/bits/utmp.h: Likewise.
29918 * sysdeps/gnu/bits/utmpx.h: Likewise.
29919 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29920 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29921 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29922 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29923 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29924 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29925 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29926 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29927 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29928 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29929 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29930 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29931 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29933 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29934 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29935 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29936 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29937 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29938 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29939 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29940 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29941 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29942 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29943 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29945 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29946 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29947 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29948 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29949 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29950 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29951 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29952 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29953 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29954 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29955 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29956 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29958 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29959 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29960 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29961
29962 2013-11-25 Carlos O'Donell <carlos@redhat.com>
29963
29964 [BZ #16245]
29965 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29966 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29967
29968 2013-11-25 Joseph Myers <joseph@codesourcery.com>
29969
29970 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29971 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29972 Likewise.
29973
29974 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29975
29976 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29977 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29978 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29979 (__fesetround): Remove define.
29980 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29981 rounding and exceptions handling.
29982 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29983 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29984 (__fe_nomask_env): Likewise.
29985 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29986 __fegetround instead of fegetround.
29987 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29988 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29989
29990 2013-11-21 Roland McGrath <roland@hack.frob.com>
29991
29992 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29993 it's there.
29994
29995 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29996
29997 2013-11-21 Meador Inge <meadori@codesourcery.com>
29998
29999 [BZ #11157]
30000 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30001 (encrypt_r): Likewise.
30002 * malloc/obstack.h (obstack_free): Likewise.
30003 * posix/unistd.h (encrypt): Likewise.
30004
30005 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30006
30007 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30008 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30009 DL_CALL_DT_FINI() that call the functions directly.
30010 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30011 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30012 * elf/dl-fini.c: Likewise.
30013
30014 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30015
30016 * malloc/hooks.c (memalign_check): Add alignment rounding.
30017 * malloc/malloc.c (_mid_memalign): New function.
30018 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30019 Implement by calling _mid_memalign.
30020 * manual/probes.texi (Memory Allocation Probes): Remove
30021 memory_valloc_retry and memory_pvalloc_retry.
30022
30023 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30024
30025 * locale/programs/locarchive.c (open_archive): Add const
30026 qualifier to ARCHIVEFNAME and copy default fname to
30027 DEFAULT_FNAME.
30028
30029 [BZ #15601]
30030 * libio/tst-widetext.input: Rename Oriya to Odia.
30031 * locale/iso-639.def: Likewise.
30032
30033 * manual/probes.texi (Mathematical Function Probes): Add
30034 documentation for sin, cos, asin and acos probes.
30035 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30036 (__sin32): Add slowasin probe.
30037 (__cos32): Add slowacos probe.
30038 (__mpsin): Add slowsin probe.
30039 (__mpcos): Add slowcos probe.
30040
30041 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30042
30043 [BZ #15483]
30044 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30045 thread-local __sim_exceptions_thread and global
30046 __sim_exceptions_global.
30047 (__sim_disabled_exceptions): Change to thread-local
30048 __sim_disabled_exceptions_thread and global
30049 __sim_disabled_exceptions_global.
30050 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30051 and global __sim_round_mode_global.
30052 (__simulate_exceptions): Use thread-local floating-point state and
30053 set global state from it as needed.
30054 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30055 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30056 __sim_round_mode_thread.
30057 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30058 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30059 and global __sim_exceptions_global.
30060 (__sim_disabled_exceptions): Change to thread-local
30061 __sim_disabled_exceptions_thread and global
30062 __sim_disabled_exceptions_global.
30063 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30064 and global __sim_round_mode_global.
30065 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30066 (SIM_SET_GLOBAL): Likewise.
30067 * sysdeps/powerpc/soft-fp/sfp-machine.h
30068 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30069 __sim_round_mode_thread.
30070 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30071 __sim_disabled_exceptions_thread.
30072 (__sim_exceptions): Change to __sim_exceptions_thread.
30073 (__sim_disabled_exceptions): Change to
30074 __sim_disabled_exceptions_thread.
30075 (__sim_round_mode): Change to __sim_round_mode_thread.
30076 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30077 thread-local floating-point state and set global state from it as
30078 needed.
30079 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30080 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30081 (__sim_disabled_exceptions): Remove extern declaration.
30082 (feenableexcept): Use thread-local floating-point state and set
30083 global state from it as needed.
30084 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30085 extern declaration.
30086 (__sim_disabled_exceptions): Likewise.
30087 (__sim_round_mode): Likewise.
30088 (__fegetenv): Use thread-local floating-point state.
30089 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30090 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30091 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30092 floating-point state and set global state from it as needed.
30093 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30094 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30095 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30096 Likewise.
30097 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30098 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30099 Likewise.
30100 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30101 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30102 Use __sim_round_mode_thread.
30103 * math/test-fenv-tls.c: New file.
30104 * math/Makefile (tests): Add test-fenv-tls.
30105 ($(objpfx)test-fenv-tls): Depend on
30106 $(common-objpfx)nptl/libpthread.so.
30107
30108 2013-11-19 Andreas Schwab <schwab@suse.de>
30109
30110 * locale/programs/locale.c (show_info): Decode wordarray elements.
30111 * locale/categories.def (LC_MONETARY): Add element for
30112 _NL_MONETARY_CRNCYSTR.
30113 * locale/C-monetary.c (conversion_rate): New variable.
30114 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30115 element.
30116
30117 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30118
30119 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30120 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30121
30122 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30123
30124 * elf/Makefile (tst-auxv): New test.
30125 * elf/tst-auxv.c: New
30126 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30127
30128 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30129
30130 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30131 (hidden_proto): Caller changed.
30132 (hidden_tls_proto): New macro.
30133 (libc_hidden_tls_proto): Likewise.
30134 (rtld_hidden_tls_proto): Likewise.
30135 (libm_hidden_tls_proto): Likewise.
30136 (libresolv_hidden_tls_proto): Likewise.
30137 (librt_hidden_tls_proto): Likewise.
30138 (libdl_hidden_tls_proto): Likewise.
30139 (libnss_files_hidden_tls_proto): Likewise.
30140 (libnsl_hidden_tls_proto): Likewise.
30141 (libnss_nisplus_hidden_tls_proto): Likewise.
30142 (libutil_hidden_tls_proto): Likewise.
30143
30144 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30145
30146 [BZ #10253]
30147 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30148 (decompose_rpath): Defer expansion to fillin_rpath.
30149 (_dl_init_paths): Pass linkmap to fillin_rpath.
30150
30151 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30152
30153 * benchtests/Makefile: Add strsep.
30154 * benchtests/bench-strsep.c: New file: strsep benchtest.
30155 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30156
30157 2013-11-18 Andreas Schwab <schwab@suse.de>
30158
30159 * locale/programs/locale.c (show_info) [case byte]: Check for
30160 '\377' instead of '\177'.
30161 * locale/C-monetary.c (not_available): Always use "\377".
30162 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30163 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30164 detect unavailable sign_posn locale elements.
30165 * locale/localeconv.c (__localeconv): For grouping and
30166 mon_grouping handle "\177" and "\377" like no grouping.
30167 (INT_ELEM): New macro. Use it to set all numeric members.
30168 * locale/programs/ld-monetary.c (monetary_read)
30169 <tok_mon_grouping>: Normalize single -1 to the empty string.
30170 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30171 Likewise.
30172
30173 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30174
30175 [BZ #16055]
30176 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30177 when we match (nil).
30178 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30179
30180 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30181
30182 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30183 (NO_TEST_INLINE): Update value.
30184 (ERRNO_UNCHANGED): Likewise.
30185 (ERRNO_EDOM): Likewise.
30186 (ERRNO_ERANGE): Likewise.
30187 (IGNORE_RESULT): Likewise.
30188 (check_float_internal): Check signs of NaN results if
30189 TEST_NAN_SIGN used.
30190 (check_complex): Pass TEST_NAN_SIGN flag through to second
30191 check_float_internal call.
30192 (copysign_test_data): Add tests with quiet NaNs as second
30193 argument. Use TEST_NAN_SIGN.
30194 (fabs_test_data): Add test of negative quiet NaN argument. Use
30195 TEST_NAN_SIGN.
30196 (signbit_test_data): Add tests of quiet NaN argument.
30197 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30198
30199 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30200 $ignore_result.
30201 (parse_args): Handle function results specified as IGNORE.
30202 * math/libm-test.inc (IGNORE_RESULT): New macro.
30203 (check_float_internal): Do not check numerical result if flag
30204 IGNORE_RESULT set.
30205 (check_complex): Pass through IGNORE_RESULT to second
30206 check_float_internal call.
30207 (check_int): Do not check numerical result if flag IGNORE_RESULT
30208 set.
30209 (check_long): Likewise.
30210 (check_bool): Likewise.
30211 (check_longlong): Likewise.
30212 (lrint_test_data): Add tests of infinite and NaN arguments.
30213 (lrint_tonearest_test_data): Likewise.
30214 (lrint_towardzero_test_data): Likewise.
30215 (lrint_downward_test_data): Likewise.
30216 (lrint_upward_test_data): Likewise.
30217 (llrint_test_data): Likewise.
30218 (llrint_tonearest_test_data): Likewise.
30219 (llrint_towardzero_test_data): Likewise.
30220 (llrint_downward_test_data): Likewise.
30221 (llrint_upward_test_data): Likewise.
30222 (lround_test_data): Likewise.
30223 (llround_test_data): Likewise.
30224
30225 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30226 (ERRNO_UNCHANGED): Update value.
30227 (ERRNO_EDOM): Likewise.
30228 (ERRNO_ERANGE): Likewise.
30229 (NO_TEST_INLINE_FLOAT): New macro.
30230 (NO_TEST_INLINE_DOUBLE): Likewise.
30231 (enable_test): New function.
30232 (RUN_TEST_f_f): Check enable_test before running test.
30233 (RUN_TEST_2_f): Likewise.
30234 (RUN_TEST_fff_f): Likewise.
30235 (RUN_TEST_c_f): Likewise.
30236 (RUN_TEST_f_f1): Likewise.
30237 (RUN_TEST_fF_f1): Likewise.
30238 (RUN_TEST_fI_f1): Likewise.
30239 (RUN_TEST_ffI_f1): Likewise.
30240 (RUN_TEST_c_c): Likewise.
30241 (RUN_TEST_cc_c): Likewise.
30242 (RUN_TEST_f_i): Likewise.
30243 (RUN_TEST_f_i_tg): Likewise.
30244 (RUN_TEST_ff_i_tg): Likewise.
30245 (RUN_TEST_f_b): Likewise.
30246 (RUN_TEST_f_b_tg): Likewise.
30247 (RUN_TEST_f_l): Likewise.
30248 (RUN_TEST_f_L): Likewise.
30249 (RUN_TEST_fFF_11): Likewise.
30250 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30251 conditionals.
30252 (cosh_test_data): Likewise.
30253 (exp_test_data): Likewise.
30254 (expm1_test_data): Likewise.
30255 (hypot_test_data): Likewise.
30256 (pow_test_data): Likewise.
30257 (sinh_test_data): Likewise.
30258 (tanh_test_data): Likewise.
30259 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30260 flags argument.
30261
30262 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30263 tests with quiet NaN input and output.
30264 (acosh_test_data): Likewise.
30265 (asin_test_data): Likewise.
30266 (asinh_test_data): Likewise.
30267 (atan_test_data): Likewise.
30268 (atanh_test_data): Likewise.
30269 (atan2_test_data): Likewise.
30270 (cbrt_test_data): Likewise.
30271 (cos_test_data): Likewise.
30272 (cosh_test_data): Likewise.
30273 (erf_test_data): Likewise.
30274 (erfc_test_data): Likewise.
30275 (exp_test_data): Likewise.
30276 (exp10_test_data): Likewise.
30277 (exp2_test_data): Likewise.
30278 (expm1_test_data): Likewise.
30279 (hypot_test_data): Likewise.
30280 (j0_test_data): Likewise.
30281 (j1_test_data): Likewise.
30282 (jn_test_data): Likewise.
30283 (lgamma_test_data): Likewise.
30284 (log_test_data): Likewise.
30285 (log10_test_data): Likewise.
30286 (log1p_test_data): Likewise.
30287 (log2_test_data): Likewise.
30288 (pow_test_data): Likewise.
30289 (scalb_test_data): Likewise.
30290 (sin_test_data): Likewise.
30291 (sincos_test_data): Likewise.
30292 (sinh_test_data): Likewise.
30293 (tan_test_data): Likewise.
30294 (tanh_test_data): Likewise.
30295 (tgamma_test_data): Likewise.
30296 (y0_test_data): Likewise.
30297 (y1_test_data): Likewise.
30298 (yn_test_data): Likewise.
30299
30300 [BZ #16167]
30301 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30302 argument being NaN and avoid computations with second argument in
30303 that case.
30304 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30305 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30306 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30307
30308 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30309
30310 * locale/iso-639.def: Add Chitwani Tharu (the).
30311
30312 2013-11-14 Andreas Schwab <schwab@suse.de>
30313
30314 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30315 word instead of empty string.
30316
30317 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30318
30319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30320 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30322 (__fe_nomask_env): Likewise.
30323
30324 2013-11-13 Steve Ellcey <sellcey@mips.com>
30325
30326 * benchtests/bench-timing.h: Include time.h.
30327
30328 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30329
30330 [BZ #15997]
30331 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30332 to 3.4.0 for x32.
30333 * sysdeps/unix/sysv/linux/configure: Regenerated.
30334
30335 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30336
30337 [BZ #16151]
30338 * stdlib/strtod_l.c (round_and_return): Do not consider
30339 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30340 exponent one less than half the least subnormal exponent.
30341 * stdlib/test-strtod-round-data: Add more tests.
30342 * stdlib/tst-strtod-round.c (tests): Regenerated.
30343
30344 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30345
30346 [BZ #14143]
30347 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30348 (__fe_mask_env): Likewise.
30349 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30350 libm_hidden_proto and add function prototype.
30351 (__fe_mask_env): Add function prototype.
30352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30353 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30355 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30357 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30358
30359 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30360
30361 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30362 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30363
30364 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30365
30366 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30367 of htab_find_slot().
30368
30369 2013-11-11 David S. Miller <davem@davemloft.net>
30370
30371 [BZ #16150]
30372 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30373 symbol in the non-vis3 case in static builds.
30374 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30375 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30376 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30377 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30378
30379 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30380
30381 [BZ #387]
30382 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30383 it is empty.
30384
30385 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30386
30387 * benchtests/Makefile: Add bench-strtod.
30388 * benchtests/bench-strtod.c: New file: strtod benchtest
30389
30390 2013-11-11 Andreas Schwab <schwab@suse.de>
30391
30392 [BZ #16153]
30393 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30394 terminating NUL in key length.
30395
30396 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30397
30398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30399 Add artificial ODP entry for vDSO symbol for PPC64.
30400 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30401 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30402
30403 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30404
30405 [BZ #15374]
30406 * nss/getent.c (services_keys): Recognize services starting with digit.
30407
30408 2013-11-06 David S. Miller <davem@davemloft.net>
30409
30410 [BZ #15985]
30411 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30412 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30413
30414 2013-11-06 Will Newton <will.newton@linaro.org>
30415
30416 * manual/memory.texi (Malloc Examples): Remove register
30417 keyword from examples.
30418
30419 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30420
30421 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30422
30423 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30424
30425 [BZ #6981]
30426 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30427 depending on [__GCC_IEC_559 > 0].
30428 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30429 depending on [__GCC_IEC_559_COMPLEX > 0].
30430
30431 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30432
30433 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30434 to iso-639.def.
30435
30436 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30437
30438 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30439
30440 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30441
30442 [BZ #16112]
30443 * malloc/malloc (malloc_info): Do not handle first bin as
30444 special case.
30445
30446 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30447
30448 * locale/iso-639.def: Add Central Nahuatl (nhn).
30449
30450 2013-11-01 Bruno Haible <bruno@clisp.org>
30451
30452 [BZ #7003]
30453 * manual/math.texi (BSD Random): Specify range upper bound as
30454 in POSIX.
30455
30456 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30457
30458 * locale/iso-639.def: Add Meadow Mari (mhr).
30459
30460 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30461
30462 [BZ #14752], [BZ #15763]
30463 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30464 Validate name.
30465 * rt/tst_shm.c: Add test for escaping directory.
30466
30467 2013-10-31 Andreas Schwab <schwab@suse.de>
30468
30469 [BZ #15917]
30470 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30471 followed by 'x' as part of digit sequence.
30472 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30473
30474 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30475
30476 [BZ #16037]
30477 * configure.ac: allow GNU Make 4.0 and greater.
30478 * configure: Regenerated.
30479
30480 2013-10-30 Will Newton <will.newton@linaro.org>
30481
30482 [BZ #16038]
30483 * malloc/hooks.c (memalign_check): Limit alignment to the
30484 maximum representable power of two.
30485 * malloc/malloc.c (__libc_memalign): Likewise.
30486 * malloc/tst-memalign.c (do_test): Add test for very
30487 large alignment values.
30488 * malloc/tst-posix_memalign.c (do_test): Likewise.
30489
30490 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30491
30492 [BZ #11087]
30493 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30494 (munmap_chunk): Likewise.
30495 (mremap_chunk): Likewise.
30496
30497 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30498
30499 [BZ #15799]
30500 * stdlib/div.c (div): Remove obsolete code.
30501 * stdlib/ldiv.c (ldiv): Likewise.
30502 * stdlib/lldiv.c (lldiv): Likewise.
30503
30504 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30505
30506 [BZ #16071]
30507 * nss/nss_files/files-XXX.c (get_contents_ret): New
30508 enumerator.
30509 (get_contents): New function.
30510 (internal_getent): Use it. Expand size of LINEBUFLEN.
30511
30512 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30513
30514 * configure.in: Moved to ...
30515 * configure.ac: ... here. Change reference to configure.in
30516 to configure.ac.
30517 * sysdeps/arm/preconfigure.ac: ... here.
30518 configure.in to configure.ac.
30519 * sysdeps/gnu/configure.in: Moved to ...
30520 * sysdeps/gnu/configure.ac: ... here.
30521 * sysdeps/i386/configure.in: Moved to ...
30522 * sysdeps/i386/configure.ac: ... here.
30523 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30524 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30525 * sysdeps/mach/configure.in: Moved to ...
30526 * sysdeps/mach/configure.ac: ... here.
30527 * sysdeps/mach/hurd/configure.in: Moved to ...
30528 * sysdeps/mach/hurd/configure.ac: ... here.
30529 * sysdeps/powerpc/configure.in: Moved to ...
30530 * sysdeps/powerpc/configure.ac: ... here.
30531 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30532 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30533 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30534 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30535 * sysdeps/s390/s390-32/configure.in: Moved to ...
30536 * sysdeps/s390/s390-32/configure.ac: ... here.
30537 * sysdeps/s390/s390-64/configure.in: Moved to ...
30538 * sysdeps/s390/s390-64/configure.ac: ... here.
30539 * sysdeps/sh/configure.in: Moved to ...
30540 * sysdeps/sh/configure.ac: ... here.
30541 * sysdeps/sparc/configure.in: Moved to ...
30542 * sysdeps/sparc/configure.ac: ... here.
30543 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30544 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30545 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30546 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30547 * sysdeps/x86_64/configure.in: Moved to ...
30548 * sysdeps/x86_64/configure.ac: ... here.
30549 * sysdeps/x86_64/preconfigure.in: Moved to ...
30550 * sysdeps/x86_64/preconfigure.ac: ... here.
30551 * aclocal.m4: Change reference to configure.in to configure.ac.
30552 * config.h.in: Likewise.
30553 * manual/install.texi: Likewise.
30554 * manual/maint.texi: Likewise.
30555 * Makefile: Likewise.
30556 * malloc/Makefile: Likewise.
30557 * nscd/Makefile: Likewise.
30558 * Makeconfig: Change reference to configure.in and
30559 preconfigure.in to configure.ac and preconfigure.ac
30560 respectively.
30561 * INSTALL: Regenerated.
30562 * configure: Likewise.
30563 * sysdeps/gnu/configure: Likewise.
30564 * sysdeps/i386/configure: Likewise.
30565 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30566 * sysdeps/mach/configure: Likewise.
30567 * sysdeps/mach/hurd/configure: Likewise.
30568 * sysdeps/powerpc/configure: Likewise.
30569 * sysdeps/powerpc/powerpc32/configure: Likewise.
30570 * sysdeps/powerpc/powerpc64/configure: Likewise.
30571 * sysdeps/s390/s390-32/configure: Likewise.
30572 * sysdeps/s390/s390-64/configure: Likewise.
30573 * sysdeps/sh/configure: Likewise.
30574 * sysdeps/sparc/configure: Likewise.
30575 * sysdeps/unix/sysv/linux/configure: Likewise.
30576 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30577 * sysdeps/x86_64/configure: Likewise.
30578 * sysdeps/x86_64/preconfigure: Likewise.
30579
30580 2013-10-29 Andreas Schwab <schwab@suse.de>
30581
30582 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30583
30584 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30585
30586 * benchtests/pow-inputs: Add new inputs.
30587
30588 * benchtests/exp-inputs: Add new inputs.
30589
30590 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30591 conditional check for return value.
30592 (__cos32): Likewise.
30593
30594 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30595
30596 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30597 to provide a boost for large inputs with word alignment.
30598 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30599 implementation based on optimized PPC64 strcpy.
30600 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30601 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30602 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30603 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30604
30605 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30606
30607 [BZ #2801]
30608 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30609
30610 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30611
30612 [BZ #14876]
30613 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30614 * time/tst-strptime.c (day_tests): Add testcase.
30615
30616 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30617
30618 [BZ #14029]
30619 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30620
30621 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30622
30623 [BZ #16074]
30624 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30625 MAP_FAILED on error.
30626
30627 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30628
30629 [BZ #16072]
30630 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30631 heap for large requests.
30632
30633 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30634
30635 [BZ #9954]
30636 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30637 result if the result has no associated interface.
30638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30639 interface for all 127.X.Y.Z addresses.
30640
30641 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30642
30643 * locale/iso-639.def: Add Ligurian (lij)
30644
30645 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30646
30647 [BZ #15825]
30648 * sunrpc/rpc_main.c: Document rpcgen -5.
30649
30650 2013-10-19 Michael Stahl <mstahl@redhat.com>
30651
30652 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30653
30654 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30655
30656 [BZ #10278]
30657 * posix/glob.c: Match only directories when trailing slash is present.
30658 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30659 (main): Add testcase.
30660
30661 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30662
30663 [BZ #15670]
30664 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30665
30666 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30667
30668 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30669 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30670 AUTH_DES and cindex for FIPS 140-2.
30671 (DES Encryption): Add cindex FIPS 46-3.
30672
30673 * locale/locarchive.h (struct locarhandle): Add fname.
30674 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30675 if an optional argument was specified to --list-archive,
30676 otherwise NULL.
30677 * locale/programs/locarchive.c (show_archive_content): Take new
30678 argument fname and pass it via ah.fname to open_archive.
30679 * locale/programs/localedef.h: Update decl.
30680 (open_archive): If AH->fname is non-null, open that file
30681 rather than the default file name, and don't ignore ENOENT.
30682 (create_archive): Set AH.fname to NULL.
30683 (delete_locales_from_archive): Likewise.
30684 (add_locales_to_archive): Likewise.
30685 * locale/programs/locfile.c (write_all_categories): Likewise.
30686
30687 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30688 Aldy Hernandez <aldyh@redhat.com>
30689
30690 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30691 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30692 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30693 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30694 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30696 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30697 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30698 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30699 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30700 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30701 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30702 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30703 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30704 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30705 Likewise.
30706 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30707 Likewise.
30708 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30709 Likewise.
30710 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30711 Likewise.
30712 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30713 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30714 Likewise.
30715 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30716 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30717 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30718 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30719 Likewise.
30720 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30721 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30722 * sysdeps/powerpc/preconfigure: Likewise.
30723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30724 Likewise.
30725 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30726 Replace contents of file by #include of <fenv_libc.h>.
30727 * sysdeps/powerpc/soft-fp/sfp-machine.h
30728 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30729 and <sys/prctl.h>.
30730 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30732 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30743 Allow copysignl PLT reference to be missing.
30744
30745 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30746 Joseph Myers <joseph@codesourcery.com
30747
30748 [BZ #15948]
30749 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30750 single character.
30751 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30752
30753 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30754
30755 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30756 * elf/tst-tls1.c: Likewise.
30757 * elf/tst-tls10.h: Likewise.
30758 * elf/tst-tls14.c: Likewise.
30759 * elf/tst-tls2.c: Likewise.
30760 * elf/tst-tls3.c: Likewise.
30761 * elf/tst-tls4.c: Likewise.
30762 * elf/tst-tls5.c: Likewise.
30763 * elf/tst-tls6.c: Likewise.
30764 * elf/tst-tls7.c: Likewise.
30765 * elf/tst-tls8.c: Likewise.
30766 * elf/tst-tls9.c: Likewise.
30767 * elf/tst-tlsmod1.c: Likewise.
30768 * elf/tst-tlsmod13.c: Likewise.
30769 * elf/tst-tlsmod13a.c: Likewise.
30770 * elf/tst-tlsmod14a.c: Likewise.
30771 * elf/tst-tlsmod16a.c: Likewise.
30772 * elf/tst-tlsmod16b.c: Likewise.
30773 * elf/tst-tlsmod2.c: Likewise.
30774 * elf/tst-tlsmod3.c: Likewise.
30775 * elf/tst-tlsmod4.c: Likewise.
30776 * elf/tst-tlsmod5.c: Likewise.
30777 * elf/tst-tlsmod6.c: Likewise.
30778
30779 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30780
30781 [BZ #12486]
30782 * malloc/malloc.c: remove checks for statistics.
30783
30784 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30785
30786 [BZ #15277]
30787 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30788 * inet/tst-network.c: Add testcase.
30789
30790 2013-10-17 Andreas Schwab <schwab@suse.de>
30791
30792 [BZ #15218]
30793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30794 to determine canonical name.
30795
30796 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30797
30798 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30799 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30801 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30803 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30804 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30805 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30807 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30808 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30811 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30812 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30813 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30815 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30816 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30817 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30820 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30821 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30822 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30823 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30824 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30825 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30827 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30830 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30831 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30832 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30833 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30834 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30835 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30836 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30837 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30838 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30839 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30841 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30842 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30843 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30844 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30845 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30848 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30850 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30852 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30853 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30854 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30855 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30856
30857 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30858
30859 [BZ #16041]
30860 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30861 make result into a quiet NaN.
30862
30863 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30864
30865 * soft-fp/adddf3.c: Fix horizontal whitespace.
30866 * soft-fp/addsf3.c: Likewise.
30867 * soft-fp/addtf3.c: Likewise.
30868 * soft-fp/divdf3.c: Likewise.
30869 * soft-fp/divsf3.c: Likewise.
30870 * soft-fp/divtf3.c: Likewise.
30871 * soft-fp/double.h: Likewise.
30872 * soft-fp/eqdf2.c: Likewise.
30873 * soft-fp/eqsf2.c: Likewise.
30874 * soft-fp/eqtf2.c: Likewise.
30875 * soft-fp/extenddftf2.c: Likewise.
30876 * soft-fp/extended.h: Likewise.
30877 * soft-fp/extendsfdf2.c: Likewise.
30878 * soft-fp/extendsftf2.c: Likewise.
30879 * soft-fp/extendxftf2.c: Likewise.
30880 * soft-fp/fixdfdi.c: Likewise.
30881 * soft-fp/fixdfsi.c: Likewise.
30882 * soft-fp/fixdfti.c: Likewise.
30883 * soft-fp/fixsfdi.c: Likewise.
30884 * soft-fp/fixsfsi.c: Likewise.
30885 * soft-fp/fixsfti.c: Likewise.
30886 * soft-fp/fixtfdi.c: Likewise.
30887 * soft-fp/fixtfsi.c: Likewise.
30888 * soft-fp/fixtfti.c: Likewise.
30889 * soft-fp/fixunsdfdi.c: Likewise.
30890 * soft-fp/fixunsdfsi.c: Likewise.
30891 * soft-fp/fixunsdfti.c: Likewise.
30892 * soft-fp/fixunssfdi.c: Likewise.
30893 * soft-fp/fixunssfsi.c: Likewise.
30894 * soft-fp/fixunssfti.c: Likewise.
30895 * soft-fp/fixunstfdi.c: Likewise.
30896 * soft-fp/fixunstfsi.c: Likewise.
30897 * soft-fp/fixunstfti.c: Likewise.
30898 * soft-fp/floatdidf.c: Likewise.
30899 * soft-fp/floatdisf.c: Likewise.
30900 * soft-fp/floatditf.c: Likewise.
30901 * soft-fp/floatsidf.c: Likewise.
30902 * soft-fp/floatsisf.c: Likewise.
30903 * soft-fp/floatsitf.c: Likewise.
30904 * soft-fp/floattidf.c: Likewise.
30905 * soft-fp/floattisf.c: Likewise.
30906 * soft-fp/floattitf.c: Likewise.
30907 * soft-fp/floatundidf.c: Likewise.
30908 * soft-fp/floatundisf.c: Likewise.
30909 * soft-fp/floatunditf.c: Likewise.
30910 * soft-fp/floatunsidf.c: Likewise.
30911 * soft-fp/floatunsisf.c: Likewise.
30912 * soft-fp/floatunsitf.c: Likewise.
30913 * soft-fp/floatuntidf.c: Likewise.
30914 * soft-fp/floatuntisf.c: Likewise.
30915 * soft-fp/floatuntitf.c: Likewise.
30916 * soft-fp/fmadf4.c: Likewise.
30917 * soft-fp/fmasf4.c: Likewise.
30918 * soft-fp/fmatf4.c: Likewise.
30919 * soft-fp/gedf2.c: Likewise.
30920 * soft-fp/gesf2.c: Likewise.
30921 * soft-fp/getf2.c: Likewise.
30922 * soft-fp/ledf2.c: Likewise.
30923 * soft-fp/lesf2.c: Likewise.
30924 * soft-fp/letf2.c: Likewise.
30925 * soft-fp/muldf3.c: Likewise.
30926 * soft-fp/mulsf3.c: Likewise.
30927 * soft-fp/multf3.c: Likewise.
30928 * soft-fp/negdf2.c: Likewise.
30929 * soft-fp/negsf2.c: Likewise.
30930 * soft-fp/negtf2.c: Likewise.
30931 * soft-fp/op-1.h: Likewise.
30932 * soft-fp/op-2.h: Likewise.
30933 * soft-fp/op-4.h: Likewise.
30934 * soft-fp/op-8.h: Likewise.
30935 * soft-fp/op-common.h: Likewise.
30936 * soft-fp/quad.h: Likewise.
30937 * soft-fp/single.h: Likewise.
30938 * soft-fp/soft-fp.h: Likewise.
30939 * soft-fp/sqrtdf2.c: Likewise.
30940 * soft-fp/sqrtsf2.c: Likewise.
30941 * soft-fp/sqrttf2.c: Likewise.
30942 * soft-fp/subdf3.c: Likewise.
30943 * soft-fp/subsf3.c: Likewise.
30944 * soft-fp/subtf3.c: Likewise.
30945 * soft-fp/truncdfsf2.c: Likewise.
30946 * soft-fp/trunctfdf2.c: Likewise.
30947 * soft-fp/trunctfsf2.c: Likewise.
30948 * soft-fp/trunctfxf2.c: Likewise.
30949 * soft-fp/unorddf2.c: Likewise.
30950 * soft-fp/unordsf2.c: Likewise.
30951 * soft-fp/unordtf2.c: Likewise.
30952
30953 2013-10-15 Joseph Myers <joseph@codesourcery.com>
30954
30955 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30956 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30957
30958 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
30959
30960 * elf/dl-libc.c: Clear initfini list after freeing.
30961
30962 2013-10-14 Joseph Myers <joseph@codesourcery.com>
30963
30964 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30965 * soft-fp/addsf3.c: Likewise.
30966 * soft-fp/addtf3.c: Likewise.
30967 * soft-fp/divdf3.c: Likewise.
30968 * soft-fp/divsf3.c: Likewise.
30969 * soft-fp/divtf3.c: Likewise.
30970 * soft-fp/double.h: Likewise.
30971 * soft-fp/eqdf2.c: Likewise.
30972 * soft-fp/eqsf2.c: Likewise.
30973 * soft-fp/eqtf2.c: Likewise.
30974 * soft-fp/extenddftf2.c: Likewise.
30975 * soft-fp/extended.h: Likewise.
30976 * soft-fp/extendsfdf2.c: Likewise.
30977 * soft-fp/extendsftf2.c: Likewise.
30978 * soft-fp/extendxftf2.c: Likewise.
30979 * soft-fp/fixdfdi.c: Likewise.
30980 * soft-fp/fixdfsi.c: Likewise.
30981 * soft-fp/fixdfti.c: Likewise.
30982 * soft-fp/fixsfdi.c: Likewise.
30983 * soft-fp/fixsfsi.c: Likewise.
30984 * soft-fp/fixsfti.c: Likewise.
30985 * soft-fp/fixtfdi.c: Likewise.
30986 * soft-fp/fixtfsi.c: Likewise.
30987 * soft-fp/fixtfti.c: Likewise.
30988 * soft-fp/fixunsdfdi.c: Likewise.
30989 * soft-fp/fixunsdfsi.c: Likewise.
30990 * soft-fp/fixunsdfti.c: Likewise.
30991 * soft-fp/fixunssfdi.c: Likewise.
30992 * soft-fp/fixunssfsi.c: Likewise.
30993 * soft-fp/fixunssfti.c: Likewise.
30994 * soft-fp/fixunstfdi.c: Likewise.
30995 * soft-fp/fixunstfsi.c: Likewise.
30996 * soft-fp/fixunstfti.c: Likewise.
30997 * soft-fp/floatdidf.c: Likewise.
30998 * soft-fp/floatdisf.c: Likewise.
30999 * soft-fp/floatditf.c: Likewise.
31000 * soft-fp/floatsidf.c: Likewise.
31001 * soft-fp/floatsisf.c: Likewise.
31002 * soft-fp/floatsitf.c: Likewise.
31003 * soft-fp/floattidf.c: Likewise.
31004 * soft-fp/floattisf.c: Likewise.
31005 * soft-fp/floattitf.c: Likewise.
31006 * soft-fp/floatundidf.c: Likewise.
31007 * soft-fp/floatundisf.c: Likewise.
31008 * soft-fp/floatunsidf.c: Likewise.
31009 * soft-fp/floatunsisf.c: Likewise.
31010 * soft-fp/floatuntidf.c: Likewise.
31011 * soft-fp/floatuntisf.c: Likewise.
31012 * soft-fp/floatuntitf.c: Likewise.
31013 * soft-fp/fmadf4.c: Likewise.
31014 * soft-fp/fmasf4.c: Likewise.
31015 * soft-fp/fmatf4.c: Likewise.
31016 * soft-fp/gedf2.c: Likewise.
31017 * soft-fp/gesf2.c: Likewise.
31018 * soft-fp/getf2.c: Likewise.
31019 * soft-fp/ledf2.c: Likewise.
31020 * soft-fp/lesf2.c: Likewise.
31021 * soft-fp/letf2.c: Likewise.
31022 * soft-fp/muldf3.c: Likewise.
31023 * soft-fp/mulsf3.c: Likewise.
31024 * soft-fp/multf3.c: Likewise.
31025 * soft-fp/negdf2.c: Likewise.
31026 * soft-fp/negsf2.c: Likewise.
31027 * soft-fp/negtf2.c: Likewise.
31028 * soft-fp/op-1.h: Likewise.
31029 * soft-fp/op-2.h: Likewise.
31030 * soft-fp/op-4.h: Likewise.
31031 * soft-fp/op-8.h: Likewise.
31032 * soft-fp/op-common.h: Likewise.
31033 * soft-fp/quad.h: Likewise.
31034 * soft-fp/single.h: Likewise.
31035 * soft-fp/soft-fp.h: Likewise.
31036 * soft-fp/sqrtdf2.c: Likewise.
31037 * soft-fp/sqrtsf2.c: Likewise.
31038 * soft-fp/sqrttf2.c: Likewise.
31039 * soft-fp/subdf3.c: Likewise.
31040 * soft-fp/subsf3.c: Likewise.
31041 * soft-fp/subtf3.c: Likewise.
31042 * soft-fp/truncdfsf2.c: Likewise.
31043 * soft-fp/trunctfdf2.c: Likewise.
31044 * soft-fp/trunctfsf2.c: Likewise.
31045 * soft-fp/trunctfxf2.c: Likewise.
31046 * soft-fp/unorddf2.c: Likewise.
31047 * soft-fp/unordsf2.c: Likewise.
31048 * soft-fp/unordtf2.c: Likewise.
31049
31050 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31051
31052 [BZ #15672]
31053 * misc/error.c (error_tail): Fix possible buffer overflow.
31054
31055 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31056
31057 [BZ #13028]
31058 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31059 address.
31060
31061 2013-10-14 P. J. McDermott <pj@pehjota.net>
31062
31063 [BZ #832]
31064 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31065 testing pipefail option.
31066
31067 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31068
31069 * soft-fp/double.h: Indent preprocessor directives inside #if.
31070 * soft-fp/extended.h: Likewise.
31071 * soft-fp/op-2.h: Likewise.
31072 * soft-fp/op-4.h: Likewise.
31073 * soft-fp/op-common.h: Likewise.
31074 * soft-fp/quad.h: Likewise.
31075 * soft-fp/single.h: Likewise.
31076 * soft-fp/soft-fp.h: Likewise.
31077
31078 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31079
31080 * iconv/iconv_prog.c: Fix typos.
31081 * stdio-common/psiginfo-data.h: Likewise.
31082
31083 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31084
31085 [BZ #15764]
31086 * locale/setlocale.c: Fix typo.
31087
31088 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31089
31090 [BZ #16036]
31091 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31092 signaling NaN arguments.
31093 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31094 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31095
31096 [BZ #14910]
31097 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31098 unordered operands.
31099 * soft-fp/gesf2.c (__gesf2): Likewise.
31100 * soft-fp/getf2.c (__getf2): Likewise.
31101 * soft-fp/ledf2.c (__ledf2): Likewise.
31102 * soft-fp/lesf2.c (__lesf2): Likewise.
31103 * soft-fp/letf2.c (__letf2): Likewise.
31104
31105 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31106 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31107 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31108 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31109 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31110 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31111 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31112 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31113 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31114 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31115 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31116 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31117 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31118 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31119 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31120 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31121 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31122 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31123 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31124 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31125 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31126 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31127 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31128 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31129 * soft-fp/floattidf.c (__floattidf): Likewise.
31130 * soft-fp/floattisf.c (__floattisf): Likewise.
31131 * soft-fp/floattitf.c (__floattitf): Likewise.
31132 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31133 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31134 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31135 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31136 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31137 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31138 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31139 * soft-fp/gesf2.c (__gesf2): Likewise.
31140 * soft-fp/getf2.c (__getf2): Likewise.
31141 * soft-fp/ledf2.c (__ledf2): Likewise.
31142 * soft-fp/lesf2.c (__lesf2): Likewise.
31143 * soft-fp/letf2.c (__letf2): Likewise.
31144
31145 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31146 Undefine and redefine.
31147 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31148 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31149 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31150 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31151 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31152 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31153 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31154 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31155 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31156 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31157 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31158 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31159 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31160 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31161 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31162
31163 [BZ #16032]
31164 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31165 without decrementing exponent if mantissa >= that for the
31166 denominator, not >.
31167 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31168 denominator, not >. Decrement exponent in < case instead of
31169 incrementing in >= case.
31170 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31171 without decrementing exponent if mantissa >= that for the
31172 denominator, not >.
31173
31174 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31175 computing saturated result for unsigned overflow.
31176
31177 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31178 Jeff Law <law@redhat.com>
31179
31180 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31181 (atan2Mp): Add systemtap probe marker.
31182 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31183 (__ieee754_log): Add systemtap probe marker.
31184 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31185 (atanMp): Add systemtap probe marker.
31186 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31187 (tanMp): Add systemtap probe marker.
31188 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31189 (__slowexp): Add systemtap probe marker.
31190 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31191 (__slowpow): Add systemtap probe marker.
31192 * manual/probes.texi: Document probes.
31193
31194 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31195
31196 [BZ #15362]
31197 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31198 written.
31199 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31200 written.
31201 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31202 written to buffer but not flushed.
31203 * libio/iofwrite_u.c: Likewise.
31204 * libio/iopadn.c: Return bytes returned even if EOF was
31205 encountered.
31206 * libio/iowpadn.c: Likewise.
31207 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31208 if _IO_padn does not write the whole buffer.
31209 [!COMPILE_WPRINTF] (PAD): Likewise.
31210
31211 2013-10-10 David S. Miller <davem@davemloft.net>
31212
31213 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31214 directory block.
31215
31216 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31217
31218 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31219 instead of FSF address.
31220 * soft-fp/fixdfti.c: Likewise.
31221 * soft-fp/fixsfti.c: Likewise.
31222 * soft-fp/fixtfti.c: Likewise.
31223 * soft-fp/fixunsdfti.c: Likewise.
31224 * soft-fp/fixunssfti.c: Likewise.
31225 * soft-fp/fixunstfti.c: Likewise.
31226 * soft-fp/floattidf.c: Likewise.
31227 * soft-fp/floattisf.c: Likewise.
31228 * soft-fp/floattitf.c: Likewise.
31229 * soft-fp/floatuntidf.c: Likewise.
31230 * soft-fp/floatuntisf.c: Likewise.
31231 * soft-fp/floatuntitf.c: Likewise.
31232 * soft-fp/trunctfxf2.c: Likewise.
31233
31234 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31235 * soft-fp/fixdfti.c: Likewise.
31236 * soft-fp/fixsfti.c: Likewise.
31237 * soft-fp/fixtfti.c: Likewise.
31238 * soft-fp/fixunsdfti.c: Likewise.
31239 * soft-fp/fixunssfti.c: Likewise.
31240 * soft-fp/fixunstfti.c: Likewise.
31241 * soft-fp/floattidf.c: Likewise.
31242 * soft-fp/floattisf.c: Likewise.
31243 * soft-fp/floattitf.c: Likewise.
31244 * soft-fp/floatuntidf.c: Likewise.
31245 * soft-fp/floatuntisf.c: Likewise.
31246 * soft-fp/floatuntitf.c: Likewise.
31247 * soft-fp/trunctfxf2.c: Likewise.
31248
31249 2013-10-10 David S. Miller <davem@davemloft.net>
31250
31251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31252
31253 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31254
31255 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31256 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31257 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31258 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31259 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31260 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31261 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31262
31263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31264 for NaNs before doing comparisons on argument.
31265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31266 Likewise.
31267
31268 2013-10-10 Will Newton <will.newton@linaro.org>
31269
31270 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31271 passed to _int_memalign does not overflow.
31272
31273 2013-10-10 Torvald Riegel <triegel@redhat.com>
31274
31275 * scripts/bench.pl: Add include-sources directive.
31276 * benchtests/README: Update documentation.
31277
31278 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31279
31280 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31281 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31282 instead of FP_INIT_ROUNDMODE.
31283 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31284 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31285
31286 [BZ #16034]
31287 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31288 copy class of input value.
31289 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31290 not handle exceptions.
31291 * soft-fp/negsf2.c (__negsf2): Likewise.
31292 * soft-fp/negtf2.c (__negtf2): Likewise.
31293 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31294
31295 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31296
31297 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31298 semicolon. From Linux kernel.
31299
31300 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31301
31302 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31303
31304 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31305
31306 [BZ #156]
31307 * manual/socket.texi: Added statement about buffer
31308 for gethostbyname2_r.
31309
31310 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31311
31312 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31313 Use .p2align directive instead, throughout.
31314 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31315 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31316 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31317 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31319 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31320 * sysdeps/x86_64/strchr.S: Likewise.
31321 * sysdeps/x86_64/strrchr.S: Likewise.
31322
31323 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31324
31325 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31326
31327 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31328
31329 * sysdeps/generic/math_private.h (__mpsin1): Remove
31330 declaration.
31331 (__mpcos1): Likewise.
31332 (__mpsin): New argument __range_reduce.
31333 (__mpcos): Likewise.
31334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31335 (slow): Use __mpsin and __mpcos.
31336 (slow1): Likewise.
31337 (slow2): Likewise.
31338 (sloww): Likewise.
31339 (sloww1): Likewise.
31340 (sloww2): Likewise.
31341 (bsloww): Likewise.
31342 (bsloww1): Likewise.
31343 (bsloww2): Likewise.
31344 (cslow2): Likewise.
31345 (csloww): Likewise.
31346 (csloww1): Likewise.
31347 (csloww2): Likewise.
31348 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31349 range_reduce. Merge in __mpsin1.
31350 (__mpcos): Likewise.
31351 (__mpsin1): Remove.
31352 (__mpcos1): Likewise.
31353
31354 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31355
31356 * locale/loadlocale.c (_nl_intern_locale_data): Use
31357 LOCFILE_ALIGNED_P.
31358 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31359 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31360 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31361 obstack data is appropriately aligned.
31362 (obstack_int32_grow_fast): Likewise.
31363 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31364 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31365 (add_locale_uint32_array): Likewise.
31366
31367 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31368
31369 * benchtests/Makefile: Remove ARGLIST and RET variables.
31370 ($(objpfx)bench-%.c): Pass only function name to the script.
31371 * benchtests/README: Update documentation.
31372 * benchtests/acos-inputs: Add new directives.
31373 * benchtests/acosh-inputs: Likewise.
31374 * benchtests/asin-inputs: Likewise.
31375 * benchtests/asinh-inputs: Likewise.
31376 * benchtests/atan-inputs: Likewise.
31377 * benchtests/atanh-inputs: Likewise.
31378 * benchtests/cos-inputs: Likewise.
31379 * benchtests/cosh-inputs: Likewise.
31380 * benchtests/exp-inputs: Likewise.
31381 * benchtests/log-inputs: Likewise.
31382 * benchtests/pow-inputs: Likewise.
31383 * benchtests/rint-inputs: Likewise.
31384 * benchtests/sin-inputs: Likewise.
31385 * benchtests/sinh-inputs: Likewise.
31386 * benchtests/tan-inputs: Likewise.
31387 * benchtests/tanh-inputs: Likewise.
31388 * scripts/bench.pl: Add support for new directives.
31389
31390 2013-10-07 Alan Modra <amodra@gmail.com>
31391
31392 * README: Fix careless merge.
31393
31394 2013-10-05 Alan Modra <amodra@gmail.com>
31395
31396 * NEWS: Mention powerpc64le support and bugs fixed.
31397 * README: Both big-endian and little-endian powerpc64 supported.
31398
31399 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31400
31401 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31402 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31403 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31404 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31405
31406 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31407
31408 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31409 match prototype.
31410
31411 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31412
31413 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31414 Move -mhard-float appending from
31415 ports/sysdeps/powerpc/powerpc32/Makefile.
31416 [$(with-fp) = yes] (ASFLAGS): Likewise.
31417 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31418 * sysdeps/powerpc/nofpu: Move directory from
31419 ports/sysdeps/powerpc/nofpu.
31420 * sysdeps/powerpc/soft-fp: Move directory from
31421 ports/sysdeps/powerpc/soft-fp.
31422 * sysdeps/powerpc/powerpc32/405: Move directory from
31423 ports/sysdeps/powerpc/powerpc32/405.
31424 * sysdeps/powerpc/powerpc32/440: Move directory from
31425 ports/sysdeps/powerpc/powerpc32/440.
31426 * sysdeps/powerpc/powerpc32/464: Move directory from
31427 ports/sysdeps/powerpc/powerpc32/464.
31428 * sysdeps/powerpc/powerpc32/476: Move directory from
31429 ports/sysdeps/powerpc/powerpc32/476.
31430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31431 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31433 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31435 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31437 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31439 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31440 * README: Update for powerpc-*-linux-gnu software floating point
31441 support in libc.
31442
31443 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31444 case to powerpc/powerpc32*.
31445 * sysdeps/unix/sysv/linux/configure: Regenerated.
31446
31447 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31448 (_FPU_MASK_OM): Define as 0x04.
31449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31451 0x00c10080.
31452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31453 0x0000003c.
31454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31455
31456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31457 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31458 getcontext_e500.
31459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31460 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31461 setcontext_e500.
31462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31463 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31464 and setcontext_e500.
31465
31466 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31467
31468 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31469
31470 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31471
31472 * manual/threads.texi (Default Thread Attributes): Fix typo.
31473
31474 2013-10-04 Will Newton <will.newton@linaro.org>
31475
31476 * malloc/Makefile: Add tst-memalign.
31477 * malloc/tst-memalign.c: New file.
31478
31479 * malloc/tst-posix_memalign.c: Add comments.
31480 (do_test): Add comments and call free on all potentially
31481 allocated pointers. Add space after cast.
31482
31483 * malloc/tst-pvalloc.c: Add comments.
31484 (do_test): Add comments and call free on all potentially
31485 allocated pointers. Remove duplicate check for NULL pointer.
31486 Add space after cast.
31487
31488 * malloc/tst-valloc.c: Add comments.
31489 (do_test): Add comments and call free on all potentially
31490 allocated pointers. Remove duplicate check for NULL pointer.
31491 Add space after cast.
31492
31493 2013-10-04 Alan Modra <amodra@gmail.com>
31494
31495 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31496 Use stdint types in rather than __attribute__((mode())).
31497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31498
31499 2013-10-04 Alan Modra <amodra@gmail.com>
31500
31501 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31502 Correct handling of unaligned relocs for little-endian.
31503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31504
31505 2013-10-04 Alan Modra <amodra@gmail.com>
31506
31507 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31508 * configure: Regenerate.
31509 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31510 * shlib-versions: Likewise.
31511
31512 2013-10-04 Alan Modra <amodra@gmail.com>
31513
31514 * string/tester.c (test_memrchr): Increment reported test cycle.
31515
31516 2013-10-04 Alan Modra <amodra@gmail.com>
31517
31518 * string/test-memcpy.c (do_one_test): When reporting errors, print
31519 string address and don't overrun end of string.
31520
31521 2013-10-04 Alan Modra <amodra@gmail.com>
31522
31523 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31524 insrdi. Make better use of reg selection to speed exit slightly.
31525 Schedule entry path a little better. Remove useless "are we done"
31526 checks on entry to main loop. Handle wrapping around zero address.
31527 Correct main loop count. Handle single left-over word from main
31528 loop inline rather than by using loop_small. Remove extra word
31529 case in loop_small caused by wrong loop count. Add little-endian
31530 support.
31531 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31532 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31533 cache hint.
31534 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31535 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31536 support. Avoid rlwimi.
31537 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31538
31539 2013-10-04 Alan Modra <amodra@gmail.com>
31540
31541 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31542 insrdi. Formatting.
31543 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31544 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31545 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31546 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31547 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31548 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31549
31550 2013-10-04 Alan Modra <amodra@gmail.com>
31551
31552 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31553 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31554 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31555 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31556 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31557 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31558 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31560 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31561 use of regs. Use power7 mtocrf. Tidy function tails.
31562
31563 2013-10-04 Alan Modra <amodra@gmail.com>
31564
31565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31566 Formatting. Consistently use rXXX register defines or rN defines.
31567 Use early exit labels that avoid restoring unused non-volatile regs.
31568 Make cr field use more consistent with rWORDn compares. Rename
31569 regs used as shift registers for unaligned loop, using rN defines
31570 for short lifetime/multiple use regs.
31571 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31572 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31573 addi 1,1,64 to pop stack frame. Simplify return value code.
31574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31575
31576 2013-10-04 Alan Modra <amodra@gmail.com>
31577
31578 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31579 support. Correct typos, formatting. Optimize tail. Use insrdi
31580 rather than rlwimi.
31581 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31582 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31583 little-endian support. Correct typos.
31584 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31585 rather than rlwimi.
31586 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31587 in loop and entry code to keep "and." results.
31588 (strchr): Add little-endian support. Comment. Move cntlzd
31589 earlier in tail.
31590 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31591
31592 2013-10-04 Alan Modra <amodra@gmail.com>
31593
31594 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31595 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31596 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31597 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31598
31599 2013-10-04 Alan Modra <amodra@gmail.com>
31600
31601 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31602 (rTMP): Define as r11.
31603 (strcmp): Add little-endian support. Optimise tail.
31604 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31605 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31606 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31607 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31608 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31611
31612 2013-10-04 Alan Modra <amodra@gmail.com>
31613
31614 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31615 little-endian support. Remove unnecessary "are we done" tests.
31616 Handle "s" wrapping around zero and extremely large "size".
31617 Correct main loop count. Handle single left-over word from main
31618 loop inline rather than by using small_loop. Correct comments.
31619 Delete "zero" tail, use "end_max" instead.
31620 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31621
31622 2013-10-04 Alan Modra <amodra@gmail.com>
31623
31624 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31625 support. Don't branch over align.
31626 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31627 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31628 support. Rearrange tmp reg use to suit. Comment.
31629 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31630
31631 2013-10-04 Alan Modra <amodra@gmail.com>
31632
31633 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31634
31635 2013-10-04 Alan Modra <amodra@gmail.com>
31636
31637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31638 conditional form of branch and link when obtaining pc.
31639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31640
31641 2013-10-04 Alan Modra <amodra@gmail.com>
31642
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31644 HIWORD/LOWORD.
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31647
31648 2013-10-04 Alan Modra <amodra@gmail.com>
31649
31650 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31651 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31652 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31653 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31654 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31655 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31656 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31657 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31658 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31659 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31660
31661 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31662 Alistair Popple <alistair@ozlabs.au.ibm.com>
31663 Alan Modra <amodra@gmail.com>
31664
31665 [BZ #15723]
31666 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31667 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31668 _dl_hwcap access for little-endian.
31669 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31670 destroy vmx regs when saving unaligned.
31671 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31672 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31673 destroy vmx regs when saving unaligned.
31674
31675 2013-10-04 Alan Modra <amodra@gmail.com>
31676
31677 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31678 Don't use a union to pack hi/low value.
31679
31680 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31681
31682 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31683 for little-endian.
31684 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31686 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31687 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31688 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31689
31690 2013-10-04 Alan Modra <amodra@gmail.com>
31691
31692 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31693 constants to usual value for .cst8 section, and remove redundant
31694 high address load.
31695 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31696 constant for 0x1p52. Load little-endian words of double from
31697 correct stack offsets.
31698
31699 2013-10-04 Alan Modra <amodra@gmail.com>
31700
31701 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31702 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31703 words of double from correct stack offsets.
31704 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31705 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31706 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31707 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31708 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31711 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31712 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31713 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31714 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31716 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31717 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31718 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31719 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31720 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31721
31722 2013-10-04 Alan Modra <amodra@gmail.com>
31723
31724 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31725 64-bit int/double union.
31726 (_FPU_SETCW): Likewise.
31727 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31728 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31729
31730 2013-10-04 Alan Modra <amodra@gmail.com>
31731
31732 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31733 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31734
31735 2013-10-04 Alan Modra <amodra@gmail.com>
31736
31737 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31738 use vector int constants.
31739 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31740
31741 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31742
31743 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31744 array with long long.
31745 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31746 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31747 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31748 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31749 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31750 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31751 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31752 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31753 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31754 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31755 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31756 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31757 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31758
31759 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31760
31761 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31762 (__signbit): Likewise. Correct for little-endian.
31763 (__signbitl): Call __signbit.
31764 (lrint): Correct for little-endian.
31765 (lrintf): Call lrint.
31766
31767 2013-10-04 Alan Modra <amodra@gmail.com>
31768
31769 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31770 union 32-bit int array member with 64-bit int array.
31771 (t515, tm256): Double rather than long double.
31772 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31773
31774 2013-10-04 Alan Modra <amodra@gmail.com>
31775
31776 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31777 Delete.
31778 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31779 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31780 version of math_ldbl.h.
31781
31782 2013-10-04 Alan Modra <amodra@gmail.com>
31783
31784 [BZ #15734], [BZ #15735]
31785 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31786 all uses of ieee875 long double macros and unions. Simplify test
31787 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31788 ldbl_extract_mantissa value for ix,iy exponents. Properly
31789 normalize after ldbl_extract_mantissa, and don't add hidden bit
31790 already handled. Don't treat low word of ieee854 mantissa like
31791 low word of IBM long double and mask off bit when testing for
31792 zero.
31793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31794 all uses of ieee875 long double macros and unions. Simplify tests
31795 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31796 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31797 two1022, instead use their values. Recognise that tests for large
31798 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31799 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31800 Rewrite all uses of ieee875 long double macros and unions. Simplify
31801 test for 0.0L and nan. Correct negation.
31802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31803 ieee875 long double macros and unions. Correct output for large
31804 magnitude x. Correct absolute value calculation.
31805 (__erfcl): Likewise.
31806 * math/libm-test.inc: Add tests for errors discovered in IBM long
31807 double versions of fmodl, remainderl, erfl and erfcl.
31808
31809 2013-10-04 Alan Modra <amodra@gmail.com>
31810
31811 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31812 all uses of ieee854 long double macros and unions. Simplify tests
31813 for long doubles that are fully specified by the high double.
31814 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31815 Likewise.
31816 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31817 Remove dead code too.
31818 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31819 (__ieee754_ynl): Likewise.
31820 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31821 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31823 Remove dead code too.
31824 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31828 Simplify.
31829 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31830 Simplify.
31831 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31832 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31833 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31834 Comment on variable precision.
31835 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31836 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31837 Likewise.
31838 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31841 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31842 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31843
31844 2013-10-04 Alan Modra <amodra@gmail.com>
31845
31846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31848 all uses of ieee854 long double macros and unions.
31849 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31850 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31851 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31853 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31855 Likewise.
31856 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31857 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31858 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31860 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31861 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31862 Simplify sign and nan test too.
31863 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31864 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31865 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31866 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31867 Likewise.
31868 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31869 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31870 Likewise.
31871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31872 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31873 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31874 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31875 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31877
31878 2013-10-04 Alan Modra <amodra@gmail.com>
31879
31880 * stdio-common/printf_size.c (__printf_size): Don't use
31881 union ieee854_long_double in fpnum union.
31882 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31883 signbit macro to retrieve sign from long double.
31884 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31885 retrieve sign from long double.
31886 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31887 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31888 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31889 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31890 * math/test-misc.c (main): Don't use union ieee854_long_double.
31891
31892 2013-10-04 Alan Modra <amodra@gmail.com>
31893
31894 [BZ #15680]
31895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31896 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31897 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31898 calculation. Remove unnecessary test for denormal exponent.
31899 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31900 Correct handling of denormals. Avoid undefined shift behaviour.
31901 Correct normalisation of low mantissa when low double is denormal.
31902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31903 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31904 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31905 Correct normalisation of low mantissa. Test for overflow of high
31906 mantissa and normalise.
31907 (ldbl_nearbyint): Use more readable constant for two52.
31908 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31909 (__mpn_construct_long_double): Fix test for overflow of high
31910 mantissa and correct normalisation. Avoid undefined shift.
31911
31912 2013-10-04 Alan Modra <amodra@gmail.com>
31913
31914 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31915 (union ibm_extended_long_double): Define as an array of ieee754_double.
31916 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31917 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31918 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31919 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31921 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31922 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31923 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31924 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31925 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31926 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31927
31928 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31929
31930 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31931 page size instead of calling getpagesize.
31932
31933 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31934 (LOCFILE_ALIGN_MASK): Likewise.
31935 (LOCFILE_ALIGN_UP): Likewise.
31936 (LOCFILE_ALIGNED_P): Likewise.
31937 * locale/programs/ld-collate.c (collate_output): Use the new
31938 macros instead of __alignof__ (int32_t).
31939 * locale/weight.h (findidx): Likewise.
31940
31941 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31942
31943 [BZ #431]
31944 * manual/string.texi: Fix strncat and wcsncat.
31945
31946 2013-10-03 Brooks Moses <bmoses@google.com>
31947
31948 [BZ #15915]
31949 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31950 * Makerules: ...here, and adjust associated comments.
31951
31952 2013-10-02 Will Newton <will.newton@linaro.org>
31953
31954 * malloc/Makefile: Add tst-pvalloc.
31955 * malloc/tst-pvalloc.c: New file.
31956
31957 2013-10-02 Will Newton <will.newton@linaro.org>
31958
31959 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31960 improve test coverage.
31961
31962 2013-10-02 Will Newton <will.newton@linaro.org>
31963
31964 * malloc/Makefile: Add tst-posix_memalign.
31965 * malloc/tst-posix_memalign.c: New file.
31966
31967 2013-10-01 Eric Blake <eblake@redhat.com>
31968
31969 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31970 Use __THROWNL rather than __THROW on static functions.
31971
31972 2013-09-30 Petr Machata <pmachata@redhat.com>
31973
31974 * elf/elf.h (R_AARCH64_ABS16): New macro.
31975 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31976 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31977 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31978 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31979 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31980 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31981 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31982 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31983 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31984 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31985 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31986 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31987 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31988 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31989 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31990 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31991 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31992 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31993 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31994 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31995 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31996 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31997 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31998 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31999 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32000 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32001 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32002 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32003 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32004 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32005 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32006 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32007 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32008 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32009 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32010 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32011 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32012 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32013 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32014 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32015 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32016 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32017 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32018 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32019 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32020 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32021 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32022 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32023 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32024 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32025 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32026 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32027 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32028 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32029 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32030 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32031 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32032 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32033 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32034 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32035 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32036 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32037 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32038 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32039 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32040 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32041 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32042 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32043 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32044 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32045 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32046 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32047 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32048 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32049 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32050 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32051 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32052 (R_AARCH64_TLSDESC_LDR): Likewise.
32053 (R_AARCH64_TLSDESC_ADD): Likewise.
32054 (R_AARCH64_TLSDESC_CALL): Likewise.
32055
32056 2013-09-30 Andreas Schwab <schwab@suse.de>
32057
32058 [BZ #15048]
32059 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32060 the nss database lookup.
32061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32063
32064 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32065
32066 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32067
32068 2013-09-28 P. J. McDermott <pj@pehjota.net>
32069
32070 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32071 ${Bash-specific parameter/pattern/string} parameter expansion.
32072 * sysdeps/unix/make-syscalls.sh: Likewise.
32073
32074 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32075
32076 * sysdeps/sh/stackguard-macros.h: New file.
32077
32078 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32079
32080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32082 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32083 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32084 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32085 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32086
32087 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32088
32089 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32090 Fix thread ID register.
32091
32092 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32093
32094 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32095 [POSIX || UNIX98]: Require rather than permitting all symbols from
32096 <time.h>.
32097 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32098 element of struct sched_param.
32099 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32100 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32101 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32102 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32103 constant.
32104
32105 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32106
32107 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32108 argument calculation.
32109
32110 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32111
32112 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32113 Expect macro.
32114 [POSIX] (pthread_attr_t): Do not require type.
32115 [POSIX] (pthread_cond_t): Likewise.
32116 [POSIX] (pthread_condattr_t): Likewise.
32117 [POSIX] (pthread_key_t): Likewise.
32118 [POSIX] (pthread_mutex_t): Likewise.
32119 [POSIX] (pthread_mutexattr_t): Likewise.
32120 [POSIX] (pthread_once_t): Likewise.
32121 [POSIX] (pthread_t): Likewise.
32122 [POSIX-based standards] (pthread_atfork): Expect function.
32123
32124 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32125 Richard Sandiford <richard@codesourcery.com>
32126
32127 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32128 (swap_endianness_p): New extern variable.
32129 (set_big_endian): New inline function.
32130 (maybe_swap_uint32): Likewise.
32131 (maybe_swap_uint32_array): Likewise.
32132 (maybe_swap_uint32_obstack): Likewise.
32133 * locale/programs/locfile.c: Include <stdbool.h>.
32134 (swap_endianness_p): New variable.
32135 (add_locale_uint32): Call maybe_swap_uint32.
32136 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32137 (write_locale_data): Call maybe_swap_uint32_array.
32138 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32139 maybe_swap_uint32.
32140 (obstack_int32_grow_fast): Likewise.
32141 (output_weightwc): Call maybe_swap_uint32_obstack.
32142 (collate_output): Likewise.
32143 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32144 (OPT_LITTLE_ENDIAN): Likewise.
32145 (options): Add --little-endian and --big-endian options.
32146 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32147 * locale/programs/locarchive.c: Include "locfile.h".
32148 (GET): New macro.
32149 (SET): Likewise.
32150 (INC): Likewise.
32151 (create_archive): Use the new macros to access fields of
32152 structures directly mapped from or written to locale archives.
32153 (oldlocrecentcmp): Likewise.
32154 (enlarge_archive): Likewise.
32155 (insert_name): Likewise.
32156 (add_alias): Likewise.
32157 (add_locale): Likewise.
32158 (delete_locales_from_archive): Likewise.
32159 (show_archive_content): Likewise.
32160 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32161 locale data.
32162
32163 2013-09-24 Roland McGrath <roland@hack.frob.com>
32164
32165 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32166 http://www.gnu.org/doc/freemanuals.texi.
32167 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32168
32169 2013-09-24 Will Newton <will.newton@linaro.org>
32170
32171 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32172 macro.
32173
32174 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32175
32176 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32177 unsigned char.
32178
32179 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32180
32181 * manual/threads.texi (POSIX Threads): Fix a typo.
32182
32183 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32184
32185 [BZ #14547]
32186 * string/tst-strcoll-overflow.c: New test case.
32187 * string/Makefile (xtests): Add tst-strcoll-overflow.
32188 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32189 cache if string sizes may cause integer overflow.
32190
32191 [BZ #14547]
32192 * string/strcoll_l.c (coll_seq): New members rule, idx,
32193 save_idx and back_us.
32194 (get_next_seq_nocache): New function.
32195 (do_compare_nocache): New function.
32196 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32197 when malloc fails.
32198
32199 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32200
32201 [BZ #15754]
32202 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32203 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32204 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32205
32206 [BZ #15754]
32207 * elf/Makefile (tests): Add tst-ptrguard1.
32208 (tests-static): Add tst-ptrguard1-static.
32209 (tst-ptrguard1-ARGS): Define.
32210 (tst-ptrguard1-static-ARGS): Define.
32211 * elf/tst-ptrguard1.c: New file.
32212 * elf/tst-ptrguard1-static.c: New file.
32213 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32214 * sysdeps/i386/stackguard-macros.h: Likewise.
32215 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32216 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32217 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32218 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32219 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32220 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32221
32222 2013-09-23 Hector Marco <hecmargi@upv.es>
32223 Ismael Ripoll <iripoll@disca.upv.es>
32224 Carlos O'Donell <carlos@redhat.com>
32225
32226 [BZ #15754]
32227 * sysdeps/generic/stackguard-macros.h: Define
32228 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32229 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32230 Define __pointer_chk_guard_local.
32231 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32232 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32233
32234 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32235
32236 [BZ #15859]
32237 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32238
32239 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32240
32241 * include/string.h (__ffs): Declare as hidden.
32242 * string/ffs.c (__ffs): Define as hidden.
32243 * sysdeps/i386/ffs.c (__ffs): Likewise.
32244 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32245 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32246 * sysdeps/s390/ffs.c (__ffs): Likewise.
32247 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32248
32249 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32250
32251 * NEWS: Mention malloc probes.
32252
32253 * malloc/arena.c (new_heap): New memory_heap_new probe.
32254 (grow_heap): New memory_heap_more probe.
32255 (shrink_heap): New memory_heap_less probe.
32256 (heap_trim): New memory_heap_free probe.
32257 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32258 (systrim): New memory_sbrk_less probe.
32259 * manual/probes.texi: Document them.
32260
32261 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32262 * manual/probes.texi: Document it.
32263
32264 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32265 (__libc_realloc): Add memory_realloc_retry probe.
32266 (__libc_memalign): Add memory_memalign_retry probe.
32267 (__libc_valloc): Add memory_valloc_retry probe.
32268 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32269 (__libc_calloc): Add memory_calloc_retry probe.
32270 * manual/probes.texi: Document them.
32271
32272 * malloc/arena.c (get_free_list): Add probe
32273 memory_arena_reuse_free_list.
32274 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32275 and memory_arena_reuse.
32276 (arena_get2) [!PER_THREAD]: Likewise.
32277 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32278 memory_arena_reuse_realloc.
32279 * manual/probes.texi: Document them.
32280
32281 * malloc/malloc.c (__libc_free): Add
32282 memory_mallopt_free_dyn_thresholds probe.
32283 (__libc_mallopt): Add multiple memory_mallopt probes.
32284 * manual/probes.texi: Document them.
32285
32286 * malloc/malloc.c: Include stap-probe.h.
32287 (__libc_mallopt): Add memory_mallopt probe.
32288 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32289 * manual/probes.texi: New.
32290 * manual/Makefile (chapters): Add probes.
32291 * manual/threads.texi: Set next node.
32292
32293 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32294
32295 [BZ #15963, #13985]
32296 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32297 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32298 Add `Chinese' to `nan' entry name.
32299
32300 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32301
32302 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32303 (POLYNOMIAL): Likewise.
32304 (TAYLOR_SINCOS): Likewise.
32305 (TAYLOR_SLOW): Likewise.
32306 (__sin): Use TAYLOR_SINCOS.
32307 (__cos): Likewise.
32308 (slow): Use TAYLOR_SLOW.
32309 (sloww): Likewise.
32310 (bsloww): Likewise.
32311 (csloww): Likewise.
32312
32313 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32314
32315 * stdlib/strtod_l.c: Fix buffer overrun.
32316
32317 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32318
32319 * benchtests/Makefile (bench): Add sincos.
32320 * benchtests/bench-sincos.c: New file.
32321
32322 * math/libm-test.inc (cos_test_data): New test inputs.
32323 (sin_test_data): Likewise.
32324
32325 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32326 macro.
32327 (__sin): Use it.
32328 (__cos): Likewise.
32329 (slow1): Likewise.
32330 (slow2): Likewise.
32331 (sloww1): Likewise.
32332 (sloww2): Likewise.
32333 (bsloww1): Likewise.
32334 (bsloww2): Likewise.
32335 (cslow2): Likewise.
32336 (csloww1): Likewise.
32337 (csloww2): Likewise.
32338
32339 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32340 function.
32341 (__sin): Use it.
32342 (__cos): Likewise.
32343
32344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32345 gotos.
32346 (__cos): Likewise.
32347
32348 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32349
32350 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32351 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32352 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32353 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32354 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32355 * elf/cache.c (print_entry): Handle the new cache flags.
32356
32357 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32358 Aldy Hernandez <aldyh@redhat.com>
32359
32360 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32361 Change condition to [_SOFT_FLOAT].
32362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32374 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32377 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32378 declaration.
32379
32380 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32381
32382 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32383 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32384 (__longjmp): Use LOAD_GP to load saved GPRs.
32385 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32386 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32387 (__sigsetjmp): Use SAVE_GP to save GPRs.
32388
32389 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32390 Do not append -msoft-float.
32391 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32392
32393 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32394
32395 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32396
32397 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32398
32399 [BZ #15966]
32400 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32401 (_FPU_GETCW): Use initial "__" on variable and field names but not
32402 on macro parameter name.
32403 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32404 parentheses around reference to macro parameter.
32405
32406 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32407
32408 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32409 prototype.
32410 (ctype_startup): Use uint32_t in cast and sizeof for
32411 ctype->charnames.
32412
32413 2013-09-11 Jia Liu <proljc@gmail.com>
32414
32415 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32416 __daddr_t_defined.
32417 [__FreeBSD__]: Likewise.
32418
32419 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32420
32421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32422 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32423 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32424 (strchr): Remove __strchr_sse42 ifunc selection.
32425 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32426 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32427
32428 2013-09-11 Will Newton <will.newton@linaro.org>
32429
32430 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32431 parameter to RES. Remove hardcoded 1000 value.
32432 * benchtests/bench-skeleton.c (main): Pass RES parameter
32433 to TIMING_INIT and multiply result by 1000.
32434
32435 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32436
32437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32438
32439 2013-09-11 Andreas Schwab <schwab@suse.de>
32440
32441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32442 if not defined.
32443 (O_TMPFILE) [__USE_GNU]: Define.
32444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32445 Define.
32446
32447 2013-09-11 Will Newton <will.newton@linaro.org>
32448
32449 [BZ #15857]
32450 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32451 does not overflow.
32452
32453 2013-09-11 Will Newton <will.newton@linaro.org>
32454
32455 [BZ #15856]
32456 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32457 does not overflow.
32458
32459 2013-09-11 Will Newton <will.newton@linaro.org>
32460
32461 [BZ #15855]
32462 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32463 does not overflow.
32464
32465 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32466
32467 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32468 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32469 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32470 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32471 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32472
32473 2013-09-10 Allan McRae <allan@archlinux.org>
32474
32475 [BZ #15748]
32476 * manual/arith.texi (Parsing of Floats): Clarify
32477 cross-reference.
32478
32479 [BZ #15849]
32480 * manual/install.texi (Running make install): Mention
32481 --enable-pt-chown.
32482 * INSTALL: Regenerated.
32483
32484 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32485
32486 * csu/init-first.c (_init): Remove the !SHARED condition around
32487 FPU control word initialization.
32488 * elf/dl-support.c (_dl_fpu_control): New variable.
32489 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32490 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32491 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32492 * math/test-fpucw-static.c: New file.
32493 * math/test-fpucw-ieee.c: New file.
32494 * math/test-fpucw-ieee-static.c: New file.
32495 * math/Makefile (tests): Add `test-fpucw-ieee' and
32496 `$(tests-static)'.
32497 (tests-static): New variable.
32498 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32499 dependency to...
32500 [($(build-shared),yes)]
32501 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32502 ... this.
32503 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32504 New dependency.
32505
32506 2013-09-09 Allan McRae <allan@archlinux.org>
32507
32508 [BZ #15939]
32509 * manual/string.texi (Collation Functions): Fix typo in
32510 strcoll example.
32511 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32512
32513 [BZ #15893]
32514 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32515
32516 [BZ #15892]
32517 * libio/memstream.c (open_memstream): Fix memory leak.
32518 * libio/wmemstream.c (open_wmemstream): Likewise.
32519
32520 [BZ #15895]
32521 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32522
32523 2013-09-09 Will Newton <will.newton@linaro.org>
32524
32525 * malloc/Makefile: Add tst-realloc to tests.
32526 * malloc/tst-realloc.c: New file.
32527
32528 2013-09-09 Allan McRae <allan@archlinux.org>
32529
32530 [BZ #15844]
32531 * COPYING: Update from GNU website to fix FSF address.
32532 * COPYING.LIB: Likewise.
32533
32534 2013-09-06 David S. Miller <davem@davemloft.net>
32535
32536 * po/zh_TW.po: Update Chinese (traditional) translation from
32537 translation project.
32538
32539 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32540 Joseph Myers <joseph@codesourcery.com>
32541
32542 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32543 "localeinfo.h".
32544 (obstack_chunk_alloc): New macro.
32545 (obstack_chunk_free): Likewise.
32546 (record_offset): New function.
32547 (init_locale_data): Likewise.
32548 (align_locale_data): Likewise.
32549 (add_locale_empty): Likewise.
32550 (add_locale_raw_data): Likewise.
32551 (add_locale_raw_obstack): Likewise.
32552 (add_locale_string): Likewise.
32553 (add_locale_wstring): Likewise.
32554 (add_locale_uint32): Likewise.
32555 (add_locale_uint32_array): Likewise.
32556 (add_locale_char): Likewise.
32557 (start_locale_structure): Likewise.
32558 (end_locale_structure): Likewise.
32559 (start_locale_prelude): Likewise.
32560 (end_locale_prelude): Likewise.
32561 (write_locale_data): Take locale_file structure rather than an
32562 iovec.
32563 * locale/programs/locfile.h: Include "obstack.h".
32564 (struct locale_file): Change to store locale file contents instead
32565 of header.
32566 (init_locale_data): New prototype.
32567 (align_locale_data): Likewise.
32568 (add_locale_empty): Likewise.
32569 (add_locale_raw_data): Likewise.
32570 (add_locale_raw_obstack): Likewise.
32571 (add_locale_string): Likewise.
32572 (add_locale_wstring): Likewise.
32573 (add_locale_uint32): Likewise.
32574 (add_locale_uint32_array): Likewise.
32575 (add_locale_char): Likewise.
32576 (start_locale_structure): Likewise.
32577 (end_locale_structure): Likewise.
32578 (start_locale_prelude): Likewise.
32579 (end_locale_prelude): Likewise.
32580 (write_locale_data): Update prototype.
32581 * locale/programs/3level.h (struct TABLE): Remove result field.
32582 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32583 Use new locale_file interface.
32584 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32585 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32586 * locale/programs/ld-address.c (address_output): Use new
32587 locale_file interface.
32588 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32589 NO_ADD_LOCALE.
32590 (collate_finish): Don't call collseq_table_finalize.
32591 (collate_output): Use new locale_file interface.
32592 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32593 in file.
32594 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32595 (TABLE): Move defines earlier in file.
32596 (ELEMENT): Likewise.
32597 (DEFAULT): Likewise.
32598 (wctrans_table_add): Move macro and inline function earlier in
32599 file.
32600 (struct wctype_table): Move type earlier in file.
32601 (add_locale_wctype_table): New static prototype.
32602 (struct locale_ctype_t): Use logical types instead of struct iovec
32603 pointers for members.
32604 (ctype_output): Use new locale_file interface.
32605 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32606 new locale_file interface.
32607 (allocate_arrays): Update for use of new locale_file interface.
32608 * locale/programs/ld-identification.c (identification_output): Use
32609 new locale_file interface.
32610 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32611 * locale/programs/ld-messages.c (messages_output): Likewise.
32612 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32613 * locale/programs/ld-name.c (name_output): Likewise.
32614 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32615 * locale/programs/ld-paper.c (paper_output): Likewise.
32616 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32617 * locale/programs/ld-time.c (time_output): Likewise.
32618
32619 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32620
32621 * benchtests/Makefile: Add memrchr benchmark.
32622 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32623 benchmark as memrchr.
32624 * benchtests/bench-memrchr-ifunc.c: New file.
32625 * benchtests/bench-memrchr.c: New file.
32626
32627 2013-09-06 Will Newton <will.newton@linaro.org>
32628
32629 * benchtests/Makefile (string-bench): Add memcpy.
32630
32631 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32632 Cong Wang <amwang@redhat.com>
32633
32634 [BZ #15850]
32635 * sysdeps/unix/sysv/linux/bits/in.h
32636 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32637 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32638 before __USE_KERNEL_IPV6_DEFS uses.
32639 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32640 IPPROTO_BEETPH.
32641 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32642 sockaddr_in6, or ipv6_mreq.
32643
32644 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32645
32646 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32647 memory access for final bytes in some large inputs.
32648 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32649
32650 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32651
32652 * string/test-memrchr.c: New file.
32653 * string/test-memrchr-ifunc.c: New file.
32654 * string/Makefile: Add new memrchr testcase.
32655
32656 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32657
32658 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32659 fanotify_init returns EPERM.
32660
32661 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32662
32663 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32664 errors.
32665 (top level): Treat second token from macro or constant entries for
32666 allowed headers as allowed.
32667 * include/complex.h: Condition internal declarations on
32668 [!_ISOMAC].
32669 * include/fenv.h: Condition include of <stdbool.h> and internal
32670 declarations on [!_ISOMAC].
32671
32672 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32673
32674 [BZ #15923]
32675 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32676
32677 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32678
32679 * configure.in (--enable-versioning): Remove configure option.
32680 (libc_cv_asm_symver_directive): Remove configure test.
32681 (libc_cv_ld_version_script_option): Likewise.
32682 (VERSIONING): Remove variable and AC_SUBST.
32683 (DO_VERSIONING): Remove AC_DEFINE.
32684 * configure: Regenerated.
32685 * config.h.in (DO_VERSIONING): Remove macro.
32686 * Makerules [$(versioning) = yes]: Change conditionals to
32687 [$(build-shared) = yes].
32688 * config.make.in (versioning): Remove variable.
32689 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32690 [$(build-shared) = yes].
32691 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32692 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32693 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32694 [$(build-shared) = yes].
32695 * extra-lib.mk [$(versioning) = yes]: Likewise.
32696 * hurd/Makefile [$(versioning) = yes]: Likewise.
32697 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32698 [SHARED].
32699 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32700 [SHARED].
32701 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32702 [SHARED && !NO_HIDDEN].
32703 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32704 [SHARED].
32705 [SHARED && DO_VERSIONING]: Likewise..
32706 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32707 [$(build-shared) = yes].
32708 * manual/install.texi (--disable-versioning): Remove
32709 documentation.
32710 * INSTALL: Regenerated.
32711 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32712 to [SHARED].
32713 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32714 [$(build-shared) = yes].
32715 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32716 * sysdeps/i386/i686/multiarch/strstr-c.c
32717 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32718 [SHARED && !NO_HIDDEN].
32719 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32720 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32721 * sysdeps/powerpc/powerpc32/dl-machine.c
32722 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32723 * sysdeps/powerpc/powerpc32/sysdep.h
32724 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32725 to [SHARED && PIC && !NO_HIDDEN].
32726 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32727 conditional to [SHARED].
32728
32729 2013-09-04 Will Newton <will.newton@linaro.org>
32730
32731 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32732 * benchtests/bench-string.h: Include bench-timing.h instead
32733 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32734 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32735 call to HP_TIMING_DIFF_INIT.
32736 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32737 instead of hp-timing.h macros.
32738 * benchtests/bench-memchr.c: Likewise.
32739 * benchtests/bench-memcmp.c: Likewise.
32740 * benchtests/bench-memcpy.c: Likewise.
32741 * benchtests/bench-memmem.c: Likewise.
32742 * benchtests/bench-memmove.c: Likewise.
32743 * benchtests/bench-memset.c: Likewise.
32744 * benchtests/bench-rawmemchr.c: Likewise.
32745 * benchtests/bench-strcasecmp.c: Likewise.
32746 * benchtests/bench-strcasestr.c: Likewise.
32747 * benchtests/bench-strcat.c: Likewise.
32748 * benchtests/bench-strchr.c: Likewise.
32749 * benchtests/bench-strcmp.c: Likewise.
32750 * benchtests/bench-strcpy.c: Likewise.
32751 * benchtests/bench-strcpy_chk.c: Likewise.
32752 * benchtests/bench-strlen.c: Likewise.
32753 * benchtests/bench-strncasecmp.c: Likewise.
32754 * benchtests/bench-strncat.c: Likewise.
32755 * benchtests/bench-strncmp.c: Likewise.
32756 * benchtests/bench-strncpy.c: Likewise.
32757 * benchtests/bench-strnlen.c: Likewise.
32758 * benchtests/bench-strpbrk.c: Likewise.
32759 * benchtests/bench-strrchr.c: Likewise.
32760 * benchtests/bench-strspn.c: Likewise.
32761 * benchtests/bench-strstr.c: Likewise.
32762
32763 2013-09-04 Will Newton <will.newton@linaro.org>
32764
32765 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32766
32767 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32768
32769 [BZ #15427]
32770 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32771 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32772 * math/libm-test.inc (lgamma_test_data): Add more tests.
32773 * sysdeps/i386/fpu/libm-test-ulps: Update.
32774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32775
32776 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32777
32778 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32780 Add ifunc.
32781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32782 Add strcmp-sse2-unaligned
32783 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32784
32785 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32786
32787 * Versions.def (libc): Add GLIBC_2.19.
32788
32789 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32790
32791 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32792 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32793
32794 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32795
32796 [BZ #14155]
32797 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32798 intermediate calculations in recurrence.
32799 (__ieee754_ynf): Likewise.
32800 * math/libm-test.inc (jn_test_data): Do not allow spurious
32801 underflow exception. Add more tests.
32802 (yn_test_data): Add more tests.
32803 * sysdeps/i386/fpu/libm-test-ulps: Update.
32804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32805
32806 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32807
32808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32809
32810 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32811
32812 * csu/init-first.c: Fix then/than typos.
32813 * locale/programs/ld-collate.c: Likewise.
32814 * locale/programs/linereader.h: Likewise.
32815 * manual/charset.texi: Likewise.
32816 * manual/filesys.texi: Likewise.
32817 * manual/stdio.texi: Likewise.
32818 * manual/string.texi: Likewise.
32819 * stdlib/fmtmsg.c: Likewise.
32820 * sysdeps/i386/stpncpy.S: Likewise.
32821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32822 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32823 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32824 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32825
32826 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32827
32828 * elf/dl-open.c: Fix typos.
32829 * iconvdata/gbbig5.c: Likewise.
32830 * iconvdata/iso-2022-jp.c: Likewise.
32831 * iconv/gconv_int.h: Likewise.
32832 * iconv/loop.c: Likewise.
32833 * nis/rpcsvc/nis.h: Likewise.
32834 * resolv/ns_name.c: Likewise.
32835 * stdio-common/vfscanf.c: Likewise.
32836 * streams/stropts.h: Likewise.
32837 * sunrpc/rpc_thread.c: Likewise.
32838 * sysdeps/i386/strpbrk.S: Likewise.
32839 * sysdeps/ieee754/k_standard.c: Likewise.
32840 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32842 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32843 * sysdeps/mach/hurd/profil.c: Likewise.
32844 * sysdeps/s390/dl-procinfo.h: Likewise.
32845 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32846 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32847 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32848 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32850
32851 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32852
32853 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32855
32856 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32857
32858 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32859 aix specific files.
32860 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32861 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32862 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32863 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32864 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32865 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32866 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32867 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32868
32869 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32870 Roland McGrath <roland@hack.frob.com>
32871
32872 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32873 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32874
32875 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32876
32877 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32878 __executable_start symbol instead of _start.
32879
32880 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32881
32882 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32883 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32884 Move macros to...
32885 * sysdeps/gnu/ldsodefs.h: ... this new file.
32886
32887 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32888 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32889 instead of ELFOSABI_LINUX.
32890
32891 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32892 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32893 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32894 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32895 Likewise.
32896 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32897 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32898 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32899 Likewise.
32900 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32901 (ibm_extended_long_double): Add ieee_nan member.
32902 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32903 (do_test): New function.
32904
32905 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32906 TEST_TRUNC.
32907 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32908 functions, renamed from truncdfsf_test, trunctfsf_test,
32909 trunctfdf_test.
32910 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32911 functions.
32912 (do_test): Run all these.
32913
32914 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32915
32916 * argp/argp-help.c: Fix typos.
32917 * argp/argp-parse.c: Likewise.
32918 * debug/backtracesyms.c: Likewise.
32919 * elf/elf.h: Likewise.
32920 * malloc/malloc.c: Likewise.
32921 * nis/nis_print.c: Likewise.
32922 * resolv/res_comp.c: Likewise.
32923 * stdlib/stdlib.h: Likewise.
32924 * sunrpc/clnt_tcp.c: Likewise.
32925 * sunrpc/clnt_udp.c: Likewise.
32926 * sunrpc/clnt_unix.c: Likewise.
32927 * sysdeps/unix/bsd/ptsname.c: Likewise.
32928 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32929 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32931 Likewise.
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32933 Likewise.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32935 Likewise.
32936 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32937
32938 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32939
32940 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32942
32943 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32944
32945 [BZ #15897]
32946 * dlfcn/Makefile (tests): Add bug-dl-leaf.
32947 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32948 ($(objpfx)bug-dl-leaf): New rule.
32949 ($(objpfx)bug-dl-leaf.so): Likewise.
32950 ($(objpfx)bug-dl-leaf.out): Likewise.
32951 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32952 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32953 * dlfcn/bug-dl-leaf.c: New test.
32954 * dlfcn/bug-dl-leaf-lib.c: Likewise.
32955 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32956 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32957 (dlclose): Likewise.
32958 (dlmopen): Likewise.
32959
32960 2013-08-27 Roland McGrath <roland@hack.frob.com>
32961
32962 * include/netdb.h [!_ISOMAC]:
32963 Don't include <tls.h>.
32964 (h_errno, __libc_h_errno): Move declaration and macros out of
32965 [_LIBC_REENTRANT].
32966
32967 * include/resolv.h [_RESOLV_H_]:
32968 Don't include <tls.h>.
32969 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32970 * resolv/res_libc.c: Don't include <tls.h>.
32971 (_res): Use __attribute__ ((nocommon)) in place of
32972 __attribute__ ((section (".bss"))).
32973
32974 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32975 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32976
32977 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32978
32979 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32980 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32981
32982 * resolv/res_mkquery.c: Include <sys/time.h>.
32983
32984 * inet/ifreq.c: Moved to ...
32985 * sysdeps/unix/ifreq.c: ... here.
32986 * inet/ifreq.c: New file, true stub version.
32987
32988 * socket/sa_len.c: New file.
32989 * socket/Makefile (aux): Add it.
32990 * sysdeps/unix/sysv/linux/Makefile
32991 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32992 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32993 and #include <socket/sa_len.c>.
32994 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32995 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32996
32997 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32998 * bits/socket.h: ... here.
32999
33000 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33001 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33002 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33003
33004 2013-08-27 Andreas Schwab <schwab@suse.de>
33005
33006 [BZ #15736]
33007 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33008 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33009 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33010 * string/test-strcasecmp.c (test_main): Run tests in several
33011 locales.
33012 * string/test-strncasecmp.c (test_main): Likewise.
33013
33014 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33015 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33016 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33018 (__strncasecmp_ssse3) [PIC]: Likewise.
33019
33020 2013-08-26 Roland McGrath <roland@hack.frob.com>
33021
33022 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33023
33024 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33025 instead of explicitly declaring xdecrypt.
33026 * nis/nss_nis/nis-publickey.c: Likewise.
33027
33028 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33029
33030 [BZ #15890]
33031 * nscd/aicache.c: Include res_hconf.h.
33032 (addhstaiX): Initialize res_hconf.
33033
33034 2013-08-26 Andreas Schwab <schwab@suse.de>
33035
33036 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33037 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33038
33039 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33040
33041 * nscd/aicache.c (addhstaiX): Fix indentation.
33042
33043 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33044
33045 * configure.ac: Quote $build_pt_chown test.
33046 * configure: Regenerated.
33047
33048 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33049
33050 [BZ #15532]
33051 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33052 * math/s_cexpf.c (__cexpf): Likewise.
33053 * math/s_cexpl.c (__cexpl): Likewise.
33054 * math/libm-test.inc (cexp_test_data): Correct expected return
33055 value for NaN + i0. Add another test.
33056
33057 2013-08-22 David S. Miller <davem@davemloft.net>
33058
33059 * po/ca.po: Update Catalan translation from translation project.
33060 * po/uk.po: Add Ukrainian translations from translation project.
33061
33062 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33063
33064 [BZ #15797]
33065 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33066 is infinite, not alongside NaN test.
33067 * math/s_fdimf.c (__fdimf): Likewise.
33068 * math/s_fdiml.c (__fdiml): Likewise.
33069 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33070 errno is unchanged.
33071
33072 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33073
33074 * argp/argp-help.c: Fix typos.
33075 * crypt/speeds.c: Likewise.
33076 * csu/check_fds.c: Likewise.
33077 * elf/dl-load.c: Likewise.
33078 * elf/dl-open.c: Likewise.
33079 * elf/reldep3.c: Likewise.
33080 * elf/reldep.c: Likewise.
33081 * elf/sprof.c: Likewise.
33082 * iconv/iconv_charmap.c: Likewise.
33083 * iconv/skeleton.c: Likewise.
33084 * iconv/strtab.c: Likewise.
33085 * io/lockf64.c: Likewise.
33086 * libio/libioP.h: Likewise.
33087 * resolv/gai_notify.c: Likewise.
33088 * resolv/ns_name.c: Likewise.
33089 * resolv/ns_samedomain.c: Likewise.
33090 * resolv/res_send.c: Likewise.
33091 * stdlib/random.c: Likewise.
33092 * sunrpc/rpc/xdr.h: Likewise.
33093 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33095 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33096 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33101 * sysdeps/mach/hurd/check_fds.c: Likewise.
33102 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33103 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33104 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33106 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33107 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33108 * sysdeps/pthread/aio_notify.c: Likewise.
33109 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33110 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33111 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33112 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33113 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33114
33115 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33116
33117 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33118 version if bit_Slow_SSE4_2 is set.
33119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33120 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33121
33122 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33123
33124 [BZ #15867]
33125 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33126 trampoline stack frame information.
33127 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33129 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33130 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33131 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33132 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33133 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33134 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33135 sa_flags value.
33136 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33137 interrupting a syscall and set with option SA_SIGINFO.
33138
33139 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33140
33141 [BZ #15531]
33142 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33143 argument is infinite.
33144 * math/s_cprojf.c (__cprojf): Likewise.
33145 * math/s_cprojl.c (__cprojl): Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33147 * math/libm-test.inc (cproj_test_data): Add more tests.
33148
33149 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33150
33151 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33152 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33153 size. Use __ffs to determine corresponding shift.
33154
33155 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33156 Roland McGrath <roland@hack.frob.com>
33157
33158 * Makefile (INSTALL): Remove trailing blank lines from output of
33159 makeinfo.
33160
33161 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33162
33163 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33164 Align 32 bit compat elf_greg to 8 bytes.
33165
33166 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33167
33168 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33169
33170 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33171
33172 * string/strcoll_l.c (coll_seq): New structure.
33173 (get_next_seq_cached): New function.
33174 (get_next_seq): New function.
33175 (do_compare): New function.
33176 (STRCOLL): Use GNU style definition. Simplify implementation
33177 by using get_next_seq, get_next_seq_cached and do_compare.
33178
33179 2013-08-16 Florian Weimer <fweimer@redhat.com>
33180
33181 [BZ #14699]
33182 CVE-2013-4237
33183 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33184 member.
33185 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33186 member.
33187 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33188 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33189 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33190 conditional.
33191 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33192 GETDENTS_64BIT_ALIGNED.
33193 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33194 * manual/filesys.texi (Reading/Closing Directory): Document
33195 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33196 strongly.
33197 * manual/conf.texi (Limits for Files): Add portability note to
33198 NAME_MAX, PATH_MAX.
33199 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33200
33201 2013-08-13 Andreas Schwab <schwab@suse.de>
33202
33203 [BZ #15749]
33204 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33205 of fabs.
33206 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33207 LDBL_MAX_EXP >= 16384]: Add tests for it.
33208
33209 2013-08-12 David S. Miller <davem@davemloft.net>
33210
33211 * version.h (RELEASE): Set to "development".
33212 (VERSION): Set to "2.18.90".
33213 * NEWS: Add 2.19 section.
33214
33215 2013-08-03 David S. Miller <davem@davemloft.net>
33216
33217 * po/ko.po: Update Korean translation from translation project.
33218
33219 2013-08-01 David S. Miller <davem@davemloft.net>
33220
33221 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33222 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33223 Bilka.
33224
33225 2013-07-30 David S. Miller <davem@davemloft.net>
33226
33227 * po/fr.po: Update French translation from translation project.
33228
33229 2013-07-28 David S. Miller <davem@davemloft.net>
33230
33231 * po/cs.po: Update Czech translation from translation project.
33232
33233 * po/sv.po: Update Swedish translation from translation project.
33234
33235 2013-07-27 David S. Miller <davem@davemloft.net>
33236
33237 * po/eo.po: Update Esperanto translation from translation project.
33238
33239 * po/vi.po: Update Vietnamese translation from translation project.
33240
33241 * po/de.po: Update German translation from translation project.
33242
33243 2013-07-26 David S. Miller <davem@davemloft.net>
33244
33245 * po/bg.po: Update Bulgarian translation from translation project.
33246
33247 * po/nl.po: Update Dutch translation from translation project.
33248 * po/pl.po: Update Polish translation from translation project.
33249 * po/ru.po: Update Russian translation from translation project.
33250
33251 2013-07-24 David S. Miller <davem@davemloft.net>
33252
33253 * po/libc.pot: Update.
33254
33255 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33256
33257 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33258 variable page size.
33259 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33260 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33261 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33262
33263 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33264
33265 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33266
33267 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33268 Andreas Schwab <schwab@suse.de>
33269 Roland McGrath <roland@hack.frob.com>
33270 Joseph Myers <joseph@codesourcery.com>
33271 Carlos O'Donell <carlos@redhat.com>
33272
33273 [BZ #15755]
33274 * config.h.in: Define HAVE_PT_CHOWN.
33275 * config.make.in (build-pt-chown): New variable.
33276 * configure.in (--enable-pt_chown): New configure option.
33277 * configure: Regenerate.
33278 * login/Makefile: Include Makeconfig. Build pt_chown only if
33279 build-pt-chown is enabled.
33280 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33281 pt_chown to fix pty ownership.
33282 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33283 CLOSE_ALL_FDS.
33284 * manual/install.texi (Configuring and compiling): Mention
33285 --enable-pt_chown. Add @findex for grantpt.
33286 * INSTALL: Regenerate.
33287
33288 2013-07-20 David S. Miller <davem@davemloft.net>
33289
33290 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33291 difference between 32-bit and 64-bit.
33292
33293 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33294
33295 [BZ #15711]
33296 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33297 Avoid system header dependency with -ffreestanding.
33298 ($(objpfx)bits/syscall%d): Likewise.
33299
33300 2013-07-13 David S. Miller <davem@davemloft.net>
33301
33302 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33303 underflows from atanl/atan2l due to bug 15319.
33304 (casinh_test_data): Likewise.
33305
33306 2013-07-07 David S. Miller <davem@davemloft.net>
33307
33308 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33309
33310 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33311
33312 * sysdeps/i386/fpu/libm-test-ulps: Update.
33313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33314
33315 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33316
33317 * configure.in (--enable-lock-elision): Fix message text.
33318 * INSTALL: Regenerate.
33319 * configure: Regenerate.
33320
33321 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33322
33323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33324
33325 2013-07-03 Andreas Jaeger <aj@suse.de>
33326
33327 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33328 define.
33329 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33330 (ptrace_peeksiginfo_args): Add.
33331 (__ptrace_peeksiginfo_flags): Add.
33332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33333 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33334 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33335
33336 2013-07-03 Allan McRae <allan@archlinux.org>
33337
33338 * sysdeps/i386/fpu/libm-test-ulps: Update.
33339
33340 2013-07-02 David S. Miller <davem@davemloft.net>
33341
33342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33343
33344 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33345
33346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33347
33348 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33349
33350 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33352
33353 2013-07-02 Andi Kleen <ak@linux.intel.com>
33354
33355 * config.h.in (ENABLE_LOCK_ELISION): Add.
33356 * configure.in (--enable-lock-elision): Add option.
33357 * manual/install.texi: Document --enable lock elision.
33358 * configure: Regenerate
33359 * INSTALL: Regenerate.
33360
33361 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33362
33363 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33364 SSE4.2 strcasecmp for libc.a.
33365 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33366
33367 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33368
33369 [BZ #13304]
33370 * soft-fp/op-common.h (_FP_FMA): New macro.
33371 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33372 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33373 (_FP_MUL_MEAT_1_imm): ... here.
33374 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33375 (_FP_MUL_MEAT_1_wide): ... here.
33376 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33377 (_FP_MUL_MEAT_1_hard): ... here.
33378 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33379 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33380 (_FP_MUL_MEAT_2_wide): ... here.
33381 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33382 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33383 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33384 (_FP_MUL_MEAT_2_gmp): ... here.
33385 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33386 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33387 (_FP_MUL_MEAT_4_wide): ... here.
33388 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33389 (_FP_MUL_MEAT_4_gmp): ... here.
33390 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33391 (_FP_WFRACBITS_DW_S): Likewise.
33392 (_FP_WFRACXBITS_DW_S): Likewise.
33393 (_FP_HIGHBIT_DW_S): Likewise.
33394 (FP_FMA_S): Likewise.
33395 (_FP_FRAC_HIGH_DW_S): Likewise.
33396 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33397 (_FP_WFRACBITS_DW_D): Likewise.
33398 (_FP_WFRACXBITS_DW_D): Likewise.
33399 (_FP_HIGHBIT_DW_D): Likewise.
33400 (FP_FMA_D): Likewise.
33401 (_FP_FRAC_HIGH_DW_D): Likewise.
33402 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33403 (_FP_WFRACBITS_DW_E): Likewise.
33404 (_FP_WFRACXBITS_DW_E): Likewise.
33405 (_FP_HIGHBIT_DW_E): Likewise.
33406 (FP_FMA_E): Likewise.
33407 (_FP_FRAC_HIGH_DW_E): Likewise.
33408 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33409 (_FP_WFRACBITS_DW_Q): Likewise.
33410 (_FP_WFRACXBITS_DW_Q): Likewise.
33411 (_FP_HIGHBIT_DW_Q): Likewise.
33412 (FP_FMA_Q): Likewise.
33413 (_FP_FRAC_HIGH_DW_Q): Likewise.
33414 * soft-fp/fmasf4.c: New file.
33415 * soft-fp/fmadf4.c: Likewise.
33416 * soft-fp/fmatf4.c: Likewise.
33417
33418 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33419
33420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33421 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33422 Silvermont.
33423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33424 macro.
33425 (index_Slow_SSE4_2): Likewise.
33426 (index_Prefer_PMINUB_for_stringop): Likewise.
33427 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33428 bit_Slow_SSE4_2 is set.
33429 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33430 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33431
33432 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33433
33434 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33435 rtld_global._dl_hwcap2.
33436 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33437 POWER8.
33438 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33439 POWER8 feature descriptions defined in _dl_hwcap2.
33440 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33441 string handling for POWER8 feature bits.
33442 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33443 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33444 _dl_powerpc_cap_flags.
33445 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33446 * sysdeps/powerpc/rtld-global-offsets.sym
33447 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33448 _dl_hwcap2 in the rtld_global_ro structure.
33449
33450 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33451
33452 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33453 hardware capabilities in support of AT_HWCAP2.
33454 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33455 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33456 GLRO(dl_hwcap2).
33457 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33458 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33459 explicitly the unknown a_type display mechanism is used.
33460 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33461 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33462 struct member.
33463 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33464 to macro prototype for AT_HWCAP2 support.
33465 * sysdeps/i386/dl-procinfo.h: Likewise.
33466 * sysdeps/s390/dl-procinfo.h: Likewise.
33467 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33468 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33469 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33470 return -1 for unknown a_type display fallback.
33471 * sysdeps/sparc/dl-procinfo.h: Likewise.
33472 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33473 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33474
33475 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33476
33477 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33478 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33479
33480 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33481
33482 [BZ #12492]
33483 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33484 mprotect making __stack_prot writable.
33485
33486 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33487 Joseph Myers <joseph@codesourcery.com>
33488
33489 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33490 as being properly aligned.
33491
33492 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33493
33494 * dlfcn/modstatic5.c: New file.
33495 * dlfcn/tststatic5.c: New file.
33496 * dlfcn/Makefile (tests): Add tststatic5.
33497 (tests-static): Likewise.
33498 (modules-names): Add modstatic5.
33499 (tststatic5-ENV): New variable.
33500 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33501
33502 [BZ #15022]
33503 * elf/dl-support.c (_dl_main_map): New variable.
33504 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33505 (_dl_nns, _dl_load_adds): Set to 1.
33506 (_dl_initial_searchlist): Refer to _dl_main_map.
33507 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33508 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33509 call to _dl_get_origin.
33510 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33511 around call_map.
33512 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33513 * dlfcn/modstatic3.c: New file.
33514 * dlfcn/tststatic3.c: New file.
33515 * dlfcn/tststatic4.c: New file.
33516 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33517 (tests-static): Likewise.
33518 (modules-names): Add modstatic3.
33519 (tststatic3-ENV, tststatic4-ENV): New variables.
33520 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33521 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33522
33523 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33524
33525 * configure.in (CC): Require GCC version 4.4 or later.
33526 * configure: Regenerated.
33527 * manual/install.texi (Tools for Compilation): Update GCC version
33528 requirement.
33529 * INSTALL: Regenerated.
33530
33531 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33532
33533 [BZ #15674]
33534 * string/test-memcmp.c (check2): New.
33535 (main): Call check2.
33536
33537 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33538
33539 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33540
33541 [BZ #15022]
33542 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33543 over to...
33544 (dl_open_worker) [!SHARED]: ... here.
33545
33546 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33547
33548 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33549
33550 2013-06-25 Richard Henderson <rth@redhat.com>
33551
33552 * locale/programs/locarchive.c: Include <libc-internal.h>
33553
33554 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33555
33556 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33557 trailing whitespace removed.
33558
33559 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33560
33561 [BZ #10283]
33562 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33563 * locale/programs/locarchive.c: Include libc-mmap.h.
33564 (prepare_address_space): Take two new outputs (the mmap base and len).
33565 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33566 values.
33567 (create_archive): Declare new mmap base and len values for
33568 prepare_address_space, and store the result in ah.
33569 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33570 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33571 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33572 Declare new mmap base and len values for
33573 prepare_address_space, and store the result in new_ah.
33574 (open_archive): Declare new mmap base and len values for
33575 prepare_address_space, and store the result in ah.
33576 (close_archive): If ah->mmap_base is not NULL, use that and
33577 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33578 * sysdeps/generic/libc-mmap.h: New file.
33579
33580 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33581
33582 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33583 (ALIGN_UP): Likewise.
33584 (PTR_ALIGN_DOWN): Likewise.
33585 (PTR_ALIGN_UP): Likewise.
33586
33587 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33588
33589 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33590 entry mapped to PPC_PLATFORM_POWER8.
33591 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33592 POWER8.
33593 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33594 (_dl_string_platform): Add case for exporting platform position for
33595 POWER8.
33596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33597 search path to sysdeps/powerpc/powerpc32/power8 directory.
33598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33599 search path to sysdeps/powerpc/powerpc64/power8 directory.
33600 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33601 power7 directories.
33602 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33603 power7 directories.
33604
33605 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33606
33607 * INSTALL: Regenerate.
33608
33609 * nscd/connections.c (nscd_init): Fix comment.
33610
33611 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33612
33613 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33614
33615 [BZ #15667]
33616 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33617 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33618
33619 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33620
33621 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33622 DL_DST_REQ_STATIC.
33623 (DL_DST_REQ_STATIC): Remove macro.
33624
33625 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33626
33627 [BZ #7006]
33628 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33629 with a shift of 0 bits.
33630
33631 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33632
33633 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33634 $(tststatic-ENV).
33635
33636 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33637
33638 [BZ #15655]
33639 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33640
33641 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33642
33643 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33644 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33645 accepts -fno-tree-loop-distribute-patterns.
33646 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33647 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33648 recursive call.
33649 * string/memset.c (memset): Likewise.
33650 * string/test-memmove.c (simple_memmove): Disable loop transformation
33651 to library calls.
33652 * string/test-memset.c (simple_memset): Likewise.
33653 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33654 * benchtests/bench-memset.c (simple_memset): Likewise.
33655 * configure: Regenerated.
33656
33657 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33658
33659 * math/test-misc.c (main): Ignore fesetround failure when failures
33660 of subsequent rounding tests would be ignored.
33661
33662 [BZ #15654]
33663 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33664 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33665 * math/fegetenv.c (__fegetenv): Return 0.
33666 * math/fegetexcept.c (fegetexcept): Return 0.
33667 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33668 FE_TONEAREST.
33669 * math/feholdexcpt.c (feholdexcept): Return 0.
33670 * math/fesetenv.c (__fesetenv): Return 0.
33671 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33672 argument FE_TONEAREST.
33673 * math/feupdateenv.c (__feupdateenv): Return 0.
33674 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33675
33676 2013-06-18 Roland McGrath <roland@hack.frob.com>
33677
33678 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33679 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33680 ($(objpfx)rtld-%.os rules): Use them.
33681
33682 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33683
33684 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33685 fields.
33686
33687 2013-06-17 Roland McGrath <roland@hack.frob.com>
33688
33689 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33690 length of target pattern, then descending length of dependency pattern.
33691 * configure.in (AWK): Require gawk 3.1.2 or newer.
33692 * manual/install.texi (Tools for Compilation): Say that we do.
33693 * configure: Regenerated.
33694
33695 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33696 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33697 * scripts/sysd-rules.awk: ... this new script.
33698 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33699 than a glob-style pattern.
33700
33701 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33702
33703 * math/test-misc.c (main): Do not treat incorrectly rounded
33704 conversions as failure unless ROUNDING_TESTS passes.
33705
33706 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33707
33708 [BZ #15631]
33709 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33710 restore exception state around main square root computation, then
33711 check for inexactness explicitly.
33712
33713 * math/libm-test.inc (fma_test_data): Add another test.
33714
33715 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33716
33717 * manual/threads.texi (Non-POSIX Extensions): New document
33718 node. Document pthread_getattr_default_np and
33719 pthread_setattr_default_np.
33720
33721 * Versions.def (libpthread): Add GLIBC_2.18.
33722 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33724 Likewise.
33725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33726 Likewise.
33727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33728 Likewise.
33729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33730 Likewise.
33731 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33732 Likewise.
33733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33734 Likewise.
33735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33736 Likewise.
33737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33738 Likewise.
33739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33740 Likewise.
33741
33742 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33743
33744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33745 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33746
33747 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33748 H.J. Lu <hjl.tools@gmail.com>
33749
33750 [BZ #15627]
33751 * sysdeps/x86_64/rtld-memset.c: Remove file.
33752 * sysdeps/x86_64/rtld-memset.S: New file.
33753
33754 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33755
33756 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33757 (test_in_one_mode): Take arguments for whether the rounding mode
33758 is supported for each floating-point type.
33759 (do_test): Pass new arguments to test_in_one_mode using
33760 ROUNDING_TESTS.
33761
33762 2013-06-13 Roland McGrath <roland@hack.frob.com>
33763
33764 * posix/tst-waitid.c (do_test): Distinguish different instances of
33765 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33766 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33767 before entering the kernel for waitpid.
33768
33769 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33770
33771 * NEWS: Fix note on clock function precision. Text by Roland
33772 McGrath.
33773
33774 2013-06-13 Roland McGrath <roland@hack.frob.com>
33775
33776 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33777 it into place only when and if the sanity check passes.
33778
33779 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33780
33781 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33782 output for whether conversion result is exact. Take argument
33783 indicating whether type is IBM long double.
33784 (round_for_all): Change need_exact field to ibm_ld.
33785 * stdlib/tst-strtod-round.c (struct exactness): New type.
33786 (struct test): Change bool ld_ok field to struct exactness exact.
33787 (TEST): Update all definitions for change to field.
33788 (tests): Regenerate array contents.
33789 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33790 field value. Check for IBM long double here.
33791 (do_test): Update calls to test_in_one_mode.
33792
33793 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33794
33795 [BZ #12515]
33796 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33797 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33798
33799 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33800
33801 [BZ #15605]
33802 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33803 generated by the compiler on loop optimizations.
33804 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33805 general definitions.
33806
33807 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33808
33809 * math/bug-nextafter.c: Include <math-tests.h>.
33810 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33811 the relevant type.
33812 * math/bug-nexttoward.c: Include <math-tests.h>.
33813 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33814 the relevant type.
33815 * math/test-misc.c: Include <math-tests.h>.
33816 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33817 the relevant type.
33818
33819 2013-06-12 Andreas Jaeger <aj@suse.de>
33820
33821 * po/ia.po: Update Interlingua translation from translation
33822 project.
33823
33824 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33825
33826 * include/fenv.h: Include stdbool.h.
33827 (struct rm_ctx): New structure.
33828 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33829 Define macro.
33830 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33831 (SET_RESTORE_ROUNDF): Likewise.
33832 (SET_RESTORE_ROUNDL): Likewise.
33833 (SET_RESTORE_ROUND_NOEX): Likewise.
33834 (SET_RESTORE_ROUND_NOEXF): Likewise.
33835 (SET_RESTORE_ROUND_NOEXL): Likewise.
33836 (SET_RESTORE_ROUND_53BIT): Likewise.
33837 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33838 (libc_feresetround_noexf_ctx): Likewise.
33839 (libc_feresetround_noexl_ctx): Likewise.
33840 (libc_feholdsetround_53bit_ctx): Likewise.
33841 (libc_feresetround_53bit_ctx): Likewise.
33842 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33843 (libc_feholdexcept_setround_sse_ctx): New function.
33844 (libc_fesetenv_sse_ctx): Likewise.
33845 (libc_feupdateenv_sse_ctx): Likewise.
33846 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33847 (libc_feholdexcept_setround_387_ctx): Likewise.
33848 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33849 (libc_feholdsetround_387_prec_ctx): Likewise.
33850 (libc_feholdsetround_387_ctx): Likewise.
33851 (libc_feholdsetround_387_53bit_ctx): Likewise.
33852 (libc_feholdsetround_sse_ctx): Likewise.
33853 (libc_feresetround_sse_ctx): Likewise.
33854 (libc_feresetround_387_ctx): Likewise.
33855 (libc_feupdateenv_387_ctx): Likewise.
33856 (libc_feholdexcept_setroundf_ctx): Define macro.
33857 (libc_fesetenvf_ctx): Likewise.
33858 (libc_feupdateenvf_ctx): Likewise.
33859 (libc_feholdsetroundf_ctx): Likewise.
33860 (libc_feresetroundf_ctx): Likewise.
33861 (libc_feholdexcept_setround_ctx): Likewise.
33862 (libc_fesetenv_ctx): Likewise.
33863 (libc_feupdateenv_ctx): Likewise.
33864 (libc_feholdsetround_ctx): Likewise.
33865 (libc_feresetround_ctx): Likewise.
33866 (libc_feholdexcept_setroundl_ctx): Likewise.
33867 (libc_feupdateenvl_ctx): Likewise.
33868 (libc_feholdsetroundl_ctx): Likewise.
33869 (libc_feresetroundl_ctx): Likewise.
33870 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33871 (libc_feresetround_53bit_ctx): Likewise.
33872
33873 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33874
33875 * locale/iso-639.def: Convert to UTF-8.
33876
33877 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33878
33879 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33880 (EXCEPTION_TESTS_double): Likewise.
33881 (EXCEPTION_TESTS_long_double): Likewise.
33882 (EXCEPTION_TESTS): Likewise.
33883 * math/libm-test.inc (test_exceptions): Only test exceptions if
33884 EXCEPTION_TESTS (FLOAT).
33885
33886 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33887
33888 * benchtests/Makefile (string-bench): Add strcpy_chk and
33889 stpcpy_chk.
33890 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33891 * benchtests/bench-stpcpy_chk.c: New file.
33892 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33893 * benchtests/bench-strcpy_chk.c: New file.
33894 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33895 code.
33896 (do_test): Likewise.
33897
33898 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33899
33900 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33901 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33902 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33903 with tabs where appropriate.
33904 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33905 dl-procinfo.h.
33906 [PPC_PLATFORM_PPC440]: Likewise.
33907 [PPC_PLATFORM_PPC464]: Likewise.
33908 [PPC_PLATFORM_PPC476]: Likewise.
33909 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33910 ppc464, and ppc476 platform strings merging from ports/
33911 dl-procinfo.h.
33912
33913 2013-06-11 Andreas Schwab <schwab@suse.de>
33914
33915 [BZ #14991]
33916 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33917 (from_ucs4_idx): Regenerate.
33918 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33919 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33920 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33921 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33922 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33923 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33924 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33925 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33926 from FROM_LOOP and TO_LOOP specific macros.
33927 (BODY): Handle combining characters.
33928 * iconvdata/BIG5HKSCS.irreversible: Update.
33929 * iconvdata/BIG5HKSCS.precomposed: New file.
33930 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33931 characters.
33932 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33933
33934 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33935
33936 * include/sys/time.h: Fix indentation and add copyright header.
33937
33938 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33939 (do_test): Likewise.
33940 * string/test-memchr.c (do_one_test): Likewise.
33941 (do_test): Likewise.
33942 * string/test-memcmp.c (do_one_test): Likewise.
33943 (do_test): Likewise.
33944 * string/test-memcpy.c (do_one_test): Likewise.
33945 (do_test): Likewise.
33946 * string/test-memmem.c (do_one_test): Likewise.
33947 (do_test): Likewise.
33948 (do_random_tests): Likewise.
33949 * string/test-memmove.c (do_one_test): Likewise.
33950 (do_test): Likewise.
33951 * string/test-memset.c (do_one_test): Likewise.
33952 (do_test): Likewise.
33953 * string/test-rawmemchr.c (do_one_test): Likewise.
33954 (do_test): Likewise.
33955 * string/test-strcasecmp.c (do_one_test): Likewise.
33956 (do_test): Likewise.
33957 * string/test-strcasestr.c (do_one_test): Likewise.
33958 (do_test): Likewise.
33959 * string/test-strcat.c (do_one_test): Likewise.
33960 (do_test): Likewise.
33961 * string/test-strchr.c (do_one_test): Likewise.
33962 (do_test): Likewise.
33963 * string/test-strcmp.c (do_one_test): Likewise.
33964 (do_test): Likewise.
33965 * string/test-strcpy.c (do_one_test): Likewise.
33966 (do_test): Likewise.
33967 * string/test-string.h: Likewise.
33968 (test_init): Likewise.
33969 * string/test-strlen.c (do_one_test): Likewise.
33970 (do_test): Likewise.
33971 * string/test-strncasecmp.c (do_one_test): Likewise.
33972 (do_test): Likewise.
33973 * string/test-strncat.c (do_one_test): Likewise.
33974 (do_test): Likewise.
33975 * string/test-strncmp.c (do_one_test): Likewise.
33976 (do_test_limit): Likewise.
33977 (do_test): Likewise.
33978 * string/test-strncpy.c (do_one_test): Likewise.
33979 (do_test): Likewise.
33980 * string/test-strnlen.c (do_one_test): Likewise.
33981 (do_test): Likewise.
33982 * string/test-strpbrk.c (do_one_test): Likewise.
33983 (do_test): Likewise.
33984 * string/test-strrchr.c (do_one_test): Likewise.
33985 (do_test): Likewise.
33986 * string/test-strspn.c (do_one_test): Likewise.
33987 (do_test): Likewise.
33988 * string/test-strstr.c (do_one_test): Likewise.
33989 (do_test): Likewise.
33990
33991 * benchtests/Makefile (string-bench): Add string benchmarks.
33992 * benchtests/bench-bcopy-ifunc.c: New file.
33993 * benchtests/bench-bcopy.c: New file.
33994 * benchtests/bench-bzero-ifunc.c: New file.
33995 * benchtests/bench-bzero.c: New file.
33996 * benchtests/bench-memccpy-ifunc.c: New file.
33997 * benchtests/bench-memccpy.c: New file.
33998 * benchtests/bench-memchr-ifunc.c: New file.
33999 * benchtests/bench-memchr.c: New file.
34000 * benchtests/bench-memcmp-ifunc.c: New file.
34001 * benchtests/bench-memcmp.c: New file.
34002 * benchtests/bench-memmem-ifunc.c: New file.
34003 * benchtests/bench-memmem.c: New file.
34004 * benchtests/bench-memmove-ifunc.c: New file.
34005 * benchtests/bench-memmove.c: New file.
34006 * benchtests/bench-mempcpy-ifunc.c: New file.
34007 * benchtests/bench-mempcpy.c: New file.
34008 * benchtests/bench-memset-ifunc.c: New file.
34009 * benchtests/bench-memset.c: New file.
34010 * benchtests/bench-rawmemchr-ifunc.c: New file.
34011 * benchtests/bench-rawmemchr.c: New file.
34012 * benchtests/bench-stpcpy-ifunc.c: New file.
34013 * benchtests/bench-stpcpy.c: New file.
34014 * benchtests/bench-stpncpy-ifunc.c: New file.
34015 * benchtests/bench-stpncpy.c: New file.
34016 * benchtests/bench-strcasecmp-ifunc.c: New file.
34017 * benchtests/bench-strcasecmp.c: New file.
34018 * benchtests/bench-strcasestr-ifunc.c: New file.
34019 * benchtests/bench-strcasestr.c: New file.
34020 * benchtests/bench-strcat-ifunc.c: New file.
34021 * benchtests/bench-strcat.c: New file.
34022 * benchtests/bench-strchr-ifunc.c: New file.
34023 * benchtests/bench-strchr.c: New file.
34024 * benchtests/bench-strchrnul-ifunc.c: New file.
34025 * benchtests/bench-strchrnul.c: New file.
34026 * benchtests/bench-strcmp-ifunc.c: New file.
34027 * benchtests/bench-strcmp.c: New file.
34028 * benchtests/bench-strcpy-ifunc.c: New file.
34029 * benchtests/bench-strcpy.c: New file.
34030 * benchtests/bench-strcspn-ifunc.c: New file.
34031 * benchtests/bench-strcspn.c: New file.
34032 * benchtests/bench-strlen-ifunc.c: New file.
34033 * benchtests/bench-strlen.c: New file.
34034 * benchtests/bench-strncasecmp-ifunc.c: New file.
34035 * benchtests/bench-strncasecmp.c: New file.
34036 * benchtests/bench-strncat-ifunc.c: New file.
34037 * benchtests/bench-strncat.c: New file.
34038 * benchtests/bench-strncmp-ifunc.c: New file.
34039 * benchtests/bench-strncmp.c: New file.
34040 * benchtests/bench-strncpy-ifunc.c: New file.
34041 * benchtests/bench-strncpy.c: New file.
34042 * benchtests/bench-strnlen-ifunc.c: New file.
34043 * benchtests/bench-strnlen.c: New file.
34044 * benchtests/bench-strpbrk-ifunc.c: New file.
34045 * benchtests/bench-strpbrk.c: New file.
34046 * benchtests/bench-strrchr-ifunc.c: New file.
34047 * benchtests/bench-strrchr.c: New file.
34048 * benchtests/bench-strspn-ifunc.c: New file.
34049 * benchtests/bench-strspn.c: New file.
34050 * benchtests/bench-strstr-ifunc.c: New file.
34051 * benchtests/bench-strstr.c: New file.
34052
34053 * benchtests/Makefile: Disable parallel execution of targets.
34054 (string-bench): Add memcpy.
34055 (benchset): New variable to store a list of benchmark sets.
34056 (bench-func): Renamed from bench.
34057 (bench-set): New target.
34058 (bench): Depend on bench-func and bench-set.
34059 * benchtests/README: Add section on benchmark sets.
34060 * benchtests/bench-memcpy-ifunc.c: New file.
34061 * benchtests/bench-memcpy.c: New file.
34062 * benchtests/bench-string.h: New file.
34063
34064 2013-06-11 Andreas Schwab <schwab@suse.de>
34065
34066 [BZ #15577]
34067 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34068 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34069 values in the triple.
34070 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34071 terminator in the group key.
34072
34073 2013-06-11 Andreas Jaeger <aj@suse.de>
34074
34075 * po/zh_TW.po: Update Chinese (traditional) translation from
34076 translation project.
34077
34078 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34079
34080 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34081 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34082 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34084 (clock_getcpuclockid): Likewise.
34085 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34086 Add weak_alias and libc_hidden_def.
34087 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34088 * rt/clock_gettime.c (clock_gettime): Rename to
34089 __clock_gettime. Add weak_alias and libc_hidden_def.
34090 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34091 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34092 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34093 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34094 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34095 Likewise.
34096 * rt/clock_settime.c (clock_settime): Rename to
34097 __clock_settime. Add weak_alias and libc_hidden_def.
34098 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34099
34100 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34101
34102 * mach/err_boot.sub: Remove trailing whitespace.
34103 * mach/err_ipc.sub: Likewise.
34104 * mach/err_mach.sub: Likewise.
34105
34106 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34107 (ROUNDING_TESTS_double): Likewise.
34108 (ROUNDING_TESTS_long_double): Likewise.
34109 (ROUNDING_TESTS): Likewise.
34110 * math/libm-test.inc: Include <math-tests.h>.
34111 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34112 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34113 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34114 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34115
34116 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34117
34118 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34119 of assigning.
34120
34121 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34122
34123 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34124 otherwise empty TRANS lines.
34125 * sysdeps/gnu/errlist.c: Regenerated.
34126
34127 * catgets/gencat.c (error_print): Use (void) in function
34128 definition.
34129 * crypt/crypt_util.c (__init_des): Likewise.
34130 * crypt/speeds.c (Stop): Likewise.
34131 (main): Likewise.
34132 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34133 * inet/ruserpass.c (token): Likewise.
34134 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34135 * intl/localealias.c (extend_alias_table): Likewise.
34136 * intl/plural-exp.c (init_germanic_plural): Likewise.
34137 * libio/fcloseall.c (__fcloseall): Likewise.
34138 * libio/genops.c (_IO_flush_all): Likewise.
34139 (_IO_flush_all_linebuffered): Likewise.
34140 (_IO_cleanup): Likewise.
34141 (_IO_iter_begin): Likewise.
34142 (_IO_iter_end): Likewise.
34143 (_IO_list_lock): Likewise.
34144 (_IO_list_unlock): Likewise.
34145 (_IO_list_resetlock): Likewise.
34146 * libio/getchar.c (getchar): Likewise.
34147 * libio/getchar_u.c (getchar_unlocked): Likewise.
34148 * libio/getwchar.c (getwchar): Likewise.
34149 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34150 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34151 * login/getpt.c (__getpt): Likewise.
34152 * login/tst-utmp.c (main): Likewise.
34153 * malloc/hooks.c (__malloc_check_init): Likewise.
34154 * malloc/malloc.c (__malloc_stats): Likewise.
34155 * malloc/mtrace.c (tr_break): Likewise.
34156 (mtrace): Likewise.
34157 (muntrace): Likewise.
34158 * misc/fstab.c (endfsent): Likewise.
34159 * misc/getclktck.c (__getclktck): Likewise.
34160 * misc/getdtsz.c (__getdtablesize): Likewise.
34161 * misc/gethostid.c (gethostid): Likewise.
34162 * misc/getpagesize.c (__getpagesize): Likewise.
34163 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34164 (__get_nprocs): Likewise.
34165 (__get_phys_pages): Likewise.
34166 (__get_avphys_pages): Likewise.
34167 * misc/getttyent.c (getttyent): Likewise.
34168 (setttyent): Likewise.
34169 (endttyent): Likewise.
34170 * misc/getusershell.c (getusershell): Likewise.
34171 (endusershell): Likewise.
34172 (setusershell): Likewise.
34173 (initshells): Likewise.
34174 * misc/hsearch.c (__hdestroy): Likewise.
34175 * misc/sync.c (sync): Likewise.
34176 * misc/syslog.c (closelog_internal): Likewise.
34177 (closelog): Likewise.
34178 * misc/ttyslot.c (ttyslot): Likewise.
34179 * misc/vhangup.c (vhangup): Likewise.
34180 * posix/fork.c (__fork): Likewise.
34181 * posix/getegid.c (__getegid): Likewise.
34182 * posix/geteuid.c (__geteuid): Likewise.
34183 * posix/getgid.c (__getgid): Likewise.
34184 * posix/getpid.c (__getpid): Likewise.
34185 * posix/getppid.c (__getppid): Likewise.
34186 * posix/getuid.c (__getuid): Likewise.
34187 * posix/pause.c (pause): Likewise.
34188 * posix/setpgrp.c (setpgrp): Likewise.
34189 * posix/setsid.c (__setsid): Likewise.
34190 * posix/test-vfork.c (noop): Likewise.
34191 * resolv/gethnamaddr.c (_endhtent): Likewise.
34192 (_gethtent): Likewise.
34193 (ht_endhostent): Likewise.
34194 (gethostent): Likewise.
34195 (dns_service): Likewise.
34196 * stdlib/drand48.c (drand48): Likewise.
34197 * stdlib/lrand48.c (lrand48): Likewise.
34198 * stdlib/mrand48.c (mrand48): Likewise.
34199 * stdlib/rand.c (rand): Likewise.
34200 * stdlib/random.c (__random): Likewise.
34201 * stdlib/setenv.c (clearenv): Likewise.
34202 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34203 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34204 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34205 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34206 (__get_nprocs): Likewise.
34207 (__get_phys_pages): Likewise.
34208 (__get_avphys_pages): Likewise.
34209 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34210 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34211 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34212 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34213 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34214 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34215 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34216 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34217 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34218 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34219 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34220 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34221 * sysdeps/posix/clock.c (clock): Likewise.
34222 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34223 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34224 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34225 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34226 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34227 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34228 (__get_nprocs_conf): Likewise.
34229 (__get_phys_pages): Likewise.
34230 (__get_avphys_pages): Likewise.
34231 * time/clock.c (clock): Likewise.
34232 * time/tzset.c (__tzname_max): Likewise.
34233
34234 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34235
34236 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34237 (__bswap_32): Do not use "register".
34238 * crypt/crypt.c (_ufc_doit_r): Likewise.
34239 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34240 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34241 * gmon/gmon.c (__monstartup): Likewise.
34242 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34243 * hurd/hurdmalloc.c (more_memory): Likewise.
34244 (malloc): Likewise.
34245 (free): Likewise.
34246 (realloc): Likewise.
34247 (malloc_fork_prepare): Likewise.
34248 (malloc_fork_parent): Likewise.
34249 (malloc_fork_child): Likewise.
34250 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34251 (_svcauth_des): Likewise.
34252 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34253 * inet/inet_net.c (inet_network): Likewise.
34254 * inet/inet_netof.c (inet_netof): Likewise.
34255 * inet/rcmd.c (__validuser2_sa): Likewise.
34256 * io/fts.c (fts_open): Likewise.
34257 (fts_load): Likewise.
34258 (fts_close): Likewise.
34259 (fts_read): Likewise.
34260 (fts_children): Likewise.
34261 (fts_build): Likewise.
34262 (fts_stat): Likewise.
34263 (fts_sort): Likewise.
34264 (fts_alloc): Likewise.
34265 (fts_lfree): Likewise.
34266 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34267 (_IO_file_xsgetn): Likewise.
34268 (_IO_file_xsgetn_mmap): Likewise.
34269 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34270 (_IO_cookie_write): Likewise.
34271 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34272 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34273 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34274 * malloc/obstack.c (_obstack_begin): Likewise.
34275 (_obstack_begin_1): Likewise.
34276 (_obstack_newchunk): Likewise.
34277 (_obstack_allocated_p): Likewise.
34278 (obstack_free): Likewise.
34279 (_obstack_memory_used): Likewise.
34280 * misc/getttyent.c (getttynam): Likewise.
34281 (getttyent): Likewise.
34282 (skip): Likewise.
34283 (value): Likewise.
34284 * misc/getusershell.c (initshells): Likewise.
34285 * misc/syslog.c (__vsyslog_chk): Likewise.
34286 * misc/ttyslot.c (ttyslot): Likewise.
34287 * nis/nis_hash.c (__nis_hash): Likewise.
34288 * posix/fnmatch_loop.c (FCT): Likewise.
34289 * posix/getconf.c (print_all): Likewise.
34290 (main): Likewise.
34291 * posix/getopt.c (exchange): Likewise.
34292 * posix/glob.c (globfree): Likewise.
34293 (prefix_array): Likewise.
34294 (__glob_pattern_type): Likewise.
34295 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34296 (NS_GET32): Likewise.
34297 (NS_PUT16): Likewise.
34298 (NS_PUT32): Likewise.
34299 * resolv/gethnamaddr.c (getanswer): Likewise.
34300 (gethostbyname2): Likewise.
34301 (gethostbyaddr): Likewise.
34302 (_gethtent): Likewise.
34303 (_gethtbyname2): Likewise.
34304 (_gethtbyaddr): Likewise.
34305 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34306 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34307 * resolv/res_init.c (__res_vinit): Likewise.
34308 (net_mask): Likewise.
34309 * resolv/res_mkquery.c (outchar): Likewise.
34310 (PRINT): Likewise.
34311 * stdio-common/printf_fp.c (outchar): Likewise.
34312 (PRINT): Likewise.
34313 * stdio-common/printf_fphex.c (outchar): Likewise.
34314 (PRINT): Likewise.
34315 * stdio-common/printf_size.c (outchar): Likewise.
34316 (PRINT): Likewise.
34317 * stdio-common/test_rdwr.c (main): Likewise.
34318 * stdio-common/tfformat.c (matches): Likewise.
34319 * stdio-common/vfprintf.c (outchar): Likewise.
34320 (printf_unknown): Likewise.
34321 (buffered_vfprintf): Likewise.
34322 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34323 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34324 (ReadFile): Likewise.
34325 * stdlib/qsort.c (SWAP): Likewise.
34326 (_quicksort): Likewise.
34327 * stdlib/setenv.c (__add_to_environ): Likewise.
34328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34329 * stdlib/strtol_l.c (__strtol_l): Likewise.
34330 * stdlib/tst-strtod.c (main): Likewise.
34331 * stdlib/tst-strtol.c (main): Likewise.
34332 * stdlib/tst-strtoll.c (main): Likewise.
34333 * string/bits/string2.h (__strcmp_cc): Likewise.
34334 (__strcmp_cg): Likewise.
34335 (__strcspn_c1): Likewise.
34336 (__strcspn_c2): Likewise.
34337 (__strcspn_c3): Likewise.
34338 (__strspn_c1): Likewise.
34339 (__strspn_c2): Likewise.
34340 (__strspn_c3): Likewise.
34341 (__strsep_1c): Likewise.
34342 (__strsep_2c): Likewise.
34343 (__strsep_3c): Likewise.
34344 * string/memccpy.c (__memccpy): Likewise.
34345 * string/stpcpy.c (__stpcpy): Likewise.
34346 * string/strcmp.c (strcmp): Likewise.
34347 * string/strrchr.c (strrchr): Likewise.
34348 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34349 Likewise.
34350 * sysdeps/mach/hurd/getcwd.c
34351 (_hurd_canonicalize_directory_name_internal): Likewise.
34352 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34353 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34354 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34355 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34356 Likewise, in both definitions.
34357 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34358 definitions.
34359 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34360 64] (__bswap_64): Likewise.
34361 * time/test_time.c (main): Likewise.
34362 * time/tzfile.c (__tzfile_read): Likewise.
34363 (__tzfile_compute): Likewise.
34364 * time/tzset.c (__tzset_parse_tz): Likewise.
34365 (tzset_internal): Likewise.
34366 (compute_change): Likewise.
34367 * wcsmbs/wcscat.c (__wcscat): Likewise.
34368 * wcsmbs/wcschr.c (wcschr): Likewise.
34369 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34370 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34371 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34372 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34373 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34374 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34375 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34376 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34377 * wcsmbs/wmemset.c (wmemset): Likewise.
34378
34379 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34380
34381 * scripts/config.guess: Update to version 2013-05-16.
34382 * scripts/config.sub: Update to version 2013-04-24.
34383 * scripts/install-sh: Update to version 2011-11-20.07.
34384 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34385 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34386
34387 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34388
34389 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34390 * elf/sln.c: Likewise.
34391 * hurd/hurd/ioctl.h: Likewise.
34392 * hurd/hurdmalloc.c: Likewise.
34393 * hurd/xattr.c: Likewise.
34394 * include/shlib-compat.h: Likewise.
34395 * inet/ruserpass.c: Likewise.
34396 * libio/iofgets_u.c: Likewise.
34397 * libio/iofgetws_u.c: Likewise.
34398 * locale/programs/ld-identification.c: Likewise.
34399 * locale/programs/ld-time.c: Likewise.
34400 * mach/msg-destroy.c: Likewise.
34401 * nss/nss_files/files-netgrp.c: Likewise.
34402 * resolv/res_data.c: Likewise.
34403 * soft-fp/op-1.h: Likewise.
34404 * soft-fp/op-2.h: Likewise.
34405 * soft-fp/op-4.h: Likewise.
34406 * soft-fp/op-common.h: Likewise.
34407 * stdio-common/printf_fphex.c: Likewise.
34408 * stdlib/strtod_l.c: Likewise.
34409 * sunrpc/rpc/clnt.h: Likewise.
34410 * sysdeps/generic/framestate.c: Likewise.
34411 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34412 * sysdeps/i386/bsd-setjmp.S: Likewise.
34413 * sysdeps/i386/__longjmp.S: Likewise.
34414 * sysdeps/i386/setjmp.S: Likewise.
34415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34416 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34433 * sysdeps/ieee754/support.c: Likewise.
34434 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34435 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34436 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34437 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34438 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34439 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34440 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34441 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34442 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34443 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34444 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34445 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34446 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34447 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34448 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34449 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34450 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34452
34453 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34454
34455 * posix/transbug.c: Remove executable mode.
34456
34457 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34458
34459 * crypt/speeds.c: Remove trailing whitespace.
34460 * dlfcn/default.c: Likewise.
34461 * elf/ifuncdep2.c: Likewise.
34462 * elf/ifuncmain1.c: Likewise.
34463 * elf/ifuncmain1vis.c: Likewise.
34464 * elf/testobj.h: Likewise.
34465 * elf/tst-stackguard1.c: Likewise.
34466 * gmon/sys/gmon.h: Likewise.
34467 * hurd/hurdmsg.c: Likewise.
34468 * hurd/new-fd.c: Likewise.
34469 * hurd/ports-get.c: Likewise.
34470 * iconvdata/ibm1008_420.c: Likewise.
34471 * inet/tst-getni1.c: Likewise.
34472 * inet/tst-getni2.c: Likewise.
34473 * libio/ioungetc.c: Likewise.
34474 * libio/wfiledoalloc.c: Likewise.
34475 * manual/libm-err-tab.pl: Likewise.
34476 * math/w_dremf.c: Likewise.
34477 * misc/ftruncate.c: Likewise.
34478 * posix/bug-glob2.c: Likewise.
34479 * posix/tst-pcre.c: Likewise.
34480 * posix/wait4.c: Likewise.
34481 * resolv/README: Likewise.
34482 * resolv/res_debug.h: Likewise.
34483 * resolv/tst-inet_ntop.c: Likewise.
34484 * setjmp/bug269-setjmp.c: Likewise.
34485 * soft-fp/extended.h: Likewise.
34486 * soft-fp/op-1.h: Likewise.
34487 * soft-fp/op-2.h: Likewise.
34488 * soft-fp/op-4.h: Likewise.
34489 * soft-fp/op-8.h: Likewise.
34490 * soft-fp/testit.c: Likewise.
34491 * stdio-common/bug16.c: Likewise.
34492 * stdlib/random.c: Likewise.
34493 * sunrpc/rpcsvc/rquota.x: Likewise.
34494 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34495 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34496 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34497 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34498 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34499 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34500 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34501 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34502 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34503 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34504 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34505 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34506 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34507 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34509 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34510 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34511 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34512 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34515 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34516 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34519 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34521 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34523 * sysdeps/ieee754/s_lib_version.c: Likewise.
34524 * sysdeps/mach/hurd/check_fds.c: Likewise.
34525 * sysdeps/mach/hurd/getsockname.c: Likewise.
34526 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34527 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34528 * sysdeps/powerpc/bits/link.h: Likewise.
34529 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34530 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34531 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34532 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34533 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34534 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34535 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34536 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34537 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34538 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34539 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34540 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34541 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34542 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34543 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34544 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34545 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34546 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34548 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34549 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34550 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34551 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34552 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34553 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34554 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34555 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34558 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34559 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34561 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34562 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34563 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34564 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34565 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34566 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34567 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34568 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34569 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34570 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34571 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34572 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34573 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34574 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34575 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34576 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34577 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34578 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34581 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34582 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34583 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34584 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34585 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34586 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34588 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34589 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34591 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34592 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34593 * sysdeps/powerpc/sysdep.h: Likewise.
34594 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34595 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34596 * sysdeps/sh/dl-trampoline.S: Likewise.
34597 * sysdeps/sh/memset.S: Likewise.
34598 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34599 * sysdeps/sh/strlen.S: Likewise.
34600 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34601 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34602 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34603 * sysdeps/sparc/sparc32/rem.S: Likewise.
34604 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34605 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34606 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34607 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34608 * sysdeps/sparc/sparc32/urem.S: Likewise.
34609 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34610 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34611 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34612 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34614 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34615 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34616 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34617 * sysdeps/unix/bsd/times.c: Likewise.
34618 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34619 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34623 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34624 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34625 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34626 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34627 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34628 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34629 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34630 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34631 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34632 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34633 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34634 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34635 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34636 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34637 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34638 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34639 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34640 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34641 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34642 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34643 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34644 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34645 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34646 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34647 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34648 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34649 * sysdeps/x86_64/strcspn.S: Likewise.
34650
34651 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34652
34653 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34654 generated file. Regenerate properly from gen-translit.pl.
34655 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34656 locale/C-translit.h.
34657
34658 2013-06-05 Andreas Schwab <schwab@suse.de>
34659
34660 [BZ #15100]
34661 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34662 week as 6 instead of -1.
34663 * time/tst-strptime.c (day_tests): Add test case.
34664
34665 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34666
34667 * sysdeps/generic/math_private.h
34668 (libc_feholdexcept_setround_53bit): Replace with
34669 libc_feholdsetround_53bit.
34670 (libc_feupdateenv_53bit): Replace with
34671 libc_feresetround_53bit.
34672 (SET_RESTORE_ROUND_53BIT): Adjust.
34673
34674 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34675
34676 * string/test-strchrnul.c: Add copyright header.
34677
34678 * posix/tst-getaddrinfo4.c: Increase test timeout.
34679
34680 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34681
34682 [BZ #15536]
34683 * math/libm-test.inc (MAX_EXP): Remove
34684 (MIN_EXP): Define.
34685 (ulp): Use MIN_EXP - MANT_DIG.
34686 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34687
34688 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34689
34690 * po/be.po: Revert last change.
34691 * po/zh_CN.po: Likewise.
34692 * po/header.pot: Likewise.
34693
34694 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34695
34696 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34697 link-libc-deps to empty as target-specific variable.
34698 * Makerules (link-libc-args): New variable.
34699 (libc-for-link): Likewise.
34700 (link-libc-deps): Likewise.
34701 (lib%.so): Depend on $(link-libc-deps). Link with
34702 $(link-libc-args).
34703 (build-module): Link with $(link-libc-args).
34704 (build-module-asneeded): Likewise.
34705 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34706 list of objects.
34707 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34708 target-specific variable.
34709 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34710 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34711 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34712 libc.
34713 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34714 libc and ld.so.
34715 ($(objpfx)libpcprofile.so): Likewise.
34716 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34717 libc_nonshared.a.
34718 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34719 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34720 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34721 $(link-libc-deps).
34722 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34723 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34724 * login/Makefile ($(objpfx)libutil.so): Likewise.
34725 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34726 * math/Makefile ($(objpfx)libm.so): Likewise.
34727 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34728 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34729 variable instead of depending directly on libc.
34730 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34731 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34732 $(link-libc-deps).
34733 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34734 libc.
34735 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34736 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34737 ($(objpfx)libanl.so): Likewise.
34738 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34739 ld.so.
34740 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34741 $(link-libc-deps).
34742 * sysdeps/i386/fpu/Makefile: Remove file.
34743 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34744 ($(objpfx)libm.so): Remove dependency on ld.so.
34745
34746 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34747
34748 [BZ # 15553]
34749 * nis/yp_xdr.c (XDRMAXNAME): Define.
34750 (XDRMAXRECORD): Define.
34751 (xdr_domainname): Use XDRMAXNAME.
34752 (xdr_mapname): Likewise.
34753 (xdr_peername): Likewise.
34754 (xdr_keydat): Use XDRMAXRECORD.
34755 (xdr_valdat): Likewise.
34756
34757 2013-05-30 Jeff Law <law@redhat.com>
34758
34759 [BZ #14256]
34760 * manual/errno.texi (ESTALE): Update to account for more than
34761 just NFS file systems.
34762 * sysdeps/gnu/errlist.c: Regenerated.
34763
34764 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34765
34766 [BZ #15465]
34767 * elf/Makefile (tests): Add tst-null-argv.
34768 (modules-names): Add tst-null-argv-lib.
34769 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34770 (tst-null-argv-ENV): Set environment for tst-null-argv.
34771 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34772 (RTLD_PROGNAME): New macro.
34773 * elf/tst-null-argv.c: New test case.
34774 * elf/tst-null-argv-lib.c: Library for test case.
34775 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34776 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34777 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34778 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34779 * elf/dl-init.c (call_init): Likewise.
34780 (_dl_init): Likewise.
34781 * elf/dl-load.c (print_search_path): Likewise.
34782 (_dl_map_object): Likewise.
34783 * elf/dl-lookup.c (do_lookup_x): Likewise.
34784 (add_dependency): Likewise.
34785 (_dl_lookup_symbol_x): Likewise.
34786 (_dl_debug_bindings): Likewise.
34787 * elf/dl-open.c (_dl_show_scope): Likewise.
34788 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34789 * elf/dl-version.c (match_symbol): Likewise.
34790 (_dl_check_map_versions): Likewise.
34791 * elf/rtld.c (dl_main): Likewise.
34792 (print_unresolved): Use RTLD_PROGNAME.
34793 (print_missing_version): Likewise.
34794 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34795 (elf_machine_rela): Likewise.
34796 * sysdeps/powerpc/powerpc32/dl-machine.c
34797 (__process_machine_rela): Likewise.
34798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34799 Likewise.
34800 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34801 Likewise.
34802 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34803 Likewise.
34804 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34806 Likewise.
34807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34808 Likewise.
34809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34810
34811 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34812
34813 * po/be.po: Add descriptive title.
34814 * po/zh_CN.po: Likewise.
34815 * po/header.pot: Likewise.
34816
34817 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34818
34819 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34820 error message.
34821 (enlarge_archive): Likewise.
34822
34823 2013-05-28 Ben North <ben@redfrontdoor.org>
34824
34825 * manual/arith.texi (frexp): It is the magnitude of the return
34826 value which lies in [0.5, 1), not the return value itself.
34827
34828 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34829
34830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34831
34832 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34833
34834 * stdio-common/bug26.c (main): Correct fscanf template.
34835
34836 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34837 declare _dl_skip_args.
34838
34839 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34840 Don't declare.
34841
34842 * manual/platform.texi: Add missing @end deftypefun.
34843
34844 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34845
34846 [BZ #15529]
34847 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34848 bit of mantissa of 2^16382.
34849 * math/libm-test.inc (hypot_test_data): Add more tests.
34850
34851 * math/libm-test.inc: Add drem and pow10 to list of tested
34852 functions.
34853 (pow10_test): New function.
34854 (drem_test): Likewise.
34855 (drem_test_tonearest): Likewise.
34856 (drem_test_towardzero): Likewise.
34857 (drem_test_downward): Likewise.
34858 (drem_test_upward): Likewise.
34859 (main): Call the new functions.
34860
34861 * math/libm-test.inc (finite_test_data): Remove.
34862 (finite_test): Run tests from isfinite_test_data.
34863 (gamma_test_data): Remove.
34864 (gamma_test): Run tests from lgamma_test_data.
34865 * sysdeps/i386/fpu/libm-test-ulps: Update.
34866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34867
34868 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34869
34870 * manual/platform.texi: Add PowerPC PPR function set documentation.
34871 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34872 implementation.
34873
34874 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34875
34876 * math/libm-test.inc (MAX_EXP): Define.
34877 (ULPDIFF): Define.
34878 (ulp): New function.
34879 (check_float_internal): Use ULPDIFF.
34880 (cpow_test): Disable failing test.
34881 (check_ulp): Test ulp() implemetnation.
34882 (main): Call check_ulp before starting tests.
34883
34884 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34885
34886 * math/gen-libm-test.pl (generate_testfile): Do not handle
34887 START_DATA and END_DATA.
34888 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34889 END_DATA.
34890 (acos_tonearest_test_data): Likewise.
34891 (acos_towardzero_test_data): Likewise.
34892 (acos_downward_test_data): Likewise.
34893 (acos_upward_test_data): Likewise.
34894 (acosh_test_data): Likewise.
34895 (asin_test_data): Likewise.
34896 (asin_tonearest_test_data): Likewise.
34897 (asin_towardzero_test_data): Likewise.
34898 (asin_downward_test_data): Likewise.
34899 (asin_upward_test_data): Likewise.
34900 (asinh_test_data): Likewise.
34901 (atan_test_data): Likewise.
34902 (atanh_test_data): Likewise.
34903 (atan2_test_data): Likewise.
34904 (cabs_test_data): Likewise.
34905 (cacos_test_data): Likewise.
34906 (cacosh_test_data): Likewise.
34907 (carg_test_data): Likewise.
34908 (casin_test_data): Likewise.
34909 (casinh_test_data): Likewise.
34910 (catan_test_data): Likewise.
34911 (catanh_test_data): Likewise.
34912 (cbrt_test_data): Likewise.
34913 (ccos_test_data): Likewise.
34914 (ccosh_test_data): Likewise.
34915 (ceil_test_data): Likewise.
34916 (cexp_test_data): Likewise.
34917 (cimag_test_data): Likewise.
34918 (clog_test_data): Likewise.
34919 (clog10_test_data): Likewise.
34920 (conj_test_data): Likewise.
34921 (copysign_test_data): Likewise.
34922 (cos_test_data): Likewise.
34923 (cos_tonearest_test_data): Likewise.
34924 (cos_towardzero_test_data): Likewise.
34925 (cos_downward_test_data): Likewise.
34926 (cos_upward_test_data): Likewise.
34927 (cosh_test_data): Likewise.
34928 (cosh_tonearest_test_data): Likewise.
34929 (cosh_towardzero_test_data): Likewise.
34930 (cosh_downward_test_data): Likewise.
34931 (cosh_upward_test_data): Likewise.
34932 (cpow_test_data): Likewise.
34933 (cproj_test_data): Likewise.
34934 (creal_test_data): Likewise.
34935 (csin_test_data): Likewise.
34936 (csinh_test_data): Likewise.
34937 (csqrt_test_data): Likewise.
34938 (ctan_test_data): Likewise.
34939 (ctan_tonearest_test_data): Likewise.
34940 (ctan_towardzero_test_data): Likewise.
34941 (ctan_downward_test_data): Likewise.
34942 (ctan_upward_test_data): Likewise.
34943 (ctanh_test_data): Likewise.
34944 (ctanh_tonearest_test_data): Likewise.
34945 (ctanh_towardzero_test_data): Likewise.
34946 (ctanh_downward_test_data): Likewise.
34947 (ctanh_upward_test_data): Likewise.
34948 (erf_test_data): Likewise.
34949 (erfc_test_data): Likewise.
34950 (exp_test_data): Likewise.
34951 (exp_tonearest_test_data): Likewise.
34952 (exp_towardzero_test_data): Likewise.
34953 (exp_downward_test_data): Likewise.
34954 (exp_upward_test_data): Likewise.
34955 (exp10_test_data): Likewise.
34956 (exp2_test_data): Likewise.
34957 (expm1_test_data): Likewise.
34958 (fabs_test_data): Likewise.
34959 (fdim_test_data): Likewise.
34960 (finite_test_data): Likewise.
34961 (floor_test_data): Likewise.
34962 (fma_test_data): Likewise.
34963 (fma_towardzero_test_data): Likewise.
34964 (fma_downward_test_data): Likewise.
34965 (fma_upward_test_data): Likewise.
34966 (fmax_test_data): Likewise.
34967 (fmin_test_data): Likewise.
34968 (fmod_test_data): Likewise.
34969 (fpclassify_test_data): Likewise.
34970 (frexp_test_data): Likewise.
34971 (gamma_test_data): Likewise.
34972 (hypot_test_data): Likewise.
34973 (ilogb_test_data): Likewise.
34974 (isfinite_test_data): Likewise.
34975 (isgreater_test_data): Likewise.
34976 (isgreaterequal_test_data): Likewise.
34977 (isinf_test_data): Likewise.
34978 (isless_test_data): Likewise.
34979 (islessequal_test_data): Likewise.
34980 (islessgreater_test_data): Likewise.
34981 (isnan_test_data): Likewise.
34982 (isnormal_test_data): Likewise.
34983 (issignaling_test_data): Likewise.
34984 (isunordered_test_data): Likewise.
34985 (j0_test_data): Likewise.
34986 (j1_test_data): Likewise.
34987 (jn_test_data): Likewise.
34988 (ldexp_test_data): Likewise.
34989 (lgamma_test_data): Likewise.
34990 (lrint_test_data): Likewise.
34991 (lrint_tonearest_test_data): Likewise.
34992 (lrint_towardzero_test_data): Likewise.
34993 (lrint_downward_test_data): Likewise.
34994 (lrint_upward_test_data): Likewise.
34995 (llrint_test_data): Likewise.
34996 (llrint_tonearest_test_data): Likewise.
34997 (llrint_towardzero_test_data): Likewise.
34998 (llrint_downward_test_data): Likewise.
34999 (llrint_upward_test_data): Likewise.
35000 (log_test_data): Likewise.
35001 (log10_test_data): Likewise.
35002 (log1p_test_data): Likewise.
35003 (log2_test_data): Likewise.
35004 (logb_test_data): Likewise.
35005 (logb_downward_test_data): Likewise.
35006 (lround_test_data): Likewise.
35007 (llround_test_data): Likewise.
35008 (modf_test_data): Likewise.
35009 (nearbyint_test_data): Likewise.
35010 (nextafter_test_data): Likewise.
35011 (nexttoward_test_data): Likewise.
35012 (pow_test_data): Likewise.
35013 (pow_tonearest_test_data): Likewise.
35014 (pow_towardzero_test_data): Likewise.
35015 (pow_downward_test_data): Likewise.
35016 (pow_upward_test_data): Likewise.
35017 (remainder_test_data): Likewise.
35018 (remainder_tonearest_test_data): Likewise.
35019 (remainder_towardzero_test_data): Likewise.
35020 (remainder_downward_test_data): Likewise.
35021 (remainder_upward_test_data): Likewise.
35022 (remquo_test_data): Likewise.
35023 (rint_test_data): Likewise.
35024 (rint_tonearest_test_data): Likewise.
35025 (rint_towardzero_test_data): Likewise.
35026 (rint_downward_test_data): Likewise.
35027 (rint_upward_test_data): Likewise.
35028 (round_test_data): Likewise.
35029 (scalb_test_data): Likewise.
35030 (scalbn_test_data): Likewise.
35031 (scalbln_test_data): Likewise.
35032 (signbit_test_data): Likewise.
35033 (sin_test_data): Likewise.
35034 (sin_tonearest_test_data): Likewise.
35035 (sin_towardzero_test_data): Likewise.
35036 (sin_downward_test_data): Likewise.
35037 (sin_upward_test_data): Likewise.
35038 (sincos_test_data): Likewise.
35039 (sinh_test_data): Likewise.
35040 (sinh_tonearest_test_data): Likewise.
35041 (sinh_towardzero_test_data): Likewise.
35042 (sinh_downward_test_data): Likewise.
35043 (sinh_upward_test_data): Likewise.
35044 (sqrt_test_data): Likewise.
35045 (tan_test_data): Likewise.
35046 (tan_tonearest_test_data): Likewise.
35047 (tan_towardzero_test_data): Likewise.
35048 (tan_downward_test_data): Likewise.
35049 (tan_upward_test_data): Likewise.
35050 (tanh_test_data): Likewise.
35051 (tgamma_test_data): Likewise.
35052 (trunc_test_data): Likewise.
35053 (y0_test_data): Likewise.
35054 (y1_test_data): Likewise.
35055 (yn_test_data): Likewise.
35056 (significand_test_data): Likewise.
35057
35058 * math/gen-libm-test.pl (@functions): Remove variable.
35059 (generate_testfile): Don't handle START and END lines.
35060 * math/libm-test.inc (START): New macro.
35061 (END): Likewise.
35062 (END_COMPLEX): Likewise.
35063 (acos_test): Use END macro without arguments.
35064 (acos_test_tonearest): Likewise.
35065 (acos_test_towardzero): Likewise.
35066 (acos_test_downward): Likewise.
35067 (acos_test_upward): Likewise.
35068 (acosh_test): Likewise.
35069 (asin_test): Likewise.
35070 (asin_test_tonearest): Likewise.
35071 (asin_test_towardzero): Likewise.
35072 (asin_test_downward): Likewise.
35073 (asin_test_upward): Likewise.
35074 (asinh_test): Likewise.
35075 (atan_test): Likewise.
35076 (atanh_test): Likewise.
35077 (atan2_test): Likewise.
35078 (cabs_test): Likewise.
35079 (cacos_test): Use END_COMPLEX macro without arguments.
35080 (cacosh_test): Likewise.
35081 (carg_test): Use END macro without arguments.
35082 (casin_test): Use END_COMPLEX macro without arguments.
35083 (casinh_test): Likewise.
35084 (catan_test): Likewise.
35085 (catanh_test): Likewise.
35086 (cbrt_test): Use END macro without arguments.
35087 (ccos_test): Use END_COMPLEX macro without arguments.
35088 (ccosh_test): Likewise.
35089 (ceil_test): Use END macro without arguments.
35090 (cexp_test): Use END_COMPLEX macro without arguments.
35091 (cimag_test): Use END macro without arguments.
35092 (clog_test): Use END_COMPLEX macro without arguments.
35093 (clog10_test): Likewise.
35094 (conj_test): Likewise.
35095 (copysign_test): Use END macro without arguments.
35096 (cos_test): Likewise.
35097 (cos_test_tonearest): Likewise.
35098 (cos_test_towardzero): Likewise.
35099 (cos_test_downward): Likewise.
35100 (cos_test_upward): Likewise.
35101 (cosh_test): Likewise.
35102 (cosh_test_tonearest): Likewise.
35103 (cosh_test_towardzero): Likewise.
35104 (cosh_test_downward): Likewise.
35105 (cosh_test_upward): Likewise.
35106 (cpow_test): Use END_COMPLEX macro without arguments.
35107 (cproj_test): Likewise.
35108 (creal_test): Use END macro without arguments.
35109 (csin_test): Use END_COMPLEX macro without arguments.
35110 (csinh_test): Likewise.
35111 (csqrt_test): Likewise.
35112 (ctan_test): Likewise.
35113 (ctan_test_tonearest): Likewise.
35114 (ctan_test_towardzero): Likewise.
35115 (ctan_test_downward): Likewise.
35116 (ctan_test_upward): Likewise.
35117 (ctanh_test): Likewise.
35118 (ctanh_test_tonearest): Likewise.
35119 (ctanh_test_towardzero): Likewise.
35120 (ctanh_test_downward): Likewise.
35121 (ctanh_test_upward): Likewise.
35122 (erf_test): Use END macro without arguments.
35123 (erfc_test): Likewise.
35124 (exp_test): Likewise.
35125 (exp_test_tonearest): Likewise.
35126 (exp_test_towardzero): Likewise.
35127 (exp_test_downward): Likewise.
35128 (exp_test_upward): Likewise.
35129 (exp10_test): Likewise.
35130 (exp2_test): Likewise.
35131 (expm1_test): Likewise.
35132 (fabs_test): Likewise.
35133 (fdim_test): Likewise.
35134 (finite_test): Likewise.
35135 (floor_test): Likewise.
35136 (fma_test): Likewise.
35137 (fma_test_towardzero): Likewise.
35138 (fma_test_downward): Likewise.
35139 (fma_test_upward): Likewise.
35140 (fmax_test): Likewise.
35141 (fmin_test): Likewise.
35142 (fmod_test): Likewise.
35143 (fpclassify_test): Likewise.
35144 (frexp_test): Likewise.
35145 (gamma_test): Likewise.
35146 (hypot_test): Likewise.
35147 (ilogb_test): Likewise.
35148 (isfinite_test): Likewise.
35149 (isgreater_test): Likewise.
35150 (isgreaterequal_test): Likewise.
35151 (isinf_test): Likewise.
35152 (isless_test): Likewise.
35153 (islessequal_test): Likewise.
35154 (islessgreater_test): Likewise.
35155 (isnan_test): Likewise.
35156 (isnormal_test): Likewise.
35157 (issignaling_test): Likewise.
35158 (isunordered_test): Likewise.
35159 (j0_test): Likewise.
35160 (j1_test): Likewise.
35161 (jn_test): Likewise.
35162 (ldexp_test): Likewise.
35163 (lgamma_test): Likewise.
35164 (lrint_test): Likewise.
35165 (lrint_test_tonearest): Likewise.
35166 (lrint_test_towardzero): Likewise.
35167 (lrint_test_downward): Likewise.
35168 (lrint_test_upward): Likewise.
35169 (llrint_test): Likewise.
35170 (llrint_test_tonearest): Likewise.
35171 (llrint_test_towardzero): Likewise.
35172 (llrint_test_downward): Likewise.
35173 (llrint_test_upward): Likewise.
35174 (log_test): Likewise.
35175 (log10_test): Likewise.
35176 (log1p_test): Likewise.
35177 (log2_test): Likewise.
35178 (logb_test): Likewise.
35179 (logb_test_downward): Likewise.
35180 (lround_test): Likewise.
35181 (llround_test): Likewise.
35182 (modf_test): Likewise.
35183 (nearbyint_test): Likewise.
35184 (nextafter_test): Likewise.
35185 (nexttoward_test): Likewise.
35186 (pow_test): Likewise.
35187 (pow_test_tonearest): Likewise.
35188 (pow_test_towardzero): Likewise.
35189 (pow_test_downward): Likewise.
35190 (pow_test_upward): Likewise.
35191 (remainder_test): Likewise.
35192 (remainder_test_tonearest): Likewise.
35193 (remainder_test_towardzero): Likewise.
35194 (remainder_test_downward): Likewise.
35195 (remainder_test_upward): Likewise.
35196 (remquo_test): Likewise.
35197 (rint_test): Likewise.
35198 (rint_test_tonearest): Likewise.
35199 (rint_test_towardzero): Likewise.
35200 (rint_test_downward): Likewise.
35201 (rint_test_upward): Likewise.
35202 (round_test): Likewise.
35203 (scalb_test): Likewise.
35204 (scalbn_test): Likewise.
35205 (scalbln_test): Likewise.
35206 (signbit_test): Likewise.
35207 (sin_test): Likewise.
35208 (sin_test_tonearest): Likewise.
35209 (sin_test_towardzero): Likewise.
35210 (sin_test_downward): Likewise.
35211 (sin_test_upward): Likewise.
35212 (sincos_test): Likewise.
35213 (sinh_test): Likewise.
35214 (sinh_test_tonearest): Likewise.
35215 (sinh_test_towardzero): Likewise.
35216 (sinh_test_downward): Likewise.
35217 (sinh_test_upward): Likewise.
35218 (sqrt_test): Likewise.
35219 (tan_test): Likewise.
35220 (tan_test_tonearest): Likewise.
35221 (tan_test_towardzero): Likewise.
35222 (tan_test_downward): Likewise.
35223 (tan_test_upward): Likewise.
35224 (tanh_test): Likewise.
35225 (tgamma_test): Likewise.
35226 (trunc_test): Likewise.
35227 (y0_test): Likewise.
35228 (y1_test): Likewise.
35229 (yn_test): Likewise.
35230 (significand_test): Likewise.
35231
35232 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35233
35234 [BZ #15381]
35235 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35236
35237 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35238
35239 [BZ #14894]
35240 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35241 __ppc_mdoio and __ppc_mdoom.
35242 * manual/platform.texi: Document new functions __ppc_yield,
35243 __ppc_mdoio and __ppc_mdoom.
35244
35245 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35246
35247 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35248 (main): Mention "tls" pseudo-hwcap is legacy.
35249 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35250
35251 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35252
35253 * math/gen-libm-test.pl (parse_args): Output only string of
35254 arguments as text for test name, not full call or descriptions of
35255 tests for extra outputs.
35256 (generate_testfile): Do not pass function name to parse_args.
35257 Generate this_func variable from START.
35258 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35259 field to arg_str.
35260 (struct test_ff_f_data): Likewise.
35261 (test_ff_f_data_nexttoward): Likewise.
35262 (struct test_fi_f_data): Likewise.
35263 (struct test_fl_f_data): Likewise.
35264 (struct test_if_f_data): Likewise.
35265 (struct test_fff_f_data): Likewise.
35266 (struct test_c_f_data): Likewise.
35267 (struct test_f_f1_data): Likewise. Remove field extra_name.
35268 (struct test_fF_f1_data): Likewise.
35269 (struct test_ffI_f1_data): Likewise.
35270 (struct test_c_c_data): Rename test_name field to arg_str.
35271 (struct test_cc_c_data): Likewise.
35272 (struct test_f_i_data): Likewise.
35273 (struct test_ff_i_data): Likewise.
35274 (struct test_f_l_data): Likewise.
35275 (struct test_f_L_data): Likewise.
35276 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35277 and extra2_name.
35278 (COMMON_TEST_SETUP): New macro.
35279 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35280 (COMMON_TEST_CLEANUP): Likewise.
35281 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35282 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35283 macros.
35284 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35285 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35286 macros.
35287 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35288 (RUN_TEST_fff_f): Take argument string. Call new setup and
35289 cleanup macros.
35290 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35291 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35292 macros.
35293 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35294 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35295 macros.
35296 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35297 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35298 cleanup macros.
35299 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35300 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35301 cleanup macros.
35302 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35303 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35304 cleanup macros.
35305 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35306 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35307 macros.
35308 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35309 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35310 macros.
35311 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35312 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35313 macros.
35314 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35315 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35316 cleanup macros.
35317 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35318 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35319 cleanup macros.
35320 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35321 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35322 macros.
35323 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35324 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35325 cleanup macros.
35326 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35327 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35328 macros.
35329 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35330 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35331 macros.
35332 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35333 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35334 cleanup macros.
35335 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35336
35337 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35338
35339 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35340 to _sifields.sigfault.
35341 (si_addr_lsb): Define new macro.
35342 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35345
35346 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35347
35348 [BZ #15441]
35349 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35350 returns -1.
35351 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35352 null return -1.
35353 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35354 loading the domain.
35355
35356 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35357
35358 * math/gen-libm-test.pl (parse_args): Do not include expected
35359 result in test name.
35360 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35361 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35362 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35363 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35364 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35366
35367 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35368
35369 * benchtests/Makefile: Sort function entries.
35370
35371 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35372 tanh, asinh, acosh, atanh.
35373 * benchtests/acos-inputs: New file.
35374 * benchtests/acosh-inputs: New file.
35375 * benchtests/asin-inputs: New file.
35376 * benchtests/asinh-inputs: New file.
35377 * benchtests/atanh-inputs: New file.
35378 * benchtests/cosh-inputs: New file.
35379 * benchtests/log-inputs: New file.
35380 * benchtests/sinh-inputs: New file.
35381 * benchtests/tanh-inputs: New file.
35382
35383 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35384
35385 [BZ #15339]
35386 * posix/tst-getaddrinfo4.c: New test.
35387 * posix/Makefile (tests): Add it.
35388
35389 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35390
35391 [BZ #15339]
35392 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35393 when no services were used.
35394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35395 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35396
35397 2013-05-21 Andreas Schwab <schwab@suse.de>
35398
35399 [BZ #15014]
35400 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35401 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35402 successful.
35403 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35404 redundant variable declarations and reallocation of buffer when
35405 parsing as IPv6 address. Always set NSS status when called from
35406 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35407 buffer too small. Correct computation of needed size.
35408 * nss/Makefile (tests): Add test-digits-dots.
35409 * nss/test-digits-dots.c: New test.
35410
35411 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35412
35413 * benchtests/Makefile: Remove instructions for adding
35414 benchmark tests.
35415 * benchtests/README: New file to explain how to execute and
35416 enhance the benchmark tests.
35417
35418 2013-05-21 Andreas Schwab <schwab@suse.de>
35419
35420 [BZ #15493]
35421 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35422 * setjmp/tst-sigsetjmp.c: New test.
35423
35424 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35425
35426 * sysdeps/x86_64/memset.S (memset): New implementation.
35427 (__bzero): Likewise.
35428 (__memset_tail): New function.
35429
35430 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35431
35432 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35433 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35434 __memcpy_sse2_unaligned ifunc selection.
35435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35436 Add memcpy-sse2-unaligned.S.
35437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35438 Add: __memcpy_sse2_unaligned.
35439
35440 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35441
35442 [BZ #15490]
35443 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35444 math_force_eval before restoring floating-point envrionment.
35445 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35447 Likewise.
35448 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35449 <math_private.h>.
35450 (__nearbyintl): Use math_force_eval before restoring
35451 floating-point environment.
35452 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35453
35454 * math/gen-libm-test.pl (special_functions): Remove.
35455 (parse_args): Don't handle TEST_extra. Handle functions with no
35456 return value.
35457 * math/libm-test.inc (struct test_sincos_data): Replace with
35458 struct test_fFF_11_data.
35459 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35460 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35461 (sincos_test_data): Change element type to struct
35462 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35463 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35464 RUN_TEST_LOOP_sincos.
35465 * math/README.libm-test: Don't mention special handling of
35466 individual functions.
35467 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35468 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35469 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35470 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35471 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35473
35474 * math/gen-libm-test.pl (get_variable): Remove function.
35475 (parse_args): Don't show pointer parameters to call in test
35476 names. Use "extra output N" in test names for extra outputs
35477 rather than naming variables.
35478
35479 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35480
35481 [BZ #15488]
35482 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35483 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35484 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35485 double tests.
35486 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35487 disable.
35488 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35489 check_long_double.
35490
35491 * math/gen-libm-test.pl (@tests): Remove variable.
35492 ($count): Likewise.
35493 (new_test): Remove function.
35494 (show_exceptions): New function.
35495 (special_functions): Use show_exceptions instead of new_test.
35496 (parse_args): Likewise.
35497 (generate_testfile): Pass only function name in generated call to
35498 print_max_error or print_complex_max_error.
35499 (get_ulps): Do not handle complex tests specially.
35500 (output_test): Rename to ...
35501 (get_all_ulps_for_test): ... this. Return a string rather than
35502 printing to a file. Require ulps to be present.
35503 (output_ulps): Generate arrays rather than #defines.
35504 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35505 (struct ulp_data): New type.
35506 (BUILD_COMPLEX_ULP): Remove macro.
35507 (compare_ulp_data): New function.
35508 (find_ulps): Likewise.
35509 (find_test_ulps): Likewise.
35510 (find_function_ulps): Likewise.
35511 (find_complex_function_ulps): Likewise.
35512 (print_max_error): Determine allowed ulps using
35513 find_function_ulps.
35514 (print_complex_max_error): Determine allowed ulps using
35515 find_complex_function_ulps.
35516 (check_float_internal): Determine max ulps using find_test_ulps.
35517 (check_float): Do not take max_ulp parameter. Update call to
35518 check_float_internal.
35519 (check_complex): Likewise.
35520 (check_int): Do not take max_ulp parameter.
35521 (check_long): Likewise.
35522 (check_bool): Likewise.
35523 (check_longlong): Likewise.
35524 (struct test_f_f_data): Remove max_ulp field.
35525 (struct test_ff_f_data): Likewise.
35526 (struct test_ff_f_data_nexttoward): Likewise.
35527 (struct test_fi_f_data): Likewise.
35528 (struct test_fl_f_data): Likewise.
35529 (struct test_if_f_data): Likewise.
35530 (struct test_fff_f_data): Likewise.
35531 (struct test_c_f_data): Likewise.
35532 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35533 (struct test_fF_f1_data): Likewise.
35534 (struct test_ffI_f1_data): Likewise.
35535 (struct test_c_c_data): Remove max_ulp field.
35536 (struct test_cc_c_data): Likewise.
35537 (struct test_f_i_data): Likewise.
35538 (struct test_ff_i_data): Likewise.
35539 (struct test_f_l_data): Likewise.
35540 (struct test_f_L_data): Likewise.
35541 (struct test_sincos_data): Likewise.
35542 (RUN_TEST_f_f): Do not handle ulps.
35543 (RUN_TEST_LOOP_f_f): Likewise.
35544 (RUN_TEST_2_f): Likewise.
35545 (RUN_TEST_LOOP_2_f): Likewise.
35546 (RUN_TEST_fff_f): Likewise.
35547 (RUN_TEST_LOOP_fff_f): Likewise.
35548 (RUN_TEST_c_f): Likewise.
35549 (RUN_TEST_LOOP_c_f): Likewise.
35550 (RUN_TEST_f_f1): Likewise.
35551 (RUN_TEST_LOOP_f_f1): Likewise.
35552 (RUN_TEST_fF_f1): Likewise.
35553 (RUN_TEST_LOOP_fF_f1): Likewise.
35554 (RUN_TEST_fI_f1): Likewise.
35555 (RUN_TEST_LOOP_fI_f1): Likewise.
35556 (RUN_TEST_ffI_f1): Likewise.
35557 (RUN_TEST_LOOP_ffI_f1): Likewise.
35558 (RUN_TEST_c_c): Likewise.
35559 (RUN_TEST_LOOP_c_c): Likewise.
35560 (RUN_TEST_cc_c): Likewise.
35561 (RUN_TEST_LOOP_cc_c): Likewise.
35562 (RUN_TEST_f_i): Likewise.
35563 (RUN_TEST_LOOP_f_i): Likewise.
35564 (RUN_TEST_f_i_tg): Likewise.
35565 (RUN_TEST_LOOP_f_i_tg): Likewise.
35566 (RUN_TEST_ff_i_tg): Likewise.
35567 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35568 (RUN_TEST_f_b): Likewise.
35569 (RUN_TEST_LOOP_f_b): Likewise.
35570 (RUN_TEST_f_b_tg): Likewise.
35571 (RUN_TEST_LOOP_f_b_tg): Likewise.
35572 (RUN_TEST_f_l): Likewise.
35573 (RUN_TEST_LOOP_f_l): Likewise.
35574 (RUN_TEST_f_L): Likewise.
35575 (RUN_TEST_LOOP_f_L): Likewise.
35576 (RUN_TEST_sincos): Likewise.
35577 (RUN_TEST_LOOP_sincos): Likewise.
35578
35579 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35580
35581 [BZ #15480]
35582 [BZ #15485]
35583 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35584 main case of finite arguments, set rounding mode to FE_TONEAREST
35585 and discard exceptions.
35586 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35587 exceptions.
35588 (remainder_tonearest_test_data): New variable.
35589 (remainder_test_tonearest): New function.
35590 (remainder_towardzero_test_data): New variable.
35591 (remainder_test_towardzero): New function.
35592 (remainder_downward_test_data): New variable.
35593 (remainder_test_downward): New function.
35594 (remainder_upward_test_data): New variable.
35595 (remainder_test_upward): New function.
35596 (main): Call the new test functions.
35597
35598 * math/libm-test.inc (struct test_f_f1_data): Remove field
35599 extra_init.
35600 (struct test_fF_f1_data): Likewise.
35601 (struct test_ffI_f1_data): Likewise.
35602 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35603 based on value of EXTRA_EXPECTED.
35604 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35605 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35606 EXTRA_VAR based on value of EXTRA_EXPECTED.
35607 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35608 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35609 EXTRA_VAR based on value of EXTRA_EXPECTED.
35610 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35611 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35612 EXTRA_VAR based on value of EXTRA_EXPECTED.
35613 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35614 * math/gen-libm-test.pl (parse_args): Don't output initializers
35615 for extra output values.
35616
35617 * math/libm-test.inc (check_int): Expect result to be exactly
35618 equal to expected value and do not handle ulps.
35619 (check_long): Likewise.
35620 (check_longlong): Likewise.
35621
35622 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35623 exceptions.
35624 (cimag_test_data): Likewise.
35625 (conj_test_data): Likewise.
35626 (copysign_test_data): Likewise.
35627 (cproj_test_data): Likewise.
35628 (creal_test_data): Likewise.
35629 (fabs_test_data): Likewise.
35630 (fdim_test_data): Likewise.
35631 (finite_test_data): Likewise.
35632 (floor_test_data): Likewise.
35633 (fmax_test_data): Likewise.
35634 (fmin_test_data): Likewise.
35635 (fmod_test_data): Likewise.
35636 (fpclassify_test_data): Likewise.
35637 (frexp_test_data): Likewise.
35638 (ilogb_test_data): Likewise.
35639 (isfinite_test_data): Likewise.
35640 (isgreater_test_data): Likewise.
35641 (isgreaterequal_test_data): Likewise.
35642 (isinf_test_data): Likewise.
35643 (isless_test_data): Likewise.
35644 (islessequal_test_data): Likewise.
35645 (islessgreater_test_data): Likewise.
35646 (isnan_test_data): Likewise.
35647 (isnormal_test_data): Likewise.
35648 (issignaling_test_data): Likewise.
35649 (isunordered_test_data): Likewise.
35650 (ldexp_test_data): Likewise.
35651 (lrint_test_data): Likewise.
35652 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35653 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35654 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35655 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35656 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35657 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35658 test input.
35659 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35660 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35661 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35662 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35663 that test input.
35664 (lrint_downward_test_data): Test for "inexact" exceptions.
35665 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35666 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35667 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35668 test input.
35669 (lrint_upward_test_data): Test for "inexact" exceptions.
35670 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35671 test input.
35672 (llrint_test_data): Test for "inexact" exceptions.
35673 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35674 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35675 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35676 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35677 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35678 (llrint_downward_test_data): Test for "inexact" exceptions.
35679 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35680 (llrint_upward_test_data): Test for "inexact" exceptions.
35681 (logb_test_data): Likewise.
35682 (logb_downward_test_data): Likewise.
35683 (nextafter_test_data): Likewise.
35684 (nexttoward_test_data): Likewise.
35685 (remainder_test_data): Likewise.
35686 (remquo_test_data): Likewise.
35687 (scalbn_test_data): Likewise.
35688 (scalbln_test_data): Likewise.
35689 (signbit_test_data): Likewise.
35690 (sqrt_test_data): Likewise.
35691 (significand_test_data): Likewise.
35692
35693 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35694
35695 [BZ #15424]
35696 * benchtests/bench-modf.c (struct args): Mark arg0 as
35697 volatile.
35698 * scripts/bench.pl: Mark members of struct args as volatile.
35699
35700 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35701
35702 [BZ # 15497]
35703 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35704 negative infinity on POWER6 or lower.
35705 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35706
35707 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35708
35709 [BZ #15442]
35710 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35711 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35712 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35713 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35714 (_FP_SETQNAN): New macro.
35715 (_FP_SETQNAN_SEMIRAW): Likewise.
35716 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35717 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35718 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35719 (FP_EXTEND): Use _FP_FRAC_SNANP.
35720 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35721 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35722 into account.
35723 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35724 New macro.
35725 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35726 Likewise.
35727
35728 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35729
35730 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35731 with DIVIDE_BY_ZERO_EXCEPTION.
35732 (gamma_test_data): Likewise.
35733 (lgamma_test_data): Likewise.
35734 (log_test_data): Likewise.
35735 (log10_test_data): Likewise.
35736 (log2_test_data): Likewise.
35737 (tgamma_test_data): Likewise.
35738
35739 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35740 (acos_test_tonearest): Likewise.
35741 (acos_test_towardzero): Likewise.
35742 (acos_test_downward): Likewise.
35743 (acos_test_upward): Likewise.
35744 (acosh_test): Likewise.
35745 (asin_test): Likewise.
35746 (asin_test_tonearest): Likewise.
35747 (asin_test_towardzero): Likewise.
35748 (asin_test_downward): Likewise.
35749 (asin_test_upward): Likewise.
35750 (asinh_test): Likewise.
35751 (atan_test): Likewise.
35752 (atanh_test): Likewise.
35753 (atan2_test): Likewise.
35754 (cabs_test): Likewise.
35755 (cacos_test): Likewise.
35756 (cacosh_test): Likewise.
35757 (casin_test): Likewise.
35758 (casinh_test): Likewise.
35759 (catan_test): Likewise.
35760 (catanh_test): Likewise.
35761 (cbrt_test): Likewise.
35762 (ccos_test): Likewise.
35763 (ccosh_test): Likewise.
35764 (cexp_test): Likewise.
35765 (clog_test): Likewise.
35766 (clog10_test): Likewise.
35767 (cos_test): Likewise.
35768 (cos_test_tonearest): Likewise.
35769 (cos_test_towardzero): Likewise.
35770 (cos_test_downward): Likewise.
35771 (cos_test_upward): Likewise.
35772 (cosh_test): Likewise.
35773 (cosh_test_tonearest): Likewise.
35774 (cosh_test_towardzero): Likewise.
35775 (cosh_test_downward): Likewise.
35776 (cosh_test_upward): Likewise.
35777 (cpow_test): Likewise.
35778 (csin_test): Likewise.
35779 (csinh_test): Likewise.
35780 (csqrt_test): Likewise.
35781 (ctan_test): Likewise.
35782 (ctan_test_tonearest): Likewise.
35783 (ctan_test_towardzero): Likewise.
35784 (ctan_test_downward): Likewise.
35785 (ctan_test_upward): Likewise.
35786 (ctanh_test): Likewise.
35787 (ctanh_test_tonearest): Likewise.
35788 (ctanh_test_towardzero): Likewise.
35789 (ctanh_test_downward): Likewise.
35790 (ctanh_test_upward): Likewise.
35791 (erf_test): Likewise.
35792 (erfc_test): Likewise.
35793 (exp_test): Likewise.
35794 (exp_test_tonearest): Likewise.
35795 (exp_test_towardzero): Likewise.
35796 (exp_test_downward): Likewise.
35797 (exp_test_upward): Likewise.
35798 (exp10_test): Likewise.
35799 (exp2_test): Likewise.
35800 (expm1_test): Likewise.
35801 (fmod_test): Likewise.
35802 (gamma_test): Likewise.
35803 (hypot_test): Likewise.
35804 (j0_test): Likewise.
35805 (j1_test): Likewise.
35806 (jn_test): Likewise.
35807 (lgamma_test): Likewise.
35808 (log_test): Likewise.
35809 (log10_test): Likewise.
35810 (log1p_test): Likewise.
35811 (log2_test): Likewise.
35812 (logb_test_downward): Likewise.
35813 (pow_test): Likewise.
35814 (pow_test_tonearest): Likewise.
35815 (pow_test_towardzero): Likewise.
35816 (pow_test_downward): Likewise.
35817 (pow_test_upward): Likewise.
35818 (remainder_test): Likewise.
35819 (remquo_test): Likewise.
35820 (sin_test): Likewise.
35821 (sin_test_tonearest): Likewise.
35822 (sin_test_towardzero): Likewise.
35823 (sin_test_downward): Likewise.
35824 (sin_test_upward): Likewise.
35825 (sincos_test): Likewise.
35826 (sinh_test): Likewise.
35827 (sinh_test_tonearest): Likewise.
35828 (sinh_test_towardzero): Likewise.
35829 (sinh_test_downward): Likewise.
35830 (sinh_test_upward): Likewise.
35831 (sqrt_test): Likewise.
35832 (tan_test): Likewise.
35833 (tan_test_tonearest): Likewise.
35834 (tan_test_towardzero): Likewise.
35835 (tan_test_downward): Likewise.
35836 (tan_test_upward): Likewise.
35837 (tanh_test): Likewise.
35838 (tgamma_test): Likewise.
35839 (y0_test): Likewise.
35840 (y1_test): Likewise.
35841 (yn_test): Likewise.
35842
35843 * math/gen-libm-test.pl (adjust_arg): Remove function.
35844 (special_function): Remove argument $in_func. Only handle
35845 generating output for tables of tests, not inside functions.
35846 (parse_args): Likewise.
35847 (generate_testfile): Remove variable $in_func. Update call to
35848 parse_args.
35849 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35850 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35851 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35852 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35853 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35854 (MAX_VALUE_INIT): Rename macro to max_value.
35855 (MIN_VALUE_INIT): Rename macro to min_value.
35856 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35857 (plus_zero): Remove variable.
35858 (minus_zero): Likewise.
35859 (plus_infty): Likewise.
35860 (minus_infty): Likewise.
35861 (qnan_value): Likewise.
35862 (max_value): Likewise.
35863 (min_value): Likewise.
35864 (min_subnorm_value): Likewise.
35865
35866 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35867
35868 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35869 uint64_t or uint32_t usage.
35870 * crypt/sha256-block.c: Likewise.
35871 * crypt/sha256-crypt.c: Likewise.
35872 * crypt/sha256.c: Likewise.
35873 * crypt/sha512-block.c: Likewise.
35874 * crypt/sha512-crypt.c: Likewise.
35875 * crypt/sha512.c: Likewise.
35876 * debug/backtrace-tst.c: Likewise.
35877 * debug/pcprofiledump.c: Likewise.
35878 * elf/cache.c: Likewise.
35879 * elf/dl-cache.c: Likewise.
35880 * elf/dl-misc.c: Likewise.
35881 * elf/dl-profile.c: Likewise.
35882 * elf/dl-support.c: Likewise.
35883 * elf/ldconfig.c: Likewise.
35884 * elf/sprof.c: Likewise.
35885 * iconv/dummy-repertoire.c: Likewise.
35886 * iconv/iconv_charmap.c: Likewise.
35887 * iconv/skeleton.c: Likewise.
35888 * iconvdata/8bit-generic.c: Likewise.
35889 * iconvdata/cp737.h: Likewise.
35890 * iconvdata/cp775.h: Likewise.
35891 * iconvdata/ibm1008.h: Likewise.
35892 * iconvdata/ibm1025.h: Likewise.
35893 * iconvdata/ibm1046.h: Likewise.
35894 * iconvdata/ibm1097.h: Likewise.
35895 * iconvdata/ibm1112.h: Likewise.
35896 * iconvdata/ibm1122.h: Likewise.
35897 * iconvdata/ibm1123.h: Likewise.
35898 * iconvdata/ibm1124.h: Likewise.
35899 * iconvdata/ibm1129.h: Likewise.
35900 * iconvdata/ibm1130.h: Likewise.
35901 * iconvdata/ibm1132.h: Likewise.
35902 * iconvdata/ibm1133.h: Likewise.
35903 * iconvdata/ibm1137.h: Likewise.
35904 * iconvdata/ibm1140.h: Likewise.
35905 * iconvdata/ibm1141.h: Likewise.
35906 * iconvdata/ibm1142.h: Likewise.
35907 * iconvdata/ibm1143.h: Likewise.
35908 * iconvdata/ibm1144.h: Likewise.
35909 * iconvdata/ibm1145.h: Likewise.
35910 * iconvdata/ibm1146.h: Likewise.
35911 * iconvdata/ibm1147.h: Likewise.
35912 * iconvdata/ibm1148.h: Likewise.
35913 * iconvdata/ibm1149.h: Likewise.
35914 * iconvdata/ibm1153.h: Likewise.
35915 * iconvdata/ibm1154.h: Likewise.
35916 * iconvdata/ibm1155.h: Likewise.
35917 * iconvdata/ibm1156.h: Likewise.
35918 * iconvdata/ibm1157.h: Likewise.
35919 * iconvdata/ibm1158.h: Likewise.
35920 * iconvdata/ibm1160.h: Likewise.
35921 * iconvdata/ibm1161.h: Likewise.
35922 * iconvdata/ibm1162.h: Likewise.
35923 * iconvdata/ibm1163.h: Likewise.
35924 * iconvdata/ibm1164.h: Likewise.
35925 * iconvdata/ibm1166.h: Likewise.
35926 * iconvdata/ibm1167.h: Likewise.
35927 * iconvdata/ibm12712.h: Likewise.
35928 * iconvdata/ibm1390.h: Likewise.
35929 * iconvdata/ibm1399.h: Likewise.
35930 * iconvdata/ibm16804.h: Likewise.
35931 * iconvdata/ibm4517.h: Likewise.
35932 * iconvdata/ibm4899.h: Likewise.
35933 * iconvdata/ibm4909.h: Likewise.
35934 * iconvdata/ibm4971.h: Likewise.
35935 * iconvdata/ibm5347.h: Likewise.
35936 * iconvdata/ibm803.h: Likewise.
35937 * iconvdata/ibm856.h: Likewise.
35938 * iconvdata/ibm901.h: Likewise.
35939 * iconvdata/ibm902.h: Likewise.
35940 * iconvdata/ibm9030.h: Likewise.
35941 * iconvdata/ibm9066.h: Likewise.
35942 * iconvdata/ibm921.h: Likewise.
35943 * iconvdata/ibm922.h: Likewise.
35944 * iconvdata/ibm9448.h: Likewise.
35945 * iconvdata/isiri-3342.h: Likewise.
35946 * iconvdata/jis0201.h: Likewise.
35947 * include/link.h: Likewise.
35948 * include/netdb.h: Likewise.
35949 * inet/check_native.c: Likewise.
35950 * inet/check_pf.c: Likewise.
35951 * inet/getipv4sourcefilter.c: Likewise.
35952 * inet/getnameinfo.c: Likewise.
35953 * inet/getsourcefilter.c: Likewise.
35954 * inet/htonl.c: Likewise.
35955 * inet/setipv4sourcefilter.c: Likewise.
35956 * inet/setsourcefilter.c: Likewise.
35957 * inet/test-inet6_opt.c: Likewise.
35958 * inet/tst-network.c: Likewise.
35959 * locale/C-collate.c: Likewise.
35960 * locale/C-ctype.c: Likewise.
35961 * locale/C-time.c: Likewise.
35962 * locale/C-translit.h: Likewise.
35963 * locale/loadarchive.c: Likewise.
35964 * locale/programs/3level.h: Likewise.
35965 * locale/programs/charmap.c: Likewise.
35966 * locale/programs/charmap.h: Likewise.
35967 * locale/programs/ld-address.c: Likewise.
35968 * locale/programs/ld-collate.c: Likewise.
35969 * locale/programs/ld-ctype.c: Likewise.
35970 * locale/programs/ld-identification.c: Likewise.
35971 * locale/programs/ld-measurement.c: Likewise.
35972 * locale/programs/ld-messages.c: Likewise.
35973 * locale/programs/ld-monetary.c: Likewise.
35974 * locale/programs/ld-name.c: Likewise.
35975 * locale/programs/ld-numeric.c: Likewise.
35976 * locale/programs/ld-paper.c: Likewise.
35977 * locale/programs/ld-telephone.c: Likewise.
35978 * locale/programs/ld-time.c: Likewise.
35979 * locale/programs/linereader.c: Likewise.
35980 * locale/programs/locale.c: Likewise.
35981 * locale/programs/locarchive.c: Likewise.
35982 * locale/programs/locfile.h: Likewise.
35983 * locale/programs/repertoire.c: Likewise.
35984 * locale/programs/simple-hash.c: Likewise.
35985 * locale/programs/simple-hash.h: Likewise.
35986 * malloc/memusage.c: Likewise.
35987 * malloc/memusagestat.c: Likewise.
35988 * nis/nis_defaults.c: Likewise.
35989 * nis/nis_hash.c: Likewise.
35990 * nis/nis_print.c: Likewise.
35991 * nis/nis_xdr.c: Likewise.
35992 * nscd/connections.c: Likewise.
35993 * nscd/hstcache.c: Likewise.
35994 * nscd/nscd_gethst_r.c: Likewise.
35995 * nscd/nscd_getserv_r.c: Likewise.
35996 * nscd/nscd_helper.c: Likewise.
35997 * nscd/servicescache.c: Likewise.
35998 * nss/makedb.c: Likewise.
35999 * nss/nss_db/db-XXX.c: Likewise.
36000 * nss/nss_db/db-initgroups.c: Likewise.
36001 * nss/nss_db/db-netgrp.c: Likewise.
36002 * nss/nss_files/files-network.c: Likewise.
36003 * nss/nss_files/files-parse.c: Likewise.
36004 * posix/bug-regex5.c: Likewise.
36005 * posix/fnmatch_loop.c: Likewise.
36006 * posix/regcomp.c: Likewise.
36007 * posix/regexec.c: Likewise.
36008 * posix/tst-rfc3484-2.c: Likewise.
36009 * posix/tst-rfc3484-3.c: Likewise.
36010 * posix/tst-rfc3484.c: Likewise.
36011 * resolv/nss_dns/dns-canon.c: Likewise.
36012 * resolv/nss_dns/dns-network.c: Likewise.
36013 * resolv/res_init.c: Likewise.
36014 * resolv/res_mkquery.c: Likewise.
36015 * resolv/tst-aton.c: Likewise.
36016 * stdlib/cxa_atexit.c: Likewise.
36017 * stdlib/cxa_finalize.c: Likewise.
36018 * stdlib/gen-fpioconst.c: Likewise.
36019 * stdlib/strtol_l.c: Likewise.
36020 * string/tst-endian.c: Likewise.
36021 * sunrpc/auth_des.c: Likewise.
36022 * sunrpc/clnt_udp.c: Likewise.
36023 * sunrpc/rtime.c: Likewise.
36024 * sunrpc/svcauth_des.c: Likewise.
36025 * sunrpc/xdr.c: Likewise.
36026 * sunrpc/xdr_intXX_t.c: Likewise.
36027 * sunrpc/xdr_rec.c: Likewise.
36028 * sysdeps/generic/ldconfig.h: Likewise.
36029 * sysdeps/generic/ldsodefs.h: Likewise.
36030 * sysdeps/generic/memusage.h: Likewise.
36031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36032 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36033 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36034 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36035 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36037 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36039 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36041 * sysdeps/posix/getaddrinfo.c: Likewise.
36042 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36043 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36044 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36045 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36046 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36047 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36048 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36049 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36050 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36051 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36052 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36053 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36054 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36055 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36056 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36057 * sysdeps/x86_64/dl-tls.h: Likewise.
36058 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36059 * time/alt_digit.c: Likewise.
36060 * time/era.c: Likewise.
36061 * wcsmbs/tst-c16c32-1.c: Likewise.
36062
36063 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36064
36065 * math/libm-test.inc (struct test_sincos_data): New type.
36066 (RUN_TEST_LOOP_sincos): New macro.
36067 (sincos_test_data): New variable.
36068 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36069
36070 2013-05-16 Richard Henderson <rth@redhat.com>
36071
36072 * math/atest-exp2.c (LIMB64): New macro.
36073 (CONSTSZ): New macro.
36074 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36075 (hexdig): Move ...
36076 (print_mpn_fp): ... to function scope.
36077 (read_mpn_hex): Remove.
36078 (get_log2): Remove.
36079 (exp2_mpn): Use mp_log2.
36080 (main): Use mp_exp1.
36081
36082 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36083
36084 * math/libm-test.inc: Remove comment about not testing "inexact"
36085 exceptions.
36086 (INEXACT_EXCEPTION): New macro.
36087 (NO_INEXACT_EXCEPTION): Likewise.
36088 (INVALID_EXCEPTION_OK): Update value.
36089 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36090 (OVERFLOW_EXCEPTION_OK): Likewise.
36091 (UNDERFLOW_EXCEPTION_OK): Likewise.
36092 (IGNORE_ZERO_INF_SIGN): Likewise.
36093 (ERRNO_UNCHANGED): Likewise.
36094 (ERRNO_EDOM): Likewise.
36095 (ERRNO_ERANGE): Likewise.
36096 (test_exceptions): Handle testing "inexact" exceptions.
36097 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36098 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36099 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36100 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36101 INEXACT_EXCEPTION.
36102 (rint_towardzero_test_data): Likewise.
36103 (rint_downward_test_data): Likewise.
36104 (rint_upward_test_data): Likewise.
36105
36106 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36107 with OVERFLOW_EXCEPTION.
36108 (exp10_test_data): Likewise.
36109 (exp2_test_data): Likewise.
36110 (expm1_test_data): Likewise.
36111 (lgamma_test_data): Likewise.
36112 (pow_test_data): Likewise.
36113 (tgamma_test_data): Likewise.
36114 (yn_test_data): Remove duplicate test of overflow.
36115
36116 * math/libm-test.inc (struct test_cc_c_data): New type.
36117 (RUN_TEST_LOOP_cc_c): New macro.
36118 (cpow_test_data): New variable.
36119 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36120
36121 * math/libm-test.inc (struct test_f_L_data): New type.
36122 (RUN_TEST_LOOP_f_L): New macro.
36123 (llrint_test_data): New variable.
36124 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36125 (llrint_tonearest_test_data): New variable.
36126 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36127 (llrint_towardzero_test_data): New variable.
36128 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36129 (llrint_downward_test_data): New variable.
36130 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36131 (llrint_upward_test_data): New variable.
36132 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36133 (llround_test_data): New variable.
36134 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36135
36136 2013-05-13 Peter Collingbourne <pcc@google.com>
36137
36138 * math/atest-exp2.c (get_log2): Remove const attribute.
36139
36140 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36141
36142 * math/libm-test.inc (struct test_f_l_data): New type.
36143 (RUN_TEST_LOOP_f_l): New macro.
36144 (lrint_test_data): New variable.
36145 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36146 (lrint_tonearest_test_data): New variable.
36147 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36148 (lrint_towardzero_test_data): New variable.
36149 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36150 (lrint_downward_test_data): New variable.
36151 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36152 (lrint_upward_test_data): New variable.
36153 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36154 (lround_test_data): New variable.
36155 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36156
36157 2013-05-15 Peter Collingbourne <pcc@google.com>
36158
36159 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36160 (EXTRACT_WORDS64) Use where appropriate.
36161 (INSERT_WORDS64) Likewise.
36162
36163 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36164 constraints with x constraints.
36165 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36166
36167 * malloc/obstack.c (_obstack_compat): Add initializer.
36168
36169 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36170
36171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36172 si_trapno and add si_addr_lsb to _sifields.sigfault.
36173 (si_trapno): Remove macro.
36174 (si_addr_lsb): Define new macro.
36175 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36176
36177 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36178
36179 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36180 instead of TEST_f_l.
36181 (llrint_test_tonearest): Likewise.
36182 (llrint_test_towardzero): Likewise.
36183 (llrint_test_downward): Likewise.
36184 (llrint_test_upward): Likewise.
36185 (llround_test): Likewise.
36186
36187 * math/libm-test.inc (struct test_f_i_data): Add comment.
36188 (RUN_TEST_LOOP_f_b): New macro.
36189 (RUN_TEST_LOOP_f_b_tg): Likewise.
36190 (finite_test_data): New variable.
36191 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36192 (isfinite_test_data): New variable.
36193 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36194 (isinf_test_data): New variable.
36195 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36196 (isnan_test_data): New variable.
36197 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36198 (isnormal_test_data): New variable.
36199 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36200 (issignaling_test_data): New variable.
36201 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36202 (signbit_test_data): New variable.
36203 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36204
36205 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36206 with INVALID_EXCEPTION.
36207 (acosh_test_data): Likewise.
36208 (asin_test_data): Likewise.
36209 (atanh_test_data): Likewise.
36210 (fmod_test_data): Likewise.
36211 (log_test_data): Likewise.
36212 (log10_test_data): Likewise.
36213 (log2_test_data): Likewise.
36214 (pow_test_data): Likewise.
36215 (sqrt_test_data): Likewise.
36216 (y0_test_data): Likewise.
36217 (y1_test_data): Likewise.
36218 (yn_test_data): Likewise.
36219
36220 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36221 function contents.
36222
36223 * math/libm-test.inc (struct test_ff_i_data): New type.
36224 (RUN_TEST_LOOP_ff_i_tg): New macro.
36225 (isgreater_test_data): New variable.
36226 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36227 (isgreaterequal_test_data): New variable.
36228 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36229 (isless_test_data): New variable.
36230 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36231 (islessequal_test_data): New variable.
36232 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36233 (islessgreater_test_data): New variable.
36234 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36235 (isunordered_test_data): New variable.
36236 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36237
36238 2013-05-14 David S. Miller <davem@davemloft.net>
36239
36240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36241
36242 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36243
36244 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36245
36246 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36247 extra_test to int.
36248 (struct test_f_i_data): Change type of max_ulp to int.
36249
36250 * math/libm-test.inc (test_ffI_f1_data): New type.
36251 (RUN_TEST_LOOP_ffI_f1): New macro.
36252 (remquo_test_data): New variable.
36253 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36254
36255 * setjmp/tst-setjmp-fp.c: New file.
36256 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36257 (link-libm): New variable.
36258 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36259
36260 * math/libm-test.inc (struct test_f_i_data): New type.
36261 (RUN_TEST_LOOP_f_i): New macro.
36262 (RUN_TEST_LOOP_f_i_tg): Likewise.
36263 (fpclassify_test_data): New variable.
36264 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36265 (ilogb_test_data): New variable.
36266 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36267
36268 * math/libm-test.inc (scalbln_test): Correct function name in END
36269 call.
36270
36271 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36272 (RUN_TEST_LOOP_fI_f1): New macro.
36273 (frexp_test_data): New variable.
36274 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36275
36276 * math/libm-test.inc (struct test_fF_f1_data): New type.
36277 (RUN_TEST_LOOP_fF_f1): New macro.
36278 (modf_test_data): New variable.
36279 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36280
36281 * math/libm-test.inc (struct test_f_f1_data): New type.
36282 (RUN_TEST_LOOP_f_f1): New macro.
36283 (gamma_test_data): New variable.
36284 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36285 (lgamma_test_data): New variable.
36286 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36287
36288 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36289
36290 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36291 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36292 (main): Comment "tls" pseudo-hwcap.
36293
36294 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36295
36296 * math/libm-test.inc (struct test_fl_f_data): New type.
36297 (RUN_TEST_LOOP_fl_f): New variable.
36298 (scalbln_test_data): New variable.
36299 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36300
36301 * math/libm-test.inc (struct test_fi_f_data): New type.
36302 (RUN_TEST_LOOP_fi_f): New macro.
36303 (ldexp_test_data): New variable.
36304 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36305 (scalbn_test_data): New variable.
36306 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36307
36308 * math/libm-test.inc (struct test_c_f_data): New type.
36309 (RUN_TEST_LOOP_c_f): New macro.
36310 (cabs_test_data): New variable.
36311 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36312 (carg_test_data): New variable.
36313 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36314 (cimag_test_data): New variable.
36315 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36316 (creal_test_data): New variable.
36317 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36318
36319 * math/libm-test.inc (struct test_if_f_data): New type.
36320 (RUN_TEST_LOOP_if_f): New macro.
36321 (jn_test_data): New variable.
36322 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36323 (yn_test_data): New variable.
36324 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36325
36326 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36327
36328 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36329
36330 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36331 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36332
36333 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36334
36335 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36336 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36337 (bench-deps): Add bench-timing.h.
36338 * benchtests-bench-skeleton.c: Include bench-timing.h.
36339 (main): Use TIMING_* macros instead of clock_gettime.
36340 * benchtests/bench-timing.h: New file.
36341
36342 [BZ #14582]
36343 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36344 Renamed from _LIB_VERSION.
36345 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36346
36347 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36348
36349 * math/libm-test.inc (struct test_fff_f_data): New type.
36350 (RUN_TEST_LOOP_fff_f): New macro.
36351 (fma_test_data): New variable.
36352 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36353 (fma_towardzero_test_data): New variable.
36354 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36355 (fma_downward_test_data): New variable.
36356 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36357 (fma_upward_test_data): New variable.
36358 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36359
36360 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36361 (struct test_c_c_data): New type.
36362 (RUN_TEST_LOOP_c_c): New macro.
36363 (cacos_test_data): New variable.
36364 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36365 (cacosh_test_data): New variable.
36366 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36367 (casin_test_data): New variable.
36368 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36369 (casinh_test_data): New variable.
36370 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36371 (catan_test_data): New variable.
36372 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36373 (catanh_test_data): New variable.
36374 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36375 (ccos_test_data): New variable.
36376 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36377 (ccosh_test_data): New variable.
36378 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36379 (cexp_test_data): New variable.
36380 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36381 (clog_test_data): New variable.
36382 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36383 (clog10_test_data): New variable.
36384 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36385 (conj_test_data): New variable.
36386 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36387 (cproj_test_data): New variable.
36388 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36389 (csin_test_data): New variable.
36390 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36391 (csinh_test_data): New variable.
36392 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36393 (csqrt_test_data): New variable.
36394 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36395 (ctan_test_data): New variable.
36396 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36397 (ctan_tonearest_test_data): New variable.
36398 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36399 (ctan_towardzero_test_data): New variable.
36400 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36401 (ctan_downward_test_data): New variable.
36402 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36403 (ctan_upward_test_data): New variable.
36404 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36405 (ctanh_test_data): New variable.
36406 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36407 (ctanh_tonearest_test_data): New variable.
36408 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36409 (ctanh_towardzero_test_data): New variable.
36410 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36411 (ctanh_downward_test_data): New variable.
36412 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36413 (ctanh_upward_test_data): New variable.
36414 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36415 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36416 of BUILD_COMPLEX.
36417
36418 * math/libm-test.inc (struct test_ff_f_data): New type.
36419 (struct test_ff_f_data_nexttoward): Likewise.
36420 (RUN_TEST_LOOP_2_f): New macro.
36421 (RUN_TEST_LOOP_ff_f): Likewise.
36422 (atan2_test_data): New variable.
36423 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36424 (copysign_test_data): New variable.
36425 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36426 (fdim_test_data): New variable.
36427 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36428 (fmax_test_data): New variable.
36429 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36430 (fmin_test_data): New variable.
36431 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36432 (fmod_test_data): New variable.
36433 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36434 (hypot_test_data): New variable.
36435 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36436 (nextafter_test_data): New variable.
36437 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36438 (nexttoward_test_data): New variable.
36439 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36440 (pow_test_data): New variable.
36441 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36442 (pow_tonearest_test_data): New variable.
36443 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36444 (pow_towardzero_test_data): New variable.
36445 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36446 (pow_downward_test_data): New variable.
36447 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36448 (pow_upward_test_data): New variable.
36449 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36450 (remainder_test_data): New variable.
36451 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36452 (scalb_test_data): New variable.
36453 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36454 * sysdeps/i386/fpu/libm-test-ulps: Update.
36455
36456 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36457
36458 * math/libm-test.inc (fma_test): Use max_value instead of local
36459 variable fltmax.
36460 (nextafter_test): Likewise.
36461
36462 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36463 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36464 (acos_downward_test_data): New variable.
36465 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36466 (acos_upward_test_data): New variable.
36467 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36468 (acosh_test_data): New variable.
36469 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36470 (asin_test_data): New variable.
36471 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36472 (asin_tonearest_test_data): New variable.
36473 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36474 (asin_towardzero_test_data): New variable.
36475 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36476 (asin_downward_test_data): New variable.
36477 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36478 (asin_upward_test_data): New variable.
36479 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36480 (asinh_test_data): New variable.
36481 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36482 (atan_test_data): New variable.
36483 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36484 (atanh_test_data): New variable.
36485 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36486 (cbrt_test_data): New variable.
36487 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36488 (ceil_test_data): New variable.
36489 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36490 (cos_test_data): New variable.
36491 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36492 (cos_tonearest_test_data): New variable.
36493 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36494 (cos_towardzero_test_data): New variable.
36495 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36496 (cos_downward_test_data): New variable.
36497 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36498 (cos_upward_test_data): New variable.
36499 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36500 (cosh_test_data): New variable.
36501 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36502 (cosh_tonearest_test_data): New variable.
36503 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36504 (cosh_towardzero_test_data): New variable.
36505 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36506 (cosh_downward_test_data): New variable.
36507 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36508 (cosh_upward_test_data): New variable.
36509 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36510 (erf_test_data): New variable.
36511 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36512 (erfc_test_data): New variable.
36513 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36514 (exp_test_data): New variable.
36515 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36516 (exp_tonearest_test_data): New variable.
36517 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36518 (exp_towardzero_test_data): New variable.
36519 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36520 (exp_downward_test_data): New variable.
36521 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36522 (exp_upward_test_data): New variable.
36523 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36524 (exp10_test_data): New variable.
36525 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36526 (exp2_test_data): New variable.
36527 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36528 (expm1_test_data): New variable.
36529 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36530 (fabs_test_data): New variable.
36531 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36532 (floor_test_data): New variable.
36533 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36534 (j0_test_data): New variable.
36535 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36536 (j1_test_data): New variable.
36537 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36538 (log_test_data): New variable.
36539 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36540 (log10_test_data): New variable.
36541 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36542 (log1p_test_data): New variable.
36543 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36544 (log2_test_data): New variable.
36545 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36546 (logb_test_data): New variable.
36547 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36548 (logb_downward_test_data): New variable.
36549 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36550 (nearbyint_test_data): New variable.
36551 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36552 (rint_test_data): New variable.
36553 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36554 (rint_tonearest_test_data): New variable.
36555 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36556 (rint_towardzero_test_data): New variable.
36557 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36558 (rint_downward_test_data): New variable.
36559 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36560 (rint_upward_test_data): New variable.
36561 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36562 (round_test_data): New variable.
36563 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36564 (sin_test_data): New variable.
36565 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36566 (sin_tonearest_test_data): New variable.
36567 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36568 (sin_towardzero_test_data): New variable.
36569 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36570 (sin_downward_test_data): New variable.
36571 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36572 (sin_upward_test_data): New variable.
36573 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36574 (sinh_test_data): New variable.
36575 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36576 (sinh_tonearest_test_data): New variable.
36577 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36578 (sinh_towardzero_test_data): New variable.
36579 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36580 (sinh_downward_test_data): New variable.
36581 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36582 (sinh_upward_test_data): New variable.
36583 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36584 (sqrt_test_data): New variable.
36585 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36586 (tan_test_data): New variable.
36587 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36588 (tan_tonearest_test_data): New variable.
36589 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36590 (tan_towardzero_test_data): New variable.
36591 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36592 (tan_downward_test_data): New variable.
36593 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36594 (tan_upward_test_data): New variable.
36595 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36596 (tanh_test_data): New variable.
36597 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36598 (tgamma_test_data): New variable.
36599 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36600 (trunc_test_data): New variable.
36601 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36602 (y0_test_data): New variable.
36603 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36604 (y1_test_data): New variable.
36605 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36606 (significand_test_data): New variable.
36607 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36608
36609 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36610
36611 [BZ #12387]
36612 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36613
36614 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36615
36616 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36617
36618 2013-05-10 Andreas Jaeger <aj@suse.de>
36619
36620 [BZ #15448]
36621 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36622 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36623
36624 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36625
36626 * math/gen-libm-test.pl (adjust_arg): New function.
36627 (special_functions): Handle generating output in both functions
36628 and arrays.
36629 (parse_args): Likewise.
36630 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36631 $in_func argument to parse_args.
36632 * math/libm-test.inc (struct test_f_f_data): New type.
36633 (IF_ROUND_INIT_): New macro.
36634 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36635 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36636 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36637 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36638 (ROUND_RESTORE_): Likewise.
36639 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36640 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36641 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36642 (ROUND_RESTORE_FE_UPWARD): Likewise.
36643 (RUN_TEST_LOOP_f_f): New macro.
36644 (acos_test_data): New variable.
36645 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36646 (acos_tonearest_test_data): New variable.
36647 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36648
36649 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36650
36651 * benchtests/bench-skeleton.c (startup): Fix coding style.
36652
36653 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36654
36655 [BZ #6809]
36656 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36657 negative infinity argument.
36658 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36659 negative infinity argument.
36660 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36661 negative infinity argument.
36662 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36663 domain errors.
36664
36665 2013-05-10 Florian Weimer <fweimer@redhat.com>
36666
36667 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36668 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36669 * iconv/iconv_prog.c (main): Likewise.
36670 * locale/programs/charmap-dir.c (charmap_readdir)
36671 (fopen_uncompressed): Likewise.
36672 * locale/programs/locfile.c (siblings_uncached)
36673 (write_locale_data): Use lstat64 instead of lstat.
36674 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36675 stat.
36676
36677 2013-05-10 Andreas Jaeger <aj@suse.de>
36678
36679 [BZ #15395]
36680 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36681 localization.
36682 Include <locale.h>.
36683
36684 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36685
36686 * elf/dl-close.c (_dl_close_worker): Add comments.
36687
36688 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36689
36690 [BZ #15359]
36691 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36692 high part of pi/2.
36693 (__ieee754_rem_pio2l): Update comments.
36694
36695 [BZ #15429]
36696 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36697 high part of pi/2.
36698 (__ieee754_rem_pio2l): Update comments.
36699
36700 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36701 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36702
36703 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36704 M_PI_4l.
36705
36706 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36707 (M_PI_34_LOG10El): Likewise.
36708 (M_PI2_LOG10El): Likewise.
36709 (M_PI4_LOG10El): Likewise.
36710 (M_PI_LOG10El): Likewise.
36711
36712 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36713
36714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36715
36716 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36717
36718 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36719 (MINUS_ZERO_INIT): Likewise.
36720 (PLUS_INFTY_INIT): Likewise.
36721 (MINUS_INFTY_INIT): Likewise.
36722 (QNAN_VALUE_INIT): Likewise.
36723 (MAX_VALUE_INIT): Likewise.
36724 (MIN_VALUE_INIT): Likewise.
36725 (MIN_SUBNORM_VALUE_INIT): Likewise.
36726 (plus_zero): Initialize with PLUS_ZERO_INIT.
36727 (minus_zero): Initialize with MINUS_ZERO_INIT.
36728 (plus_infty): Initialize with PLUS_INFTY_INIT.
36729 (minus_infty): Initialize with MINUS_INFTY_INIT.
36730 (qnan_value): Initialize with QNAN_VALUE_INIT.
36731 (max_value): Initialize with MAX_VALUE_INIT.
36732 (min_value): Initialize with MIN_VALUE_INIT.
36733 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36734
36735 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36736 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36737 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36738 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36739
36740 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36741 (RUN_TEST_2_f): Likewise.
36742 (RUN_TEST_ff_f): Likewise.
36743 (RUN_TEST_fi_f): Likewise.
36744 (RUN_TEST_fl_f): Likewise.
36745 (RUN_TEST_fff_f): Likewise.
36746 (RUN_TEST_c_f): Likewise.
36747 (RUN_TEST_f_f1): Likewise.
36748 (RUN_TEST_fF_f1): Likewise.
36749 (RUN_TEST_fI_f1): Likewise.
36750 (RUN_TEST_ffI_f1): Likewise.
36751 (RUN_TEST_c_c): Likewise.
36752 (RUN_TEST_cc_c): Likewise.
36753 (RUN_TEST_f_i): Likewise.
36754 (RUN_TEST_f_i_tg): Likewise.
36755 (RUN_TEST_ff_i_tg): Likewise.
36756 (RUN_TEST_f_b): Likewise.
36757 (RUN_TEST_f_b_tg): Likewise.
36758 (RUN_TEST_f_l): Likewise.
36759 (RUN_TEST_f_L): Likewise.
36760 (RUN_TEST_sincos): Likewise.
36761 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36762 whether to show exceptions. Do not include ");\n" in return
36763 value.
36764 (special_functions): Output call to RUN_TEST_sincos instead of
36765 check_float calls. Update calls to new_test.
36766 (parse_args): Output call to single RUN_TEST_* macro instead of
36767 check_* calls and other assignments. Update calls to new_test.
36768
36769 [BZ #2546]
36770 [BZ #2560]
36771 [BZ #5159]
36772 [BZ #15426]
36773 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36774 input to result for tgamma overflow.
36775 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36776 (gamma_coeff): New variable.
36777 (NCOEFF): New macro.
36778 (gamma_positive): New function.
36779 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36780 underflow here. Use gamma_positive instead of exp (lgamma) for
36781 other arguments.
36782 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36783 (gamma_coeff): New variable.
36784 (NCOEFF): New macro.
36785 (gammaf_positive): New function.
36786 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36787 underflow here. Use gamma_positive instead of exp (lgamma) for
36788 other arguments.
36789 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36790 (gamma_coeff): New variable.
36791 (NCOEFF): New macro.
36792 (gammal_positive): New function.
36793 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36794 underflow here. Use gamma_positive instead of exp (lgamma) for
36795 other arguments.
36796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36797 (gamma_coeff): New variable.
36798 (NCOEFF): New macro.
36799 (gammal_positive): New function.
36800 (__ieee754_gammal_r): Handle positive infinity, overflow and
36801 underflow here. Handle NaN the same as positive infinity. Remove
36802 check x < 0xffffffff for negative integers. Use gamma_positive
36803 instead of exp (lgamma) for other arguments.
36804 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36805 (gamma_coeff): New variable.
36806 (NCOEFF): New macro.
36807 (gammal_positive): New function.
36808 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36809 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36810 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36811 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36812 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36813 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36814 * sysdeps/generic/math_private.h (__gamma_productf): New
36815 prototype.
36816 (__gamma_product): Likewise.
36817 (__gamma_productl): Likewise.
36818 * math/Makefile (libm-calls): Add gamma_product.
36819 * math/libm-test.inc (tgamma_test): Add more tests.
36820 * sysdeps/i386/fpu/libm-test-ulps: Update.
36821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36822
36823 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36824
36825 * benchtests/bench-skeleton.c (main): Preheat CPU.
36826
36827 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36828
36829 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36830
36831 2013-05-07 Roland McGrath <roland@hack.frob.com>
36832
36833 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36834 and _dl_skip_args_internal.
36835
36836 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36837
36838 * manual/message.texi (Message Translation): Talk about users.
36839 Message to key mapping impacts design.
36840
36841 2013-05-06 Roland McGrath <roland@hack.frob.com>
36842
36843 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36844
36845 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36846
36847 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36848 * sysdeps/wordsize-64/glob64.c: ... here.
36849
36850 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36851 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36852 New macros.
36853
36854 * debug/getlogin_r_chk.c: Moved to ...
36855 * login/getlogin_r_chk.c: ... here.
36856 * debug/Makefile (routines): Move getlogin_r_chk to ...
36857 * login/Makefile (routines): ... here.
36858 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36859 * login/Versions (libc: GLIBC_2.4): ... here.
36860
36861 * io/poll.c (__poll): Renamed from poll.
36862 Add libc_hidden_def.
36863 (poll): Define as weak alias.
36864
36865 * debug/ptsname_r_chk.c: Moved to ...
36866 * login/ptsname_r_chk.c: ... here.
36867 * debug/Makefile (routines): Move ptsname_r_chk to ...
36868 * login/Makefile (routines): ... here.
36869 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36870 * login/Versions (libc: GLIBC_2.4): ... here.
36871
36872 * posix/getlogin.c: Moved to ...
36873 * login/getlogin.c: ... here.
36874 * posix/getlogin_r.c: Moved to ...
36875 * login/getlogin_r.c: ... here.
36876 * posix/getlogin_r.c: Moved to ...
36877 * login/getlogin_r.c: ... here.
36878 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36879 * login/Makefile (routines): ... here.
36880 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36881 * login/Versions (libc: GLIBC_2.0): ... here.
36882
36883 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36884 (setrlimit): Define as weak alias.
36885
36886 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36887 Call __ names for open, ftruncate, and close.
36888 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36889 (truncate): Define as weak alias.
36890
36891 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36892
36893 * math/gen-libm-test.pl (parse_args): Initialize x before each
36894 test of frexp, modf and remquo.
36895
36896 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36897 test signgam value.
36898
36899 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36900
36901 [BZ #15418]
36902 [BZ #15419]
36903 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36904 internal tests.
36905 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36906
36907 2013-05-06 Roland McGrath <roland@hack.frob.com>
36908
36909 * elf/dl-writev.h: New file.
36910 * elf/dl-misc.c: Include it.
36911 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36912 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36913
36914 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36915
36916 * math/libm-test.inc (noXFails): Remove variable.
36917 (noXPasses): Likewise.
36918 (BUILD_COMPLEX_INT): Remove macro.
36919 (print_screen): Remove xfail argument.
36920 (print_screen_max_error): Likewise.
36921 (update_stats): Likewise.
36922 (print_max_error): Likewise. Update calls to other affected
36923 functions.
36924 (print_complex_max_error): Likewise.
36925 (test_single_exception): Update calls to print_screen.
36926 (test_single_errno): Likewise.
36927 (check_float_internal): Remove xfail argument. Update calls to
36928 other affected functions.
36929 (check_float): Likewise.
36930 (check_complex): Likewise.
36931 (check_int): Likewise.
36932 (check_long): Likewise.
36933 (check_bool): Likewise.
36934 (check_longlong): Likewise.
36935 (main): Don't print noXFails and noXPasses.
36936 * math/gen-libm-test.pl (top level): Don't mention expected
36937 failure handling in comment.
36938 (new_test): Don't handle expected failures.
36939 (parse_args): Don't mention expected failure handling in comment.
36940 (generate_testfile): Don't handle expected failures.
36941 (parse_ulps): Likewise.
36942 (print_ulps_file): Likewise.
36943 (get_failure): Remove function.
36944 (output_test): Don't handle expected failures.
36945 * make/README.libm-test: Don't mention expected failure handling.
36946
36947 * math/libm-test.inc (plus_zero): Make const. Add initializer.
36948 (minus_zero): Likewise.
36949 (plus_infty): Likewise.
36950 (minus_infty): Likewise.
36951 (qnan_value): Likewise.
36952 (max_value): Likewise.
36953 (min_value): Likewise.
36954 (min_subnorm_value): Likewise.
36955 (initialize): Do not initialize those variables dynamically.
36956
36957 2013-05-03 Roland McGrath <roland@hack.frob.com>
36958
36959 * io/open.c (__open_2): Moved to ...
36960 * io/open_2.c: ... this new file.
36961 * io/open64.c (__open64_2): Moved to ...
36962 * io/open64_2.c: ... this new file.
36963 * io/openat.c (__openat_2): Moved to ...
36964 * io/openat_2.c: ... this new file.
36965 * io/openat64.c (__openat64_2): Moved to ...
36966 * io/openat64_2.c: ... this new file.
36967 * io/Makefile (routines): Add them.
36968 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36969 * sysdeps/unix/sysv/linux/open_2.c: File removed.
36970 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36971 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36972 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36973 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36974 (__openat64): Add hidden_ver.
36975 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36976 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36977
36978 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36979 Separately conditionalize setting of GLRO(dl_sysinfo) so
36980 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36981 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36982
36983 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36984
36985 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36987 definition.
36988 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36989 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36990 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36991 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36992 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36993
36994 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36995
36996 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36997 test signgam value.
36998
36999 * math/libm-test.inc (hypot_test): Do not use
37000 IGNORE_ZERO_INF_SIGN.
37001
37002 2013-05-03 Andreas Jaeger <aj@suse.de>
37003
37004 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37005 Linux 3.9.
37006 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37007 (PF_MAX): Adjust for VSOCK change.
37008
37009 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37010
37011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37012
37013 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37014
37015 [BZ #15264]
37016 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37017 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37018 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37019
37020 2013-05-02 David S. Miller <davem@davemloft.net>
37021
37022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37023
37024 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37025
37026 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37027
37028 2013-05-01 Roland McGrath <roland@hack.frob.com>
37029
37030 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37031
37032 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37033
37034 [BZ #14952]
37035 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37036 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37037 Use __attribute__ ((__gnu_inline__)).
37038 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37039 Don't use __attribute__ ((__gnu_inline__)).
37040
37041 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37042
37043 [BZ #15423]
37044 * math/s_catan.c (__catan): Handle small real or imaginary part of
37045 input specially to avoid spurious underflow.
37046 * math/s_catanf.c (__catanf): Likewise.
37047 * math/s_catanh.c (__catanh): Likewise.
37048 * math/s_catanhf.c (__catanhf): Likewise.
37049 * math/s_catanhl.c (__catanhl): Likewise.
37050 * math/s_catanl.c (__catanl): Likewise.
37051 * math/libm-test.inc (catan_test): Add more tests.
37052 (catanh_test): Likewise.
37053 * sysdeps/i386/fpu/libm-test-ulps: Update.
37054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37055
37056 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37057
37058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37059
37060 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37061
37062 [BZ #15416]
37063 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37064 accurately for denominator in atan2.
37065 * math/s_catanf.c (__catanf): Likewise.
37066 * math/s_catanh.c (__catanh): Likewise.
37067 * math/s_catanhf.c (__catanhf): Likewise.
37068 * math/s_catanhl.c (__catanhl): Likewise.
37069 * math/s_catanl.c (__catanl): Likewise.
37070 * math/libm-test.inc (catan_test): Add more tests.
37071 (catanh_test): Likewise.
37072 * sysdeps/i386/fpu/libm-test-ulps: Update.
37073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37074
37075 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37076
37077 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37078
37079 * benchtests/Makefile (bench): Remove slow benchmarks.
37080 * benchtests/atan-inputs: Add slow benchmark inputs.
37081 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37082 (BENCH_FUNC): Accept variant offset.
37083 (VARIANT): Define.
37084 * benchtests/bench-skeleton.c (main): Run benchmark for each
37085 variant.
37086 * benchtests/cos-inputs: Add slow benchmark inputs.
37087 * benchtests/exp-inputs: Likewise.
37088 * benchtests/pow-inputs: Likewise.
37089 * benchtests/sin-inputs: Likewise.
37090 * benchtests/slowatan-inputs: Remove.
37091 * benchtests/slowatan.c: Remove.
37092 * benchtests/slowcos-inputs: Remove.
37093 * benchtests/slowcos.c: Remove.
37094 * benchtests/slowexp-inputs: Remove.
37095 * benchtests/slowexp.c: Remove.
37096 * benchtests/slowpow-inputs: Remove.
37097 * benchtests/slowpow.c: Remove.
37098 * benchtests/slowsin-inputs: Remove.
37099 * benchtests/slowsin.c: Remove.
37100 * benchtests/slowtan-inputs: Remove.
37101 * benchtests/slowtan.c: Remove.
37102 * benchtests/tan-inputs: Add slow benchmark inputs.
37103 * scripts/bench.pl: Parse comments and directives.
37104
37105 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37106 in CPPFLAGS.
37107 ($(objpfx)bench-%.c): Remove *-ITER.
37108 * benchtests/bench-modf.c: Remove definition of ITER.
37109 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37110 (main): Loop for DURATION seconds instead of fixed number of
37111 iterations.
37112 * scripts/bench.pl: Don't expect iterations in parameters.
37113
37114 2013-04-29 Roland McGrath <roland@hack.frob.com>
37115
37116 * io/fchdir.c (__fchdir): Renamed from fchdir.
37117 (fchdir): Define as weak alias.
37118
37119 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37120
37121 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37122 (ERRNO_EDOM): Likewise.
37123 (ERRNO_ERANGE): Likewise.
37124 (noErrnoTests): New variable.
37125 (init_max_error): Set errno to 0.
37126 (test_single_errno): New function.
37127 (test_errno): Likewise.
37128 (check_float_internal): Call test_errno. Set errno to 0.
37129 (check_complex): Refer to errno tests in comment.
37130 (check_int): Call test_errno. Set errno to 0.
37131 (check_long): Likewise.
37132 (check_bool): Likewise.
37133 (check_longlong): Likewise.
37134 (cos_test): Use ERRNO_* flags for errno tests instead of
37135 check_int.
37136 (expm1_test): Likewise.
37137 (fmod_test): Likewise.
37138 (ilogb_test): Likewise.
37139 (lgamma_test): Likewise.
37140 (pow_test): Likewise.
37141 (remainder_test): Likewise.
37142 (sin_test): Likewise.
37143 (tan_test): Likewise.
37144 (yn_test): Likewise.
37145 (initialize): Set errno to 0.
37146 (main): Print number of errno tests.
37147 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37148
37149 2013-04-29 Andreas Jaeger <aj@suse.de>
37150
37151 [BZ #15084]
37152 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37153 and RES_USEVC.
37154
37155 [BZ #15085]
37156 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37157 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37158 unimplemented.
37159
37160 [BZ #15380]
37161 * stdlib/random.c (__initstate): Return NULL if
37162 __initstate fails.
37163
37164 [BZ #15086]
37165 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37166 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37167 RES_SNGLKUPREOP.
37168
37169 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37170
37171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37172
37173 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37174
37175 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37176 of individual tests.
37177 (casin_test): Likewise.
37178 (casinh_test): Likewise.
37179
37180 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37181
37182 [BZ #15409]
37183 * math/s_catan.c (__catan): Handle arguments with large real or
37184 imaginary part separately without squaring.
37185 * math/s_catanf.c (__catanf): Likewise.
37186 * math/s_catanh.c (__catanh): Likewise.
37187 * math/s_catanhf.c (__catanhf): Likewise.
37188 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37189 and redefine.
37190 (__catanhl): Handle arguments with large real or imaginary part
37191 separately without squaring.
37192 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37193 and redefine.
37194 (__catanl): Handle arguments with large real or imaginary part
37195 separately without squaring.
37196 * math/libm-test.inc (catan_test): Add more tests.
37197 (catanh_test): Likewise.
37198 * sysdeps/i386/fpu/libm-test-ulps: Update.
37199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37200
37201 2013-04-27 Andreas Jaeger <aj@suse.de>
37202
37203 [BZ #15007]
37204 * stdlib/stdlib.h: Update guards for qecvt.
37205 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37206 <stdlib.h>.
37207
37208 2013-04-27 Allan McRae <allan@archlinux.org>
37209
37210 * sysdeps/i386/fpu/libm-test-ulps: Update.
37211
37212 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37213
37214 [BZ #15406]
37215 * math/s_catan.c: Include <float.h>.
37216 (__catan): Ensure underflow exception occurs for underflowed
37217 result.
37218 * math/s_catanf.c: Include <float.h>.
37219 (__catanf): Ensure underflow exception occurs for underflowed
37220 result.
37221 * math/s_catanh.c: Include <float.h>.
37222 (__catanh): Ensure underflow exception occurs for underflowed
37223 result.
37224 * math/s_catanhf.c: Include <float.h>.
37225 (__catanhf): Ensure underflow exception occurs for underflowed
37226 result.
37227 * math/s_catanhl.c: Include <float.h>.
37228 (__catanhl): Ensure underflow exception occurs for underflowed
37229 result.
37230 * math/s_catanl.c: Include <float.h>.
37231 (__catanl): Ensure underflow exception occurs for underflowed
37232 result.
37233 * math/libm-test.inc (catan_test): Add more tests.
37234 (catanh_test): Likewise.
37235
37236 [BZ #15405]
37237 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37238 underflowed result.
37239 * math/s_ccoshf.c (__ccoshf): Likewise.
37240 * math/s_ccoshl.c (__ccoshl): Likewise.
37241 * math/s_csin.c (__csin): Likewise.
37242 * math/s_csinf.c (__csinf): Likewise.
37243 * math/s_csinh.c (__csinh): Likewise.
37244 * math/s_csinhf.c (__csinhf): Likewise.
37245 * math/s_csinhl.c (__csinhl): Likewise.
37246 * math/s_csinl.c (__csinl): Likewise.
37247 * math/libm-test.inc (ccos_test): Add more tests.
37248 (ccosh_test): Likewise.
37249 (csin_test): Likewise.
37250 (csinh_test): Likewise.
37251
37252 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37253
37254 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37255 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37256 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37257 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37258 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37259 powerpc/power5+/fpu folders.
37260 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37261
37262
37263 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37264
37265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37266
37267 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37268
37269 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37270 additions to variable.
37271 [$(config-machine) = x86_64] (modules-names): Likewise.
37272 ($(objpfx)tst-audit3): Remove dependency.
37273 ($(objpfx)tst-audit3.out): Likewise.
37274 ($(objpfx)tst-audit4): Likewise.
37275 ($(objpfx)tst-audit4.out): Likewise.
37276 ($(objpfx)tst-audit5): Likewise.
37277 ($(objpfx)tst-audit5.out): Likewise.
37278 ($(objpfx)tst-audit6): Likewise.
37279 ($(objpfx)tst-audit6.out): Likewise.
37280 ($(objpfx)tst-audit7): Likewise.
37281 ($(objpfx)tst-audit7.out): Likewise.
37282 (tst-audit3-ENV): Remove variable.
37283 (tst-audit4-ENV): Likewise.
37284 (tst-audit5-ENV): Likewise.
37285 (tst-audit6-ENV): Likewise.
37286 (tst-audit7-ENV): Likewise.
37287 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37288 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37289 addition to variable.
37290 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37291 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37292 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37294 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37295 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37296 tst-audit3, tst-audit4 and tst-audit5.
37297 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37298 tst-audit6 and tst-audit7.
37299 [$(subdir) = elf] (modules-names): Add audit modules for those
37300 tests.
37301 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37302 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37303 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37304 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37305 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37306 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37307 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37308 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37309 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37310 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37311 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37312 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37313 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37314 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37315 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37316 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37317 Likewise.
37318 [$(subdir) = elf && $(config-cflags-avx) = yes]
37319 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37320 [$(subdir) = elf && $(config-cflags-avx) = yes]
37321 (CFLAGS-tst-auditmod4a.c): Likewise.
37322 [$(subdir) = elf && $(config-cflags-avx) = yes]
37323 (CFLAGS-tst-auditmod4b.c): Likewise.
37324 [$(subdir) = elf && $(config-cflags-avx) = yes]
37325 (CFLAGS-tst-auditmod6b.c): Likewise.
37326 [$(subdir) = elf && $(config-cflags-avx) = yes]
37327 (CFLAGS-tst-auditmod6c.c): Likewise.
37328 [$(subdir) = elf && $(config-cflags-avx) = yes]
37329 (CFLAGS-tst-auditmod7b.c): Likewise.
37330 * elf/tst-audit3.c: Move to ...
37331 * sysdeps/x86_64/tst-audit3.c: ... here.
37332 * elf/tst-audit4.c: Move to ...
37333 * sysdeps/x86_64/tst-audit4.c: ... here.
37334 * elf/tst-audit5.c: Move to ...
37335 * sysdeps/x86_64/tst-audit5.c: ... here.
37336 * elf/tst-audit6.c: Move to ...
37337 * sysdeps/x86_64/tst-audit6.c: ... here.
37338 * elf/tst-audit7.c: Move to ...
37339 * sysdeps/x86_64/tst-audit7.c: ... here.
37340 * elf/tst-auditmod3a.c: Move to ...
37341 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37342 * elf/tst-auditmod3b.c: Move to ...
37343 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37344 * elf/tst-auditmod4a.c: Move to ...
37345 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37346 * elf/tst-auditmod4b.c: Move to ...
37347 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37348 * elf/tst-auditmod5a.c: Move to ...
37349 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37350 * elf/tst-auditmod5b.c: Move to ...
37351 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37352 * elf/tst-auditmod6a.c: Move to ...
37353 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37354 * elf/tst-auditmod6b.c: Move to ...
37355 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37356 * elf/tst-auditmod6c.c: Move to ...
37357 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37358 * elf/tst-auditmod7a.c: Move to ...
37359 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37360 * elf/tst-auditmod7b.c: Move to ...
37361 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37362
37363 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37364
37365 [BZ #15366]
37366 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37367 define unconditionally.
37368 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37369 define unconditionally.
37370 (INT8_C, INT16_C, etc.): Likewise.
37371
37372 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37373
37374 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37375 __ehdr_start with hidden visibility.
37376
37377 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37378
37379 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37380
37381 * math/libm-test.inc (cos_test): Use accurate hex constants.
37382 (sincost_test): Likewise.
37383
37384 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37385
37386 * math/libm-test.inc (catan_test): Add more tests.
37387 (catanh_test): Likewise.
37388
37389 * math/s_catanf.c (__catanf): Use suffixed floating-point
37390 constants.
37391 * math/s_catanhf.c (__catanhf): Likewise.
37392 * math/s_catanhl.c (__catanhl): Likewise.
37393 * math/s_catanl.c (__catanl): Likewise.
37394
37395 [BZ #15394]
37396 * math/s_catan.c (__catan): Calculate imaginary part of result
37397 with log1p not log unless computing log of number close to 0.
37398 * math/s_catanf.c (__catanf): Likewise.
37399 * math/s_catanl.c (__catanl): Likewise.
37400 * math/s_catanh.c (__catanh): Calculate real part of result with
37401 log1p not log unless computing log of number close to 0.
37402 * math/s_catanhf.c (__catanhf): Likewise.
37403 * math/s_catanhl.c (__catanhl): Likewise.
37404 * math/libm-test.inc (catan_test): Add more tests.
37405 (catanh_test): Likewise.
37406 * sysdeps/i386/fpu/libm-test-ulps: Update.
37407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37408
37409 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37410
37411 * benchtests/Makefile: Mention files in which fast and slow
37412 paths of math functions are implemented.
37413
37414 2013-04-23 Roland McGrath <roland@hack.frob.com>
37415
37416 * sysdeps/posix/timespec_get.c: New file.
37417
37418 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37419
37420 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37421 POWER.
37422 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37423 for POWER.
37424 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37425 powerpc/power5/fpu folders.
37426 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37427 * benchtests/Makefile: Add modf testcase.
37428 * benchtests/bench-modf.c: New file: Benchmark test for mo
37429
37430 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37431
37432 [BZ #14888]
37433 * time/Makefile (tests): Add tst-strptime-whitespace.
37434 * time/strptime_l.c (get_number): Use ISSPACE.
37435 (__strptime_internal): Likewise.
37436 * time/tst-strptime-whitespace.c: New test case.
37437
37438 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37439
37440 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37441 member.
37442 (_nss_files_init): Set it here.
37443
37444 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37445
37446 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37447 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37448 unsigned.
37449
37450 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37451
37452 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37453
37454 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37455
37456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37457 size just once.
37458
37459 2013-04-21 David S. Miller <davem@davemloft.net>
37460
37461 * po/ru.po: Update Russion translation from translation project.
37462
37463 2013-04-17 Adam Conrad <adconrad@0c3.net>
37464
37465 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37466 and setfsgid.
37467
37468 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37469
37470 * configure.in: Remove i386 configure warning. Remove i386 case.
37471 * configure: Regenerate.
37472 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37473 Add example to error message.
37474 * sysdeps/i386/configure: Regenerate.
37475
37476 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37477
37478 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37479 slowtan.
37480 * benchtests/cos-inputs: New file.
37481 * benchtests/slowcos-inputs: New file.
37482 * benchtests/slowcos.c: New file.
37483 * benchtests/slowtan-inputs: New file.
37484 * benchtests/slowtan.c: New file.
37485 * benchtests/tan-inputs: New file.
37486
37487 2013-04-16 Roland McGrath <roland@hack.frob.com>
37488
37489 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37490 considered kosher.
37491
37492 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37493
37494 * benchtests/Makefile: Include cppflags-iterator.mk to add
37495 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37496
37497 * Makefile.in (bench-clean): New target.
37498 * benchtests/Makefile (bench-clean): Likewise.
37499
37500 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37501
37502 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37503
37504 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37505
37506 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37507
37508 2013-04-15 Andreas Schwab <schwab@suse.de>
37509
37510 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37511 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37512 * nscd/pwdcache.c (cache_addpw): Likewise.
37513 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37514 more than recsize.
37515
37516 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37517
37518 * benchtests/Makefile (bench): Write all output to
37519 bench-out.tmp together.
37520
37521 2013-04-15 Andreas Schwab <schwab@suse.de>
37522
37523 * nscd/nscd.c (main): Don't fork again after closing files.
37524
37525 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37526
37527 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37528
37529 * benchtests/Rules (bench-deps): Collect dependencies into a
37530 single variable. Add Makefile to dependencies.
37531 ($(objpfx)bench-%.c): Depend on bench-deps.
37532
37533 2013-04-12 Roland McGrath <roland@hack.frob.com>
37534 Xavier Roche <roche+kml2@exalead.com>
37535
37536 [BZ #15361]
37537 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37538 just that it's a file descriptor.
37539 * manual/llio.texi (Synchronizing AIO Operations): Update description
37540 for EBADF error from aio_fsync.
37541
37542 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37543
37544 * Rules (bench): Move target definition...
37545 * benchtests/Makefile: ... here.
37546
37547 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37548
37549 * math/libm-test.inc (cos_test): Fix PI/2 test.
37550 (sincos_test): Likewise.
37551 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37552 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37553
37554 2013-04-11 Andreas Schwab <schwab@suse.de>
37555
37556 [BZ #13988]
37557 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37558 accept exponent character only when digits were seen.
37559 * stdio-common/Makefile (tests): Add bug26.
37560 * stdio-common/bug26.c: New file.
37561
37562 [BZ #14293]
37563 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37564 non-freeable.
37565
37566 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37567
37568 * Makeconfig (rtld-prefix): Define built linker prefix.
37569 * Rules (run-bench): Use it.
37570 * math/Makefile (run-regen-ulps): Likewise.
37571
37572 * Rules (bench): Remove eval.
37573
37574 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37575 Roland McGrath <roland@hack.frob.com>
37576 Ondrej Bilka <neleai@seznam.cz>
37577
37578 [BZ #15346]
37579 * time/getdate.c: Include ctype.h and alloca.h.
37580 (__getdate_r): Trim leading and trailing spaces of input.
37581 * time/tst-getdate.c (tests): Add tests with leading and
37582 trailing spaces.
37583
37584 2013-04-08 Roland McGrath <roland@hack.frob.com>
37585
37586 [BZ #14280]
37587 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37588 when computing value.
37589
37590 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37591
37592 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37593 Use testrun.sh to run libm tests.
37594
37595 [BZ #15309]
37596 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37597
37598 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37599
37600 [BZ #15264]
37601 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37602
37603 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37604
37605 * Makefile.in (regen-ulps): New target.
37606 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37607 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37608 [ifneq (no,$(PERL)] (regen-ulps): New target.
37609 [ifeq (no,$(PERL)] (regen-ulps): New target.
37610 * math/libm-test.inc (ulps_file_name): Define.
37611 (output_dir): New variable.
37612 (options): Add "output-dir" option.
37613 (parse_opt): Handle 'o' case.
37614 (main): If output_dir is non-NULL use it as a prefix
37615 otherwise use "".
37616 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37617
37618 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37619
37620 [BZ #10060, #10062]
37621 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37622 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37623 fail configure if __sync_val_compare_and_swap is not inlined.
37624 * sysdeps/i386/configure: Regenerate.
37625 * configure.in: Build for i686 when configured for i386.
37626 * configure: Regenerate.
37627 * README: Remove i386 reference.
37628
37629 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37630
37631 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37632 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37633
37634 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37635
37636 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37637 (lmsnanval): New variables.
37638 (F): Add conversion tests.
37639 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37640 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37641
37642 * stdio-common/tstdiomisc.c (F): Properly collect individual
37643 tests' results.
37644
37645 [BZ #14686, #15336]
37646 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37647 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37648 Instead, use input NaN values or generate a qNaN by arithmetic
37649 operation. Also fix bugs to comply with the standard.
37650 * math/libm-test.inc (remainder_test): Add more tests.
37651
37652 [BZ #15335, #15342]
37653 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37654 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37655 input NaN values or generate a qNaN by arithmetic operation.
37656
37657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37658 unreachable code.
37659
37660 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37661 definitions.
37662
37663 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37664
37665 [BZ #14478]
37666 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37667 underflowed result.
37668 * math/s_cexpf.c (__cexpf): Likewise.
37669 * math/s_cexpl.c (__cexpl): Likewise.
37670 * math/libm-test.inc (cexp_test): Add more tests.
37671
37672 2013-04-03 Andreas Schwab <schwab@suse.de>
37673
37674 [BZ #15330]
37675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37676 order arrays from heap if bigger than alloca cutoff.
37677
37678 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37679
37680 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37681 (SNAN_TESTS_double): Refer to GCC PR56831.
37682 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37683 GCC PR56828.
37684
37685 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37686
37687 * Rules (bench): Move bench.out after the run is complete.
37688
37689 * Rules (bench): Echo currently running benchmark.
37690
37691 * benchtests/Makefile (bench): Add atan and slowatan.
37692 * benchtests/atan-inputs: New file.
37693 * benchtests/slowatan-inputs: New file.
37694 * benchtests/slowatan.c: New file.
37695
37696 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37697 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37698 its value.
37699
37700 [BZ #15305]
37701 * sysdeps/unix/sysv/linux/kernel-features.h
37702 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37703 __ASSUME_XFS_RESTRICTED_CHOWN.
37704 * sysdeps/unix/sysv/linux/pathconf.c
37705 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37706 Save and restore errno.
37707
37708 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37709
37710 [BZ #15327]
37711 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37712 arguments using __kernel_casinh.
37713 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37714 arguments using __kernel_casinhf.
37715 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37716 arguments using __kernel_casinhl.
37717 * math/libm-test.inc (cacosh_test): Add more tests.
37718 * sysdeps/i386/fpu/libm-test-ulps: Update.
37719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37720
37721 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37722
37723 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37725
37726 * bench/Makefile (bench): Add sin and slowsin.
37727 * benchtests/sin-inputs: New file.
37728 * benchtests/slowsin-inputs: New file.
37729 * benchtests/slowsin.c: New file.
37730
37731 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37732 (bench): Add slowexp and slowpow.
37733 (exp-ITER): Increase iterations.
37734 (pow-ITER): Likewise.
37735 * benchtests/exp-inputs: Change input.
37736 * benchtests/pow-inputs: Likewise.
37737 * benchtests/slowexp-inputs: New file.
37738 * benchtests/slowexp.c: New file.
37739 * benchtests/slowpow-inputs: New file.
37740 * benchtests/slowpow.c: New file.
37741
37742 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37743
37744 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37745 instructions.
37746 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37747 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37748 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37749 * benchtests/Makefile: Add rint benchtest.
37750 * benchtests/rint-inputs: Input for rint benchtest.
37751
37752 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37753
37754 * Versions.def (libm): Add GLIBC_2.18.
37755 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37756 hidden libm prototypes.
37757 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37758 * math/Makefile (libm-calls): Add s_issignaling.
37759 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37760 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37761 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37762 declaration.
37763 * math/math.h [__USE_GNU] (issignaling): New macro.
37764 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37765 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37766 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37767 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37770 * manual/arith.texi (issignaling): New section.
37771 * manual/libm-err-tab.pl (@all_functions): Update comment.
37772 * math/gen-libm-test.pl (parse_args): Apply special handling for
37773 issignaling.
37774 * math/libm-test.inc (print_float, issignaling_test): New
37775 functions.
37776 (check_float_internal): Add issignaling checks.
37777 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37778 default definition.
37779 * sysdeps/powerpc/math-tests.h: New file.
37780 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37781 tests.
37782 * math/test-snan.c (TEST_FUNC): Likewise.
37783
37784 2013-03-30 David S. Miller <davem@davemloft.net>
37785
37786 * po/de.po: Update from translation team.
37787
37788 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37789
37790 [BZ #10357]
37791 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37792 imaginary part less than 1.0 and real part less than 0.5
37793 specially.
37794 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37795 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37796 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37797 (cacos_test): Add more tests.
37798 (casin_test): Likewise.
37799 (casinh_test): Likewise.
37800 * sysdeps/i386/fpu/libm-test-ulps: Update.
37801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37802
37803 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37804
37805 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37806 ONE with its value.
37807
37808 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37809 (__pow_mp): Replace ONE and MONE with their values.
37810 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37813 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37814 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37815 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37816
37817 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37818
37819 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37820 (__pow_mp): Replace ZERO and MZERO with their values.
37821 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37823 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37825 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37826 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37827 (__sqr): Likewise.
37828
37829 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37830
37831 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37832
37833 2013-03-28 Roland McGrath <roland@hack.frob.com>
37834
37835 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37836 Declare with __attribute__ ((weak)).
37837 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37838 Call __call_tls_dtors only if it's not NULL.
37839
37840 2013-03-28 Roland McGrath <roland@hack.frob.com>
37841
37842 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37843 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37844 magic __ehdr_start linker symbol if it's defined.
37845 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37846 them up here if it was already done.
37847
37848 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37849 (_dl_aux_init): Use const in cast when setting it.
37850 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37851 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37852 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37853
37854 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37855 Declare them here.
37856 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37857 * csu/libc-tls.c: Nor here.
37858 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37859
37860 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37861 (__libc_message): Never call vsyslog.
37862
37863 2013-03-28 Alan Modra <amodra@gmail.com>
37864
37865 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37866 Define as empty.
37867 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37868 Likewise.
37869
37870 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37871
37872 [BZ #15214]
37873 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37874 underflow.
37875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37876
37877 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37878
37879 [BZ #15304]
37880 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37881 Don't add gid passed as argument.
37882
37883 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37884
37885 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37886
37887 [BZ #15307]
37888 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37889 imaginary part between 1.0 and 1.5 and real part less than 0.5
37890 specially.
37891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37893 * math/libm-test.inc (cacos_test): Add more tests.
37894 (casin_test): Likewise.
37895 (casinh_test): Likewise.
37896 * sysdeps/i386/fpu/libm-test-ulps: Update.
37897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37898
37899 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37900
37901 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37902 constants.
37903 (norm): Likewise.
37904 (denorm): Likewise.
37905 (__dbl_mp): Likewise.
37906 (add_magnitudes): Likewise.
37907 (sub_magnitudes): Likewise.
37908 (__add): Likewise.
37909 (__sub): Likewise.
37910 (__mul): Likewise.
37911 (__sqr): Likewise.
37912 (__inv): Likewise.
37913 (__dvd): Likewise.
37914
37915 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37916 commented code.
37917 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37918 (__dubcos): Likewise.
37919 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37920 (__ieee754_acos): Likewise.
37921 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37922 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37923 (__exp1): Likewise.
37924 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37926 (log1): Likewise.
37927 (my_log2): Likewise.
37928 (checkint): Likewise.
37929 * sysdeps/ieee754/dbl-64/e_remainder.c
37930 (__ieee754_remainder): Likewise.
37931 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37933 (bsloww): Likewise.
37934 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37935
37936 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37937 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37938 MANTISSA_STORE_T to store computations on mantissa. Use
37939 macros for rounding and division.
37940 (denorm): Likewise.
37941 (__dbl_mp): Likewise.
37942 (add_magnitudes): Likewise.
37943 (sub_magnitudes): Likewise.
37944 (__mul): Likewise.
37945 (__sqr): Likewise.
37946 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37947 powers of two in terms of TWOPOW macro.
37948 (mp_no): Make type of mantissa as MANTISSA_T.
37949 [!RADIXI]: Define RADIXI.
37950 [!TWO52]: Define TWO52.
37951 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37952
37953 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37954
37955 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37956 llroundl symbol when building for PPC32.
37957
37958 2013-03-24 Mark H Weaver <mhw@netris.org>
37959
37960 * manual/arith.texi (Normalization Functions): Fix prototypes for
37961 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37962
37963 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37964
37965 [BZ #13889]
37966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37967 high value to check if expl overflow.
37968 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37969 to check for underflow and overflow.
37970 * math/libm-test.inc: Add exp test.
37971
37972 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
37973
37974 [BZ #11120]
37975 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37976 with NOT_IN_libc.
37977
37978 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37979
37980 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37981 symbol.
37982
37983 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37984
37985 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37986 wrap blocks consisting of several statements.
37987
37988 * sysdeps/generic/math-tests.h: New file.
37989 * sysdeps/i386/fpu/math-tests.h: Likewise.
37990 * math/test-snan.c: Include it.
37991 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37992
37993 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37994
37995 [BZ #15285]
37996 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37997 (__ieee754_j0l): Do not improve calculations using cos of twice
37998 input for inputs above LDBL_MAX / 2.0L.
37999 (__ieee754_y0l): Likewise.
38000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38001 (__ieee754_j1l): Do not improve calculations using cos of twice
38002 input for inputs above LDBL_MAX / 2.0L.
38003 (__ieee754_y1l): Likewise.
38004 * math/libm-test.inc (j0_test): Add another test.
38005 (j1_test): Likewise.
38006 (y0_test): Likewise.
38007 (y1_test): Likewise.
38008 * sysdeps/i386/fpu/libm-test-ulps: Update.
38009
38010 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38011
38012 * Rules ($(objpfx)bench-%.c): Include code from a C source
38013 file.
38014
38015 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38016
38017 [BZ #15287]
38018 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38019 imaginary part 1.0 and real part less than 0.5 specially.
38020 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38021 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38022 * math/libm-test.inc (cacos_test): Add more tests.
38023 (casin_test): Likewise.
38024 (casinh_test): Likewise.
38025 * sysdeps/i386/fpu/libm-test-ulps: Update.
38026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38027
38028 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38029
38030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38031 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38032
38033 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38034
38035 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38036 * config.make.in (config-cflags-sse4): Remove variable.
38037 (config-cflags-avx): Likewise.
38038 (config-cflags-sse2avx): Likewise.
38039 (config-cflags-novzeroupper): Likewise.
38040 (config-asflags-i686): Likewise.
38041 (have-mfma4): Likewise.
38042 (have-as-vis3): Likewise.
38043 (MIG): Likewise.
38044 * configure.in (MIG): Do not AC_SUBST.
38045 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38046 (libc_cv_cc_sse4): Do not AC_SUBST.
38047 (libc_cv_cc_avx): Likewise.
38048 (libc_cv_cc_sse2avx): Likewise.
38049 (libc_cv_cc_novzeroupper): Likewise.
38050 (libc_cv_cc_fma4): Likewise.
38051 (libc_cv_as_i686): Likewise.
38052 (libc_cv_sparc_as_vis3): Likewise.
38053 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38054 LIBC_CONFIG_VAR.
38055 (config-asflags-i686): Likewise.
38056 (config-cflags-avx): Likewise.
38057 (config-cflags-sse2avx): Likewise.
38058 (have-mfma4): Likewise.
38059 (config-cflags-novzeroupper): Likewise.
38060 * sysdeps/mach/configure.in (MIG): Likewise.
38061 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38062 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38063 LIBC_CONFIG_VAR.
38064 (config-cflags-avx): Likewise.
38065 (config-cflags-sse2avx): Likewise.
38066 (have-mfma4): Likewise.
38067 (config-cflags-novzeroupper): Likewise.
38068 * configure: Regenerated.
38069 * sysdeps/i386/configure: Likewise.
38070 * sysdeps/mach/configure: Likewise.
38071 * sysdeps/sparc/configure: Likewise.
38072 * sysdeps/x86_64/configure: Likewise.
38073
38074 2013-03-20 Roland McGrath <roland@hack.frob.com>
38075
38076 [BZ #14812]
38077 * locale/programs/localedef.c (options): Put N_ translation marker
38078 on argument names, not just descriptions.
38079
38080 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38081
38082 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38083
38084 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38085
38086 [BZ #14176]
38087 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38088
38089 2013-03-19 Roland McGrath <roland@hack.frob.com>
38090
38091 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38092 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38093 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38094 [!BEFORE_ABORT] (before_abort): New function.
38095 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38096 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38097 (writev_for_fatal): New function.
38098 (WRITEV_FOR_FATAL): New macro; call that.
38099 (backtrace_and_maps): New function.
38100 (BEFORE_ABORT): New macro; call that.
38101 (struct str_list): Type removed.
38102 (__libc_message, __libc_fatal): Functions removed.
38103 Include <sysdeps/posix/libc_fatal.c> instead.
38104
38105 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38106
38107 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38108 constants.
38109 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38110 double constants.
38111
38112 2013-03-19 Andreas Schwab <schwab@suse.de>
38113
38114 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38115 * sysdeps/gnu/configure: Regenerate.
38116
38117 * configure.in: Substitute libc_cv_rtlddir.
38118 * configure: Regenerate.
38119 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38120 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38121 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38122 * elf/Makefile (install-others, CFLAGS-interp.c)
38123 (ldso_install, common-ldd-rewrite): Likewise.
38124 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38125 $(inst_slibdir)/$(rtld-installed-name).
38126 * scripts/rellns-sh: Add -p option.
38127 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38128 for source.
38129
38130 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38131
38132 * manual/nptl.texi: Renamed to ...
38133 * manual/threads.texi: ... this.
38134 * manual/Makefile (chapters): Update.
38135
38136 2013-03-18 Roland McGrath <roland@hack.frob.com>
38137
38138 [BZ #14812]
38139 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38140 on argument names, not just descriptions.
38141 * malloc/memusagestat.c (options): Likewise.
38142 * nss/getent.c (options): Likewise.
38143
38144 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38145
38146 [BZ #14812]
38147 * iconv/iconv_prog.c (options): Put N_ translation marker
38148 on argument names, not just descriptions.
38149 * iconv/iconvconfig.c (options): Likewise.
38150
38151 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38152
38153 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38154 implementation which is faster on all x86_64 architectures.
38155 Tested on AMD, Intel Nehalem, SNB, IVB.
38156 * sysdeps/x86_64/strnlen.S: Likewise.
38157
38158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38159 Remove all multiarch strlen and strnlen versions.
38160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38161 Remove strlen and strnlen related parts.
38162
38163 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38164 Inline strlen part.
38165 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38166
38167 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38168 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38169 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38170 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38171 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38172 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38173
38174 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38175
38176 * manual/memory.texi (Malloc Tunable Parameters):
38177 Sort parameters alphabetically. Add comments for missing entries.
38178
38179 2013-03-17 David S. Miller <davem@davemloft.net>
38180
38181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38182
38183 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38184
38185 [BZ #15283]
38186 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38187 for arguments at most half maximum finite value.
38188 * math/libm-test.inc (j0_test): Add more tests.
38189 (j1_test): Likewise.
38190 (y0_test): Likewise.
38191 (y1_test): Likewise.
38192 * sysdeps/i386/fpu/libm-test-ulps: Update.
38193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38194
38195 [BZ #14155]
38196 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38197 1 / x and functions P and Q for arguments above 0x1p256L.
38198 (__ieee754_y0l): Likewise.
38199 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38200 (__ieee754_y1l): Likewise.
38201 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38202 (j1_test): Likewise.
38203 (y0_test): Likewise.
38204 (y1_test): Likewise.
38205
38206 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38207
38208 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38209 variable.
38210
38211 2013-03-15 Roland McGrath <roland@hack.frob.com>
38212
38213 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38214 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38215 zero since it's initialized to EXEC_PAGESIZE.
38216
38217 * sysdeps/unix/sysv/linux/ldsodefs.h
38218 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38219 * sysdeps/generic/ldsodefs.h: ... here.
38220
38221 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38222
38223 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38224
38225 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38226 math/test-snan.c.
38227 * math/test-snan.c: Renamed from
38228 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38229 * math/Makefile (tests): Add test-snan.
38230 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38231 test-powerpc-snan.
38232
38233 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38234 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38235 functions.
38236 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38237 __builtin_nan family of functions.
38238 * math/libm-test.inc (initialize): Initialize qnan_value with
38239 __builtin_nan family of functions.
38240 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38241 Remove variables.
38242 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38243 Remove functions.
38244 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38245 storage class. Initialize qNaN_var and sNaN_var with
38246 __builtin_nan and __builtin_nans families of functions,
38247 respectively.
38248
38249 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38250 (sqrt_test): Remove duplicate test with qNaN input.
38251 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38252 (round_test, signbit_test, significand_test): Note missing +/-Inf
38253 as well as qNaN tests.
38254
38255 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38256 qNaN_var. Fix a few strings, too.
38257 * math/libm-test.inc (nan_value): Rename to qnan_value.
38258 * math/gen-libm-test.pl (%beautify): Adjust to that.
38259 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38260 * math/test-misc.c (main): Likewise.
38261 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38262 to __qnan_bytes, and __qnan_union, respectively.
38263 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38264 Likewise.
38265 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38266 and lqnanval, respectively.
38267 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38268 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38269 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38270 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38271
38272 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38273 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38274 doubles.
38275
38276 * math/test-misc.c (main): Fix copy'n'pastos.
38277 * misc/tst-efgcvt.c (special): Likewise.
38278
38279 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38280 Remove declarations.
38281
38282 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38283
38284 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38285 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38286 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38287 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38288
38289 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38290
38291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38292 macro to return vdso values correctly in IFUNC implementations.
38293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38294 Optimization by using IFUNC.
38295
38296 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38297 Richard Henderson <rth@redhat.com>
38298 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38299
38300 * Makefile.in (bench): New target.
38301 * NEWS: Mention the benchmark framework.
38302 * Rules (bench): Likewise.
38303 (binaries-bench): Generate binaries for functions to
38304 benchmark.
38305 * benchtests/Makefile: New makefile for benchmark tests.
38306 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38307 programs.
38308 * benchtests/exp-inputs: New input file for EXP function.
38309 * benchtests/pow-inputs: New input file for POW function.
38310 * scripts/bench.pl: New script to generate source files for
38311 benchmark programs.
38312
38313 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38314
38315 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38317 computations on mantissa. Use macros for rounding and
38318 division.
38319 (denorm): Likewise.
38320 (__dbl_mp): Likewise.
38321 (add_magnitudes): Likewise.
38322 (sub_magnitudes): Likewise.
38323 (__mul): Likewise.
38324 (__sqr): Likewise.
38325 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38326 powers of two in terms of TWOPOW macro.
38327 (mp_no): Make type of mantissa as MANTISSA_T.
38328 [!RADIXI]: Define RADIXI.
38329 [!TWO52]: Define TWO52.
38330 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38331
38332 * manual/nptl.texi (cindex): Modify threads to pthreads.
38333
38334 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38335
38336 * sysdeps/x86_64/preconfigure: Regenerated.
38337
38338 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38339
38340 [BZ #14155]
38341 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38342 0x1p28 and above.
38343 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38344 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38345 0x1p28 and above.
38346 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38347 * math/libm-test.inc (j0_test): Do not allow one spurious
38348 underflow exception.
38349 (y1_test): Likewise.
38350
38351 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38352
38353 * manual/Makefile (chapters): Add nptl.
38354 * manual/debug.texi (Debugging Support): Add link to Threads
38355 chapter.
38356 * manual/nptl.texi: New file.
38357
38358 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38359
38360 2013-03-14 Petr Baudis <pasky@ucw.cz>
38361
38362 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38363 for non-NULL pointer before the memory validity test. Pointed
38364 out by Holger Brunck <holger.brunck@keymile.com>.
38365
38366 2013-03-13 Andreas Schwab <schwab@suse.de>
38367
38368 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38369 instead of .os.
38370
38371 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38372
38373 * timezone/zic.c: Update from tzcode 2013b.
38374
38375 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38376
38377 * manual/install.texi (Configuring and compiling):
38378 Mention i686 and i586.
38379 * INSTALL: Regenerate.
38380
38381 2013-03-12 Roland McGrath <roland@hack.frob.com>
38382
38383 * sysdeps/init_array/elf-init.c: New file.
38384 * csu/elf-init.c
38385 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38386 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38387
38388 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38389 __gmon_start__ as global, but as static with a .preinit_array pointer.
38390 * sysdeps/init_array/gmon-start.c: New file. Use that.
38391 * sysdeps/init_array/crti.S: New file, empty except for comments.
38392 * sysdeps/init_array/crtn.S: Likewise.
38393
38394 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38395
38396 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38397 definining bcopy.
38398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38399 Remove Prefer_SSE_for_memop.
38400 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38401 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38402 HAS_PREFER_SSE_FOR_MEMOP.
38403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38404 memset-x86-64.
38405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38406 Remove bzero, memset ifunc support.
38407 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38408 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38409 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38410 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38411
38412 2013-03-11 Andreas Schwab <schwab@suse.de>
38413
38414 [BZ #15234]
38415 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38416 by SHLIB_COMPAT.
38417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38418 (GLIBC_2.16): Remove pthread_atfork.
38419
38420 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38421
38422 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38423 (ptestcases.h): Likewise.
38424
38425 2013-03-08 Roland McGrath <roland@hack.frob.com>
38426
38427 * Makeconfig ($(common-objpfx)config.status): Depend on
38428 sysdeps/*/preconfigure{,.in} too.
38429
38430 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38431
38432 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38433 (__free_hook): Use void * instead of __malloc_ptr_t.
38434 (__malloc_hook): Likewise.
38435 (__realloc_hook): Likewise.
38436 (__memalign_hook): Likewise.
38437 (__after_morecore_hook): Likewise.
38438 * malloc/arena.c (save_malloc_hook): Likewise.
38439 (save_free_hook): Likewise.
38440 * malloc/hooks.c (malloc_hook_ini): Likewise.
38441 (realloc_hook_ini): Likewise.
38442 (memalign_hook_ini): Likewise.
38443 * malloc/malloc.c (malloc_hook_ini): Likewise.
38444 (realloc_hook_ini): Likewise.
38445 (memalign_hook_ini): Likewise.
38446 (__free_hook): Likewise.
38447 (__malloc_hook): Likewise.
38448 (__realloc_hook): Likewise.
38449 (__memalign_hook): Likewise.
38450 (__libc_malloc): Likewise.
38451 (__libc_free): Likewise.
38452 (__libc_realloc): Likewise.
38453 (__libc_memalign): Likewise.
38454 (__libc_valloc): Likewise.
38455 (__libc_pvalloc): Likewise.
38456 (__libc_calloc): Likewise.
38457 (__posix_memalign): Likewise.
38458 * malloc/morecore.c (__sbrk): Likewise.
38459 (__default_morecore): Likewise.
38460
38461 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38462
38463 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38464 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38465 __malloc_ptrdiff_t.
38466
38467 * malloc/malloc.h (__malloc_size_t): Remove macro.
38468 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38469 __malloc_size_t.
38470 (old_memalign_hook): Likewise.
38471 (old_realloc_hook): Likewise.
38472 (struct hdr): Likewise.
38473 (flood): Likewise.
38474 (mallochook): Likewise.
38475 (memalignhook): Likewise.
38476 (reallochook): Likewise.
38477 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38478 (tr_old_realloc_hook): Likewise.
38479 (tr_old_memalign_hook): Likewise.
38480 (tr_mallochook): Likewise.
38481 (tr_reallochook): Likewise.
38482 (tr_memalignhook): Likewise.
38483
38484 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38485
38486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38487 default_ldbl_pack and using as default implementation.
38488 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38489 implementation.
38490 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38491 redundant definition.
38492 (ldbl_insert_mantissa): Likewise.
38493 (ldbl_canonicalize): Likewise.
38494 (ldbl_nearbyint): Likewise.
38495 (ldbl_pack): Rename to ldbl_pack_ppc.
38496 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38497 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38498 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38499
38500 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38501
38502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38503 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38504 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38505 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38507 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38508 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38509 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38510
38511 2013-03-07 Andreas Jaeger <aj@suse.de>
38512
38513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38514 bits/mman-linux.h.
38515
38516 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38517
38518 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38519 Include mpa.h and declare __MPEXP.
38520 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38521 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38522 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38524 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38525 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38526 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38527
38528 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38529 (__slowpow): Use long double EXPL and LOGL functions to
38530 compute POW.
38531 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38532 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38533 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38534 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38535 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38536 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38537
38538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38539 intermediate variable to calculate exponent.
38540 (__sqr): Likewise.
38541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38542 Likewise.
38543 (__sqr): Likewise.
38544
38545 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38546 [!NO__SQR]: Define __sqr.
38547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38548 and NO__SQR. Remove all code except __mul and __sqr. Include
38549 sysdeps/ieee754/dbl-64/mpa.c.
38550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38551
38552 [BZ #12723]
38553 * posix/Makefile (tests): Add tst-pathconf.
38554 * posix/tst-pathconf.c: New test case.
38555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38556 _PC_PIPE_BUF.
38557 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38558
38559 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38560
38561 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38562
38563 2013-03-06 Andreas Jaeger <aj@suse.de>
38564
38565 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38566 definition via __MAP_ANONYMOUS.
38567
38568 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38569 it's not part of Linux headers.
38570
38571 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38572 (MAP_HUGE_MASK): Define.
38573
38574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38575 Define.
38576 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38578 Define.
38579 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38580 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38581 Define.
38582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38584 Define.
38585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38586
38587 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38588 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38589 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38590 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38591 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38592 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38593
38594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38595 Handle f2fs.
38596
38597 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38598 Handle f2fs and efivarfs.
38599
38600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38601 f2fs.
38602
38603 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38604 (EFIVARFS_MAGIC): Add.
38605 (F2FS_LINK_MAX): Add.
38606
38607 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38608
38609 * stdio-common/vfprintf.c: Replace __builtin_expect with
38610 __glibc_unlikely.
38611
38612 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38613
38614 [BZ #13550]
38615 * sysdeps/generic/bp-sym.h: Remove file.
38616 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38617 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38618 <bp-sym.h> and <bp-asm.h>.
38619 (__longjmp): Don't use BP_SYM.
38620 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38621 and <bp-asm.h>.
38622 (memcpy): Don't use BP_SYM.
38623 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38624 <bp-sym.h> and <bp-asm.h>.
38625 (memcpy): Don't use BP_SYM.
38626 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38627 <bp-asm.h>.
38628 (memcpy): Don't use BP_SYM.
38629 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38630 <bp-asm.h>.
38631 (memset): Don't use BP_SYM.
38632 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38633 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38634 (__bzero): Don't use BP_SYM.
38635 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38636 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38637 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38638 <bp-sym.h> and <bp-asm.h>.
38639 (memcmp): Don't use BP_SYM. Remove comment about bounded
38640 pointers.
38641 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38642 <bp-sym.h> and <bp-asm.h>.
38643 (memcpy): Don't use BP_SYM.
38644 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38645 <bp-sym.h> and <bp-asm.h>.
38646 (memset): Don't use BP_SYM.
38647 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38648 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38649 (__bzero): Don't use BP_SYM.
38650 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38651 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38652 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38653 <bp-sym.h> and <bp-asm.h>.
38654 (strncmp): Don't use BP_SYM. Remove comment about bounded
38655 pointers.
38656 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38657 <bp-sym.h> and <bp-asm.h>.
38658 (memcpy): Don't use BP_SYM.
38659 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38660 <bp-sym.h> and <bp-asm.h>.
38661 (memset): Don't use BP_SYM.
38662 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38663 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38664 (__bzero): Don't use BP_SYM.
38665 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38666 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38668 <bp-sym.h> and <bp-asm.h>.
38669 (__memchr): Don't use BP_SYM.
38670 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38671 <bp-sym.h> and <bp-asm.h>.
38672 (memcmp): Don't use BP_SYM. Remove comment about bounded
38673 pointers.
38674 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38675 <bp-sym.h> and <bp-asm.h>.
38676 (memcpy): Don't use BP_SYM.
38677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38678 <bp-sym.h> and <bp-asm.h>.
38679 (__mempcpy): Don't use BP_SYM.
38680 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38681 <bp-sym.h> and <bp-asm.h>.
38682 (__memrchr): Don't use BP_SYM.
38683 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38684 <bp-sym.h> and <bp-asm.h>.
38685 (memset): Don't use BP_SYM.
38686 (__bzero): Likewise.
38687 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38688 <bp-sym.h> and <bp-asm.h>.
38689 (__rawmemchr): Don't use BP_SYM.
38690 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38691 <bp-sym.h> and <bp-asm.h>.
38692 (__STRCMP): Don't use BP_SYM.
38693 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38694 <bp-sym.h> and <bp-asm.h>.
38695 (strchr): Don't use BP_SYM.
38696 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38697 <bp-sym.h> and <bp-asm.h>.
38698 (__strchrnul): Don't use BP_SYM.
38699 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38700 <bp-sym.h> and <bp-asm.h>.
38701 (strlen): Don't use BP_SYM.
38702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38703 <bp-sym.h> and <bp-asm.h>.
38704 (strncmp): Don't use BP_SYM. Remove comment about bounded
38705 pointers.
38706 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38707 <bp-sym.h> and <bp-asm.h>.
38708 (__strnlen): Don't use BP_SYM.
38709 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38710 <bp-sym.h> and <bp-asm.h>.
38711 (__GI__setjmp): Don't use BP_SYM.
38712 (_setjmp): Likewise.
38713 (__sigsetjmp): Likewise.
38714 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38715 (L(start_addresses)): Don't use BP_SYM.
38716 (_start): Likewise.
38717 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38718 <bp-asm.h>.
38719 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38720 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38721 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38722 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38723 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38724 <bp-asm.h>.
38725 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38726 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38727 about bounded pointers.
38728 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38729 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38730 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38731 <bp-asm.h>.
38732 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38733 about bounded pointers. Remove GKM FIXME comments.
38734 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38735 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38736 <bp-asm.h>.
38737 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38738 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38739 Remove GKM FIXME comments.
38740 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38741 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38742 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38743 <bp-asm.h>.
38744 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38745 about bounded pointers. Remove GKM FIXME comment.
38746 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38747 and <bp-asm.h>.
38748 (strncmp): Don't use BP_SYM. Remove comment about bounded
38749 pointers.
38750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38751 <bp-sym.h> and <bp-asm.h>.
38752 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38754 <bp-sym.h> and <bp-asm.h>.
38755 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38756 comment.
38757
38758 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38759
38760 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38761 call free(NULL).
38762
38763 2013-03-05 David S. Miller <davem@davemloft.net>
38764
38765 * po/es.po: Update from translation team.
38766
38767 2013-03-05 Andreas Jaeger <aj@suse.de>
38768
38769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38770 <bits/mman-linux.h>.
38771 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38772 is fine.
38773 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38774 <bits/mman-linux.h> to end of file.
38775 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38776 is fine.
38777 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38778 <bits/mman-linux.h> to end of file.
38779 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38780 is fine.
38781 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38782 <bits/mman-linux.h> to end of file.
38783
38784 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38785 (MCL_CURRENT, MCL_FUTURE): Define here.
38786
38787 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38788
38789 [BZ #15232]
38790 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38791 attribute_hidden.
38792 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38793
38794 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38795
38796 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38797 fourth parameter needed for rt_sigprocmask syscall.
38798 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38799 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38800 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38801 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38802 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38803 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38804
38805 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38806
38807 [BZ #13550]
38808 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38809 comment about bounded pointers.
38810 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38811 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38812
38813 2013-03-04 Andreas Jaeger <aj@suse.de>
38814
38815 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38816 common definitions.
38817
38818 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38819 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38820 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38821 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38822 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38823 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38824
38825 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38826
38827 [BZ #15055]
38828 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38829 __ieee754_sqrl instead of __sqrl.
38830
38831 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38832
38833 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38834 * sysdeps/powerpc/fpu_control.h: ... here.
38835 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38836 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38837 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38838 * sysdeps/powerpc/bits/mathinline.h: ... here.
38839
38840 2013-03-01 Roland McGrath <roland@hack.frob.com>
38841
38842 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38843 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38844 to just [NEED_DL_SYSINFO_DSO].
38845 * elf/dl-support.c: Likewise.
38846 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38847 * elf/rtld.c (dl_main): Likewise.
38848 * elf/setup-vdso.h (setup_vdso): Likewise.
38849 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38850 * sysdeps/unix/sysv/linux/dl-sysdep.c
38851 (_dl_discover_osversion): Likewise.
38852
38853 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38854
38855 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38856 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38857
38858 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38859
38860 * NEWS: Mention libm performance improvements and non-x86 PI
38861 futex support.
38862
38863 * csu/libc-start.c (__pthread_initialize_minimal): Change
38864 function arguments.
38865 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38866
38867 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38868
38869 [BZ #13550]
38870 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38871 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38872 <bp-sym.h> and <bp-asm.h>.
38873 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38875 and <bp-asm.h>.
38876 (memcpy): Don't use BP_SYM.
38877 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38878 <bp-asm.h>.
38879 (__mpn_add_n): Don't use BP_SYM.
38880 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38881 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38882 and <bp-asm.h>.
38883 (__mpn_addmul_1): Don't use BP_SYM.
38884 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38885 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38886 <bp-sym.h>.
38887 (_setjmp): Don't use BP_SYM.
38888 (__novmx_setjmp): Likewise.
38889 (__GI__setjmp): Likewise.
38890 (__vmx_setjmp): Likewise.
38891 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38892 <bp-sym.h>.
38893 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38894 (__bzero): Don't use BP_SYM.
38895 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38896 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38897 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38898 <bp-sym.h> and <bp-asm.h>.
38899 (memcpy): Don't use BP_SYM.
38900 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38901 <bp-sym.h> and <bp-asm.h>.
38902 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38903 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38904 <bp-sym.h> and <bp-asm.h>.
38905 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38906 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38907 <bp-asm.h>.
38908 (__mpn_lshift): Don't use BP_SYM.
38909 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38910 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38911 <bp-asm.h>.
38912 (memset): Don't use BP_SYM.
38913 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38914 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38915 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38916 <bp-asm.h>.
38917 (__mpn_mul_1): Don't use BP_SYM.
38918 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38919 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38920 <bp-sym.h> and <bp-asm.h>.
38921 (memcmp): Don't use BP_SYM.
38922 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38923 <bp-sym.h> and <bp-asm.h>.
38924 (memcpy): Don't use BP_SYM.
38925 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38926 <bp-sym.h> and <bp-asm.h>.
38927 (memset): Don't use BP_SYM.
38928 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38929 <bp-sym.h> and <bp-asm.h>.
38930 (strncmp): Don't use BP_SYM.
38931 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38932 <bp-sym.h> and <bp-asm.h>.
38933 (memcpy): Don't use BP_SYM.
38934 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38935 <bp-sym.h> and <bp-asm.h>.
38936 (memset): Don't use BP_SYM.
38937 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38938 <bp-sym.h> and <bp-asm.h>.
38939 (__memchr): Don't use BP_SYM.
38940 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38941 <bp-sym.h> and <bp-asm.h>.
38942 (memcmp): Don't use BP_SYM.
38943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38944 <bp-sym.h> and <bp-asm.h>.
38945 (memcpy): Don't use BP_SYM.
38946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38947 <bp-sym.h> and <bp-asm.h>.
38948 (__mempcpy): Don't use BP_SYM.
38949 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38950 <bp-sym.h> and <bp-asm.h>.
38951 (__memrchr): Don't use BP_SYM.
38952 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38953 <bp-sym.h> and <bp-asm.h>.
38954 (memset): Don't use BP_SYM.
38955 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38956 <bp-sym.h> and <bp-asm.h>.
38957 (__rawmemchr): Don't use BP_SYM.
38958 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38959 <bp-sym.h> and <bp-asm.h>.
38960 (__STRCMP): Don't use BP_SYM.
38961 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38962 <bp-sym.h> and <bp-asm.h>.
38963 (strchr): Don't use BP_SYM.
38964 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38965 <bp-sym.h> and <bp-asm.h>.
38966 (__strchrnul): Don't use BP_SYM.
38967 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38968 <bp-sym.h> and <bp-asm.h>.
38969 (strlen): Don't use BP_SYM.
38970 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38971 <bp-sym.h> and <bp-asm.h>.
38972 (strncmp): Don't use BP_SYM.
38973 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38974 <bp-sym.h> and <bp-asm.h>.
38975 (__strnlen): Don't use BP_SYM.
38976 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38977 <bp-asm.h>.
38978 (__mpn_rshift): Don't use BP_SYM.
38979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38980 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38981 <bp-sym.h> and <bp-asm.h>.
38982 (__sigsetjmp): Don't use BP_SYM.
38983 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38984 (L(start_addresses)): Don't use BP_SYM.
38985 (_start): Likewise.
38986 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38987 <bp-asm.h>.
38988 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38989 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38990 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38991 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38992 <bp-asm.h>.
38993 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38994 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38995 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38996 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38997 <bp-asm.h>.
38998 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38999 comments.
39000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39001 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39002 <bp-asm.h>.
39003 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39004 FIXME comments.
39005 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39006 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39007 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39008 <bp-asm.h>.
39009 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39010 comment.
39011 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39012 and <bp-asm.h>.
39013 (strncmp): Don't use BP_SYM,
39014 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39015 <bp-asm.h>.
39016 (__mpn_sub_n): Don't use BP_SYM.
39017 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39018 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39019 and <bp-asm.h>.
39020 (__mpn_submul_1): Don't use BP_SYM.
39021 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39023 <bp-sym.h> and <bp-asm.h>.
39024 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39026 <bp-sym.h> and <bp-asm.h>.
39027 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39028 comment.
39029
39030 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39031
39032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39033 Use ZK to minimize writes to Z.
39034 (sub_magnitudes): Simplify code a bit.
39035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39036 Use ZK to minimize writes to Z.
39037 (sub_magnitudes): Simplify code a bit.
39038
39039 2013-02-27 Roland McGrath <roland@hack.frob.com>
39040
39041 * csu/gmon-start.c: Add special exception to license text.
39042
39043 2013-02-27 Richard Henderson <rth@redhat.com>
39044
39045 * scripts/config.guess: Update from config.git.
39046 * scripts/config.sub: Likewise.
39047
39048 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39049
39050 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39051
39052 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39053
39054 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39055
39056 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39057
39058 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39059
39060 2013-02-26 Roland McGrath <roland@hack.frob.com>
39061
39062 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39063 [$(build-shared = yes].
39064
39065 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39066
39067 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39068 (__mul): Reduce iterations for calculating mantissa.
39069
39070 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39071 MPTWO.
39072 (__mpranred): Likewise.
39073
39074 [BZ #15160]
39075 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39076 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39077
39078 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39079
39080 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39081 Define __attribute__.
39082
39083 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39084
39085 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39086 unused.
39087 * posix/regex_internal.h (__attribute): Remove.
39088 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39089 (re_string_context_at): Likewise.
39090 (bitset_not): Use __attribute__ and mark function as possibly
39091 unused.
39092 (bitset_merge): Likewise.
39093 (bitset_mask): Likewise.
39094 (re_string_char_size_at): Likewise.
39095 (re_string_wchar_at): Likewise.
39096 (re_string_elem_size_at): Likewise.
39097
39098 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39099
39100 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39101 code.
39102 (cc32): Likewise.
39103
39104 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39105 (__acr): Likewise.
39106 (__cpy): Likewise.
39107 (norm): Likewise.
39108 (denorm): Likewise.
39109 (__dbl_mp): Likewise.
39110 (add_magnitudes): Likewise.
39111 (sub_magnitudes): Likewise.
39112 (__mul): Likewise.
39113 (__inv): Likewise.
39114
39115 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39116 style.
39117
39118 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39119 style.
39120
39121 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39122 code.
39123
39124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39125 up changes with default code.
39126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39127 Likewise.
39128
39129 2013-02-24 Allan McRae <allan@archlinux.org>
39130
39131 * manual/socket.texi (The Internet Namespace): Order menu items
39132 to match that in the file.
39133
39134 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39135 node listing of the info page menu.
39136
39137 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39138
39139 [BZ #13550]
39140 * sysdeps/i386/bp-asm.h: Remove file.
39141 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39142 (PARMS): Do not use macros from bp-asm.h.
39143 (S1): Likewise.
39144 (S2): Likewise.
39145 (SIZE): Likewise.
39146 (__mpn_add_n): Do not use BP_SYM
39147 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39148 "bp-asm.h".
39149 (PARMS): Do not use macros from bp-asm.h.
39150 (S1): Likewise.
39151 (SIZE): Likewise.
39152 (__mpn_addmul_1): Do not use BP_SYM
39153 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39154 "bp-asm.h".
39155 (PARMS): Do not use macros from bp-asm.h.
39156 (SIGMSK): Likewise.
39157 (_setjmp): Likewise. Do not use BP_SYM.
39158 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39159 "bp-asm.h".
39160 (PARMS): Do not use macros from bp-asm.h.
39161 (SIGMSK): Likewise.
39162 (setjmp): Likewise. Do not use BP_SYM.
39163 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39164 "bp-asm.h".
39165 (PARMS): Do not use macros from bp-asm.h.
39166 (__frexp): Do not use BP_SYM.
39167 (frexp): Likewise.
39168 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39169 "bp-asm.h".
39170 (PARMS): Do not use macros from bp-asm.h.
39171 (__frexpf): Do not use BP_SYM.
39172 (frexpf): Likewise.
39173 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39174 "bp-asm.h".
39175 (PARMS): Do not use macros from bp-asm.h.
39176 (__frexpl): Do not use BP_SYM.
39177 (frexpl): Likewise.
39178 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39179 "bp-asm.h".
39180 (PARMS): Do not use macros from bp-asm.h.
39181 (__remquo): Do not use BP_SYM.
39182 (remquo): Likewise.
39183 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39184 "bp-asm.h".
39185 (PARMS): Do not use macros from bp-asm.h.
39186 (__remquof): Do not use BP_SYM.
39187 (remquof): Likewise.
39188 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39189 "bp-asm.h".
39190 (PARMS): Do not use macros from bp-asm.h.
39191 (__remquol): Do not use BP_SYM.
39192 (remquol): Likewise.
39193 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39194 "bp-asm.h".
39195 (PARMS): Do not use macros from bp-asm.h.
39196 (DEST): Likewise.
39197 (SRC): Likewise.
39198 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39199 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39200 "bp-asm.h".
39201 (PARMS): Do not use macros from bp-asm.h.
39202 (strlen): Do not use BP_SYM.
39203 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39204 "bp-asm.h".
39205 (PARMS): Do not use macros from bp-asm.h.
39206 (S1): Likewise.
39207 (S2): Likewise.
39208 (SIZE): Likewise.
39209 (__mpn_add_n): Do not use BP_SYM.
39210 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39211 "bp-asm.h".
39212 (PARMS): Do not use macros from bp-asm.h.
39213 (S1): Likewise.
39214 (SIZE): Likewise.
39215 (__mpn_addmul_1): Do not use BP_SYM.
39216 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39217 weak_alias.
39218 (bzero): Likewise.
39219 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39220 "bp-asm.h".
39221 (PARMS): Do not use macros from bp-asm.h.
39222 (S): Likewise.
39223 (SIZE): Likewise.
39224 (__mpn_lshift): Do not use BP_SYM.
39225 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39226 "bp-asm.h".
39227 (PARMS): Do not use macros from bp-asm.h.
39228 (DEST): Likewise.
39229 (SRC): Likewise.
39230 (LEN): Likewise.
39231 (memcpy): Likewise. Do not use BP_SYM.
39232 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39233 libc_hidden_def and weak_alias.
39234 (mempcpy): Do not use BP_SYM in weak_alias.
39235 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39236 "bp-asm.h".
39237 (PARMS): Do not use macros from bp-asm.h.
39238 (DEST): Likewise.
39239 (LEN): Likewise.
39240 [!BZERO_P] (CHR): Likewise.
39241 (memset): Likewise. Do not use BP_SYM.
39242 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39243 "bp-asm.h".
39244 (PARMS): Do not use macros from bp-asm.h.
39245 (S1): Likewise.
39246 (SIZE): Likewise.
39247 (__mpn_mul_1): Do not use BP_SYM.
39248 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39249 "bp-asm.h".
39250 (PARMS): Do not use macros from bp-asm.h.
39251 (S): Likewise.
39252 (SIZE): Likewise.
39253 (__mpn_rshift): Do not use BP_SYM.
39254 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39255 "bp-asm.h".
39256 (PARMS): Do not use macros from bp-asm.h.
39257 (STR): Likewise.
39258 (CHR): Likewise.
39259 (strchr): Likewise. Do not use BP_SYM.
39260 (index): Do not use BP_SYM in weak_alias.
39261 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39262 "bp-asm.h".
39263 (PARMS): Do not use macros from bp-asm.h.
39264 (DEST): Likewise.
39265 (SRC): Likewise.
39266 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39267 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39268 "bp-asm.h".
39269 (PARMS): Do not use macros from bp-asm.h.
39270 (strlen): Do not use BP_SYM.
39271 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39272 "bp-asm.h".
39273 (PARMS): Do not use macros from bp-asm.h.
39274 (S1): Likewise.
39275 (S2): Likewise.
39276 (SIZE): Likewise.
39277 (__mpn_sub_n): Do not use BP_SYM.
39278 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39279 "bp-asm.h".
39280 (PARMS): Do not use macros from bp-asm.h.
39281 (S1): Likewise.
39282 (SIZE): Likewise.
39283 (__mpn_submul_1): Do not use BP_SYM.
39284 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39285 "bp-asm.h".
39286 (PARMS): Do not use macros from bp-asm.h.
39287 (S1): Likewise.
39288 (S2): Likewise.
39289 (SIZE): Likewise.
39290 (__mpn_add_n): Do not use BP_SYM.
39291 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39292 weak_alias.
39293 (bzero): Likewise.
39294 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39295 "bp-asm.h".
39296 (PARMS): Do not use macros from bp-asm.h.
39297 (BLK2): Likewise.
39298 (LEN): Likewise.
39299 (memcmp): Do not use BP_SYM.
39300 (bcmp): Do not use BP_SYM in weak_alias.
39301 * sysdeps/i386/i686/memcpy.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 (SRC): Likewise.
39306 (LEN): Likewise.
39307 (memcpy): Likewise. Do not use BP_SYM.
39308 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39309 "bp-asm.h".
39310 (PARMS): Do not use macros from bp-asm.h.
39311 (DEST): Likewise.
39312 (SRC): Likewise.
39313 (LEN): Likewise.
39314 (memmove): Likewise. Do not use BP_SYM.
39315 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39316 "bp-asm.h".
39317 (PARMS): Do not use macros from bp-asm.h.
39318 (DEST): Likewise.
39319 (SRC): Likewise.
39320 (LEN): Likewise.
39321 (__mempcpy): Likewise. Do not use BP_SYM.
39322 (mempcpy): Do not use BP_SYM in weak_alias.
39323 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39324 "bp-asm.h".
39325 (PARMS): Do not use macros from bp-asm.h.
39326 (DEST): Likewise.
39327 (LEN): Likewise.
39328 [!BZERO_P] (CHR): Likewise.
39329 (memset): Likewise. Do not use BP_SYM.
39330 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39331 "bp-asm.h".
39332 (PARMS): Do not use macros from bp-asm.h.
39333 (STR2): Likewise.
39334 (strcmp): Do not use BP_SYM.
39335 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39336 "bp-asm.h".
39337 (PARMS): Do not use macros from bp-asm.h.
39338 (STR): Likewise.
39339 (DELIM): Likewise.
39340 [USE_AS_STRTOK_R] (SAVE): Likewise.
39341 (FUNCTION): Likewise. Do not use BP_SYM.
39342 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39343 aliases.
39344 (strtok_r): Likewise.
39345 (__GI___strtok_r): Likewise.
39346 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39347 (PARMS): Do not use macros from bp-asm.h.
39348 (S): Likewise.
39349 (SIZE): Likewise.
39350 (__mpn_lshift): Do not use BP_SYM.
39351 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39352 (PARMS): Do not use macros from bp-asm.h.
39353 (STR): Likewise.
39354 (CHR): Likewise.
39355 (__memchr): Do not use BP_SYM.
39356 (memchr): Do not use BP_SYM in weak_alias.
39357 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39358 (PARMS): Do not use macros from bp-asm.h.
39359 (BLK2): Likewise.
39360 (LEN): Likewise.
39361 (memcmp): Do not use BP_SYM.
39362 (bcmp): Do not use BP_SYM in weak_alias.
39363 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39364 (PARMS): Do not use macros from bp-asm.h.
39365 (S1): Likewise.
39366 (SIZE): Likewise.
39367 (__mpn_mul_1): Do not use BP_SYM.
39368 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39369 "bp-asm.h".
39370 (PARMS): Do not use macros from bp-asm.h.
39371 (STR): Likewise.
39372 (CHR): Likewise.
39373 (__rawmemchr): Do not use BP_SYM.
39374 (rawmemchr): Do not use BP_SYM in weak_alias.
39375 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39376 (PARMS): Do not use macros from bp-asm.h.
39377 (S): Likewise.
39378 (SIZE): Likewise.
39379 (__mpn_rshift): Do not use BP_SYM.
39380 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39381 (PARMS): Do not use macros from bp-asm.h.
39382 (SIGMSK): Likewise.
39383 (__sigsetjmp): Likewise. Do not use BP_SYM.
39384 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39385 (_start): Do not use BP_SYM.
39386 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39387 (PARMS): Do not use macros from bp-asm.h.
39388 (DEST): Likewise.
39389 (SRC): Likewise.
39390 (__stpcpy): Likewise. Do not use BP_SYM.
39391 (stpcpy): Do not use BP_SYM in weak_alias.
39392 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39393 "bp-asm.h".
39394 (PARMS): Do not use macros from bp-asm.h.
39395 (DEST): Likewise.
39396 (SRC): Likewise.
39397 (LEN): Likewise.
39398 (__stpncpy): Likewise. Do not use BP_SYM.
39399 (stpncpy): Do not use BP_SYM in weak_alias.
39400 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39401 (PARMS): Do not use macros from bp-asm.h.
39402 (STR): Likewise.
39403 (CHR): Likewise.
39404 (strchr): Likewise. Do not use BP_SYM.
39405 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39406 "bp-asm.h".
39407 (PARMS): Do not use macros from bp-asm.h.
39408 (STR): Likewise.
39409 (CHR): Likewise.
39410 (__strchrnul): Likewise. Do not use BP_SYM.
39411 (strchrnul): Do not use BP_SYM in weak_alias.
39412 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39413 "bp-asm.h".
39414 (PARMS): Do not use macros from bp-asm.h.
39415 (STOP): Likewise.
39416 (strcspn): Do not use BP_SYM.
39417 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39418 "bp-asm.h".
39419 (PARMS): Do not use macros from bp-asm.h.
39420 (STR): Likewise.
39421 (STOP): Likewise.
39422 (strpbrk): Likewise. Do not use BP_SYM.
39423 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39424 "bp-asm.h".
39425 (PARMS): Do not use macros from bp-asm.h.
39426 (STR): Likewise.
39427 (CHR): Likewise.
39428 (strrchr): Likewise. Do not use BP_SYM.
39429 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39430 (PARMS): Do not use macros from bp-asm.h.
39431 (SKIP): Likewise.
39432 (strspn): Do not use BP_SYM.
39433 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39434 (PARMS): Do not use macros from bp-asm.h.
39435 (STR): Likewise.
39436 (DELIM): Likewise.
39437 (SAVE): Likewise.
39438 (FUNCTION): Likewise. Do not use BP_SYM.
39439 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39440 aliases.
39441 (strtok_r): Likewise.
39442 (__GI___strtok_r): Likewise.
39443 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39444 (PARMS): Do not use macros from bp-asm.h.
39445 (S1): Likewise.
39446 (S2): Likewise.
39447 (SIZE): Likewise.
39448 (__mpn_sub_n): Do not use BP_SYM.
39449 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39450 "bp-asm.h".
39451 (PARMS): Do not use macros from bp-asm.h.
39452 (S1): Likewise.
39453 (SIZE): Likewise.
39454 (__mpn_submul_1): Do not use BP_SYM.
39455 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39456 <bp-sym.h>.
39457 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39458 and <bp-asm.h>.
39459 (PARMS): Do not use macros from bp-asm.h.
39460 (FLAGS): Likewise.
39461 (PTID): Likewise.
39462 (TLS): Likewise.
39463 (CTID): Likewise.
39464 (__clone): Do not use BP_SYM.
39465 (clone): Do not use BP_SYM in weak_alias.
39466 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39467 and <bp-asm.h>.
39468 (PARMS): Do not use macros from bp-asm.h.
39469 (LEN): Likewise.
39470 (__mmap64): Do not use BP_SYM.
39471 (mmap64): Do not use BP_SYM in weak_alias.
39472 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39473 <bp-sym.h> and <bp-asm.h>.
39474 (PARMS): Do not use macros from bp-asm.h.
39475 (__posix_fadvise64_l64): Do not use BP_SYM.
39476 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39477 (PARMS): Do not use macros from bp-asm.h.
39478 (NSOPS): Likewise.
39479 (semtimedop): Do not use BP_SYM.
39480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39481 and <bp-asm.h>.
39482
39483 2013-02-21 Allan McRae <allan@archlinux.org>
39484
39485 * manual/message.texi (Charset conversion in gettext):
39486 Move @end statement to beginning of line.
39487
39488 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39489
39490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39491 static.
39492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39493 Likewise.
39494
39495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39496 (denorm): Likewise.
39497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39499
39500 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39501
39502 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39503 tail-call to the resolved function if pltexit isn't needed.
39504
39505 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39506
39507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39508 or Y being zero as being unlikely.
39509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39510 Likewise.
39511
39512 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39513
39514 * manual/nss.texi (System Databases and Name Service Switch):
39515 Remove frobnicate @pxref.
39516
39517 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39518
39519 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39520 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39521
39522 2013-02-20 Petr Machata <pmachata@redhat.com>
39523
39524 * elf/elf.h (R_ARM_TARGET1): New macro.
39525 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39526 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39527 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39528 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39529 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39530 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39531 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39532 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39533 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39534 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39535 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39536 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39537 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39538 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39539 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39540 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39541 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39542 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39543 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39544 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39545 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39546 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39547 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39548 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39549 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39550 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39551 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39552 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39553 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39554 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39555 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39556 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39557 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39558 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39559 (R_ARM_THM_GOT_BREL12): Likewise.
39560 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39561 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39562 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39563 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39564 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39565 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39566 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39567 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39568 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39569
39570 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39571
39572 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39573 __attribute_used__ to __attribute__ ((unused)).
39574
39575 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39576
39577 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39578 powerpc mpa.c.
39579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39580 comment formatting.
39581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39582
39583 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39584
39585 [BZ #13550]
39586 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39587 Remove macro.
39588 (ENTER): Remove both macro definitions.
39589 (LEAVE): Likewise.
39590 (CHECK_BOUNDS_LOW): Likewise.
39591 (CHECK_BOUNDS_HIGH): Likewise.
39592 (CHECK_BOUNDS_BOTH): Likewise.
39593 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39594 (RETURN_BOUNDED_POINTER): Likewise.
39595 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39596 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39597 (POP_ERRNO_LOCATION_RETURN): Likewise.
39598 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39599 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39600 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39601 macros.
39602 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39603 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39604 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39605 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39606 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39607 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39608 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39609 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39610 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39611 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39612 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39613 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39614 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39615 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39616 removed macros.
39617 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39618 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39619 macros.
39620 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39621 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39622 * sysdeps/i386/i586/memset.S (memset): Likewise.
39623 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39624 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39625 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39626 macros.
39627 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39628 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39629 Change uses of L(2) to L(out).
39630 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39631 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39632 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39633 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39634 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39635 removed macros.
39636 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39637 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39638 macros.
39639 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39640 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39641 (RETURN): Do not use macro LEAVE.
39642 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39643 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39644 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39645 * sysdeps/i386/i686/memset.S (memset): Likewise.
39646 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39647 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39648 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39649 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39650 Likewise.
39651 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39652 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39653 L(1_2) and L(1_3) into L(1).
39654 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39655 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39656 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39657 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39658 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39659 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39660 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39661 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39662 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39663 macros.
39664 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39665 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39666 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39667 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39668 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39669 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39670 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39671 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39672 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39673 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39674 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39675 * sysdeps/i386/strspn.S (strspn): Likewise.
39676 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39677 conditional code.
39678 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39679 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39680 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39681 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39682 L(1_3) into L(1_1).
39683 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39684 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39685 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39686 macros.
39687 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39688
39689 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39690
39691 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39692 macro.
39693
39694 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39695
39696 * math/atest-exp.c (exp_mpn): Remove ROUND.
39697 * math/atest-exp2.c (exp_mpn): Likewise.
39698 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39699
39700 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39701 * stdlib/tst-tls-atexit-lib.c: Likewise.
39702 * stdlib/tst-tls-atexit.c: Likewise.
39703
39704 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39705
39706 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39707 and __attribute_alloc_size__.
39708
39709 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39710
39711 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39712 __attribute_alloc_size__.
39713 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39714 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39715
39716 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39717
39718 * include/programs/xmalloc.h: New file.
39719 * catgets/gencat.c: Include it.
39720 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39721 * elf/pldd.c: Likewise.
39722 * iconv/iconv_charmap.c: Likewise.
39723 * iconv/iconvconfig.c: Likewise.
39724 * iconv/strtab.c: Likewise.
39725 * locale/programs/locale.c: Likewise.
39726 * locale/programs/localedef.h: Likewise.
39727 * locale/programs/simple-hash.c: Likewise.
39728 * nscd/nscd.h: Likewise.
39729 * nss/makedb.c: Likewise.
39730 * sysdeps/generic/ldconfig.h: Likewise.
39731
39732 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39733
39734 * Versions.def: Add GLIBC_2.18.
39735 * include/link.h (struct link_map): New member l_tls_dtor_count.
39736 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39737 (__call_tls_dtors): Likewise.
39738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39739 __cxa_thread_atexit_impl.
39740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39741 Likewise.
39742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39743 Likewise.
39744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39745 Likewise.
39746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39747 Likewise.
39748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39750 Likewise.
39751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39752 Likewise.
39753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39755 Likewise.
39756 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39757 (tests): Add test case tst-tls-atexit.
39758 (modules-names): Add shared library for tst-tls-atexit.
39759 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39760 (GLIBC_PRIVATE): Add __call_tls_dtors.
39761 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39762 for libstdc++.
39763 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39764 * stdlib/tst-tls-atexit.c: New test case.
39765 * stdlib/tst-tls-atexit-lib.c: New test case.
39766
39767 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39768
39769 * elf/Versions (ld): Add _dl_find_dso_for_object.
39770 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39771 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39772 (dl_open_worker): Use _dl_find_dso_for_object.
39773 * elf/dl-sym.c (do_sym): Likewise.
39774 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39775
39776 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39777
39778 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39779 Syntactic changes only.
39780 (_dl_runtime_profile): Do a tail-call to the resolved function.
39781
39782 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39783
39784 [BZ #13550]
39785 * sysdeps/x86_64/bp-asm.h: Remove file.
39786 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39787 <bp-sym.h> and <bp-asm.h>.
39788 (__clone): Do not use BP_SYM.
39789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39790 <bp-sym.h> and <bp-asm.h>.
39791 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39792 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39793 "bp-asm.h".
39794 (_setjmp): Do not use BP_SYM.
39795 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39796 "bp-asm.h".
39797 (setjmp): Do not use BP_SYM.
39798 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39799 libc_hidden_def.
39800 (mempcpy): Do not use BP_SYM in weak_alias.
39801 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39802 "bp-asm.h".
39803 (strchr): Do not use BP_SYM.
39804 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39805 "bp-asm.h".
39806 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39807 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39808 (_start): Do not use BP_SYM.
39809 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39810 "bp-asm.h".
39811 (strcat): Do not use BP_SYM.
39812 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39813 "bp-asm.h".
39814 (STRCMP): Do not use BP_SYM.
39815 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39816 "bp-asm.h".
39817 (STRCPY): Do not use BP_SYM.
39818 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39819 "bp-asm.h".
39820 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39821 "bp-asm.h".
39822 (FUNCTION): Do not use BP_SYM.
39823 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39824 weak_alias.
39825 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39826
39827 2013-02-17 Andreas Jaeger <aj@suse.de>
39828
39829 * time/Versions: Sort entries.
39830 * string/Versions: Likewise.
39831 * resolv/Versions: Likewise.
39832 * posix/Versions: Likewise.
39833 * iconv/Versions: Likewise.
39834 * elf/Versions: Likewise.
39835 * wcsmbs/Versions: Likewise.
39836
39837 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39838
39839 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39840 loop termination condition.
39841
39842 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39843 variable to calculate EZ.
39844 (__sqr): Likewise.
39845
39846 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39847 the lower precision input.
39848
39849 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39850
39851 [BZ #13550]
39852 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39853 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39854 (run-via-rtld-prefix): Do not handle %-bp tests.
39855 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39856 (all-object-suffixes): Remove .ob.
39857 (bppfx): Remove variable.
39858 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39859 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39860 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39861 [$(build-bounded) = yes] (libtype.ob): Likewise.
39862 * Makerules (elide-routines.ob): Remove variable.
39863 (do-tests-clean): Do not handle *-bp.out.
39864 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39865 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39866 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39867 (tests): Do not include $(tests-bp.out).
39868 (xtests): Do not include $(xtests-bp.out).
39869 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39870 [$(build-bounded) = yes] ($(addprefix
39871 $(objpfx),$(binaries-bounded))): Remove rule.
39872 ($(objpfx)%-bp.out): Remove rule.
39873 * config.make.in (build-bounded): Remove variable.
39874 * crypt/Makefile [$(build-bounded) = yes]
39875 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39876 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39877 append to variable.
39878 [$(build-bounded) = yes] (install-lib): Likewise.
39879 [$(build-bounded) = yes] (generated): Likewise.
39880 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39881 Remove rule.
39882 * intl/Makefile [$(build-bounded) = yes]
39883 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39884 * math/Makefile [$(build-bounded) = yes]
39885 ($(tests:%=$(objpfx)%-bp): Likewise.
39886 * misc/Makefile [$(build-bounded) = yes]
39887 ($(objpfx)tst-tsearch-bp): Likewise.
39888 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39889 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39890 Remove dependency.
39891 * string/Makefile (o-objects.ob): Remove variable.
39892 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39893 (CFLAGS-.ob): Remove variable.
39894 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39895 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39896 both definitions of variable.
39897 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39898 (ASFLAGS-.ob): Remove variable.
39899
39900 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39901
39902 [BZ #13550]
39903 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39904 Remove __BOUNDED_POINTERS__ from condition.
39905 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39906 * string/bits/string2.h [!__NO_STRING_INLINES &&
39907 !__BOUNDED_POINTERS__]: Likewise.
39908 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39909 Likewise.
39910 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39911 Remove conditional code.
39912 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39913 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39914 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39915 condition.
39916
39917 [BZ #13550]
39918 * csu/libc-start.c: Do not include <bp-sym.h>.
39919 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39920 * elf/dl-open.c: Do not include <bp-sym.h>.
39921 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39922 * math/fegetenv.c: Do not include <bp-sym.h>.
39923 (fegetenv): Do not use BP_SYM in versioned symbols.
39924 * nptl/sysdeps/pthread/bits/libc-lockP.h
39925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39926 <bp-sym.h>.
39927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39928 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39930 (__pthread_mutex_destroy): Likewise.
39931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39932 (__pthread_mutex_lock): Likewise.
39933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39934 (__pthread_mutex_trylock): Likewise.
39935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39936 (__pthread_mutex_unlock): Likewise.
39937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39938 (__pthread_mutexattr_init): Likewise.
39939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39940 (__pthread_mutexattr_destroy): Likewise.
39941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39942 (__pthread_mutexattr_settype): Likewise.
39943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39944 (__pthread_rwlock_init): Likewise.
39945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39946 (__pthread_rwlock_destroy): Likewise.
39947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39948 (__pthread_rwlock_rdlock): Likewise.
39949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39950 (__pthread_rwlock_tryrdlock): Likewise.
39951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39952 (__pthread_rwlock_wrlock): Likewise.
39953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39954 (__pthread_rwlock_trywrlock): Likewise.
39955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39956 (__pthread_rwlock_unlock): Likewise.
39957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39958 (__pthread_key_create): Likewise.
39959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39960 (__pthread_setspecific): Likewise.
39961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39962 (__pthread_getspecific): Likewise.
39963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39964 Likewise.
39965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39966 (_pthread_cleanup_push_defer): Likewise.
39967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39968 (_pthread_cleanup_pop_restore): Likewise.
39969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39970 (pthread_setcancelstate): Likewise.
39971 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39972 <bp-sym.h>.
39973 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39974 (memchr): Do not use BP_SYM in weak_alias.
39975 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39976 (fegetenv): Do not use BP_SYM in versioned symbols.
39977 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39978 (fesetenv): Do not use BP_SYM in versioned symbols.
39979 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39980 (feupdateenv): Do not use BP_SYM in versioned symbols.
39981 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39982 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39983 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39984 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39985 (open64): Do not use BP_SYM in weak_alias.
39986 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39987 (fegetenv): Do not use BP_SYM in versioned symbols.
39988 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39989 (fesetenv): Do not use BP_SYM in versioned symbols.
39990 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39991 (feupdateenv): Do not use BP_SYM in versioned symbols.
39992 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39993 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39994 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39995 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39996 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39997 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39999 <bp-sym.h>.
40000 (__libc_start_main): Do not use BP_SYM.
40001
40002 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40003
40004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40005 redundant return line.
40006 (norm): Likewise.
40007 (denorm): Likewise.
40008 (dbl_mp): Likewise.
40009 (sub_magnitudes): Likewise.
40010 (__add): Likewise.
40011 (__sub): Likewise.
40012 (__mul): Likewise.
40013 (__inv): Likewise.
40014 (__dvd): Likewise.
40015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40016 (norm): Likewise.
40017 (denorm): Likewise.
40018 (dbl_mp): Likewise.
40019 (sub_magnitudes): Likewise.
40020 (__add): Likewise.
40021 (__sub): Likewise.
40022 (__mul): Likewise.
40023 (__inv): Likewise.
40024 (__dvd): Likewise.
40025
40026 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40027 instead of __mul.
40028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40029 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40030 (cc32): Likewise.
40031
40032 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40033 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40035 of __mul for squares.
40036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40037 function
40038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40039 Likewise.
40040 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40042
40043 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40044
40045 [BZ #13550]
40046 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40047 code.
40048 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40049 prototype or function definition. Rename ubp_* variables and
40050 parameters. Remove argv definitions conditional on
40051 [__BOUNDED_POINTERS__].
40052 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40053 * elf/dl-runtime.c (_dl_fixup): Likewise.
40054 * include/set-hooks.h (RUN_HOOK): Likewise.
40055 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40056 definition.
40057 * string/strcpy.c (strcpy): Do not use __unbounded.
40058 * sysdeps/generic/frame.h (struct layout): Likewise.
40059 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40060 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40061 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40062 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40063 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40064 (__backtrace): Likewise.
40065 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40066 use __ptrvalue.
40067 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40068 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40069 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40070 Likewise.
40071 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40072 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40073 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40074 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40075 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40076 Do not use __unbounded.
40077 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40078 Rename __unboundedrlimits parameter to rlimits in prototype.
40079 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40080 Do not use __unbounded.
40081 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40082 not use __ptrvalue.
40083 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40084 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40085 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40086 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40087 __ptrvalue or __unbounded.
40088 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40089 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40090 use __unbounded.
40091 (__new_msgctl): Do not use __ptrvalue.
40092 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40093 __unbounded.
40094 (__libc_msgrcv): Do not use __ptrvalue.
40095 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40096 startup_info): Do not use __unbounded.
40097 (__libc_start_main): Likewise. Rename ubp_* variables and
40098 parameters. Remove argv definitions conditional on
40099 [__BOUNDED_POINTERS__].
40100 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40101 __ptrvalue.
40102 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40103 use __unbounded.
40104 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40105 or __ptrvalue.
40106 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40107 use __unbounded.
40108 (__new_shmctl): Do not use __ptrvalue.
40109 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40110 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40111 Likewise.
40112 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40113 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40114 (__libc_sigaction): Likewise.
40115 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40116 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40117 Likewise.
40118 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40119
40120 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40121
40122 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40123
40124 * string/mempcpy.c: Implement by calling memcpy.
40125
40126 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40127
40128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40129
40130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40131 evaluation.
40132
40133 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40134 values in the mantissa.
40135
40136 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40137 minimize writes to Z.
40138 (sub_magnitudes): Simplify code a bit.
40139
40140 2013-02-12 Roland McGrath <roland@hack.frob.com>
40141
40142 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40143 from the message. The linker prefixes all warnings with that already.
40144
40145 2013-02-12 Andreas Schwab <schwab@suse.de>
40146
40147 [BZ #15078]
40148 * posix/regexec.c (extend_buffers): Add parameter min_len.
40149 (check_matching): Pass minimum needed length.
40150 (clean_state_log_if_needed): Likewise.
40151 (get_subexp): Likewise.
40152 * posix/Makefile (tests): Add bug-regex34.
40153 (bug-regex34-ENV): Define.
40154 * posix/bug-regex34.c: New file.
40155
40156 [BZ #11561]
40157 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40158 elements compare against the byte sequence of it, not its name.
40159 * posix/Makefile (tests): Add bug-regex35.
40160 (bug-regex35-ENV): Define.
40161 * posix/bug-regex35.c: New file.
40162
40163 2013-02-11 Tom de Vries <tom@codesourcery.com>
40164
40165 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40166 comment.
40167 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40168 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40169 (CHECK_EOL): Add undef.
40170
40171 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40172
40173 * bits/stdlib-bsearch.h: New file.
40174 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40175 * stdlib/stdlib.h: Likewise.
40176
40177 2013-02-11 Roland McGrath <roland@hack.frob.com>
40178
40179 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40180 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40181 declaration.
40182 * manual/search.texi (Array Search Function): Add missing const in
40183 lfind prototype.
40184 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40185 declaration to use rlim_t.
40186 (Basic Scheduling Functions): Remove erroneous const from
40187 sched_getparam prototype. Remove erroneous * from
40188 sched_get_priority_max and sched_get_priority_min prototypes.
40189 (Resource Usage): Fix summary @comment on vtimes to refer to
40190 sys/vtimes.h rather than vtimes.h.
40191 Add missing *s in vtimes prototype.
40192 (Limits on Resources): Fix ulimit prototype to return long int.
40193 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40194 prototypes to use long int rather than double.
40195 (BSD Random): Fix initstate and setstate to use char *, not void *.
40196 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40197 prototype to make second argument 'struct aiocb64 *const[]'.
40198 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40199 (Status of AIO Operations): Remove erroneous const in aio_return and
40200 aio_return64 prototypes.
40201 (Synchronizing I/O): Fix sync prototype to return void.
40202 * manual/startup.texi (Suboptions): Remove an erroneous const in
40203 getsubopt prototype.
40204 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40205 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40206 use size_t rather than int.
40207 (Scanning All Users): Likewise for getpwent_r.
40208 (Setting Groups): Add missing const to setgroups prototype.
40209 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40210 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40211 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40212 'const void *' rather than 'const char *'.
40213 (Host Address Functions): Likewise for inet_ntop.
40214 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40215 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40216 ssize_t for return value.
40217 (Sending Data): Likewise for send, sendto, sendmsg.
40218 (Socket Option Functions): Add a missing const in setsockopt prototype.
40219 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40220 use wchar_t for the argument.
40221 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40222 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40223 take no arguments.
40224 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40225 double/float/long double for second argument.
40226 Fix return types of significand, significandf, significandl.
40227 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40228 argument in fchmod prototype.
40229 (File Owner): Use uid_t and gid_t in fchown prototype.
40230 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40231 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40232 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40233 use 'const struct dirent **' as argument types to CMP function pointer
40234 argument.
40235 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40236 (File Times): Fix summary magic @comment for struct utimbuf and utime
40237 to refer to utime.h, not time.h.
40238 * manual/string.texi (Argz Functions): Add missing const in
40239 argz_extract and argz_next prototypes.
40240 (Finding Tokens in a String): Likewise for basename.
40241 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40242 (Copying and Concatenation): Fix typo in wmemmove prototype.
40243 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40244 (Signal Stack): Remove erroneous const in sigstack prototype.
40245 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40246 prototype.
40247 (Simple Calendar Time): Likewise for stime.
40248 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40249 prototype.
40250 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40251 say sys/sysctl.h instead.
40252 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40253 and vsyslog prototypes.
40254
40255 2013-02-11 Tom de Vries <tom@codesourcery.com>
40256
40257 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40258 Remove.
40259
40260 2013-02-11 Roland McGrath <roland@hack.frob.com>
40261
40262 * misc/sys/mman.h: Fix typo in mremap comment.
40263
40264 2013-02-08 Roland McGrath <roland@hack.frob.com>
40265
40266 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40267 the '\0' terminator.
40268
40269 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40270
40271 [BZ #13550]
40272 * debug/segfault.c: Don't include <bp-checks.h>.
40273 * sysdeps/generic/bp-checks.h: Remove file.
40274 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40275 (__GETDENTS): Don't use CHECK_N.
40276 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40277 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40278 (__getgroups): Don't use CHECK_N.
40279 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40280 (setgroups): Don't use CHECK_N.
40281 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40282 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40283 (__libc_msgrcv): Don't use CHECK_N.
40284 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40285 (__libc_msgsnd): Don't use CHECK_N.
40286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40287 <bp-checks.h>.
40288 (__libc_pread): Don't use CHECK_N.
40289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40290 include <bp-checks.h>.
40291 (__libc_pread64): Don't use CHECK_N.
40292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40293 include <bp-checks.h>.
40294 (__libc_pwrite): Don't use CHECK_N.
40295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40296 include <bp-checks.h>.
40297 (__libc_pwrite64): Don't use CHECK_N.
40298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40299 <bp-checks.h>.
40300 (__libc_pread): Don't use CHECK_N.
40301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40302 include <bp-checks.h>.
40303 (__libc_pread64): Don't use CHECK_N.
40304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40305 include <bp-checks.h>.
40306 (__libc_pwrite): Don't use CHECK_N.
40307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40308 include <bp-checks.h>.
40309 (__libc_pwrite64): Don't use CHECK_N.
40310 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40311 (do_pread): Don't use CHECK_N.
40312 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40313 (do_pread64): Don't use CHECK_N.
40314 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40315 (do_pwrite): Don't use CHECK_N.
40316 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40317 (do_pwrite64): Don't use CHECK_N.
40318 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40319 (__libc_readv): Don't use CHECK_N.
40320 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40321 (semop): Don't use CHECK_N.
40322 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40323 <bp-checks.h>.
40324 (semtimedop): Don't use CHECK_N.
40325 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40326 (__libc_pread): Don't use CHECK_N.
40327 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40328 <bp-checks.h>.
40329 (__libc_pread64): Don't use CHECK_N.
40330 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40331 <bp-checks.h>.
40332 (__libc_pwrite): Don't use CHECK_N.
40333 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40334 <bp-checks.h>.
40335 (__libc_pwrite64): Don't use CHECK_N.
40336 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40337 <bp-checks.h>.
40338 (__libc_msgrcv): Don't use CHECK_N.
40339 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40340 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40341 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40342 (__libc_writev): Don't use CHECK_N.
40343
40344 2013-02-08 Roland McGrath <roland@hack.frob.com>
40345
40346 * string/strcpy.c: Removed unused variable.
40347
40348 * Makeconfig (+sysdep-includes): Define with := rather than =.
40349 Use an existing include/ subdir of each sysdeps dir before it.
40350
40351 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40352
40353 * nscd/connection.c (register_traced_file): Comment function.
40354 [HAVE_INOTIFY] (union __inev): Define.
40355 [HAVE_INOTIFY] (inotify_check_files): New function.
40356 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40357 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40358 clear_db_cache.
40359 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40360
40361 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40362
40363 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40364 loaded if not already and that a failure is permanent.
40365
40366 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40367
40368 [BZ #15006]
40369 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40370 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40371
40372 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40373
40374 [BZ #13550]
40375 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40376 (CHECK_1_NULL_OK): Likewise.
40377 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40378 (__fxstat): Do not use CHECK_1.
40379 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40380 <bp-checks.h>.
40381 (___fxstat64): Do not use CHECK_1.
40382 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40383 <bp-checks.h>.
40384 (__fxstatat): Do not use CHECK_1.
40385 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40386 <bp-checks.h>.
40387 (__fxstatat64): Do not use CHECK_1.
40388 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40389 <bp-checks.h>.
40390 (__fxstat): Do not use CHECK_1.
40391 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40392 <bp-checks.h>.
40393 (__fxstatat): Do not use CHECK_1.
40394 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40395 <bp-checks.h>.
40396 (__getresgid): Do not use CHECK_1.
40397 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40398 <bp-checks.h>.
40399 (__getresuid): Do not use CHECK_1.
40400 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40401 <bp-checks.h>.
40402 (__lxstat): Do not use CHECK_1.
40403 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40404 <bp-checks.h>.
40405 (__old_msgctl): Do not use CHECK_1.
40406 (__new_msgctl): Likewise.
40407 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40408 <bp-checks.h>.
40409 (__new_setrlimit): Do not use CHECK_1.
40410 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40411 <bp-checks.h>.
40412 (__old_shmctl): Do not use CHECK_1.
40413 (__new_shmctl): Likewise.
40414 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40415 <bp-checks.h>.
40416 (__xstat): Do not use CHECK_1.
40417 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40418 (__lxstat): Do not use CHECK_1.
40419 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40420 <bp-checks.h>.
40421 (___lxstat64): Do not use CHECK_1.
40422 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40423 (__old_msgctl): Do not use CHECK_1.
40424 (__new_msgctl): Likewise.
40425 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40426 <bp-checks.h>.
40427 (__gettimeofday): Do not use CHECK_1.
40428 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40429 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40430 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40431 <bp-checks.h>.
40432 (__gettimeofday): Do not use CHECK_1.
40433 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40434 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40435 (__new_shmctl): Do not use CHECK_1.
40436 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40437 <bp-checks.h>.
40438 (do_sigtimedwait): Do not use CHECK_1.
40439 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40440 <bp-checks.h>.
40441 (do_sigwaitinfo): Do not use CHECK_1.
40442 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40443 <bp-checks.h>.
40444 (msgctl): Do not use CHECK_1.
40445 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40446 <bp-checks.h>.
40447 (shmctl): Do not use CHECK_1.
40448 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40449 (ustat): Do not use CHECK_1.
40450 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40451 <bp-checks.h>.
40452 (__fxstat): Do not use CHECK_1.
40453 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40454 <bp-checks.h>.
40455 (__fxstatat): Do not use CHECK_1.
40456 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40457 <bp-checks.h>.
40458 (__lxstat): Do not use CHECK_1.
40459 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40460 <bp-checks.h>.
40461 (__xstat): Do not use CHECK_1.
40462 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40463 (__xstat): Do not use CHECK_1.
40464 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40465 (___xstat64): Do not use CHECK_1.
40466
40467 [BZ #13550]
40468 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40469 definitions.
40470 (CHECK_BOUNDS_HIGH): Likewise.
40471 * string/strcpy.c: Do not include <bp-checks.h>.
40472 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40473
40474 2013-02-07 Roland McGrath <roland@hack.frob.com>
40475
40476 * nscd/nscd-client.h (__nscd_drop_map_ref):
40477 Add __attribute__ ((unused)).
40478 * nis/nss-nisplus.h (niserr2nss): Likewise.
40479
40480 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40481 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40482
40483 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40484 Remove inline keyword.
40485 * include/rounding-mode.h (round_away): Likewise.
40486 * libio/wfileops.c (adjust_wide_data): Likewise.
40487 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40488 (__m128i_strloadu_tolower): Likewise.
40489 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40490 (__m128i_strloadu_tolower): Likewise.
40491 * time/mktime.c (ydhms_diff): Likewise.
40492 * locale/elem-hash.h (elem_hash): Likewise.
40493 * locale/setlocale.c (setdata): Likewise.
40494 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40495 (re_string_wchar_at): Likewise.
40496 (bitset_not, bitset_merge, bitset_mask): Likewise.
40497 [!(__GNUC__ > 3)] (inline): Remove macro.
40498 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40499 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40500 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40501 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40502 * string/memcmp.c (memcmp_bytes): Likewise.
40503 * locale/programs/locarchive.c (compute_hashval): Likewise.
40504 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40505 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40506 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40507 * nss/getent.c (print_rpc, print_protocols): Likewise.
40508 (print_passwd, print_group, print_aliases): Likewise.
40509 * nis/nss-nisplus.h (niserr2nss): Likewise.
40510 * nscd/connections.c (restart_p): Likewise.
40511 Change return type to bool.
40512
40513 2013-02-05 Roland McGrath <roland@hack.frob.com>
40514
40515 * Makeconfig (all-Depend-files): Add existing
40516 $(sorted-subdirs:=/Depend) files.
40517 (all-subdirs): Remove nss.
40518 * sysdeps/unix/inet/Subdirs: Add it here instead.
40519 * hesiod/Depend: New file.
40520
40521 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40522 instead of calling alloca.
40523
40524 * io/lseek.c (__lseek): Rename to __libc_lseek.
40525 Define __lseek as an alias.
40526
40527 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40528
40529 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40530
40531 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40532 else clause and remove check for non-standard endianness.
40533
40534 2013-02-04 David S. Miller <davem@davemloft.net>
40535
40536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40537
40538 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40539
40540 [BZ #13550]
40541 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40542 (__ubp_memchr): Remove prototype.
40543 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40544 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40545 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40546 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40547 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40548 Remove alias.
40549 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40550 (__ubp_memchr): Likewise.
40551 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40552 (__ubp_memchr): Likewise.
40553 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40554 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40555 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40557 CHECK_STRING.
40558 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40559 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40560 (__getcwd): Do not use CHECK_STRING.
40561 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40562 <bp-checks.h>.
40563 (__real_chown): Do not use CHECK_STRING.
40564 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40565 <bp-checks.h>.
40566 (fchownat): Do not use CHECK_STRING.
40567 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40568 CHECK_STRING.
40569 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40570 <bp-checks.h>.
40571 (__lchown): Do not use CHECK_STRING.
40572 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40573 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40574 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40575 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40577 include <bp-checks.h>.
40578 (truncate64): Do not use CHECK_STRING.
40579 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40580 <bp-checks.h>.
40581 (__real_chown): Do not use CHECK_STRING.
40582 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40583 <bp-checks.h>.
40584 (__lchown): Do not use CHECK_STRING.
40585 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40586 <bp-checks.h>.
40587 (__chown): Do not use CHECK_STRING.
40588 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40589 <bp-checks.h>.
40590 (truncate64): Do not use CHECK_STRING.
40591 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40592 Likewise.
40593 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40594 (__xmknod): Do not use CHECK_STRING.
40595 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40596 <bp-checks.h>.
40597 (__xmknodat): Do not use CHECK_STRING.
40598 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40599 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40600
40601 2013-02-04 Andreas Schwab <schwab@suse.de>
40602
40603 [BZ #14142]
40604 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40605 * include/netdb.h: Likewise for h_errno.
40606 * elf/tst-stackguard1.c: Include <tls.h>.
40607
40608 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40609
40610 * elf/link.h (struct link_map): Extend the l_addr comment.
40611 * include/link.h (struct link_map): Likewise.
40612
40613 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40614
40615 [BZ #13550]
40616 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40617 (BOUNDED_1): Remove macro.
40618 * debug/backtrace.c: Don't include <bp-checks.h>.
40619 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40620 (__backtrace): Likewise.
40621 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40622 <bp-checks.h>.
40623 (__backtrace): Don't use BOUNDED_1.
40624 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40625 <bp-checks.h>.
40626 (__backtrace): Don't use BOUNDED_1.
40627 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40628 (__backtrace): Don't use BOUNDED_1.
40629 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40630 (shmat): Don't use BOUNDED_N.
40631
40632 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40633
40634 [BZ #13550]
40635 * sysdeps/generic/bp-start.h: Remove file.
40636 * csu/libc-start.c: Don't include <bp-start.h>.
40637 (LIBC_START_MAIN): Set up __environ directly instead of using
40638 INIT_ARGV_and_ENVIRON.
40639 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40640 <bp-start.h>.
40641
40642 [BZ #13550]
40643 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40644 definitions.
40645 (CHECK_FCNTL): Likewise.
40646 (CHECK_N_PAGES): Likewise.
40647
40648 [BZ #13550]
40649 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40650 definitions.
40651 (CHECK_SIGSET_NULL_OK): Likewise.
40652 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40653 <bp-checks.h>.
40654 (sigpending): Don't use CHECK_SIGSET.
40655 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40656 <bp-checks.h>.
40657 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40658 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40659 <bp-checks.h>.
40660 (do_sigsuspend): Don't use CHECK_SIGSET.
40661 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40662 use CHECK_SIGSET.
40663 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40664 (do_sigwait): Don't use CHECK_SIGSET.
40665 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40666 use CHECK_SIGSET.
40667 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40668 include <bp-checks.h>.
40669 (sigpending): Don't use CHECK_SIGSET.
40670 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40671 include <bp-checks.h>.
40672 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40673 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40674 <bp-checks.h>.
40675 (sigpending): Don't use CHECK_SIGSET.
40676 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40677 <bp-checks.h>.
40678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40679
40680 [BZ #13550]
40681 * sysdeps/generic/bp-semctl.h: Remove file.
40682 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40683 <bp-checks.h> and <bp-semctl.h>.
40684 (__old_semctl): Don't use CHECK_SEMCTL.
40685 (__new_semctl): Likewise.
40686 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40687 and <bp-semctl.h>.
40688 (__old_semctl): Don't use CHECK_SEMCTL.
40689 (__new_semctl): Likewise.
40690 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40691 <bp-checks.h> and <bp-semctl.h>.
40692 (__old_semctl): Don't use CHECK_SEMCTL.
40693 (__new_semctl): Likewise.
40694 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40695 <bp-checks.h> and <bp-semctl.h>.
40696 (semctl): Don't use CHECK_SEMCTL.
40697
40698 [BZ #13550]
40699 * Makerules (elide-bp-thunks): Remove variable.
40700 (elide-routines.oS): Don't use $(elide-bp-thunks).
40701 (elide-routines.os): Likewise.
40702 (elide-routines.o): Likewise.
40703 (elide-routines.op): Likewise.
40704 (elide-routines.og): Likewise.
40705 (objects): Don't use $(bp-thunks).
40706 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40707 include.
40708 (common-generated): Do not add s-proto-bp.d.
40709 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40710 (int): Likewise.
40711 (typ): Likewise.
40712 Do not generate makefile rules for bounded-pointer thunks.
40713 * sysdeps/generic/bp-thunks.h: Remove file.
40714 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40715 * sysdeps/unix/s-proto-bp.S: Likewise.
40716
40717 [BZ #15062]
40718 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40719 parts of result separately when argument is not close to line from
40720 -i to i and one part of argument is small.
40721 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40722 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40723 * math/libm-test.inc (cacos_test): Add more tests.
40724 (casin_test): Likewise.
40725 (casinh_test): Likewise.
40726 * sysdeps/i386/fpu/libm-test-ulps: Update.
40727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40728
40729 2013-01-31 David S. Miller <davem@davemloft.net>
40730
40731 * po/de.po: Update from translation team.
40732
40733 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40734
40735 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40736
40737 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40738
40739 * configure.in (_AC_PROG_CC_C89): New definition.
40740 * configure: Regenerate.
40741
40742 * configure.in (AC_PROG_CPP): New definition.
40743 * configure: Regenerate.
40744
40745 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40746
40747 * debug/tst-backtrace.h: New file.
40748 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40749 (ret): Remove variable.
40750 (x): Likewise.
40751 (FAIL): Remove macro.
40752 (NO_INLINE): Likewise.
40753 (fn1): Use match function instead of strstr.
40754 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40755 (ret): Remove variable.
40756 (x): Likewise.
40757 (FAIL): Remove macro.
40758 (NO_INLINE): Likewise.
40759 (fn): Use match function instead of strstr.
40760 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40761 (ret): Remove variable.
40762 (x): Likewise.
40763 (FAIL): Remove macro.
40764 (NO_INLINE): Likewise.
40765 (handle_signal): Use match function instead of strstr.
40766 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40767 (ret): Remove variable.
40768 (x): Likewise.
40769 (FAIL): Remove macro.
40770 (NO_INLINE): Likewise.
40771 (handle_signal): Use match function instead of strstr.
40772
40773 2013-01-23 Roland McGrath <roland@hack.frob.com>
40774
40775 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40776
40777 2013-01-23 David S. Miller <davem@davemloft.net>
40778
40779 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40780 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40781 argument of CAS if possible.
40782 * sysdeps/sparc/sparc64/bits/atomic.h
40783 (__arch_compare_and_exchange_val_32_acq): Likewise.
40784 (__arch_compare_and_exchange_val_64_acq): Likewise.
40785
40786 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40787
40788 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40789 * sysdeps/posix/ulimit.c: ... this.
40790 Include <limits.h>.
40791 * sysdeps/unix/bsd/ulimit.c: Remove file.
40792
40793 2013-01-23 Adam Conrad <adconrad@0c3.net>
40794
40795 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40796 (LDFLAGS-tst-array5): Likewise.
40797
40798 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40799
40800 [BZ #15036]
40801 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40802 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40803 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40804 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40805
40806 2013-01-21 David S. Miller <davem@davemloft.net>
40807
40808 * sysdeps/sparc/backtrace.c: New file.
40809 * sysdeps/sparc/sparc32/backtrace.h: New file.
40810 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40811 * sysdeps/sparc/sparc64/backtrace.h: New file.
40812 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40813 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40814 -funwind-tables.
40815
40816 2013-01-21 Andreas Schwab <schwab@suse.de>
40817
40818 [BZ #15020]
40819 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40820 closed its stdout.
40821
40822 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40823
40824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40825 "mpa2.h".
40826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40827
40828 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40829 Mark Mitchell <mark@codesourcery.com>
40830 Tom de Vries <tom@codesourcery.com>
40831 Paul Pluzhnikov <ppluzhnikov@google.com>
40832
40833 * debug/tst-backtrace2.c: New file.
40834 * debug/tst-backtrace3.c: Likewise.
40835 * debug/tst-backtrace4.c: Likewise.
40836 * debug/tst-backtrace5.c: Likewise.
40837 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40838 (CFLAGS-tst-backtrace3.c): Likewise.
40839 (CFLAGS-tst-backtrace4.c): Likewise.
40840 (CFLAGS-tst-backtrace5.c): Likewise.
40841 (LDFLAGS-tst-backtrace2): Likewise.
40842 (LDFLAGS-tst-backtrace3): Likewise.
40843 (LDFLAGS-tst-backtrace4): Likewise.
40844 (LDFLAGS-tst-backtrace5): Likewise.
40845 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40846 tst-backtrace4 and tst-backtrace5.
40847
40848 2013-01-18 Anton Blanchard <anton@samba.org>
40849 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40850
40851 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40852 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40853 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40854 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40856 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40857 "+r" and remove output regs list as redundant. Add explicit inline
40858 asm to specify register of return val to work around compiler codegen
40859 bug. Remove (int) cast on return value. Add return type parameter to
40860 use in macro so that this macro does not truncate return value for
40861 64-bit values.
40862 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40863 pass to INTERNAL_VSYSCALL_NCS.
40864 (INLINE_VSYSCALL): Add 'long int' as return type to
40865 INTERNAL_VSYSCALL_NCS macro invocation.
40866 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40867 INTERNAL_VSYSCALL_NCS macro invocation.
40868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40869
40870 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40871
40872 [BZ #14496]
40873 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40874 Fix application of SIMD FP exception mask.
40875
40876 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40877 mp_no from a power of two.
40878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40879 __mpexp_twomm1. Use __pow_mp.
40880
40881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40882 multiplication.
40883
40884 2013-01-17 David S. Miller <davem@davemloft.net>
40885
40886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40887
40888 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40889
40890 [BZ #15023]
40891 * include/complex.h: Condition contents on [!_COMPLEX_H].
40892 (__kernel_casinhf): New prototype.
40893 (__kernel_casinh): Likewise.
40894 (__kernel_casinhl): Likewise.
40895 * math/Makefile (libm_calls): Add k_casinh.
40896 * math/k_casinh.c: New file.
40897 * math/k_casinhf.c: Likewise.
40898 * math/k_casinhl.c: Likewise.
40899 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40900 finite nonzero arguments.
40901 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40902 finite nonzero arguments.
40903 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40904 finite nonzero arguments.
40905 * math/s_casinh.c: Do not include <float.h>.
40906 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40907 * math/s_casinhf.c: Do not include <float.h>.
40908 (__casinhf): Move code for finite nonzero arguments to
40909 k_casinhf.c.
40910 * math/s_casinhl.c: Do not include <float.h>.
40911 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40912 redefine.
40913 (__casinhl): Move code for finite nonzero arguments to
40914 k_casinhl.c.
40915 * math/libm-test.inc (cacos_test): Add more tests.
40916 * sysdeps/i386/fpu/libm-test-ulps: Update.
40917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40918
40919 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40920
40921 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40922 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40923 [!HAVE_MREMAP]: Remove [defined linux] case.
40924 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40925
40926 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40927
40928 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40929
40930 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40931
40932 * elf/elf.h (R_386_SIZE32): New relocation.
40933 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40934 R_386_SIZE32.
40935 (elf_machine_rela): Likewise.
40936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40937 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40938
40939 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40940
40941 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40942 (FP_FAST_FMA): Do not define.
40943 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40944 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40945 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40946 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40947 !_SOFT_FLOAT]: Likewise.
40948 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40949 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40950 value.
40951 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40952 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40954 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40955 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40956 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40957 file.
40958
40959 2013-01-16 Andreas Schwab <schwab@suse.de>
40960
40961 [BZ #14327]
40962 * include/stdlib.h (__mktemp): Add declaration.
40963 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40964 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40965
40966 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40967
40968 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40969 definitions.
40970 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40971 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40972 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40973 definitions here.
40974 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40975 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40976 definitions.
40977 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40978 and ONE.
40979 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40980 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40981 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40982 definitions.
40983 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40984 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40985 definitions.
40986 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40987
40988 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40989
40990 2013-01-15 David S. Miller <davem@davemloft.net>
40991
40992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40993 trunc{,f} to libm-sysdep_routes.
40994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40996 file.
40997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40999 file.
41000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41001 file.
41002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41004 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41005 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41006 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41007 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41008 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41009 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41010
41011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41012 nearbyint{,f} to libm-sysdep_routes.
41013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41015 New file.
41016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41017 file.
41018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41019 New file.
41020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41021 file.
41022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41024 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41025 file.
41026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41027 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41028 file.
41029 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41030 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41031 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41032
41033 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41034 libc_feholdexcept and libc_fesetenv.
41035
41036 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41037
41038 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41039
41040 2013-01-14 David S. Miller <davem@davemloft.net>
41041
41042 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41043 (SPARC_ASM_VIS2_IFUNC): Likewise.
41044 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41046 use of 'siam' instruction.
41047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41048 Likewise.
41049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41050 Likewise.
41051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41052 Likewise.
41053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41058 file.
41059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41060 file.
41061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41062 file.
41063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41064 file.
41065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41070 new VIS2 routines.
41071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41074 Likewise.
41075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41080 routines to libm-sysdep_routines.
41081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41082
41083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41084 fdim/fdimf to libm-sysdep_routines.
41085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41086 file.
41087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41089 file.
41090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41093 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41094 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41095 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41096 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41097
41098 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41099
41100 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41101 to optimize copies.
41102
41103 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41106
41107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41108 local variable MPTWO.
41109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41110 Likewise.
41111
41112 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41113
41114 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41115 GLOB_NOESCAPE.
41116
41117 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41118
41119 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41120
41121 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41122
41123 * manual/pattern.texi (glob_t): Document gl_flags.
41124 (glob64_t): Likewise.
41125
41126 2013-01-11 David S. Miller <davem@davemloft.net>
41127
41128 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41129 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41130 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41131 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41132 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41133 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41134 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41135 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41136 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41137 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41138 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41139 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41140 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41141
41142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41143 sparc V9 rather than using V8 code.
41144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41146
41147 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41148 Move to...
41149 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41150 Here.
41151
41152 2013-01-11 Roland McGrath <roland@hack.frob.com>
41153
41154 [BZ #14941]
41155 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41156 not in the main loop.
41157 * configure: Regenerated.
41158
41159 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41160
41161 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41162 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41163 to just #else.
41164 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41165 [!__GLIBC_HAVE_LONG_LONG] case.
41166 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41167 condition to just #else.
41168 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41169 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41170 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41171 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41172 unconditional.
41173 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41174 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41175 #elif condition to just #else.
41176 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41177 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41178 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41179 #elif condition to just #else.
41180
41181 2013-01-11 Steve Ellcey <sellcey@mips.com>
41182
41183 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41184 (EF_MIPS_ARCH_64): Fix value.
41185 (EF_MIPS_ARCH_32R2): New.
41186 (EF_MIPS_ARCH_64R2): New.
41187
41188 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41189
41190 * Makeconfig (+link-pie-before-libc): New.
41191 (+link-pie-after-libc): Likewise.
41192 (+link-pie-tests): Likewise.
41193 (+link-pie): Rewritten.
41194 (link-before-libc): Remove $(config-LDFLAGS).
41195 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41196 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41197 (config-LDFLAGS): Renamed to ...
41198 (rtld-LDFLAGS): This.
41199 (rtld-tests-LDFLAGS): New macro.
41200 (link-libc-rpath-link): Likewise.
41201 (link-libc-tests-rpath-link): Likewise.
41202 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41203 (link-libc): Prepand $(link-libc-rpath-link).
41204 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41205 (test-program-prefix): New macro.
41206 (test-via-rtld-prefix): Likewise.
41207 (test-program-cmd): Likewise.
41208 (host-test-program-cmd): Likewise.
41209 * Makefile ($(common-objpfx)testrun.sh): Replace
41210 $(run-program-prefix) with $(test-program-prefix).
41211 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41212 $(rtld-LDFLAGS).
41213 ($(common-objpfx)shlib.lds): Likewise.
41214 (build-module-helper): Likewise.
41215 ($(common-objpfx)format.lds): Likewise.
41216 * Rules (binaries-pie-tests): New.
41217 (binaries-pie-notests): Likewise.
41218 (binaries-pie): Rewritten.
41219 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41220 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41221 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41222 (make-test-out): Replace $(host-built-program-cmd) with
41223 $(host-test-program-cmd).
41224 * config.make.in (build-hardcoded-path-in-tests): New variable.
41225 * configure.in (--enable-hardcoded-path-in-tests): New configure
41226 option.
41227 (hardcoded_path_in_tests): New AC_SUBST.
41228 * configure: Regenerated.
41229 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41230 $(built-program-cmd) with $(test-program-cmd).
41231 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41232 (test_program_cmd): This.
41233 * elf/Makefile ($(objpfx)order.out): Run test with
41234 $(test-program-prefix).
41235 ($(objpfx)order2.out): Likewise.
41236 ($(objpfx)tst-initorder.out): Likewise.
41237 ($(objpfx)tst-initorder2.out): Likewise.
41238 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41239 $(test-program-cmd).
41240 ($(objpfx)tst-array1-static.out): Likewise.
41241 ($(objpfx)tst-array2.out): Likewise.
41242 ($(objpfx)tst-array3.out): Likewise.
41243 ($(objpfx)tst-array4.out): Likewise.
41244 ($(objpfx)tst-array5.out): Likewise.
41245 ($(objpfx)tst-array5-static.out): Likewise.
41246 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41247 $(test-program-cmd).
41248 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41249 $(run-program-prefix) with $(test-program-prefix).
41250 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41251 (test_program_prefix): This.
41252 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41253 $(run-program-prefix) with $(test-program-prefix).
41254 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41255 (test_program_prefix): This.
41256 * iconvdata/tst-tables.sh: Likewise.
41257 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41258 $(run-program-prefix) with $(test-program-prefix).
41259 ($(objpfx)tst-translit.out): Likewise.
41260 ($(objpfx)tst-gettext2.out): Likewise.
41261 ($(objpfx)tst-gettext4.out): Likewise.
41262 ($(objpfx)tst-gettext6.out): Likewise.
41263 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41264 (test_program_prefix): This.
41265 * intl/tst-gettext2.sh: Likewise.
41266 * intl/tst-gettext4.sh Likewise.
41267 * intl/tst-gettext6.sh: Likewise.
41268 * intl/tst-translit.sh: Likewise.
41269 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41270 with $(test-program-cmd).
41271 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41272 $(run-program-prefix) with $(test-program-prefix).
41273 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41274 (test_program_prefix): This.
41275 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41276 $(run-program-prefix) with $(test-program-prefix).
41277 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41278 (test_program_prefix): This.
41279 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41280 * posix/Makefile ($(objpfx)globtest.out): Replace
41281 $(run-via-rtld-prefix) and $(test-wrapper) with
41282 $(test-program-prefix) and $(test-via-rtld-prefix).
41283 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41284 $(test-program-prefix).
41285 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41286 $(host-test-program-cmd).
41287 (tst-spawn-ARGS): Likewise.
41288 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41289 $(test-program-prefix).
41290 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41291 (test_via_rtld_prefix): This.
41292 (test_wrapper): Renamed to ...
41293 (test_program_prefix): This.
41294 (run_program_prefix): Replaced by test_program_prefix.
41295 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41296 (test_program_prefix): This.
41297 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41298 with $(host-test-program-cmd).
41299 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41300 $(run-program-prefix) with $(test-program-prefix).
41301 ($(objpfx)tst-printf.out): Likewise.
41302 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41303 $(test-program-cmd).
41304 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41305 (test_program_prefix): This.
41306 * stdio-common/tst-unbputc.sh: Likewise.
41307 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41308 $(run-program-prefix) with $(test-program-prefix).
41309 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41310 (test_program_prefix): This.
41311 * string/Makefile ($(objpfx)tst-svc.out): Replace
41312 $(built-program-cmd) with $(test-program-cmd).
41313
41314 2013-01-11 Andreas Jaeger <aj@suse.de>
41315
41316 [BZ #15003]
41317 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41318 value. Sync with Linux 3.7.
41319
41320 2013-01-10 David S. Miller <davem@davemloft.net>
41321
41322 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41323 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41324 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41325
41326 2013-01-10 Roland McGrath <roland@hack.frob.com>
41327
41328 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41329 never set.
41330 * configure: Regenerated.
41331
41332 2013-01-10 David S. Miller <davem@davemloft.net>
41333
41334 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41335 sparc V9 rather than using V8 code.
41336 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41337 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41338
41339 2013-01-10 Roland McGrath <roland@hack.frob.com>
41340
41341 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41342 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41343 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41344 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41345 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41346 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41347 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41348 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41349 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41350 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41351 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41352 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41353 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41354 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41355 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41356 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41357 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41358 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41359 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41360 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41361 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41362 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41363 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41364 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41365 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41366 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41367 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41368
41369 2013-01-10 David S. Miller <davem@davemloft.net>
41370
41371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41372
41373 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41374
41375 * posix/Makefile (tests-static): New variable.
41376 (tests): Add $(tests-static).
41377 (tst-exec-static-ARGS): New variable.
41378 (tst-spawn-static-ARGS): Likewise.
41379 * posix/tst-exec-static.c: New file.
41380 * posix/tst-spawn-static.c: Likewise.
41381 * posix/tst-exec.c: Support run directly.
41382 * posix/tst-spawn.c: Likewise.
41383
41384 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41385
41386 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41387 long.
41388 * math/bits/mathcalls.h (llrint): Likewise.
41389 (llround): Likewise.
41390 * stdlib/stdlib.h (struct drand48_data): Likewise.
41391 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41392 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41393 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41394 Likewise.
41395 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41396 Likewise.
41397 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41398 (elf_greg_t): Likewise.
41399 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41400 (__jmp_buf): Likewise.
41401 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41402 definitions.
41403 (llrint): Likewise, for all definitions.
41404 (llrintl): Likewise.
41405
41406 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41407 Remove [__GNUC__] condition.
41408 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41409 condition to just [__USE_ISOC99].
41410 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41411
41412 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41413
41414 [BZ #14200]
41415 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41416 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41417 defined.
41418 (_POSIX_V6_ILP32_OFF32): Likewise.
41419 (_XBS5_ILP32_OFF32): Likewise.
41420 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41421 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41422
41423 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41424
41425 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41426
41427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41428 doubles __mpexp_twomm1. Adjust usage.
41429 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41430 Remove.
41431
41432 2013-01-10 Andreas Schwab <schwab@suse.de>
41433
41434 [BZ #14964]
41435 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41436 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41437
41438 2013-01-09 David S. Miller <davem@davemloft.net>
41439
41440 [BZ #15003]
41441 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41442 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41443 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41444 (TCP_FASTOPEN): Define.
41445 (tcp_repair_opt): New structure.
41446 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41447 enum values.
41448 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41449 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41450 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41451 (tcp_cookie_transactions): New structure.
41452
41453 2013-01-09 Anton Blanchard <anton@samba.org>
41454
41455 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41456 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41457 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41458 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41459
41460 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41461
41462 * include/features.h (__USE_ANSI): Remove.
41463
41464 2013-01-09 Roland McGrath <roland@hack.frob.com>
41465
41466 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41467
41468 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41469
41470 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41471
41472 * sysdeps/s390/fpu/libm-test-ulps: Update.
41473
41474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41475
41476 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41477 (__acr): Likewise.
41478 (__cpy): Likewise.
41479 (norm): Likewise.
41480 (denorm): Likewise.
41481 (__mp_dbl): Likewise.
41482 (__dbl_mp): Likewise.
41483 (add_magnitudes): Likewise.
41484 (sub_magnitudes): Likewise.
41485 (__add): Likewise.
41486 (__sub): Likewise.
41487 (__mul): Likewise.
41488 (__inv): Likewise.
41489 (__dvd): Likewise.
41490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41491 (__acr): Likewise.
41492 (__cpy): Likewise.
41493 (norm): Likewise.
41494 (denorm): Likewise.
41495 (__mp_dbl): Likewise.
41496 (__dbl_mp): Likewise.
41497 (add_magnitudes): Likewise.
41498 (sub_magnitudes): Likewise.
41499 (__add): Likewise.
41500 (__sub): Likewise.
41501 (__mul): Likewise.
41502 (__inv): Likewise.
41503 (__dvd): Likewise.
41504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41505 (__acr): Likewise.
41506 (__cpy): Likewise.
41507 (norm): Likewise.
41508 (denorm): Likewise.
41509 (__mp_dbl): Likewise.
41510 (__dbl_mp): Likewise.
41511 (add_magnitudes): Likewise.
41512 (sub_magnitudes): Likewise.
41513 (__add): Likewise.
41514 (__sub): Likewise.
41515 (__mul): Likewise.
41516 (__inv): Likewise.
41517 (__dvd): Likewise.
41518
41519 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41520
41521 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41522 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41523 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41524 2 && __USE_EXTERN_INLINES]: Likewise.
41525
41526 2013-01-08 Andreas Jaeger <aj@suse.de>
41527
41528 [BZ# 14985]
41529 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41530 Remove.
41531 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41532 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41533
41534 2013-01-07 Anton Blanchard <anton@samba.org>
41535
41536 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41537 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41538 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41539 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41540 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41541 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41542 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41543 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41546 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41547 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41548 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41549 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41550 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41551 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41552 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41553 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41554 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41555 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41556 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41557 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41558 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41559 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41560 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41561 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41562 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41563 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41565 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41566 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41568 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41569 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41570 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41571 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41572 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41573 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41574 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41576 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41578 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41579
41580 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41581
41582 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41583 (__MALLOC_PMT): Likewise.
41584 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41585 [__GNUC__], only on [_LIBC].
41586 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41587 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41588 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41589 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41590 forward declaration.
41591 (realloc_hook_ini): Likewise.
41592 (memalign_hook_ini): Likewise.
41593 (__libc_memalign): Do not use __MALLOC_PMT in variable
41594 declaration.
41595 (__libc_valloc): Likewise.
41596 (__libc_pvalloc): Likewise.
41597 (__libc_calloc): Likewise.
41598 (__posix_memalign): Likewise.
41599
41600 [BZ #14996]
41601 * math/s_casinh.c: Include <float.h>.
41602 (__casinh): Do not do computation with squaring and square root
41603 for large arguments.
41604 * math/s_casinhf.c: Include <float.h>.
41605 (__casinhf): Do not do computation with squaring and square root
41606 for large arguments.
41607 * math/s_casinhl.c: Include <float.h>.
41608 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41609 (__casinhl): Do not do computation with squaring and square root
41610 for large arguments.
41611 * math/libm-test.inc (casin_test): Add more tests.
41612 (casinh_test): Likewise.
41613 * sysdeps/i386/fpu/libm-test-ulps: Update.
41614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41615
41616 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41617
41618 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41619 (__x86_64_raw_data_cache_size): Likewise.
41620 (__x86_64_data_cache_size_half): Likewise.
41621 (__x86_64_raw_data_cache_size_half): Likewise.
41622 (__x86_64_shared_cache_size): Likewise.
41623 (__x86_64_raw_shared_cache_size): Likewise.
41624 (__x86_64_shared_cache_size_half): Likewise.
41625 (__x86_64_raw_shared_cache_size_half): Likewise.
41626 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41627 to ...
41628 (__x86_data_cache_size): This.
41629 (__x86_64_raw_data_cache_size): Renamed to ...
41630 (__x86_raw_data_cache_size): This.
41631 (__x86_64_data_cache_size_half): Renamed to ...
41632 (__x86_data_cache_size_half): This.
41633 (__x86_64_raw_data_cache_size_half): Renamed to ...
41634 (__x86_raw_data_cache_size_half): This.
41635 (__x86_64_shared_cache_size): Renamed to ...
41636 (__x86_shared_cache_size): This.
41637 (__x86_64_raw_shared_cache_size): Renamed to ...
41638 (__x86_raw_shared_cache_size): This.
41639 (__x86_64_shared_cache_size_half): Renamed to ...
41640 (__x86_shared_cache_size_half): This.
41641 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41642 (__x86_raw_shared_cache_size_half): This.
41643 * sysdeps/x86_64/memcpy.S: Updated.
41644 * sysdeps/x86_64/memset.S: Likewise.
41645 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41647 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41648
41649 2013-01-04 David S. Miller <davem@davemloft.net>
41650
41651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41652
41653 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41654
41655 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41656 1 to avoid redefinition warning.
41657 (__USE_GNU): Don't define.
41658 (init_signaling_nan): Protoize.
41659
41660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41661
41662 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41663
41664 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41666 (__cpymn): Likewise.
41667 (norm): Remove commented code.
41668 (denorm): Likewise.
41669 (__mp_dbl): Likewise.
41670 (__inv): Likewise.
41671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41672 (__cpymn): Likewise.
41673 (norm): Remove commented code.
41674 (denorm): Likewise.
41675 (__mp_dbl): Likewise.
41676 (__inv): Likewise.
41677
41678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41679 mp_no value for 1.0 and 2.0.
41680 (norm): Use RADIXI instead of radixi.d.
41681 (denorm): Likewise.
41682 (__mul): Use 0.0 instead of zero.d.
41683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41684 mp_no value for 1.0 and 2.0.
41685 (norm): Use RADIXI instead of radixi.d.
41686 (denorm): Likewise.
41687 (__mul): Use 0.0 instead of zero.d.
41688
41689 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41690
41691 [BZ #14994]
41692 * math/s_casinh.c (__casinh): Reduce finite argument to first
41693 quadrant then set signs of results at the end.
41694 * math/s_casinhf.c (__casinhf): Likewise.
41695 * math/s_casinhl.c (__casinhl): Likewise.
41696 * math/libm-test.inc (casin_test): Add more tests.
41697 (casinh_test): Likewise.
41698 * sysdeps/i386/fpu/libm-test-ulps: Update.
41699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41700
41701 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41702
41703 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41704
41705 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41706
41707 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41708 declarations.
41709 (denorm): Likewise.
41710 (__mp_dbl): Likewise.
41711 (__inv): Likewise.
41712
41713 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41714 and adjust the header comment.
41715
41716 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41717 variable name from declaration.
41718
41719 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41720
41721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41722 Initialize COMMON_CPUID_INDEX_7 element.
41723 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41724 (CPUID_RTM): Likewise.
41725 (HAS_RTM): Likewise.
41726 (COMMON_CPUID_INDEX_7): New enum.
41727
41728 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41729
41730 [BZ #14981]
41731 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41732 size is zero, record memory as freed.
41733
41734 2013-01-03 Andreas Jaeger <aj@suse.de>
41735
41736 * po/ia.po: Add new Interlingua translation.
41737
41738 2012-01-03 Allan McRae <allan@archlinux.org>
41739
41740 * locale/programs/localedef.c: Fix description of '--posix' flag.
41741
41742 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41743
41744 * NEWS: Update dates in second copyright notice.
41745 * README: Update copyright dates in example.
41746 * manual/libc.texinfo: Update copyright dates.
41747 * scripts/test-installation.pl: Update copyright date in --version
41748 output.
41749
41750 * hurd/ctty-input.c: Fix copyright notice formatting.
41751 * hurd/ctty-output.c: Likewise.
41752 * hurd/dtable.c: Likewise.
41753 * hurd/hurd-raise.c: Likewise.
41754 * hurd/hurdprio.c: Likewise.
41755 * hurd/msgportdemux.c: Likewise.
41756 * misc/sys/file.h: Likewise.
41757 * misc/sys/ioctl.h: Likewise.
41758 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41759 * sysdeps/mach/hurd/chdir.c: Likewise.
41760 * sysdeps/mach/hurd/fchdir.c: Likewise.
41761 * sysdeps/mach/hurd/rename.c: Likewise.
41762 * sysdeps/mach/hurd/rmdir.c: Likewise.
41763 * sysdeps/mach/hurd/seekdir.c: Likewise.
41764 * sysdeps/mach/hurd/setsid.c: Likewise.
41765 * sysdeps/posix/wait3.c: Likewise.
41766
41767 * All files with FSF copyright notices: Update copyright dates
41768 using scripts/update-copyrights.
41769 * intl/plural.c: Regenerated.
41770 * locale/programs/charmap-kw.h: Likewise.
41771 * locale/programs/locfile-kw.h: Likewise.
41772
41773 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41774
41775 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41776 four values.
41777
41778 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41779 calculation loop and add branch prediction.
41780
41781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41782 check access beyond bounds of m1np.
41783
41784 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41785 MPTWO.
41786 (__inv): Remove local variable MPTWO to use the global
41787 constant.
41788 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41789 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41790 variable MPTWO.
41791 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41792 MP3HALFS static const.
41793
41794 2013-01-01 David S. Miller <davem@davemloft.net>
41795
41796 * po/ca.po: Update from translation team.
41797
41798 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41799
41800 * scripts/update-copyrights: New file.
41801 * Makeconfig: Reformat copyright notice.
41802 * ctype/ctype.h: Likewise.
41803 * debug/swprintf_chk.c: Likewise.
41804 * elf/dl-cache.c: Likewise.
41805 * elf/dl-debug.c: Likewise.
41806 * elf/dl-object.c: Likewise.
41807 * grp/initgroups.c: Likewise.
41808 * hurd/Makefile: Likewise.
41809 * hurd/hurd/signal.h: Likewise.
41810 * hurd/hurdfault.c: Likewise.
41811 * hurd/hurdioctl.c: Likewise.
41812 * hurd/hurdlookup.c: Likewise.
41813 * hurd/intr-msg.c: Likewise.
41814 * iconv/gconv_open.c: Likewise.
41815 * libio/swprintf.c: Likewise.
41816 * locale/lc-ctype.c: Likewise.
41817 * locale/nl_langinfo.c: Likewise.
41818 * mach/Machrules: Likewise.
41819 * mach/Makefile: Likewise.
41820 * malloc/obstack.h: Likewise.
41821 * manual/Makefile: Likewise.
41822 * manual/tsort.awk: Likewise.
41823 * misc/bits/stab.def: Likewise.
41824 * nis/nis_print_group_entry.c: Likewise.
41825 * nis/nis_table.c: Likewise.
41826 * nis/nss_compat/compat-pwd.c: Likewise.
41827 * nis/nss_compat/compat-spwd.c: Likewise.
41828 * po/Makefile: Likewise.
41829 * posix/fnmatch.c: Likewise.
41830 * posix/regex.h: Likewise.
41831 * resolv/Makefile: Likewise.
41832 * resolv/nss_dns/dns-network.c: Likewise.
41833 * resolv/res_hconf.c: Likewise.
41834 * scripts/gen-sorted.awk: Likewise.
41835 * soft-fp/soft-fp.h: Likewise.
41836 * stdio-common/printf.h: Likewise.
41837 * stdlib/monetary.h: Likewise.
41838 * stdlib/random.c: Likewise.
41839 * stdlib/random_r.c: Likewise.
41840 * sysdeps/generic/Makefile: Likewise.
41841 * sysdeps/gnu/Makefile: Likewise.
41842 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41844 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41849 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41850 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41852 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41854 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41855 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41856 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41857 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41858 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41859 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41860 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41862 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41863 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41864 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41865 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41866 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41867 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41868 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41869 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41870 * sysdeps/mach/hurd/errnos.awk: Likewise.
41871 * sysdeps/mach/hurd/fork.c: Likewise.
41872 * sysdeps/mach/hurd/getcwd.c: Likewise.
41873 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41874 * sysdeps/mach/hurd/mmap.c: Likewise.
41875 * sysdeps/mach/hurd/utimes.c: Likewise.
41876 * sysdeps/mach/hurd/xmknod.c: Likewise.
41877 * sysdeps/posix/profil.c: Likewise.
41878 * sysdeps/posix/readdir_r.c: Likewise.
41879 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41880 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41881 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41882 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41884 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41886 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41888 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41889 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41890 * sysdeps/pthread/lio_listio.c: Likewise.
41891 * sysdeps/sparc/dl-procinfo.h: Likewise.
41892 * sysdeps/unix/i386/sysdep.S: Likewise.
41893 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41894 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41895 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41896 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41898 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41899 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41900 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41901 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41902 * sysdeps/wordsize-32/divdi3.c: Likewise.
41903 * time/sys/time.h: Likewise.
41904 * wcsmbs/Makefile: Likewise.
41905
41906 2013-01-01 David S. Miller <davem@davemloft.net>
41907
41908 * po/fr.po: Update from translation team.
41909
41910 * catgets/gencat.c: Update copyright year.
41911 * csu/version.c: Likewise.
41912 * debug/catchsegv.sh: Likewise.
41913 * debug/pcprofiledump.c: Likewise.
41914 * debug/xtrace.sh: Likewise.
41915 * elf/ldconfig.c: Likewise.
41916 * elf/ldd.bash.in: Likewise.
41917 * elf/pldd.c: Likewise.
41918 * elf/sotruss.ksh: Likewise.
41919 * elf/sprof.c: Likewise.
41920 * iconv/iconv_prog.c: Likewise.
41921 * iconv/iconvconfig.c: Likewise.
41922 * locale/programs/locale.c: Likewise.
41923 * locale/programs/localedef.c: Likewise.
41924 * login/programs/pt_chown.c: Likewise.
41925 * malloc/memusage.sh: Likewise.
41926 * malloc/memusagestat.c: Likewise.
41927 * malloc/mtrace.pl: Likewise.
41928 * nscd/nscd.c: Likewise.
41929 * nss/getent.c: Likewise.
41930 * nss/makedb.c: Likewise.
41931 * posix/getconf.c: Likewise.
41932
41933 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41934
41935 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41936 numbers.
41937
41938 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41939
41940 * math/bits/mathcalls.h (modf): Use __nonnull.
41941
41942 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41943
41944 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41945 (split): Use macro CN instead of the bare value.
41946 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41947 could be used.
41948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41949 instead of the bare value.
41950 (power1): Likewise.
41951
41952 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41953
41954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41955 __ATAN_TWOM.
41956 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41957
41958 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41959 their values.
41960 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41961 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41962 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41963 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41964
41965 2012-12-28 Andreas Jaeger <aj@suse.de>
41966
41967 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
41968 values are from Linux 3.7.
41969
41970 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41971 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
41972
41973 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41974
41975 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41976 TRUE case.
41977
41978 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41979 (norm): Likewise.
41980 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41981 variables with preprocessor constants.
41982 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41983 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41984 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41985
41986 2012-12-27 Bruno Haible <bruno@clisp.org>
41987
41988 [BZ #14317]
41989 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41990 only if needed.
41991
41992 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41993
41994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41995 and use variable directly.
41996 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41997
41998 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41999 MPONE.
42000 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42002 variable MPONE.
42003 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42005 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42006 include directive. Remove local variable MPONE.
42007 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42008 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42009 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42010
42011 2012-12-25 David S. Miller <davem@davemloft.net>
42012
42013 * version.h (RELEASE): Set to "development".
42014 (VERSION): Set to "2.17.90".
42015 * NEWS: Add 2.18 section.
42016
42017 2012-12-21 David S. Miller <davem@davemloft.net>
42018
42019 * po/hr.po: Update from translation team.
42020
42021 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42022
42023 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42024
42025 2012-12-19 Steve Ellcey <sellcey@mips.com>
42026
42027 * NEWS: Mention new memcpy for MIPS.
42028
42029 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42030
42031 * manual/contrib.texi (Contributors): Spelling correction.
42032
42033 2012-12-15 David S. Miller <davem@davemloft.net>
42034
42035 * po/ru.po: Update from translation team.
42036
42037 2012-12-13 David S. Miller <davem@davemloft.net>
42038
42039 * NEWS: Mention IFUNC testsuite enhancements.
42040
42041 * po/pl.po: Update from translation team.
42042 * po/bg.po: Likewise.
42043
42044 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42045 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42046
42047 2012-12-11 David S. Miller <davem@davemloft.net>
42048
42049 * po/sv.po: Update from translation team.
42050
42051 * po/vi.po: Update from translation team.
42052
42053 * po/cs.po: Update from translation team.
42054
42055 * po/de.po: Update from translation team.
42056 * po/eo.po: Likewise.
42057 * po/nl.po: Likewise.
42058
42059 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42060
42061 [BZ #14246]
42062 * manual/argp.texi (Argp Helper Functions): Move node to follow
42063 Argp Parsing State.
42064
42065 [BZ #14872]
42066 * manual/conf.texi (Limits on File System Capacity): Mention if
42067 terminating null is included in the max size.
42068
42069 2012-12-10 Andreas Jaeger <aj@suse.de>
42070
42071 * po/cs.po: Update from translation team.
42072
42073 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42074
42075 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42076 void pointer and cast to uintptr_t.
42077 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42078 path.
42079 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42080 * sysdeps/s390/s390-64/memset.S: Likewise.
42081
42082 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42083
42084 [BZ #14833]
42085 * menual/message.texi (Message Translation): Fix typos.
42086 (Helper programs for gettext): Likewise.
42087
42088 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42089
42090 [BZ #14898]
42091 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42092 Change to -1.
42093
42094 2012-12-07 David S. Miller <davem@davemloft.net>
42095
42096 * po/libc.pot: Update.
42097
42098 2012-12-07 Richard Henderson <rth@redhat.com>
42099
42100 [BZ #10114]
42101 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42102 normal/normal case to before the switch.
42103 (_FP_DIV): Likewise.
42104
42105 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42106 Mike Frysinger <vapier@gentoo.org>
42107
42108 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42109 check for __NR_fadvise64_64.
42110
42111 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42112
42113 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42114 0, not just to plain "0" as a statement.
42115 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42116 with cw.
42117
42118 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42119
42120 * NEWS: Use sourceware.org in Bugzilla URL.
42121
42122 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42123
42124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42125 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42126
42127 * stdio-common/tst-put-error.c (do_test): Add newline to the
42128 padded test to ensure flush.
42129
42130 2012-12-05 Jeff Law <law@redhat.com>
42131
42132 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42133
42134 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42135
42136 * README: Don't refer to ports add-on as distributed separately.
42137 Mention AArch64 in list of systems supported in the ports add-on.
42138
42139 * LICENSES: Add more non-FSF copyright and license notices.
42140
42141 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42142 ((unused)).
42143
42144 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42145
42146 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42147 10000 as width of padded output.
42148
42149 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42150
42151 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42152
42153 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42154 variable LX with __attribute__ ((unused)).
42155 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42156 Likewise.
42157 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42158 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42159 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42160 with __attribute__ ((unused)).
42161
42162 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42163
42164 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42165
42166 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42167
42168 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42169 (CFLAGS-nldbl-acos.c): New variable.
42170 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42171 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42172 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42173 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42174 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42175 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42176 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42177 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42178 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42179 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42180 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42181 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42182 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42183 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42184 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42185 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42186 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42187 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42188 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42189 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42190 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42191 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42192 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42193 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42194 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42195 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42196 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42197 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42198 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42199 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42200 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42201 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42202 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42203 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42204 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42205 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42206 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42207 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42208 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42209 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42210 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42211 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42212 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42213 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42214 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42215 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42216 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42217 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42218 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42219 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42220 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42221 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42222 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42223 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42224 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42225 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42226 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42227 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42228 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42229 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42230 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42231 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42232 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42233 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42234 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42235 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42236 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42237 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42238 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42239 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42240 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42241 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42242 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42243 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42244 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42245 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42246 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42247 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42248 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42249 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42250 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42251 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42252 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42253 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42254 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42255 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42256 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42257 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42258 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42259 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42260 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42261 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42262 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42263 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42264 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42265 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42266 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42267
42268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42269 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42270
42271 [BZ #14914]
42272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42273 whole low double instead of just low 47 bits when splitting values
42274 into two parts.
42275
42276 2012-12-03 Allan McRae <allan@archlinux.org>
42277
42278 * manual/stdio.texi (Predefined Printf Handlers): Remove
42279 @hsep and @vsep usage.
42280
42281 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42282
42283 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42284 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42285
42286 2012-12-03 Jeff Law <law@redhat.com>
42287
42288 * time/sys/time.h (settimeofday): Do not mark TV argument
42289 as __nonnull.
42290
42291 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42292
42293 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42294 when currently writing and seek to current position when not.
42295 * libio/Makefile (tests): Remove bug-fclose1.
42296 * libio/bug-fclose1.c: Delete.
42297
42298 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42299
42300 * manual/arith.texi (feenableexcept): Fix typo.
42301 (fedisableexcept): Likewise.
42302
42303 2012-11-30 Roland McGrath <roland@hack.frob.com>
42304
42305 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42306 second, differently-typed declaration, rather than a cast.
42307
42308 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42309
42310 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42311 * include/rpc/svc.h: ... here.
42312
42313 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42314
42315 [BZ #13013]
42316 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42317 depending n and resplen2 to catch cases where answer
42318 equals answerp2.
42319
42320 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42321
42322 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42323 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42324
42325 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42326
42327 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42328
42329 2012-11-29 Roland McGrath <roland@hack.frob.com>
42330
42331 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42332
42333 2012-11-28 Jeff Law <law@redhat.com>
42334
42335 [BZ #13761]
42336 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42337 dataset_temporary. Track alloca usage into alloca_used.
42338 If dataset is large allocate and release it via malloc/free.
42339
42340 2012-06-04 Florian Weimer <fweimer@redhat.com>
42341
42342 [BZ #14197]
42343 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42344
42345 2012-11-28 David S. Miller <davem@davemloft.net>
42346
42347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42348
42349 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42350
42351 [BZ #14803]
42352 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42353 of pi/2 rounded to nearest to 64 bits.
42354 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42355 nearest to 64 bits.
42356 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42357 bits.
42358
42359 2012-11-28 Jeff Law <law@redhat.com>
42360 Martin Osvald <mosvald@redhat.com>
42361
42362 [BZ #14889]
42363 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42364 * sunrpc/svc.c: Include time.h.
42365 (__svc_accept_failed): New function.
42366 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42367 any reason other than EINTR, call __svc_accept_failed.
42368 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42369 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42370
42371 2012-11-28 Andreas Schwab <schwab@suse.de>
42372
42373 * scripts/abilist.awk: Also handle indirect functions in .opd
42374 section.
42375
42376 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42377
42378 [BZ #13881]
42379 * sysdeps/x86/fpu/powl_helper.c: New file.
42380 * sysdeps/x86/fpu/Makefile: Likewise.
42381 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42382 (p3): New object.
42383 (__ieee754_powl): Use __powl_helper for finite arguments except
42384 integer exponents below 8.
42385 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42386 (p3): New object.
42387 (__ieee754_powl): Use __powl_helper for finite arguments except
42388 integer exponents below 8.
42389 * math/libm-test.inc (pow_test): Add more tests and enable some
42390 previously disabled tests.
42391 * sysdeps/i386/fpu/libm-test-ulps: Update.
42392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42393
42394 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42395 Carlos O'Donell <carlos_odonell@mentor.com>
42396
42397 * nss/makedb.c (is_prime): Assert that input is odd and greater
42398 than 4. Note that fact in a comment too.
42399 (next_prime): Add 4 to input.
42400
42401 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42402
42403 [BZ #11741]
42404 * libio/Makefile (tests): Add test case tst-fwrite-error.
42405 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42406 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42407 * libio/tst-fwrite-error.c: New test case.
42408
42409 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42410
42411 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42412 before casting to void *.
42413 * include/libc-internal.h (__pointer_type): New macro.
42414 (__integer_if_pointer_type_sub): Likewise.
42415 (__integer_if_pointer_type): Likewise.
42416 (cast_to_integer): Likewise.
42417 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42418 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42419 before casting to atomic64_t.
42420 (atomic_exchange_acq): Likewise.
42421 (__arch_exchange_and_add_body): Likewise.
42422 (__arch_add_body): Likewise.
42423 (atomic_add_negative): Likewise.
42424 (atomic_add_zero): Likewise.
42425
42426 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42427
42428 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42429 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42430 (add_fdes): Likewise.
42431 (linear_search_fdes): Likewise.
42432 (binary_search_unencoded_fdes): Likewise.
42433
42434 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42435
42436 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42437
42438 2012-11-24 Adam Conrad <adconrad@0c3.net>
42439
42440 * configure.in: Autodetect C++ header directories.
42441 * configure: Regenerated.
42442
42443 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42444
42445 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42446
42447 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42448
42449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42450
42451 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42452
42453 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42454 LDBL_MANT_DIG == 106]: Disable some tests.
42455 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42456 Likewise.
42457 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42458 Likewise.
42459
42460 [BZ #14871]
42461 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42462 input for small inputs. Return +/- pi/2 for large inputs.
42463 * math/libm-test.inc (atan_test): Add more tests.
42464
42465 * sysdeps/generic/unwind-dw2-fde-glibc.c
42466 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42467 __attribute__ ((unused)).
42468
42469 [BZ #14645]
42470 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42471 x * y if x and y are nonzero and z is zero.
42472
42473 [BZ #14811]
42474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42475 nonzero exponents with absolute value below 0x1p-117 to +/-
42476 0x1p-117.
42477
42478 [BZ #14869]
42479 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42480 up arguments below 2**-450, not just those below 2**-500.
42481 * math/libm-test.inc (hypot_test): Add another test.
42482
42483 [BZ #14868]
42484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42485 Return a+b for ratio over 2**120, not 2**60.
42486 * math/libm-test.inc (hypot_test): Add another test.
42487
42488 * math/libm-test.inc (clog_test): Use
42489 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42490 (clog10_test): Likewise.
42491
42492 [BZ #6778]
42493 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42494
42495 2012-11-22 Andreas Schwab <schwab@suse.de>
42496
42497 * sysdeps/i386/fpu/libm-test-ulps: Update.
42498
42499 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42500
42501 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42502 printf output with newline.
42503
42504 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42505
42506 [BZ #14865]
42507 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42508 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42509 -z nodlopen, -z initfirst and -z execstack support.
42510 * configure: Regenerated.
42511
42512 * elf/elf.h (DF_1_NODIRECT): New macro.
42513 (DF_1_IGNMULDEF): Likewise.
42514 (DF_1_NOKSYMS): Likewise.
42515 (DF_1_NOHDR): Likewise.
42516 (DF_1_EDITED): Likewise.
42517 (DF_1_NORELOC): Likewise.
42518 (DF_1_SYMINTPOSE): Likewise.
42519 (DF_1_GLOBAUDIT): Likewise.
42520 (DF_1_SINGLETON): Likewise.
42521 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42522 DT_1_SUPPORTED_MASK bits.
42523 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42524
42525 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42526
42527 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42528
42529 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42530
42531 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42532 macro.
42533
42534 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42535 (sendmmsg): Move declarations...
42536 * socket/sys/socket.h: ... here.
42537 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42538 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42539 include it from...
42540 * socket/recvmmsg.c: ... this new file.
42541 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42542 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42543 definition of __sendmmsg hidden.
42544 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42545 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42546 Move ENOSYS stub into and include it from...
42547 * socket/sendmmsg.c: ... this new file.
42548 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42549 (sysdep_routines): Move recvmmsg and sendmmsg...
42550 * socket/Makefile (routines): ... here.
42551 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42552 (GLIBC_PRIVATE): Add __sendmmsg.
42553 * include/sys/socket.h (__sendmmsg): Add declarations.
42554 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42555 sendmmsg.
42556
42557 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42558
42559 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42560 variable I1 with __attribute__ ((unused)).
42561 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42562
42563 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42564
42565 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42566 DUMMY variables with __attribute__ ((unused)).
42567
42568 * bits/byteswap.h: Include <bits/types.h>.
42569 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42570
42571 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42572
42573 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42574 string_t. Do not manually set errno.
42575 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42576 length with __strnlen. Make sure to both set errno and return it on
42577 failure.
42578
42579 2012-11-19 David S. Miller <davem@davemloft.net>
42580
42581 With help from Joseph Myers.
42582 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42583 very large arguments properly.
42584 * math/libm-test.inc (atan_test): New tests.
42585 (atan2_test): New tests.
42586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42588
42589 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42590
42591 [BZ #14856]
42592 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42593 Define to 3.
42594
42595 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42596 [POSIX] (EADDRNOTAVAIL): Likewise.
42597 [POSIX] (EAFNOSUPPORT): Likewise.
42598 [POSIX] (EALREADY): Likewise.
42599 [POSIX] (ECONNABORTED): Likewise.
42600 [POSIX] (ECONNREFUSED): Likewise.
42601 [POSIX] (ECONNRESET): Likewise.
42602 [POSIX] (EDESTADDRREQ): Likewise.
42603 [POSIX] (EDQUOT): Likewise.
42604 [POSIX] (EHOSTUNREACH): Likewise.
42605 [POSIX] (EIDRM): Likewise.
42606 [POSIX] (EISCONN): Likewise.
42607 [POSIX] (ELOOP): Likewise.
42608 [POSIX] (EMULTIHOP): Likewise.
42609 [POSIX] (ENETDOWN): Likewise.
42610 [POSIX] (ENETUNREACH): Likewise.
42611 [POSIX] (ENOBUFS): Likewise.
42612 [POSIX] (ENODATA): Likewise.
42613 [POSIX] (ENOLINK): Likewise.
42614 [POSIX] (ENOMSG): Likewise.
42615 [POSIX] (ENOPROTOOPT): Likewise.
42616 [POSIX] (ENOSR): Likewise.
42617 [POSIX] (ENOSTR): Likewise.
42618 [POSIX] (ENOTCONN): Likewise.
42619 [POSIX] (ENOTSOCK): Likewise.
42620 [POSIX] (EOPNOTSUPP): Likewise.
42621 [POSIX] (EOVERFLOW): Likewise.
42622 [POSIX] (EPROTO): Likewise.
42623 [POSIX] (EPROTONOSUPPORT): Likewise.
42624 [POSIX] (EPROTOTYPE): Likewise.
42625 [POSIX] (ESTALE): Likewise.
42626 [POSIX] (ETIME): Likewise.
42627 [POSIX] (ETXTBSY): Likewise.
42628 [POSIX] (EWOULDBLOCK): Likewise.
42629 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42630 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42631 [POSIX] (SEEK_CUR): Likewise.
42632 [POSIX] (SEEK_END): Likewise.
42633 [POSIX || UNIX98] (mode_t): Do not require.
42634 [POSIX] (off_t): Likewise.
42635 [POSIX] (pid_t): Likewise.
42636 [POSIX] (sys/stat.h): Do not allow header.
42637 [POSIX] (unistd.h): Likewise.
42638 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42639 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42640 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42641 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42642 require.
42643 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42644 sigevent): Specify elements.
42645 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42646 entry.
42647 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42648 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42649
42650 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42651 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42652 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42653 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42654 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42655 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42656 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42657 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42658 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42659 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42660 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42661 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42662 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42663 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42664 Likewise.
42665 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42666 Likewise.
42667 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42668 Likewise.
42669 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42670 Likewise.
42671 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42672 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42673 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42674 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42675 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42676 Specify lower bound on value.
42677 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42680 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42681 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42682 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42683 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42684 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42685 value.
42686 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42687 as optional.
42688 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42689 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42690 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42691 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42692 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42693 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42694 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42695 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42696 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42697 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42698 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42699 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42700 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42701 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42702 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42703 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42704 entry.
42705 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42706 optional.
42707 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42708 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42709 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42710 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42711 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42712 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42713 Likewise.
42714 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42715 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42716 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42717 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42718 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42719 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42720 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42721 as optional.
42722 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42723 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42724 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42725 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42726 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42727 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42728 specify as optional.
42729 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42730 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42731 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42732 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42733 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42734 [XPG3] (NL_LANGMAX): Likewise.
42735 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42736 [POSIX || XPG3] (NL_NMAX): Likewise.
42737 [POSIX || XPG3] (NL_SETMAX): Likewise.
42738 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42739 [XPG3] (NZERO): Likewise.
42740 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42741 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42742 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42743 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42744 (REG_ERANGE): Expect.
42745 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42746 optional-constant.
42747 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42748 Use (void) in prototype.
42749 [POSIX] (*_t): Allow.
42750 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42751 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42752 (WRDE_BADVAL): Expect.
42753
42754 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42755 expect.
42756 [XPG3 || XPG4] (O_RSYNC): Likewise.
42757 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42758 Likewise.
42759 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42760 [XPG3 || XPG4] (sigqueue): Likewise.
42761 [XPG3 || XPG4] (sigtimedwait): Likewise.
42762 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42763 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42764 [XPG3 || XPG4] (vsnprintf): Likewise.
42765 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42766 Likewise.
42767 [XPG3 || XPG4] (blksize_t): Likewise.
42768 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42769 Likewise.
42770 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42771 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42772 [XPG3 || XPG4] (struct itimerspec): Likewise.
42773 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42774 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42775 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42776 [XPG3 || XPG4] (clockid_t): Likewise.
42777 [XPG3 || XPG4] (timer_t): Likewise.
42778 [XPG3 || XPG4] (clock_getres): Likewise.
42779 [XPG3 || XPG4] (clock_gettime): Likewise.
42780 [XPG3 || XPG4] (clock_settime): Likewise.
42781 [XPG3 || XPG4] (nanosleep): Likewise.
42782 [XPG3 || XPG4] (timer_create): Likewise.
42783 [XPG3 || XPG4] (timer_delete): Likewise.
42784 [XPG3 || XPG4] (timer_gettime): Likewise.
42785 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42786 [XPG3 || XPG4] (timer_settime): Likewise.
42787 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42788 [XPG3 || XPG4] (getlogin_r): Likewise.
42789 [XPG3 || XPG4] (pread): Likewise.
42790 [XPG3 || XPG4] (pthread_atfork): Likewise.
42791 [XPG3 || XPG4] (pwrite): Likewise.
42792
42793 [BZ #14835]
42794 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42795 <bits/siginfo.h>.
42796
42797 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42798
42799 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42800 finalizing MALLSTREAM.
42801
42802 * sysdeps/mach/hurd/syncfs.c: New file.
42803
42804 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42805
42806 [BZ #14719]
42807 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42808 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42809 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42810 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42811 (_nss_dns_gethostbyname4_r): Likewise.
42812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42813 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42814
42815 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42816
42817 [BZ #13763]
42818 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42819
42820 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42821
42822 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42823 * elf/cache.c (print_entry): Print ",AArch64" for
42824 FLAG_AARCH64_LIB64
42825
42826 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42827 * elf/cache.c (print_entry): Print ",hard-float" for
42828 FLAG_ARM_LIBHF.
42829
42830 2012-11-18 David S. Miller <davem@davemloft.net>
42831
42832 With help from Joseph Myers.
42833 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42834 cutoff to 2**-13.
42835 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42836 cutoff to 2**-25.
42837 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42838 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42839 small.
42840 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42841 * math/libm-test.inc (y0_test): New tests.
42842 (y1_test): New tests.
42843 * sysdeps/i386/fpu/libm-test-ulps: Update.
42844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42846
42847 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42848
42849 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42850 64-bit targets.
42851 * configure: Regenerated.
42852
42853 2012-11-17 David S. Miller <davem@davemloft.net>
42854
42855 [BZ #14811]
42856 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42857 nonzero exponents with absolute value below 0x1p-128 to +/-
42858 0x1p-128.
42859
42860 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42861
42862 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42863
42864 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42865
42866 * posix/getconf-speclist.c: New file.
42867 * posix/posix-envs.def: Likewise.
42868 * posix/confstr.c (START_ENV_GROUP): New macro.
42869 (END_ENV_GROUP): Likewise.
42870 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42871 (KNOWN_PRESENT_ENV_STRING): Likewise.
42872 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42873 (UNKNOWN_ENVIRONMENT): Likewise.
42874 (confstr): Include posix-envs.def instead of handling
42875 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42876 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42877 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42878 (END_ENV_GROUP): Likewise.
42879 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42880 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42881 (UNKNOWN_ENVIRONMENT): Likewise.
42882 (__sysconf): Include posix-envs.def instead of handling associated
42883 cases directly here.
42884 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42885 preprocessing getconf-speclist.c rather than running getconf or
42886 generating empty file.
42887
42888 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42889
42890 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42891
42892 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42893
42894 [BZ #14672]
42895 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42896
42897 2012-11-16 David S. Miller <davem@davemloft.net>
42898
42899 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42900 smaller than LDBL_EPSILON/2.0L, just return xm1.
42901
42902 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42903
42904 * elf/tst-array1.c (init): Set constructor priority to 1000.
42905 (fini): Set destructor priority to 1000.
42906 * elf/tst-array2dep.c: Likewise.
42907
42908 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42909
42910 [BZ #11741]
42911 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42912 (_IO_new_file_xsputn): Also return EOF if none of the input
42913 data was written when overflow failed.
42914 * libio/iopadn.c (_IO_padn): Likewise.
42915 * libio/iowpadn.c (_IO_wpadn): Likewise.
42916 * stdio-common/tst-put-error.c: Add copyright notice.
42917 (do_test): Add case for printing padded string.
42918 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42919 _IO_padn returned error.
42920 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42921 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42922 return EOF.
42923
42924 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42925
42926 * libio/libioP.h: Add comment note that the references to C++
42927 bits are now obsolete.
42928
42929 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42930
42931 * math/libm-test.inc (check_complex): Use asprintf.
42932
42933 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42934
42935 * debug/pcprofiledump.c (print_version): Update copyright year.
42936 * malloc/memusagestat.c (print_version): Likewise.
42937
42938 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42939
42940 [BZ #14831]
42941 * elf/Makefile (tests): Add tst-audit8.
42942 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42943 ($(objpfx)tst-audit8.out): New target.
42944 (tst-audit8-ENV): New variable.
42945 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42946 audit if l_reloc_result is NULL.
42947 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42948 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42949 * elf/tst-audit8.c: New file.
42950
42951 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42952
42953 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42954 * misc/Makefile (CFLAGS-select.c): Define.
42955 * posix/Makefile (CFLAGS-pause.c): Define.
42956
42957 2012-11-13 David S. Miller <davem@davemloft.net>
42958
42959 * crypt/Makefile: Move test targets after toplevel Rules
42960 inclusion. Grab any necessary sysdep routines when linking.
42961 * crypt/md5.c (md5_process_block): Remove define, we will always
42962 name it __md5_process_block.
42963 (md5_finish_ctx): Update md5_process_block call.
42964 (md5_stream): Likewise.
42965 (md5_process_bytes): Likewise.
42966 (md5_process_block): Rename to __md5_process_block and move to ...
42967 * crypt/md5-block.c: ... here.
42968 * crypt/sha256.c (sha256_process_block): Move to ...
42969 * crypt/sha256-block.c: ... here.
42970 * crypt/sha512.c (sha512_process_block): Move to ...
42971 * crypt/sha512-block.c: ... here.
42972 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42973 path.
42974 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42975 * sysdeps/sparc/sparc64/multiarch/Makefile
42976 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42977 crypt subdir.
42978 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42979 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42980 multiarch changes.
42981 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42982 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42983 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42984 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42985 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42986 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42987 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42988 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42989 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42990 file.
42991 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42992 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42993 file.
42994 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42995
42996 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42997
42998 * timezone/tzselect.ksh: Update from tzcode git revision
42999 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43000 * timezone/zdump.c: Likewise.
43001 * timezone/zic.c: Likewise.
43002 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43003 in TZVERSION setting, not $(PKGVERSION).
43004 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43005 REPORT_BUGS_TO settings.
43006
43007 [BZ #14838]
43008 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43009 macro.
43010
43011 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43012
43013 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43014 detection to immediately after _FP_ROUND().
43015 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43016 bits are 0.
43017
43018 2012-11-11 David S. Miller <davem@davemloft.net>
43019
43020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43021 inttypes.h
43022 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43023 __close rather than their public counterparts.
43024
43025 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43026
43027 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43028 file.
43029 [UNIX98] (sem_timedwait): Do not expect.
43030 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43031 [XPG4 || UNIX98] (sockatmark): Do not expect.
43032 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43033 (clock_getcpuclockid): Do not expect.
43034 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43035 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43036 Do not expect.
43037 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43038 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43039 [UNIX98] (vwscanf): Likewise.
43040 [UNIX98] (vswscanf): Likewise.
43041
43042 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43043
43044 * timezone/version.h: Remove file.
43045 * timezone/README: Do not refer to version.h.
43046 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43047 $(objpfx)version.h.
43048 ($(objpfx)zdump.o): Likewise.
43049 ($(objpfx)version.h): New target.
43050
43051 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43052 2012i.
43053 * timezone/README: Don't mention modification to tzselect.ksh.
43054 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43055 work on unmodified tzselect.ksh. Substitute version numbers in
43056 tzselect.ksh.
43057
43058 * Makefile (format-me): Remove.
43059 (INSTALL): Adjust indentation. Use commands directly instead of
43060 using $(format-me).
43061
43062 * aclocal.m4 (ACX_PKGVERSION): New macro.
43063 (ACX_BUGURL): Likewise.
43064 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43065 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43066 (REPORT_BUGS_TO): Likewise.
43067 * configure: Regenerated.
43068 * config.h.in (PKGVERSION): New macro.
43069 (REPORT_BUGS_TO): Likewise.
43070 * config.make.in (PKGVERSION): New variable.
43071 (PKGVERSION_TEXI): Likewise.
43072 (REPORT_BUGS_TO): Likewise.
43073 (REPORT_BUGS_TEXI): Likewise.
43074 * Makefile (format-me): Use -I$(common-objpfx)manual.
43075 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43076 ($(common-objpfx)manual/%): New target.
43077 (manual/%): Remove target.
43078 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43079 (print_version): Use PKGVERSION.
43080 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43081 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43082 and REPORT_BUGS_TO.
43083 ($(objpfx)xtrace): Likewise.
43084 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43085 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43086 (print_version): Use PKGVERSION.
43087 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43088 (do_version): Use PKGVERSION.
43089 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43090 REPORT_BUGS_TO.
43091 (common-ldd-rewrite): Likewise.
43092 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43093 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43094 (print_version): Use PKGVERSION.
43095 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43096 * elf/pldd.c (argp_program_bug_address): Remove variable.
43097 (more_help): New function.
43098 (argp): Use more_help.
43099 (print_version): Use PKGVERSION.
43100 * elf/sln.c (main): Use PKGVERSION.
43101 (usage): Use REPORT_BUGS_TO.
43102 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43103 (top level): Use PKGVERSION.
43104 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43105 (print_version): Use PKGVERSION.
43106 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43107 (print_version): Use PKGVERSION.
43108 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43109 (print_version): Use PKGVERSION.
43110 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43111 (print_version): Use PKGVERSION.
43112 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43113 (print_version): Use PKGVERSION.
43114 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43115 (print_version): Use PKGVERSION.
43116 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43117 and BUGURL.
43118 ($(objpfx)memusage): Likewise.
43119 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43120 (do_version): Use PKGVERSION.
43121 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43122 (print_version): Use PKGVERSION.
43123 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43124 ($PKGVERSION): New variable.
43125 ($REPORT_BUGS_TO): Likewise.
43126 (usage): Use $REPORT_BUGS_TO.
43127 (top level): Use $PKGVERSION.
43128 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43129 ($(objpfx)pkgvers.texi): New rule.
43130 ($(objpfx)stamp-pkgvers): Likewise.
43131 * manual/install.texi: Include pkgvers.texi.
43132 (--with-pkgversion): Document new configure option.
43133 (--with-bugurl): Likewise.
43134 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43135 than necessarily for this particular distribution. Use
43136 REPORT_BUGS_TO for where to report bugs.
43137 * INSTALL: Regenerated.
43138 * manual/libc.texinfo: Include pkgvers.texi.
43139 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43140 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43141 (print_version): Use PKGVERSION.
43142 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43143 (print_version): Use PKGVERSION.
43144 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43145 (print_version): Use PKGVERSION.
43146 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43147 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43148 macro.
43149 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43150 (print_version): Use PKGVERSION.
43151 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43152 (print_version): Use PKGVERSION.
43153 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43154 and PKGVERSION.
43155
43156 * timezone/checktab.awk: Update from tzcode 2012i.
43157 * timezone/ialloc.c: Likewise.
43158 * timezone/private.h: Likewise.
43159 * timezone/scheck.c: Likewise.
43160 * timezone/tzfile.h: Likewise.
43161 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43162 (TZVERSION): Hardcode tzcode version number.
43163 * timezone/zdump.c: Update from tzcode 2012i.
43164 * timezone/zic.c: Likewise.
43165 * timezone/version.h: New file.
43166 * timezone/README: Describe version.h. Update upstream location.
43167
43168 [BZ #14824]
43169 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43170 (mktemp): Enable declaration.
43171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43175 Likewise.
43176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43177 Likewise.
43178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43179 Likewise.
43180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43181 Likewise.
43182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43183 Likewise.
43184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43185 Likewise.
43186
43187 [BZ #14821]
43188 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43189 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43190 for copies of such integer values.
43191 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43192 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43193
43194 2012-11-09 Andreas Jaeger <aj@suse.de>
43195
43196 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43197 definitions and declarations that are provided by
43198 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43199
43200 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43201
43202 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43203 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43204 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43205 definition.
43206
43207 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43208
43209 * elf/elf.h: Update comment before AArch64 relocations.
43210
43211 2012-11-07 David S. Miller <davem@davemloft.net>
43212
43213 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43214 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43215 (__start_context): Declare.
43216 (__makecontext_ret): Delete.
43217 (__makecontext): Hook up __start_context instead of
43218 __makecontext_ret.
43219 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43220 (sysdep_routines): Add __start_context when in stdlib.
43221
43222 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43223
43224 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43225 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43226 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43227 hardcoded "nm".
43228 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43229 (READELF): New variable. Use it instead of hardcoded "readelf".
43230
43231 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43232
43233 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43234 * sysdeps/x86/Makefile: Here.
43235 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43236 * sysdeps/x86/tst-xmmymm.sh: This.
43237
43238 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43239
43240 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43241 expectations.
43242 [UNIX98] (pthread_barrier_t): Do not expect.
43243 [UNIX98] (pthread_barrierattr_t): Likewise.
43244 [UNIX98] (pthread_spinlock_t): Likewise.
43245 [UNIX98] (pthread_barrier_destroy): Likewise.
43246 [UNIX98] (pthread_barrier_init): Likewise.
43247 [UNIX98] (pthread_barrier_wait): Likewise.
43248 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43249 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43250 [UNIX98] (pthread_barrierattr_init): Likewise.
43251 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43252 [UNIX98] (pthread_getcpuclockid): Likewise.
43253 [UNIX98] (pthread_mutex_timedlock): Likewise.
43254 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43255 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43256 [UNIX98] (pthread_sigmask): Likewise.
43257 [UNIX98] (pthread_spin_destroy): Likewise.
43258 [UNIX98] (pthread_spin_init): Likewise.
43259 [UNIX98] (pthread_spin_lock): Likewise.
43260 [UNIX98] (pthread_spin_trylock): Likewise.
43261 [UNIX98] (pthread_spin_unlock): Likewise.
43262 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43263 Do not expect.
43264 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43265 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43266 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43267 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43268 [XPG3 || XPG4] (pthread_key_t): Likewise.
43269 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43270 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43271 [XPG3 || XPG4] (pthread_once_t): Likewise.
43272 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43273 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43274 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43275 [XPG3 || XPG4] (pthread_t): Likewise.
43276
43277 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43278 not expect.
43279 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43280
43281 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43282 Change function return type to int.
43283
43284 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43285 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43286 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43287 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43288 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43289 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43290 [!POSIX] (posix_madvise): Likewise.
43291 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43292 && !UNIX98].
43293 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43294 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43295 (mode_t): Likewise.
43296 (posix_mem_offset): Likewise.
43297 (posix_typed_mem_get_info): Likewise.
43298 (posix_typed_mem_open): Likewise.
43299
43300 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43301 Change condition to [XOPEN2K8].
43302
43303 * conform/conformtest.pl: Preprocess allow-header data with -x c
43304 instead of from stdin.
43305 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43306 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43307 [C99-based standards] (cerfc): Likewise.
43308 [C99-based standards] (cexp2): Likewise.
43309 [C99-based standards] (cexpm1): Likewise.
43310 [C99-based standards] (clog10): Likewise.
43311 [C99-based standards] (clog1p): Likewise.
43312 [C99-based standards] (clog2): Likewise.
43313 [C99-based standards] (clgamma): Likewise.
43314 [C99-based standards] (ctgamma): Likewise.
43315 [C99-based standards] (cerff): Likewise.
43316 [C99-based standards] (cerfcf): Likewise.
43317 [C99-based standards] (cexp2f): Likewise.
43318 [C99-based standards] (cexpm1f): Likewise.
43319 [C99-based standards] (clog10f): Likewise.
43320 [C99-based standards] (clog1pf): Likewise.
43321 [C99-based standards] (clog2f): Likewise.
43322 [C99-based standards] (clgammaf): Likewise.
43323 [C99-based standards] (ctgammaf): Likewise.
43324 [C99-based standards] (cerfl): Likewise.
43325 [C99-based standards] (cerfcl): Likewise.
43326 [C99-based standards] (cexp2l): Likewise.
43327 [C99-based standards] (cexpm1l): Likewise.
43328 [C99-based standards] (clog10l): Likewise.
43329 [C99-based standards] (clog1pl): Likewise.
43330 [C99-based standards] (clog2l): Likewise.
43331 [C99-based standards] (clgammal): Likewise.
43332 [C99-based standards] (ctgammal): Likewise.
43333 * conform/data/inttypes.h-data [C99-based standards]: Include
43334 stdint.h-data. Remove all expectations for stdint.h contents.
43335 [C99-based standards] (PRI*): Do not allow.
43336 [C99-based standards] (SCN*): Likewise.
43337 [C99-based standards] (*_t): Likewise.
43338 [C99-based-standards] (PRId8): Expect macro.
43339 [C99-based-standards] (PRIi8): Likewise.
43340 [C99-based-standards] (PRIo8): Likewise.
43341 [C99-based-standards] (PRIu8): Likewise.
43342 [C99-based-standards] (PRIx8): Likewise.
43343 [C99-based-standards] (PRIX8): Likewise.
43344 [C99-based-standards] (SCNd8): Likewise.
43345 [C99-based-standards] (SCNi8): Likewise.
43346 [C99-based-standards] (SCNo8): Likewise.
43347 [C99-based-standards] (SCNu8): Likewise.
43348 [C99-based-standards] (SCNx8): Likewise.
43349 [C99-based-standards] (PRIdLEAST8): Likewise.
43350 [C99-based-standards] (PRIiLEAST8): Likewise.
43351 [C99-based-standards] (PRIoLEAST8): Likewise.
43352 [C99-based-standards] (PRIuLEAST8): Likewise.
43353 [C99-based-standards] (PRIxLEAST8): Likewise.
43354 [C99-based-standards] (PRIXLEAST8): Likewise.
43355 [C99-based-standards] (SCNdLEAST8): Likewise.
43356 [C99-based-standards] (SCNiLEAST8): Likewise.
43357 [C99-based-standards] (SCNoLEAST8): Likewise.
43358 [C99-based-standards] (SCNuLEAST8): Likewise.
43359 [C99-based-standards] (SCNxLEAST8): Likewise.
43360 [C99-based-standards] (PRIdFAST8): Likewise.
43361 [C99-based-standards] (PRIiFAST8): Likewise.
43362 [C99-based-standards] (PRIoFAST8): Likewise.
43363 [C99-based-standards] (PRIuFAST8): Likewise.
43364 [C99-based-standards] (PRIxFAST8): Likewise.
43365 [C99-based-standards] (PRIXFAST8): Likewise.
43366 [C99-based-standards] (SCNdFAST8): Likewise.
43367 [C99-based-standards] (SCNiFAST8): Likewise.
43368 [C99-based-standards] (SCNoFAST8): Likewise.
43369 [C99-based-standards] (SCNuFAST8): Likewise.
43370 [C99-based-standards] (SCNxFAST8): Likewise.
43371 [C99-based-standards] (PRId16): Likewise.
43372 [C99-based-standards] (PRIi16): Likewise.
43373 [C99-based-standards] (PRIo16): Likewise.
43374 [C99-based-standards] (PRIu16): Likewise.
43375 [C99-based-standards] (PRIx16): Likewise.
43376 [C99-based-standards] (PRIX16): Likewise.
43377 [C99-based-standards] (SCNd16): Likewise.
43378 [C99-based-standards] (SCNi16): Likewise.
43379 [C99-based-standards] (SCNo16): Likewise.
43380 [C99-based-standards] (SCNu16): Likewise.
43381 [C99-based-standards] (SCNx16): Likewise.
43382 [C99-based-standards] (PRIdLEAST16): Likewise.
43383 [C99-based-standards] (PRIiLEAST16): Likewise.
43384 [C99-based-standards] (PRIoLEAST16): Likewise.
43385 [C99-based-standards] (PRIuLEAST16): Likewise.
43386 [C99-based-standards] (PRIxLEAST16): Likewise.
43387 [C99-based-standards] (PRIXLEAST16): Likewise.
43388 [C99-based-standards] (SCNdLEAST16): Likewise.
43389 [C99-based-standards] (SCNiLEAST16): Likewise.
43390 [C99-based-standards] (SCNoLEAST16): Likewise.
43391 [C99-based-standards] (SCNuLEAST16): Likewise.
43392 [C99-based-standards] (SCNxLEAST16): Likewise.
43393 [C99-based-standards] (PRIdFAST16): Likewise.
43394 [C99-based-standards] (PRIiFAST16): Likewise.
43395 [C99-based-standards] (PRIoFAST16): Likewise.
43396 [C99-based-standards] (PRIuFAST16): Likewise.
43397 [C99-based-standards] (PRIxFAST16): Likewise.
43398 [C99-based-standards] (PRIXFAST16): Likewise.
43399 [C99-based-standards] (SCNdFAST16): Likewise.
43400 [C99-based-standards] (SCNiFAST16): Likewise.
43401 [C99-based-standards] (SCNoFAST16): Likewise.
43402 [C99-based-standards] (SCNuFAST16): Likewise.
43403 [C99-based-standards] (SCNxFAST16): Likewise.
43404 [C99-based-standards] (PRId32): Likewise.
43405 [C99-based-standards] (PRIi32): Likewise.
43406 [C99-based-standards] (PRIo32): Likewise.
43407 [C99-based-standards] (PRIu32): Likewise.
43408 [C99-based-standards] (PRIx32): Likewise.
43409 [C99-based-standards] (PRIX32): Likewise.
43410 [C99-based-standards] (SCNd32): Likewise.
43411 [C99-based-standards] (SCNi32): Likewise.
43412 [C99-based-standards] (SCNo32): Likewise.
43413 [C99-based-standards] (SCNu32): Likewise.
43414 [C99-based-standards] (SCNx32): Likewise.
43415 [C99-based-standards] (PRIdLEAST32): Likewise.
43416 [C99-based-standards] (PRIiLEAST32): Likewise.
43417 [C99-based-standards] (PRIoLEAST32): Likewise.
43418 [C99-based-standards] (PRIuLEAST32): Likewise.
43419 [C99-based-standards] (PRIxLEAST32): Likewise.
43420 [C99-based-standards] (PRIXLEAST32): Likewise.
43421 [C99-based-standards] (SCNdLEAST32): Likewise.
43422 [C99-based-standards] (SCNiLEAST32): Likewise.
43423 [C99-based-standards] (SCNoLEAST32): Likewise.
43424 [C99-based-standards] (SCNuLEAST32): Likewise.
43425 [C99-based-standards] (SCNxLEAST32): Likewise.
43426 [C99-based-standards] (PRIdFAST32): Likewise.
43427 [C99-based-standards] (PRIiFAST32): Likewise.
43428 [C99-based-standards] (PRIoFAST32): Likewise.
43429 [C99-based-standards] (PRIuFAST32): Likewise.
43430 [C99-based-standards] (PRIxFAST32): Likewise.
43431 [C99-based-standards] (PRIXFAST32): Likewise.
43432 [C99-based-standards] (SCNdFAST32): Likewise.
43433 [C99-based-standards] (SCNiFAST32): Likewise.
43434 [C99-based-standards] (SCNoFAST32): Likewise.
43435 [C99-based-standards] (SCNuFAST32): Likewise.
43436 [C99-based-standards] (SCNxFAST32): Likewise.
43437 [C99-based-standards] (PRId64): Likewise.
43438 [C99-based-standards] (PRIi64): Likewise.
43439 [C99-based-standards] (PRIo64): Likewise.
43440 [C99-based-standards] (PRIu64): Likewise.
43441 [C99-based-standards] (PRIx64): Likewise.
43442 [C99-based-standards] (PRIX64): Likewise.
43443 [C99-based-standards] (SCNd64): Likewise.
43444 [C99-based-standards] (SCNi64): Likewise.
43445 [C99-based-standards] (SCNo64): Likewise.
43446 [C99-based-standards] (SCNu64): Likewise.
43447 [C99-based-standards] (SCNx64): Likewise.
43448 [C99-based-standards] (PRIdLEAST64): Likewise.
43449 [C99-based-standards] (PRIiLEAST64): Likewise.
43450 [C99-based-standards] (PRIoLEAST64): Likewise.
43451 [C99-based-standards] (PRIuLEAST64): Likewise.
43452 [C99-based-standards] (PRIxLEAST64): Likewise.
43453 [C99-based-standards] (PRIXLEAST64): Likewise.
43454 [C99-based-standards] (SCNdLEAST64): Likewise.
43455 [C99-based-standards] (SCNiLEAST64): Likewise.
43456 [C99-based-standards] (SCNoLEAST64): Likewise.
43457 [C99-based-standards] (SCNuLEAST64): Likewise.
43458 [C99-based-standards] (SCNxLEAST64): Likewise.
43459 [C99-based-standards] (PRIdFAST64): Likewise.
43460 [C99-based-standards] (PRIiFAST64): Likewise.
43461 [C99-based-standards] (PRIoFAST64): Likewise.
43462 [C99-based-standards] (PRIuFAST64): Likewise.
43463 [C99-based-standards] (PRIxFAST64): Likewise.
43464 [C99-based-standards] (PRIXFAST64): Likewise.
43465 [C99-based-standards] (SCNdFAST64): Likewise.
43466 [C99-based-standards] (SCNiFAST64): Likewise.
43467 [C99-based-standards] (SCNoFAST64): Likewise.
43468 [C99-based-standards] (SCNuFAST64): Likewise.
43469 [C99-based-standards] (SCNxFAST64): Likewise.
43470 [C99-based-standards] (PRIdMAX): Likewise.
43471 [C99-based-standards] (PRIiMAX): Likewise.
43472 [C99-based-standards] (PRIoMAX): Likewise.
43473 [C99-based-standards] (PRIuMAX): Likewise.
43474 [C99-based-standards] (PRIxMAX): Likewise.
43475 [C99-based-standards] (PRIXMAX): Likewise.
43476 [C99-based-standards] (SCNdMAX): Likewise.
43477 [C99-based-standards] (SCNiMAX): Likewise.
43478 [C99-based-standards] (SCNoMAX): Likewise.
43479 [C99-based-standards] (SCNuMAX): Likewise.
43480 [C99-based-standards] (SCNxMAX): Likewise.
43481 [C99-based-standards] (PRIdPTR): Likewise.
43482 [C99-based-standards] (PRIiPTR): Likewise.
43483 [C99-based-standards] (PRIoPTR): Likewise.
43484 [C99-based-standards] (PRIuPTR): Likewise.
43485 [C99-based-standards] (PRIxPTR): Likewise.
43486 [C99-based-standards] (PRIXPTR): Likewise.
43487 [C99-based-standards] (SCNdPTR): Likewise.
43488 [C99-based-standards] (SCNiPTR): Likewise.
43489 [C99-based-standards] (SCNoPTR): Likewise.
43490 [C99-based-standards] (SCNuPTR): Likewise.
43491 [C99-based-standards] (SCNxPTR): Likewise.
43492 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43493 allow.
43494 * conform/data/stdint.h-data: Update comments to clarify
43495 requirements.
43496 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43497 type.
43498 [C99-based standards] (INT8_MAX): Likewise.
43499 [C99-based standards] (INT16_MIN): Likewise.
43500 [C99-based standards] (INT16_MAX): Likewise.
43501 [C99-based standards] (INT32_MIN): Likewise.
43502 [C99-based standards] (INT32_MAX): Likewise.
43503 [C99-based standards] (INT64_MIN): Likewise.
43504 [C99-based standards] (INT64_MAX): Likewise.
43505 [C99-based standards] (UINT8_MAX): Likewise.
43506 [C99-based standards] (UINT16_MAX): Likewise.
43507 [C99-based standards] (UINT32_MAX): Likewise.
43508 [C99-based standards] (UINT64_MAX): Likewise.
43509 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43510 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43511 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43512 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43513 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43514 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43515 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43516 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43517 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43518 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43519 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43520 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43521 [C99-based standards] (INT_FAST8_MIN): Likewise.
43522 [C99-based standards] (INT_FAST8_MAX): Likewise.
43523 [C99-based standards] (INT_FAST16_MIN): Likewise.
43524 [C99-based standards] (INT_FAST16_MAX): Likewise.
43525 [C99-based standards] (INT_FAST32_MIN): Likewise.
43526 [C99-based standards] (INT_FAST32_MAX): Likewise.
43527 [C99-based standards] (INT_FAST64_MIN): Likewise.
43528 [C99-based standards] (INT_FAST64_MAX): Likewise.
43529 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43530 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43531 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43532 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43533 [C99-based standards] (INTPTR_MIN): Likewise.
43534 [C99-based standards] (INTPTR_MAX): Likewise.
43535 [C99-based standards] (UINTPTR_MAX): Likewise.
43536 [C99-based standards] (INTMAX_MIN): Likewise.
43537 [C99-based standards] (INTMAX_MAX): Likewise.
43538 [C99-based standards] (UINTMAX_MAX): Likewise.
43539 [C99-based standards] (PTRDIFF_MIN): Likewise.
43540 [C99-based standards] (PTRDIFF_MAX): Likewise.
43541 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43542 [C99-based standards] (SIZE_MAX): Likewise.
43543 [C99-based standards] (WCHAR_MAX): Likewise.
43544 [C99-based standards] (WINT_MAX): Likewise.
43545 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43546 constraint on value.
43547 [C99-based standards] (WCHAR_MIN): Likewise.
43548 [C99-based standards] (WINT_MIN): Likewise.
43549 [C99-based standards] (*_t): Allow.
43550 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43551 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43552 Include math.h-data and complex.h-data. Remove all expectations
43553 of math.h and complex.h contents.
43554 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43555 at end of line.
43556 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43557 (struct tm): Expect tag.
43558 [C99-based-standards] (wcstof): Expect function.
43559 [C99-based-standards] (wcstold): Likewise.
43560 [C99-based-standards] (wcstoll): Likewise.
43561 [C99-based-standards] (wcstoull): Likewise.
43562 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43563 macro-int-constant. Specify type.
43564 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43565 constraint on value.
43566 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43567 Specify type.
43568 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43569 Specify value.
43570 [ISO C standards]: Do not allow headers.
43571 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43572 wcs[abcdefghijklmnopqrstuvwxyz]*.
43573 [ISO C standards] (*_t): Do not allow.
43574 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43575 Expect function.
43576 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43577 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43578 Specify type.
43579 [ISO C standards]: Do not allow headers.
43580 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43581 is[abcdefghijklmnopqrstuvwxyz]*.
43582 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43583 to[abcdefghijklmnopqrstuvwxyz]*.
43584 [ISO C standards] (*_t): Do not allow.
43585 * conform/data/stdalign.h-data: New file.
43586 * conform/data/stdbool.h-data: Likewise.
43587 * conform/data/stdnoreturn.h-data: Likewise.
43588
43589 2012-11-07 Roland McGrath <roland@hack.frob.com>
43590
43591 [BZ #14815]
43592 * manual/filesys.texi (Directory Entries): Typo fix.
43593 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43594
43595 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43596
43597 * elf/elf.h (EM_AARCH64): New macro.
43598 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43599 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43600 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43601 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43602 (R_AARCH64_TLSDESC): Likewise.
43603 (NT_ARM_TLS): Likewise.
43604 (NT_ARM_HW_BREAK): Likewise.
43605 (NT_ARM_HW_WATCH): Likewise.
43606
43607 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43608
43609 [BZ #14811]
43610 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43611 (__ieee754_powl): Saturate nonzero exponents with absolute value
43612 below 0x1p-79 to +/- 0x1p-79.
43613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43614 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43615 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43616 nonzero exponents with absolute value below 0x1p-32 to +/-
43617 0x1p-32.
43618 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43619 (__ieee754_powl): Saturate nonzero exponents with absolute value
43620 below 0x1p-79 to +/- 0x1p-79.
43621 * math/libm-test.inc (pow_test): Add more tests.
43622
43623 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43624
43625 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43626 _dl_s390_cap_flags with kernel. Increase string length.
43627 (_dl_s390_platforms): Add z196 and zEC12.
43628
43629 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43630
43631 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43632 Change XOPEN21K to XOPEN2K.
43633
43634 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43635
43636 * string/memmove.c: Use memcpy when possible.
43637
43638 2012-11-06 Andreas Jaeger <aj@suse.de>
43639
43640 * po/eo.po: Update from translation team.
43641
43642 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43643
43644 [BZ #14793]
43645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43646 exponent and small x and y exponents, scale x or y up. Increase
43647 by 2 the exponent used in scaling up.
43648 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43649 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43650 * math/libm-test.inc (fma_test): Add more tests.
43651 (fma_test_towardzero): Likewise.
43652 (fma_test_downward): Likewise.
43653 (fma_test_upward): Likewise.
43654
43655 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43656
43657 [BZ #14805]
43658 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43659 fenv_t *.
43660
43661 [BZ #14801]
43662 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43663 namespace for names of struct fields.
43664 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43665 fenv_t fields.
43666 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43667 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43668
43669 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43670
43671 [BZ #3665]
43672 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43673
43674 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43675
43676 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43677 PTR_DEMANGLE.
43678
43679 [BZ #5246]
43680 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43681 PTR_DEMANGLE.
43682
43683 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43684
43685 [BZ #14797]
43686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43687 definitely overflow as x * y not x * y + z.
43688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43690 * math/libm-test.inc (fma_test): Add more tests.
43691 (fma_test_towardzero): Likewise.
43692 (fma_test_downward): Likewise.
43693 (fma_test_upward): Likewise.
43694
43695 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43696
43697 [BZ #157]
43698
43699 * include/stub-tag.h: Remove file.
43700 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43701 '#include' of it.
43702 * manual/maint.texi (Porting): Don't reference it.
43703 * Makerules ($(objpfx)stubs): Likewise.
43704 * dirent/closedir.c: Don't include <stub-tag.h>.
43705 * dirent/dirfd.c: Likewise.
43706 * dirent/fdopendir.c: Likewise.
43707 * dirent/getdents.c: Likewise.
43708 * dirent/getdents64.c: Likewise.
43709 * dirent/opendir.c: Likewise.
43710 * dirent/readdir.c: Likewise.
43711 * dirent/readdir64.c: Likewise.
43712 * dirent/readdir64_r.c: Likewise.
43713 * dirent/readdir_r.c: Likewise.
43714 * dirent/rewinddir.c: Likewise.
43715 * dirent/seekdir.c: Likewise.
43716 * dirent/telldir.c: Likewise.
43717 * gmon/profil.c: Likewise.
43718 * grp/setgroups.c: Likewise.
43719 * inet/if_index.c: Likewise.
43720 * io/access.c: Likewise.
43721 * io/chdir.c: Likewise.
43722 * io/chmod.c: Likewise.
43723 * io/chown.c: Likewise.
43724 * io/close.c: Likewise.
43725 * io/dup.c: Likewise.
43726 * io/dup2.c: Likewise.
43727 * io/dup3.c: Likewise.
43728 * io/euidaccess.c: Likewise.
43729 * io/faccessat.c: Likewise.
43730 * io/fchdir.c: Likewise.
43731 * io/fchmod.c: Likewise.
43732 * io/fchmodat.c: Likewise.
43733 * io/fchown.c: Likewise.
43734 * io/fchownat.c: Likewise.
43735 * io/fcntl.c: Likewise.
43736 * io/flock.c: Likewise.
43737 * io/fstatfs.c: Likewise.
43738 * io/fstatfs64.c: Likewise.
43739 * io/fstatvfs.c: Likewise.
43740 * io/fstatvfs64.c: Likewise.
43741 * io/futimens.c: Likewise.
43742 * io/fxstat.c: Likewise.
43743 * io/fxstat64.c: Likewise.
43744 * io/fxstatat.c: Likewise.
43745 * io/fxstatat64.c: Likewise.
43746 * io/getcwd.c: Likewise.
43747 * io/isatty.c: Likewise.
43748 * io/lchmod.c: Likewise.
43749 * io/lchown.c: Likewise.
43750 * io/link.c: Likewise.
43751 * io/linkat.c: Likewise.
43752 * io/lseek.c: Likewise.
43753 * io/lseek64.c: Likewise.
43754 * io/lxstat64.c: Likewise.
43755 * io/mkdir.c: Likewise.
43756 * io/mkdirat.c: Likewise.
43757 * io/mkfifo.c: Likewise.
43758 * io/mkfifoat.c: Likewise.
43759 * io/open.c: Likewise.
43760 * io/open64.c: Likewise.
43761 * io/openat.c: Likewise.
43762 * io/openat64.c: Likewise.
43763 * io/pipe.c: Likewise.
43764 * io/pipe2.c: Likewise.
43765 * io/poll.c: Likewise.
43766 * io/posix_fadvise.c: Likewise.
43767 * io/posix_fadvise64.c: Likewise.
43768 * io/posix_fallocate.c: Likewise.
43769 * io/posix_fallocate64.c: Likewise.
43770 * io/read.c: Likewise.
43771 * io/readlink.c: Likewise.
43772 * io/readlinkat.c: Likewise.
43773 * io/rmdir.c: Likewise.
43774 * io/sendfile.c: Likewise.
43775 * io/sendfile64.c: Likewise.
43776 * io/statfs.c: Likewise.
43777 * io/statfs64.c: Likewise.
43778 * io/statvfs.c: Likewise.
43779 * io/statvfs64.c: Likewise.
43780 * io/symlink.c: Likewise.
43781 * io/symlinkat.c: Likewise.
43782 * io/ttyname.c: Likewise.
43783 * io/ttyname_r.c: Likewise.
43784 * io/umask.c: Likewise.
43785 * io/unlink.c: Likewise.
43786 * io/unlinkat.c: Likewise.
43787 * io/utime.c: Likewise.
43788 * io/utimensat.c: Likewise.
43789 * io/write.c: Likewise.
43790 * io/xmknod.c: Likewise.
43791 * io/xmknodat.c: Likewise.
43792 * io/xstat.c: Likewise.
43793 * io/xstat64.c: Likewise.
43794 * login/getpt.c: Likewise.
43795 * login/grantpt.c: Likewise.
43796 * login/unlockpt.c: Likewise.
43797 * math/e_acoshl.c: Likewise.
43798 * math/e_acosl.c: Likewise.
43799 * math/e_asinl.c: Likewise.
43800 * math/e_atan2l.c: Likewise.
43801 * math/e_atanhl.c: Likewise.
43802 * math/e_coshl.c: Likewise.
43803 * math/e_expl.c: Likewise.
43804 * math/e_fmodl.c: Likewise.
43805 * math/e_gammal_r.c: Likewise.
43806 * math/e_hypotl.c: Likewise.
43807 * math/e_j0l.c: Likewise.
43808 * math/e_j1l.c: Likewise.
43809 * math/e_jnl.c: Likewise.
43810 * math/e_lgammal_r.c: Likewise.
43811 * math/e_log10l.c: Likewise.
43812 * math/e_log2l.c: Likewise.
43813 * math/e_logl.c: Likewise.
43814 * math/e_powl.c: Likewise.
43815 * math/e_rem_pio2l.c: Likewise.
43816 * math/e_sinhl.c: Likewise.
43817 * math/e_sqrtl.c: Likewise.
43818 * math/fclrexcpt.c: Likewise.
43819 * math/fedisblxcpt.c: Likewise.
43820 * math/feenablxcpt.c: Likewise.
43821 * math/fegetenv.c: Likewise.
43822 * math/fegetexcept.c: Likewise.
43823 * math/fegetround.c: Likewise.
43824 * math/feholdexcpt.c: Likewise.
43825 * math/fesetenv.c: Likewise.
43826 * math/fesetround.c: Likewise.
43827 * math/feupdateenv.c: Likewise.
43828 * math/fgetexcptflg.c: Likewise.
43829 * math/fraiseexcpt.c: Likewise.
43830 * math/fsetexcptflg.c: Likewise.
43831 * math/ftestexcept.c: Likewise.
43832 * math/k_cosl.c: Likewise.
43833 * math/k_rem_pio2l.c: Likewise.
43834 * math/k_sinl.c: Likewise.
43835 * math/k_tanl.c: Likewise.
43836 * math/s_asinhl.c: Likewise.
43837 * math/s_atanl.c: Likewise.
43838 * math/s_cbrtl.c: Likewise.
43839 * math/s_erfl.c: Likewise.
43840 * math/s_expm1l.c: Likewise.
43841 * math/s_log1pl.c: Likewise.
43842 * math/s_tanhl.c: Likewise.
43843 * misc/acct.c: Likewise.
43844 * misc/brk.c: Likewise.
43845 * misc/chflags.c: Likewise.
43846 * misc/chroot.c: Likewise.
43847 * misc/fchflags.c: Likewise.
43848 * misc/fgetxattr.c: Likewise.
43849 * misc/flistxattr.c: Likewise.
43850 * misc/fremovexattr.c: Likewise.
43851 * misc/fsetxattr.c: Likewise.
43852 * misc/fsync.c: Likewise.
43853 * misc/ftruncate.c: Likewise.
43854 * misc/futimes.c: Likewise.
43855 * misc/futimesat.c: Likewise.
43856 * misc/getdomain.c: Likewise.
43857 * misc/getdtsz.c: Likewise.
43858 * misc/gethostid.c: Likewise.
43859 * misc/gethostname.c: Likewise.
43860 * misc/getloadavg.c: Likewise.
43861 * misc/getpagesize.c: Likewise.
43862 * misc/getsysstats.c: Likewise.
43863 * misc/getxattr.c: Likewise.
43864 * misc/gtty.c: Likewise.
43865 * misc/ioctl.c: Likewise.
43866 * misc/lgetxattr.c: Likewise.
43867 * misc/listxattr.c: Likewise.
43868 * misc/llistxattr.c: Likewise.
43869 * misc/lremovexattr.c: Likewise.
43870 * misc/lsetxattr.c: Likewise.
43871 * misc/lutimes.c: Likewise.
43872 * misc/madvise.c: Likewise.
43873 * misc/mincore.c: Likewise.
43874 * misc/mlock.c: Likewise.
43875 * misc/mlockall.c: Likewise.
43876 * misc/mmap.c: Likewise.
43877 * misc/mprotect.c: Likewise.
43878 * misc/msync.c: Likewise.
43879 * misc/munlock.c: Likewise.
43880 * misc/munlockall.c: Likewise.
43881 * misc/munmap.c: Likewise.
43882 * misc/preadv.c: Likewise.
43883 * misc/preadv64.c: Likewise.
43884 * misc/ptrace.c: Likewise.
43885 * misc/pwritev.c: Likewise.
43886 * misc/pwritev64.c: Likewise.
43887 * misc/readv.c: Likewise.
43888 * misc/reboot.c: Likewise.
43889 * misc/remap_file_pages.c: Likewise.
43890 * misc/removexattr.c: Likewise.
43891 * misc/revoke.c: Likewise.
43892 * misc/select.c: Likewise.
43893 * misc/setdomain.c: Likewise.
43894 * misc/setegid.c: Likewise.
43895 * misc/seteuid.c: Likewise.
43896 * misc/sethostid.c: Likewise.
43897 * misc/sethostname.c: Likewise.
43898 * misc/setregid.c: Likewise.
43899 * misc/setreuid.c: Likewise.
43900 * misc/setxattr.c: Likewise.
43901 * misc/sstk.c: Likewise.
43902 * misc/stty.c: Likewise.
43903 * misc/swapoff.c: Likewise.
43904 * misc/swapon.c: Likewise.
43905 * misc/sync.c: Likewise.
43906 * misc/syncfs.c: Likewise.
43907 * misc/syscall.c: Likewise.
43908 * misc/truncate.c: Likewise.
43909 * misc/ualarm.c: Likewise.
43910 * misc/usleep.c: Likewise.
43911 * misc/ustat.c: Likewise.
43912 * misc/utimes.c: Likewise.
43913 * misc/vhangup.c: Likewise.
43914 * misc/writev.c: Likewise.
43915 * posix/_exit.c: Likewise.
43916 * posix/alarm.c: Likewise.
43917 * posix/execve.c: Likewise.
43918 * posix/fexecve.c: Likewise.
43919 * posix/fork.c: Likewise.
43920 * posix/fpathconf.c: Likewise.
43921 * posix/getaddrinfo.c: Likewise.
43922 * posix/getegid.c: Likewise.
43923 * posix/geteuid.c: Likewise.
43924 * posix/getgid.c: Likewise.
43925 * posix/getgroups.c: Likewise.
43926 * posix/getlogin.c: Likewise.
43927 * posix/getlogin_r.c: Likewise.
43928 * posix/getpgid.c: Likewise.
43929 * posix/getpid.c: Likewise.
43930 * posix/getppid.c: Likewise.
43931 * posix/getresgid.c: Likewise.
43932 * posix/getresuid.c: Likewise.
43933 * posix/getsid.c: Likewise.
43934 * posix/getuid.c: Likewise.
43935 * posix/glob64.c: Likewise.
43936 * posix/nanosleep.c: Likewise.
43937 * posix/pathconf.c: Likewise.
43938 * posix/pause.c: Likewise.
43939 * posix/posix_madvise.c: Likewise.
43940 * posix/pread.c: Likewise.
43941 * posix/pread64.c: Likewise.
43942 * posix/pwrite.c: Likewise.
43943 * posix/pwrite64.c: Likewise.
43944 * posix/sched_getaffinity.c: Likewise.
43945 * posix/sched_getp.c: Likewise.
43946 * posix/sched_gets.c: Likewise.
43947 * posix/sched_primax.c: Likewise.
43948 * posix/sched_primin.c: Likewise.
43949 * posix/sched_rr_gi.c: Likewise.
43950 * posix/sched_setaffinity.c: Likewise.
43951 * posix/sched_setp.c: Likewise.
43952 * posix/sched_sets.c: Likewise.
43953 * posix/sched_yield.c: Likewise.
43954 * posix/setgid.c: Likewise.
43955 * posix/setlogin.c: Likewise.
43956 * posix/setpgid.c: Likewise.
43957 * posix/setresgid.c: Likewise.
43958 * posix/setresuid.c: Likewise.
43959 * posix/setsid.c: Likewise.
43960 * posix/setuid.c: Likewise.
43961 * posix/sleep.c: Likewise.
43962 * posix/spawni.c: Likewise.
43963 * posix/sysconf.c: Likewise.
43964 * posix/times.c: Likewise.
43965 * posix/wait.c: Likewise.
43966 * posix/wait3.c: Likewise.
43967 * posix/wait4.c: Likewise.
43968 * posix/waitpid.c: Likewise.
43969 * resolv/gai_sigqueue.c: Likewise.
43970 * resource/getpriority.c: Likewise.
43971 * resource/getrlimit.c: Likewise.
43972 * resource/getrusage.c: Likewise.
43973 * resource/nice.c: Likewise.
43974 * resource/setpriority.c: Likewise.
43975 * resource/setrlimit.c: Likewise.
43976 * resource/ulimit.c: Likewise.
43977 * rt/aio_cancel.c: Likewise.
43978 * rt/aio_fsync.c: Likewise.
43979 * rt/aio_read.c: Likewise.
43980 * rt/aio_sigqueue.c: Likewise.
43981 * rt/aio_suspend.c: Likewise.
43982 * rt/aio_write.c: Likewise.
43983 * rt/clock_getres.c: Likewise.
43984 * rt/clock_gettime.c: Likewise.
43985 * rt/clock_nanosleep.c: Likewise.
43986 * rt/clock_settime.c: Likewise.
43987 * rt/lio_listio.c: Likewise.
43988 * rt/mq_close.c: Likewise.
43989 * rt/mq_getattr.c: Likewise.
43990 * rt/mq_notify.c: Likewise.
43991 * rt/mq_open.c: Likewise.
43992 * rt/mq_receive.c: Likewise.
43993 * rt/mq_send.c: Likewise.
43994 * rt/mq_setattr.c: Likewise.
43995 * rt/mq_timedreceive.c: Likewise.
43996 * rt/mq_timedsend.c: Likewise.
43997 * rt/mq_unlink.c: Likewise.
43998 * rt/shm_open.c: Likewise.
43999 * rt/shm_unlink.c: Likewise.
44000 * rt/timer_create.c: Likewise.
44001 * rt/timer_delete.c: Likewise.
44002 * rt/timer_getoverr.c: Likewise.
44003 * rt/timer_gettime.c: Likewise.
44004 * rt/timer_settime.c: Likewise.
44005 * setjmp/__longjmp.c: Likewise.
44006 * setjmp/setjmp.c: Likewise.
44007 * signal/kill.c: Likewise.
44008 * signal/killpg.c: Likewise.
44009 * signal/raise.c: Likewise.
44010 * signal/sigaction.c: Likewise.
44011 * signal/sigaltstack.c: Likewise.
44012 * signal/sigblock.c: Likewise.
44013 * signal/sigignore.c: Likewise.
44014 * signal/sigintr.c: Likewise.
44015 * signal/signal.c: Likewise.
44016 * signal/sigpause.c: Likewise.
44017 * signal/sigpending.c: Likewise.
44018 * signal/sigqueue.c: Likewise.
44019 * signal/sigreturn.c: Likewise.
44020 * signal/sigset.c: Likewise.
44021 * signal/sigsetmask.c: Likewise.
44022 * signal/sigstack.c: Likewise.
44023 * signal/sigsuspend.c: Likewise.
44024 * signal/sigtimedwait.c: Likewise.
44025 * signal/sigvec.c: Likewise.
44026 * signal/sigwait.c: Likewise.
44027 * signal/sigwaitinfo.c: Likewise.
44028 * signal/sysv_signal.c: Likewise.
44029 * socket/accept.c: Likewise.
44030 * socket/accept4.c: Likewise.
44031 * socket/bind.c: Likewise.
44032 * socket/connect.c: Likewise.
44033 * socket/getpeername.c: Likewise.
44034 * socket/getsockname.c: Likewise.
44035 * socket/getsockopt.c: Likewise.
44036 * socket/isfdtype.c: Likewise.
44037 * socket/listen.c: Likewise.
44038 * socket/recv.c: Likewise.
44039 * socket/recvfrom.c: Likewise.
44040 * socket/recvmsg.c: Likewise.
44041 * socket/send.c: Likewise.
44042 * socket/sendmsg.c: Likewise.
44043 * socket/sendto.c: Likewise.
44044 * socket/setsockopt.c: Likewise.
44045 * socket/shutdown.c: Likewise.
44046 * socket/sockatmark.c: Likewise.
44047 * socket/socket.c: Likewise.
44048 * socket/socketpair.c: Likewise.
44049 * stdio-common/ctermid.c: Likewise.
44050 * stdio-common/cuserid.c: Likewise.
44051 * stdio-common/remove.c: Likewise.
44052 * stdio-common/rename.c: Likewise.
44053 * stdio-common/renameat.c: Likewise.
44054 * stdio-common/tempname.c: Likewise.
44055 * stdlib/getcontext.c: Likewise.
44056 * stdlib/makecontext.c: Likewise.
44057 * stdlib/setcontext.c: Likewise.
44058 * stdlib/swapcontext.c: Likewise.
44059 * stdlib/system.c: Likewise.
44060 * streams/fattach.c: Likewise.
44061 * streams/fdetach.c: Likewise.
44062 * streams/getmsg.c: Likewise.
44063 * streams/getpmsg.c: Likewise.
44064 * streams/putmsg.c: Likewise.
44065 * streams/putpmsg.c: Likewise.
44066 * sysdeps/unix/bsd/getpt.c: Likewise.
44067 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44068 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44069 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44071 Likewise.
44072 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44073 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44074 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44075 * sysvipc/msgctl.c: Likewise.
44076 * sysvipc/msgget.c: Likewise.
44077 * sysvipc/msgrcv.c: Likewise.
44078 * sysvipc/msgsnd.c: Likewise.
44079 * sysvipc/semctl.c: Likewise.
44080 * sysvipc/semget.c: Likewise.
44081 * sysvipc/semop.c: Likewise.
44082 * sysvipc/semtimedop.c: Likewise.
44083 * sysvipc/shmat.c: Likewise.
44084 * sysvipc/shmctl.c: Likewise.
44085 * sysvipc/shmdt.c: Likewise.
44086 * sysvipc/shmget.c: Likewise.
44087 * termios/tcdrain.c: Likewise.
44088 * termios/tcflow.c: Likewise.
44089 * termios/tcflush.c: Likewise.
44090 * termios/tcgetattr.c: Likewise.
44091 * termios/tcgetpgrp.c: Likewise.
44092 * termios/tcsendbrk.c: Likewise.
44093 * termios/tcsetattr.c: Likewise.
44094 * termios/tcsetpgrp.c: Likewise.
44095 * time/adjtime.c: Likewise.
44096 * time/clock.c: Likewise.
44097 * time/getitimer.c: Likewise.
44098 * time/gettimeofday.c: Likewise.
44099 * time/setitimer.c: Likewise.
44100 * time/settimeofday.c: Likewise.
44101 * time/stime.c: Likewise.
44102 * time/time.c: Likewise.
44103
44104 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44105
44106 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44107 /usr/old/bin.
44108
44109 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44110 instead of spaces.
44111 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44112
44113 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44114
44115 [BZ #14796]
44116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44117 FE_TONEAREST before applying Dekker multiplication and Knuth
44118 addition. Clear inexact exceptions and check for exact zero
44119 results afterwards.
44120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44121 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44123 * math/libm-test.inc (fma_test): Add more tests.
44124 (fma_test_towardzero): Likewise.
44125 (fma_test_downward): Likewise.
44126 (fma_test_upward): Likewise.
44127 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44128 function.
44129 (libc_fesetround): New macro.
44130 (libc_fesetroundf): Likewise.
44131 (libc_fesetroundl): Likewise.
44132 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44133 function.
44134 (libc_fesetround_387): Likewise.
44135 (libc_fesetroundf): New macro.
44136 (libc_fesetround): Likewise.
44137 (libc_fesetroundl): Likewise.
44138 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44139 function.
44140 (libc_fesetroundf): New macro.
44141 (libc_fesetround): Likewise.
44142 (libc_fesetroundl): Likewise.
44143 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44144 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44145 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44146 libm_hidden_ver.
44147 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44148 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44149 libm_hidden_def.
44150 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44151 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44152 libm_hidden_ver.
44153 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44154 libm_hidden_def.
44155
44156 [BZ #3439]
44157 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44158 integer constant usable in #if and use that to give value to enum
44159 constant.
44160 (FE_DIVBYZERO): Likewise.
44161 (FE_UNDERFLOW): Likewise.
44162 (FE_OVERFLOW): Likewise.
44163 (FE_INVALID): Likewise.
44164 (FE_INVALID_SNAN): Likewise.
44165 (FE_INVALID_ISI): Likewise.
44166 (FE_INVALID_IDI): Likewise.
44167 (FE_INVALID_ZDZ): Likewise.
44168 (FE_INVALID_IMZ): Likewise.
44169 (FE_INVALID_COMPARE): Likewise.
44170 (FE_INVALID_SOFTWARE): Likewise.
44171 (FE_INVALID_SQRT): Likewise.
44172 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44173 (FE_TONEAREST): Likewise.
44174 (FE_TOWARDZERO): Likewise.
44175 (FE_UPWARD): Likewise.
44176 (FE_DOWNWARD): Likewise.
44177 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44178 (FE_DIVBYZERO): Likewise.
44179 (FE_OVERFLOW): Likewise.
44180 (FE_UNDERFLOW): Likewise.
44181 (FE_INEXACT): Likewise.
44182 (FE_TONEAREST): Likewise.
44183 (FE_DOWNWARD): Likewise.
44184 (FE_UPWARD): Likewise.
44185 (FE_TOWARDZERO): Likewise.
44186 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44187 (FE_UNDERFLOW): Likewise.
44188 (FE_OVERFLOW): Likewise.
44189 (FE_DIVBYZERO): Likewise.
44190 (FE_INVALID): Likewise.
44191 (FE_TONEAREST): Likewise.
44192 (FE_TOWARDZERO): Likewise.
44193 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44194 (FE_OVERFLOW): Likewise.
44195 (FE_UNDERFLOW): Likewise.
44196 (FE_DIVBYZERO): Likewise.
44197 (FE_INEXACT): Likewise.
44198 (FE_TONEAREST): Likewise.
44199 (FE_TOWARDZERO): Likewise.
44200 (FE_UPWARD): Likewise.
44201 (FE_DOWNWARD): Likewise.
44202 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44203 (FE_DIVBYZERO): Likewise.
44204 (FE_OVERFLOW): Likewise.
44205 (FE_UNDERFLOW): Likewise.
44206 (FE_INEXACT): Likewise.
44207 (FE_TONEAREST): Likewise.
44208 (FE_DOWNWARD): Likewise.
44209 (FE_UPWARD): Likewise.
44210 (FE_TOWARDZERO): Likewise.
44211
44212 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44213
44214 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44215
44216 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44217
44218 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44219 commands. Quote $PWD.
44220 (blacklist_exports): Don't use remove_newlines. Replace "declare
44221 -x" by "export".
44222 (remove_newlines): Remove.
44223
44224 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44225
44226 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44227 * stdlib/stdlib.h (atof): Moved to ...
44228 * include/bits/stdlib-float.h: Here. New file.
44229 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44230 * stdlib/bits/stdlib-float.h: New file.
44231 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44232 -mno-sse -mno-mmx.
44233 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44234 <xmmintrin.h>.
44235
44236 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44237
44238 * conform/conformtest.pl (@headers): Add fenv.h.
44239 * conform/data/fenv.h-data: New file.
44240 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44241 include of <math/fenv.h>.
44242
44243 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44244 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44245 && !UNIX98]. Enables tests for XOPEN2K8.
44246 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44247 POSIX2008]: Likewise.
44248
44249 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44250 (struct rusage): Do not expect type or its members.
44251
44252 [BZ #3439]
44253 * math/math.h (FP_NAN): Define macro to integer constant usable in
44254 #if and use that to give value to enum constant.
44255 (FP_INFINITE): Likewise.
44256 (FP_ZERO): Likewise.
44257 (FP_SUBNORMAL): Likewise.
44258 (FP_NORMAL): Likewise.
44259
44260 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44261
44262 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44263 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44264 arguments.
44265
44266 2012-11-02 Roland McGrath <roland@hack.frob.com>
44267
44268 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44269 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44270 autoconf-time if not.
44271 * configure.in: Remove AC_PREREQ.
44272
44273 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44274
44275 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44276 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44277 of the internal implementation.
44278
44279 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44280
44281 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44282 except include of <misc/sys/syslog.h>.
44283
44284 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44285
44286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44287 function returns with a NULL context exit with zero.
44288
44289 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44290
44291 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44292
44293 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44294
44295 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44296 (run_program_cmd): This.
44297 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44298 (tst_langinfo): New variable. Use it.
44299
44300 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44301
44302 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44303 floating point opcodes.
44304
44305 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44306
44307 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44308 variable.
44309
44310 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44311
44312 * sysdeps/mach/hurd/powerpc: Remove directory.
44313 * sysdeps/mach/powerpc: Likewise.
44314
44315 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44316
44317 * scripts/check-local-headers.sh: Ignore c++ headers.
44318
44319 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44320
44321 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44322 __libc_cleanup_region_start argument.
44323
44324 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44325
44326 [BZ #14784]
44327 [BZ #14785]
44328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44329 x * y using scaling, not as x * y + z.
44330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44332 * math/libm-test.inc (fma_test): Add more tests.
44333 (fma_test_towardzero): Likewise.
44334 (fma_test_downward): Likewise.
44335 (fma_test_upward): Likewise.
44336
44337 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44338
44339 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44340
44341 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44342
44343 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44344 New variable.
44345
44346 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44347
44348 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44349
44350 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44351
44352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44353 Fix sort order.
44354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44355 Likewise.
44356
44357 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44358
44359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44360 Fix the order of the list for glibc 2.17.
44361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44362 Likewise.
44363
44364 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44365
44366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44367
44368 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44369
44370 [BZ #14610]
44371 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44372 for low part of x being zero before using __atanl (y).
44373 * math/libm-test.inc (atan2_test): Add another test.
44374
44375 * manual/install.texi (Configuring and compiling): Document
44376 general use of test-wrapper and test-wrapper-env.
44377 * INSTALL: Regenerated.
44378
44379 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44380 (__fma): Do not extract and scale down low bits on after-rounding
44381 systems when result rounded to normal precision would have normal
44382 exponent.
44383 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44384 (__fmal): Do not extract and scale down low bits on after-rounding
44385 systems when result rounded to normal precision would have normal
44386 exponent.
44387 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44388 (__fmal): Do not extract and scale down low bits on after-rounding
44389 systems when result rounded to normal precision would have normal
44390 exponent.
44391 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44392 macro.
44393 (fma_test): Add more tests.
44394 (fma_test_towardzero): Likewise.
44395 (fma_test_downward): Likewise.
44396 (fma_test_upward): Likewise.
44397
44398 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44399
44400 * sysdeps/i386/tininess.h: Renamed to ...
44401 * sysdeps/x86/tininess.h: This.
44402 * sysdeps/x86_64/tininess.h: Removed.
44403
44404 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44405
44406 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44407 input. Use $(build-program-cmd).
44408 ($(objpfx)tst-array1-static.out): Likewise.
44409 ($(objpfx)tst-array2.out): Likewise.
44410 ($(objpfx)tst-array3.out): Likewise.
44411 ($(objpfx)tst-array4.out): Likewise.
44412 ($(objpfx)tst-array5.out): Likewise.
44413 ($(objpfx)tst-array5-static.out): Likewise.
44414
44415 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44416
44417 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44418 if defined.
44419
44420 * nss/nsswitch.h (nss_interface_function): Provide new
44421 macro for use with NSS functions.
44422 * grp/initgroups.c: Use new macro.
44423 * nss/getXXbyYY.c: Likewise.
44424 * nss/getXXbyYY_r.c: Likewise.
44425 * nss/getXXent.c: Likewise.
44426 * nss/getXXent_r.c: Likewise.
44427 * sysdeps/posix/getaddrinfo.c: Likewise.
44428
44429 2012-10-30 Andreas Jaeger <aj@suse.de>
44430
44431 * po/ru.po: Update Russion translation from translation project.
44432
44433 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44434
44435 [BZ #14152]
44436 [BZ #14783]
44437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44438 result and shift together with sticky bit instead of replicating
44439 round-to-nearest rounding.
44440 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44441 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44442 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44443 missing underflow exceptions.
44444 (fma_test_towardzero): Add more tests.
44445 (fma_test_downward): Likewise.
44446 (fma_test_upward): Likewise.
44447
44448 [BZ #14047]
44449 * sysdeps/generic/tininess.h: New file.
44450 * sysdeps/i386/tininess.h: Likewise.
44451 * sysdeps/sh/tininess.h: Likewise.
44452 * sysdeps/x86_64/tininess.h: Likewise.
44453 * stdlib/tst-strtod-underflow.c: Likewise.
44454 * stdlib/tst-tininess.c: Likewise.
44455 * stdlib/strtod_l.c: Include <tininess.h>.
44456 (round_and_return): Do not set errno for exact underflow cases.
44457 Force an underflow exception when setting errno for underflow.
44458 Determine underflow based on rounding to normal precision if
44459 TININESS_AFTER_ROUNDING.
44460 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44461 ERANGE for exact underflow cases.
44462 * stdlib/Makefile (tests): Add tst-tininess and
44463 tst-strtod-underflow.
44464 ($(objpfx)tst-tininess): Use $(link-libm).
44465 ($(objpfx)tst-strtod-underflow): Likewise.
44466
44467 2012-10-30 Andreas Jaeger <aj@suse.de>
44468
44469 [BZ#14767]
44470 * elf/Makefile (tests): Remove conditional for have-initfini-array
44471 since this is now always required and the variable does not exist
44472 anymore.
44473 (tests-static): Likewise.
44474 (modules-names): Likewise.
44475
44476 * po/eo.po: Add Esperanto translation from translation project.
44477
44478 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44479 merged with constructor/destructor.
44480 (init_array): Likewise.
44481 * elf/tst-array2dep.c (fini_array): Likewise.
44482 (init_array): Likewise.
44483
44484 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44485
44486 * manual/message.texi: Delete @cartouche tags.
44487
44488 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44489
44490 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44491 EOPNOTSUPP.
44492 * sysdeps/mach/hurd/fsync.c: Likewise.
44493
44494 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44495 [_POSIX_REALTIME_SIGNALS]: Change condition to
44496 [_POSIX_REALTIME_SIGNALS > 0].
44497
44498 2012-10-27 Andreas Jaeger <aj@suse.de>
44499
44500 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44501 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44503 [__WORDSIZE != 64]: Likewise.
44504
44505 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44506
44507 * iconvdata/tst-table.sh: Remove ${SHELL}.
44508 * iconvdata/tst-tables.sh: Likewise.
44509
44510 2012-10-25 David S. Miller <davem@davemloft.net>
44511
44512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44513 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44514 of strtoull.
44515
44516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44517 ifunc-impl-list.c
44518 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44519 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44520 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44521 file.
44522
44523 2012-10-25 Roland McGrath <roland@hack.frob.com>
44524
44525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44526 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44527 __getdirentries.
44528
44529 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44530 Jim Blandy <jimb@codesourcery.com>
44531
44532 * scripts/cross-test-ssh.sh: New file.
44533 * manual/install.texi (Configuring and compiling): Document use of
44534 cross-test-ssh.sh.
44535 * INSTALL: Regenerated.
44536
44537 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44538
44539 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44540 EOPNOTSUPP.
44541
44542 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44543
44544 * Makeconfig (run-program-prefix): Fix comment.
44545
44546 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44547 Jim Blandy <jimb@codesourcery.com>
44548
44549 * Makeconfig (test-wrapper): New variable,
44550 (test-wrapper-env): Likewise.
44551 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44552 (run-built-tests): Define to yes.
44553 (run-program-prefix): Use $(test-wrapper).
44554 (built-program-cmd): Likewise.
44555 * Rules (make-test-out): Use $(test-wrapper-env) and
44556 $(host-built-program-cmd).
44557 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44558 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44559 tst-pathopt.sh.
44560 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44561 $(test-wrapper-env) to tst-rtld-load-self.sh.
44562 ($(objpfx)order2.out): Use $(test-wrapper).
44563 ($(objpfx)tst-initorder.out): Likewise.
44564 ($(objpfx)tst-initorder2.out): Likewise.
44565 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44566 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44567 (test_wrapper_env): New variable. Use it to run ld.so.
44568 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44569 Use it to run ld.so.
44570 (test_wrapper_env): Likewise.
44571 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44572 $(test-wrapper) to run-iconv-test.sh.
44573 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44574 (ICONV): Use $test_wrapper.
44575 * posix/Makefile ($(objpfx)globtest.out): Pass
44576 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44577 globtest.sh, not $(run-program-prefix).
44578 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44579 (test_wrapper): Likewise.
44580 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44581 set together with run_via_rtld_prefix.
44582 (run_program_prefix): Define in terms of test_wrapper and
44583 run_via_rtld_prefix.
44584
44585 2012-10-24 Roland McGrath <roland@hack.frob.com>
44586
44587 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44588 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44589 Targets removed.
44590
44591 [BZ #14743]
44592 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44593 Declare __clock_getres, __clock_gettime, __clock_settime,
44594 __clock_nanosleep, and __clock_getcpuclockid.
44595 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44596 Remove librt_hidden_def (clock_gettime).
44597 * sysdeps/unix/clock_gettime.c: Likewise.
44598 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44599 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44600 * rt/clock_getres.c: Define __clock_getres as an alias.
44601 * sysdeps/posix/clock_getres.c: Likewise.
44602 * rt/clock_settime.c: Define __clock_settime as an alias.
44603 * sysdeps/unix/clock_settime.c: Likewise.
44604 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44605 * sysdeps/unix/clock_nanosleep.c: Likewise.
44606 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44607 * rt/clock-compat.c: New file.
44608 * rt/Makefile (librt-routines): Add clock-compat and move
44609 $(clock-routines) to ...
44610 (routines): ... here, new variable.
44611 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44612 Don't add get_clockfreq here.
44613 * rt/Versions (libc: GLIBC_2.17): New version set.
44614 Add clock_* symbols here.
44615 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44616 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44617 (GLIBC_2.17): Add clock_* symbols.
44618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44620 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44622 Likewise.
44623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44624 Likewise.
44625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44629 * NEWS: Mention the move.
44630
44631 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44632 Use __open, __read, __close rather than their public counterparts.
44633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44634 (__get_clockfreq_via_cpuinfo): Likewise.
44635 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44636 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44637
44638 * config.h.in (HAVE_IFUNC): New #undef.
44639 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44640 was successful.
44641 * configure: Regenerated.
44642
44643 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44644
44645 * configure.in: Move READELF check to start of file.
44646 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44647 libc_cv_asm_gnu_indirect_function in the process.
44648 * configure: Regenerated.
44649
44650 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44651
44652 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44653 send the output to /dev/null.
44654 (libc_cv_cc_with_libunwind): Likewise.
44655 (libc_cv_as_noexecstack): Likewise.
44656 * configure: Regenerate.
44657
44658 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44659
44660 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44661
44662 * posix/globtest.sh (TMPDIR): Do not set.
44663 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44664 (testout): Likewise.
44665
44666 2012-10-24 Andreas Jaeger <aj@suse.de>
44667
44668 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44669 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44670 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44671 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44672 posix_fadvise64, posix_fallocate64.
44673
44674 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44675 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44676 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44677 Likewise.
44678 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44679 Likewise.
44680 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44681
44682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44683 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44684 <bits/fcntl-linux.h>.
44685 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44686
44687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44688 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44689 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44690 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44691 [__WORDSIZE != 64]: Likewise.
44692
44693 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44694
44695 * Makeconfig (run-built-tests): New variable.
44696 * Rules [$(cross-compiling) = yes]: Change condition to
44697 [$(run-built-tests) = no].
44698 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44699 to [$(run-built-tests) = yes].
44700 * elf/Makefile [$(cross-compiling) = no]: Likewise
44701 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44702 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44703 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44704 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44705 * io/Makefile [$(cross-compiling) = no]: Likewise.
44706 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44707 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44708 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44709 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44710 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44711 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44712 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44713 * string/Makefile [$(cross-compiling) = no]: Likewise.
44714
44715 * posix/Makefile ($(objpfx)globtest.out): Pass
44716 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44717 $(rtld-installed-name).
44718 * posix/globtest.sh (elf_objpfx): Remove variable.
44719 (rtld_installed_name): Likewise.
44720 (library_path): Likewise.
44721 (run_program_prefix): New variable. Use for running globtest
44722 binary.
44723
44724 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44725 Joseph Myers <joseph@codesourcery.com>
44726
44727 * Makeconfig (host-built-program-cmd): New variable.
44728 * elf/Makefile (tst-stackguard1-ARGS): Use
44729 $(host-built-program-cmd).
44730 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44731 (tst-spawn-ARGS): Likewise.
44732 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44733
44734 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44735 Jim Blandy <jimb@codesourcery.com>
44736
44737 * Makeconfig (run-via-rtld-prefix): New variable.
44738 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44739 (built-program-cmd): Likewise.
44740
44741 2012-10-22 Andreas Jaeger <aj@suse.de>
44742
44743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44744 __O_RSYNC if it exists, otherwise to O_SYNC.
44745
44746 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44747 Joseph Myers <joseph@codesourcery.com>
44748
44749 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44750 /dev/null.
44751 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44752 from /dev/null
44753 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44754 /dev/null.
44755
44756 2012-10-22 Andreas Jaeger <aj@suse.de>
44757
44758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44759 Define always.
44760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44761
44762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44763 bits/fcntl-linux.h.
44764
44765 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44766 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44767
44768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44769 to __O_LARGEFILE.
44770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44771 to __O_LARGEFILE.
44772
44773 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44774 Joseph Myers <joseph@codesourcery.com>
44775
44776 * config.make.in (NM): New variable.
44777
44778 2012-10-21 Andreas Jaeger <aj@suse.de>
44779
44780 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44781 definitions and declarations that are provided by
44782 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44783
44784 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44785
44786 [BZ #14683]
44787 * elf/Makefile (tests-static): Add tst-leaks1-static.
44788 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44789 ($(objpfx)tst-leaks1-static): New rule.
44790 ($(objpfx)tst-leaks1-static-mem): Likewise.
44791 (tst-leaks1-static-ENV): New macro.
44792 * elf/dl-open.c (dl_open_worker): Check the main application
44793 only if SHARED is defined.
44794 * elf/tst-leaks1-static.c: New file.
44795
44796 2012-10-20 Andreas Jaeger <aj@suse.de>
44797
44798 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44799 generic values for Linux.
44800 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44801 and declarations that are provided by <bits/fcntl-linux.h> and
44802 include <bits/fcntl-linux.h>.
44803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44805
44806 2012-10-20 Roland McGrath <roland@hack.frob.com>
44807
44808 * io/fcntl.h: Move include of <bits/types.h> to the top and
44809 include it unconditionally.
44810
44811 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44812
44813 * wcsmbs/Makefile (tests-ifunc): New variable.
44814 (tests): Add $(tests-ifunc).
44815 * wcsmbs/test-wcschr-ifunc.c: New file.
44816 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44817 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44818 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44819 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44820 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44821
44822 * string/Makefile (tests-ifunc): New variable.
44823 (tests): Add $(tests-ifunc).
44824 * string/test-memccpy.c (TEST_NAME): New macro.
44825 * string/test-memchr.c (TEST_NAME): Likewise.
44826 * string/test-memcmp.c (TEST_NAME): Likewise.
44827 * string/test-memcpy.c (TEST_NAME): Likewise.
44828 * string/test-memmem.c (TEST_NAME): Likewise.
44829 * string/test-memmove.c (TEST_NAME): Likewise.
44830 * string/test-memset.c (TEST_NAME): Likewise.
44831 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44832 * string/test-stpcpy.c (TEST_NAME): Likewise.
44833 * string/test-stpncpy.c (TEST_NAME): Likewise.
44834 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44835 * string/test-strcasestr.c (TEST_NAME): Likewise.
44836 * string/test-strcat.c (TEST_NAME): Likewise.
44837 * string/test-strchr.c (TEST_NAME): Likewise.
44838 * string/test-strcmp.c(TEST_NAME): Likewise.
44839 * string/test-strcpy.c (TEST_NAME): Likewise.
44840 * string/test-strcspn.c (TEST_NAME): Likewise.
44841 * string/test-strlen.c (TEST_NAME): Likewise.
44842 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44843 * string/test-strncmp.c (TEST_NAME): Likewise.
44844 * string/test-strncpy.c (TEST_NAME): Likewise.
44845 * string/test-strnlen.c (TEST_NAME): Likewise.
44846 * string/test-strpbrk.c (TEST_NAME): Likewise.
44847 * string/test-strrchr.c (TEST_NAME): Likewise.
44848 * string/test-strspn.c (TEST_NAME): Likewise.
44849 * string/test-strstr.c (TEST_NAME): Likewise.
44850 * string/test-bcopy-ifunc.c: New file.
44851 * string/test-bzero-ifunc.c: Likewise.
44852 * string/test-memccpy-ifunc.c: Likewise.
44853 * string/test-memchr-ifunc.c: Likewise.
44854 * string/test-memcmp-ifunc.c: Likewise.
44855 * string/test-memcpy-ifunc.c: Likewise.
44856 * string/test-memmem-ifunc.c: Likewise.
44857 * string/test-memmove-ifunc.c: Likewise.
44858 * string/test-mempcpy-ifunc.c: Likewise.
44859 * string/test-memset-ifunc.c: Likewise.
44860 * string/test-rawmemchr-ifunc.c: Likewise.
44861 * string/test-stpcpy-ifunc.c: Likewise.
44862 * string/test-stpncpy-ifunc.c: Likewise.
44863 * string/test-strcasecmp-ifunc.c: Likewise.
44864 * string/test-strcasestr-ifunc.c: Likewise.
44865 * string/test-strcat-ifunc.c: Likewise.
44866 * string/test-strchr-ifunc.c: Likewise.
44867 * string/test-strchrnul-ifunc.c: Likewise.
44868 * string/test-strcmp-ifunc.c: Likewise.
44869 * string/test-strcpy-ifunc.c: Likewise.
44870 * string/test-strcspn-ifunc.c: Likewise.
44871 * string/test-strlen-ifunc.c: Likewise.
44872 * string/test-strncasecmp-ifunc.c: Likewise.
44873 * string/test-strncat-ifunc.c: Likewise.
44874 * string/test-strncmp-ifunc.c: Likewise.
44875 * string/test-strncpy-ifunc.c: Likewise.
44876 * string/test-strnlen-ifunc.c: Likewise.
44877 * string/test-strpbrk-ifunc.c: Likewise.
44878 * string/test-strrchr-ifunc.c: Likewise.
44879 * string/test-strspn-ifunc.c: Likewise.
44880 * string/test-strstr-ifunc.c: Likewise.
44881
44882 * debug/Makefile (tests-ifunc): New variable.
44883 (tests): Add $(tests-ifunc).
44884 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44885 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44886 * debug/test-stpcpy_chk-ifunc.c: New file.
44887 * debug/test-strcpy_chk-ifunc.c: Likewise.
44888
44889 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44890
44891 [BZ #13601]
44892 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44893 header is not read in.
44894
44895 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44896
44897 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44898 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44899 directly. Pass built executable to script as
44900 $(built-program-cmd).
44901 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44902 $testprogram without using LD_LIBRARY_PATH and $ldso.
44903
44904 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44905 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44906 $(rtld-installed-name).
44907 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44908 (rtld_installed_name): Likewise.
44909 (library_path): Likewise.
44910 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44911 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44912 $(run-program-prefix) to tst-tables.sh.
44913 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44914 it to run tst-table-from and tst-table-to.
44915 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44916 Pass it to tst-table.sh.
44917 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44918 $(run-program-prefix) to tst-gettext.sh.
44919 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44920 tst-translit.sh.
44921 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44922 tst-gettext2.sh.
44923 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44924 to run tst-gettext.
44925 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44926 to run tst-gettext2.
44927 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44928 to run tst-translit.
44929 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44930 $(run-program-prefix) to tst-mtrace.sh.
44931 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44932 to run tst-mtrace.
44933 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44934 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44935 $(rtld-installed-name).
44936 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44937 (rtld_installed_name): Likewise.
44938 (run_program_prefix): New variable. Use it to run wordexp-test.
44939
44940 * Makeconfig (ARCH): Remove all definitions.
44941 (machine): Likewise.
44942 [ARCH]: Remove conditional code.
44943 [!objdir]: Give error.
44944 [!objdir] (objpfx): Remove.
44945 [!objdir] (common-objpfx): Likewise.
44946 [!objdir] (common-objdir): Likewise.
44947 * configure.in (config_makefile): Remove. Hardcode Makefile in
44948 AC_CONFIG_FILES call.
44949 * configure: Regenerated.
44950
44951 [BZ #13888]
44952 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44953 or TMPDIR.
44954 (testout): Likewise.
44955
44956 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44957 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44958 $(rtld-installed-name).
44959 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44960 (rtld_installed_name): Likwise.
44961 (runit): Remove function.
44962 (run_getconf): New variable, Use it for running getconf binary.
44963
44964 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
44965
44966 [BZ #14716]
44967 * string/test-memmem.c (check_result): New function.
44968 (do_one_test): Use it.
44969 (check1): New function.
44970 (test_main): Use it.
44971
44972 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44973
44974 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44975
44976 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44977
44978 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44979 (_G_LSEEK64): Likewise.
44980 (_G_MMAP64): Likewise.
44981 (_G_FSTAT64): Likewise.
44982 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44983 (_G_LSEEK64): Likewise.
44984 (_G_MMAP64): Likewise.
44985 (_G_FSTAT64): Likewise.
44986 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44987 unconditional. Call __mmap64 directly.
44988 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44989 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44990 __lseek64 directly.
44991 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44992 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44993 __mmap64 directly.
44994 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44995 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44996 __lseek64 directly.
44997 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44998 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44999 __lseek64 directly.
45000 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45001 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45002 __lseek64 directly.
45003 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45004 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45005 __fxstat64 directly.
45006 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45007 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45008 unconditional.
45009 (freopen64) [!_G_OPEN64]: Remove conditional code.
45010 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45011 unconditional.
45012 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45013 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45014 unconditional.
45015 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45016 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45017 unconditional.
45018 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45019 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45020 unconditional.
45021 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45022 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45023 unconditional.
45024 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45025 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45026 unconditional.
45027 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45028 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45029 unconditional.
45030 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45031
45032 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45033
45034 [BZ #12140]
45035 * manual/memory.texi (Malloc Tunable Parameters): Add note
45036 about free list pointers overwriting some perturb bytes.
45037 Wording suggested by Roland McGrath.
45038
45039 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45040
45041 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45042 (lgamma_test): Likewise.
45043 (tgamma_test): Likewise.
45044
45045 2012-10-16 Florian Weimer <fweimer@redhat.com>
45046
45047 [BZ #14700]
45048 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45049 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45050
45051 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45052
45053 * NEWS: Mention BZ #14716.
45054 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45055 when removing AVAILABLE1_USES_J macro.
45056
45057 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45058
45059 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45060 (__bswap_64): __uint64_t for unsigned 64-bit int.
45061
45062 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45063
45064 * include/string.h (memmem): Declare libc hidden alias.
45065 * string/memmem.c (memmem): Define libc hidden alias.
45066 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45067 __read, __close instead of open, read, close.
45068
45069 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45070
45071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45072 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45073 global and hidden.
45074 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45075 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45076 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45077 Likewise.
45078 (__rawmemchr_sse2): Likewise.
45079 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45080 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45081 (__strchr_sse2): Likewise.
45082 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45083 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45084 (__strcasecmp_sse2): Likewise.
45085 (__strncasecmp_sse2): Likewise.
45086 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45087 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45088 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45089 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45090 (__strrchr_sse2): Likewise.
45091 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45092 ifunc-impl-list.c.
45093 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45094 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45095 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45096 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45097 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45098 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45099 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45100 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45101 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45102 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45103 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45104 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45105 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45106 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45107 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45108 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45109 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45110 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45111 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45112 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45113 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45114 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45115 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45116 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45117 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45118 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45119 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45120 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45121 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45122 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45123
45124 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45125 global and hidden.
45126 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45127 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45128 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45129 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45130 Likewise.
45131 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45132 Likewise.
45133 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45134 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45135 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45136 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45137 ifunc-impl-list.c.
45138 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45139 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45140 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45141 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45142 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45143 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45144 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45145 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45146 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45147 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45148 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45149 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45150 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45151 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45152 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45153 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45154 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45155 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45156 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45157 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45158 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45159 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45160 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45161 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45162 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45163 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45164 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45165 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45166 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45167 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45168 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45169 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45170 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45171 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45172 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45173 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45174 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45175 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45176 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45177 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45178 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45179
45180 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45181 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45182 * include/ifunc-impl-list.h: New file.
45183 * misc/ifunc-impl-list.c: Likewise.
45184 * misc/Makefile (routines): Add ifunc-impl-list.
45185 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45186 * string/test-string.h: Include <ifunc-impl-list.h>.
45187 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45188 TEST_NAME]: New variables.
45189 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45190 are defined.
45191 (test_init): Call __libc_ifunc_impl_list to initialize
45192 func_list if TEST_IFUNC and TEST_NAME are defined.
45193
45194 * string/Makefile (strop-tests): Add bcopy and bzero.
45195 * string/test-bcopy.c: New file.
45196 * string/test-bzero.c: Likewise.
45197 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45198 defined.
45199 * string/test-memset.c: Support bzero test if TEST_BZERO is
45200 defined.
45201 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45202 __libc_memmove.
45203 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45204 __libc_memset.
45205 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45206 of memset.
45207
45208 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45209
45210 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45211 * configure: Regenerated.
45212
45213 * Makeconfig (+link-static-before-libc): Don't include
45214 $(link-static-libc).
45215
45216 * libio/libio.h (_IO_pos_t): Remove.
45217
45218 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45219
45220 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45221 McGrath.
45222
45223 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45224
45225 * crypt/crypt-entry.c: Include fips-private.h.
45226 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45227 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45228 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45229 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45230
45231 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45232
45233 * crypt/crypt-private.h: Include stdbool.h.
45234 (_ufc_setup_salt_r): Return bool.
45235 * crypt/crypt-entry.c: Include errno.h.
45236 (__crypt_r): Return NULL with EINVAL for bad salt.
45237 * crypt/crypt_util.c (bad_for_salt): New.
45238 (_ufc_setup_salt_r): Check that salt is long enough and within
45239 the specified alphabet.
45240 * crypt/badsalttest.c: New file.
45241 * crypt/Makefile (tests): Add it.
45242 ($(objpfx)badsalttest): New.
45243
45244 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45245
45246 * NEWS: Add entry for BZ #14602.
45247
45248 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45249
45250 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45251 type-generic.
45252 * math/libm-test.inc: Update comment listing what functions and
45253 macros are tested.
45254 (isgreater_test): New function.
45255 (isgreaterequal_test): Likewise.
45256 (isless_test): Likewise.
45257 (islessequal_test): Likewise.
45258 (islessgreater_test): Likewise.
45259 (isunordered_test): Likewise.
45260 (main): Call the new functions.
45261
45262 2012-10-09 Roland McGrath <roland@hack.frob.com>
45263
45264 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45265 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45266 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45267 * sysdeps/i386/configure: Regenerated.
45268 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45269 * sysdeps/mach/configure: Regenerated.
45270 * sysdeps/mach/hurd/configure: Regenerated.
45271 * sysdeps/powerpc/configure: Regenerated.
45272 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45273 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45274 * sysdeps/s390/s390-32/configure: Regenerated.
45275 * sysdeps/s390/s390-64/configure: Regenerated.
45276 * sysdeps/sh/configure: Regenerated.
45277 * sysdeps/sparc/configure: Regenerated.
45278 * sysdeps/unix/sysv/linux/configure: Regenerated.
45279 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45280 * sysdeps/x86_64/configure: Regenerated.
45281
45282 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45283 defined. Don't check if MAP is NULL.
45284
45285 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45286
45287 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45288 (_G_stat64): Likewise.
45289 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45290 (_G_stat64): Likewise.
45291 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45292 instead of struct _G_stat64.
45293 * libio/fileops.c (mmap_remap_check): Likewise.
45294 (decide_maybe_mmap): Likewise.
45295 (_IO_new_file_seekoff): Likewise.
45296 (_IO_file_stat): Likewise.
45297 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45298 _G_off64_t.
45299 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45300 instead of struct _G_stat64.
45301 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45302
45303 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45304
45305 [BZ #14602]
45306 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45307 Replace with ...
45308 (CHECK_EOL): New macro.
45309 (two_way_short_needle): Check beginning of haystack for EOL. Use
45310 CHECK_EOL.
45311 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45312 Replace with CHECK_EOL.
45313 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45314 Replace with CHECK_EOL.
45315
45316 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45317
45318 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45319 type-generic.
45320 * math/libm-test.inc: Update comment listing what functions and
45321 macros are tested.
45322 (finite_test): New function.
45323 (isinf_test): Likewise.
45324 (isnan_test): Likewise.
45325 (fpclassify_test): Test subnormal input.
45326 (isfinite_test): Likewise.
45327 (isnormal_test): Likewise.
45328 (main): Call the new functions.
45329
45330 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45331
45332 [BZ #14660]
45333 * Makerules (%.dynsym): Force C locale when running
45334 $(OBJDUMP) --dynamic-syms.
45335
45336 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45337
45338 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45339 <stdint.h>.
45340
45341 2012-10-06 David S. Miller <davem@davemloft.net>
45342
45343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45344 upper 32-bits of the length value in %o2 since we use branch-on-register
45345 tests which consider the entire 64-bit register.
45346
45347 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45348
45349 * string/test-strstr.c (check2): Add a test for page boundary.
45350
45351 2012-10-05 David S. Miller <davem@davemloft.net>
45352
45353 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45354 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45355 file.
45356 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45357 sysdep_routines.
45358 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45359 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45360 and bzero when HWCAP_SPARC_CRYPTO is present.
45361
45362 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45363
45364 [BZ #14602]
45365 * string/test-strstr.c (check2): New function.
45366 (test_main): Call check2.
45367
45368 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45369 and bug-strchr1.
45370 * string/bug-strcasestr1.c (do_test): Moved to ...
45371 * string/test-strcasestr.c (check1): Here. New function.
45372 (do_one_test): Break out result checking code into ...
45373 (check_result): This. New function.
45374 (do_one_test): Call check_result.
45375 (test_main): Call check1.
45376 * string/bug-strchr1.c (do_test): Moved to ...
45377 * string/test-strchr.c (check1): Here. New function.
45378 (do_one_test): Break out result checking code into ...
45379 (check_result): This. New function.
45380 (do_one_test): Call check_result.
45381 (test_main): Call check1.
45382 * string/bug-strstr1.c (main): Moved to ...
45383 * string/test-strstr.c (check1): Here. New function.
45384 (do_one_test): Break out result checking code into ...
45385 (check_result): This. New function.
45386 (do_one_test): Call check_result.
45387 (test_main): Call check1.
45388 * string/bug-strcasestr1.c: Removed.
45389 * string/bug-strchr1.c: Likewise.
45390 * string/bug-strstr1.c: Likewise.
45391
45392 * elf/Makefile (dl-routines): Add hwcaps.
45393 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45394 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45395 (_dl_important_hwcaps): Moved to ...
45396 * elf/dl-hwcaps.c: Here. New file.
45397 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45398
45399 [BZ #14557]
45400 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45401 if IS_IN_rtld isn't defined.
45402
45403 * elf/dl-support.c (_dl_sysinfo_map): New.
45404 Include "get-dynamic-info.h" and "setup-vdso.h".
45405 (_dl_non_dynamic_init): Call setup_vdso.
45406 * elf/dynamic-link.h: Don't include <assert.h>.
45407 (elf_get_dynamic_info): Moved to ...
45408 * elf/get-dynamic-info.h: Here. New file.
45409 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45410 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45411 * elf/setup-vdso.h: Here. New file.
45412 * elf/rtld.c: Include "setup-vdso.h".
45413 (dl_main): Call setup_vdso.
45414
45415 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45416
45417 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45418 creal in comment listing functions tested. List finite, isinf,
45419 isnan, isless, islessequal, isgreater, isgreaterequal,
45420 islessgreater, isunordered, lgamma_r and pow10 as functions and
45421 macros not tested. Mention which functions not tested are aliases
45422 for other functions. Fix typo. Note that signs of NaNs are not
45423 tested.
45424
45425 * scripts/config.guess: Update from config.git.
45426 * scripts/config.sub: Likewise.
45427
45428 2012-10-04 Roland McGrath <roland@hack.frob.com>
45429
45430 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45431 * misc/madvise.c (madvise): Renamed to __madvise.
45432 Make madvise a weak alias.
45433 * include/sys/mman.h: Declare __madvise.
45434 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45435 * sysdeps/unix/syscalls.list
45436 (madvise): Make __madvise the strong name, and madvise a weak alias.
45437 * sysdeps/unix/sysv/linux/syscalls.list
45438 (madvise, mmap): Remove redundant entries.
45439 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45440 * malloc/malloc.c (mtrim): Likewise.
45441 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45442
45443 2012-10-03 Roland McGrath <roland@hack.frob.com>
45444
45445 * sysdeps/mach/hurd/dl-cache.c: File removed.
45446 * config.h.in (USE_LDCONFIG): New #undef.
45447 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45448 * configure: Regenerated.
45449 * elf/Makefile (dl-routines): Add dl-cache only under
45450 [$(use-ldconfig) = yes].
45451 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45452 cache on [USE_LDCONFIG].
45453 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45454 [USE_LDCONFIG].
45455 * elf/rtld.c (dl_main): Likewise.
45456
45457 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45458
45459 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45460 _SC_LEVEL4_CACHE_LINESIZE.
45461
45462 2012-10-03 Roland McGrath <roland@hack.frob.com>
45463
45464 * sysdeps/unix/bsd/confstr.h: File removed.
45465
45466 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45467
45468 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45469 sys/sdt-config.h.
45470
45471 2012-10-02 Roland McGrath <roland@hack.frob.com>
45472
45473 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45474 Make 'mapoff' field ElfW(Off) rather than off_t.
45475
45476 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45477
45478 * nscd/Makefile: Remove nscd-cflags and all its users.
45479 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45480 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45481
45482 [BZ #10631]
45483 * malloc.c (malloc_printerr): Clarify error message.
45484
45485 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45486
45487 [BZ #14648]
45488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45489 Set bit_FMA_Usable if FMA is supported.
45490 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45491 macro.
45492 (bit_FMA4_Usable): Updated.
45493 (index_FMA_Usable): New macro.
45494 (CPUID_FMA): Likewise
45495 (HAS_FMA): Defined with bit_FMA_Usable.
45496
45497 2012-10-01 Roland McGrath <roland@hack.frob.com>
45498
45499 * bits/types.h (__swblk_t): Type removed.
45500 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45501 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45503 (__SWBLK_T_TYPE): Likewise.
45504 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45505 (__SWBLK_T_TYPE): Likewise.
45506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45507 (__SWBLK_T_TYPE): Likewise.
45508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45509 (__SWBLK_T_TYPE): Likewise.
45510
45511 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45512 Honza Horak <hhorak@redhat.com>
45513
45514 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45515 (xdr_mapname): Use YPMAXMAP as maxsize.
45516 (xdr_peername): Use YPMAXPEER as maxsize.
45517 (xdr_keydat): Use YPAXRECORD as maxsize.
45518 (xdr_valdat): Use YPMAXRECORD as maxsize.
45519
45520 2012-10-01 Roland McGrath <roland@hack.frob.com>
45521
45522 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45523
45524 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45525 * csu/init-first.c: ... here.
45526 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45527 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45528 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45529 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45530 * sysdeps/i386/init-first.c: File removed.
45531 * sysdeps/sh/init-first.c: File removed.
45532
45533 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45534
45535 [BZ #14645]
45536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45537 if x * y might underflow to zero and z is zero.
45538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45540 * math/libm-test.inc (min_subnorm_value): New variable.
45541 (fma_test): Add more tests.
45542 (fma_test_towardzero): Likewise.
45543 (fma_test_downward): Likewise
45544 (fma_test_upward): Likewise.
45545 (initialize): Set min_subnorm_value.
45546
45547 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45548
45549 [BZ #14638]
45550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45551 0 + 0.
45552 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45553 mode for addition resulting in exact zero.
45554 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45556 exact 0 + 0.
45557 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45558 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45559 * math/libm-test.inc (fma_test): Add more tests.
45560 (fma_test_towardzero): New function.
45561 (fma_test_downward): Likewise.
45562 (fma_test_upward): Likewise.
45563 (main): Call the new functions.
45564
45565 2012-09-28 David S. Miller <davem@davemloft.net>
45566
45567 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45568
45569 2012-09-28 Roland McGrath <roland@hack.frob.com>
45570
45571 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45572 instead of SIGALRM.
45573
45574 * sysdeps/gnu/_G_config.h: Moved to ...
45575 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45576 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45577 * sysdeps/generic/_G_config.h: ... here.
45578
45579 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45580
45581 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45582
45583 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45584 Conditionalize target on [libnss_test1.so-version].
45585
45586 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45587
45588 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45589 (elfobjdir): Move out of conditionals.
45590
45591 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45592 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45593 (__nss_lookup_function): Conditionalize label remove_from_tree on
45594 [!DO_STATIC_NSS || SHARED], matching its only use.
45595
45596 2012-09-28 David S. Miller <davem@davemloft.net>
45597
45598 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45599 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45600 file.
45601 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45602 sysdep_routines.
45603 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45604 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45605 when HWCAP_SPARC_CRYPTO is present.
45606
45607 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45608
45609 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45610
45611 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45612
45613 [BZ #6530]
45614 * stdio-common/vfprintf.c (process_string_arg): Revert
45615 2000-07-22 change.
45616
45617 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45618
45619 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45620 for testcase.
45621 * stdio-common/tst-sprintf.c: Include <locale.h>
45622 (main): Test sprintf's handling of incomplete multibyte
45623 characters.
45624
45625 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45626
45627 * elf/dl-runtime.c (VERSYMIDX): Removed.
45628 * elf/dl-version.c (VERSYMIDX): Likewise.
45629 * elf/do-rel.h (VERSYMIDX): Likewise.
45630 (VALIDX): Likewise.
45631 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45632 * elf/rtld.c (VALIDX): Likewise.
45633 (ADDRIDX): Likewise.
45634 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45635 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45636 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45637 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45638 (VALIDX): Likewise.
45639 (ADDRIDX): Likewise.
45640
45641 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45642
45643 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45644
45645 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45646
45647 [BZ #11438]
45648 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45649 to global scope.
45650 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45651 addresses are in the same scope as 192.0.2/24.
45652 * posix/gai.conf: Document new scope table defaults.
45653
45654 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45655
45656 [BZ #5298]
45657 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45658 for ftell. Compute offsets from write pointers instead.
45659 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45660
45661 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45662
45663 [BZ #14543]
45664 * libio/Makefile (tests): New test case tst-fseek.
45665 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45666 combination works in wide mode.
45667 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45668 state when the external buffer state changes.
45669
45670 2012-09-27 David S. Miller <davem@davemloft.net>
45671
45672 [BZ #14376]
45673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45674 pass reloc->r_addend in as the 'high' argument to
45675 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45676
45677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45678
45679 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45680
45681 * rt/tst-aio2.c: Include <pthread.h>.
45682 * rt/tst-aio3.c: Likewise.
45683
45684 2012-09-27 Steve Ellcey <sellcey@mips.com>
45685
45686 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45687
45688 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45689
45690 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45691 contents on [SHARED].
45692
45693 2012-09-26 Marek Polacek <polacek@redhat.com>
45694
45695 [BZ #14530]
45696 [BZ #13741]
45697 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45698 for C++ and GCC <4.3 as well as for non GCC compilers.
45699
45700 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45701
45702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45703
45704 2012-09-25 Roland McGrath <roland@hack.frob.com>
45705
45706 * Makefile.in (all, install): Declare with .PHONY.
45707 Reported by Michael Hope <michael.hope@linaro.org>.
45708
45709 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45710
45711 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45712 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45713 system header.
45714 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45715 Likewise.
45716 (sydep_routines): Add the new and the internal functions.
45717 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45718 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45720 (GLIBC_2.17): Add the new function.
45721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45722 (GLIBC_2.17): Likewise.
45723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45724 (GLIBC_2.17): Likewise.
45725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45726 (GLIBC_2.17): Likewise.
45727 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45728
45729 2012-09-25 Alan Modra <amodra@gmail.com>
45730
45731 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45732 Add release barrier before setting once_control to say
45733 initialisation is done. Add hints on lwarx. Use macro in
45734 place of isync.
45735 (clear_once_control): Add release barrier.
45736
45737 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45738
45739 [BZ #13629]
45740 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45741 specially.
45742 * math/s_clog10.c (__clog10): Likewise.
45743 * math/s_clog10f.c (__clog10f): Likewise.
45744 * math/s_clog10l.c (__clog10l): Likewise.
45745 * math/s_clogf.c (__clogf): Likewise.
45746 * math/s_clogl.c (__clogl): Likewise.
45747 * math/Makefile (libm-calls): Add x2y2m1.
45748 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45749 (__x2y2m1): Likewise.
45750 (__x2y2m1l): Likewise.
45751 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45752 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45753 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45754 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45755 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45756 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45757 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45758 * sysdeps/i386/fpu/libm-test-ulps: Update.
45759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45760
45761 [BZ #14621]
45762 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45763 int as type of variable DEPTH.
45764 (glob): Use size_t instead of int as type of variables NEWCOUNT
45765 and OLD_PATHC.
45766
45767 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45768
45769 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45770 Add s_sincosf-sse2.
45771 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45772 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45773 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45774 macros for using routine as __sincosf_ia32.
45775 Use macro for function declaration and weak_alias.
45776 * sysdeps/i386/fpu/libm-test-ulps: Update.
45777
45778 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45780
45781 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45782 subnormal argument.
45783 * math/s_cexpf.c (__cexpf): Likewise.
45784 * math/s_csinf.c (__csinf): Likewise.
45785 * math/s_csinhf.c (__csinhf): Likewise.
45786 * math/s_ctanf.c (__ctanf): Likewise.
45787 * math/s_ctanhf.c (__ctanhf): Likewise.
45788 * math/s_ccosh.c (__ccoshf): Likewise.
45789 * math/s_cexp.c (__cexpl): Likewise.
45790 * math/s_csin.c (__csin): Likewise.
45791 * math/s_csinh.c (__csinh): Likewise.
45792 * math/s_ctan.c (__ctan): Likewise.
45793 * math/s_ctanh.c (ctanh): Likewise.
45794 * math/s_ccoshl.c (__ccoshl): Likewise.
45795 * math/s_cexpl.c (__cexpl): Likewise.
45796 * math/s_csinl.c (__csinl): Likewise.
45797 * math/s_csinhl.c (__csinhl): Likewise.
45798 * math/s_ctanl.c (__ctanl): Likewise.
45799 * math/s_ctanhl.c (__ctanhl): Likewise.
45800
45801 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45802
45803 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45804 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45805 (_IO_off_t): Define to __off_t, not _G_off_t.
45806 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45807 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45808 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45809 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45810 type of __dummy and __dummy2 fields.
45811 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45812 (_G_ssize_t): Likewise.
45813 (_G_off_t): Likewise.
45814 (_G_pid_t): Likewise.
45815 (_G_uid_t): Likewise.
45816 (_G_wchar_t): Likewise.
45817 (_G_wint_t): Likewise.
45818 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45819 (_G_ssize_t): Likewise.
45820 (_G_off_t): Likewise.
45821 (_G_pid_t): Likewise.
45822 (_G_uid_t): Likewise.
45823 (_G_wchar_t): Likewise.
45824 (_G_wint_t): Likewise.
45825 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45826 (_G_ssize_t): Likewise.
45827 (_G_off_t): Likewise.
45828 (_G_pid_t): Likewise.
45829 (_G_uid_t): Likewise.
45830 (_G_wchar_t): Likewise.
45831 (_G_wint_t): Likewise.
45832
45833 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45834
45835 * malloc/arena.c: Include malloc-sysdep.h.
45836 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45837 is sufficient to shrink the heap or an unmap is needed.
45838 * sysdeps/generic/malloc-sysdep.h: New file. Define
45839 new function check_may_shrink_heap.
45840 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45841 new function check_may_shrink_heap.
45842
45843 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45844
45845 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45846 comments.
45847
45848 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45849
45850 * catgets/test-gencat.sh: Add "set -e".
45851 * elf/tst-pathopt.sh: Likewise.
45852 * grp/tst_fgetgrent.sh: Likewise.
45853 * iconvdata/run-iconv-test.sh: Likewise.
45854 * intl/tst-gettext.sh: Likewise.
45855 * intl/tst-gettext2.sh: Likewise.
45856 * intl/tst-gettext4.sh: Likewise.
45857 * intl/tst-gettext6.sh: Likewise.
45858 * intl/tst-translit.sh: Likewise.
45859 * io/ftwtest-sh: Likewise.
45860 * libio/test-freopen.sh: Likewise.
45861 * malloc/tst-mtrace.sh: Likewise.
45862 * posix/globtest.sh: Likewise.
45863 * posix/tst-getconf.sh: Likewise.
45864 * posix/wordexp-tst.sh: Likewise.
45865 * stdio-common/tst-printf.sh: Likewise.
45866 * stdio-common/tst-unbputc.sh: Likewise.
45867 * stdlib/tst-fmtmsg.sh: Likewise.
45868 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45869 * catgets/Makefile: Do not specify -e option when running
45870 testsuite shell scripts.
45871 * elf/Makefile: Likewise.
45872 * grp/Makefile: Likewise.
45873 * iconvdata/Makefile: Likewise.
45874 * intl/Makefile: Likewise.
45875 * io/Makefile: Likewise.
45876 * libio/Makefile: Likewise.
45877 * malloc/Makefile: Likewise.
45878 * posix/Makefile: Likewise.
45879 * stdio-common/Makefile: Likewise.
45880 * stdlib/Makefile: Likewise.
45881 * sysdeps/x86_64/Makefile: Likewise.
45882
45883 * io/ftwtest-sh: Add copyright header.
45884 * posix/globtest.sh: Likewise.
45885 * posix/tst-getconf.sh: Likewise.
45886 * posix/wordexp-tst.sh: Likewise.
45887 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45888
45889 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45890
45891 [BZ #13679]
45892 * Makeconfig (+link): Defined as $(+link-static) if
45893 $(build-shared) isn't yes.
45894 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45895 isn't yes.
45896 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45897
45898 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45899
45900 [BZ #14562]
45901 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45902 new chunk size with MALLOC_ALIGN_MASK.
45903
45904 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45905
45906 [BZ #5044]
45907 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45908 <rounding-mode.h>.
45909 (__printf_fphex): Determine rounding using get_rounding_mode and
45910 round_away.
45911 * stdio-common/tst-printf-round.c (struct hex_test): New
45912 structure.
45913 (hex_tests): New variable.
45914 (test_hex_in_one_mode): New function.
45915 (do_test): Also run tests for hex float output.
45916
45917 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45918
45919 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45920 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45921 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45922 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45923 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45924 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45925 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45926 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45927
45928 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45929
45930 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45931 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45932 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45933 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45934
45935 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45936
45937 [BZ #14579]
45938 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45939 mode only.
45940 * elf/tst-rtld-load-self.sh: New test.
45941 * elf/Makefile: Run it.
45942
45943 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45944
45945 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45946 (tst-writev-ENV): Remove.
45947 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45948
45949 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
45950
45951 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45952
45953 2012-09-17 Joseph Myers <joseph@codesourcery.com>
45954
45955 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45956 unconditional.
45957 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45958 Likewise.
45959 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45960 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45961 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45962 Likewise.
45963
45964 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
45965
45966 [BZ #14587]
45967 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45968 * config.make.in (have-cpp-asm-debuginfo): Removed.
45969 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45970 * configure: Regenerated.
45971
45972 2012-09-14 Joseph Myers <joseph@codesourcery.com>
45973
45974 [BZ #5044]
45975 * stdio-common/printf_fp.c: Include <stdbool.h> and
45976 <rounding-mode.h>.
45977 (___printf_fp): Determine rounding using get_rounding_mode and
45978 round_away.
45979 * stdio-common/tst-printf-round.c: New file.
45980 * stdio-common/Makefile (tests): Add tst-printf-round.
45981 (link-libm): New variable.
45982 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45983
45984 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45985
45986 [BZ #14576]
45987 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45988 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45989 Likewise.
45990 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45991 Likewise.
45992
45993 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45994
45995 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45996 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45997 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45998 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45999
46000 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46001
46002 [BZ #14518]
46003 * include/rounding-mode.h: New file.
46004 * sysdeps/generic/get-rounding-mode.h: Likewise.
46005 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46006 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46007 (MAX_VALUE): New macro.
46008 (MIN_VALUE): Likewise.
46009 (overflow_value): New function.
46010 (underflow_value): Likewise.
46011 (round_and_return): Use overflow_value and underflow_value to
46012 determine return values in overflow and underflow cases. Use
46013 round_away to determine rounding depending on rounding mode.
46014 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46015 determine return values in overflow and underflow cases.
46016 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46017 (struct test_results): New structure.
46018 (struct test): Use struct test_results to store expected results
46019 for all rounding modes.
46020 (TEST): Include expected results for all rounding modes.
46021 (test_in_one_mode): New function.
46022 (do_test): Use test_in_one_mode to compute and check results.
46023 Check results for all rounding modes.
46024 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46025 $(link-libm).
46026
46027 2012-12-09 Allan McRae <allan@archlinux.org>
46028
46029 * sysdeps/i386/fpu/libm-test-ulps: Update
46030
46031 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46032
46033 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46034 (_G_int32_t): Likewise.
46035 (_G_uint16_t): Likewise.
46036 (_G_uint32_t): Likewise.
46037 (_G_HAVE_BOOL): Likewise.
46038 (_G_HAVE_ATEXIT): Likewise.
46039 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46040 (_G_HAVE_IO_FILE_OPEN): Likewise.
46041 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46042 (_G_int32_t): Likewise.
46043 (_G_uint16_t): Likewise.
46044 (_G_uint32_t): Likewise.
46045 (_G_HAVE_BOOL): Likewise.
46046 (_G_HAVE_ATEXIT): Likewise.
46047 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46048 (_G_HAVE_IO_FILE_OPEN): Likewise.
46049 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46050 (_G_int32_t): Likewise.
46051 (_G_uint16_t): Likewise.
46052 (_G_uint32_t): Likewise.
46053 (_G_HAVE_BOOL): Likewise.
46054 (_G_HAVE_ATEXIT): Likewise.
46055 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46056 (_G_HAVE_IO_FILE_OPEN): Likewise.
46057
46058 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46059
46060 * csu/libc-tls.c: Update copyright years.
46061
46062 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46063
46064 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46065 [!_G_USING_THUNKS]: Remove conditional code.
46066 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46067 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46068
46069 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46070 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46071 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46072 (_G_VTABLE_LABEL_PREFIX): Likewise.
46073 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46074 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46075 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46076 (_G_VTABLE_LABEL_PREFIX): Likewise.
46077 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46078 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46079 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46080 (_G_VTABLE_LABEL_PREFIX): Likewise.
46081 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46082
46083 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46084
46085 * libio/Makefile: Include ../Makeconfig before tests.
46086 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46087 only if $(build-shared) is yes.
46088
46089 * iconv/gconv_db.c: Update copyright years.
46090
46091 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46092
46093 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46094 unwind info if defined PIC. Fix special cases description.
46095 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46096
46097 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46098 DP_HI_MASK entry.
46099 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46100
46101 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46102
46103 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46104
46105 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46106 is NULL.
46107
46108 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46109 (LDLIBS-tst-chk4): This.
46110 (LDFLAGS-tst-chk5): Renamed to ...
46111 (LDLIBS-tst-chk5): This.
46112 (LDFLAGS-tst-chk6): Renamed to ...
46113 (LDLIBS-tst-chk6): This.
46114 (LDFLAGS-tst-lfschk4): Renamed to ...
46115 (LDLIBS-tst-lfschk4): This.
46116 (LDFLAGS-tst-lfschk5): Renamed to ...
46117 (LDLIBS-tst-lfschk5): This.
46118 (LDFLAGS-tst-lfschk6): Renamed to ...
46119 (LDLIBS-tst-lfschk6): This.
46120
46121 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46122 on $(common-objpfx)soversions.mk.
46123
46124 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46125
46126 [BZ #10014]
46127 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46128 example host name.
46129
46130 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46131
46132 * malloc/arena.c (arena_get_retry): New function that gets
46133 another arena for the caller to try its request on.
46134 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46135 current arena cannot fulfill the request.
46136 (__libc_memalign): Likewise.
46137 (__libc_memalign): Likewise.
46138 (__libc_pvalloc): Likewise.
46139 (__libc_calloc): Likewise.
46140
46141 2012-09-05 John Tobey <john.tobey@gmail.com>
46142
46143 [BZ #13542]
46144 * manual/arith.texi (Operations on Complex): Fix description
46145 of carg branch cut.
46146
46147 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46148
46149 [BZ #10014]
46150 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46151 host name.
46152
46153 [BZ #10038]
46154 * manual/memory.texi (Memory): Make order of menu items match
46155 order of sections.
46156
46157 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46158
46159 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46160 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46161 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46162
46163 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46164
46165 * csu/libc-tls.c (static_dtv): Renamed to ...
46166 (_dl_static_dtv): This. Make it global.
46167 (_dl_initial_dtv): Removed.
46168 (__libc_setup_tls): Updated.
46169 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46170 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46171 DL_INITIAL_DTV.
46172
46173 2012-09-06 Petr Machata <pmachata@redhat.com>
46174
46175 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46176 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46177 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46178 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46179
46180 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46181
46182 [BZ #14545]
46183 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46184 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46185 freeing dtv[-1].
46186
46187 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46188
46189 [BZ #14544]
46190 * Makeconfig (link-static-before-libc): Replace $(+prector)
46191 with $(+prectorT).
46192 (link-static-after-libc): Replace $(+postctor) with
46193 $(+postctorT).
46194 (link-bounded): Replace $(+prector)/$(+postctor) with
46195 $(+prectorT)/$(+postctorT).
46196 (+prectorT): New macro.
46197 (+postctorT): Likewise.
46198
46199 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46200
46201 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46202 (round_str): Handle values above the maximum for IBM long double
46203 as inexact.
46204 * stdlib/tst-strtod-round.c (tests): Regenerated.
46205
46206 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46207
46208 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46209 assembler flag.
46210 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46211 zarch_nohighgprs around the zarch optimized routines.
46212 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46213 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46215 for zarch.
46216
46217 2012-09-05 David S. Miller <davem@davemloft.net>
46218
46219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46220
46221 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46222 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46223 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46224 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46225 entries.
46226
46227 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46228
46229 * malloc/arena.c: Fold copyright years.
46230 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46231
46232 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46233
46234 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46235
46236 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46237
46238 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46239
46240 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46241
46242 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46243 change internal state upon failure.
46244
46245 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46246
46247 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46248 * malloc/memusage.c (mmap): Likewise.
46249 (mmap64, mremap): Likewise. Adjust name in comment.
46250
46251 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46252
46253 * libio/fileops.c: Fix typos in comments.
46254 * libio/oldfileops.c: Likewise.
46255 * libio/wfileops.c: Likewise.
46256
46257 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46258
46259 [BZ #1349]
46260 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46261 (tst-malloc-usable-ENV): Set environment for test case.
46262 * malloc/hooks.c (malloc_check_get_size): New function to get
46263 requested size.
46264 * malloc/malloc.c (musable): Use malloc_check_get_size.
46265 * malloc/tst-malloc-usable.c: New test case.
46266
46267 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46268
46269 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46270
46271 2012-09-05 Allan McRae <allan@archlinux.org>
46272
46273 [BZ #13966]
46274 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46275 determine header location.
46276 * configure: Regenerated.
46277
46278 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46279
46280 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46281 float format.
46282 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46283 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46284 format.
46285 (test): Regenerate.
46286
46287 2012-09-04 David S. Miller <davem@davemloft.net>
46288
46289 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46290 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46291 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46292
46293 2012-09-04 Florian Weimer <fweimer@redhat.com>
46294
46295 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46296 failures.
46297
46298 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46299
46300 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46301
46302 [BZ #9914]
46303 * libio/iogetdelim.c: Include <limits.h>.
46304 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46305 + len + 1 would overflow.
46306
46307 2012-09-03 Andreas Jaeger <aj@suse.de>
46308
46309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46310 * sysdeps/i386/fpu/libm-test-ulps: Update.
46311
46312 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46313
46314 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46315 Add s_sinf-sse2, s_conf-sse2.
46316
46317 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46318 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46319 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46320 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46321
46322 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46323 for using routine as __sinf_ia32.
46324 Use macro for function declaration and weak_alias.
46325 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46326 for using routine as __cosf_ia32.
46327 Use macro for function declaration and weak_alias.
46328
46329 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46330 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46331
46332 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46333 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46335
46336 * math/libm-test.inc (cos_test): Add more test cases.
46337 (sin_test): Likewise.
46338 (sincos_test): Likewise.
46339
46340 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46341
46342 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46343 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46344 hidden.
46345 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46346
46347 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46348
46349 [BZ #14538]
46350 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46351 first element of the GOT.
46352 (elf_machine_load_address): Return the difference between
46353 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46354
46355 2012-09-01 Allan McRae <allan@archlinux.org>
46356
46357 [BZ #13412]
46358 * configure.in (AWK): Require gawk version 3.0 or later.
46359 * configure: Regenerated.
46360
46361 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46362
46363 * sysdeps/unix/sysv/linux/kernel-features.h
46364 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46365 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46366 [__NR_clock_getres]: Make code unconditional.
46367 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46368 (clock_getcpuclockid): Remove code left unreachable by removal of
46369 conditionals.
46370 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46371 code unconditional.
46372 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46373 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46374 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46375 Make code unconditional.
46376 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46377 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46378 * sysdeps/unix/sysv/linux/clock_settime.c
46379 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46380 conditional code.
46381 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46382 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46383
46384 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46385
46386 [BZ #14476]
46387 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46388 scripts/test-installation.pl.
46389
46390 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46391 and $ld_so_version if it is set.
46392
46393 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46394
46395 [BZ #14516]
46396 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46397 failure if reading from procfs failed.
46398 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46399
46400 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46401
46402 * sysdeps/unix/sysv/linux/kernel-features.h
46403 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46404 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46405 Remove conditional code.
46406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46407 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46408 Remove conditional code.
46409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46410 * sysdeps/unix/sysv/linux/i386/fxstat.c
46411 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46412 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46413 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46414 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46416 * sysdeps/unix/sysv/linux/i386/lxstat.c
46417 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46418 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46419 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46420 Remove conditional code.
46421 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46422 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46423 Remove conditional code.
46424 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46425 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46426 <kernel-features.h>.
46427 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46428 Remove.
46429 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46430 Remove conditional code.
46431 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46432 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46433 Remove conditional.
46434
46435 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46436
46437 [BZ #5400]
46438 * NEWS: Add fixed bug number.
46439
46440 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46441
46442 [BZ #14519]
46443 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46444 underflowing exponent in case of negative sign.
46445 * stdlib/tst-strtod-round-data: Add more tests.
46446 * stdlib/tst-strtod-round.c (tests): Regenerated.
46447
46448 [BZ #3479]
46449 * stdlib/strtod_l.c (NDIG): Remove.
46450 (HEXNDIG): Likewise.
46451 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46452 smallest representable value.
46453 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46454 lie within an exact representation of 1/2 ulp of the result.
46455 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46456 unconditionally.
46457 (TENS_P9_IDX): Define unconditionally.
46458 (TENS_P9_SIZE): Likewise.
46459 (TENS_P10_IDX): Likewise.
46460 (TENS_P10_SIZE): Likewise.
46461 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46462 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46463 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46464 entries for 10^2^13 and 10^2^14.
46465 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46466 (TENS_P13_IDX): Define.
46467 (TENS_P13_SIZE): Likewise.
46468 (TENS_P14_IDX): Likewise.
46469 (TENS_P14_SIZE): Likewise.
46470 (_fpioconst_pow10): Change array size to
46471 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46472 unconditional.
46473 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46474 1024]: Add entries for 10^2^13 and 10^2^14.
46475 [LAST_POW10 > _LAST_POW10]: Remove #error.
46476 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46477 (_fpioconst_pow10): Change array size to
46478 FPIOCONST_POW10_ARRAY_SIZE.
46479 * stdlib/gen-fpioconst.c: New file.
46480 * stdlib/gen-tst-strtod-round.c: Likewise.
46481 * stdlib/tst-strtod-round-data: Likewise.
46482 * stdlib/tst-strtod-round.c: Likewise.
46483 * stdlib/Makefile (tests): Add tst-strtod-round.
46484
46485 [BZ #14459]
46486 * stdlib/strtod_l.c: Include <stdint.h>.
46487 (NDEBUG): Do not define.
46488 (round_and_return): Change EXPONENT parameter to type intmax_t.
46489 Rearrange calculations to avoid internal overflow possibilities.
46490 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46491 Rearrange calculations to avoid internal overflow possibilities.
46492 Assert that number fits inside MPNSIZE limbs.
46493 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46494 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46495 calculations and add assertions to avoid internal overflow
46496 possibilities. Add casts to avoid signed/unsigned operations.
46497 * stdlib/tst-strtod-overflow.c: New file.
46498 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46499
46500 2012-08-25 Marek Polacek <polacek@redhat.com>
46501
46502 * time/time.h: Fix some typos in comments.
46503
46504 2012-08-23 Roland McGrath <roland@hack.frob.com>
46505
46506 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46507 * posix/tst-rfc3484-2.c: Likewise.
46508 * posix/tst-rfc3484-3.c: Likewise.
46509
46510 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46511
46512 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46513 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46514
46515 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46516
46517 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46518 #include of fxstatat64.c.
46519
46520 2012-08-22 Roland McGrath <roland@hack.frob.com>
46521
46522 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46523 * shadow/getspent_r.c: Likewise.
46524 * shadow/getspnam.c: Likewise.
46525 * shadow/getspnam_r.c: Likewise.
46526 * gshadow/getsgent.c: Likewise.
46527 * gshadow/getsgent_r.c: Likewise.
46528 * gshadow/getsgnam.c: Likewise.
46529 * gshadow/getsgnam_r.c: Likewise.
46530 * inet/getnetbyad.c: Likewise.
46531 * inet/getnetbyad_r.c: Likewise.
46532 * inet/getnetbynm.c: Likewise.
46533 * inet/getnetbynm_r.c: Likewise.
46534 * inet/getnetent.c: Likewise.
46535 * inet/getnetent_r.c: Likewise.
46536 * inet/getproto.c: Likewise.
46537 * inet/getproto_r.c: Likewise.
46538 * inet/getprtent.c: Likewise.
46539 * inet/getprtent_r.c: Likewise.
46540 * inet/getprtname.c: Likewise.
46541 * inet/getprtname_r.c: Likewise.
46542 * inet/getrpcbyname.c: Likewise.
46543 * inet/getrpcbyname_r.c: Likewise.
46544 * inet/getrpcbynumber.c: Likewise.
46545 * inet/getrpcbynumber_r.c: Likewise.
46546 * inet/getrpcent.c: Likewise.
46547 * inet/getrpcent_r.c: Likewise.
46548 * inet/getaliasent.c: Likewise.
46549 * inet/getaliasent_r.c: Likewise.
46550 * inet/getaliasname.c: Likewise.
46551 * inet/getaliasname_r.c: Likewise.
46552 * nscd/getgrgid_r.c: Likewise.
46553 * nscd/getgrnam_r.c: Likewise.
46554 * nscd/gethstbyad_r.c: Likewise.
46555 * nscd/gethstbynm3_r.c: Likewise.
46556 * nscd/getpwnam_r.c: Likewise.
46557 * nscd/getpwuid_r.c: Likewise.
46558 * nscd/getsrvbynm_r.c: Likewise.
46559 * nscd/getsrvbypt_r.c: Likewise.
46560 * nscd/gai.c: Likewise.
46561
46562 * configure.in (build_nscd): New substituted variable, set
46563 by --disable-build-nscd and defaults to $use_nscd.
46564 * configure: Regenerated.
46565 * config.make.in (build-nscd): New substituted variable.
46566 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46567 Change conditional to require [$(build-nscd) = yes] as well.
46568 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46569
46570 [BZ# 13696]
46571 * configure.in (use_nscd): New substituted variable, set by
46572 --disable-nscd. If enabled, define USE_NSCD.
46573 * configure: Regenerated.
46574 * config.h.in: Add USE_NSCD.
46575 * config.make.in (use-nscd): New substituted variable.
46576 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46577 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46578 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46579 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46580 (CFLAGS-getgrnam_r.c): Likewise.
46581 (CFLAGS-initgroups.c): Likewise.
46582 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46583 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46584 Variables removed.
46585 * inet/getnetgrent_r.c
46586 (nscd_setnetgrent): New function, broken out of ...
46587 (setnetgrent): ... here. Call it.
46588 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46589 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46590 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46591 * nscd/Makefile (routines, aux): Move definitions after include of
46592 Makeconfig. Conditionalize on [$(use-nscd) != no].
46593 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46594 Conditionalize on [USE_NSCD].
46595 (is_nscd, nscd_init_cb): Likewise.
46596 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46597 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46598 * nss/nss_db/db-init.c: Likewise.
46599 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46600 [USE_NSCD].
46601 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46602 (make_request): Use it.
46603 (cache_valid_p): New function.
46604 (__check_pf): Use it.
46605 * NEWS: Add item for --disable-nscd.
46606
46607 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46608
46609 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46610 to support sed >= 4.2.1-20-ga9bf076.
46611 * configure: Regenerated.
46612
46613 2012-08-22 Roland McGrath <roland@hack.frob.com>
46614
46615 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46616 Conditionalize whole body on [IREL].
46617
46618 2012-08-22 Jeff Law <law@redhat.com>
46619
46620 [BZ #14505]
46621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46622 if the family is PF_UNSPEC.
46623
46624 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46625
46626 * Makerules (lib-version): Rename from V.
46627 (install-lib-nosubdir): Change V to lib-version.
46628
46629 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46630
46631 [BZ #14252]
46632 * powerpc32/power6/wcschr.c: New file.
46633 * powerpc32/power6/wcscpy.c: New file.
46634 * powerpc32/power6/wcsrchr.c: New file.
46635 * powerpc64/power6/wcschr.c: New file.
46636 * powerpc64/power6/wcscpy.c: New file.
46637 * powerpc64/power6/wcsrchr.c: New file.
46638
46639 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46640
46641 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46642 (two_way_short_needle): Use it.
46643 * string/strstr.c (AVAILABLE1_USES_J): Define.
46644 * string/strcasestr.c: Likewise.
46645
46646 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46647 array references.
46648 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46649
46650 [BZ #11607]
46651 * NEWS: Add an entry.
46652 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46653 define their defaults.
46654 (two_way_short_needle): Detect end-of-string on-the-fly.
46655 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46656 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46657 * string/bug-strcasestr1.c: New test.
46658 * string/Makefile: Run it.
46659
46660 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46661
46662 [BZ #11607]
46663 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46664 the first character.
46665
46666 2012-08-21 Roland McGrath <roland@hack.frob.com>
46667
46668 * csu/elf-init.c (__libc_csu_irel): Function removed.
46669 * csu/libc-start.c (apply_irel): New function.
46670 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46671
46672 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46673
46674 * sysdeps/unix/sysv/linux/kernel-features.h
46675 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46676 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46677 <kernel-features.h>.
46678 [__NR_fadvise64_64]: Make code unconditional.
46679 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46680 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46681 !__NR_fadvise64_64)]: Likewise.
46682 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46683 !__NR_fadvise64_64))]: Likewise.
46684 [__NR_fadvise64]: Make code unconditional.
46685 [!__NR_fadvise64]: Remove conditional code.
46686 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46687 <kernel-features.h>.
46688 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46689 unconditional.
46690 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46691 conditional code.
46692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46693 not include <kernel-features.h>.
46694 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46695 unconditional.
46696 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46697 conditional code.
46698 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46699 include <kernel-features.h>.
46700 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46701 unconditional.
46702 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46703 conditional code.
46704
46705 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46706
46707 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46708 slight instruction rearrangements per scrollpipe analysis.
46709 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46710
46711 2012-08-20 Roland McGrath <roland@hack.frob.com>
46712
46713 * manual/syslog.texi (syslog; vsyslog, closelog):
46714 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46715 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46716
46717 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46718 DSOCAPS to match condition on defining it.
46719
46720 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46721
46722 * sysdeps/unix/sysv/linux/kernel-features.h
46723 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46725 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46726 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46728 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46729 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46731 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46732 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46733
46734 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46735 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46736
46737 * sysdeps/unix/sysv/linux/kernel-features.h
46738 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46739 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46740 unconditional.
46741 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46742 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46743 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46744 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46745 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46746 Make code unconditional.
46747 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46748 (__mmap64) [!__NR_mmap2]: Likewise.
46749 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46750 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46751 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46752 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46753 [__NR_mmap2]: Make code unconditional.
46754 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46755 (__mmap64) [!__NR_mmap2]: Likewise.
46756
46757 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46758
46759 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46760
46761 2012-08-18 Andreas Jaeger <aj@suse.de>
46762
46763 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46764
46765 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46766
46767 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46768 * include/unistd.h (__have_sock_cloexec): Likewise.
46769 (__have_pipe2): Likewise.
46770 (__have_dup3): Likewise.
46771
46772 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46773
46774 [BZ #9685]
46775 * include/unistd.h (__have_pipe2): Change define into an extern int.
46776 (__have_dup3): Likewise.
46777 * socket/have_sock_cloexec.c: Include fcntl.h.
46778 (__have_pipe2): New variable.
46779 (__have_dup3): Likewise.
46780
46781 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46782
46783 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46784
46785 2012-08-17 Marek Polacek <polacek@redhat.com>
46786
46787 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46788 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46789
46790 2012-08-17 Roland McGrath <roland@hack.frob.com>
46791
46792 * configure.in: Add AC_SUBST for sysheaders.
46793 * configure: Regenerated.
46794 * config.make.in (sysheaders): New substituted variable.
46795
46796 * sysdeps/unix/mkfifo.c: Moved ...
46797 * sysdeps/posix/mkfifo.c: ... here.
46798 * sysdeps/unix/mkfifoat.c: Moved ...
46799 * sysdeps/posix/mkfifoat.c: ... here.
46800
46801 * sysdeps/unix/utime.c: Moved ...
46802 * sysdeps/posix/utime.c: ... here.
46803
46804 * sysdeps/unix/time.c: Moved ...
46805 * sysdeps/posix/time.c: ... here.
46806 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46807 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46808
46809 * sysdeps/unix/nice.c: Moved ...
46810 * sysdeps/posix/nice.c: ... here.
46811
46812 * sysdeps/unix/alarm.c: Moved ...
46813 * sysdeps/posix/alarm.c: ... here.
46814
46815 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46816
46817 2012-08-17 Jeff Law <law@redhat.com>
46818
46819 * intl/Makefile (codeset_mo): New variable.
46820 ($(codeset_mo)): New target.
46821 (tst-codeset.out): Depend on that. Remove explicit rule.
46822 (tst-gettext3.out, tst-gettext5.out): Likewise.
46823 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46824 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46825 * intl/tst-codeset.sh: Remove.
46826 * intl/tst-gettext3.sh: Likewise.
46827 * intl/tst-gettext5.sh: Likewise.
46828
46829 2012-08-17 Roland McGrath <roland@hack.frob.com>
46830
46831 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46832 * sysdeps/unix/syscalls.list: ... here.
46833
46834 * sysdeps/posix/getaddrinfo.c
46835 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46836 (gaiconf_init, gaiconf_reload): Use them.
46837 [!_STATBUF_ST_NSEC]
46838 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46839 Define using time_t rather than struct timespec.
46840
46841 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46842 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46843 Macros removed.
46844 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46845 [!NO_THREADS].
46846 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46847 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46848 Likewise.
46849
46850 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46851 __libc_cleanup_push argument.
46852
46853 * bits/param.h: New file.
46854 * misc/sys/param.h: New file.
46855 * include/sys/param.h: New file.
46856 * misc/Makefile (headers): Add bits/param.h.
46857 * sysdeps/generic/sys/param.h: File removed.
46858 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46859 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46860 * sysdeps/mach/hurd/bits/param.h: New file.
46861 * sysdeps/mach/hurd/sys/param.h: File removed.
46862
46863 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46864 last change.
46865
46866 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46867 [_IO_MTSAFE_IO].
46868 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46869 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46870 New macros.
46871
46872 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46873 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46874 rather than -D_IO_MTSAFE_IO conditionally.
46875 * stdio-common/Makefile (CPPFLAGS): Likewise.
46876 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46877 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46878 Use $(libio-mtsafe).
46879 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46880 of -D_IO_MTSAFE_IO.
46881 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46882 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46883 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46884 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46885 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46886 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46887 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46888 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46889 (CFLAGS-fread_u_chk.c): Likewise.
46890 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46891 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46892 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46893 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46894 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46895 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46896 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46897 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46898 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46899
46900 * libio/Makefile: Test [$(libc-reentrant) = yes]
46901 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46902
46903 * Makeconfig
46904 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46905 * sysdeps/pthread/configure: File removed.
46906 * sysdeps/pthread/Makeconfig: New file.
46907 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46908 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46909
46910 2012-08-16 Gary Benson <gbenson@redhat.com>
46911
46912 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46913 unmapping the first object in a namespace.
46914
46915 2012-08-16 Roland McGrath <roland@hack.frob.com>
46916
46917 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46918 (__internal_setnetgrent): ... this. Add internal_function to
46919 definition. Add libc_hidden_def.
46920 (setnetgrent): Update caller.
46921 (internal_endnetgrent): Renamed to ...
46922 (__internal_endnetgrent): ... this. Add internal_function to
46923 definition. Add libc_hidden_def.
46924 (endnetgrent): Update caller.
46925 (internal_getnetgrent_r): Renamed to ...
46926 (__internal_getnetgrent_r): ... this. Add internal_function to
46927 definition. Add libc_hidden_def.
46928 (__getnetgrent_r): Update caller.
46929 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46930
46931 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46932
46933 * stdlib/longlong.h: Update from GCC.
46934
46935 2012-08-16 Roland McGrath <roland@hack.frob.com>
46936
46937 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46938 on _QL, which is set by umul_ppmm but never used.
46939 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46940 variables, which are set by GMP macros but never used.
46941 * stdio-common/_itowa.c (_itowa): Likewise.
46942 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46943 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46944
46945 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
46946
46947 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46948 struct La_sh_regs is not constant.
46949 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46950 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46951 and struct La_sparc64_regs are not constant.
46952
46953 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46954
46955 * sysdeps/unix/sysv/linux/kernel-features.h
46956 (__ASSUME_POSIX_TIMERS): Remove.
46957 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46958 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46959 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46960 Make code unconditional.
46961 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46962 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46963 Make code unconditional.
46964 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46965 * sysdeps/unix/sysv/linux/clock_nanosleep.c
46966 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46967 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46968 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46969 Make code unconditional.
46970 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46971 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46972 (__libc_missing_posix_timers): Remove.
46973
46974 2012-08-15 Roland McGrath <roland@hack.frob.com>
46975
46976 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46977 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46978
46979 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46980
46981 * elf/dl-sym.c: Include <stdlib.h>.
46982
46983 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46984 constants, which avoids warnings in 32-bit builds.
46985
46986 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46987 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46988
46989 * misc/lseek.c: File moved to ...
46990 * io/lseek.c: ... here.
46991
46992 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46993
46994 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46995 shifting LEN more than 31 bits at once.
46996
46997 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46998
46999 [BZ #14195]
47000 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47001 segmentation fault for a case of two empty input strings.
47002 * string/test-strncasecmp.c (check1): Renamed to...
47003 (bz12205): ...this.
47004 (bz14195): Add new testcase for two empty input strings and N > 0.
47005 (test_main): Call new testcase, adapt for renamed function.
47006
47007 2012-08-15 Andreas Jaeger <aj@suse.de>
47008
47009 [BZ #14090]
47010 * crypt/md5test2.c: New test, based on test supplied by Serge
47011 Belyshev <belyshev@depni.sinp.msu.ru>.
47012 * crypt/Makefile (xtests): Add md5test-giant..
47013 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47014
47015 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47016
47017 [BZ #14090]
47018 * crypt/md5.c (md5_process_block): Don't assume the buffer
47019 length is less than 2**32.
47020 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47021 length is less than 2**64.
47022
47023 2012-08-15 Roland McGrath <roland@hack.frob.com>
47024
47025 * string/str-two-way.h: Include <sys/param.h>.
47026 (MAX): Macro removed.
47027
47028 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47029 Move #define and #undef of memmove to just before and after
47030 including <string.h>.
47031
47032 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47033 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47034 and after including <string.h>. Move declarations of
47035 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47036 to before #include "string/memmove.c".
47037
47038 * include/dirent.h: Declare __getdirentries.
47039
47040 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47041 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47042
47043 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47044
47045 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47046 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47047 * sysdeps/i386/configure: Regenerated.
47048 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47049 STABS_CURRENT_FILE, and STABS_FUN.
47050 (END): Remove call to STABS_FUN_END.
47051 (STABS_CURRENT_FILE1): Delete.
47052 (STABS_CURRENT_FILE): Likewise.
47053 (STABS_FUN): Likewise.
47054 (STABS_FUN_END): Likewise.
47055 (STABS_FUN2): Likewise.
47056 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47057 * sysdeps/x86_64/configure: Regenerated.
47058
47059 2012-08-14 Roland McGrath <roland@hack.frob.com>
47060
47061 * elf/dl-open.c: Include <atomic.h>.
47062 * elf/dl-lookup.c: Likewise.
47063
47064 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47065
47066 * sysdeps/unix/sysv/linux/kernel-features.h
47067 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47068 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47069 unconditionally.
47070 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47071 unconditionally.
47072 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47073 condition on __ASSUME_CLONE_THREAD_FLAGS.
47074
47075 2012-08-14 Andreas Jaeger <aj@suse.de>
47076
47077 * sysdeps/i386/fpu/libm-test-ulps: Update.
47078
47079 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47080
47081 * include/atomic.h (atomic_exchange_and_add): Split into ...
47082 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47083 New atomic macros.
47084
47085 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47086
47087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47088
47089 2012-08-13 Jeff Law <law@redhat.com>
47090
47091 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47092 null byte in the output string.
47093
47094 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47095
47096 * sysdeps/unix/sysv/linux/kernel-features.h
47097 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47098 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47099 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47100 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47101 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47102 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47103 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47104
47105 2012-08-09 Jeff Law <law@redhat.com>
47106
47107 [BZ #13939]
47108 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47109 When avoid_arena is set, don't retry in the that arena. Pick the
47110 next one, whatever it might be.
47111 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47112 (arena_lock): Pass in new parameter to arena_get2.
47113 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47114 arena_get2.
47115 (__libc_malloc): Unify retrying after main arena failure with
47116 __libc_memalign version.
47117 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47118
47119 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47120
47121 [BZ #14166]
47122 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47123 to __redirect_strstr.
47124 (__strstr_sse42): Use typeof __redirect_strstr.
47125 (__strstr_ia32): Likewise.
47126 (__libc_strstr): New prototype.
47127 (strstr): Renamed to ...
47128 (__libc_strstr): This.
47129 (strstr): New strong alias of __libc_strstr.
47130 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47131 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47132 __redirect_time.
47133 Include <time.h>.
47134 (__libc_time): New prototype.
47135 (time_ifunc): Replace time with __libc_time.
47136 (time): New strong alias and hidden definition of __libc_time.
47137 (__GI_time): Remove strong alias.
47138 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47139 Include <stddef.h>.
47140 (memmove): Redefined to __redirect_memmove.
47141 (__memmove_sse2): Use typeof __redirect_memmove.
47142 (__memmove_ssse3): Likewise.
47143 (__memmove_ssse3_back): Likewise.
47144 (__libc_memmove): New prototype.
47145 (memmove): Renamed to ...
47146 (__libc_memmove): This.
47147 (memmove): New strong alias of __libc_memmove.
47148
47149 2012-08-08 Mark Salter <msalter@redhat.com>
47150
47151 * elf/elf.h
47152 (R_MN10300_TLS_GD): Define.
47153 (R_MN10300_TLS_LD): Likewise.
47154 (R_MN10300_TLS_LDO): Likewise.
47155 (R_MN10300_TLS_GOTIE): Likewise.
47156 (R_MN10300_TLS_IE): Likewise.
47157 (R_MN10300_TLS_LE): Likewise.
47158 (R_MN10300_TLS_DTPMOD): Likewise.
47159 (R_MN10300_TLS_DTPOFF): Likewise.
47160 (R_MN10300_TLS_TPOFF): Likewise.
47161 (R_MN10300_SYM_DIFF): Likewise.
47162 (R_MN10300_ALIGN): Likewise.
47163 (R_MN10300_NUM): Update.
47164
47165 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47166
47167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47168 Remove.
47169
47170 2012-08-08 Roland McGrath <roland@hack.frob.com>
47171
47172 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47173
47174 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47175 sysdeps/unix -> sysdeps/posix move.
47176 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47177
47178 2012-08-07 Allan McRae <allan@archlinux.org>
47179
47180 [BZ #14303]
47181 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47182 (SUNOS_CPP): Likewise.
47183 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47184 not found.
47185 (open_input): Call CPP using execvp.
47186
47187 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47188
47189 * sysdeps/unix/sysv/linux/kernel-features.h
47190 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47191 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47192 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47193 (__ASSUME_WAITID_SYSCALL): Likewise.
47194 * sysdeps/unix/sysv/linux/dl-execstack.c
47195 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47196 code unconditional.
47197 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47198 conditional code.
47199 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47200 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47201 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47202 code.
47203 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47204 unconditional.
47205 [__ASSUME_WAITID_SYSCALL]: Likewise.
47206 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47207
47208 2012-08-07 Roland McGrath <roland@hack.frob.com>
47209
47210 * sysdeps/unix/closedir.c: Renamed to ...
47211 * sysdeps/posix/closedir.c: ... here.
47212 * sysdeps/unix/dirfd.c: Renamed to ...
47213 * sysdeps/posix/dirfd.c: ... here.
47214 * sysdeps/unix/dirstream.h: Renamed to ...
47215 * sysdeps/posix/dirstream.h: ... here.
47216 * sysdeps/unix/fdopendir.c: Renamed to ...
47217 * sysdeps/posix/fdopendir.c: ... here.
47218 * sysdeps/unix/opendir.c: Renamed to ...
47219 * sysdeps/posix/opendir.c: ... here.
47220 * sysdeps/unix/readdir.c: Renamed to ...
47221 * sysdeps/posix/readdir.c: ... here.
47222 * sysdeps/unix/readdir_r.c: Renamed to ...
47223 * sysdeps/posix/readdir_r.c: ... here.
47224 * sysdeps/unix/rewinddir.c: Renamed to ...
47225 * sysdeps/posix/rewinddir.c: ... here.
47226 * sysdeps/unix/seekdir.c: Renamed to ...
47227 * sysdeps/posix/seekdir.c: ... here.
47228 * sysdeps/unix/telldir.c: Renamed to ...
47229 * sysdeps/posix/telldir.c: ... here.
47230 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47231 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47232 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47233 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47234
47235 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47236 * bits/fcntl.h: ... here.
47237
47238 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47239 not 0.
47240 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47241 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47242 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47243 (struct flock): Move l_start, l_len to the beginning.
47244 Use __pid_t for l_pid.
47245 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47246 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47247 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47248 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47249 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47250 [__USE_LARGEFILE64] (struct flock64): New type.
47251 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47252
47253 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47254 * bits/dirent.h: ... here.
47255
47256 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47257 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47258
47259 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47260
47261 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47262 Change from 2.6.0 to 2.6.16.
47263 * sysdeps/unix/sysv/linux/configure: Regenerated.
47264 * sysdeps/unix/sysv/linux/kernel-features.h
47265 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47266 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47267 version.
47268 (__ASSUME_UTIMES): Likewise.
47269 (__ASSUME_CLONE_STOPPED): Remove.
47270 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47271 architectures, not kernel version.
47272 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47273 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47274 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47275 (__ASSUME_WAITID_SYSCALL): Likewise.
47276 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47277 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47278 * README: State 2.6.16 as minimum Linux kernel version. Do not
47279 refer to older versions.
47280
47281 2012-08-06 Roland McGrath <roland@hack.frob.com>
47282
47283 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47284 Define alphasort64 as an alias.
47285 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47286 Define versionsort64 as an alias.
47287 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47288 Define scandir64 as an alias.
47289 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47290 Define scandirat64 as an alias.
47291 * dirent/alphasort64.c (alphasort64):
47292 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47293 * dirent/versionsort64.c: Likewise.
47294 * dirent/scandir64.c: Likewise.
47295 * dirent/scandirat64.c: Likewise.
47296 * sysdeps/wordsize-64/alphasort.c: File removed.
47297 * sysdeps/wordsize-64/alphasort64.c: File removed.
47298 * sysdeps/wordsize-64/scandir.c: File removed.
47299 * sysdeps/wordsize-64/scandir64.c: File removed.
47300 * sysdeps/wordsize-64/scandirat.c: File removed.
47301 * sysdeps/wordsize-64/scandirat64.c: File removed.
47302 * sysdeps/wordsize-64/versionsort.c: File removed.
47303 * sysdeps/wordsize-64/versionsort64.c: File removed.
47304 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47306 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47307 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47308 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47309 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47310 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47311 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47312
47313 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47315 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47317 [defined __arch64__ || defined __sparcv9]
47318 (__INO_T_MATCHES_INO64_T): New macro.
47319 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47320 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47321 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47322 * sysdeps/unix/sysv/linux/bits/dirent.h
47323 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47324 (_DIRENT_MATCHES_DIRENT64): New macro.
47325
47326 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47327 Define lockf64 as an alias.
47328 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47329 Define fseeko64 as an alias.
47330 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47331 Define ftello64 as an alias.
47332 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47333 Define _IO_fgetpos64 and fgetpos64 as aliases.
47334 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47335 Define _IO_fsetpos64 and fsetpos64 as aliases.
47336 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47337 Conditionalize body on this.
47338 * libio/fseeko64.c: Likewise.
47339 * libio/ftello64.c: Likewise.
47340 * libio/iofgetpos64.c: Likewise.
47341 * libio/iofsetpos64.c: Likewise.
47342 * sysdeps/wordsize-64/lockf.c: File removed.
47343 * sysdeps/wordsize-64/lockf64.c: File removed.
47344 * sysdeps/wordsize-64/fseeko.c: File removed.
47345 * sysdeps/wordsize-64/fseeko64.c: File removed.
47346 * sysdeps/wordsize-64/ftello.c: File removed.
47347 * sysdeps/wordsize-64/ftello64.c: File removed.
47348 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47349 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47350 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47351 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47352 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47353 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47354 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47356 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47360 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47361 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47362
47363 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47365 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47367 [defined __arch64__ || defined __sparcv9]
47368 (__OFF_T_MATCHES_OFF64_T): New macro.
47369 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47370 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47372 (__OFF_T_MATCHES_OFF64_T): New macro.
47373
47374 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47375
47376 * stdlib/secure-getenv.c (__secure_getenv): Replace
47377 GLIBC_2_16 with GLIBC_2_17.
47378
47379 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47380
47381 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47382 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47383
47384 2012-08-03 David S. Miller <davem@davemloft.net>
47385
47386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47387
47388 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47389
47390 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47391 Remove.
47392 (__ASSUME_CORRECT_SI_PID): Likewise.
47393 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47394 (__ASSUME_TMPFS_NAME): Likewise.
47395 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47396 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47397 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47398 (HAVE_AUX_SECURE): Make definition unconditional.
47399 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47400 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47401
47402 2012-08-03 Roland McGrath <roland@hack.frob.com>
47403
47404 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47405 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47406 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47407 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47408 __eloop_threshold instead of SYMLOOP_MAX.
47409
47410 * sysdeps/generic/eloop-threshold.h: New file.
47411 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47412 of MAXSYMLINKS.
47413 * elf/chroot_canon.c (chroot_canon): Likewise.
47414
47415 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47416
47417 [BZ #13717]
47418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47419 Change to 2.6.0 everywhere.
47420 * sysdeps/unix/sysv/linux/configure: Regenerated.
47421 * sysdeps/unix/sysv/linux/kernel-features.h
47422 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47423 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47424 kernel versions.
47425 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47426 (__ASSUME_FUTEX_REQUEUE): Remove.
47427 (__ASSUME_STATFS64): Define unconditionally.
47428 (__ASSUME_AT_SECURE): Likewise.
47429 (__ASSUME_CORRECT_SI_PID): Likewise.
47430 (__ASSUME_TGKILL): Define without depending on kernel version for
47431 i386.
47432 (__ASSUME_UTIMES): Likewise.
47433 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47434 kernel version.
47435 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47436 (__ASSUME_TMPFS_NAME): Likewise.
47437 * README: Update reference to Linux kernel versions.
47438
47439 2012-08-02 Marek Polacek <polacek@redhat.com>
47440
47441 [BZ# 14150]
47442 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47443 libc_cv_asm_type_prefix with %.
47444 * configure: Regenerated.
47445 * include/libc-symbols.h: Remove comment about
47446 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47447 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47448 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47449 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47450 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47451 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47452 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47453 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47454 * elf/tst-unique2mod1.c: Likewise.
47455 * elf/tst-unique1mod2.c: Likewise.
47456 * elf/tst-unique1mod1.c: Likewise.
47457 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47458 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47459 Replace ASM_TYPE_DIRECTIVE with .type.
47460 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47461 * sysdeps/i386/sysdep.h: Likewise.
47462 * sysdeps/x86_64/sysdep.h: Likewise.
47463 * sysdeps/sh/sysdep.h: Likewise.
47464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47465 Do not define ASM_TYPE_DIRECTIVE.
47466 * sysdeps/powerpc/sysdep.h: Likewise.
47467 * sysdeps/powerpc/powerpc32/sysdep.h:
47468 Replace ASM_TYPE_DIRECTIVE with .type.
47469 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47470 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47471 * sysdeps/i386/fpu/e_powf.S: Likewise.
47472 * sysdeps/i386/fpu/e_expl.S: Likewise.
47473 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47474 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47475 * sysdeps/i386/fpu/e_pow.S: Likewise.
47476 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47477 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47478 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47479 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47480 * sysdeps/i386/fpu/e_log2.S: Likewise.
47481 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47482 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47483 * sysdeps/i386/fpu/e_powl.S: Likewise.
47484 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47485 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47486 * sysdeps/i386/fpu/e_logl.S: Likewise.
47487 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47488 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47489 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47490 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47491 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47492 * sysdeps/i386/fpu/e_log.S: Likewise.
47493 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47494 * sysdeps/i386/fpu/e_logf.S: Likewise.
47495 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47496 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47497 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47498 * sysdeps/i386/fpu/e_log10.S: Likewise.
47499 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47500 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47501 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47502 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47503 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47504 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47505 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47506 * sysdeps/i386/i686/strtok.S: Likewise.
47507 * sysdeps/i386/i386-mcount.S: Likewise.
47508 * sysdeps/i386/strtok.S: Likewise.
47509 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47510 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47511 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47512 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47513 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47514 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47515 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47516 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47517 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47518 * sysdeps/x86_64/_mcount.S: Likewise.
47519 * sysdeps/x86_64/strtok.S: Likewise.
47520 * sysdeps/sh/_mcount.S: Likewise.
47521
47522 2012-08-01 Roland McGrath <roland@hack.frob.com>
47523
47524 * libio/iofopen.c: Include <fcntl.h>.
47525 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47526 (_IO_fopen64, fopen64): Define as aliases.
47527 * libio/iofopen64.c: Include <fcntl.h>.
47528 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47529 Conditionalize body on this.
47530 * sysdeps/wordsize-64/iofopen.c: File removed.
47531 * sysdeps/wordsize-64/iofopen64.c: File removed.
47532
47533 2012-08-01 Marek Polacek <polacek@redhat.com>
47534
47535 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47536 Use dlfcn directly instead of a variable.
47537 (binfmt-subdir): Do not define.
47538 (dlfcn): Likewise.
47539
47540 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47541
47542 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47543 Remove all definitions.
47544 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47545 <kernel-features.h>.
47546 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47547 (miss_F_GETOWN_EX): Remove all definitions.
47548 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47549 macro definition.
47550 [!__ASSUME_FCNTL64]: Remove conditional code.
47551 [__ASSUME_FCNTL64]: Make code unconditional.
47552 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47553 <kernel-features.h>.
47554 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47555 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47556 (lockf64) [__NR_fcntl64]: Make code unconditional.
47557 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47558
47559 * sysdeps/unix/sysv/linux/kernel-features.h
47560 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47561 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47562 Make code unconditional.
47563 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47564 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47566 [__NR_vfork]: Make code unconditional.
47567 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47568 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47570 [__NR_vfork]: Make code unconditional.
47571 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47572 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47573
47574 2012-08-01 Roland McGrath <roland@hack.frob.com>
47575
47576 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47577 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47578
47579 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47580 Define mkstemp64 as an alias.
47581 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47582 Define mkstemps64 as an alias.
47583 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47584 Define mkostemp64 as an alias.
47585 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47586 Define mkostemps64 as an alias.
47587 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47588 Conditionalize body on this.
47589 * misc/mkostemp64.c: Likewise.
47590 * misc/mkostemps64.c: Likewise.
47591 * misc/mkstemps64.c: Likewise.
47592 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47593 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47594 * sysdeps/wordsize-64/mkostemp.c: File removed.
47595 * sysdeps/wordsize-64/mkstemp.c: File removed.
47596 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47597 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47598 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47599 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47600
47601 [BZ #14138]
47602 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47603 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47604 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47605 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47606
47607 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47608 compat_symbol macros from <shlib-compat.h> rather than the underlying
47609 default_symbol_version and symbol_version macros, so that DEFAULT
47610 lines in shlib-versions are respected.
47611 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47612
47613 2012-08-01 Florian Weimer <fweimer@redhat.com>
47614
47615 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47616 Declare with warn_unused_result.
47617 (setgid, setregid, setegid, setresgid): Likewise.
47618 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47619 Likewise.
47620 * WUR-REPORT: Remove set*id functions.
47621
47622 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47623
47624 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47625
47626 2012-07-31 Roland McGrath <roland@hack.frob.com>
47627
47628 [BZ #10191]
47629 * include/sys/socket.h (__libc_accept, __libc_accept4):
47630 Add attribute_hidden.
47631 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47632
47633 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47634 use of PTR_MANGLE.
47635 * inet/getnetgrent_r.c (setup): Likewise.
47636
47637 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47638
47639 2012-07-31 David S. Miller <davem@davemloft.net>
47640
47641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47642
47643 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47644
47645 [BZ #13629]
47646 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47647 value between 1.0 and 2.0 and smaller part has absolute value less
47648 than 1.0.
47649 * math/s_clog10.c (__clog10): Likewise.
47650 * math/s_clog10f.c (__clog10f): Likewise.
47651 * math/s_clog10l.c (__clog10l): Likewise.
47652 * math/s_clogf.c (__clogf): Likewise.
47653 * math/s_clogl.c (__clogl): Likewise.
47654 * math/libm-test.inc (clog_test): Add more tests.
47655 (clog10_test): Likewise.
47656 * sysdeps/i386/fpu/libm-test-ulps: Update.
47657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47658
47659 2012-07-31 Florian Weimer <fweimer@redhat.com>
47660
47661 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47662 Exit with zero in case no suitable GID is found, and write a
47663 message to standard error.
47664
47665 2012-07-30 Roland McGrath <roland@hack.frob.com>
47666
47667 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47668 rather than to 1.
47669 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47670 (MAXPATHLEN): Removed.
47671 (NOGROUP, NODEV): New macros.
47672 (setbit, clrbit, isset, isclr): New macros.
47673 (howmany, roundup, powerof2): New macros.
47674 (DEV_BSIZE): New macro.
47675
47676 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47677 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47678
47679 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47680 definition on [!__NO_LONG_DOUBLE_MATH].
47681
47682 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47683 PTR_MANGLE and PTR_DEMANGLE.
47684
47685 * socket/accept4.c (accept4): Rename to __libc_accept4.
47686 Define accept4 as a weak alias.
47687
47688 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47689 on [_DIRENT_HAVE_D_TYPE].
47690 * io/ftw.c (ftw_dir): Likewise.
47691
47692 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47693
47694 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47695
47696 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47697 Use the BSD numbers rather than the arbitrary ones we had.
47698 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47699 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47700 (SIGXCPU, SIGXFSZ): New macros.
47701 (_NSIG): Now 32.
47702
47703 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47704 initializer on [_LIBC_REENTRANT].
47705
47706 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47707 definitions inside [_POSIX_MAPPED_FILES].
47708
47709 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47710
47711 * dirent/opendir.c: Include <fcntl.h>.
47712
47713 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47714 (__libc_getspecific): Likewise.
47715 (__libc_key_create): Likewise.
47716
47717 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47718 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47719 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47720 (tmpfile64): Define as alias.
47721 * sysdeps/wordsize-64/tmpfile.c: File removed.
47722 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47723 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47724 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47725
47726 * stdio-common/vfscanf.c: Include <stdbool.h>.
47727 * nss/makedb.c: Likewise.
47728 * stdio-common/_i18n_number.h: Likewise.
47729 * argp/argp-help.c: Likewise.
47730 * posix/wordexp.c: Likewise.
47731 * sysdeps/posix/spawni.c: Likewise.
47732 * nss/nss_files/files-initgroups.c: Likewise.
47733 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47734 * nss/nss_files/files-initgroups.c: Likewise.
47735 * nss/nss_db/db-netgrp.c: Likewise.
47736 * nss/nss_db/db-initgroups.c: Likewise.
47737 * io/fchmodat.c: Include <sys/stat.h>.
47738
47739 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47740 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47741
47742 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47743 [HAVE_MMAP].
47744
47745 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47746 Add multiple inclusion protection.
47747
47748 2012-07-27 David S. Miller <davem@davemloft.net>
47749
47750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47751
47752 2012-07-27 Gary Benson <gbenson@redhat.com>
47753
47754 [BZ #14298]
47755 * elf/rtld.c: Include <stap-probe.h>.
47756 (dl_main): Added static probes "init_start" and "init_complete".
47757 * elf/dl-load.c: Include <stap-probe.h>.
47758 (lose): Take new parameter "nsid".
47759 Added static probe "map_failed".
47760 (_dl_map_object_from_fd): Pass namespace id to lose.
47761 Added static probe "map_start".
47762 (open_verify): Pass namespace id to lose.
47763 * elf/dl-open.c: Include <stap-probe.h>.
47764 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47765 and "reloc_complete".
47766 * elf/dl-close.c: Include <stap-probe.h>.
47767 (_dl_close_worker): Added static probes "unmap_start" and
47768 "unmap_complete".
47769 * elf/rtld-debugger-interface.txt: New file documenting the above.
47770
47771 2012-07-26 Roland McGrath <roland@hack.frob.com>
47772
47773 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47774 rather than a string variable.
47775 * sunrpc/rpc_main.c (h_output): Likewise.
47776 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47777
47778 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47779
47780 * inet/check_native.c: New file.
47781
47782 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47783
47784 [BZ #13629]
47785 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47786 if larger part has absolute value 1.0.
47787 * math/s_clog10.c (__clog10): Likewise.
47788 * math/s_clog10f.c (__clog10f): Likewise.
47789 * math/s_clog10l.c (__clog10l): Likewise.
47790 * math/s_clogf.c (__clogf): Likewise.
47791 * math/s_clogl.c (__clogl): Likewise.
47792 * math/libm-test.inc (clog_test): Add more tests.
47793 (clog10_test): Likewise.
47794 * sysdeps/i386/fpu/libm-test-ulps: Update.
47795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47796
47797 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47798 (pltexit): Likewise.
47799 (La_regs): Likewise.
47800 (La_retval): Likewise.
47801 (int_retval): Likewise.
47802 Update #error for removed macros to refer only to definitions in
47803 tst-audit.h.
47804 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47805 macro.
47806 (pltexit): Likewise.
47807 (La_regs): Likewise.
47808 (La_retval): Likewise.
47809 (int_retval): Likewise.
47810 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47811 macro.
47812 (pltexit): Likewise.
47813 (La_regs): Likewise.
47814 (La_retval): Likewise.
47815 (int_retval): Likewise.
47816 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47817 macro.
47818 (pltexit): Likewise.
47819 (La_regs): Likewise.
47820 (La_retval): Likewise.
47821 (int_retval): Likewise.
47822 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47823 macro.
47824 (pltexit): Likewise.
47825 (La_regs): Likewise.
47826 (La_retval): Likewise.
47827 (int_retval): Likewise.
47828 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47829 macro.
47830 (pltexit): Likewise.
47831 (La_regs): Likewise.
47832 (La_retval): Likewise.
47833 (int_retval): Likewise.
47834 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47835 macro.
47836 (pltexit): Likewise.
47837 (La_regs): Likewise.
47838 (La_retval): Likewise.
47839 (int_retval): Likewise.
47840 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47841 macro definitions in tst-audit.h.
47842 * sysdeps/i386/tst-audit.h: New file.
47843 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47844 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47845 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47846 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47847 * sysdeps/sh/tst-audit.h: Likewise.
47848 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47849 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47850 * sysdeps/x86_64/tst-audit.h: Likewise.
47851
47852 2012-07-26 Andreas Jaeger <aj@suse.de>
47853
47854 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47855 ptrace.
47856
47857 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47858 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47859 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47860 PTRACE_O_MASK.
47861 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47862 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47863 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47864
47865 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47866 value.
47867
47868 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47869 _sigsys.
47870 (si_call_addr, si_syscall, si_arch): Define new macro.
47871 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47872 _sigsys.
47873 (si_call_addr, si_syscall, si_arch): Define new marcro.
47874 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47875 _sigsys.
47876 (si_call_addr, si_syscall, si_arch): Define new macro.
47877 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47878 _sigsys.
47879 (si_call_addr, si_syscall, si_arch): Define new macro.
47880
47881 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47882
47883 [BZ #13717]
47884 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47885 Change to 2.4.21 where previously 2.4.1.
47886 * sysdeps/unix/sysv/linux/configure: Regenerated.
47887 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47888 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47889 Linux kernel version.
47890 (__ASSUME_STD_AUXV): Remove.
47891 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47892 kernel version.
47893 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47894 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47895 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47896 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47897 (__ASSUME_NETLINK_SUPPORT): Likewise.
47898 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47899 (__no_netlink_support): Remove conditional definition.
47900 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47901 Remove.
47902 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47903 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47904 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47905 (if_nameindex_ioctl): Remove.
47906 (if_nameindex_netlink): Do not handle __no_netlink_support.
47907 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47908 code.
47909 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47910 Remove conditional code.
47911 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47912 code.
47913 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47914 unconditional.
47915 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47916 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47917 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47918 Remove.
47919 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47920 [!__ASSUME_STD_AUXV]: Remove conditional code.
47921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47922 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47923 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47925 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47926 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47927 code.
47928 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47930 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47931 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47932 conditional code.
47933 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47935 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47936 code.
47937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47938 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47939 conditional code.
47940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47941 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47942 code unconditional.
47943 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47944 conditional code.
47945 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47946 unconditional.
47947 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47948 conditional code.
47949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47950 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47951 unconditional.
47952 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47953 conditional code.
47954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47955 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47956 code unconditional.
47957 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47958 conditional code.
47959 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47960 unconditional.
47961 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47962 conditional code.
47963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47964 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47965 code unconditional.
47966 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47967 conditional code.
47968 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47969 unconditional.
47970 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47971 conditional code.
47972
47973 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
47974
47975 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47976 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47977 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47978 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47979 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47980 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47981 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47982 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47983 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47984 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47985 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47986 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47987 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47988 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47989 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47990 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47991 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47992 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47993 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47995 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47996 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47997 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47998
47999 2012-07-25 Florian Weimer <fweimer@redhat.com>
48000
48001 * Versions.def: Add GLIBC_2.17.
48002 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48003 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48004 Introduce __libc_secure_getenv.
48005 * stdlib/Versions (2.17): Add secure_getenv
48006 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48007 * stdlib/secure-getenv.c: Rename __secure_getenv to
48008 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48009 symbol __secure_getenv for GLIBC_2.0.
48010 * stdlib/tst-secure-getenv.c: New.
48011 * stdlib/Makefile (tests): Add testcase.
48012 * manual/startup.texi (Environment Access): Document
48013 secure_getenv.
48014 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48015 __libc_secure_getenv.
48016 * inet/ruserpass.c (ruserpass): Likewise.
48017 * malloc/mtrace.c (mtrace): Likewise.
48018 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48019 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48020 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48021 * sysdeps/posix/tempname.c: Likewise. Evaluate
48022 HAVE_SECURE_GETENV.
48023 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48024 __secure_getenv to __libc_secure_getenv.
48025 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48027 Likewise.
48028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48029 Likewise.
48030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48037
48038 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48039
48040 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48041 (struct La_i86_retval): Likewise.
48042 (struct La_x86_64_regs): Likewise.
48043 (struct La_x86_64_retval): Likewise.
48044 (struct La_x32_regs): Likewise.
48045 (struct La_x32_retval): Likewise.
48046 (struct La_ppc32_regs): Likewise.
48047 (struct La_ppc32_retval): Likewise.
48048 (struct La_ppc64_regs): Likewise.
48049 (struct La_ppc64_retval): Likewise.
48050 (struct La_sh_regs): Likewise.
48051 (struct La_sh_retval): Likewise.
48052 (struct La_s390_32_regs): Likewise.
48053 (struct La_s390_32_retval): Likewise.
48054 (struct La_s390_64_regs): Likewise.
48055 (struct La_s390_64_retval): Likewise.
48056 (struct La_sparc32_regs): Likewise.
48057 (struct La_sparc32_retval): Likewise.
48058 (struct La_sparc64_regs): Likewise.
48059 (struct La_sparc64_retval): Likewise.
48060 (struct audit_ifaces): Remove architecture-specific pltenter and
48061 pltexit members.
48062 * sysdeps/i386/ldsodefs.h: New file.
48063 * sysdeps/powerpc/ldsodefs.h: Likewise.
48064 * sysdeps/s390/ldsodefs.h: Likewise.
48065 * sysdeps/sh/ldsodefs.h: Likewise.
48066 * sysdeps/sparc/ldsodefs.h: Likewise.
48067 * sysdeps/x86_64/ldsodefs.h: Likewise.
48068
48069 2012-07-25 Marek Polacek <polacek@redhat.com>
48070
48071 [BZ #6808]
48072 * math/libm-test.inc (yn_test): Add another test.
48073 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48074 to ERANGE when the result is +-Inf.
48075 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48076 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48077 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48078 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48079
48080 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48081
48082 * conform/data/time.h-data (NULL): Use macro-constant. Require
48083 equal to 0.
48084 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48085 clock_t.
48086 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48087
48088 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48089
48090 * configure.in <sysdeps resolving>: Correct printing
48091 Implies_before.
48092 * configure: Regenerate.
48093
48094 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48095
48096 * math/w_ilogb.c: Include <limits.h>.
48097 * math/w_ilogbl.c: Likewise.
48098
48099 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48100
48101 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48102 va_copy. Document allowing for unavailable va_copy only as
48103 pre-C99 compatibility.
48104 * manual/string.texi (Copying and Concatenation): Use va_copy
48105 instead of __va_copy in concat example.
48106
48107 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48108
48109 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48110 (__sendto): Use create_address_port. Initialize APORT and deallocate
48111 it if not null.
48112
48113 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48114 with O_NOLINK passed to __file_name_lookup.
48115
48116 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48117 with O_NOLINK passed to __file_name_lookup.
48118
48119 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48120 negative N or less than NGIDS.
48121
48122 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48123 type to string_t. Set ERANGE as errno and return it if NAME is not big
48124 enough. Use memcpy instead of strncpy.
48125
48126 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48127
48128 * elf/Makefile (check-data): Remove.
48129 (localplt.data): New vpath directive.
48130 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48131 instead of $(check-data).
48132 * scripts/data/localplt-generic.data: Move to ...
48133 * sysdeps/generic/localplt.data: ... here.
48134 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48135 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48136 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48138 ... here.
48139 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48141 ... here.
48142 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48144 ... here.
48145 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48147 ... here.
48148 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48150 ... here.
48151 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48153 ... here.
48154
48155 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48156
48157 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48158 PPC32 and PPC64 files.
48159 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48160 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48161
48162 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48163
48164 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48165 __makecontext_ret to ...
48166 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48167 ... here and call exit if uc_link is NULL. New file.
48168 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48169 __makecontext_ret.S.
48170 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48171 __makecontext_ret to ...
48172 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48173 ... here and call exit if uc_link is NULL. New file.
48174 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48175 __makecontext_ret.S.
48176
48177 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48178
48179 * elf/elf.h (R_390_IRELATIVE): New definition.
48180 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48181 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48182 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48184 (elf_machine_lazy_rel): Likewise.
48185 * sysdeps/s390/dl-irel.h: New file.
48186 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48187 * sysdeps/s390/s390-64/memset.S: New asm code.
48188 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48189 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48190 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48191 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48192 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48193 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48195 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48196 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48197 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48198 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48199 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48200 * sysdeps/s390/s390-32/memset.S: New asm code.
48201 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48202
48203 2012-07-17 Marek Polacek <polacek@redhat.com>
48204
48205 [BZ #14349]
48206 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48207 * sysdeps/s390/s390-64/configure.in: Likewise.
48208 * sysdeps/sparc/configure.in: Likewise.
48209 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48210 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48211 * sysdeps/i386/configure.in: Likewise.
48212 * sysdeps/x86_64/configure.in: Likewise.
48213 * sysdeps/sh/configure.in: Likewise.
48214 * sysdeps/s390/s390-32/configure: Regenerated.
48215 * sysdeps/s390/s390-64/configure: Likewise.
48216 * sysdeps/x86_64/configure: Likewise.
48217 * sysdeps/sh/configure: Likewise.
48218 * sysdeps/powerpc/powerpc64/configure: Likewise.
48219 * sysdeps/powerpc/powerpc32/configure: Likewise.
48220 * sysdeps/sparc/configure: Likwise.
48221 * sysdeps/i386/configure: Likewise.
48222
48223 * elf/dl-open.c: Comment fixes.
48224
48225 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48226
48227 * Makefile [CXX] (check-data): Remove.
48228 [CXX] (c++-types.data): New vpath directive.
48229 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48230 vpath. Do not allow for C++ type data being missing.
48231 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48232 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48233 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48234 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48235 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48236 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48237 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48239 ... here.
48240 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48242 ... here.
48243 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48245 ... here.
48246 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48248 ... here.
48249 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48251 ... here.
48252 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48254 ... here.
48255 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48257 ... here.
48258 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48260
48261 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48262 definitions to architecture-specific files.
48263 (TLS_IE): Likewise.
48264 (TLS_LD): Likewise.
48265 (TLS_GD): Likewise.
48266 * sysdeps/i386/tls-macros.h: New file.
48267 * sysdeps/powerpc/tls-macros.h: Likewise.
48268 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48269 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48270 * sysdeps/sh/tls-macros.h: Likewise.
48271 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48272 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48273 * sysdeps/x86_64/tls-macros.h: Likewise.
48274
48275 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48276
48277 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48278 zero value for regular exit case.
48279
48280 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48281 (__start_context): Preserve zero value for regular exit case.
48282
48283 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48284 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48285
48286 * manual/setjmp.texi (setcontext): Clarify normal process
48287 termination when uc_link is the null pointer.
48288 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48289 exit call.
48290
48291 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48292
48293 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48294 preprocessor. Test for each exception mask separately.
48295
48296 2012-07-16 Andreas Jaeger <aj@suse.de>
48297
48298 * po/ru.po: Update from translation team.
48299
48300 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48301
48302 * conform/data/string.h-data (NULL): Use macro-constant. Require
48303 equal to 0.
48304 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48305 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48306 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48307 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48308 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48309
48310 2012-07-13 Andreas Jaeger <aj@suse.de>
48311
48312 * po/fr.po: Update from translation team.
48313
48314 2012-07-12 Marek Polacek <polacek@redhat.com>
48315
48316 [BZ #14173]
48317 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48318 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48319 loop condition.
48320
48321 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48322
48323 [BZ #13717]
48324 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48325 Change to 2.4.1 where previously 2.4.0.
48326 * sysdeps/unix/sysv/linux/configure: Regenerated.
48327 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48328 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48329 version.
48330 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48331 (__ASSUME_AT_CLKTCK): Remove.
48332 (__ASSUME_AT_PAGESIZE): Likewise.
48333 (__ASSUME_AT_XID): Likewise.
48334 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48335 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48336 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48337 unconditionally.
48338 (HAVE_AUX_PAGESIZE): Likewise.
48339 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48340 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48341 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48342
48343 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48344
48345 [BZ #14307]
48346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48347 the temporary buffer used to invoke __gethostbyname2_r,
48348 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48349 host_data / struct gaih_addrtuple.
48350 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48351 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48352 header file nss/nsswitch.h.
48353 * nss/nsswitch.h (global scope): Add definition of implementation
48354 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48355 resolv/nss_dns/dns-host.c).
48356
48357 2012-07-11 Andreas Jaeger <aj@suse.de>
48358
48359 * po/fr.po: Update from translation team.
48360
48361 * po/sv.po: Update from translation team
48362 * po/fr.po: Another update from translation team.
48363
48364 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48365
48366 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48367 for subnormals or multiply small sinh result by itself.
48368 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48370
48371 2012-07-11 David S. Miller <davem@davemloft.net>
48372
48373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48374
48375 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48376
48377 [BZ #14347]
48378 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48379 (INTERNAL_MARK): Shift it here.
48380
48381 2012-07-10 Marek Polacek <polacek@redhat.com>
48382
48383 [BZ #14151]
48384 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48385 libc_cv_asm_global_directive with .globl.
48386 * configure: Regenerated.
48387 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48388 with .globl.
48389 * sysdeps/i386/configure: Regenerated.
48390 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48391 with .globl.
48392 * sysdeps/x86_64/configure: Regenerated.
48393 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48394 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48395 * elf/tst-unique2mod2.c: Likewise.
48396 * elf/tst-unique2mod1.c: Likewise.
48397 * elf/tst-unique1mod2.c: Likewise.
48398 * elf/tst-unique1mod1.c: Likewise.
48399 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48400 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48401 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48402 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48403 * sysdeps/mach/sysdep.h: Likewise.
48404 * sysdeps/i386/sysdep.h: Likewise.
48405 * sysdeps/i386/i386-mcount.S: Likewise.
48406 * sysdeps/x86_64/_mcount.S: Likewise.
48407 * sysdeps/x86_64/sysdep.h: Likewise.
48408 * sysdeps/sh/_mcount.S: Likewise.
48409 * sysdeps/sh/sysdep.h: Likewise.
48410 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48411 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48412 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48413 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48414 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48415 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48416 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48417 * locale/localeinfo.h: Likewise.
48418 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48419 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48420
48421 2012-07-09 Roland McGrath <roland@hack.frob.com>
48422
48423 [BZ #14336]
48424 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48425 system".
48426 * manual/message.texi (The Uniforum approach): Likewise.
48427 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48428 (glibc iconv Implementation): Likewise.
48429
48430 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48431
48432 [BZ #14337]
48433 * math/s_clog.c (__clog): Avoid scaling a value down where that
48434 could result in underflow.
48435 * math/s_clog10.c (__clog10): Likewise.
48436 * math/s_clog10f.c (__clog10f): Likewise.
48437 * math/s_clog10l.c (__clog10l): Likewise.
48438 * math/s_clogf.c (__clogf): Likewise.
48439 * math/s_clogl.c (__clogl): Likewise.
48440 * math/libm-test.inc (clog_test): Add more tests.
48441 (clog10_test): Likewise.
48442 * sysdeps/i386/fpu/libm-test-ulps: Update.
48443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48444
48445 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48446
48447 [BZ #14283]
48448 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48449 by 7 not 8 to examine high bit of fractional part.
48450
48451 [BZ #14042]
48452 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48453 for call to __mcount_internal.
48454 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48455 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48456 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48457
48458 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48459
48460 [BZ #14154]
48461 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48462 approximation for values within 0x1p-13f of an odd multiple of
48463 pi/4.
48464 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48465 exception. Add more tests.
48466 * sysdeps/i386/fpu/libm-test-ulps: Update.
48467
48468 [BZ #6778]
48469 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48470 inputs and return -1 for them. Do not check for +Inf in case not
48471 reachable for +Inf.
48472 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48473 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48475 and return -1 for them. Do not check for +Inf in case not
48476 reachable for +Inf.
48477 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48478 define.
48479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48480 and return -1 for them. Do not check for +Inf in case not
48481 reachable for +Inf.
48482 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48483 spurious underflow.
48484 * sysdeps/i386/fpu/libm-test-ulps: Update.
48485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48486
48487 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48488
48489 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48490
48491 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48492
48493 [BZ #14157]
48494 [BZ #14331]
48495 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48496 could result in spurious underflow. Scale down values above
48497 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48498 * math/s_csqrtf.c (__csqrtf): Likewise.
48499 * math/s_csqrtl.c (__csqrtl): Likewise.
48500 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48501 spurious underflow.
48502 * sysdeps/i386/fpu/libm-test-ulps: Update.
48503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48504
48505 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48506
48507 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48508 xopen-msg.sed.
48509 * catgets/xopen-msg.awk: New file.
48510 * catgets/xopen-msg.sed: Removed.
48511
48512 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48513 po2text.sed.
48514 * intl/po2test.awk: New file.
48515 * intl/po2test.sed: Removed.
48516
48517 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48518
48519 [BZ #14328]
48520 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48521 or multiply small sinh result by itself.
48522 * math/s_ctanf.c (__ctanf): Likewise.
48523 * math/s_ctanh.c (__ctanh): Likewise.
48524 * math/s_ctanhf.c (__ctanhf): Likewise.
48525 * math/s_ctanhl.c (__ctanhl): Likewise.
48526 * math/s_ctanl.c (__ctanl): Likewise.
48527 * math/libm-test.inc (ctan_test_tonearest): New function.
48528 (ctan_test_towardzero): Likewise.
48529 (ctan_test_downward): Likewise.
48530 (ctan_test_upward): Likewise.
48531 (ctanh_test_tonearest): Likewise.
48532 (ctanh_test_towardzero): Likewise.
48533 (ctanh_test_downward): Likewise.
48534 (ctanh_test_upward): Likewise.
48535 (main): Call these new functions.
48536 * sysdeps/i386/fpu/libm-test-ulps: Update.
48537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48538
48539 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48540
48541 * .gitignore: Delete /ports entry.
48542
48543 2012-07-03 Andreas Jaeger <aj@suse.de>
48544
48545 * po/bg.po: Update from translation team.
48546 * po/cs.po: Likewise.
48547 * po/de.po: Likewise.
48548 * po/hr.po: Likewise.
48549 * po/nl.pl: Likewise.
48550 * po/pl.po: Likewise.
48551 * po/vi.po: Likewise.
48552
48553 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48554
48555 * Makeconfig [!+link] (+link-before-libc): New variable.
48556 [!+link] (+link-after-libc): Likewise.
48557 [!+link] (+link-tests): Likewise.
48558 [!+link] (+link): Define in terms of $(+link-before-libc) and
48559 $(+link-after-libc).
48560 [!+link-static] (+link-static-before-libc): New variable.
48561 [!+link-static] (+link-static-after-libc): Likewise.
48562 [!+link-static] (+link-static-tests): Likewise.
48563 [!+link-static] (+link-static): Define in terms of
48564 $(+link-static-before-libc) and $(+link-static-after-libc).
48565 [build-shared] (link-libc-before-gnulib): New variable.
48566 [build-shared] (link-libc-tests): Likewise.
48567 [build-shared] (link-libc): Define in terms of
48568 $(link-libc-before-gnulib).
48569 [!build-shared] (link-libc-tests): New variable.
48570 (link-libc-static-tests): New variable.
48571 [!gnulib] (gnulib-arch): New variable.
48572 [!gnulib] (gnulib-tests): Likewise.
48573 [!gnulib] (static-gnulib-arch): Likewise.
48574 [!gnulib] (static-gnulib-tests): Likewise.
48575 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48576 Define with "=" instead of ":=".
48577 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48578 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48579 * Rules (binaries-all-notests): New variable.
48580 (binaries-all-tests): Likewise.
48581 (binaries-static-notests): Likewise.
48582 (binaries-static-tests): Likewise.
48583 (binaries-all): Define using $(binaries-all-notests) and
48584 $(binaries-all-tests).
48585 (binaries-static): Define using $(binaries-static-notests) and
48586 $(binaries-static-tests).
48587 (binaries-shared-tests): New variable.
48588 (binaries-shared-notests): Likewise.
48589 (binaries-shared): Remove variable.
48590 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48591 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48592 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48593 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48594 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48595 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48596 * elf/Makefile (sln-modules): New variable.
48597 (extra-objs): Add $(sln-modules:=.o).
48598 (ldconfig-modules): Add static-stubs.
48599 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48600 * elf/static-stubs.c: New file.
48601
48602 [BZ #14283]
48603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48604 by 7 not 8 to examine high bit of fractional part. Use volatile
48605 variables when splitting into final array of floats if
48606 __FLT_EVAL_METHOD__ != 0.
48607 * math/libm-test.inc (cos_test): Add another test.
48608 (sin_test): Likewise.
48609 * sysdeps/i386/fpu/libm-test-ulps: Update.
48610
48611 [BZ #14273]
48612 * math/libm-test.inc (cosh_test): Add more tests.
48613
48614 * version.h (RELEASE): Set to "development".
48615 (VERSION): Set to "2.16.90".
48616
48617 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48618
48619 * NEWS: Update copyright. Remove last-updated date.
48620 Mention math library bug fixes and timezone data changes.
48621 * README: Mention GNU/Hurd, x32, and HPPA support status.
48622
48623 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48624
48625 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48626
48627 2012-06-27 Andreas Jaeger <aj@suse.de>
48628
48629 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48630
48631 2012-06-25 Andreas Jaeger <aj@suse.de>
48632
48633 * sysdeps/s390/fpu/libm-test-ulps: Update.
48634
48635 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48636 Thomas Schwinge <thomas@codesourcery.com>
48637
48638 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48639 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48641 fanotify_mark.
48642
48643 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48644
48645 * sysdeps/mach/start.c: Remove file.
48646 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48647 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48648 * sysdeps/sh/init-first.c: Likewise.
48649
48650 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48651 registers for frame unwinding purposes, add CFI directives.
48652 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48653 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48654 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48655 Likewise.
48656
48657 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48658 __fortify_fail returning.
48659 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48660
48661 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48662 sysdeps/sh/____longjmp_chk.S.
48663 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48664 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48665 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48666 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48667
48668 * sysdeps/sh/abort-instr.h: New file.
48669 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48670 process in case exit returns.
48671
48672 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48673 initialize the GOT register before use.
48674
48675 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48676 calculation of ARGC > 4.
48677
48678 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48679 meaningful names to some local labels.
48680
48681 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48682 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48683
48684 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48685 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48686 (__arch_compare_and_exchange_val_16_acq): Likewise.
48687 (__arch_compare_and_exchange_val_32_acq): Likewise.
48688 (atomic_exchange_and_add): Fix gUSA sequence.
48689 (atomic_add): Likewise.
48690 (atomic_add_negative): Likewise.
48691 (atomic_add_zero): Likewise.
48692 (atomic_bit_test_set): Likewise.
48693
48694 2012-06-22 Andreas Schwab <schwab@redhat.com>
48695
48696 [BZ #13579]
48697 * include/link.h (struct link_map): Add l_free_initfini.
48698 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48699 l_initfini.
48700 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48701 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48702 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48703 set.
48704
48705 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48706
48707 * configure.in: Use AC_LANG_SOURCE.
48708 * configure: Regenerate.
48709
48710 2012-06-22 Roland McGrath <roland@hack.frob.com>
48711
48712 * configure.in (libc_cv_localstatedir): New substituted variable.
48713 * configure: Regenerated.
48714 * config.make.in (localstatedir): New variable, substituted from
48715 libc_cv_localstatedir.
48716 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48717 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48718 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48719 * sysdeps/gnu/configure: Regenerated.
48720
48721 2012-06-21 Jeff Law <law@redhat.com>
48722
48723 [BZ #14277]
48724 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48725 free. Simplify list management for _LIBC case.
48726
48727 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48728
48729 [BZ #14273]
48730 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48731 Clear sign bit of 64-bit integer value before comparing against
48732 overflow value.
48733
48734 * sysdeps/mach/configure: Regenerated.
48735
48736 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48737
48738 [BZ #14278]
48739 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48740
48741 2012-06-21 Jeff Law <law@redhat.com>
48742
48743 [BZ #13882]
48744 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48745 uint16_t for elements in the "seen" array to avoid char overflows.
48746 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48747 * elf/dl-open.c (dl_open_worker): Likewise.
48748
48749 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48750
48751 * scripts/list-sources.sh: Scan PORTS for translations.
48752 * po/libc.pot: Regenerated.
48753
48754 2012-06-21 Andreas Jaeger <aj@suse.de>
48755
48756 [BZ #12194]
48757 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48758 warning.
48759 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48760 * bits/byteswap-16.h (__bswap_16): Likewise.
48761 * bits/byteswap.h (__bswap_constant_16): Likewise.
48762
48763 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48764
48765 [BZ #14117]
48766 * sysdeps/i386/fpu_control.h: Removed.
48767 * sysdeps/x86_64/fpu_control.h: Moved to ...
48768 * sysdeps/x86/fpu_control.h: Here.
48769
48770 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48771 (_FPU_SETCW): Likewise.
48772
48773 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48774
48775 [BZ #14117]
48776 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48777 * sysdeps/x86/fpu/bits/mathinline.h: This.
48778 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48779
48780 [BZ #14050]
48781 [BZ #14117]
48782 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48783 functions if __x86_64__ is defined.
48784
48785 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48786
48787 * string/endian.h: Add !__ASSEMBLER__ condition for including
48788 conversion interfaces.
48789
48790 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48791
48792 [BZ #14241]
48793 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48794 of ABS(x) in calculating zero to negative powers other than odd
48795 integers.
48796 * math/libm-test.inc (pow_test): Add more tests.
48797
48798 2012-06-15 Andreas Jaeger <aj@suse.de>
48799
48800 * manual/contrib.texi (Contributors): Update entry of Liubov
48801 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48802 Machado Filho.
48803
48804 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48805
48806 * string/string.h: Add __wur to GNU version of strerror_r.
48807
48808 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48809
48810 [BZ #14229]
48811 * string/Makefile (tests): Add tst-strtok_r.
48812 * string/tst-strtok_r.c: New file.
48813 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48814 RAX_LP/RDX_LP on SAVE_PTR.
48815
48816 2012-06-14 Roland McGrath <roland@hack.frob.com>
48817
48818 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48819
48820 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48821
48822 * libm_test.inc (csqrt_test): Allow more spurious underflow
48823 exceptions.
48824 (j0_test): Likewise.
48825 (j1_test): Likewise.
48826 (y0_test): Likewise.
48827 (y1_test): Likewise.
48828
48829 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48830
48831 * po/Makefile (libc.pot): Use UTF-8 charset.
48832
48833 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48834
48835 [BZ #14210]
48836 Suppress sign-conversion warning from FD_SET.
48837 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48838 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48839 not unsigned long int.
48840 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48841
48842 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48843
48844 [BZ #14050]
48845 [BZ #14117]
48846 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48847 __extern_always_inline instead of __extern_inline.
48848 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48849 (__signbit): Likewise.
48850 (__signbitl): Support C++ namespace.
48851 (lrintf): New inline function.
48852 (lrint): Likewise.
48853 (llrintf): Likewise.
48854 (llrint): Likewise.
48855 (fmaxf): Likewise.
48856 (fmax): Likewise.
48857 (fminf): Likewise.
48858 (fmin): Likewise.
48859 (rint): Likewise.
48860 (rintf): Likewise.
48861 (ceil): Likewise.
48862 (ceilf): Likewise.
48863 (floor): Likewise.
48864 (floorf): Likewise.
48865 (nearbyint): Likewise.
48866 (nearbyintf): Likewise.
48867
48868 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48869
48870 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48871 non-default versions.
48872
48873 2012-06-11 Roland McGrath <roland@hack.frob.com>
48874
48875 [BZ #14218]
48876 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48877
48878 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48879
48880 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48881 (FE_UPWARD, FE_DOWNWARD): Don't define.
48882 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48883 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48884
48885 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48886 reading it.
48887 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48888 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48889
48890 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48891
48892 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48894 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48895 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48896
48897 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48898
48899 [BZ #14117]
48900 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48901 * sysdeps/i386/fpu/Implies: New file.
48902 * sysdeps/x86_64/fpu/Implies: Likewise.
48903 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48904 * sysdeps/x86/fpu/bits/fenv.h: This.
48905
48906 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48907 __SSE_MATH__.
48908
48909 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48910
48911 [BZ #14134]
48912 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48913 character 0xffff that matches the last element of the
48914 conversion table.
48915
48916 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48917
48918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48919 fmodl commit.
48920
48921 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48922
48923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48924 values higher than 25.6283.
48925
48926 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48927
48928 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48929 subnormal exponent extraction and add some __builtin_expect.
48930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48931 Fix for subnormal mantissa calculation.
48932
48933 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48934
48935 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48936 cpu2 is -1 and errno is not ENOSYS.
48937
48938 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48939
48940 [BZ #14117]
48941 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48942 * sysdeps/x86/bits/string.h: This.
48943 * sysdeps/x86_64/bits/string.h: Removed.
48944
48945 * sysdeps/i386/i486/bits/string.h: Define inline functions only
48946 if not compiling for x86-64, but compiling for >= i486.
48947
48948 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48949 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48950
48951 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48952 New macro from Linux kernel 3.4.0.
48953 (FP_XSTATE_MAGIC2): Likewise.
48954 (FP_XSTATE_MAGIC2_SIZE): Likewise.
48955 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48956 (struct _fpx_sw_bytes): New struct.
48957 (struct _xsave_hdr): Likewise.
48958 (struct _ymmh_state): Likewise.
48959 (struct _xstate): Likewise.
48960
48961 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48962 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48963 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48964 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48965 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48966 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48967
48968 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48969 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48970 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48971 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48972 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48973 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48974
48975 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48976
48977 [BZ #13743]
48978 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48979 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48980 (sysdep_headers): Include sys/platform/ppc.h.
48981 * sysdeps/powerpc/test-gettimebase.c: Test for
48982 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48983 * manual/Makefile (appendices): Include platform.texi.
48984 * manual/contrib.texi (Contributors): Update @node pointers.
48985 * manual/maint.texi (Maintenance): Likewise.
48986 (Platform): New node.
48987 * manual/platform.texi: New file. Document the new features.
48988
48989 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48990 Jakub Jelinek <jakub@redhat.com>
48991
48992 [BZ #14188]
48993 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48994 where __builtin_expect is unavailable.
48995
48996 2012-06-03 David S. Miller <davem@davemloft.net>
48997
48998 * stdlib/longlong.h: Updated from GCC.
48999
49000 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49001
49002 [BZ #14042]
49003 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49004 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49005 __mcount_internal.
49006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49007 (GLIBC_2.16): Likewise.
49008
49009 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49010
49011 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49012
49013 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49014
49015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49016 (default-abi): New variable.
49017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49018 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49019 variable.
49020 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49021 Likewise.
49022 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49023 Likewise.
49024 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49025 Likewise.
49026
49027 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49028 definition. Document in comment.
49029
49030 2012-06-01 David S. Miller <davem@davemloft.net>
49031
49032 * stdlib/longlong.h: Updated from GCC.
49033
49034 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49035
49036 [BZ #14117]
49037 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49038 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49039 sys/debugreg.h sys/io.h here.
49040 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49041 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49042 sys/io.h.
49043 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49044 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49045 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49046 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49047 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49048 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49049
49050 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49051 Define only if __x86_64__ is defined.
49052
49053 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49054
49055 [BZ #14048]
49056 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49057 Use int64_t for variable i.
49058 * math/libm-test.inc (fmod_test): Add more tests.
49059
49060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49061 z computation is not scheduled after fetestexcept.
49062 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49063 Use math_force_eval instead of asm to ensure calculation scheduled
49064 before exception test.
49065 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49066 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49067
49068 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49069
49070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49071 computation is not scheduled after fetestexcept.
49072
49073 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49074
49075 [BZ #14117]
49076 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49077 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49078
49079 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49080
49081 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49082 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49083
49084 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49085
49086 [BZ #14117]
49087 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49088 <bits/wordsize.h>.
49089 (__WCHAR_MIN): Support __WORDSIZE == 64.
49090 (__WCHAR_MAX): Likewise.
49091
49092 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49093 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49094
49095 [BZ #14183]
49096 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49097 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49098
49099 [BZ #14117]
49100 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49101 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49102
49103 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49104 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49105
49106 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49107 Defined to 1 if __x86_64__ isn't defined.
49108 (_STAT_VER_LINUX_OLD): New.
49109 (st_atime): Remove duplicate.
49110 (st_mtime): Likewise.
49111 (st_ctime): Likewise.
49112
49113 2012-05-31 David S. Miller <davem@davemloft.net>
49114
49115 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49116 entries.
49117
49118 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49119
49120 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49121 gen-libm-test.pl.
49122
49123 [BZ #14132]
49124 * elf/dl-reloc.c: Include <_itoa.h>.
49125 (_dl_reloc_bad_type): Remove use of INTUSE.
49126 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49127 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49128 * stdio-common/psiginfo.c (psiginfo): Likewise.
49129 * stdio-common/psignal.c (psignal): Likewise.
49130 * string/strsignal.c (strsignal): Likewise.
49131 * include/signal.h (_sys_siglist): Declare hidden proto.
49132 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49133 INTVARDEF with libc_hidden_data_def.
49134 * stdio-common/itoa-udigits.c: Likewise.
49135 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49136 (_itoa_lower_digits_internal): Remove declaration.
49137 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49138 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49139 (_sys_sigabbrev_internal): Remove aliases.
49140 (_sys_siglist): Define hidden alias.
49141
49142 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49143
49144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49145 bits/sysctl.h.
49146
49147 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49148
49149 [BZ #14117]
49150 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49151 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49152
49153 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49154 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49155 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49156 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49157 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49158 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49159
49160 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49161 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49162 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49163
49164 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49165 with __addr.
49166 (insw): Likewise.
49167 (insl): Likewise.
49168 (outsb): Likewise.
49169 (outsw): Likewise.
49170 (outsl): Likewise.
49171
49172 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49173 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49174 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49175
49176 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49177 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49178 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49179 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49180 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49181 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49182
49183 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49184 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49185
49186 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49187 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49188
49189 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49191 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49192
49193 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49194 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49195 to ...
49196 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49197
49198 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49199 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49200 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49201
49202 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49203 for x86-64.
49204 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49205
49206 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49207
49208 * math/math.h (M_El): Use two more decimal places.
49209 (M_LOG2El): Likewise.
49210 (M_LOG10El): Likewise.
49211 (M_LN2l): Likewise.
49212 (M_LN10l): Likewise.
49213 (M_PIl): Likewise.
49214 (M_PI_2l): Likewise.
49215 (M_PI_4l): Likewise.
49216 (M_1_PIl): Likewise.
49217 (M_2_PIl): Likewise.
49218 (M_2_SQRTPIl): Likewise.
49219 (M_SQRT2l): Likewise.
49220 (M_SQRT1_2l): Likewise.
49221
49222 2012-05-31 David S. Miller <davem@davemloft.net>
49223
49224 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49225 values between float registers.
49226 * sysdeps/sparc/sparc64/memset.S: Likewise.
49227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49228
49229 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49230
49231 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49232 -D_FORTIFY_SOURCE=1.
49233 (CPPFLAGS-tst-longjmp_chk.c): Define.
49234 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49235 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49236 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49237 CFLAGS-tst-wchar-h.c.
49238
49239 2012-05-31 Marek Polacek <polacek@redhat.com>
49240
49241 [BZ #14132]
49242 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49243 __endmntent_internal): Remove declaration.
49244 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49245 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49246 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49247
49248 2012-05-30 David S. Miller <davem@davemloft.net>
49249
49250 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49251 (___Q_simulate_exceptions): Use real FP ops rather than writing
49252 into the %fsr.
49253 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49254 Likewise.
49255
49256 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49257
49258 [BZ #14117]
49259 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49260 * sysdeps/x86/bits/xtitypes.h: This.
49261
49262 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49263 * sysdeps/x86/bits/wordsize.h: This.
49264
49265 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49266 * sysdeps/x86/bits/huge_vall.h: This.
49267
49268 * sysdeps/i386/bits/select.h: Removed.
49269 * sysdeps/x86_64/bits/select.h: Renamed to ...
49270 * sysdeps/x86/bits/select.h: This.
49271
49272 * sysdeps/i386/bits/setjmp.h: Removed.
49273 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49274 * sysdeps/x86/bits/setjmp.h: This.
49275
49276 * sysdeps/i386/bits/mathdef.h: Removed.
49277 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49278 * sysdeps/x86/bits/mathdef.h: This.
49279
49280 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49281
49282 [BZ #14132]
49283 * include/sys/socket.h (__connect_internal)
49284 (__libc_sa_len_internal): Remove declaration.
49285 (__connect, __libc_sa_len): Declare hidden_proto.
49286 (SA_LEN): Remove use of INTUSE.
49287 * socket/connect.c: Add libc_hidden_def.
49288 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49289 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49290 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49291 alias.
49292 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49293 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49294 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49295 of adding _internal alias.
49296
49297 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49298
49299 [BZ #14117]
49300 * sysdeps/i386/bits/link.h: Removed.
49301 * sysdeps/i386/bits/linkmap.h: Likewise.
49302 * sysdeps/x86_64/bits/link.h: Renamed to ...
49303 * sysdeps/x86/bits/link.h: This.
49304 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49305 * sysdeps/x86/bits/linkmap.h: This.
49306
49307 * sysdeps/i386/bits/endian.h: Removed.
49308 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49309 * sysdeps/x86/bits/endian.h: This.
49310
49311 * sysdeps/i386/bits/byteswap.h: Removed.
49312 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49313 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49314 * sysdeps/x86/bits/byteswap.h: This.
49315 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49316 * sysdeps/x86/bits/byteswap-16.h: This.
49317 * sysdeps/i386/Implies: Add x86.
49318 * sysdeps/x86_64/Implies: Likewise.
49319
49320 2012-05-30 David S. Miller <davem@davemloft.net>
49321
49322 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49323 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49324 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49325 (FP_TRAPPING_EXCEPTIONS): Define.
49326 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49327 (FP_TRAPPING_EXCEPTIONS): Define.
49328 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49329 subnormals only when inexact has been signalled or underflow
49330 exceptions are enabled.
49331 (_FP_PACK_CANONICAL): Likewise.
49332
49333 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49334
49335 [BZ #14183]
49336 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49337 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49338
49339 2012-05-30 Richard Henderson <rth@twiddle.net>
49340
49341 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49342 with #ifndef NOT_IN_libc.
49343
49344 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49345 marked to avoid plt entry.
49346
49347 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49348
49349 [BZ #14112]
49350 * Makeconfig (default-abi): New macro.
49351 (abi-includes): Likewise.
49352 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49353 $(abi-$(default-abi)-lib-soname) for soname if defined.
49354 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49355 abi-variants.
49356 * Makefile (installed-stubs): Likewise.
49357 * include/stubs-biarch.h: Removed.
49358 * scripts/lib-names.awk: Only handle one library at a time.
49359 * scripts/soversions.awk: Remove WORDSIZE support.
49360 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49361 entries.
49362 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49363 Removed.
49364 (syscall-list-default-condition): Likewise.
49365 (syscall-list-default-condition): Likewise.
49366 (syscall-list-includes): Likewise.
49367 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49368 syscall-list-* with abi-*. Handle undefined abi-variants.
49369 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49370 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49371 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49372 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49373 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49374 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49375 Removed.
49376 (syscall-list-32-options): Likewise.
49377 (syscall-list-32-condition): Likewise.
49378 (syscall-list-64-options): Likewise.
49379 (syscall-list-64-condition): Likewise.
49380 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49381 macro.
49382 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49383 Renamed to ...
49384 (abi-*): This.
49385 (abi-64-ld-soname): New macro.
49386 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49387 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49388 Renamed to ...
49389 (abi-*): This.
49390 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49391 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49392
49393 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49394
49395 * sysdeps/unix/sysv/linux/kernel-features.h
49396 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49397 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49398 include <kernel-features.h>.
49399 [!__NR_ftruncate64]: Remove conditional code.
49400 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49401 [__NR_ftruncate64]: Make code unconditional.
49402 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49403 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49404 include <kernel-features.h>.
49405 [!__NR_ftruncate64]: Remove conditional code.
49406 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49407 [__NR_ftruncate64]: Make code unconditional.
49408 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49410 include <kernel-features.h>.
49411 [!__NR_ftruncate64]: Remove conditional code.
49412 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49413 [__NR_ftruncate64]: Make code unconditional.
49414 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49416 include <kernel-features.h>.
49417 [!__NR_ftruncate64]: Remove conditional code.
49418 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49419 [__NR_ftruncate64]: Make code unconditional.
49420 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49421
49422 * configure.in (libc_cv_fpie): Weaken to a compile test using
49423 LIBC_TRY_CC_OPTION.
49424 * configure: Regenerated.
49425
49426 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49427
49428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49432 Refreshed.
49433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49439 Refreshed.
49440
49441 2012-05-27 David S. Miller <davem@davemloft.net>
49442
49443 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49444 (___Q_zero): New.
49445 (__Q_simulate_exceptions): Return void. Change to simulate
49446 exceptions by writing into the %fsr.
49447 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49448 (__Qp_handle_exceptions): Likewise.
49449 (numbers): Delete.
49450 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49451 __Qp_handle_exceptions.
49452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49453 __Qp_handle_exceptions.
49454 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49455 as unused and give dummy FP_RND_NEAREST initializer.
49456 (FP_INHIBIT_RESULTS): Define.
49457 (___Q_simulate_exceptions): Update declaration.
49458 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49459 formatting.
49460 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49461 as unused and give dummy FP_RND_NEAREST initializer.
49462 (__Qp_handle_exceptions): Update declaration.
49463 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49464 formatting.
49465
49466 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49467
49468 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49469 the temporary FPU control word.
49470 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49471 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49472 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49473 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49474 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49475 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49476 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49477 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49478 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49479 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49480 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49481
49482 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49483
49484 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49485 fields.
49486
49487 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49488
49489 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49490 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49491 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49492 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49493 Likewise.
49494 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49495 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49496 Likewise.
49497
49498 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49499
49500 * po/h.po: Update from translation team.
49501
49502 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49503
49504 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49505
49506 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49507 handling of denormals.
49508 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49509 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49510 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49511 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49512 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49513 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49515 Likewise.
49516
49517 2012-05-26 Marek Polacek <polacek@redhat.com>
49518
49519 [BZ #14152]
49520 * math/libm-test.inc (fma_test): Don't always expect underflow
49521 exception.
49522
49523 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49524
49525 [BZ #12416]
49526 * elf/tst-execstack.c: Include stackinfo.h.
49527 (do_test): Adjust test case to ensure that pthread_getattr_np
49528 behaviour remains the same after marking stack executable.
49529
49530 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49531
49532 * sysdeps/unix/sysv/linux/kernel-features.h
49533 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49534 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49535 kernel-features.h.
49536 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49537 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49538 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49539 kernel-features.h.
49540 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49541 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49542
49543 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49544
49545 * configure.in: Define the default includes to being none.
49546 * configure: Regenerated.
49547
49548 2012-05-25 Roland McGrath <roland@hack.frob.com>
49549
49550 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49551 * sysdeps/x86_64/setjmp.S: Likewise.
49552 * sysdeps/i386/bsd-setjmp.S: Likewise.
49553 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49554 * sysdeps/i386/setjmp.S: Likewise.
49555 * sysdeps/i386/__longjmp.S: Likewise.
49556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49557 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49558
49559 * include/stap-probe.h: New file.
49560 * configure.in: Handle --enable-systemtap.
49561 * configure: Regenerated.
49562 * config.h.in (USE_STAP_PROBE): New #undef.
49563 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49564 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49565 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49566
49567 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49568
49569 [BZ #13717]
49570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49571 to 2.4.0 where earlier.
49572 * sysdeps/unix/sysv/linux/configure: Regenerated.
49573 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49574 <kernel-features.h>.
49575 [__ASSUME_32BITUIDS]: Make code unconditional.
49576 [!__ASSUME_32BITUIDS]: Remove conditional code.
49577 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49578 <kernel-features.h>.
49579 [__ASSUME_32BITUIDS]: Make code unconditional.
49580 [!__ASSUME_32BITUIDS]: Remove conditional code.
49581 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49582 [__ASSUME_32BITUIDS]: Make code unconditional.
49583 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49584 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49585 <kernel-features.h>.
49586 [__ASSUME_32BITUIDS]: Make code unconditional.
49587 [!__ASSUME_32BITUIDS]: Remove conditional code.
49588 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49589 <kernel-features.h>.
49590 [__ASSUME_32BITUIDS]: Make code unconditional.
49591 [!__ASSUME_32BITUIDS]: Remove conditional code.
49592 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49593 <kernel-features.h>.
49594 [__ASSUME_32BITUIDS]: Make code unconditional.
49595 [!__ASSUME_32BITUIDS]: Remove conditional code.
49596 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49597 <kernel-features.h>.
49598 [__ASSUME_32BITUIDS]: Make code unconditional.
49599 [!__ASSUME_32BITUIDS]: Remove conditional code.
49600 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49601 <kernel-features.h>.
49602 [__ASSUME_32BITUIDS]: Make code unconditional.
49603 [!__ASSUME_32BITUIDS]: Remove conditional code.
49604 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49605 <kernel-features.h>.
49606 [__ASSUME_32BITUIDS]: Make code unconditional.
49607 [!__ASSUME_32BITUIDS]: Remove conditional code.
49608 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49609 <kernel-features.h>.
49610 [__ASSUME_32BITUIDS]: Make code unconditional.
49611 [!__ASSUME_32BITUIDS]: Remove conditional code.
49612 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49613 <kernel-features.h>.
49614 [__ASSUME_32BITUIDS]: Make code unconditional.
49615 [!__ASSUME_32BITUIDS]: Remove conditional code.
49616 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49617 <kernel-features.h>.
49618 [__ASSUME_32BITUIDS]: Make code unconditional.
49619 [!__ASSUME_32BITUIDS]: Remove conditional code.
49620 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49621 <kernel-features.h>.
49622 [__ASSUME_32BITUIDS]: Make code unconditional.
49623 [!__ASSUME_32BITUIDS]: Remove conditional code.
49624 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49625 <kernel-features.h>.
49626 [__NR_setresgid] (__setresgid): Do not declare.
49627 [__ASSUME_32BITUIDS]: Make code unconditional.
49628 [!__ASSUME_32BITUIDS]: Remove conditional code.
49629 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49630 <kernel-features.h>.
49631 [__NR_setresuid] (__setresuid): Do not declare.
49632 [__ASSUME_32BITUIDS]: Make code unconditional.
49633 [!__ASSUME_32BITUIDS]: Remove conditional code.
49634 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49635 <kernel-features.h>.
49636 [__ASSUME_32BITUIDS]: Make code unconditional.
49637 [!__ASSUME_32BITUIDS]: Remove conditional code.
49638 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49639 <kernel-features.h>.
49640 [__ASSUME_32BITUIDS]: Make code unconditional.
49641 [!__ASSUME_32BITUIDS]: Remove conditional code.
49642 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49643 <kernel-features.h>.
49644 [__ASSUME_32BITUIDS]: Make code unconditional.
49645 [!__ASSUME_32BITUIDS]: Remove conditional code.
49646 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49647 <kernel-features.h>.
49648 [__ASSUME_32BITUIDS]: Make code unconditional.
49649 [!__ASSUME_32BITUIDS]: Remove conditional code.
49650 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
49675 (__ASSUME_SETRESUID_SYSCALL): Remove.
49676 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49677 (__ASSUME_32BITUIDS): Likewise.
49678 (__ASSUME_LDT_WORKS): Likewise.
49679 (__ASSUME_O_DIRECTORY): Likewise.
49680 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49681 architecture but not kernel version.
49682 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49683 (__ASSUME_MMAP2_SYSCALL): Likewise.
49684 (__ASSUME_STAT64_SYSCALL): Likewise.
49685 (__ASSUME_IPC64): Likewise.
49686 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49687 <kernel-features.h>.
49688 [__ASSUME_32BITUIDS]: Make code unconditional.
49689 [!__ASSUME_32BITUIDS]: Remove conditional code.
49690 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49691 <kernel-features.h>.
49692 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49693 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49694 132096]: Remove conditional code.
49695 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49696 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49697 <kernel-features.h>.
49698 [__ASSUME_32BITUIDS]: Make code unconditional.
49699 [!__ASSUME_32BITUIDS]: Remove conditional code.
49700 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
49705 <kernel-features.h>.
49706 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49707 unconditional.
49708 (__setresgid): Do not declare.
49709 [__ASSUME_32BITUIDS]: Make code unconditional.
49710 [!__ASSUME_32BITUIDS]: Remove conditional code.
49711 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49712 <kernel-features.h>.
49713 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49714 unconditional.
49715 (__setresuid): Do not declare.
49716 [__ASSUME_32BITUIDS]: Make code unconditional.
49717 [!__ASSUME_32BITUIDS]: Remove conditional code.
49718 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49719 <kernel-features.h>.
49720 [__ASSUME_32BITUIDS]: Make code unconditional.
49721 [!__ASSUME_32BITUIDS]: Remove conditional code.
49722 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49723 <kernel-features.h>.
49724 [__ASSUME_32BITUIDS]: Make code unconditional.
49725 [!__ASSUME_32BITUIDS]: Remove conditional code.
49726
49727 2012-05-25 Richard Henderson <rth@twiddle.net>
49728
49729 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49730 dl_hwcap to ifunc resolver.
49731 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49732 elf_ifunc_invoke.
49733 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49734 dl_hwcap to ifunc resolver.
49735 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49736
49737 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49738
49739 [BZ #14153]
49740 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49741 for |x| <= 2**-26, not 2**-57.
49742 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49743 exception.
49744
49745 2012-05-24 Jeff Law <law@redhat.com>
49746
49747 * stdio-common/Makefile (tests): Add bug25.
49748 * stdio-common/bug25.c: New test.
49749
49750 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49751
49752 [BZ #13576]
49753 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49754 multiple of MALLOC_ALIGNMENT in size.
49755 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49756
49757 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49758
49759 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49760 Require >= 256.
49761 (FILENAME_MAX): Use macro-int-constant.
49762 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49763 (_IOFBF): Use macro-int-constant.
49764 (_IOLBF): Likewise.
49765 (_IONBF): Likewise.
49766 (SEEK_CUR): Likewise.
49767 (SEEK_END): Likewise.
49768 (SEEK_SET): Likewise.
49769 (TMP_MAX): Likewise.
49770 (EOF): Use macro-int-constant. Require < 0.
49771 (NULL): Use macro-constant. Require == 0.
49772 (stdin): Require type to be FILE *.
49773 (stdout): Likewise.
49774 (stderr): Likewise.
49775 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49776 macro-int-constant.
49777 (EXIT_SUCCESS): Likewise.
49778 (NULL): Use macro-constant. Require == 0.
49779 (RAND_MAX): Use macro-int-constant.
49780 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49781 [C99-based standards] (strtof): Require function.
49782 [C99-based standards] (strtold): Likewise.
49783 [C99-based standards] (strtoll): Likewise.
49784 [C99-based standards] (strtoull): Likewise.
49785 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49786 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49787 [ISO || ISO99 || ISO11] (math.h): Likewise.
49788 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49789 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49791
49792 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49793
49794 [BZ #14132]
49795 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49796 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49797 * intl/dgettext.c (DCGETTEXT): Likewise.
49798 * intl/gettext.c (DCGETTEXT): Likewise.
49799 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49800 * posix/regex_internal.h (gettext): Likewise.
49801 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49802 Remove declaration.
49803 * include/argz.h (__argz_count_internal)
49804 (__argz_stringify_internal): Remove declaration.
49805 (__argz_count, __argz_stringify): Declare hidden proto.
49806 * intl/dcgettext.c: Remove use of INTDEF.
49807 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49808 * string/argz-stringify.c: Likewise.
49809 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49810 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49811 Declare hidden proto.
49812 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49813 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49814 Declare hidden proto.
49815 * include/stdio.h (__asprintf_internal): Don't declare.
49816 (__asprintf): Don't define as macro. Declare hidden proto.
49817 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49818 (__fsetlocking): Declare hidden proto.
49819 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49820 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49821 hidden proto.
49822 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49823 (_IO_setlinebuf): Remove use of INTUSE.
49824 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49825 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49826 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49827 Remove declaration.
49828 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49829 (_IO_do_flush): Remove use of INTUSE.
49830 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49831 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49832 (_IO_adjust_column, _IO_least_wmarker)
49833 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49834 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49835 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49836 (_IO_default_doallocate, _IO_wdefault_doallocate)
49837 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49838 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49839 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49840 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49841 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49842 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49843 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49844 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49845 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49846 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49847 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49848 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49849 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49850 proto.
49851 (_IO_flush_all_internal, _IO_adjust_column_internal)
49852 (_IO_default_uflow_internal, _IO_default_finish_internal)
49853 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49854 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49855 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49856 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49857 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49858 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49859 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49860 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49861 (_IO_file_close_internal, _IO_file_close_it_internal)
49862 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49863 (_IO_file_init_internal, _IO_file_attach_internal)
49864 (_IO_file_fopen_internal, _IO_file_read_internal)
49865 (_IO_file_sync_internal, _IO_file_seek_internal)
49866 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49867 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49868 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49869 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49870 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49871 (_IO_list_all_internal, _IO_link_in_internal)
49872 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49873 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49874 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49875 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49876 (_IO_do_write_internal, _IO_padn_internal)
49877 (_IO_getline_info_internal, _IO_getline_internal)
49878 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49879 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49880 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49881 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49882 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49883 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49884 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49885 with libc_hidden_ver, remove use of INTUSE.
49886 * libio/genops.c: Likewise.
49887 * libio/freopen.c: Likewise.
49888 * libio/freopen64.c: Likewise.
49889 * libio/iofclose.c: Likewise.
49890 * libio/iofdopen.c: Likewise.
49891 * libio/iofflush.c: Likewise.
49892 * libio/iofflush_u.c: Likewise.
49893 * libio/iofgets.c: Likewise.
49894 * libio/iofgets_u.c: Likewise.
49895 * libio/iofopen.c: Likewise.
49896 * libio/iofopncook.c: Likewise.
49897 * libio/iofread.c: Likewise.
49898 * libio/iofread_u.c: Likewise.
49899 * libio/ioftell.c: Likewise.
49900 * libio/iofwrite.c: Likewise.
49901 * libio/iogetline.c: Likewise.
49902 * libio/iogets.c: Likewise.
49903 * libio/iogetwline.c: Likewise.
49904 * libio/iopadn.c: Likewise.
49905 * libio/iopopen.c: Likewise.
49906 * libio/ioseekoff.c: Likewise.
49907 * libio/ioseekpos.c: Likewise.
49908 * libio/iosetbuffer.c: Likewise.
49909 * libio/iosetvbuf.c: Likewise.
49910 * libio/ioungetc.c: Likewise.
49911 * libio/ioungetwc.c: Likewise.
49912 * libio/iovdprintf.c: Likewise.
49913 * libio/iovsprintf.c: Likewise.
49914 * libio/iovsscanf.c: Likewise.
49915 * libio/memstream.c: Likewise.
49916 * libio/obprintf.c: Likewise.
49917 * libio/oldfileops.c: Likewise.
49918 * libio/oldiofclose.c: Likewise.
49919 * libio/oldiofdopen.c: Likewise.
49920 * libio/oldiofopen.c: Likewise.
49921 * libio/oldiopopen.c: Likewise.
49922 * libio/oldstdfiles.c: Likewise.
49923 * libio/putc.c: Likewise.
49924 * libio/setbuf.c: Likewise.
49925 * libio/setlinebuf.c: Likewise.
49926 * libio/stdfiles.c: Likewise.
49927 * libio/strops.c: Likewise.
49928 * libio/vasprintf.c: Likewise.
49929 * libio/vscanf.c: Likewise.
49930 * libio/vsnprintf.c: Likewise.
49931 * libio/vswprintf.c: Likewise.
49932 * libio/wfiledoalloc.c: Likewise.
49933 * libio/wfileops.c: Likewise.
49934 * libio/wgenops.c: Likewise.
49935 * libio/wmemstream.c: Likewise.
49936 * libio/wstrops.c: Likewise.
49937 * libio/__fpurge.c: Likewise.
49938 * libio/__fsetlocking.c: Likewise.
49939 * assert/assert.c: Likewise.
49940 * debug/fgets_chk.c: Likewise.
49941 * debug/fgets_u_chk.c: Likewise.
49942 * debug/fread_chk.c: Likewise.
49943 * debug/fread_u_chk.c: Likewise.
49944 * debug/gets_chk.c: Likewise.
49945 * debug/obprintf_chk.c: Likewise.
49946 * debug/vasprintf_chk.c: Likewise.
49947 * debug/vdprintf_chk.c: Likewise.
49948 * debug/vsnprintf_chk.c: Likewise.
49949 * debug/vsprintf_chk.c: Likewise.
49950 * malloc/mtrace.c: Likewise.
49951 * misc/error.c: Likewise.
49952 * misc/syslog.c: Likewise.
49953 * stdio-common/asprintf.c: Likewise.
49954 * stdio-common/fxprintf.c: Likewise.
49955 * stdio-common/getw.c: Likewise.
49956 * stdio-common/isoc99_fscanf.c: Likewise.
49957 * stdio-common/isoc99_scanf.c: Likewise.
49958 * stdio-common/isoc99_vfscanf.c: Likewise.
49959 * stdio-common/isoc99_vscanf.c: Likewise.
49960 * stdio-common/isoc99_vsscanf.c: Likewise.
49961 * stdio-common/printf-prs.c: Likewise.
49962 * stdio-common/printf_fp.c: Likewise.
49963 * stdio-common/printf_fphex.c: Likewise.
49964 * stdio-common/printf_size.c: Likewise.
49965 * stdio-common/putw.c: Likewise.
49966 * stdio-common/scanf.c: Likewise.
49967 * stdio-common/sprintf.c: Likewise.
49968 * stdio-common/tmpfile.c: Likewise.
49969 * stdio-common/vfprintf.c: Likewise.
49970 * stdio-common/vfscanf.c: Likewise.
49971 * stdlib/strfmon_l.c: Likewise.
49972 * sunrpc/openchild.c: Likewise.
49973 * sunrpc/xdr_stdio.c: Likewise.
49974 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49975 * sysdeps/mach/hurd/tmpfile.c: Likewise.
49976
49977 2012-05-24 Roland McGrath <roland@hack.frob.com>
49978
49979 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49980
49981 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49982 in the third column, to generate for the shared library an IFUNC
49983 that uses _dl_vdso_vsym.
49984 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49985 * Makeconfig (object-suffixes-noshared): New variable.
49986
49987 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49988 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49989 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49990 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49991
49992 [BZ #14132]
49993 * include/sys/time.h (__gettimeofday): Remove macro.
49994 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49995 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49996 Remove INTDEF.
49997 (__gettimeofday): Add libc_hidden_def.
49998 (gettimeofday): Add libc_hidden_weak.
49999 * sysdeps/mach/gettimeofday.c: Likewise.
50000 * sysdeps/posix/gettimeofday.c: Likewise.
50001 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50002 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50004 (__gettimeofday_internal): Remove strong_alias.
50005 (__gettimeofday): Add libc_hidden_def.
50006 (gettimeofday): Add libc_hidden_weak.
50007 * sysdeps/unix/syscalls.list (gettimeofday):
50008 Remove __gettimeofday_internal alias.
50009
50010 2012-05-24 Daniel Jacobowitz <drow@false.org>
50011 H.J. Lu <hongjiu.lu@intel.com>
50012
50013 [BZ #12495]
50014 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50015 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50016 (largebin_index_32_big): New.
50017 (largebin_index): Use it for 16-byte alignment.
50018 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50019 correction with front_misalign.
50020
50021 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50022
50023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50025 Likewise.
50026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50027 Likewise.
50028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50029 Likewise.
50030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50031 Likewise.
50032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50033 Likewise.
50034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50035 Likewise.
50036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50037 Likewise.
50038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50039 Likewise.
50040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50041 Likewise.
50042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50043 Likewise.
50044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50045 Likewise.
50046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50047 Likewise.
50048
50049 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50050 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50051
50052 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50053
50054 [BZ #10846]
50055 [BZ #14036]
50056 * math/libm-test.inc (exp_test): Add test from bug 14036.
50057 (pow_test): Add test from bug 10846.
50058
50059 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50060 and other flags.
50061 (special_function): Do not include flags in test name.
50062 (parse_args): Likewise.
50063 * sysdeps/i386/fpu/libm-test-ulps: Update.
50064 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50065 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50066 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50068
50069 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50070 exceptions.
50071 * math/libm-test.inc ("Philosophy"): Update comment about
50072 exception testing.
50073 (UNDERFLOW_EXCEPTION): New macro.
50074 (UNDERFLOW_EXCEPTION_OK): Likewise.
50075 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50076 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50077 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50078 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50079 (INVALID_EXCEPTION_OK): Update value.
50080 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50081 (OVERFLOW_EXCEPTION_OK): Likewise.
50082 (IGNORE_ZERO_INF_SIGN): Likewise.
50083 (test_exceptions): Handle underflow exceptions.
50084 (acos_test): Update for underflow exception expectations.
50085 (cexp_test): Likewise.
50086 (clog_test): Likewise.
50087 (clog10_test): Likewise.
50088 (csqrt_test): Likewise.
50089 (ctan_test): Likewise.
50090 (ctanh_test): Likewise.
50091 (exp_test): Likewise.
50092 (exp10_test): Likewise.
50093 (exp2_test): Likewise.
50094 (expm1_test): Likewise.
50095 (fma_test): Likewise.
50096 (j0_test): Likewise.
50097 (jn_test): Likewise.
50098 (nexttoward_test): Likewise.
50099 (pow_test): Likewise.
50100 (scalbn_test): Likewise.
50101 (scalbln_test): Likewise.
50102 (tan_test): Likewise.
50103 (y1_test): Likewise.
50104 * sysdeps/i386/fpu/libm-test-ulps: Update.
50105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50106
50107 2012-05-23 David S. Miller <davem@davemloft.net>
50108
50109 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50110 (__libc_sigaction): Remove unused local variables.
50111
50112 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50113
50114 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50115
50116 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50117
50118 mktime: avoid signed integer overflow
50119 * time/mktime.c (__mktime_internal): Do not mishandle the case
50120 where diff == INT_MIN.
50121
50122 mktime: simplify computation of average
50123 * time/mktime.c (ranged_convert): Use new time_t_avg function
50124 instead of rolling our own (probably-slower) code.
50125
50126 mktime: do not assume signed right shift propagates sign bit
50127 * time/mktime.c (isdst_differ): New static function.
50128 (__mktime_internal): No need to normalize tm_isdst now.
50129 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50130 tm_isdst values.
50131
50132 mktime: merge another wrapv change from gnulib
50133 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50134 from some compilers.
50135
50136 mktime: remove incorrect attempt at unusual arithmetics
50137 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50138 The code didn't really work on such machines anyway.
50139 (TYPE_MINIMUM): Assume two's complement.
50140 (twos_complement_arithmetic): Verify that long_int and time_t
50141 are two's complement (or unsigned, in the latter case).
50142
50143 mktime: check signed shifts on long_int and time_t, too
50144 * time/mktime.c (SHR): Check that shifts work as desired
50145 on the types long_int and time_t too, as SHR is used on
50146 such types.
50147
50148 mktime: do not assume 'long' is wide enough
50149 * time/mktime.c (verify): Move decl up.
50150 (long_int): New type.
50151 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50152 to remove assumption in the code that 'long' is wide enough to
50153 store year values. This assumption is not true on x32 and on
50154 some non-glibc platforms.
50155
50156 mktime: merge wrapv change from gnulib
50157 * time/mktime.c (WRAPV): New macro.
50158 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50159 (guess_time_tm, __mktime_internal): Do not assume that signed
50160 integer overflow wraps around; modern compilers generate code
50161 where this assumption is no longer valid.
50162
50163 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50164
50165 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50166 Replace "jmp L(pseudo_end)" with "ret".
50167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50168 Likewise.
50169
50170 2012-05-23 Andreas Jaeger <aj@suse.de>
50171
50172 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50173 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50174
50175 2012-05-23 Andreas Jaeger <aj@suse.de>
50176 Maximilian Attems <max@stro.at>
50177
50178 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50179 New macros.
50180
50181 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50182
50183 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50184 code so that pseudo_end is just ret and the stack pointer is
50185 correct also for static library in error case.
50186
50187 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50188
50189 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50190 move to syscalls.list.
50191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50195
50196 * manual/install.texi (Running make install): Do not mention Linux
50197 kernel version for which pt_chown is not needed.
50198 (Linux): Do not mention problems with nscd with 2.0 kernels.
50199 * INSTALL: Regenerated.
50200
50201 2012-05-23 Andreas Jaeger <aj@suse.de>
50202
50203 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50204 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50205 macro.
50206 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50207 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50208 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50209 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50210 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50211 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50212 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50213 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50214 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50215 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50216 * sysdeps/unix/sysv/linux/bits/in.h
50217 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50218
50219 2012-05-22 Roland McGrath <roland@hack.frob.com>
50220
50221 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50222 (PREPARE_VERSION): Just use assert instead, it will be elided
50223 under [NDEBUG] anyway.
50224
50225 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50226
50227 * sysdeps/unix/sysv/linux/Makefile: Include
50228 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50229 (sysdep_routines): Remove sysctl.
50230 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50231 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50232 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50233 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50234 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50235
50236 2012-05-22 Andreas Jaeger <aj@suse.de>
50237
50238 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50239 that pseudo_end is just ret and the stack pointer is correct also
50240 for static library in error case.
50241
50242 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50243
50244 [BZ #14122]
50245 * nss/nsswitch.c (defconfig_entries): New variable.
50246 (__nss_database_lookup): Don't leak defconfig entries.
50247 (nss_parse_service_list): Don't leak on error paths.
50248 (free_database_entries): New function.
50249 (free_defconfig): New function.
50250 (free_mem): Move common code to free_database_entries.
50251
50252 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50253
50254 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50255 Add arch_prctl.
50256 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50257
50258 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50259 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50261 New macro.
50262 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50263 (INTERNAL_SYSCALL_TYPES): Likewise.
50264 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50265 (LOAD_REGS_TYPES_[1-6]): Likewise.
50266 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50267 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50268
50269 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50270
50271 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50272 copysignl for GLIBC_2_0.
50273 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50274 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50276 logbl for GLIBC_2_0.
50277 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50278 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50279
50280 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50281
50282 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50283 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50284
50285 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50286 Use "neg %eax".
50287
50288 * time/mktime.c: Update copyright years.
50289
50290 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50291
50292 mktime: merge comment-quoting-style change from gnulib
50293 * time/mktime.c: Quote 'like this' in comments.
50294 The GNU coding standards suggest that we no longer quote `like this',
50295 as "`" and "'" are typically rendered asymmetrically nowadays.
50296 The typical gnulib style is to quote 'like this' when quoting
50297 code, and "like this" when quoting English.
50298
50299 * time/mktime.c (compile-command): Add "-I.".
50300
50301 mktime: merge mktime-internal.h change from gnulib
50302 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50303
50304 mktime: merge time_r change from gnulib
50305 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50306
50307 mktime: merge DEBUG change from gnulib
50308 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50309 case system <time.h> has a #define.
50310
50311 mktime: merge <sys/types.h> change from gnulib
50312 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50313 since <time.t> is now guaranteed to define time_t.
50314
50315 mktime: merge HAVE_CONFIG_H change from gnulib
50316 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50317
50318 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50319
50320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50321 Use "neg %eax".
50322
50323 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50324 __rlim_t cast.
50325 (struct rusage): Use anonymous union to pad each field to
50326 __syscall_slong_t.
50327
50328 2012-05-21 David S. Miller <davem@davemloft.net>
50329
50330 * Makefules (o-iterator): Remove .s cases.
50331 (compile-command.s): Delete.
50332 (COMPILE.s): Delete.
50333 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50334
50335 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50336
50337 * configure.in (libc_cv_predef_stack_protector): Only consider
50338 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50339 * configure: Regenerated.
50340
50341 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50342
50343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50344 New macro. Use R*LP on int and pointer.
50345 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50346 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50347 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50348 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50349
50350 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50351 [__WORDSIZE_TIME64_COMPAT32] instead of
50352 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50353 (struct utmp): Likewise.
50354 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50355 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50356 Renamed to ...
50357 (__WORDSIZE_TIME64_COMPAT32): This.
50358 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50359 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50360 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50361 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50362 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50363 (__WORDSIZE_TIME64_COMPAT32): New macro.
50364
50365 2012-05-21 Andreas Jaeger <aj@suse.de>
50366
50367 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50368 only if [SHARED]. Add prototype for __wcschr_ia32.
50369
50370 2012-05-21 Roland McGrath <roland@hack.frob.com>
50371
50372 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50373 of %rbp unmolested in the jmp_buf while mangling the low bits.
50374 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50375 unmolested high bits of %rbp while demangling the low bits.
50376 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50377
50378 2012-05-21 Andreas Jaeger <aj@suse.de>
50379
50380 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50381 * sunrpc/svc_simple.c: Use it for registerrpc.
50382 * sunrpc/xcrypt.c: Use it for passwd2des.
50383
50384 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50385
50386 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50387
50388 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50389 Don't define if [__SYSCALL_WORDSIZE != 32].
50390 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50391 New macro.
50392
50393 2012-05-21 Bruno Haible <bruno@clisp.org>
50394 Andreas Jaeger <aj@suse.de>
50395
50396 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50397 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50398 inptr and inend for must_buffer_ch.
50399 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50400 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50401 * stdio-common/Makefile (tests): Remove bug15.
50402 (bug15-ENV): Remove macro.
50403 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50404 anymore.
50405
50406 2012-05-19 Andreas Jaeger <aj@suse.de>
50407 Roland McGrath <roland@hack.frob.com>
50408
50409 * manual/contrib.texi: Completely rewritten. It contains now an
50410 alphabetical list of contributors and their contributions.
50411
50412 2012-05-21 Richard Henderson <rth@twiddle.net>
50413
50414 * misc/getauxval.c (__getauxval): Use unsigned long int.
50415 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50416 (getauxval): Use unsigned long int.
50417
50418 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50419
50420 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50421
50422 2012-05-21 Roland McGrath <roland@hack.frob.com>
50423
50424 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50425 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50426 __alignof__ (long double).
50427
50428 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50429
50430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50431
50432 2012-05-20 Richard Henderson <rth@twiddle.net>
50433
50434 * misc/getauxval.c: New file.
50435 * misc/sys/auxv.h: New file.
50436 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50437 (routines): Add getauxval.
50438 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50439 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50440 * elf/dl-sysdep.c (_dl_auxv): Remove.
50441 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50442 * elf/dl-support.c (_dl_auxv): New variable.
50443 (_dl_aux_init): Initialize it.
50444 * manual/startup.texi (Auxiliary Vector): New node.
50445 * sysdeps/generic/bits/hwcap.h: New file.
50446 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50447 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50448 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50449 * sysdeps/sparc/sysdep.h: ... here. Include it.
50450 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50451 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50453 Update.
50454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50457 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50462
50463 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50464
50465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50466
50467 2012-05-19 David S. Miller <davem@davemloft.net>
50468
50469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50470
50471 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50472
50473 [BZ #14123]
50474 * math/s_ccosh.c: Include <float.h>
50475 (__ccosh): Avoid internal overflow calculating sinh and cosh
50476 values before multiplying by sin and cos values.
50477 * math/s_ccoshf.c: Likewise.
50478 * math/s_ccoshl.c: Likewise.
50479 * math/s_csin.c: Likewise.
50480 * math/s_csinf.c: Likewise.
50481 * math/s_csinl.c: Likewise.
50482 * math/s_csinh.c: Likewise.
50483 * math/s_csinhf.c: Likewise.
50484 * math/s_csinhl.c: Likewise.
50485 * math/libm-test.inc (ccos_test): Add more tests.
50486 (ccosh_test): Likewise.
50487 (csin_test): Likewise.
50488 (csinh_test): Likewise.
50489 * sysdeps/i386/fpu/libm-test-ulps: Update.
50490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50491
50492 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50493
50494 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50495 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50496
50497 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50498
50499 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50500
50501 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50502 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50503 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50504 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50505 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50506 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50507 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50508 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50509 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50510 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50511 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50512 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50513 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50514 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50515 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50516 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50517 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50518 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50519 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50520 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50521 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50522 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50523 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50524 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50525 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50526 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50527 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50528 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50529 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50530 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50531 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50532
50533 2012-05-18 Andreas Jaeger <aj@suse.de>
50534
50535 * csu/.gitignore: Delete.
50536
50537 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50538
50539 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50540 (timex): Use __syscall_slong_t.
50541
50542 2012-05-18 Andreas Jaeger <aj@suse.de>
50543 Carlos O'Donell <carlos_odonell@mentor.com>
50544
50545 * manual/install.texi (Configuring and compiling): Update
50546 description about files modified in the source directory.
50547 * INSTALL: Regenerated.
50548
50549 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50550
50551 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50552 value. Use "or" to set return value to -1.
50553 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50554 negate return value.
50555
50556 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50557
50558 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50559 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50560 failure if the compiler has Graphite support disabled.
50561 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50562 Likewise.
50563 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50564 (CFLAGS-memmove.c): Likewise.
50565 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50566 Likewise.
50567
50568 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50569
50570 * sysdeps/x86_64/x32/_itoa.h: New file.
50571
50572 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50573 getdents system call only if kernel and user dirents have the
50574 same d_ino and d_off.
50575
50576 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50577 LLONG_MAX != LONG_MAX.
50578 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50579 (_fitoa_word): Likewise.
50580
50581 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50582 years.
50583 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50584 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50585 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50586
50587 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50588 include <bits/wordsize.h>. Check __x86_64__ instead of
50589 __WORDSIZE.
50590 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50591 if __x86_64__ is defined. Use anonymous union on fpstate.
50592
50593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50594 anonymous union.
50595
50596 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50597
50598 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50599 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50600 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50601 Refer to _rtld_local_ro instead of _rtld_global_ro.
50602 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50603 Likewise.
50604 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50605 Likewise.
50606 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50607 Likewise.
50608 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50609 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50610 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50611
50612 [BZ #10882]
50613 * sysdeps/powerpc/powerpc32/dl-machine.c
50614 (__elf_machine_runtime_setup) [PROF]: Don't reference
50615 _dl_prof_resolve.
50616
50617 2012-05-18 Andreas Jaeger <aj@suse.de>
50618
50619 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50620 function only available for GCCs before 3.4 since GCC 3.4
50621 introduced a builtin.
50622 (lrint): Likewise.
50623 (llrintf): Likewise.
50624 (llrint): Likewise.
50625 (fmaxf): Likewise.
50626 (fmax): Likewise.
50627 (fminf): Likewise.
50628 (fmin): Likewise.
50629 (rint): Likewise.
50630 (rintf): Likewise.
50631 (nearbyint): Likewise.
50632 (nearbyintf): Likewise.
50633 (ceil): Likewise.
50634 (ceilf): Likewise.
50635 (floor): Likewise.
50636 (floorf): Likewise.
50637
50638 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50639
50640 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50641 on both fields and cast pointer to __syscall_ulong_t.
50642
50643 * bits/types.h (__fsword_t): New type.
50644 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50645 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50647 (__FSWORD_T_TYPE): Likewise.
50648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50649 (__FSWORD_T_TYPE): Likewise.
50650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50651 (__FSWORD_T_TYPE): Likewise.
50652 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50653 (__FSWORD_T_TYPE): Likewise.
50654 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50655 __SWORD_TYPE with __fsword_t.
50656 (statfs64): Likewise.
50657
50658 2012-05-17 David S. Miller <davem@davemloft.net>
50659
50660 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50661
50662 2012-05-17 Andreas Jaeger <aj@suse.de>
50663
50664 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50665 warning.
50666
50667 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50668
50669 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50670
50671 2012-05-17 Andreas Jaeger <aj@suse.de>
50672
50673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50674 when it is used.
50675
50676 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50677
50678 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50679
50680 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50681
50682 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50683 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50684
50685 2012-05-17 Andreas Jaeger <aj@suse.de>
50686 Carlos O'Donell <carlos_odonell@mentor.com>
50687
50688 [BZ #14059]
50689 * sysdeps/x86_64/multiarch/init-arch.h
50690 (bit_YMM_Usable): Rename to...
50691 (bit_AVX_Usable): ... this.
50692 (bit_FMA4_Usable): New macro.
50693 (bit_XMM_state): New macro.
50694 (bit_YMM_state): New macro.
50695 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50696 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50697 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50698 (CPUID_OSXSAVE): New macro.
50699 (CPUID_AVX): New macro.
50700 (CPUID_FMA4): New macro.
50701 (index_YMM_Usable): Rename to...
50702 (index_AVX_Usable): ... this.
50703 (HAS_AVX): Use HAS_ARCH_FEATURE.
50704 (HAS_FMA4): Likewise.
50705 (HAS_YMM_USABLE): Remove.
50706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50707 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50708 are present.
50709 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50710 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50711 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50712 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50713 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50714
50715 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50716
50717 * math/libm-test.c: Support platforms without multiple rounding modes.
50718 * math/bug-nextafter.c: Support platforms without FP exceptions.
50719 * math/bug-nexttoward.c: Likewise.
50720 * math/test-fenv.c: Likewise.
50721 * math/test-misc.c: Likewise.
50722 * stdlib/bug-getcontext.c: Likewise.
50723
50724 2012-05-17 Andreas Jaeger <aj@suse.de>
50725
50726 * manual/examples/search.c (critter_cmp): Change signature to
50727 avoid warnings.
50728 * manual/string.texi (Collation Functions): Likewise.
50729
50730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50731
50732 * bits/types.h: Fold copyright years.
50733 * bits/typesizes.h: Likewise.
50734 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50738 * time/time.h: Likewise.
50739
50740 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50741
50742 [BZ #208]
50743 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50744 in instead of returning them. Return void.
50745 (__libc_mallinfo): Accumulate over all arenas.
50746 (__malloc_stats): Adjust for change in int_mallinfo interface.
50747
50748 2012-05-16 Roland McGrath <roland@hack.frob.com>
50749
50750 [BZ #10375]
50751 * configure.in (NM): Add AC_CHECK_TOOL for it.
50752 (libc_extra_cflags): New substituted variable.
50753 Check for -fstack-protector being used implicitly.
50754 * configure: Regenerated.
50755 * config.make.in (config-extra-cflags): New variable,
50756 gets @libc_extra_cflags@.
50757 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50758
50759 [BZ #10375]
50760 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50761 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50762 * configure: Regenerated.
50763 * config.make.in (CPPUNDEFS): New substituted variable.
50764 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50765 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50766 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50767
50768 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50769
50770 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50771 (mq_attr): Use __syscall_slong_t.
50772
50773 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50774
50775 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50776 Check __x86_64__ instead of __WORDSIZE.
50777 (_STAT_VER_LINUX): Likewise.
50778 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50779 __syscall_ulong_t and __syscall_slong_t.
50780 (stat64): Likewise.
50781
50782 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50783
50784 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50785
50786 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50787
50788 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50789
50790 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50791
50792 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50793 __syscall_ulong_t.
50794
50795 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50796 include <bits/wordsize.h>. Check __x86_64__ instead of
50797 __WORDSIZE.
50798 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50799 defined.
50800 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50801
50802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50803 include <bits/wordsize.h>. Check __x86_64__ instead of
50804 __WORDSIZE.
50805 (user_regs_struct): Use "__extension__ unsigned long long"
50806 instead of "unsigned long" if __x86_64__ is defined.
50807 (user): Likewise. Pad after pointer field if __ILP32__ is
50808 defined.
50809
50810 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50811
50812 * configure.in (makeinfo): Require version 4.5 or later. Allow
50813 versions 5 to 9.
50814 * configure: Regenerated.
50815 * manual/install.texi (texinfo): Increase version requirement to
50816 4.5 or later.
50817 * INSTALL: Regenerated.
50818
50819 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50820
50821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50822
50823 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50824
50825 * sysdeps/x86_64/x32/ffs.c: New file.
50826
50827 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50828 __syscall_ulong_t.
50829 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50830 defined. Use __syscall_ulong_t.
50831 (shminfo): Use __syscall_ulong_t.
50832 (shm_info): Likewise.
50833
50834 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50835 __syscall_ulong_t.
50836
50837 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50838 <bits/wordsize.h>.
50839 (msgqnum_t): Use __syscall_ulong_t.
50840 (msglen_t): Likewise.
50841 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50842 __syscall_ulong_t.
50843
50844 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50845 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50846
50847 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50848
50849 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50850 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50851
50852 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50853 __syscall_slong_t.
50854
50855 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50856 include <bits/wordsize.h>. Check __x86_64__ instead of
50857 __WORDSIZE.
50858
50859 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50860 "unsigned long long int" if __x86_64__ is defined.
50861 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50862
50863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50864 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50865 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50866
50867 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50868 <stdint.h>.
50869 (GET_PC): Cast to uintptr_t first.
50870 (GET_FRAME): Likewise.
50871 (GET_STACK): Likewise.
50872
50873 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50875 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50876 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50877 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50878 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50879 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50880 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50881 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50882 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50884 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50885 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50888 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50889 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50890 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50891 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50892 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50893 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50894 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50896 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50898 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50899 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50900 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50901 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50902
50903 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50904
50905 * Makerules (+depfiles): Also collect depfiles from .oS in
50906 $(extra-objs).
50907 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50908 .oS, $(libnldbl-routines)).
50909
50910 * Makerules (native-compile-mkdep-flags): Define.
50911 * sunrpc/Makefile (extra-objs): Add $(addprefix
50912 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50913 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50914 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50915 calling $(make-target-directory).
50916
50917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50918
50919 * bits/types.h (__snseconds_t): Removed.
50920 * time/time.h (struct timespec): Replace __snseconds_t with
50921 __syscall_slong_t.
50922 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50923 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50924 Likewise.
50925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50926 (__SNSECONDS_T_TYPE): Likewise.
50927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50928 (__SNSECONDS_T_TYPE): Likewise.
50929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50930 (__SNSECONDS_T_TYPE): Likewise.
50931
50932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50933
50934 * sysdeps/mach/hurd/bits/typesizes.h
50935 (__SYSCALL_SLONG_TYPE): New macro.
50936 (__SYSCALL_ULONG_TYPE): Likewise.
50937
50938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50939
50940 * bits/types.h (__syscall_slong_t): New type.
50941 (__syscall_ulong_t): Likewise.
50942
50943 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50944 (__SYSCALL_ULONG_TYPE): Likewise.
50945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50946 (__SYSCALL_SLONG_TYPE): Likewise.
50947 (__SYSCALL_ULONG_TYPE): Likewise.
50948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50949 (__SYSCALL_SLONG_TYPE): Likewise.
50950 (__SYSCALL_ULONG_TYPE): Likewise.
50951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50952 (__SYSCALL_SLONG_TYPE): Likewise.
50953 (__SYSCALL_ULONG_TYPE): Likewise.
50954
50955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50956
50957 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50958 Add sigaltstack-offsets.sym.
50959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50960 <sigaltstack-offsets.h>.
50961 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
50962 longjmp_msg pointer.
50963 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
50964 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50965 signal stack.
50966 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50967
50968 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50969
50970 * elf/stackguard-macros.h: Remove file.
50971 * sysdeps/generic/stackguard-macros.h: New file.
50972 * sysdeps/i386/stackguard-macros.h: Likewise.
50973 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50974 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50975 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50976 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50977 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50978 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50979 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50980 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50981 <elf/stackguard-macros.h>.
50982
50983 [BZ #14109]
50984 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50985 __aligned__ in attribute.
50986 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50987 (gregset_t): Likewise.
50988
50989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50990
50991 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50992 * sysdeps/x86_64/64/Implies-after: Here. New file.
50993 * sysdeps/x86_64/x32/Implies-after: New file.
50994
50995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50996
50997 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50998 and access return value for _dl_profile_fixup. Use R10_LP to
50999 load frame size.
51000
51001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51002
51003 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51004
51005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51006
51007 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51008 * sysdeps/x86_64/x32/sysdep.h: New file.
51009
51010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51011
51012 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51013 * sysdeps/x86_64/setjmp.S: Likewise.
51014
51015 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51016
51017 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51018 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51019 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51021 remove unused global constant.
51022
51023 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51024
51025 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51026 include of <not-cancel.h>.
51027
51028 2012-05-15 Roland McGrath <roland@hack.frob.com>
51029
51030 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51031
51032 2012-05-15 Jeff Law <law@redhat.com>
51033 Andreas Jaeger <aj@suse.de>
51034
51035 [BZ #13594]
51036 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51037 out from...
51038 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51039 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51040 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51041 code changing __hst_map_handle.map.
51042
51043 2012-05-15 Roland McGrath <roland@hack.frob.com>
51044
51045 * configure.in (sysnames): Look for Implies-before and Implies-after
51046 files.
51047 * configure: Regenerated.
51048
51049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51050
51051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51052 8-byte data alignment with LP_SIZE alignment.
51053
51054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51055
51056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51057 into R10_LP.
51058
51059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51060
51061 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51062
51063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51064
51065 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51066 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51068 Likewise.
51069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51070
51071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51072
51073 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51074 (stackinfo_sub_sp): Likewise.
51075
51076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51077
51078 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51079 RAX_LP.
51080
51081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51082
51083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51084 into R*_LP.
51085
51086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51087
51088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51089 sizes into R*_LP.
51090
51091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51092
51093 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51094
51095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51096
51097 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51098 into R11_LP and load __x86_64_shared_cache_size_half into
51099 R8_LP.
51100
51101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51102
51103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51104 R8_LP.
51105
51106 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51107
51108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51109 logb for POWER7.
51110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51111 logbf for POWER7.
51112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51113 logbl for POWER7.
51114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51115 powerpc32/power7/fpu/s_logb.c via #include.
51116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51117 powerpc32/power7/fpu/s_logbf.c via #include.
51118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51119 powerpc32/power7/fpu/s_logbl.c via #include.
51120
51121 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51122
51123 * README.libm: Remove file.
51124
51125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51126
51127 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51128 count for x32. Use R*_LP and omit operand-size suffix.
51129
51130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51131
51132 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51133 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51134 * sysdeps/x86_64/x32/shlib-versions: New file.
51135
51136 2012-05-14 Roland McGrath <roland@hack.frob.com>
51137
51138 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51139 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51140 Use _dl_fatal_printf instead.
51141
51142 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51143
51144 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51145 set if not set by the user. Do not allow for being unset.
51146 * sysdeps/unix/sysv/linux/configure: Regenerated.
51147
51148 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51149
51150 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51151 the `q' suffix from lea and replace .quad with ASM_ADDR.
51152
51153 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51154
51155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51156 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51157 instead of $17.
51158 (PTR_DEMANGLE): Likewise.
51159
51160 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51161
51162 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51163 (LP_OP): Likewise.
51164 (ASM_ADDR): Likewise.
51165 (RAX_LP): Likewise.
51166 (RBP_LP): Likewise.
51167 (RBX_LP): Likewise.
51168 (RCX_LP): Likewise.
51169 (RDI_LP): Likewise.
51170 (RSI_LP): Likewise.
51171 (RSP_LP): Likewise.
51172 (R8_LP): Likewise.
51173 (R9_LP): Likewise.
51174 (R10_LP): Likewise.
51175 (R10_LP): Likewise.
51176 (R11_LP): Likewise.
51177 (R12_LP): Likewise.
51178 (R13_LP): Likewise.
51179 (R14_LP): Likewise.
51180 (R15_LP): Likewise.
51181
51182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51183
51184 * sysdeps/x86_64/x32/dl-machine.h: New file.
51185
51186 2012-05-14 Andreas Jaeger <aj@suse.de>
51187
51188 * manual/Makefile (subdir): Remove export of subdir.
51189 (all): Remove target.
51190 (.PHONY): Remove all from list.
51191 (mkinstalldirs): Remove.
51192 (.PHONY): Remove installdirs from list.
51193 ($(inst_infodir)/libc.info): Use make-target-directory.
51194 (installdirs): Remove.
51195 (subdir_%): Remove.
51196 (glibc-targets): Remove.
51197 (lib): Remove.
51198 (stubs): Remove.
51199 ($(objpfx)stubs ../po/manual.pot): Remove.
51200 ($(objpfx)stamp%): Remove.
51201 (make-target-directory): Remove.
51202 (subdir_install): Remove.
51203 (routines): Remove.
51204 (aux): Remove.
51205 (sources): Remove.
51206 (objects): Remove.
51207 (headers): Remove.
51208
51209 [BZ #13750]
51210 * manual/.gitignore: Remove, it's not needed anymore.
51211 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51212 all files in it.
51213 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51214 directory.
51215 (texis): Renamed to $(objpfx)texis.
51216 (texis-path): New, contains path to generated files.
51217 (chapters.%): Use texis-path for complete path, add extra argument
51218 libc-texinfo.sh.
51219 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51220 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51221 (summary,texi, stamp-summary): Use complete path of
51222 files. Generate files in build dir.
51223 (dir-add.texi): Build in build dir.
51224 (libm-err.texi,stamp-libm-err): Likewise.
51225 (version.texi, stamp-version): Likewise.
51226 (.%c.texi): Likewise.
51227 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51228 (mostlyclean): Remove target.
51229 (realclean): Remove target.
51230 (generated): Add new variable with contents from mostlyclean and
51231 realclean, remove entries duplicated in common-mostlyclean, add
51232 stamp-libm-err and stamp-version.
51233 (generated-dirs): Add libc directory.
51234 ($(inst_infodir)/libc.info): Install files from build dir.
51235
51236 * manual/install.texi (Configuring and compiling): Adjust since
51237 the info files are not part of the tar ball anymore.
51238
51239 2012-05-14 Andreas Jaeger <aj@suse.de>
51240
51241 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51242 variable.
51243
51244 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51245
51246 [BZ #13717]
51247 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51248 to 2.2.0 where earlier.
51249 * sysdeps/unix/sysv/linux/configure: Regenerated.
51250 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51251 Remove conditional code.
51252 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51253 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51254 Remove conditional code.
51255 [!__NR_lchown]: Likewise.
51256 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51257 [__NR_lchown]: Likewise.
51258 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51259 comment referencing __ASSUME_LCHOWN_SYSCALL.
51260 * sysdeps/unix/sysv/linux/i386/sigaction.c
51261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51264 Remove conditional code.
51265 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51266 (__protocol_available): Remove #if 0 code.
51267 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51268 conditional code.
51269 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51270 * sysdeps/unix/sysv/linux/kernel-features.h
51271 (__ASSUME_GETCWD_SYSCALL): Don't define.
51272 (__ASSUME_REALTIME_SIGNALS): Likewise.
51273 (__ASSUME_PREAD_SYSCALL): Likewise.
51274 (__ASSUME_PWRITE_SYSCALL): Likewise.
51275 (__ASSUME_POLL_SYSCALL): Likewise.
51276 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51277 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51278 non-SPARC.
51279 (__ASSUME_SIOCGIFNAME): Don't define.
51280 (__ASSUME_MSG_NOSIGNAL): Likewise.
51281 (__ASSUME_SENDFILE): Define unconditionally.
51282 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51283 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51284 conditional code.
51285 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51286 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51287 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51288 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51289 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51290 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51291 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51305 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51311 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51316 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51317 Remove conditional code.
51318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51319 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51320 Remove conditional code.
51321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51322 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51323 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51324 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51325 Remove conditional code.
51326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51327 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51328 Remove conditional code.
51329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51330 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51331 Remove conditional code.
51332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51333 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51334 Remove conditional code.
51335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51336 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51337 Remove conditional code.
51338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51339 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51342 * sysdeps/unix/sysv/linux/sigaction.c
51343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51345 * sysdeps/unix/sysv/linux/sigpending.c
51346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51348 * sysdeps/unix/sysv/linux/sigprocmask.c
51349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51351 * sysdeps/unix/sysv/linux/sigsuspend.c
51352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51354 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51355 (__libc_missing_rt_sigs): Remove.
51356 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51357 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51358 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51359 Remove conditional code.
51360 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51361 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51362 return 1.
51363 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51364 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51365 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51366 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51367
51368 2012-05-14 Andreas Jaeger <aj@suse.de>
51369
51370 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51371 it's not used in glibc.
51372 (__coshm1): Likewise.
51373 (__acosh1p): Likewise.
51374 (__sgn): Likewise.
51375
51376 * manual/string.texi (Copying and Concatenation): Add missing
51377 variable in concat example.
51378 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51379
51380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51381
51382 [BZ #14103]
51383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51384 __builtin_clzl with __builtin_clzll.
51385
51386 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51387
51388 [BZ #14104]
51389 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51390 libc_freeres_ptr.
51391
51392 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51393
51394 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51395 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51396 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51398
51399 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51400
51401 * NEWS: Update ia64 info.
51402
51403 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51404
51405 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51406 used as bcopy.
51407
51408 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51409
51410 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51411 * sysdeps/unix/syscalls.list (dup3): Likewise.
51412 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51413 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51414
51415 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51416
51417 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51418 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51419
51420 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51421
51422 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51423 thread pointer.
51424 (TLS_IE): Use mov/add instead of movq/addq to load thread
51425 pointer.
51426 (TLS_GD_PREFIX): New.
51427 (TLS_GD): Use it.
51428
51429 2012-05-11 David S. Miller <davem@davemloft.net>
51430
51431 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51432 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51433 (_FPU_SETCW): Likewise.
51434
51435 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51436
51437 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51438 is 32-byte aligned.
51439
51440 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51441
51442 [BZ #11837]
51443 * iconvdata/gb18030.c: Update tables.
51444 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51445 characters specially.
51446 (BODY for TO_LOOP): Add encoding of missing ranges.
51447
51448 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51449
51450 [BZ #13673]
51451 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51452 * sysdeps/mach/hurd/dup3.c: Likewise.
51453 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51454 * sysdeps/powerpc/memmove.c:: Likewise.
51455
51456 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51457
51458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51459 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51460
51461 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51462
51463 * elf/elf.h (R_X86_64_RELATIVE64): New.
51464 (R_X86_64_NUM): Updated.
51465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51466 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51467 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51468 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51469 tst-quad1pie tst-quad2pie
51470 (modules-names): Add tst-quadmod1 tst-quadmod2.
51471 ($(objpfx)tst-quad1): New dependency.
51472 ($(objpfx)tst-quad2): Likewise.
51473 ($(objpfx)tst-quad1pie): Likewise.
51474 ($(objpfx)tst-quad2pie): Likewise.
51475 * sysdeps/x86_64/tst-quad1.c: New file.
51476 * sysdeps/x86_64/tst-quad1pie.c: New file.
51477 * sysdeps/x86_64/tst-quad2.c: Likewise.
51478 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51479 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51480 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51481 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51482 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51483
51484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51485
51486 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51487 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51488 * streams/stropts.h (t_scalar_t): Define type.
51489
51490 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51491 (_PATH_PRESERVE): Set to "/var/lib".
51492 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51493
51494 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51495 instead of int.
51496
51497 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51498 if __dir_mkfile succeeded.
51499
51500 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51501 checking for _hurd_dtablesize. Unlock it right after having
51502 finished _hurd_dtable allocation.
51503
51504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51505
51506 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51507 * sysdeps/mach/hurd/configure: Regenerated.
51508 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51509 special-casing to...
51510 * sysdeps/gnu/configure.in: ... this new file.
51511 * sysdeps/unix/sysv/linux/configure: Regenerated.
51512 * sysdeps/gnu/configure: New generated file.
51513
51514 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51515 for Linux: use nsec instead of usec, as well as:
51516 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51517 members of type struct timespec.
51518 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51519 New macros.
51520 (struct stat64): Likewise.
51521 (_STATBUF_ST_NSEC): New macro.
51522 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51523
51524 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51525 __strtoul_internal rather than strtoul.
51526
51527 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51528
51529 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51530 and reject them.
51531
51532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51533
51534 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51535 which preserves existing values.
51536 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51537
51538 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51539
51540 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51541 TIMEOUT values. Return EINVAL for NFDS values either negative or
51542 greater than FD_SETSIZE.
51543
51544 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51545
51546 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51547 allocated, call __vm_protect to finish enabling the existing space, and
51548 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51549 allocate the remainder.
51550
51551 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51552
51553 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51554 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51555
51556 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51557
51558 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51559 sysdeps/mach/hurd/readlink.c.
51560
51561 * posix/tst-sysconf.c (posix_options): Only use
51562 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51563 _POSIX_SYNCHRONIZED_IO when they are defined
51564 * sysdeps/mach/hurd/bits/posix_opt.h:
51565 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51566 (_XOPEN_REALTIME): Undefine macro.
51567 (_XOPEN_REALTIME_THREADS): Undefine macro.
51568 (_XOPEN_SHM): Undefine macro.
51569 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51570 macro to -1.
51571 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51572 macro to -1.
51573 (_POSIX_ASYNC_IO): Undefine macro.
51574 (_POSIX_PRIORITIZED_IO): Undefine macro.
51575 (_POSIX_SPIN_LOCKS): Define macro to -1.
51576
51577 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51578 SA_NODEFER, SA_RESETHAND.
51579 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51580 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51581 F_DUPFD_CLOEXEC.
51582
51583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51584
51585 * elf/Makefile (pldd-modules): Define unconditionally.
51586
51587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51588
51589 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51590
51591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51592
51593 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51594 Return ENOENT when name is empty.
51595 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51596
51597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51598
51599 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51600
51601 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51602
51603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51604
51605 Fix mlock in all cases except non-readable pages.
51606 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51607 instead of VM_PROT_ALL as parameter to __vm_wire function.
51608
51609 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51610 (__mkdir): When path is `/', just fail with EEXIST.
51611 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51612
51613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51614
51615 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51616 <sys/uio.h> (for writev).
51617 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51618 and <sys/param.h> (for MIN).
51619
51620 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51621
51622 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51623 REQUESTED_TIME. Properly set the remaining time and return EINTR
51624 if interrupted.
51625
51626 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51627
51628 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51629 Depend on against $(link-rpcuserlibs).
51630
51631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51632
51633 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51634 (__libc_stack_end): Do not use attribute_relro.
51635 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51636 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51637 to libthread-provided value.
51638 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51639 attribute_relro.
51640
51641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51642
51643 [BZ #3748]
51644 * bits/libc-lock.h (__libc_once_get): New macro.
51645 * sysdeps/mach/bits/libc-lock.h: Likewise.
51646 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51648 instead of using implementation details.
51649
51650 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51651 * libio/freopen.c: Likewise.
51652 * libio/freopen64.c: Likewise.
51653 * misc/syslog.c: Likewise.
51654 * nscd/connections.c: Likewise.
51655 * nscd/netgroupcache.c: Likewise.
51656 * sysdeps/posix/getcwd.c: Likewise.
51657
51658 2012-05-10 Roland McGrath <roland@hack.frob.com>
51659
51660 * math/w_ilogbf.c: Add #include <limits.h>.
51661
51662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51663
51664 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51665 path instead of returning without unlocking.
51666
51667 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51668 immediate-write ioctls.
51669 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51670
51671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51672
51673 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51674 __builtin_frame_address instead of making assumptions about the
51675 location of the return address relative to DATA. Force early load of
51676 the return address.
51677 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51678 __builtin_frame_address.
51679
51680 dup3 for GNU Hurd.
51681 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51682 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51683 implement dup3 and do some further code clean-ups.
51684 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51685 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51686
51687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51688
51689 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51690
51691 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51692 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51693 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51694 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51695 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51696 d->port.lock.
51697
51698 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51699 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51700 when handler == SIG_ERR, not when handler != SIG_ERR.
51701
51702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51703
51704 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51705 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51706 definitions.
51707
51708 accept4 for GNU Hurd.
51709 * include/sys/socket.h (__libc_accept4): New prototype.
51710 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51711 to implement __libc_accept4.
51712 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51713 __libc_accept4.
51714 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51715
51716 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51717 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51718 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51719 signal-defines.sym.
51720
51721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51722
51723 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51724
51725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51726
51727 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51728 assertion on O_CLOEXEC flag.
51729 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51730 * hurd/intern-fd.c: Likewise.
51731 * hurd/port2fd.c: Likewise.
51732
51733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51734
51735 [BZ #3906]
51736 * bits/in.h (IPV6_PKTINFO): Define new macro.
51737 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51738
51739 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51740
51741 [BZ #13954]
51742 [BZ #13955]
51743 [BZ #13956]
51744 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51746 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51747 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51749 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51750 * math/libm-test.inc (logb_test) : Additional logb tests.
51751
51752 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51753 Andreas Jaeger <aj@suse.de>
51754
51755 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51756 * configure: Regenerated.
51757 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51758 * config.make.in (link-obsolete-rpc): New substituted variable.
51759 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51760 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51761 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51762 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51763 so that libc.a contains the symbols.
51764 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51765 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51766 * sunrpc/auth_none.c: Likewise.
51767 * sunrpc/auth_unix.c: Likewise.
51768 * sunrpc/authdes_prot.c: Likewise.
51769 * sunrpc/authuxprot.c: Likewise.
51770 * sunrpc/clnt_gen.c: Likewise.
51771 * sunrpc/clnt_perr.c: Likewise.
51772 * sunrpc/clnt_raw.c: Likewise.
51773 * sunrpc/clnt_simp.c: Likewise.
51774 * sunrpc/clnt_tcp.c: Likewise.
51775 * sunrpc/clnt_udp.c: Likewise.
51776 * sunrpc/clnt_unix.c: Likewise.
51777 * sunrpc/des_crypt.c: Likewise.
51778 * sunrpc/des_soft.c: Likewise.
51779 * sunrpc/get_myaddr.c: Likewise.
51780 * sunrpc/key_call.c: Likewise.
51781 * sunrpc/key_prot.c: Likewise.
51782 * sunrpc/netname.c: Likewise.
51783 * sunrpc/pm_getmaps.c: Likewise.
51784 * sunrpc/pm_getport.c: Likewise.
51785 * sunrpc/pmap_clnt.c: Likewise.
51786 * sunrpc/pmap_prot.c: Likewise.
51787 * sunrpc/pmap_prot2.c: Likewise.
51788 * sunrpc/pmap_rmt.c: Likewise.
51789 * sunrpc/publickey.c: Likewise.
51790 * sunrpc/rpc_cmsg.c: Likewise.
51791 * sunrpc/rpc_common.c: Likewise.
51792 * sunrpc/rpc_dtable.c: Likewise.
51793 * sunrpc/rpc_prot.c: Likewise.
51794 * sunrpc/rpc_thread.c: Likewise.
51795 * sunrpc/rtime.c: Likewise.
51796 * sunrpc/svc.c: Likewise.
51797 * sunrpc/svc_auth.c: Likewise.
51798 * sunrpc/svc_raw.c: Likewise.
51799 * sunrpc/svc_run.c: Likewise.
51800 * sunrpc/svc_tcp.c: Likewise.
51801 * sunrpc/svc_udp.c: Likewise.
51802 * sunrpc/svc_unix.c: Likewise.
51803 * sunrpc/svcauth_des.c: Likewise.
51804 * sunrpc/xcrypt.c: Likewise.
51805 * sunrpc/xdr.c: Likewise.
51806 * sunrpc/xdr_array.c: Likewise.
51807 * sunrpc/xdr_float.c: Likewise.
51808 * sunrpc/xdr_intXX_t.c: Likewise.
51809 * sunrpc/xdr_mem.c: Likewise.
51810 * sunrpc/xdr_rec.c: Likewise.
51811 * sunrpc/xdr_ref.c: Likewise.
51812 * sunrpc/xdr_sizeof.c: Likewise.
51813 * sunrpc/xdr_stdio.c: Likewise.
51814
51815 2012-05-10 Roland McGrath <roland@hack.frob.com>
51816
51817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51818 change. Update copyright years.
51819
51820 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51821
51822 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51823
51824 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51825 Joseph Myers <joseph@codesourcery.com>
51826 Paul Pluzhnikov <ppluzhnikov@google.com>
51827
51828 [BZ #14012]
51829 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51830 requiring rpcgen.
51831 [cross-compiling] (extra-libs): Likewise.
51832 [cross-compiling] (extra-libs-others): Likewise.
51833 [cross-compiling] (librpcsvc-routines): Likewise.
51834 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51835 [cross-compiling] (omit-deps): Likewise.
51836 (sunrpc-CPPFLAGS): New variable.
51837 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51838 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51839 (cross-rpcgen-objs): New variable.
51840 (extra-objs): Append $(cross-rpcgen-objs).
51841 ($(cross-rpcgen-objs)): New rule.
51842 ($(objpfx)cross-rpcgen): Likewise.
51843 (rpcgen-cmd): Define to use $(built-program-file). Expand
51844 comment.
51845 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51846 ($(objpfx)x%.stmp): Likewise.
51847 * sunrpc/proto.h [IS_IN_build] (_): Define.
51848 [IS_IN_build] (_libc_intl_domainname): Likewise.
51849
51850 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51851
51852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51853 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51854 and R_X86_64_TPOFF64.
51855
51856 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51857
51858 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51859 sysdeps/unix/sysv/syscalls.list.
51860 (stime): Likewise.
51861 (utime): Likewise.
51862 * sysdeps/unix/sysv/syscalls.list: Remove file.
51863
51864 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51865
51866 [BZ #3440]
51867 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51868 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51869 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51870 (__LC_IDENTIFICATION): Make these macros useful in #if
51871 expressions, as required by C99.
51872
51873 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51874
51875 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51876 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51877 after this.
51878
51879 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51880
51881 * stdlib/longlong.h: Updated from GCC.
51882
51883 2012-05-09 Andreas Jaeger <aj@suse.de>
51884
51885 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51886 default is first entry.
51887 (run_mode): Set type.
51888 (main): Remove informal message about syslog.
51889 (options): Fix typo.
51890
51891 [BZ #14053]
51892 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51893 to asm.
51894 (lrint): Likewise.
51895 (llrintf): Likewise.
51896 (llrint): Likewise.
51897 (rint): Likewise.
51898 (rintf): Likewise.
51899 (nearbyint): Likewise.
51900 (nearbyintf): Likewise.
51901
51902 2012-05-09 Andreas Jaeger <aj@suse.de>
51903 Pedro Alves <palves@redhat.com>
51904
51905 * nscd/nscd.c (run_mode): Use enum.
51906 (main): Cleanup coding style issue.
51907
51908 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51909 Andreas Jaeger <aj@suse.de>
51910
51911 * nscd/nscd.c (go_background): Replaced with...
51912 (run_mode): ... this.
51913 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51914 (options): Add -F --foreground.
51915 (main): Implement it.
51916 (parse_opt): Parse it.
51917
51918 2012-05-09 Andreas Jaeger <aj@suse.de>
51919
51920 [BZ #14083]
51921 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51922 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51923 -Wconversion warning.
51924 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51925 Likewise.
51926
51927 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51928
51929 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51930 == 0.
51931 (LC_ALL): Use macro-int-constant.
51932 (LC_COLLATE): Likewise.
51933 (LC_CTYPE): Likewise.
51934 (LC_MESSAGES): Likewise.
51935 (LC_MONETARY): Likewise.
51936 (LC_NUMERIC): Likewise.
51937 (LC_TIME): Likewise.
51938 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51939 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51941 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51942 Specify type.
51943 [C99-based standards] (float_t): Expect type.
51944 [C99-based standards] (double_t): Expect type.
51945 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
51946 type.
51947 [C99-based standards] (HUGE_VALL): Likewise.
51948 [C99-based standards] (INFINITY): Likewise.
51949 [C99-based standards] (NAN): Likewise.
51950 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51951 [C99-based standards] (FP_NAN): Likewise.
51952 [C99-based standards] (FP_NORMAL): Likewise.
51953 [C99-based standards] (FP_SUBNORMAL): Likewise.
51954 [C99-based standards] (FP_ZERO): Likewise.
51955 [C99-based standards] (FP_FAST_FMA): Use
51956 optional-macro-int-constant. Specify type. Require == 1.
51957 [C99-based standards] (FP_FAST_FMAF): Likewise.
51958 [C99-based standards] (FP_FAST_FMAL): Likewise.
51959 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51960 [C99-based standards] (FP_ILOGBNAN): Likewise.
51961 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51962 Specify type.
51963 [C99-based standards] (MATH_ERREXCEPT): Likewise.
51964 [C99-based standards] (math_errhandling): Specify type.
51965 [ISO99 || ISO11] (signgam): Do not allow.
51966 [non-C99-based standards] (copysignf): Do not allow.
51967 [non-C99-based standards] (exp2f): Likewise.
51968 [non-C99-based standards] (log2f): Likewise.
51969 [non-C99-based standards] (modff): Allow.
51970 [non-C99-based standards] (erff): Do not allow.
51971 [non-C99-based standards] (erfcf): Likewise.
51972 [non-C99-based standards] (gammaf): Likewise.
51973 [non-C99-based standards] (hypotf): Likewise.
51974 [non-C99-based standards] (j0f): Likewise.
51975 [non-C99-based standards] (j1f): Likewise.
51976 [non-C99-based standards] (jnf): Likewise.
51977 [non-C99-based standards] (lgammaf): Likewise.
51978 [non-C99-based standards] (tgammaf): Likewise.
51979 [non-C99-based standards] (y0f): Likewise.
51980 [non-C99-based standards] (y1f): Likewise.
51981 [non-C99-based standards] (ynf): Likewise.
51982 [non-C99-based standards] (isnanf): Likewise.
51983 [non-C99-based standards] (acoshf): Likewise.
51984 [non-C99-based standards] (asinhf): Likewise.
51985 [non-C99-based standards] (atanhf): Likewise.
51986 [non-C99-based standards] (cbrtf): Likewise.
51987 [non-C99-based standards] (expm1f): Likewise.
51988 [non-C99-based standards] (ilogbf): Likewise.
51989 [non-C99-based standards] (log1pf): Likewise.
51990 [non-C99-based standards] (logbf): Likewise.
51991 [non-C99-based standards] (nextafterf): Likewise.
51992 [non-C99-based standards] (remainderf): Likewise.
51993 [non-C99-based standards] (rintf): Likewise.
51994 [non-C99-based standards] (scalbf): Likewise.
51995 [non-C99-based standards] (copysignl): Likewise.
51996 [non-C99-based standards] (exp2l): Likewise.
51997 [non-C99-based standards] (log2l): Likewise.
51998 [non-C99-based standards] (modfl): Allow.
51999 [non-C99-based standards] (erfl): Do not allow.
52000 [non-C99-based standards] (erfcl): Likewise.
52001 [non-C99-based standards] (gammal): Likewise.
52002 [non-C99-based standards] (hypotl): Likewise.
52003 [non-C99-based standards] (j0l): Likewise.
52004 [non-C99-based standards] (j1l): Likewise.
52005 [non-C99-based standards] (jnl): Likewise.
52006 [non-C99-based standards] (lgammal): Likewise.
52007 [non-C99-based standards] (tgammal): Likewise.
52008 [non-C99-based standards] (y0l): Likewise.
52009 [non-C99-based standards] (y1l): Likewise.
52010 [non-C99-based standards] (ynl): Likewise.
52011 [non-C99-based standards] (isnanl): Likewise.
52012 [non-C99-based standards] (acoshl): Likewise.
52013 [non-C99-based standards] (asinhl): Likewise.
52014 [non-C99-based standards] (atanhl): Likewise.
52015 [non-C99-based standards] (cbrtl): Likewise.
52016 [non-C99-based standards] (expm1l): Likewise.
52017 [non-C99-based standards] (ilogbl): Likewise.
52018 [non-C99-based standards] (log1pl): Likewise.
52019 [non-C99-based standards] (logbl): Likewise.
52020 [non-C99-based standards] (nextafterl): Likewise.
52021 [non-C99-based standards] (remainderl): Likewise.
52022 [non-C99-based standards] (rintl): Likewise.
52023 [non-C99-based standards] (scalbl): Likewise.
52024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52025 [non-C99-based standards] (FP_*): Do not allow.
52026 [C99-based standards] (FP_*): Change to
52027 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52028 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52029 allow.
52030 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52031 (SIG_ERR): Likewise.
52032 [X/Open-based standards] (SIG_HOLD): Likewise.
52033 (SIG_IGN): Likewise.
52034 (SIGABRT): Use macro-int-constant. Specify type. Require
52035 positive value.
52036 (SIGFPE): Likewise.
52037 (SIGILL): Likewise.
52038 (SIGINT): Likewise.
52039 (SIGSEGV): Likewise.
52040 (SIGTER): Likewise.
52041 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52042 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52043 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52044 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52045 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52046 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52047 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52048 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52049 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52050 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52051 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52052 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52053 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52054 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52055 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52056 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52057 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52058 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52059 [X/Open-based standards] (SIGTRAP): Likewise.
52060 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52061 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52062 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52063 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52064 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52065 allow.
52066
52067 2012-05-08 Ian Wienand <ianw@vmware.com>
52068
52069 [BZ #14080]
52070 * time/tzset.c (__tzset_parse_tz): Update default rules for
52071 daylight time changes in the Energy Policy Act of 2005.
52072
52073 2012-05-09 Andreas Jaeger <aj@suse.de>
52074
52075 [BZ #13983]
52076 * elf/ldconfig.c (parse_conf): Change string to make clear that
52077 ldconfig only issued a warning if ld.so.conf does not exist.
52078
52079 2012-05-08 David S. Miller <davem@davemloft.net>
52080
52081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52082 movxtod instead of popping the value on the stack.
52083
52084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52085
52086 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52087
52088 * config.h.in: Add HAVE_ARM_PCS_VFP.
52089
52090 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52091
52092 [BZ #13979]
52093 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52094 checking but the checks are disabled for any reason.
52095
52096 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52097
52098 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52099 and ELF64_R_TYPE with ELFW(R_TYPE).
52100
52101 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52102
52103 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52104 (ulimit): Likewise.
52105
52106 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52107 (settimeofday): Likewise.
52108
52109 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52110
52111 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52112 a struct th_u2 inside the union, and move tu_block/tu_code into
52113 a new th_u3 union of tu_block/tu_code inside of that. Move
52114 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52115 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52116 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52117 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52118 (th_stuff): Change to th_u1.tu_stuff.
52119 (th_data): Define.
52120 (th_msg): Change to th_u1.th_u2.tu_data.
52121
52122 2012-05-07 David S. Miller <davem@davemloft.net>
52123
52124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52125
52126 [BZ #14074]
52127 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52128 (SETUP_PIC_REG): Use it.
52129 (SETUP_PIC_REG_LEAF): Use it.
52130
52131 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52132
52133 [BZ #13885]
52134 [BZ #13923]
52135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52136 USE_AS_EXPM1L.
52137 (EXPL_FINITE): Likewise.
52138 (FLDLOG): Likewise.
52139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52140 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52141 e_expl.S.
52142 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52143 USE_AS_EXPM1L.
52144 (EXPL_FINITE): Likewise.
52145 (FLDLOG): Likewise.
52146 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52147 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52148 e_expl.S.
52149 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52150 test of -max_value argument for long double.
52151 * sysdeps/i386/fpu/libm-test-ulps: Update.
52152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52153
52154 2012-05-06 David S. Miller <davem@davemloft.net>
52155
52156 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52157 quad soft-float symbols whose references which are compiler
52158 generated.
52159 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52160
52161 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52162
52163 [BZ #13884]
52164 [BZ #13914]
52165 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52166 USE_AS_EXP10L.
52167 (EXPL_FINITE): Likewise.
52168 (FLDLOG): Likewise.
52169 (c0): Likewise.
52170 (c1): Likewise.
52171 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52172 Adjust comments for base varying.
52173 (__expl_finite): Change alias to EXPL_FINITE.
52174 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52175 e_expl.S.
52176 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52177 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52178 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52179 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52181 USE_AS_EXP10L.
52182 (EXPL_FINITE): Likewise.
52183 (FLDLOG): Likewise.
52184 (c0): Likewise.
52185 (c1): Likewise.
52186 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52187 Adjust comments for base varying.
52188 (__expl_finite): Change alias to EXPL_FINITE.
52189 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52190 tests for bugs.
52191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52192
52193 [BZ #14064]
52194 * math/libm-test.inc (check_float_internal): Correct ulp
52195 calculation for subnormal expected results.
52196
52197 2012-05-06 Andreas Jaeger <aj@suse.de>
52198
52199 * Makeconfig (+math-flags): New, set to -frounding-math.
52200 (+cflags): Add +math-flags so that all of glibc gets compiled with
52201 it.
52202
52203 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52204
52205 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52206
52207 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52208 Disable one test.
52209
52210 [BZ #13787]
52211 [BZ #13922]
52212 [BZ #14036]
52213 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52214 (__ieee754_expl): Allow for and saturate large arguments.
52215 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52216 (u_threshold): Likewise.
52217 (__exp): Call __ieee754_exp before checking for overflow and
52218 underflow.
52219 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52220 (u_threshold): Likewise.
52221 (__expf): Call __ieee754_expf before checking for overflow and
52222 underflow.
52223 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52224 (u_threshold): Likewise.
52225 (__expl): Call __ieee754_expl before checking for overflow and
52226 underflow.
52227 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52228 (__ieee754_expl): Allow for and saturate large arguments.
52229 * math/libm-test.inc (exp_test): Add another test. Do not allow
52230 missing overflow exception on overflow.
52231 (expm1_test): Do not allow missing overflow exception on overflow.
52232
52233 * sysdeps/i386/fpu/e_expl.c: Move to ...
52234 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52235 rather than using inline asm.
52236 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52237 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52238 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52239
52240 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52241 (nice): Likewise.
52242 (poll): Likewise.
52243 (signal): Likewise.
52244 (time): Likewise.
52245 (times): Likewise.
52246
52247 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52248
52249 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52250 sysdeps/unix/common/syscalls.list.
52251 (fchmod): Likewise.
52252 (fchown): Likewise.
52253 (ftruncate): Likewise.
52254 (getrusage): Likewise.
52255 (gettimeofday): Likewise.
52256 (setpgid): Likewise.
52257 (setregid): Likewise.
52258 (setreuid): Likewise.
52259 (sigaction): Likewise.
52260 (truncate): Likewise.
52261 (vhangup): Likewise.
52262 * sysdeps/unix/common/syscalls.list: Remove file.
52263 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52264 * sysdeps/unix/sysv/linux/Implies: Likewise.
52265
52266 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52267
52268 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52270 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52271 Moved to ...
52272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52273 Here.
52274 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52275 to ...
52276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52277 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52278 to ...
52279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52281 to ...
52282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52283 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52284 to ...
52285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52286 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52287 to ...
52288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52289 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52290 to ...
52291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52292 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52293 to ...
52294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52295 Here.
52296 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52297 to ...
52298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52299 Here.
52300 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52301 to ...
52302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52303 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52304 Moved to ...
52305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52306 Here.
52307 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52308 to ...
52309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52310
52311 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52312
52313 * sysdeps/unix/common/bits/dirent.h: Remove file.
52314 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52315
52316 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52317 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52318 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52319 * sysdeps/unix/bsd/isatty.c: Likewise.
52320 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52321 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52322 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52323
52324 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52325
52326 [BZ #13563]
52327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52328 long double comparison inaccuracies.
52329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52331
52332 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52333
52334 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52336
52337 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52338
52339 [BZ #14049]
52340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52341 nonzero digits before rounding a hex value.
52342 * stdlib/tst-strtod.c (tests): Add another test.
52343
52344 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52345
52346 * sysdeps/s390/fpu/libm-test-ulps: Update.
52347
52348 2012-05-03 Andreas Jaeger <aj@suse.de>
52349
52350 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52351 does not get optimized out.
52352 (malloc_opt_barrier): New.
52353
52354 2012-05-03 Andreas Jaeger <aj@suse.de>
52355 Roland McGrath <roland@hack.frob.com>
52356
52357 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52358 intermediate file deletion.
52359 (generated): Add .symlist files.
52360
52361 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52362
52363 [BZ #13775]
52364 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52365 Redirect under this condition.
52366 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52367 [__USE_GNU] (__dprintf_chk): Not under this condition.
52368 [__USE_GNU] (__vdprintf_chk): Likewise.
52369 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52370 under this condition.
52371 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52372 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52373 [__USE_XOPEN2K8] (vdprintf): Likewise.
52374 [__USE_GNU] (__dprintf_chk): Not under this condition.
52375 [__USE_GNU] (__vdprintf_chk): Likewise.
52376 [__USE_GNU] (dprintf): Likewise.
52377 [__USE_GNU] (vdprintf): Likewise.
52378
52379 2012-05-03 Roland McGrath <roland@hack.frob.com>
52380
52381 * elf/Makefile (common-generated): Set this instead of generated for
52382 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52383 $(all-built-dso)-derived lists.
52384
52385 2012-05-03 Andreas Jaeger <aj@suse.de>
52386
52387 * sysdeps/i386/fpu/libm-test-ulps: Update.
52388
52389 * FAQ: Removed.
52390 * FAQ.in: Likewise.
52391 * scripts/gen-FAQ.pl: Likewise.
52392 * manual/install.texi (Installation): Point to online location of
52393 FAQ.
52394 * Makefile (files-for-dist): Remove FAQ.
52395 (FAQ): Remove.
52396
52397 2012-05-02 Allan McRae <allan@archlinux.org>
52398
52399 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52400 (LDFLAGS-reldepmod5.so): Likewise.
52401 (LDFLAGS-reldep6mod1.so): Likewise.
52402 (LDFLAGS-reldep6mod4.so): Likewise.
52403 (LDFLAGS-reldep8mod3.so): Likewise.
52404 (LDFLAGS-unload4mod1.so): Likewise.
52405 (LDFLAGS-unload4mod2.so): Likewise.
52406 (LDFLAGS-tst-initorder): Likewise.
52407 (LDFLAGS-tst-initordera2.so): Likewise.
52408 (LDFLAGS-tst-initordera3.so): Likewise.
52409 (LDFLAGS-tst-initordera4.so): Likewise.
52410 (LDFLAGS-tst-initorderb2.so): Likewise.
52411 (LDFLAGS-noload): Likewise.
52412 (LDFLAGS-next): Likewise.
52413 (LDFLAGS-order2mod1.so): Likewise.
52414 (LDFLAGS-order2mod2.so): Likewise.
52415 (LDFLAGS-tst-initorder2): Likewise.
52416 (LDFLAGS-tst-initorder2a.so): Likewise.
52417 (LDFLAGS-tst-initorder2b.so): Likewise.
52418 (LDFLAGS-tst-initorder2c.so): Likewise.
52419 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52420
52421 2012-05-02 David S. Miller <davem@davemloft.net>
52422
52423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52424
52425 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52426
52427 [BZ #14055]
52428 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52429
52430 2012-05-02 Andreas Jaeger <aj@suse.de>
52431
52432 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52433 since we manipulate rounding mode.
52434 (CPPFLAGS-test-idouble.c): Likewise.
52435 (CPPFLAGS-test-ifloat.c): Likewise.
52436 (CFLAGS-test-ldouble.c): Likewise.
52437 (CFLAGS-test-double.c): Likewise.
52438 (CFLAGS-test-float.c): Likewise.
52439 (CFLAGS-test-misc.c): Likewise.
52440 (CFLAGS-test-test-fenv.c): Likewise.
52441
52442 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52443
52444 [BZ #2550]
52445 [BZ #2570]
52446 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52447 comparisons to determine direction to adjust input.
52448
52449 2012-05-01 Roland McGrath <roland@hack.frob.com>
52450
52451 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52452 output to the target.
52453
52454 * scripts/localplt.awk: New file.
52455 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52456 (check-localplt-CFLAGS): Variable removed.
52457 ($(all-built-dso:=.jmprel)): New static pattern rule.
52458 (generated): Add those targets.
52459 (localplt-built-dso): New variable.
52460 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52461
52462 * elf/check-localplt.c: File removed.
52463
52464 * scripts/check-execstack.awk: New file.
52465 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52466 (check-execstack-CFLAGS): Variable removed.
52467 ($(objpfx)check-execstack.h): Target removed.
52468 ($(objpfx)execstack-default): New target.
52469 (generated): Add that instead of check-execstack.h.
52470 ($(all-built-dso:=.phdr)): New static pattern rule.
52471 (generated): Add those targets.
52472 * elf/check-execstack.c: File removed.
52473
52474 * scripts/check-textrel.awk: New file.
52475 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52476 (check-textrel-CFLAGS): Variable removed.
52477 (all-built-dso): Use := to define.o
52478 ($(all-built-dso:=.dyn)): New static pattern rule.
52479 (generated): Add those targets.
52480 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52481 * config.make.in (READELF): New substituted variable.
52482 * elf/check-textrel.c: File removed.
52483
52484 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52485
52486 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52487 allow.
52488 * conform/data/ctype.h-data [C99-based standards] (isblank):
52489 Expect function.
52490 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52491 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52493 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52494 Specify type. Require positive value.
52495 (EILSEQ): Likewise.
52496 (ERANGE): Likewise.
52497 [ISO || POSIX] (EILSEQ): Do not expect.
52498 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52499 Specify type. Require positive value.
52500 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52501 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52502 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52503 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52504 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52505 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52506 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52507 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52508 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52509 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52510 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52511 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52512 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52513 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52514 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52515 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52516 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52517 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52518 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52519 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52520 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52521 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52522 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52523 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52524 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52525 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52526 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52527 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52528 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52529 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52530 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52531 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52532 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52533 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52534 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52535 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52536 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52537 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52538 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52539 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52540 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52541 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52542 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52543 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52544 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52545 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52546 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52547 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52548 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52549 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52550 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52551 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52552 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52553 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52554 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52555 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52556 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52557 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52558 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52559 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52560 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52561 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52562 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52563 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52564 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52565 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52566 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52567 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52568 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52569 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52570 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52571 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52572 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52573 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52574 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52575 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52576 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52577 Require >= 2.
52578 (FLT_ROUNDS): Expect as macro, not constant.
52579 (FLT_MANT_DIG): Use macro-int-constant.
52580 (DBL_MANT_DIG): Likewise.
52581 (LDBL_MANT_DIG): Likewise.
52582 (FLT_DIG): Likewise.
52583 (DBL_DIG): Likewise.
52584 (LDBL_DIG): Likewise.
52585 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52586 (DBL_MIN_EXP): Likewise.
52587 (LDBL_MIN_EXP): Likewise.
52588 (FLT_MAX_EXP): Use macro-int-constant.
52589 (DBL_MAX_EXP): Likewise.
52590 (LDBL_MAX_EXP): Likewise.
52591 (FLT_MAX_10_EXP): Likewise.
52592 (DBL_MAX_10_EXP): Likewise.
52593 (LDBL_MAX_10_EXP): Likewise.
52594 (FLT_MAX): Use macro-constant.
52595 (DBL_MAX): Likewise.
52596 (LDBL_MAX): Likewise.
52597 (FLT_EPSILON): Use macro-constant. Give upper bound.
52598 (DBL_EPSILON): Likewise.
52599 (LDBL_EPSILON): Likewise.
52600 (FLT_MIN): Likewise.
52601 (DBL_MIN): Likewise.
52602 (LDBL_MIN): Likewise.
52603 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52604 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52605 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52606 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52607 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52608 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52609 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52610 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52611 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52612 [ISO11] (FLT_TRUE_MIN): Likewise.
52613 [ISO11] (LDBL_TRUE_MIN): Likewise.
52614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52615 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52616 (SCHAR_MIN): Use macro-int-constant. Specify type.
52617 (SCHAR_MAX): Likewise.
52618 (UCHAR_MAX): Likewise.
52619 (CHAR_MIN): Likewise.
52620 (CHAR_MAX): Likewise.
52621 (MB_LEN_MAX): Use macro-int-constant.
52622 (SHRT_MIN): Use macro-int-constant. Specify type.
52623 (SHRT_MAX): Likewise.
52624 (USHRT_MAX): Likewise.
52625 (INT_MAX): Likewise.
52626 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52627 bound negative.
52628 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52629 bound with "U".
52630 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52631 bound with "L".
52632 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52633 bound negative. Suffix upper bound with "L".
52634 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52635 bound with "UL".
52636 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52637 Specify type.
52638 [C99-based standards] (LLONG_MAX): Likewise.
52639 [C99-based standards] (ULLONG_MAX): Likewise.
52640 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52641 == 0.
52642 [ISO11] (max_align_t): Require type.
52643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52644
52645 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52646 from $CFLAGS, without defining away __attribute__ calls.
52647 (checknamespace): Use $CFLAGS_namespace.
52648
52649 * conform/conformtest.pl (@keywords): Only include C99 keywords
52650 for standards based on C99 or C11.
52651
52652 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52653 Disable tests.
52654 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52655 UNIX98]: Likewise.
52656
52657 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52658 usability of symbols in #if.
52659
52660 * conform/conformtest.pl: If macro or constant types start
52661 "promoted:", expect the symbol to be of the following type
52662 promoted by the integer promotions.
52663
52664 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52665 in one place. Also handle "macro-constant".
52666
52667 * conform/conformtest.pl: Only accept expected macro values with
52668 "==". Parse all "macro" lines in one place.
52669 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52670
52671 * conform/conformtest.pl: Handle braced types on "constant" lines
52672 instead of handling "typed-constant".
52673 * conform/data/signal.h-data: Use "constant" instead of
52674 "typed-constant".
52675
52676 * conform/conformtest.pl: Handle "optional-" at start of lines in
52677 one place rather than duplicating several cases. Handle each
52678 format of "macro" line with initial "optional-".
52679
52680 * conform/conformtest.pl: Only accept expected constant or
52681 optional-constant values with "==". Parse all "constant" lines in
52682 one place. Parse all "optional-constant" lines in one place.
52683 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52684 * conform/data/fmtmsg.h-data: Likewise.
52685 * conform/data/netinet/in.h-data: Likewise.
52686 * conform/data/tar.h-data: Likewise.
52687 * conform/data/limits.h-data: Use "==" form on "constant" and
52688 "optional-constant" lines.
52689
52690 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52691 Use -std=c99 for XOPEN2K.
52692 (@knownproblems): Remove.
52693 (newtoken): Don't check %isknown.
52694
52695 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52696 Do not expect macro.
52697 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52698 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52699 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52700 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52701 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52702 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52703 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52704 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52705 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52706 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52707 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52708 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52709 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52710 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52711 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52712 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52713 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52714 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52715 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52716 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52717 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52718 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52719 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52721 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52722 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52723 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52724 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52725 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52726 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52727 [XPG3] (acosh): Likewise.
52728 [XPG3] (asinh): Likewise.
52729 [XPG3] (atanh): Likewise.
52730 [XPG3] (cbrt): Likewise.
52731 [XPG3] (expm1): Likewise.
52732 [XPG3] (ilogb): Likewise.
52733 [XPG3] (log1p): Likewise.
52734 [XPG3] (logb): Likewise.
52735 [XPG3] (nextafter): Likewise.
52736 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52737 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52738 [XPG3] (remainder): Likewise.
52739 [XPG3] (rint): Likewise.
52740 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52741 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52742 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52743 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52744 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52745 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52746 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52747 [UNIX98 || XOPEN2K] (scalb): Expect.
52748 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52749 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52750 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52751 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52752 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52753 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52754 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52755 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52756 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52757 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52758 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52759 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52760 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52761 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52762 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52763 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52764 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52765 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52766 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52767 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52768 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52769 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52770 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52771 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52772 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52773 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52774 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52775 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52776 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52777 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52778 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52779 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52780 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52781 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52782 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52783 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52784 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52785 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52786 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52787 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52788 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52789 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52790 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52791 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52792 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52793 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52794 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52795 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52796 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52797 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52798 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52799 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52800 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52801 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52802 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52803 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52804 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52805 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52806 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52807 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52808 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52809 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52810 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52811 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52812 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52813 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52814 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52815 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52816 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52817 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52818 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52819 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52820 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52821 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52822 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52823 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52824 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52825 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52826 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52827 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52828 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52829 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52830 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52831 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52832 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52833 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52834 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52835 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52836 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52837 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52838 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52839 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52840 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52841 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52842 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52843 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52844 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52845 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52846 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52847 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52848 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52849 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52850 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52851 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52852 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52853 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52854 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52855 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52856 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52857 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52858 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52859 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52860 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52861 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52862 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52863 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52864 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52865 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52866 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52867 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52868 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52869 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52870 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52871 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52872 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52873 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52874 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52875 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52876 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52877 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52878 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52879 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52880 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52881 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52882 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52883 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52884 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52885
52886 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52887 _XOPEN_SOURCE_EXTENDED for XPG4.
52888
52889 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52890
52891 * Makeconfig (localtime): Remove variable.
52892 (inst_localtime-file): Likewise.
52893
52894 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52895
52896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52897 Update.
52898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52899 Update.
52900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52901 Update.
52902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52903 Update.
52904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52905 Update.
52906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52907 Update.
52908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52909 Update.
52910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52911 Update.
52912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52913 Update.
52914
52915 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52916
52917 [BZ #2550]
52918 [BZ #2570]
52919 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52920 comparisons to determine direction to adjust input.
52921 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52922 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52924 Likewise.
52925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52926 Likewise.
52927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52928 Likewise.
52929 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52930 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52931 Likewise.
52932 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52933 Likewise.
52934 * math/libm-test.inc (nexttoward_test): Add more tests.
52935
52936 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52937
52938 [BZ #14040]
52939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52940 in version GLIBC_2.1, not GLIBC_2.0.
52941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52942 Likewise.
52943
52944 2012-04-30 Joseph Myers <joseph@codesourcery.com>
52945
52946 [BZ #13942]
52947 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52948 (1 - x) * (1 + x).
52949 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52950 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52951 * math/libm-test.inc (acos_test): Add more tests.
52952 (asin_test): Likewise.
52953 * sysdeps/i386/fpu/libm-test-ulps: Update.
52954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52955
52956 [BZ #14034]
52957 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52958 of square root.
52959 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52960 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52961 * math/libm-test.inc (acos_test_tonearest): New function.
52962 (acos_test_towardzero): Likewise.
52963 (acos_test_downward): Likewise.
52964 (acos_test_upward): Likewise.
52965 (asin_test_tonearest): Likewise.
52966 (asin_test_towardzero): Likewise.
52967 (asin_test_downward): Likewise.
52968 (asin_test_upward): Likewise.
52969 (main): Call the new functions.
52970 * sysdeps/i386/fpu/libm-test-ulps: Update.
52971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52972
52973 [BZ #13884]
52974 [BZ #13924]
52975 * math/e_exp10.c: Include <float.h>.
52976 (__ieee754_exp10): Handle underflow here rather than multiplying
52977 large negative argument by M_LN10.
52978 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52979 of __ieee754_expf.
52980 * math/e_exp10l.c: Include <float.h>.
52981 (__ieee754_exp10l): Handle underflow here rather than multiplying
52982 large negative argument by M_LN10l.
52983 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52984 spurious overflow exception on underflow.
52985
52986 2012-04-29 Marek Polacek <polacek@redhat.com>
52987
52988 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52989 (__fortify_function): New macro.
52990 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52991 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52992 __extern_always_inline.
52993 * libio/bits/stdio2.h: Likewise.
52994 * libio/bits/stdio.h: Likewise.
52995 * string/string.h: Likewise.
52996 * string/bits/string3.h: Likewise.
52997 * include/stdio.h: Likewise.
52998 * stdlib/bits/stdlib.h: Likewise.
52999 * stdlib/stdlib.h: Likewise.
53000 * rt/bits/mqueue2.h: Likewise.
53001 * rt/mqueue.h: Likewise.
53002 * posix/bits/unistd.h: Likewise.
53003 * posix/unistd.h: Likewise.
53004 * io/bits/poll2.h: Likewise.
53005 * io/bits/fcntl2.h: Likewise.
53006 * io/fcntl.h: Likewise.
53007 * io/sys/poll.h: Likewise.
53008 * misc/bits/syslog.h: Likewise.
53009 * misc/bits/syslog-ldbl.h: Likewise.
53010 * misc/sys/syslog.h: Likewise.
53011 * socket/bits/socket2.h: Likewise.
53012 * socket/sys/socket.h: Likewise.
53013 * debug/tst-chk1.c: Likewise.
53014 * wcsmbs/bits/wchar2.h: Likewise.
53015 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53016 * wcsmbs/wchar.h: Likewise.
53017
53018 2012-04-29 Andreas Jaeger <aj@suse.de>
53019
53020 * Makerules (tests): Remove enable-check-abi protection.
53021 (check-abi-warn): Remove.
53022 (check-abi-%): Remove check-abi-warn usage.
53023
53024 * configure.in: Remove check-abi configure option.
53025 * configure: Regenerated.
53026 * config.make.in (enable-check-abi): Remove.
53027
53028 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53029
53030 [BZ #14033]
53031 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53032 double functions to double *_finite functions.
53033
53034 [BZ #13941]
53035 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53036 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53037 LDBL_MIN_EXP.
53038 * stdio-common/Makefile (tests): Add tst-sprintf3.
53039 * stdio-common/tst-sprintf3.c: New file.
53040
53041 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53042 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53043
53044 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53045
53046 * conform/conformtest.pl: Remove duplicate typed-constant
53047 handling.
53048
53049 2012-04-28 David S. Miller <davem@davemloft.net>
53050
53051 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53052 (check-abi-%): Remove AWK script prerequisite and explicit
53053 abilist directory.
53054 (check-abi): Rewrite to just diff the symlist with the abilist.
53055 (config-tls, config-abi-config): Delete, no longer used.
53056 (update-abi-%): Remove AWK script and explicit abilist directory.
53057 (update-abi): Rewrite to simply compare and conditionally copy the
53058 symlist and the sysdep abilist file. Remove update-abi-config
53059 checks.
53060 * abilist/ld.abilist: Remove.
53061 * abilist/libBrokenLocale.abilist: Remove.
53062 * abilist/libanl.abilist: Remove.
53063 * abilist/libcrypt.abilist: Remove.
53064 * abilist/libdl.abilist: Remove.
53065 * abilist/librt.abilist: Remove.
53066 * abilist/libthread_db.abilist: Remove.
53067 * abilist/libutil.abilist: Remove.
53068 * scripts/extract-abilist.awk: Remove.
53069 * scripts/merge-abilist.awk: Remove.
53070 * sysdeps/generic/libcidn.abilist: New file.
53071 * sysdeps/generic/libnss_compat.abilist: New file.
53072 * sysdeps/generic/libnss_db.abilist: New file.
53073 * sysdeps/generic/libnss_dns.abilist: New file.
53074 * sysdeps/generic/libnss_files.abilist: New file.
53075 * sysdeps/generic/libnss_hesiod.abilist: New file.
53076 * sysdeps/generic/libnss_nis.abilist: New file.
53077 * sysdeps/generic/libnss_nisplus.abilist: New file.
53078 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53079 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53080 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53081 file.
53082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53083 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53084 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53085 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53086 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53087 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53088 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53089 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53090 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53091 file.
53092 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53093 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53094 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53095 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53096 file.
53097 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53098 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53099 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53100 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53101 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53102 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53103 file.
53104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53105 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53106 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53107 file.
53108 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53110 New file.
53111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53112 New file.
53113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53114 New file.
53115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53116 New file.
53117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53118 New file.
53119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53120 New file.
53121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53122 New file.
53123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53124 New file.
53125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53126 New file.
53127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53128 New file.
53129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53130 New file.
53131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53132 New file.
53133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53134 New file.
53135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53136 file.
53137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53138 New file.
53139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53140 New file.
53141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53142 file.
53143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53144 New file.
53145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53146 New file.
53147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53148 file.
53149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53150 New file.
53151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53152 New file.
53153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53154 New file.
53155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53156 New file.
53157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53158 New file.
53159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53160 New file.
53161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53163 file.
53164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53165 New file.
53166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53167 file.
53168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53169 file.
53170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53171 file.
53172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53173 file.
53174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53175 file.
53176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53177 New file.
53178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53179 file.
53180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53181 file.
53182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53183 New file.
53184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53185 file.
53186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53188 file.
53189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53190 New file.
53191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53192 file.
53193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53194 file.
53195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53196 file.
53197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53198 file.
53199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53200 file.
53201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53202 New file.
53203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53204 file.
53205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53206 file.
53207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53208 New file.
53209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53210 file.
53211 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53212 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53213 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53214 file.
53215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53216 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53217 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53218 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53219 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53220 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53221 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53222 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53223 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53224 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53227 file.
53228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53229 New file.
53230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53231 file.
53232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53233 file.
53234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53235 file.
53236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53237 file.
53238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53239 file.
53240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53241 New file.
53242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53243 New file.
53244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53245 file.
53246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53247 New file.
53248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53249 file.
53250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53252 file.
53253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53254 New file.
53255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53256 file.
53257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53258 file.
53259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53260 file.
53261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53262 file.
53263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53264 file.
53265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53266 New file.
53267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53268 New file.
53269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53270 file.
53271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53272 New file.
53273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53274 file.
53275
53276 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53277
53278 * conform/conformtest.pl: Fix typo in handling typed-constant from
53279 allow-header.
53280
53281 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53282
53283 * README: Cut down references to pre-2.6 Linux kernels and
53284 Linuxthreads. Update lists of configurations in libc and ports
53285 and sort alphabetically. Say "or newer" with Linux kernel version
53286 requirements.
53287
53288 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53289
53290 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53291
53292 [BZ #887]
53293 * math/libm-test.inc (logb_test_downward): New test to expose
53294 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53295 rounding mode.
53296
53297 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53298
53299 [BZ #14027]
53300 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53301 to be done.
53302 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53303 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53304
53305 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53306
53307 * sysdeps/unix/i386/brk.S: Remove file.
53308 * sysdeps/unix/i386/dl-brk.S: Likewise.
53309 * sysdeps/unix/i386/pipe.S: Likewise.
53310 * sysdeps/unix/i386/sigreturn.S: Likewise.
53311 * sysdeps/unix/i386/syscall.S: Likewise.
53312 * sysdeps/unix/i386/vfork.S: Likewise.
53313 * sysdeps/unix/i386/wait.S: Likewise.
53314
53315 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53316 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53317
53318 * configure.in (arm*-none*): Do not allow without
53319 --enable-hacker-mode.
53320 (netbsd*): Remove case setting base_os.
53321 (386bsd*): Likewise.
53322 (freebsd*): Likewise.
53323 (bsdi*): Likewise.
53324 (osf*): Likewise.
53325 (sunos*): Likewise.
53326 (ultrix*): Likewise.
53327 (newsos*): Likewise.
53328 (dynix*): Likewise.
53329 (*bsd*): Likewise.
53330 (sysv*): Likewise.
53331 (isc*): Likewise.
53332 (esix*): Likewise.
53333 (sco*): Likewise.
53334 (minix*): Likewise.
53335 (irix4*): Likewise.
53336 (irix6*): Likewise.
53337 (solaris[2-9]*): Likewise.
53338 (none): Likewise.
53339 * configure: Regenerated.
53340
53341 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53342
53343 [BZ #11521]
53344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53345 overflow or cancellation in calculating denominator.
53346 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53348 down expression to avoid unexpected rounding in newer GCCs.
53349 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53350
53351 2012-04-26 David S. Miller <davem@davemloft.net>
53352
53353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53354 long-double compat symbols.
53355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53368
53369 2012-04-25 David S. Miller <davem@davemloft.net>
53370
53371 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53372 HWCAP_* values only after the memory barriers have been defined.
53373 (atomic_full_barrier): Define.
53374 (atomic_read_barrier): Define.
53375 (atomic_write_barrier): Define.
53376
53377 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53378
53379 * shlib-versions: Add libgcc_s version information.
53380 * sysdeps/generic/libgcc_s.h: Remove.
53381 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53382 libgcc_s.h.
53383 * sysdeps/gnu/unwind-resume.c: Likewise.
53384 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53385
53386 2012-04-25 David S. Miller <davem@davemloft.net>
53387
53388 * sysdeps/unix/sparc/brk.S: Delete.
53389 * sysdeps/unix/sparc/dl-brk.S: Delete.
53390 * sysdeps/unix/sparc/pipe.S: Delete.
53391 * sysdeps/unix/sparc/sysdep.S: Delete.
53392 * sysdeps/unix/sparc/sysdep.h: Delete.
53393 * sysdeps/unix/sparc/vfork.S: Delete.
53394 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53395 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53397 (ret_ERRVAL, r0, r1, MOVE): Define.
53398 (JUMPTARGET): Remove.
53399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53400 sysdeps/unix/sparc/sysdep.h
53401 (ENTRY, END): Remove.
53402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53403
53404 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53405
53406 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53407 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53408 -DIS_IN_build.
53409
53410 * timezone/README: Update upstream location and email address for
53411 tzcode and tzdata.
53412 * timezone/zdump.c: Update from tzcode 2012b.
53413 * timezone/zic.c: Likewise.
53414
53415 * configure.in (libc_cv_as_needed): Remove test.
53416 * configure: Regenerated.
53417 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53418 conditional definition.
53419 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53420 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53421 * config.make.in (have-as-needed): Remove variable.
53422
53423 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53424 Paul Pluzhnikov <ppluzhnikov@google.com>
53425
53426 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53427 strings correctly.
53428
53429 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53430
53431 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53432 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53433 * sysdeps/sh/strlen.S: Likewise.
53434
53435 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53436
53437 * sysdeps/unix/fork.S: Remove file.
53438 * sysdeps/unix/i386/fork.S: Likewise.
53439 * sysdeps/unix/sparc/fork.S: Likewise.
53440
53441 * sysdeps/unix/system.c: Remove file.
53442 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53443
53444 * sysdeps/unix/getegid.S: Remove file.
53445 * sysdeps/unix/geteuid.S: Likewise.
53446
53447 2012-04-24 Roland McGrath <roland@hack.frob.com>
53448
53449 * scripts/check-localplt.awk: New file.
53450 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53451 of diff.
53452 * scripts/data/localplt-generic.data: Add a comment.
53453
53454 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53455 NODE when __dir_mkfile failed.
53456 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53457 Reported by Ludovic Courtès <ludo@gnu.org>.
53458
53459 2012-04-24 Andreas Jaeger <aj@suse.de>
53460
53461 * Makerules (common-clean): Also remove gen-as-const-headers
53462 files.
53463
53464 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53465
53466 * Makerules (native-compile): Do not change working directory for
53467 build. Use $(OUTPUT_OPTION) in command.
53468 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53469
53470 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53471
53472 [BZ #13886]
53473 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53474 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53475 * math/libm-test.inc (floor_test): Add more tests.
53476 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53477
53478 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53479
53480 * sysdeps/unix/getdents.c: Remove file.
53481 * sysdeps/unix/sysv/getdents.c: Likewise.
53482 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53483
53484 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53485 sysdeps/unix/mman/syscalls.list.
53486 (mmap): Likewise.
53487 (mprotect): Likewise.
53488 (msync): Likewise.
53489 (munmap): Likewise.
53490 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53491 * sysdeps/unix/mman/syscalls.list: Remove.
53492 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53493
53494 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53495 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53496 * configure: Regenerated.
53497 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53498 $(libgcc_s_suffix).
53499 * config.make.in (libgcc_s_suffix): Remove variable.
53500
53501 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53502
53503 * sysdeps/unix/sysv/gethostname.c: Move to ...
53504 * sysdeps/posix/gethostname.c: ... here.
53505
53506 * sysdeps/unix/execve.S: Remove file.
53507
53508 * sysdeps/unix/_exit.S: Remove file.
53509
53510 2012-04-23 Andreas Jaeger <aj@suse.de>
53511
53512 [BZ #13739]
53513 * manual/Makefile: Remove make dist support, there's no
53514 need for a stand-alone documentation tar ball.
53515 (TEXI2DVI): Define always, it's not in Makeconfig.
53516 (dist): Removed.
53517 (tar-it): Removed.
53518 (edition): Removed.
53519 (glibc-doc-$(edition).tar): Removed
53520 (%.Z): Removed.
53521 (%.gz): Removed.
53522 (%.uu): Removed.
53523 (ETAGS): Remove, it's in Makeconfig.
53524 (move-if-change): Remove, it's in Makeconfig.
53525
53526 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53527
53528 [BZ #13970]
53529 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53530 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53531 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53532 (strtod_l, strtof_l, strtold_l): Remove __wur.
53533 It is not necessarily an error to ignore strtol's return value.
53534 One can reliably look at the stored endptr to decide whether
53535 the number had valid syntax.
53536
53537 2012-04-21 Andreas Jaeger <aj@suse.de>
53538
53539 [BZ #13739]
53540 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53541
53542 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53543
53544 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53545 * sysdeps/unix/sysv/Versions: Remove file.
53546
53547 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53548
53549 [BZ #13927]
53550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53551
53552 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53553
53554 [BZ #7064]
53555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53556 version from __vm86.
53557
53558 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53559
53560 * sysdeps/unix/common/lxstat.c: Remove file.
53561 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53562
53563 * sysdeps/unix/sysv/Makefile: Remove file.
53564
53565 * sysdeps/unix/sysv/direct.h: Remove file.
53566
53567 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53568 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53569 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53570 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53571 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53572 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53573 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53574
53575 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53576
53577 * sysdeps/unix/xmknod.c: Remove file.
53578 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53579
53580 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53581
53582 * sysdeps/unix/sysv/i386/time.S: Remove file.
53583
53584 * sysdeps/unix/fxstat.c: Remove file.
53585 * sysdeps/unix/xstat.c: Likewise.
53586 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53587
53588 * sysdeps/unix/sysv/sigaction.c: Remove file.
53589
53590 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53591 (sysdep_headers): Remove variable.
53592 [termio.h not in sysdep_headers] (generated): Likewise.
53593 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53594 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53595 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53596 * sysdeps/unix/sysv/tcflow.c: Likewise.
53597 * sysdeps/unix/sysv/tcflush.c: Likewise.
53598 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53599 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53600 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53601 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53602 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53603
53604 * sysdeps/unix/siglist.c: Remove file.
53605
53606 * sysdeps/unix/getppid.S: Remove file.
53607
53608 * sysdeps/unix/mkdir.c: Remove file.
53609 * sysdeps/unix/rmdir.c: Likewise.
53610
53611 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53612
53613 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53614 ERR_MAX value.
53615 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53616 errlist-compat value.
53617
53618 2012-04-18 David S. Miller <davem@davemloft.net>
53619
53620 * sysdeps/generic/memcopy.h (reg_char): Delete.
53621 * debug/strcat_chk.c: Use char, not reg_char.
53622 * debug/strcpy_chk.c: Likewise.
53623 * debug/strncat_chk.c: Likewise.
53624 * debug/strncpy_chk.c: Likewise.
53625 * string/memchr.c: Likewise.
53626 * string/memrchr.c: Likewise.
53627 * string/rawmemchr.c: Likewise.
53628 * string/strcat.c: Likewise.
53629 * string/strchr.c: Likewise.
53630 * string/strchrnul.c: Likewise.
53631 * string/strcmp.c: Likewise.
53632 * string/strcpy.c: Likewise.
53633 * string/strncat.c: Likewise.
53634 * string/strncmp.c: Likewise.
53635 * string/strncpy.c: Likewise.
53636
53637 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53638
53639 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53640 __builtin_memcopy is called when src and dest ranges are known to not
53641 overlap.
53642
53643 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53644
53645 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53646 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53647 fwd_align_merge macro call.
53648 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53649 bwd_align_merge macro call.
53650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53651
53652 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53653
53654 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53655 bwd_align_merge macros.
53656 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53657 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53658 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53659
53660 2012-04-18 David S. Miller <davem@davemloft.net>
53661
53662 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53663
53664 2012-04-18 Andreas Jaeger <aj@suse.de>
53665
53666 [BZ# 6794]
53667 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53668 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53670
53671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53672 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53674
53675 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53676 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53677 Adjust for changed ldbl-128 files.
53678
53679 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53680 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53681 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53682
53683 2012-04-17 David S. Miller <davem@davemloft.net>
53684
53685 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53686
53687 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53688
53689 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53690 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53691 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53692 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53693 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53694 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53695
53696 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53697
53698 [BZ #6794]
53699 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53700 * math/libm-test.inc: Add ilogb errno and exception tests.
53701 * math/w_ilogb.c: New file: ilogb wrapper.
53702 * math/w_ilogbf.c: New file: ilogbf wrapper.
53703 * math/w_ilogbl.c: New file: ilogbl wrapper.
53704 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53705 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53706 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53707 exception being thrown with 0.0 as argument.
53708 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53709 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53710 exception being thrown with 0.0 as argument.
53711 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53712 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53713 exception being thrown with 0.0 as argument.
53714 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53715 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53716 exception being thrown with 0.0 as argument.
53717 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53718 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53719 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53720 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53722 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53723 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53724 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53725 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53726
53727 2012-04-17 Petr Baudis <pasky@ucw.cz>
53728
53729 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53730 with altivec.
53731
53732 2012-04-16 Marek Polacek <polacek@redhat.com>
53733
53734 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53735
53736 2012-04-16 Marek Polacek <polacek@redhat.com>
53737
53738 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53739 operands of fdivp instruction.
53740
53741 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53742
53743 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53744 * elf/tst-auditmod3b.c: Likewise.
53745 * elf/tst-auditmod4b.c: Likewise.
53746 * elf/tst-auditmod5b.c: Likewise.
53747 * elf/tst-auditmod6b.c: Likewise.
53748 * elf/tst-auditmod6c.c: Likewise.
53749 * elf/tst-auditmod7b.c: Likewise.
53750 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53751 * sysdeps/x86_64/preconfigure.in: Likewise.
53752 * sysdeps/x86_64/preconfigure: Regenerated.
53753
53754 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53755
53756 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53757 __ILP32__.
53758
53759 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53760
53761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53762 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53763
53764 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53765
53766 [BZ #13973]
53767 * locale/iso-639.def: Fix gl language name. Spotted by
53768 Yaron Shahrabani.
53769
53770 2012-04-12 Roland McGrath <roland@hack.frob.com>
53771
53772 [BZ #2074]
53773 * libio/libio.h (__io_write_fn): Update comment.
53774
53775 2012-04-12 Petr Baudis <pasky@ucw.cz>
53776
53777 [BZ #2074]
53778 * stdio.texi (Hook Functions): The user provided writer function
53779 is not allowed to return -1.
53780
53781 2012-04-11 David S. Miller <davem@davemloft.net>
53782
53783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53784
53785 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53786
53787 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53788 Add a leading slash to rtkaio.
53789
53790 2012-04-11 Jim Meyering <meyering@redhat.com>
53791
53792 [BZ #11959]
53793 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53794 It is not necessarily an error to ignore fwrite's return
53795 value. One can reliably use ferror to test for errors after
53796 the fact.
53797
53798 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53799
53800 * bits/types.h (__snseconds_t): New type.
53801 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53802
53803 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53805 (__SNSECONDS_T_TYPE): Likewise.
53806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53807 (__SNSECONDS_T_TYPE): Likewise.
53808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53809 (__SNSECONDS_T_TYPE): Likewise.
53810
53811 2012-04-10 Andreas Jaeger <aj@suse.de>
53812
53813 [BZ #2636]
53814 * manual/time.texi (Processor Time): Return type of times is
53815 elapsed real time since an arbitrary point in the past.
53816 (CPU Time): Move CLK_TCK from here...
53817 (Processor Time): ...to here. Correct description.
53818 * manual/conf.texi (Constants for Sysconf): Correct description of
53819 _SC_CLK_TCK.
53820
53821 2012-04-10 David S. Miller <davem@davemloft.net>
53822
53823 [BZ #13967]
53824 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53825 where the is a gap between DT_REL(A) and DT_JMPREL.
53826
53827 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53828
53829 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53830 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53831 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53832
53833 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53834
53835 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53836 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53837 (dl_main): Handle --inhibit-cache.
53838 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53839 _dl_inhibit_cache.
53840 * elf/dl-load.c (_dl_map_object): Use it.
53841 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53842
53843 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53844
53845 [BZ #13872]
53846 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53847 (__ieee754_powl): Saturate large exponents rather than testing for
53848 overflow of y*log2(x).
53849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53850 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53851 exceptions.
53852
53853 [BZ #11521]
53854 * math/s_ctan.c: Include <float.h>.
53855 (__ctan): Avoid internal overflow or cancellation in calculating
53856 denominator.
53857 * math/s_ctanf.c: Likewise.
53858 * math/s_ctanl.c: Likewise.
53859 * math/s_ctanh.c: Likewise.
53860 * math/s_ctanhf.c: Likewise.
53861 * math/s_ctanhl.c: Likewise.
53862 * math/libm-test.inc (ctan_test): Add more tests.
53863 (ctanh_test): Likewise.
53864 * sysdeps/i386/fpu/libm-test-ulps: Update.
53865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53866
53867 2012-04-09 Andreas Jaeger <aj@suse.de>
53868
53869 [BZ #6894]
53870 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53871 is an optional BSD extension.
53872
53873 [BZ #10254]
53874 * manual/stdio.texi (Opening Streams): Document additional fopen
53875 parameters.
53876
53877 2012-04-09 Roland McGrath <roland@hack.frob.com>
53878
53879 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53880 %eax without telling the compiler.
53881
53882 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53883
53884 [BZ # 13963]
53885 * manual/install.texi: Use sourceware.org.
53886
53887 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53888
53889 [BZ #13873]
53890 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53891 (__ieee754_pow): Generate overflow and underflow using huge*huge
53892 and tiny*tiny rather than just returning constant infinity or zero
53893 for large exponents.
53894 * math/libm-test.inc (pow_test): Require overflow exceptions for
53895 applicable cases of large exponents.
53896
53897 [BZ #706]
53898 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53899 (__ieee754_pow): Use iterative multiplication algorithm only for
53900 integer exponents with absolute value below 1024. Check for odd
53901 integer exponents when using algorithm for real exponents.
53902 * math/libm-test.inc (pow_test): Add more tests.
53903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53904
53905 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53906
53907 [BZ #13705]
53908 * math/libm-test.inc (exp_test): Do not allow overflow exception
53909 on underflow test.
53910
53911 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53912
53913 [BZ #13705]
53914 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53915 instead of __kernel_standard_f.
53916
53917 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53918
53919 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53920 * sysdeps/x86_64/memset_chk.S: Likewise.
53921
53922 2012-04-08 Andreas Jaeger <aj@suse.de>
53923
53924 [BZ #10153]
53925 * manual/startup.texi (Environment Access): Describe return value
53926 for putenv and setenv.
53927
53928 [BZ #6895]
53929 * manual/filesys.texi (Directory Entries): Add description for
53930 DT_LNK.
53931
53932 [BZ #6890]
53933 * manual/filesys.texi (Directory Entries): Clarify that it's file
53934 system not operating system in the description of DT_UNKNOWN.
53935
53936 [BZ #6578]
53937 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53938
53939 2012-04-08 Stephen Compall <s11@member.fsf.org>
53940
53941 [BZ #6649]
53942 * manual/llio.texi (Opening and Closing Files): Add cross
53943 reference to explain mode argument.
53944
53945 2012-04-07 Mike Frysinger <vapier@gentoo.org>
53946
53947 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53948 * sysdeps/x86_64/memset_chk.S: Likewise.
53949
53950 2012-04-07 David S. Miller <davem@davemloft.net>
53951
53952 * elf/elf.h (R_SPARC_WDISP10): Define.
53953 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53954 R_SPARC_SIZE32.
53955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53956 R_SPARC_SIZE64 and R_SPARC_H34.
53957
53958 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
53959
53960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53961 conditions and remove no longer applicable assertion.
53962
53963 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53964
53965 * bits/byteswap.h: Include <features.h>.
53966 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53967 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53968
53969 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53970
53971 * bits/byteswap.h (__bswap_16): Removed.
53972 Include <bits/byteswap-16.h> to get __bswap_16.
53973 * sysdeps/i386/bits/byteswap.h: Likewise.
53974 * sysdeps/s390/bits/byteswap.h: Likewise.
53975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53976 * bits/byteswap-16.h: New file.
53977 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53978 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53979 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53980 * string/Makefile (headers): Add bits/byteswap-16.h.
53981
53982 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53983
53984 [BZ #13895]
53985 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53986 extra indirection.
53987 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53988 * nss/tst-nss-static.c: New.
53989
53990 2012-04-06 Robert Millan <rmh@gnu.org>
53991
53992 [BZ #6486]
53993 * manual/llio.texi (File Position Primitive): lseek
53994 refers to WHENCE when it really means OFFSET.
53995
53996 2012-04-06 Andreas Jaeger <aj@suse.de>
53997
53998 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53999 strncmp declarations.
54000
54001 * abilist/libc.abilist: Add __poll and __ppoll.
54002
54003 2012-04-05 David S. Miller <davem@davemloft.net>
54004
54005 * scripts/check-local-headers.sh: Accept a host triplet in the
54006 path matched by the exclude regexp.
54007
54008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54009 definition.
54010 * sysdeps/powerpc/powerpc32/dl-machine.h
54011 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54012 * sysdeps/s390/s390-32/dl-machine.h
54013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54014 * sysdeps/sparc/sparc32/dl-machine.h
54015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54016 * sysdeps/sparc/sparc64/dl-machine.h
54017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54018
54019 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54020 lazy binding.
54021 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54022 undefined symbol errors.
54023
54024 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54025 DT_NEEDED entries.
54026
54027 2012-04-05 Michael Matz <matz@suse.de>
54028
54029 [BZ #13592]
54030 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54031
54032 2012-04-05 Andreas Jaeger <aj@suse.de>
54033
54034 [BZ #13908]
54035 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54036 comment.
54037
54038 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54039
54040 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54041 which ROUND is no valid rounding mode.
54042
54043 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54044
54045 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54046 read again.
54047 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54048
54049 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54050
54051 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54052 an exception using FPU order intentionally.
54053
54054 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54055
54056 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54057 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54058 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54059 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54060
54061 2012-04-05 Simon Josefsson <simon@josefsson.org>
54062
54063 [BZ #12340]
54064 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54065 EINVAL when BUFLEN is too smal.
54066
54067 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54068
54069 [BZ #13553]
54070 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54071 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54072
54073 2012-04-03 Andreas Jaeger <aj@suse.de>
54074
54075 [BZ #13938]
54076 * manual/setjmp.texi (System V contexts): Fix sentence.
54077
54078 [BZ #13926]
54079 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54080 New macro for this case.
54081 [!__GNUC__] (__bswap_64): New inline function for this case.
54082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54083 * bits/byteswap.h: Likewise.
54084 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54085 ull, guard with __GLIBC_HAVE_LONG_LONG.
54086
54087 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54088 __GLIBC_HAVE_LONG_LONG.
54089
54090 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54091 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54092
54093 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54094
54095 [BZ #13691]
54096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54097 inptr and inend, rather than using last_ch.
54098
54099 2012-04-02 David S. Miller <davem@davemloft.net>
54100
54101 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54102 * stdio-common/printf-parse.h (read_int): Change return type to
54103 'int', return -1 on INT_MAX overflow.
54104 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54105 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54106 overflows INT_MAX. Check for overflow of in-format-string precision
54107 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54108 SIZE_MAX not INT_MAX for integer overflow test.
54109 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54110 skip the construct in the format string but do not record anything.
54111 * stdio-common/bug22.c: Adjust to test both width/prevision
54112 INT_MAX overflow as well as total length INT_MAX overflow. Check
54113 explicitly for proper errno values.
54114
54115 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54116
54117 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54118 CHAR_MAX.
54119 * string/test-strcmp.c [! WIDE]: Likewise.
54120 * time/tst-mktime2.c: Likewise for INT_MAX.
54121 * string/test-string.h: #include <sys/param.h> for MIN.
54122
54123 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54124 * sysdeps/i386/init-first.c (init): Likewise.
54125 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54126 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54127 * sysdeps/sh/init-first.c (init): Likewise.
54128
54129 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54130
54131 * po/ru.po: Update from translation team.
54132 * po/vi.po: Likewise.
54133
54134 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54135
54136 * resolv/nss_dns/dns-host.c: Merge copyright years.
54137
54138 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54139
54140 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54141 Optimize memcpy with prefetch if
54142 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54143 src, dst pointers have unequal 16 byte alignments.
54144
54145 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54146
54147 [BZ #13928]
54148 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54149 from a CNAME entry and return the minimum ttl for the query.
54150 (gaih_getanswer_slice): Likewise.
54151
54152 2012-03-30 Jeff Law <law@redhat.com>
54153
54154 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54155 due to long keys.
54156 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54157 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54158
54159 * resolv/nss_dns/dns-host.c: Update copyright year.
54160
54161 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54162
54163 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54164 requests to save a system call. Fix check that all bytes are sent.
54165
54166 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54167 comments for sendmmsg.
54168
54169 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54170
54171 [BZ #13691]
54172 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54173 with only 1 character between 0x0041 and 0x01b0.
54174 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54175 * wcsmbs/tst-mbsnrtowcs.c: New file.
54176
54177 2012-03-29 David S. Miller <davem@davemloft.net>
54178
54179 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54180 small copies by hand.
54181
54182 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54183
54184 [BZ #13761]
54185 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54186 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54187 group memberships.
54188
54189 2012-03-28 David S. Miller <davem@davemloft.net>
54190
54191 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54192 that branches into memcpy.
54193 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54194 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54196 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54198 bits.
54199 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54200 implementation too.
54201 * sysdeps/sparc/mempcpy.S: New file.
54202
54203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54204 the IFUNC routine in the libc case.
54205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54206
54207 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54208 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54209 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54210 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54211 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54212 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54213 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54214 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54215
54216 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54217 loop to 256 bytes instead of 64 bytes and fix test signedness.
54218
54219 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54220 * sysdeps/sparc/sparc32/Makefile: rather than here...
54221 * sysdeps/sparc/sparc64/Makefile: and here.
54222
54223 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54224
54225 * malloc/mallocbug.c: Avoid warnings about unused variables.
54226
54227 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54228
54229 [BZ #13760]
54230 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54231 in the right place. Discard and retry query if response is
54232 larger than input buffer size.
54233
54234 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54235
54236 [BZ #369]
54237 [BZ #2678]
54238 [BZ #3866]
54239 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54240 x for large integer exponent.
54241 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54242 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54243 sign of result as needed afterwards.
54244 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54246 result for underflowing pow the same as for overflow.
54247 (__kernel_standard_l): Handle powl overflow and underflow here
54248 rather than calling __kernel_standard.
54249 * math/libm-test.inc (pow_test): Add more tests.
54250
54251 [BZ #3868]
54252 [BZ #13879]
54253 [BZ #13910]
54254 [BZ #13911]
54255 [BZ #13912]
54256 [BZ #13913]
54257 [BZ #13915]
54258 [BZ #13916]
54259 [BZ #13917]
54260 [BZ #13918]
54261 [BZ #13919]
54262 [BZ #13920]
54263 [BZ #13921]
54264 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54265 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54266 (__kernel_standard_l): New function.
54267 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54268 __kernel_standard.
54269 * math/w_acosl.c (__acosl): Likewise.
54270 * math/w_asinl.c (__asinl): Likewise.
54271 * math/w_atan2l.c (__atan2l): Likewise.
54272 * math/w_atanhl.c (__atanhl): Likewise.
54273 * math/w_coshl.c (__coshl): Likewise.
54274 * math/w_exp10l.c (__exp10l): Likewise.
54275 * math/w_exp2l.c (__exp2l): Likewise.
54276 * math/w_fmodl.c (__fmodl): Likewise.
54277 * math/w_hypotl.c (__hypotl): Likewise.
54278 * math/w_j0l.c (__j0l, __y0l): Likewise.
54279 * math/w_j1l.c (__j1l, __y1l): Likewise.
54280 * math/w_jnl.c (__jnl, __ynl): Likewise.
54281 * math/w_lgammal.c (__lgammal): Likewise.
54282 * math/w_log10l.c (__log10l): Likewise.
54283 * math/w_log2l.c (__log2l): Likewise.
54284 * math/w_logl.c (__logl): Likewise.
54285 * math/w_powl.c (__powl): Likewise.
54286 * math/w_remainderl.c (__remainderl): Likewise.
54287 * math/w_scalbl.c (sysv_scalbl): Likewise.
54288 * math/w_sinhl.c (__sinhl): Likewise.
54289 * math/w_sqrtl.c (__sqrtl): Likewise.
54290 * math/w_tgammal.c (__tgammal): Likewise.
54291 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54292 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54293 * math/libm-test.inc (acos_test): Add more tests.
54294 (acosh_test): Likewise.
54295 (asin_test): Likewise.
54296 (atanh_test): Likewise.
54297 (exp_test): Likewise.
54298 (exp10_test): Likewise.
54299 (exp2_test): Likewise.
54300 (expm1_test): Likewise.
54301 (lgamma_test): Likewise.
54302 (log_test): Likewise.
54303 (log10_test): Likewise.
54304 (log1p_test): Likewise.
54305 (log2_test): Likewise.
54306 (pow_test): Do not allow some spurious overflow exceptions.
54307 (sqrt_test): Add more tests.
54308 (tgamma_test): Likewise.
54309 (y0_test): Likewise.
54310 (y1_test): Likewise.
54311 (yn_test): Likewise.
54312
54313 2012-03-27 Anton Blanchard <anton@samba.org>
54314
54315 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54316 MAP_HUGETLB.
54317 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54318 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54319 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54320
54321 2012-03-27 David S. Miller <davem@davemloft.net>
54322
54323 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54324
54325 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54326 have-as-vis3 check.
54327
54328 2012-03-27 Andreas Jaeger <aj@suse.de>
54329
54330 * sysdeps/x86_64/elf/configure.in: Moved to ...
54331 * sysdeps/x86_64/configure.in: ... here.
54332 * sysdeps/x86_64/elf/start.S: Moved to ...
54333 * sysdeps/x86_64/start.S: ... here.
54334 * sysdeps/x86_64/elf/configure: Delete.
54335
54336 * sysdeps/x86_64/configure.in: Merge contents from
54337 sysdeps/i386/configure.in (without i686 check).
54338
54339 * sysdeps/i386/elf/Versions: Merge into ...
54340 * sysdeps/i386/Versions: ... this.
54341 * sysdeps/i386/elf/Versions: Delete file.
54342 * sysdeps/i386/elf/start.S: Moved to ...
54343 * sysdeps/i386/start.S: ...here.
54344 * sysdeps/i386/elf/configure.in: Merge into...
54345 * sysdeps/i386/configure.in: ...here.
54346 * sysdeps/i386/elf/configure.in: Delete file.
54347 * sysdeps/i386/elf/configure: Delete file.
54348
54349 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54350 * debug/backtracesyms.c: ... here.
54351 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54352 * debug/backtracesymsfd.c: ... here.
54353 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54354 * sysdeps/generic/ifunc-sel.h: ... here.
54355
54356 * sysdeps/unix/i386/start.c: Delete file.
54357 * sysdeps/unix/sparc/start.c: Delete file.
54358 * sysdeps/unix/start.c: Delete file.
54359
54360 * sysdeps/sh/elf/configure.in: Moved to ...
54361 * sysdeps/sh/configure.in: ... here.
54362 * sysdeps/sh/elf/start.S: Moved to ...
54363 * sysdeps/sh/start.S: ... here.
54364 * sysdeps/sh/elf/configure: Delete file.
54365
54366 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54367 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54368 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54369 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54370 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54371 * sysdeps/powerpc/powerpc64/start.S: here.
54372 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54373 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54374 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54375 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54376 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54377
54378 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54379 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54380 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54381 * sysdeps/powerpc/powerpc32/start.S: ... here.
54382 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54383 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54384 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54385
54386 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54387 * sysdeps/powerpc/ifunc-sel.h: ... here.
54388 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54389 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54390
54391 * sysdeps/sparc/elf/configure.in: Moved to ...
54392 * sysdeps/sparc/configure.in: ... here.
54393 * sysdeps/sparc/elf/configure: Delete file.
54394 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54395 * sysdeps/sparc/sparc32/start.S: ... here.
54396 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54397 * sysdeps/sparc/sparc64/start.S: ... here.
54398 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54399 * sysdeps/sparc/sparc32/Makefile: ... this.
54400 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54401 * sysdeps/sparc/sparc64/Makefile: ... this.
54402
54403 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54404 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54405 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54406 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54407 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54408 * sysdeps/s390/s390-32/setjmp.S: ... here.
54409 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54410 * sysdeps/s390/s390-32/configure.in: ... here.
54411 * sysdeps/s390/s390-32/elf/configure: Delete file.
54412 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54413 * sysdeps/s390/s390-32/start.S: ... here.
54414
54415 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54416 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54417 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54418 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54419 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54420 * sysdeps/s390/s390-64/setjmp.S: ... here.
54421 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54422 * sysdeps/s390/s390-64/configure.in: ... here
54423 * sysdeps/s390/s390-64/elf/configure: Delete file.
54424 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54425 * sysdeps/s390/s390-64/start.S: ... here.
54426 * sysdeps/s390/s390-64/elf/configure: Delete.
54427
54428 * configure.in: Remove support for elf directories in sysdeps.
54429
54430 * configure: Regenerated.
54431 * sysdeps/i386/configure: Regenerated.
54432 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54433 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54434 * sysdeps/s390/s390-32/configure: Regenerated.
54435 * sysdeps/s390/s390-64/configure: Regenerated.
54436 * sysdeps/sh/configure: Regenerated.
54437 * sysdeps/sparc/configure: Regenerated.
54438 * sysdeps/x86_64/configure: Regenerated.
54439
54440 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54441
54442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54443
54444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54445 denormal result into account.
54446
54447 2012-03-25 Roland McGrath <roland@hack.frob.com>
54448
54449 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54450 Reported by Allan McRae <allan@archlinux.org>.
54451
54452 2012-03-23 Jeff Law <law@redhat.com>
54453
54454 * nss/getnssent.c (__nss_getent): Fix typo.
54455
54456 2012-03-23 David S. Miller <davem@davemloft.net>
54457
54458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54459
54460 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54461
54462 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54463 to pad to uint64_t for each field.
54464 (dl_tls_index): Replace unsigned long with uint64_t.
54465
54466 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54467 Paul Pluzhnikov <ppluzhnikov@google.com>
54468
54469 [BZ #6528]
54470 * grp/Makefile (otherlibs): Don't set it.
54471 * inet/Makefile (otherlibs): Likewise.
54472 * login/Makefile (otherlibs): Likewise.
54473 * nscd/Makefile (otherlibs): Likewise.
54474 * posix/Makefile (otherlibs): Likewise.
54475 * pwd/Makefile (otherlibs): Likewise.
54476 * rt/Makefile (otherlibs): Likewise.
54477 * sunrpc/Makefile (otherlibs): Likewise.
54478 * nss/Makefile (otherlibs): Likewise.
54479 Add libnss_files to routines and static-only-routines.
54480 ($(objpfx)getent): Remove rule.
54481 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54482 static-only-routines.
54483
54484 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54485
54486 [BZ #13892]
54487 * math/s_cexp.c: Include <float.h>.
54488 (__cexp): Handle exp result overflowing not necessarily
54489 overflowing both real and imaginary parts of result.
54490 * math/s_cexpf.c: Likewise.
54491 * math/s_cexpl.c: Likewise.
54492 * math/libm-test.inc (cexp_test): Add more tests.
54493 * sysdeps/i386/fpu/libm-test-ulps: Update.
54494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54495
54496 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54497
54498 * include/link.h (ELFW): New macro.
54499 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54500 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54501
54502 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54503
54504 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54505 with uint64_t.
54506
54507 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54508
54509 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54510 declaration.
54511 (struct La_x32_retval): Likewise.
54512
54513 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54514
54515 * sysdeps/x86_64/preconfigure.in: New file.
54516 * sysdeps/x86_64/preconfigure: New generated file.
54517
54518 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54519
54520 [BZ #13824]
54521 * math/e_exp2l.c: Include <float.h>.
54522 (__ieee754_exp2l): Handle overflow and underflow cases
54523 separately. Only pass fractional part of argument to
54524 __ieee754_expl.
54525 * math/libm-test.inc (exp2_test): Add more tests.
54526
54527 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54528 negating x to take absolute value.
54529 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54530 Likewise.
54531 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54532 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54533 Likewise.
54534 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54535 computing low part if x was negated.
54536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54537
54538 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54539
54540 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54541 la_x32_gnu_pltexit.
54542 (pltexit): Cast int_retval to ptrdiff_t.
54543 * elf/tst-auditmod3b.c: Likewise.
54544 * elf/tst-auditmod4b.c: Likewise.
54545 * elf/tst-auditmod5b.c: Likewise.
54546 * elf/tst-auditmod6b.c: Likewise.
54547 * elf/tst-auditmod6c.c: Likewise.
54548 * elf/tst-auditmod7b.c: Likewise.
54549
54550 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54551 and x32_gnu_pltexit.
54552
54553 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54554 __ELF_NATIVE_CLASS.
54555 (La_x32_regs): New macro.
54556 (La_x32_retval): Likewise.
54557 (la_x32_gnu_pltenter): New function prototype.
54558 (la_x32_gnu_pltexit): Likewise.
54559
54560 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54561
54562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54563 exponent.
54564
54565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54566
54567 * configure.in (libc_cv_cc_nofma): Check for option to disable
54568 generation of FMA instructions.
54569 * configure: Regenerate.
54570 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54571 * sysdeps/ieee754/dbl-64/Makefile: New file.
54572 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54573 Remove brandred-fma4.
54574 (CFLAGS-brandred-fma4.c): Remove.
54575 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54577 define.
54578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54579 define.
54580
54581 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54582
54583 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54584 LLONG_MAX != LONG_MAX.
54585 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54586 (_fitoa_word): Likewise.
54587 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54588 LLONG_MAX != LONG_MAX.
54589 * stdio-common/_itowa.h: Include <_itoa.h>.
54590 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54591 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54592 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54593 only if not defined.
54594 (_ITOA_WORD_TYPE): Likewise.
54595 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54596 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54597
54598 2012-03-21 David S. Miller <davem@davemloft.net>
54599
54600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54601
54602 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54603
54604 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54605 of x86_64 when setting libc_cv_slibdir, libdir and
54606 libc_cv_localedir.
54607 * sysdeps/unix/sysv/linux/configure: Regenerated.
54608
54609 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54610
54611 * manual/lang.texi (Old Varargs): Remove section.
54612 (How Variadic): Update menu.
54613 (va_start): Do not mention varargs.h.
54614
54615 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54616 Joseph Myers <joseph@codesourcery.com>
54617
54618 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54619 link test.
54620 * configure: Regenerated.
54621
54622 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54623
54624 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54625 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54626 conformtest.pl
54627
54628 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54629
54630 * NOTES: Remove.
54631 * Makefile (files-for-dist): Remove NOTES.
54632 (NOTES): Remove rule.
54633 * README: Don't refer to NOTES.
54634 * manual/creature.texi: Don't include macros.texi.
54635 * manual/intro.texi (creature.texi): Remove comment referring to
54636 NOTES.
54637
54638 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54639 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54640 * configure: Regenerated.
54641 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54642 LIBC_TRY_CC_OPTION.
54643 (libc_cv_as_i686): Likewise.
54644 (libc_cv_cc_avx): Likewise.
54645 (libc_cv_cc_sse2avx): Likewise.
54646 (libc_cv_cc_fma4): Likewise.
54647 (libc_cv_cc_novzeroupper): Likewise.
54648 * sysdeps/i386/configure: Regenerated.
54649
54650 [BZ #13883]
54651 * sysdeps/i386/fpu/s_cexp.S: Remove.
54652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54653 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54654 * math/libm-test.inc (cexp_test): Add more tests.
54655 * sysdeps/i386/fpu/libm-test-ulps: Update.
54656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54657
54658 2012-03-21 Allan McRae <allan@archlinux.org>
54659
54660 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54661
54662 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54663
54664 [BZ #13871]
54665 * math/w_exp2.c: Do not include <float.h>.
54666 (o_threshold, u_threshold): Remove.
54667 (__exp2): Calculate result before checking finiteness and calling
54668 __kernel_standard.
54669 * math/w_exp2f.c: Likewise.
54670 * math/w_exp2l.c: Likewise.
54671 * math/libm-test.inc (exp2_test): Require overflow exception for
54672 1e6 input.
54673
54674 [BZ #3866]
54675 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54676 range of signed 64-bit integers before using fistpll. Remove
54677 checks for whether integers fit in mantissa bits.
54678 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54679 the range of signed 32-bit integers before using fistpl. Remove
54680 checks for whether integers fit in mantissa bits.
54681 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54682 (__ieee754_powl): Test for y outside the range of signed 64-bit
54683 integers before using fistpll. Reduce 64-bit values to 63-bit
54684 ones as needed.
54685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54686 divide-by-zero is raised for zero to large negative powers.
54687 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54688 (__ieee754_powl): Test for y outside the range of signed 64-bit
54689 integers before using fistpll. Reduce 64-bit values to 63-bit
54690 ones as needed.
54691 * math/libm-test.inc (pow_test): Add more tests.
54692
54693 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54694
54695 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54696 <stdio-common/_itoa.h>.
54697 * debug/segfault.c: Likewise.
54698 * elf/dl-cache.c: Likewise.
54699 * elf/dl-minimal.c: Likewise.
54700 * elf/dl-misc.c: Likewise.
54701 * elf/dl-sysdep.c: Likewise.
54702 * elf/dl-version.c: Likewise.
54703 * elf/rtld.c: Likewise.
54704 * hurd/hurdsock.c: Likewise.
54705 * hurd/lookup-retry.c: Likewise.
54706 * malloc/malloc.c: Likewise.
54707 * malloc/mtrace.c: Likewise.
54708 * nscd/nscd_getgr_r.c: Likewise.
54709 * nscd/nscd_getpw_r.c: Likewise.
54710 * nscd/nscd_getserv_r.c: Likewise.
54711 * posix/getopt_init.c: Likewise.
54712 * posix/wordexp.c: Likewise.
54713 * stdio-common/_itoa.c: Likewise.
54714 * stdio-common/printf_fphex.c: Likewise.
54715 * stdio-common/vfprintf.c: Likewise.
54716 * string/_strerror.c: Likewise.
54717 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54718 * sysdeps/i386/i686/hp-timing.h: Likewise.
54719 * sysdeps/mach/_strerror.c: Likewise.
54720 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54721 * sysdeps/mach/hurd/sethostid.c: Likewise.
54722 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54723 * sysdeps/mach/xpg-strerror.c: Likewise.
54724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54726 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54727 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54728 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54729 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54730 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54731 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54732 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54733 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54734 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54735 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54736 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54737 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54738 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54740 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54741 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54742 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54743 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54744 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54745
54746 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54747
54748 * stdio-common/_itoa.h: Moved to ...
54749 * sysdeps/generic/_itoa.h: Here.
54750
54751 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54752
54753 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54754 instead of "_itoa.h" and "_itowa.h".
54755 * stdio-common/vfprintf.: Likewise.
54756
54757 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54758
54759 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54760 <bits/wordsize.h>.
54761 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54762 (__signbit): Likwise.
54763 (llrintf): Likwise.
54764 (llrint): Likwise.
54765
54766 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54767
54768 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54769 __WORDSIZE != 64.
54770
54771 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54772
54773 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54774 OVERFLOW_EXCEPTION_OK.
54775 * math/libm-test.inc ("Philosophy"): Update comment about
54776 exception testing.
54777 (OVERFLOW_EXCEPTION): Define.
54778 (OVERFLOW_EXCEPTION_OK): Likewise.
54779 (INVALID_EXCEPTION_OK): Renumber.
54780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54781 (IGNORE_ZERO_INF_SIGN): Likewise.
54782 (test_exceptions): Handle FE_OVERFLOW.
54783 (exp10_test): Expect overflow exceptions.
54784 (exp2_test): Likewise.
54785 (expm1_test): Likewise.
54786 (nextafter_test): Likewise.
54787 (pow_test): Likewise.
54788 (scalbn_test): Likewise.
54789 (scalbln_test): Likewise.
54790
54791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54792
54793 * sysdeps/x86_64/bits/atomic.h
54794 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54795 64bit integer.
54796 (atomic_exchange_acq): Likewise.
54797 (__arch_exchange_and_add_body): Likewise.
54798 (__arch_add_body): Likewise.
54799 (atomic_add_negative): Likewise.
54800 (atomic_add_zero): Likewise.
54801
54802 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54803
54804 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54805 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54806
54807 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54808
54809 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54810 Check __x86_64__ instead of __WORDSIZE.
54811
54812 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54813
54814 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54815
54816 2012-03-19 David S. Miller <davem@davemloft.net>
54817
54818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54819
54820 * sysdeps/sparc/fpu/fenv_private.h: New file.
54821 * sysdeps/sparc/fpu/math_private.h: Use it.
54822 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54823 Remove.
54824 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54825 (libc_feholdexcept_setroundl): Remove.
54826 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54827 Remove.
54828 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54829 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54830
54831 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54832
54833 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54834 int64_t instead of long int.
54835 (INSERT_WORDS64): Likwise.
54836
54837 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54838
54839 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54840 _Unwind_GetCFA return to _Unwind_Ptr first.
54841
54842 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54843
54844 [BZ #13629]
54845 * math/s_clog.c: Include <float.h>.
54846 (__clog): Scale large or subnormal inputs.
54847 * math/s_clogf.c: Likewise.
54848 * math/s_clogl.c: Likewise.
54849 * math/s_clog10.c: Include <float.h>.
54850 (M_LOG10_2): Define.
54851 (__clog10): Scale large or subnormal inputs.
54852 * math/s_clog10f.c: Likewise.
54853 * math/s_clog10l.c: Likewise.
54854 * math/libm-test.inc (clog_test): Add more tests.
54855 (clog10_test): Likewise.
54856 * sysdeps/i386/fpu/libm-test-ulps: Update.
54857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54858
54859 [BZ #11451]
54860 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54861 x and y.
54862 * math/libm-test.inc (atan2_test): Add another test.
54863
54864 * Makerules (common-objdir-compile): Remove.
54865 * sysdeps/unix/Makefile (config-generated): Do not add
54866 $(unix-generated) to variable.
54867 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54868 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54869 Remove rule.
54870 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54871 Likewise.
54872 [generic bits/local_lim.h] (before-compile): Do not append to
54873 variable.
54874 [generic bits/local_lim.h] (common-generated): Likewise.
54875 [generic sys/param.h] (before-compile): Do not append to variable.
54876 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54877 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54878 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54879 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54880 include.
54881 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54882 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54883 [generic sys/param.h] ($(addprefix
54884 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54885 [generic sys/param.h] (common-generated): Do not append to
54886 variable.
54887 [generic sys/param.h] (sysdep_headers): Likewise.
54888 [generic bits/errno.h] (before-compile): Do not append to
54889 variable.
54890 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54891 rule.
54892 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54893 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54894 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54895 [generic bits/errno.h] (common-generated): Do not append to
54896 variable.
54897 [generic bits/ioctls.h] (before-compile): Do not append to
54898 variable.
54899 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54900 rule.
54901 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54902 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54903 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54904 rule.
54905 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54906 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54907 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54908 [generic bits/ioctls.h] (common-generated): Do not append to
54909 variable.
54910 [generic sys/syscall.h] (syscall.h): Remove variable.
54911 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54912 rule.
54913 [generic sys/syscall.h] (before-compile): Do not append to
54914 variable.
54915 [generic sys/syscall.h] (common-generated): Likewise.
54916 * sysdeps/unix/errnos-tmpl.c: Remove file.
54917 * sysdeps/unix/errnos.awk: Likewise.
54918 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54919 * sysdeps/unix/ioctls.awk: Likewise.
54920 * sysdeps/unix/mk-local_lim.c: Likewise.
54921 * sysdeps/unix/snarf-ioctls: Likewise.
54922
54923 2012-03-19 Richard Henderson <rth@twiddle.net>
54924
54925 * sysdeps/i386/fpu/fenv_private.h: New file.
54926 * sysdeps/i386/fpu/math_private.h: Use it.
54927 (math_opt_barrier, math_force_eval): Remove.
54928 (libc_feholdexcept_setround_53bit): Remove.
54929 (libc_feupdateenv_53bit): Remove.
54930 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54931 (math_opt_barrier, math_force_eval): Remove.
54932 (libc_feholdexcept): Remove.
54933 (libc_feholdexcept_setround): Remove.
54934 (libc_fetestexcept, libc_fesetenv): Remove.
54935 (libc_feupdateenv_test): Remove.
54936 (libc_feupdateenv, libc_feholdsetround): Remove.
54937 (libc_feresetround): Remove.
54938
54939 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54940 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54941
54942 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54943 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54944 (libc_feupdateenv_testl): New.
54945 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54946 (libc_feupdateenv_testf): New.
54947 (libc_feupdateenv): Use libc_feupdateenv_test.
54948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54950
54951 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54952 (libc_feholdsetroundf, libc_feholdsetroundl): New.
54953 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54954 (libc_feresetround_noex): New.
54955 (libc_feresetround_noexf): New.
54956 (libc_feresetround_noexl): New.
54957 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54958 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54959 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54960 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54961 SET_RESTORE_ROUND.
54962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54964 (__cos): Likewise.
54965 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54966 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54967 SET_RESTORE_ROUND_NOEX.
54968 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54969 SET_RESTORE_ROUND_NOEXF.
54970 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54971 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54972 (libc_feholdsetroundf): New.
54973 (libc_feresetround, libc_feresetroundf): New.
54974
54975 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54976 (libc_feholdexcept_setround_53bit): Convert from macro to function.
54977 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54978
54979 * sysdeps/generic/math_private.h: Include <fenv.h>.
54980 (default_libc_feholdexcept): New.
54981 (default_libc_feholdexcept_setround): New.
54982 (default_libc_fesetenv, default_libc_feupdateenv): New.
54983 (libc_feholdexcept): Only define if undefined.
54984 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54985 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54986 (libc_feholdexcept_setroundl): Likewise.
54987 (libc_feholdexcept_setround_53bit): Likewise.
54988 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54989 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54990 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54991 (libc_feupdateenv_53bit): Likewise.
54992 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54993 (libc_feholdexcept): Convert from macro to inline function.
54994 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54995 (libc_fesetenv, libc_feupdateenv): Likewise.
54996
54997 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54998 not previously defined.
54999 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55000 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55001 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55002 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55003 * sysdeps/ieee754/flt-32/math_private.h: New file.
55004 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55005 math_private.h below SET_FLOAT_WORD.
55006 (__isnan, __isinf_ns, __finite): Remove.
55007 (__isnanf, __isinf_nsf, __finitef): Remove.
55008
55009 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55010
55011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55012
55013 2012-03-17 David S. Miller <davem@davemloft.net>
55014
55015 [BZ #6471]
55016 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55017 for 2.16.
55018
55019 2012-03-16 David S. Miller <davem@davemloft.net>
55020
55021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55022 warnings.
55023
55024 [BZ #6471]
55025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55026 properly.
55027 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55028 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55029 sysdep_routines when subdir is sysvipc.
55030 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55031 __getshmlba helper.
55032
55033 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55034
55035 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55036
55037 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55038 [__LP64__].
55039
55040 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55041
55042 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55043 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55044 (__lround): Renamed to ...
55045 (__llround): This. Replace long int with long long int.
55046 Define lround functions as aliases of llround functions.
55047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55048
55049 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55050
55051 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55052 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55053 adresses to uintptr_t. Replace "long int" and "unsigned long
55054 int" with "greg_t" on va_arg.
55055
55056 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55057
55058 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55059 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55060
55061 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55062 Move e_machine check before EI_CLASS check. Handle x32
55063 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55064 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55065 SKIP_EM_IA_64 and include
55066 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55067
55068 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55069 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55070 (add_system_dir): New macro.
55071
55072 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55073 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55074
55075 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55076
55077 [BZ #2551]
55078 [BZ #2552]
55079 [BZ #2553]
55080 [BZ #2554]
55081 [BZ #2562]
55082 [BZ #2563]
55083 [BZ #2565]
55084 [BZ #2566]
55085 [BZ #2576]
55086 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55087 (y0): Likewise.
55088 * math/w_j0f.c (j0f): Likewise.
55089 (y0f): Likewise.
55090 * math/w_j0l.c (__j0l): Likewise.
55091 (__y0l): Likewise.
55092 * math/w_j1.c (j1): Likewise.
55093 (y1): Likewise.
55094 * math/w_j1f.c (j1f): Likewise.
55095 (y1f): Likewise.
55096 * math/w_j1l.c (__j1l): Likewise.
55097 (__y1l): Likewise.
55098 * math/w_jn.c (jn): Likewise.
55099 (yn): Likewise.
55100 * math/w_jnf.c (jnf): Likewise.
55101 (ynf): Likewise.
55102 * math/w_jnl.c (__jnl): Likewise.
55103 (__ynl): Likewise.
55104 * math/libm-test.inc (j0_test): Add more tests.
55105 (j1_test): Likewise.
55106 (jn_test): Likewise. Add trailing semicolon to existing test.
55107 (y0_test): Likewise.
55108 (y1_test): Likewise.
55109 * sysdeps/i386/fpu/libm-test-ulps: Update.
55110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55111
55112 [BZ #13851]
55113 [BZ #13854]
55114 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55115 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55116 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55118 (__tanl): Set errno for infinite argument.
55119 * sysdeps/i386/fpu/mptan.c: Remove.
55120 * sysdeps/i386/fpu/s_tan.S: Likewise.
55121 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55122 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55123 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55124 * math/libm-test.inc (tan_test): Add more tests and enable more
55125 tests for double and long double.
55126 * sysdeps/i386/fpu/libm-test-ulps: Update.
55127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55128
55129 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55130
55131 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55132 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55133
55134 2012-03-16 Roland McGrath <roland@hack.frob.com>
55135
55136 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55137 * configure.in: Use it for both main tree and add-ons.
55138 * configure: Regenerated.
55139
55140 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55141
55142 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55143
55144 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55145
55146 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55147 in comment.
55148
55149 [BZ #13851]
55150 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55151 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55152 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55153 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55154 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55155 infinite argument.
55156 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55158 != 0 for prec == 2.
55159 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55160 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55161 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55162 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55163 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55164 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55165 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55166 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55167 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55168 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55169 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55170 * math/libm-test.inc (cos_test): Add more tests and enable more
55171 tests for long double.
55172 (sin_test): Likewise.
55173 (sincos_test): Likewise.
55174 * sysdeps/i386/fpu/libm-test-ulps: Update.
55175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55176
55177 2012-03-16 David S. Miller <davem@davemloft.net>
55178
55179 * sysdeps/sparc/fpu/math_private.h: New file.
55180
55181 2012-03-15 David S. Miller <davem@davemloft.net>
55182
55183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55184 file.
55185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55187 file.
55188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55194 sysdep routines.
55195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55196
55197 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55198 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55199
55200 * sysdeps/sparc/sparc-ifunc.h: New file.
55201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55202 sparc-ifunc.h
55203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55205 Likewise.
55206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55207 Likewise.
55208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55212 Likewise.
55213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55218 Likewise.
55219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55220 Likewise.
55221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55245
55246 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55247
55248 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55249 scaling.
55250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55251
55252 2012-03-15 Andreas Jaeger <aj@suse.de>
55253
55254 [BZ #13852]
55255 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55256 ieee754/flt-32 implementation for sin, cos and sincos.
55257 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55258 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55259 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55260 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55261 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55262 ieee754/flt-32 implementation for tan.
55263
55264 * math/libm-test.inc (cos_test): Enable some large input tests for
55265 float as well
55266 (sin_test): Likewise.
55267 (sincos_test): Likewise.
55268 (tan_test): Add tests for large input.
55269
55270 * sysdeps/i386/fpu/libm-test-ulps: Update.
55271
55272 2012-03-15 Andreas Jaeger <aj@suse.de>
55273
55274 [BZ #13658]
55275 * math/libm-test.inc (cos_test): Add more test cases.
55276 (sin_test): Likewise.
55277 (sincos_test): Likewise.
55278
55279 2012-03-15 Andreas Jaeger <aj@suse.de>
55280
55281 [BZ #13837]
55282 * math/libm-test.inc (cos_test): Add a test case for large input
55283 value.
55284 (sin_test): Likewise.
55285 (sincos_test): Likewise.
55286
55287 2012-03-15 Andreas Jaeger <aj@suse.de>
55288 Joseph Myers <joseph@codesourcery.com>
55289
55290 [BZ #13658]
55291 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55292 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55293 * sysdeps/i386/fpu/branred.c: Likewise.
55294 * sysdeps/i386/fpu/dosincos.c: Likewise.
55295 * sysdeps/i386/fpu/mpa.c: Likewise.
55296 * sysdeps/i386/fpu/s_cos.S: Likewise.
55297 * sysdeps/i386/fpu/s_sin.S: Likewise.
55298 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55299 * sysdeps/i386/fpu/sincos32.c: Likewise.
55300
55301 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55302 Define.
55303 (libc_feupdateenv_53bit): Define.
55304 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55305 Define.
55306 (libc_feupdateenv_53bit): Define.
55307
55308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55309 53 bit (without extend i386 double precision).
55310
55311 * math/libm-test.inc (sincos_test): Add tests for large input.
55312 (sin): Likewise.
55313 (cos): Likewise.
55314
55315 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55316
55317 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55318
55319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55320
55321 2012-03-15 David S. Miller <davem@davemloft.net>
55322
55323 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55324 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55325 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55326 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55339 file.
55340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55342 file.
55343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55345 file.
55346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55348 file.
55349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55351 fmin/fmax sysdep routines.
55352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55353
55354 2012-03-14 David S. Miller <davem@davemloft.net>
55355
55356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55385 routines.
55386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55387 file.
55388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55390 file.
55391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55393 file.
55394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55396 file.
55397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55399 file.
55400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55402 file.
55403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55404 file.
55405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55406 file.
55407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55408 file.
55409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55410 New file.
55411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55412 file.
55413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55414 file.
55415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55417 file.
55418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55420 file.
55421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55423 file.
55424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55426 VIS3 routines.
55427
55428 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55429 New file.
55430
55431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55432
55433 * sysdeps/sparc/configure.in: New file.
55434 * sysdeps/sparc/configure: Generate.
55435 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55436 * configure: Regenerate.
55437 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55438 * config.make.in (have-as-vis3): New.
55439 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55440 available use -Av9d instead of -Av9a.
55441 * sysdeps/sparc/sparc64/Makefile: Likewise.
55442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55444 New file.
55445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55446 file.
55447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55448 New file.
55449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55450 file.
55451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55456
55457 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55458 fzeros/fnegs to load 0x80000000 into a float register instead of
55459 using the stack.
55460 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55461
55462 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55463
55464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55465 bits/syscall.h.
55466 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55467 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55468 ($(inst_includedir)/bits/syscall.h): Remove rule.
55469 ($(objpfx)bits/syscall.d): Include instead of
55470 $(objpfx)syscall-list.d.
55471 (generated): Change syscall-list.h and syscall-list.d to
55472 bits/syscall.h and bits/syscall.d.
55473
55474 2012-03-14 Roland McGrath <roland@hack.frob.com>
55475
55476 [BZ #13846]
55477 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55478
55479 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55480
55481 [BZ #13841]
55482 * math/s_csqrt.c: Include <float.h>.
55483 (__csqrt): Scale large or subnormal inputs.
55484 * math/s_csqrtf.c: Likewise.
55485 * math/s_csqrtl.c: Likewise.
55486 * math/libm-test.inc (csqrt_test): Add more tests.
55487 * sysdeps/i386/fpu/libm-test-ulps: Update.
55488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55489
55490 [BZ #13840]
55491 * math/libm-test.inc (hypot_test): Add more tests.
55492
55493 2012-03-13 David S. Miller <davem@davemloft.net>
55494
55495 [BZ #13840]
55496 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55497 double-precision for the calculation instead of scaling.
55498
55499 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55500
55501 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55502 manipulate bits before adding and subtracting TWO52[sx].
55503 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55504 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55505 Likewise.
55506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55507
55508 2012-03-13 David S. Miller <davem@davemloft.net>
55509
55510 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55511 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55513 rtld-global-offsets.h
55514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55515
55516 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55517 large parameters.
55518
55519 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55520
55521 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55522 'err' in the ifdef scope in which it is actually used.
55523
55524 * nss/nss_db/db-init.c: Include string.h
55525
55526 2012-03-12 David S. Miller <davem@davemloft.net>
55527
55528 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55529 masking out of the most significant byte of random value used.
55530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55531 Fix coding style in previous change.
55532
55533 * sysdeps/unix/sysv/linux/kernel-features.h
55534 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55535 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55536 expression.
55537 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55538 later.
55539
55540 2012-03-11 David S. Miller <davem@davemloft.net>
55541
55542 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55543 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55544 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55545 for 'resultvar' otherwise things get truncated on 64-bit.
55546
55547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55548 Fix masking out of the most significant byte of random value used.
55549
55550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55551
55552 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55553
55554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55555
55556 2012-03-09 David S. Miller <davem@davemloft.net>
55557
55558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55559 variables with appropriate CPP guards.
55560 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55561 from the frame pointer, not the stack pointer. Correct layout
55562 comments. Fix test on resulting framesize and the management of
55563 the outregs buffer for pltexit. Preserve floating point return
55564 values across _dl_call_pltexit call.
55565 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55566 framesize and the management of the outregs buffer for pltexit.
55567 Preserve floating point return values across _dl_call_pltexit
55568 call.
55569 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55570 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55571 (la_sparc64_gnu_pltexit): New functions.
55572 (print_exit): Fix format string for return register value.
55573
55574 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55575
55576 * sunrpc/Makefile (others): Add rpcgen.
55577 ($(objpfx)rpcgen): Remove special build rule and dependency on
55578 libc.
55579 * sunrpc/rpcgen.c: New file.
55580
55581 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55582
55583 [BZ #13673]
55584 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55585 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55586 * sysdeps/i386/crti.S: Likewise.
55587 * sysdeps/i386/crtn.S: Likewise.
55588 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55589 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55590 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55591 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55592 * sysdeps/sh/crti.S: Likewise.
55593 * sysdeps/sh/crtn.S: Likewise.
55594 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55595
55596 [BZ #13673]
55597 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55598 with URL.
55599 * locale/programs/locfile-kw.gperf: Likewise.
55600 * locale/programs/charmap-kw.h: Regenerated.
55601 * locale/programs/locfile-kw.h: Likewise.
55602
55603 [BZ #13673]
55604 * intl/plural.y: Replace FSF snail mail address with URL.
55605 * intl/plural.c: Regenerated.
55606
55607 2012-03-09 Richard Henderson <rth@twiddle.net>
55608
55609 * include/math_private.h: Remove file.
55610 * math/math_private.h: Move file ...
55611 * sysdeps/generic/math_private.h: ... here.
55612
55613 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55614 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55615 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55616
55617 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55618 and <math_private.h>.
55619 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55620 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55621 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55622 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55623 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55624 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55625 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55627 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55628 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55630 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55631 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55633 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55635 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55636 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55637 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55638 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55641 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55644 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55645 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55651 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55652 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55653 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55654 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55656 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55657 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55659 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55660 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55661 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55662 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55663 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55664 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55665 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55666 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55667 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55668 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55669 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55670 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55671 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55673 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55674 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55675 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55676 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55677 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55678 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55680 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55683 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55684 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55685 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55686 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55687 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55688 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55690 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55691 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55693 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55698 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55699 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55701 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55703 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55705 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55706 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55711 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55712 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55714 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55716 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55719 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55720 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55721 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55722 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55723 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55727 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55729 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55730 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55731 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55732 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55733 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55736 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55737 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55738 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55741 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55742 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55743 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55744 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55745 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55746 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55747 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55748 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55749 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55750 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55751 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55752 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55753 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55755 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55756 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55757 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55758 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55759 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55760 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55761 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55762 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55763 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55764 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55765 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55766 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55767 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55768 * sysdeps/ieee754/k_standard.c: Likewise.
55769 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55770 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55771 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55772 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55773 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55774 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55775 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55776 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55777 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55778 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55779 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55781 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55782 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55783 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55784 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55785 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55786 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55787 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55788 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55789 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55790 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55791 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55792 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55793 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55794 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55795 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55796 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55799 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55800 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55801 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55802 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55803 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55804 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55805 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55806 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55807 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55808 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55809 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55810 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55811 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55812 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55813 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55814 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55815 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55817 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55819 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55820 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55821 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55822 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55825 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55826 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55827 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55828 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55829 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55830 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55831 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55832 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55833 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55835 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55836 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55841 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55842 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55843 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55845 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55846 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55847 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55848 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55849 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55850 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55851 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55852 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55854 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55855 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55856 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55857 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55862 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55864 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55865 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55866 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55867 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55868 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55873 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55876 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55877 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55878 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55880 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55881 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55883 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55884 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55885 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55887 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55888 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55890 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55892 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55894 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55895 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55896 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55897 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55898 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55899 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55900 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55901 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55902 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55903 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55904 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55905 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55906 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55907 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55908 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55909 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55910 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55911 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55912 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55914 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55915 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55916 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55917 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55918 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55919 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55920 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55923 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55924 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55925 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55926 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55927 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55928 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55929 * sysdeps/ieee754/s_lib_version.c: Likewise.
55930 * sysdeps/ieee754/s_matherr.c: Likewise.
55931 * sysdeps/ieee754/s_signgam.c: Likewise.
55932 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55934 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55935 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55936 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55937 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55938 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55939 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55940 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55941 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55942 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55943 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55944 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55945 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55946 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55947 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55948 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55949 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55950 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55951 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55953
55954 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55955
55956 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55957 * sunrpc/rpc_main.c: Likewise.
55958 * sunrpc/rpc_svcout.c: Likewise.
55959
55960 2012-03-09 David S. Miller <davem@davemloft.net>
55961
55962 * include/math_private.h: New file.
55963
55964 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55965
55966 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55967 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55968 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55969 from <bits/socket_type.h>.
55970 (enum __socket_type): Don't define here.
55971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55973 bits/socket_type.h.
55974
55975 [BZ #13566]
55976 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55977 checking __USE_GNU.
55978
55979 * Makerules ($(inst_includedir)/%.h): New rule.
55980 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55981 (install-others): Remove variable setting.
55982 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55983
55984 2012-03-08 Richard Henderson <rth@twiddle.net>
55985
55986 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55987 from macro to inline function; merge with the
55988 !__LIBC_INTERNAL_MATH_INLINES version.
55989 (__ieee754_sqrtf): Likewise.
55990
55991 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55992 to inline function.
55993 (__rintf, __floor, __floorf): Likewise.
55994
55995 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55996 macro to inline function.
55997 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55998
55999 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56000 not <math/math_private.h>.
56001
56002 2012-03-08 David S. Miller <davem@davemloft.net>
56003
56004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56005 copyright year.
56006 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56007
56008 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56009
56010 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56011 normalization.
56012 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56013 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56014
56015 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56016
56017 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56018 be defined individually, they must be defined as a block. Define
56019 S for printing a string instead of hidint the different by using a
56020 macro for adding the 'l'.
56021 * stdio-common/tst-fphex-wide.c: Adjust.
56022
56023 2012-03-07 Marek Polacek <polacek@redhat.com>
56024
56025 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56026
56027 2012-03-08 Marek Polacek <polacek@redhat.com>
56028
56029 [BZ #13806]
56030 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56031 * stdio-common/tst-fphex.c: Define a few macros to make the
56032 test reusable. Use them.
56033 * stdio-common/tst-fphex-wide.c: New file.
56034
56035 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56036
56037 [BZ #6911]
56038 * manual/macros.texi (gnusystems): New macro.
56039 (nongnusystems): Likewise.
56040 (gnulinuxhurdsystems): Likewise.
56041 (gnuhurdsystems): Likewise..
56042 (gnulinuxsystems): Likewise.
56043 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56044 variants of the GNU system, not "GNU system".
56045 * manual/conf.texi: Likewise.
56046 * manual/errno.texi: Likewise. Update example of errno macro
56047 expansion.
56048 * manual/filesys.texi: Likewise.
56049 (getumask): Document as specific to GNU/Hurd.
56050 * manual/install.texi: Likewise. Reword some references to
56051 GNU/Linux.
56052 * manual/intro.texi: Likewise.
56053 * manual/io.texi: Likewise.
56054 (File Name Portability): Detail which constraints are inapplicable
56055 to all GNU systems and which are only inapplicable to GNU/Hurd.
56056 * manual/job.texi: Likewise.
56057 * manual/llio.texi: Likewise.
56058 (O_NOCTTY): Document as present on GNU/Linux.
56059 * manual/maint.texi: Likewise.
56060 * manual/memory.texi: Likewise.
56061 * manual/pattern.texi: Likewise.
56062 * manual/pipe.texi: Likewise.
56063 * manual/process.texi: Likewise.
56064 * manual/resource.texi: Likewise.
56065 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56066 child on GNU/Hurd.
56067 * manual/setjmp.texi: Likewise.
56068 * manual/signal.texi: Likewise.
56069 * manual/startup.texi: Likewise.
56070 * manual/stdio.texi: Likewise.
56071 * manual/terminal.texi: Likewise.
56072 (ONLCR): Document as POSIX.
56073 (OXTABS): Document availability on GNU/Linux as XTABS.
56074 (ONOEOT): Document availability separately from other bits.
56075 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56076 * manual/time.texi: Likewise.
56077 * manual/users.texi: Likewise.
56078 * INSTALL: Regenerated.
56079 * sysdeps/gnu/errlist.c: Regenerated.
56080
56081 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56082 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56083 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56084 puts.
56085 * configure: Regenerated.
56086
56087 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56088
56089 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56090 default includes instead of AC_HEADER_CHECK.
56091 * sysdeps/i386/configure: Regenerated.
56092
56093 [BZ #10716]
56094 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56095 * math/s_cacoshf.c (__cacoshf): Likewise.
56096 * math/s_cacoshl.c (__cacoshl): Likewise.
56097 * math/s_casinh.c (__casinh): Set signs of result from argument.
56098 * math/s_casinhf.c (__casinhf): Likewise.
56099 * math/s_casinhl.c (__casinhl): Likewise.
56100 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56101 (casinh_test): Add more tests.
56102 * sysdeps/i386/fpu/libm-test-ulps: Update.
56103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56104
56105 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56106
56107 * po/zh_TW.po: Update from translation team.
56108
56109 * login/Makefile (distribute): Remove variable.
56110 * catgets/Makefile: Likewise.
56111 * mach/Makefile: Likewise.
56112 * malloc/Makefile: Likewise.
56113 * misc/Makefile: Likewise.
56114 * iconv/Makefile: Likewise.
56115 * nscd/Makefile: Likewise.
56116 * hurd/Makefile: Likewise.
56117 * manual/Makefile: Likewise.
56118 * locale/Makefile: Likewise.
56119 * intl/Makefile: Likewise.
56120 * conform/Makefile: Likewise.
56121 * nss/Makefile: Likewise.
56122 * time/Makefile: Likewise.
56123 * soft-fp/Makefile: Likewise.
56124 * dirent/Makefile: Likewise.
56125 * gmon/Makefile: Likewise.
56126 * po/Makefile: Likewise.
56127 * rt/Makefile: Likewise.
56128 * socket/Makefile: Likewise.
56129 * math/Makefile: Likewise.
56130 * signal/Makefile: Likewise.
56131 * debug/Makefile: Likewise.
56132 * elf/Makefile: Likewise.
56133 * timezone/Makefile: Likewise.
56134 * stdlib/Makefile: Likewise.
56135 * iconvdata/Makefile: Likewise.
56136 * sunrpc/Makefile: Likewise.
56137 * io/Makefile: Likewise.
56138 * argp/Makefile: Likewise.
56139 * inet/Makefile: Likewise.
56140 * hesiod/Makefile: Likewise.
56141 * grp/Makefile: Likewise.
56142 * csu/Makefile: Likewise.
56143 * wctype/Makefile: Likewise.
56144 * crypt/Makefile: Likewise.
56145 * libio/Makefile: Likewise.
56146 * string/Makefile: Likewise.
56147 * nis/Makefile: Likewise.
56148 * resolv/Makefile: Likewise.
56149 * stdio-common/Makefile: Likewise.
56150 * wcsmbs/Makefile: Likewise.
56151 * dlfcn/Makefile: Likewise.
56152 * posix/Makefile: Likewise.
56153
56154 [BZ #6959]
56155 * timezone/Makefile: Don't install timezone files, just the programs
56156 and scripts.
56157
56158 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56159
56160 * nss/databases.def: Add missing gshadow entry.
56161
56162 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56163
56164 2012-03-06 Marek Polacek <polacek@redhat.com>
56165
56166 [BZ #13726]
56167 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56168 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56169 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56170 * stdio-common/tst-long-dbl-fphex.c: New file.
56171
56172 2012-03-06 David S. Miller <davem@davemloft.net>
56173
56174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56175 (set_obp_int): New function.
56176 (get_obp_int): New function.
56177 (__get_clockfreq_via_dev_openprom): Likewise.
56178 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56179 Avoid unused variable warnings on 'val' and use builtin_expect.
56180 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56181 __builtin_expect.
56182 (INLINE_CLONE_SYSCALL): Likewise.
56183
56184 2012-03-05 David S. Miller <davem@davemloft.net>
56185
56186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56187
56188 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56189
56190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56191
56192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56193 only for |x| >= 40.
56194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56195
56196 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56197
56198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56199 Replace gettimeofday with __vdso_gettimeofday.
56200
56201 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56202 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56203 __vdso_clock_gettime and __vdso_getcpu.
56204
56205 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56206 time with __vdso_time.
56207
56208 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56209
56210 * manual/lang.texi (size_t): Note types to which size_t may be
56211 equivalent with the GNU C Library, but do not describe when
56212 differences between them are significant.
56213
56214 2012-03-05 Andreas Jaeger <aj@suse.de>
56215
56216 * sysdeps/i386/fpu/libm-test-ulps: Update.
56217
56218 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56219
56220 [BZ #3976]
56221 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56222 (__ieee754_pow): Save and restore rounding mode and use
56223 round-to-nearest for main computations.
56224 * math/libm-test.inc (pow_test_tonearest): New function.
56225 (pow_test_towardzero): Likewise.
56226 (pow_test_downward): Likewise.
56227 (pow_test_upward): Likewise.
56228 (main): Call the new functions.
56229 * sysdeps/i386/fpu/libm-test-ulps: Update.
56230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56231
56232 [BZ #3976]
56233 * math/libm-test.inc (cosh_test_tonearest): New function.
56234 (cosh_test_towardzero): Likewise.
56235 (cosh_test_downward): Likewise.
56236 (cosh_test_upward): Likewise.
56237 (sinh_test_tonearest): Likewise.
56238 (sinh_test_towardzero): Likewise.
56239 (sinh_test_downward): Likewise.
56240 (sinh_test_upward): Likewise.
56241 (main): Call the new functions.
56242 * sysdeps/i386/fpu/libm-test-ulps: Update.
56243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56244
56245 2012-03-05 Tom de Vries <tom@codesourcery.com>
56246
56247 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56248 default stack guard is set in last bytes.
56249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56250
56251 2012-03-05 Kees Cook <keescook@chromium.org>
56252
56253 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56254
56255 [BZ #13656]
56256 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56257 possibly allocate from heap instead of stack.
56258 * stdio-common/bug-vfprintf-nargs.c: New file.
56259 * stdio-common/Makefile (tests): Add nargs overflow test.
56260
56261 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56262
56263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56264
56265 2012-03-03 Marek Polacek <polacek@redhat.com>
56266
56267 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56268 * math/math_private.h: Likewise.
56269 * stdlib/tst-strtod.c: Likewise.
56270 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56271 * sysdeps/x86_64/bits/atomic.h: Likewise.
56272
56273 2012-03-02 David S. Miller <davem@davemloft.net>
56274
56275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56279 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56280 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56281 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56282 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56283
56284 2012-03-02 Roland McGrath <roland@hack.frob.com>
56285
56286 [BZ #13792]
56287 * manual/examples/README: New file, says the example source files
56288 can be used under GPL>=2.
56289 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56290 line containing just "*/".
56291 * manual/examples/add.c: Add copyright header (GPL>=2).
56292 * manual/examples/argp-ex1.c: Likewise.
56293 * manual/examples/argp-ex2.c: Likewise.
56294 * manual/examples/argp-ex3.c: Likewise.
56295 * manual/examples/argp-ex4.c: Likewise.
56296 * manual/examples/atexit.c: Likewise.
56297 * manual/examples/db.c: Likewise.
56298 * manual/examples/dir.c: Likewise.
56299 * manual/examples/dir2.c: Likewise.
56300 * manual/examples/execinfo.c: Likewise.
56301 * manual/examples/filecli.c: Likewise.
56302 * manual/examples/filesrv.c: Likewise.
56303 * manual/examples/fmtmsgexpl.c: Likewise.
56304 * manual/examples/genpass.c: Likewise.
56305 * manual/examples/inetcli.c: Likewise.
56306 * manual/examples/inetsrv.c: Likewise.
56307 * manual/examples/isockad.c: Likewise.
56308 * manual/examples/longopt.c: Likewise.
56309 * manual/examples/memopen.c: Likewise.
56310 * manual/examples/memstrm.c: Likewise.
56311 * manual/examples/mkfsock.c: Likewise.
56312 * manual/examples/mkisock.c: Likewise.
56313 * manual/examples/mygetpass.c: Likewise.
56314 * manual/examples/pipe.c: Likewise.
56315 * manual/examples/popen.c: Likewise.
56316 * manual/examples/rprintf.c: Likewise.
56317 * manual/examples/search.c: Likewise.
56318 * manual/examples/select.c: Likewise.
56319 * manual/examples/setjmp.c: Likewise.
56320 * manual/examples/sigh1.c: Likewise.
56321 * manual/examples/sigusr.c: Likewise.
56322 * manual/examples/stpcpy.c: Likewise.
56323 * manual/examples/strdupa.c: Likewise.
56324 * manual/examples/strftim.c: Likewise.
56325 * manual/examples/strncat.c: Likewise.
56326 * manual/examples/subopt.c: Likewise.
56327 * manual/examples/swapcontext.c: Likewise.
56328 * manual/examples/termios.c: Likewise.
56329 * manual/examples/testopt.c: Likewise.
56330 * manual/examples/testpass.c: Likewise.
56331 * manual/examples/timeval_subtract.c: Likewise.
56332
56333 [BZ #13792]
56334 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56335 function to ...
56336 * manual/timeval_subtract.c.texi: ... here, new file.
56337
56338 2012-03-02 David S. Miller <davem@davemloft.net>
56339
56340 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56341
56342 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56343
56344 [BZ #3976]
56345 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56346 (__sin): Save and restore rounding mode and use round-to-nearest
56347 for all computations.
56348 (__cos): Save and restore rounding mode and use round-to-nearest
56349 for all computations.
56350 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56351 <fenv.h>.
56352 (tan): Save and restore rounding mode and use round-to-nearest for
56353 all computations.
56354 * math/libm-test.inc (cos_test_tonearest): New function.
56355 (cos_test_towardzero): Likewise.
56356 (cos_test_downward): Likewise.
56357 (cos_test_upward): Likewise.
56358 (sin_test_tonearest): Likewise.
56359 (sin_test_towardzero): Likewise.
56360 (sin_test_downward): Likewise.
56361 (sin_test_upward): Likewise.
56362 (tan_test_tonearest): Likewise.
56363 (tan_test_towardzero): Likewise.
56364 (tan_test_downward): Likewise.
56365 (tan_test_upward): Likewise.
56366 (main): Call the new functions.
56367 * sysdeps/i386/fpu/libm-test-ulps: Update.
56368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56369
56370 [BZ #10135]
56371 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56372 small n, then large n, before computing and testing k+n.
56373 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56375 Likewise.
56376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56377 Likewise.
56378 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56379 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56380 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56381 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56382 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56383 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56386 * math/libm-test.inc (scalbn_test): Add more tests.
56387 (scalbln_test): Likewise.
56388
56389 * manual/filesys.texi (mode_t): Describe constraints on size and
56390 signedness, not exact equivalence to a particular type.
56391 (ino_t): Likewise.
56392 (ino64_t): Likewise.
56393 (dev_t): Likewise.
56394 (nlink_t): Likewise.
56395 (blkcnt_t): Likewise.
56396 (blkcnt64_t): Likewise.
56397 * manual/llio.texi (off_t): Likewise.
56398
56399 [BZ #3976]
56400 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56401 (__ieee754_exp): Save and restore rounding mode and use
56402 round-to-nearest for all computations.
56403 * math/libm-test.inc (exp_test_tonearest): New function.
56404 (exp_test_towardzero): Likewise.
56405 (exp_test_downward): Likewise.
56406 (exp_test_upward): Likewise.
56407 (main): Call the new functions.
56408 * sysdeps/i386/fpu/libm-test-ulps: Update.
56409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56410
56411 2012-03-01 Chris Demetriou <cgd@google.com>
56412
56413 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56414 have predictable order.
56415
56416 2012-03-01 David S. Miller <davem@davemloft.net>
56417
56418 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56419
56420 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56421 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56422 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56423 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56424
56425 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56426 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56427 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56429 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56430 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56431 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56432 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56433 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56434
56435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56436
56437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56438 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56439 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56440
56441 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56442 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56443 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56444 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56445 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56448 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56449 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56450 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56451 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56452 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56454 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56455 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56457 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56458 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56459 * sysdeps/sparc/elf/configure: Regenerated.
56460
56461 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56462
56463 * configure.in (AS, LD): Require binutils 2.20 or later.
56464 * configure: Regenerated.
56465 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56466 as required minimum version.
56467 * INSTALL: Regenerated.
56468
56469 [BZ #2541]
56470 [BZ #4108]
56471 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56472 before squaring exponent.
56473 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56474 bottom long double and 27 bits of top long double before squaring
56475 exponent.
56476 * math/libm-test.inc (erfc_test): Add more tests.
56477 * sysdeps/i386/fpu/libm-test-ulps: Update.
56478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56480
56481 2012-03-01 Kai Tietz <ktietz@redhat.com>
56482
56483 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56484 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56485 containing bit-fields.
56486 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56487 * soft-fp/single.h (_FP_UNION_S): Likewise.
56488 * soft-fp/double.h (_FP_UNION_D): Likewise.
56489
56490 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56491
56492 [BZ #13786]
56493 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56494 not include ../strcmp.S.
56495 [USE_AS_STRNCASECMP_L]: Likewise.
56496 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56497 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56498 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56499 (__strncasecmp_l_ia32): Define as alias to
56500 __strncasecmp_l_nonascii.
56501
56502 [BZ #5794]
56503 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56504 * sysdeps/i386/fpu/libm-test-ulps: Update.
56505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56506
56507 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56509
56510 2012-02-29 Jeff Law <law@redhat.com>
56511
56512 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56513 out of bounds read.
56514
56515 2012-02-29 Marek Polacek <polacek@redhat.com>
56516
56517 [BZ #13706]
56518 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56519 * elf/Makefile: Add rules to run tst-unused-dep.out.
56520
56521 2012-02-28 David S. Miller <davem@davemloft.net>
56522
56523 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56524 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56525 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56527 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56528 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56529
56530 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56531
56532 * math/libm-test.inc (llround_test): Move one test from
56533 lround_test. Use TEST_f_L in moved test.
56534 (lround_test): Move misplaced test to llround_test. Add testcase
56535 from bug 2561.
56536
56537 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56538
56539 * sysdeps/x86_64/fpu/e_expf.S: New file.
56540 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56541
56542 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56543
56544 [BZ #13637]
56545 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56546 of remain_len that may cause incomplete multi-byte character and
56547 false match.
56548 * posix/bug-regex33.c: New file.
56549 * posix/Makefile (tests): Add bug-regex33.
56550
56551 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56552
56553 * manual/macros.texi: New file.
56554 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56555 * manual/libc.texinfo: Include macros.texi.
56556 * manual/creatute.texi: Likewise.
56557 * manual/install.texi: Likewise.
56558 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56559 @glibcadj{} in references to the GNU C Library.
56560 * manual/charset.texi: Likewise.
56561 * manual/conf.texi: Likewise.
56562 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56563 when not using those macros.
56564 * manual/creature.texi: Likewise.
56565 * manual/crypt.texi: Likewise.
56566 * manual/errno.texi: Likewise.
56567 * manual/filesys.texi: Likewise.
56568 * manual/header.texi: Likewise.
56569 * manual/install.texi: Likewise.
56570 * manual/intro.texi: Likewise.
56571 * manual/io.texi: Likewise.
56572 * manual/job.texi: Likewise.
56573 * manual/lang.texi: Likewise.
56574 * manual/libc.texiinfo: Likewise.
56575 * manual/llio.texi: Likewise.
56576 * manual/locale.texi: Likewise.
56577 * manual/maint.texi: Likewise.
56578 * manual/math.texi: Likewise.
56579 * manual/memory.texi: Likewise.
56580 * manual/message.texi: Likewise.
56581 * manual/nss.texi: Likewise.
56582 * manual/pattern.texi: Likewise.
56583 * manual/process.texi: Likewise.
56584 * manual/resource.texi: Likewise.
56585 * manual/search.texi: Likewise.
56586 * manual/setjmp.texi: Likewise.
56587 * manual/signal.texi: Likewise.
56588 * manual/socket.texi: Likewise.
56589 * manual/startup.texi: Likewise.
56590 * manual/stdio.texi: Likewise.
56591 * manual/string.texi: Likewise.
56592 * manual/sysinfo.texi: Likewise.
56593 * manual/syslog.texi: Likewise.
56594 * manual/terminal.texi: Likewise.
56595 * manual/time.texi: Likewise.
56596 * manual/users.texi: Likewise.
56597 * INSTALL: Regenerated.
56598 * NOTES: Regenerated.
56599 * sysdeps/gnu/errlist.c: Regenerated.
56600
56601 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56602
56603 * include/dirent.h: Include <dirstream.h> before
56604 <dirent/dirent.h>.
56605
56606 2012-02-28 David S. Miller <davem@davemloft.net>
56607
56608 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56609 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56610 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56611 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56612
56613 2012-02-27 David S. Miller <davem@davemloft.net>
56614
56615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56617 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56618 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56619
56620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56621 frame pointer instead of stack pointer relative arg slot.
56622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56623 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56624 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56625
56626 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56627
56628 [BZ #3992]
56629 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56630
56631 2012-02-27 David S. Miller <davem@davemloft.net>
56632
56633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56637 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56638 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56639 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56640 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56641
56642 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56643
56644 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56645 later. Allow versions 5-9.
56646 * configure: Regenerated.
56647 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56648 required minimum version and 4.6 as recommended version. Do not
56649 mention bugs in GCC 2.7 and 2.8.
56650 * INSTALL: Regenerated.
56651
56652 2012-02-27 David S. Miller <davem@davemloft.net>
56653
56654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56658 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56659 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56660 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56661 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56662
56663 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56664 manipulate bits before adding and subtracting TWO112[sx].
56665 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56666
56667 2012-02-27 Roland McGrath <roland@hack.frob.com>
56668
56669 [BZ #13775]
56670 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56671 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56672 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56673 being in POSIX, because they are in 1003.1-2008.
56674
56675 * rt/tst-aio.c: Include <fcntl.h>.
56676 * rt/tst-aio7.c: Likewise.
56677 * rt/tst-aio64.c: Likewise.
56678
56679 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56680
56681 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56682
56683 * manual/install.texi (--with-headers): Describe headers as
56684 interface headers, not private headers.
56685 (Specific advice for GNU/Linux systems): Describe use of headers
56686 from "make headers_install", not private headers from older
56687 kernels.
56688 * INSTALL: Regenerated.
56689 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56690 Change to 2.6.19.
56691 * sysdeps/unix/sysv/linux/configure: Regenerated.
56692
56693 * manual/llio.texi (fclean): Remove documentation.
56694
56695 * manual/Makefile (libc-texi-generated): New variable. Include
56696 version.texi.
56697 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56698 $(libc-texi-generated), not duplicated list of files.
56699 (version.texi, stamp-version): New rules.
56700 (realclean): Remove $(libc-texi-generated), not individual files
56701 from that list. Do not remove dir-add.texinfo.
56702 * manual/libc.texinfo: Comment out uses of edition numbers and
56703 references to printed manual. Remove last-updated dates.
56704 (EDITION): Comment out.
56705 (ISBN): Likewise.
56706 (VERSION, UPDATED): Remove.
56707 (version.texi): Include.
56708
56709 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56710
56711 * sysdeps/posix/spawni.c: Include <signal.h>.
56712 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56713 * sysdeps/pthread/aio_fsync.c: Likewise.
56714
56715 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56716
56717 * conform/Makefile (tests): Run only when not cross-compiling and
56718 when fast-check is not defined.
56719
56720 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56721 * conform/data/limits.h-data: Fixes for POSIX2008.
56722 * conform/run-conformtest.sh: Run all tests.
56723 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56724 headers.
56725 * include/bits/dlfcn.h: Likewise.
56726 * include/langinfo.h: Likewise.
56727 * include/monetary.h: Likewise.
56728 * include/sys/poll.h: Likewise.
56729
56730 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56731 for __USE_GNU.
56732 * posix/spawn.h: Define __need_sigset_t.
56733 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56734 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56735 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56736 to get sigevent_t only.
56737 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56738 only for __USE_GNU.
56739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56740 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56741 process_vm_writev only for __USE_GNU.
56742 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56743
56744 * conform/Makefile: For now ignore errors from run-conformtest.
56745 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56746 POSIX to avoid namespace pollution. Don't prepend headers.
56747 * conform/data/aio.h-data: Fixes for POSIX testing.
56748 * conform/data/fcntl.h-data: Likewise.
56749 * conform/data/glob.h-data: Likewise.
56750 * conform/data/grp.h-data: Likewise.
56751 * conform/data/pthread.h-data: Likewise.
56752 * conform/data/pwd.h-data: Likewise.
56753 * conform/data/signal.h-data: Likewise.
56754 * conform/data/spawn.h-data: Likewise.
56755 * conform/data/stdio.h-data: Likewise.
56756 * conform/data/stdlib.h-data: Likewise.
56757 * conform/data/stropts.h-data: Likewise.
56758 * conform/data/sys/mman.h-data: Likewise.
56759 * conform/data/sys/stat.h-data: Likewise.
56760 * conform/data/sys/types.h-data: Likewise.
56761 * conform/data/sys/wait.h-data: Likewise.
56762 * conform/data/time.h-data: Likewise.
56763 * conform/data/unistd.h-data: Likewise.
56764 * conform/data/utime.h-data: Likewise.
56765
56766 * io/sys/stat.h: fchmod was always in POSIX.
56767 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56768 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56769 * rt/aio.h: Define __need_timespec before including <time.h>.
56770 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56771 struct. Add forward declaration of pthread_attr_t and use it in
56772 sigevent.
56773 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56774 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56775 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56776 always remove CLK_TCK definition.
56777
56778 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56779
56780 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56781
56782 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56783
56784 * conform/run-conformtest.sh: New file.
56785 * conform/Makefile: Run run-conformtest for tests.
56786 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56787 support.
56788
56789 * conform/data/uchar.h-data: New file.
56790 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56791 * conform/data/arpa/inet.h-data: Likewise.
56792 * conform/data/assert.h-data: Likewise.
56793 * conform/data/complex.h-data: Likewise.
56794 * conform/data/cpio.h-data: Likewise.
56795 * conform/data/ctype.h-data: Likewise.
56796 * conform/data/dirent.h-data: Likewise.
56797 * conform/data/dlfcn.h-data: Likewise.
56798 * conform/data/errno.h-data: Likewise.
56799 * conform/data/fcntl.h-data: Likewise.
56800 * conform/data/float.h-data: Likewise.
56801 * conform/data/fmtmsg.h-data: Likewise.
56802 * conform/data/fnmatch.h-data: Likewise.
56803 * conform/data/ftw.h-data: Likewise.
56804 * conform/data/glob.h-data: Likewise.
56805 * conform/data/grp.h-data: Likewise.
56806 * conform/data/iconv.h-data: Likewise.
56807 * conform/data/inttypes.h-data: Likewise.
56808 * conform/data/langinfo.h-data: Likewise.
56809 * conform/data/libgen.h-data: Likewise.
56810 * conform/data/limits.h-data: Likewise.
56811 * conform/data/locale.h-data: Likewise.
56812 * conform/data/math.h-data: Likewise.
56813 * conform/data/monetary.h-data: Likewise.
56814 * conform/data/mqueue.h-data: Likewise.
56815 * conform/data/ndbm.h-data: Likewise.
56816 * conform/data/net/if.h-data: Likewise.
56817 * conform/data/netdb.h-data: Likewise.
56818 * conform/data/netinet/in.h-data: Likewise.
56819 * conform/data/nl_types.h-data: Likewise.
56820 * conform/data/poll.h-data: Likewise.
56821 * conform/data/pthread.h-data: Likewise.
56822 * conform/data/pwd.h-data: Likewise.
56823 * conform/data/regex.h-data: Likewise.
56824 * conform/data/sched.h-data: Likewise.
56825 * conform/data/search.h-data: Likewise.
56826 * conform/data/semaphore.h-data: Likewise.
56827 * conform/data/setjmp.h-data: Likewise.
56828 * conform/data/signal.h-data: Likewise.
56829 * conform/data/spawn.h-data: Likewise.
56830 * conform/data/stdarg.h-data: Likewise.
56831 * conform/data/stdio.h-data: Likewise.
56832 * conform/data/stdlib.h-data: Likewise.
56833 * conform/data/string.h-data: Likewise.
56834 * conform/data/strings.h-data: Likewise.
56835 * conform/data/stropts.h-data: Likewise.
56836 * conform/data/sys/ipc.h-data: Likewise.
56837 * conform/data/sys/mman.h-data: Likewise.
56838 * conform/data/sys/msg.h-data: Likewise.
56839 * conform/data/sys/resource.h-data: Likewise.
56840 * conform/data/sys/select.h-data: Likewise.
56841 * conform/data/sys/sem.h-data: Likewise.
56842 * conform/data/sys/shm.h-data: Likewise.
56843 * conform/data/sys/socket.h-data: Likewise.
56844 * conform/data/sys/stat.h-data: Likewise.
56845 * conform/data/sys/statvfs.h-data: Likewise.
56846 * conform/data/sys/time.h-data: Likewise.
56847 * conform/data/sys/timeb.h-data: Likewise.
56848 * conform/data/sys/times.h-data: Likewise.
56849 * conform/data/sys/types.h-data: Likewise.
56850 * conform/data/sys/uio.h-data: Likewise.
56851 * conform/data/sys/un.h-data: Likewise.
56852 * conform/data/sys/utsname.h-data: Likewise.
56853 * conform/data/sys/wait.h-data: Likewise.
56854 * conform/data/syslog.h-data: Likewise.
56855 * conform/data/tar.h-data: Likewise.
56856 * conform/data/termios.h-data: Likewise.
56857 * conform/data/utime.h-data: Likewise.
56858 * conform/data/utmpx.h-data: Likewise.
56859 * conform/data/varargs.h-data: Likewise.
56860 * conform/data/wchar.h-data: Likewise.
56861 * conform/data/wctype.h-data: Likewise.
56862 * conform/data/wordexp.h-data: Likewise.
56863
56864 * include/stropts.h: New file.
56865 * include/uchar.h: New file.
56866 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56867 * include/assert.h: Likewise.
56868 * include/ctype.h: Likewise.
56869 * include/dirent.h: Likewise.
56870 * include/dlfcn.h: Likewise.
56871 * include/fcntl.h: Likewise.
56872 * include/fnmatch.h: Likewise.
56873 * include/glob.h: Likewise.
56874 * include/grp.h: Likewise.
56875 * include/libio.h: Likewise.
56876 * include/locale.h: Likewise.
56877 * include/math.h: Likewise.
56878 * include/net/if.h: Likewise.
56879 * include/netdb.h: Likewise.
56880 * include/netinet/in.h: Likewise.
56881 * include/pthread.h: Likewise.
56882 * include/pwd.h: Likewise.
56883 * include/regex.h: Likewise.
56884 * include/sched.h: Likewise.
56885 * include/search.h: Likewise.
56886 * include/setjmp.h: Likewise.
56887 * include/signal.h: Likewise.
56888 * include/stdio.h: Likewise.
56889 * include/stdlib.h: Likewise.
56890 * include/string.h: Likewise.
56891 * include/sys/cdefs.h: Likewise.
56892 * include/sys/mman.h: Likewise.
56893 * include/sys/msg.h: Likewise.
56894 * include/sys/resource.h: Likewise.
56895 * include/sys/select.h: Likewise.
56896 * include/sys/socket.h: Likewise.
56897 * include/sys/stat.h: Likewise.
56898 * include/sys/statvfs.h: Likewise.
56899 * include/sys/time.h: Likewise.
56900 * include/sys/times.h: Likewise.
56901 * include/sys/uio.h: Likewise.
56902 * include/sys/utsname.h: Likewise.
56903 * include/sys/wait.h: Likewise.
56904 * include/termios.h: Likewise.
56905 * include/time.h: Likewise.
56906 * include/ulimit.h: Likewise.
56907 * include/unistd.h: Likewise.
56908 * include/utime.h: Likewise.
56909 * include/wchar.h: Likewise.
56910 * include/wctype.h: Likewise.
56911 * include/wordexp.h: Likewise.
56912
56913 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56914
56915 * time/time.h: TIME_UTC must be a macro.
56916 Make timespec_get available for ISO C11 only as well.
56917
56918 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56919
56920 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56921 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56922
56923 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56924
56925 * configure.in: Use -o not -a in test for unsupported multi-arch.
56926
56927 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56928
56929 * manual/texinfo.tex: Update to version 2012-01-19.16.
56930
56931 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56932
56933 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56934
56935 2012-02-24 Roland McGrath <roland@hack.frob.com>
56936
56937 [BZ #13738]
56938 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56939 * manual/fdl-1.3.texi: New file.
56940 * manual/fdl-1.1.texi: File removed.
56941
56942 [BZ #13738]
56943 * manual/libc.texinfo (FDL_VERSION): New @set.
56944 Use it for mention of FDL in cover text.
56945 (Documentation License): Use it in @include file name.
56946
56947 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56948 Roland McGrath <roland@hack.frob.com>
56949
56950 [BZ #5461]
56951 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56952 (not LONG_LONG_MAX and LONG_LONG_MIN.
56953 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56954 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
56955 name.
56956 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56957
56958 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56959
56960 [BZ #2547]
56961 [BZ #11365]
56962 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56963 manipulate bits before adding and subtracting TWO23[sx].
56964 * math/libm-test.inc (nearbyint_test): Add more tests.
56965
56966 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56967
56968 [BZ #2548]
56969 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56970 bits before adding and subtracting TWO23[sx].
56971 * math/libm-test.inc (rint_test): Add more tests.
56972 (rint_test_tonearest): Likewise.
56973 (rint_test_towardzero): Likewise.
56974 (rint_test_downward): Likewise.
56975 (rint_test_upward: Likewise.
56976
56977 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56978
56979 [BZ #10110]
56980 * include/stdc-predef.h: New file. Extracted from features.h.
56981 * include/features.h: Include stdc-predef.h.
56982 * Makefile (headers): Add stdc-predef.h.
56983 * CONFORMANCE (Compiler limitations): Update.
56984
56985 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56986
56987 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56988
56989 2012-02-21 David S. Miller <davem@davemloft.net>
56990
56991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56992 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56993
56994 2012-02-20 David S. Miller <davem@davemloft.net>
56995
56996 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56997 using a normal save/restore sequence, rather than allocating a
56998 dummy stack frame just to store a frame pointer and restore.
56999 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57000
57001 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57002
57003 * manual/install.texi: Fix stray word in line-wrapped comment.
57004
57005 2012-02-20 David S. Miller <davem@davemloft.net>
57006
57007 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57008 both binutils and gcc support GOTDATA.
57009
57010 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57011 "rd %pc" in the PIC register setup sequences.
57012
57013 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57014 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57015 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57016 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57017 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57020 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57022 (SYSCALL_ERROR_HANDLER): Likewise.
57023 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57024 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57026 (SYSCALL_ERROR_HANDLER): Likewise.
57027
57028 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57029 (HAVE_GCC_GOTDATA): New.
57030 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57031 relocation support in both binutils and gcc.
57032 * sysdeps/sparc/elf/configure: Regenerate.
57033
57034 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57035 * sysdeps/sparc/sparc32/elf/configure: Delete.
57036 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57037 * sysdeps/sparc/sparc64/elf/configure: Delete.
57038 * sysdeps/sparc/elf/configure.in: New file.
57039 * sysdeps/sparc/elf/configure: Generate.
57040
57041 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57042 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57043 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57044 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57045 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57046
57047 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57048
57049 * manual/install.texi: Do not mention specific glibc version
57050 numbers.
57051 * manual/libc.texinfo (VERSION, UPDATED): Update.
57052 (@copying): Use @copyright{} and range of years.
57053
57054 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57055
57056 [BZ #13695]
57057 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57058 [crti.S not in sysdirs] (generated): Do not append.
57059 [crti.S not in sysdirs] (omit-deps): Likewise.
57060 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57061 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57062 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57063 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57064 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57065 Likewise.
57066 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57067 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57068 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57069 * csu/defs.awk: Remove file.
57070 * sysdeps/generic/initfini.c: Likewise.
57071 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57072 variable.
57073 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57074 Likewise.
57075
57076 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57077
57078 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57079 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57080 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57082 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57083 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57084 <bits/epoll.h>.
57085 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57086 (__EPOLL_PACKED): Define to empty if not defined by
57087 <bits/epoll.h>.
57088 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57090 bits/epoll.h.
57091
57092 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57093
57094 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57095 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57096 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57097 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57098 <bits/timerfd.h>.
57099 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57101 bits/timerfd.h.
57102
57103 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57104
57105 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57106 in C locale.
57107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57108 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57109 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57111
57112 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57113
57114 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57115 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57116
57117 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57118
57119 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57120 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57121 defined.
57122 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57123 Likewise.
57124 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57125 entry for 2.16.
57126
57127 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57128
57129 * math/w_acos.c: Use non-signaling floating-point comparisons.
57130 * math/w_acosf.c: Likewise.
57131 * math/w_acosh.c: Likewise.
57132 * math/w_acoshf.c: Likewise.
57133 * math/w_acoshl.c: Likewise.
57134 * math/w_acosl.c: Likewise.
57135 * math/w_asin.c: Likewise.
57136 * math/w_asinf.c: Likewise.
57137 * math/w_asinl.c: Likewise.
57138 * math/w_atanh.c: Likewise.
57139 * math/w_atanhf.c: Likewise.
57140 * math/w_atanhl.c: Likewise.
57141 * math/w_exp2.c: Likewise.
57142 * math/w_exp2f.c: Likewise.
57143 * math/w_exp2l.c: Likewise.
57144 * math/w_j0.c: Likewise.
57145 * math/w_j0f.c: Likewise.
57146 * math/w_j0l.c: Likewise.
57147 * math/w_j1.c: Likewise.
57148 * math/w_j1f.c: Likewise.
57149 * math/w_j1l.c: Likewise.
57150 * math/w_jn.c: Likewise.
57151 * math/w_jnf.c: Likewise.
57152 * math/w_log.c: Likewise.
57153 * math/w_log10.c: Likewise.
57154 * math/w_log10f.c: Likewise.
57155 * math/w_log10l.c: Likewise.
57156 * math/w_log2.c: Likewise.
57157 * math/w_log2f.c: Likewise.
57158 * math/w_log2l.c: Likewise.
57159 * math/w_logf.c: Likewise.
57160 * math/w_logl.c: Likewise.
57161 * math/w_sqrt.c: Likewise.
57162 * math/w_sqrtf.c: Likewise.
57163 * math/w_sqrtl.c: Likewise.
57164 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57165 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57167 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57168 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57169
57170 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57171
57172 [BZ #9739]
57173 * manual/string.texi (strnlen): Use correct parameter name in
57174 equivalent expression.
57175
57176 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57177
57178 [BZ #11174]
57179 * manual/users.texi (seteuid): Consistently use neweuid for
57180 argument name.
57181
57182 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57183
57184 [BZ #13704]
57185 * manual/nss.texi (Services in the NSS configuration): Correct
57186 list of services in example configuration file.
57187
57188 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57189
57190 [BZ #11322]
57191 * manual/arith.texi: Remove statements about negative zero
57192 behaving identically to zero.
57193
57194 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57195
57196 [BZ #5993]
57197 * manual/install.texi: Do not document upgrading from libc5.
57198
57199 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57200
57201 [BZ #4596]
57202 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57203
57204 2012-02-18 David S. Miller <davem@davemloft.net>
57205
57206 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57207 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57208 %o7 across the call.
57209 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57210 instead.
57211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57212 SETUP_PIC_REG_LEAF.
57213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57214 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57215 * sysdeps/sparc/crtn.S: Likewise.
57216
57217 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57218
57219 * aout/Makefile: Remove.
57220
57221 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57222
57223 [BZ #13058]
57224 * manual/examples/argp-ex1.c (main): Format definition in GNU
57225 style.
57226 * manual/examples/argp-ex2.c (main): Likewise.
57227 * manual/examples/argp-ex3.c (main): Likewise.
57228 * manual/examples/argp-ex4.c (main): Likewise.
57229 * manual/examples/longopt.c (main): Use new-style prototype
57230 definition.
57231 * manual/examples/strncat.c (main): Specify return type and use
57232 (void) for arguments.
57233 * manual/examples/subopt.c (main): Use char **argv argument.
57234
57235 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57236
57237 [BZ #5077]
57238 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57239 rounding modes.
57240
57241 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57242
57243 [BZ #6907]
57244 * manual/string.texi (strchr): Change when strchrnul is
57245 recommended.
57246
57247 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57248
57249 [BZ #174]
57250 * manual/locale.texi (setlocale): Document LOCPATH.
57251
57252 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57253
57254 [BZ #10210]
57255 * manual/process.texi (execle): Move @dots{} before last argument.
57256
57257 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57258
57259 [BZ #12047]
57260 * manual/charset.texi (Generic Charset Conversion): Fix typo
57261 (LC_TYPE -> LC_CTYPE).
57262
57263 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57264
57265 [BZ #5805]
57266 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57267 (scalbnf): Likewise.
57268 (scalbnl): Likewise.
57269 (scalbln): Likewise.
57270 (scalblnf): Likewise.
57271 (scalblnl): Likewise.
57272 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57273 (vwarnx): Likewise.
57274 (verr): Likewise.
57275 (verrx): Likewise.
57276 * manual/filesys.texi (telldir): Use braces around return type.
57277 * manual/llio.texi (mmap): Add space after comma.
57278 (mmap64): Likewise.
57279 * manual/math.texi (jn): Use @var{} on parameter names.
57280 (jnf): Likewise.
57281 (jnl): Likewise.
57282 (yn): Likewise.
57283 (ynf): Likewise.
57284 (ynl): Likewise.
57285 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57286 line.
57287 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57288 "...".
57289 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57290 (sched_get_priority_max): Likewise.
57291 * manual/signal.texi (sigvec): Add space after comma.
57292 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57293 names.
57294 (if_indextoname): Likewise.
57295 (if_freenameindex): Likewise.
57296 (sendto): Use ',' instead of '.' in prototype.
57297 * manual/startup.texi (syscall): Use @dots{} instead of literal
57298 "...".
57299 * manual/stdio.texi (__fpending): Separate initial words of
57300 paragraph from @deftypefun line.
57301 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57302 "...".
57303 (vsyslog): Use @var{} on parameter names.
57304 * manual/terminal.texi (stty): Use @var{} on parameter names.
57305 * manual/users.texi (getutmp): Use @var{} on parameter names.
57306 (getutmpx): Likewise.
57307
57308 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57309
57310 [BZ #6884]
57311 * manual/stdio.texi (fopen): Fix typos in description of
57312 ",ccs=STRING".
57313
57314 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57315
57316 [BZ #4026]
57317 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57318 get clock_id definition.
57319
57320 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57321
57322 [BZ #4822]
57323 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57324 (madvise): Cast every argument to void on its own.
57325
57326 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57327
57328 [BZ #9902]
57329 * manual/startup.texi (Exit Status): Fix typo.
57330
57331 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57332
57333 [BZ #10140]
57334 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57335 * manual/examples/argp-ex2.c: Likewise.
57336 * manual/examples/argp-ex3.c: Likewise.
57337
57338 2012-02-16 Richard Henderson <rth@redhat.com>
57339
57340 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57341 * sysdeps/s390/s390-32/initfini.c: Remove.
57342 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57343 * sysdeps/s390/s390-64/initfini.c: Remove.
57344
57345 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57346
57347 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57348 compiler output for sysdeps/generic/initfini.c.
57349 * sysdeps/sh/elf/initfini.c: Remove file.
57350
57351 2012-02-16 David S. Miller <davem@davemloft.net>
57352
57353 [BZ #11494]
57354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57355
57356 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57357 * sysdeps/sparc/crti.S: New file.
57358 * sysdeps/sparc/crtn.S: New file.
57359 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57360 * sysdeps/sparc/sparc64/Makefile: Likewise.
57361
57362 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57363
57364 [BZ #3335]
57365 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57366
57367 2012-02-15 Roland McGrath <roland@hack.frob.com>
57368
57369 [BZ #4822]
57370 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57371
57372 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57373 (write, read, close): Likewise.
57374 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57375
57376 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57377
57378 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57379 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57380 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57381 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57382 <bits/signalfd.h>.
57383 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57385 bits/signalfd.h.
57386
57387 2012-02-14 Marek Polacek <polacek@redhat.com>
57388
57389 * sysdeps/x86_64/crti.S: New file.
57390 * sysdeps/x86_64/crtn.S: New file.
57391 * sysdeps/x86_64/elf/initfini.c: Remove file.
57392
57393 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57394
57395 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57396 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57397 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57398 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57399 <bits/inotify.h>.
57400 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57402 bits/inotify.h.
57403
57404 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57405
57406 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57407 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57408 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57409 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57410 <bits/eventfd.h>.
57411 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57413 bits/eventfd.h.
57414
57415 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57416
57417 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57418 __feraiseexcept instead of feraiseexcept.
57419
57420 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57421 nanosleep invocations.
57422 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57423 strings, and add error checking for a nanosleep invocations.
57424
57425 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57426
57427 Replace FSF snail mail address with URLs, as per GNU coding standards.
57428 Most of the snail mail addresses were wrong anyway, and omitting
57429 them makes the source code easier to maintain. Almost all of the
57430 changes are to license notices and to locale LC_IDENTIFICATION
57431 addresses, except for this one:
57432 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57433 not its snail mail address.
57434
57435 2012-02-09 Richard Henderson <rth@twiddle.net>
57436
57437 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57438 of kernel-features.h.
57439
57440 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57441
57442 2012-02-08 Marek Polacek <polacek@redhat.com>
57443
57444 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57445 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57446 * sysdeps/gnu/_G_config.h: Likewise.
57447 * sysdeps/generic/_G_config.h: Likewise.
57448
57449 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57450
57451 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57452 tests.
57453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57454
57455 * sysdeps/powerpc/powerpc32/crti.S: New file.
57456 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57457 * sysdeps/powerpc/powerpc64/crti.S: New file.
57458 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57459
57460 * Makeconfig (have-initfini): Don't set.
57461 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57462 * configure.in (nopic_initfini): Don't substitute.
57463 * config.h.in (HAVE_INITFINI): Don't #undef.
57464 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57465 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57466
57467 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57468
57469 Support crti.S and crtn.S provided directly by architectures.
57470 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57471 [crti.S in sysdirs] (omit-deps): Likewise.
57472 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57473 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57474 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57475 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57476 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57477 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57478 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57479 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57480 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57481 compiler output for sysdeps/generic/initfini.c.
57482 * sysdeps/i386/elf/Makefile: Remove file.
57483 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57484
57485 2012-02-07 Marek Polacek <polacek@redhat.com>
57486
57487 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57488 * sysdeps/gnu/_G_config.h: Likewise.
57489 * sysdeps/mach/hurd/_G_config.h: Likewise.
57490
57491 2012-02-07 Marek Polacek <polacek@redhat.com>
57492
57493 * math/Makefile (tests): Add tst-CMPLX2.
57494 * math/tst-CMPLX2.c: New file.
57495
57496 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57497
57498 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57499
57500 * math/libm-test.inc (jn_test): Add missing L suffix.
57501
57502 2012-02-06 Marek Polacek <polacek@redhat.com>
57503
57504 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57505 * sysdeps/i386/fpu/e_powf.S: Likewise.
57506 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57507 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57508 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57509 * sysdeps/i386/fpu/e_pow.S: Likewise.
57510 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57511 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57512 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57513 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57514 * sysdeps/i386/fpu/e_log2.S: Likewise.
57515 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57516 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57517 * sysdeps/i386/fpu/e_powl.S: Likewise.
57518 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57519 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57520 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57521 * sysdeps/i386/fpu/e_logl.S: Likewise.
57522 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57523 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57524 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57525 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57526 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57527 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57528 * sysdeps/i386/fpu/e_log.S: Likewise.
57529 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57530 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57531 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57532 * sysdeps/i386/fpu/e_logf.S: Likewise.
57533 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57534 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57535 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57536 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57537 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57538 * sysdeps/i386/fpu/e_log10.S: Likewise.
57539 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57540 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57541 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57542 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57543 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57544 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57545 * sysdeps/i386/asm-syntax.h: Likewise.
57546 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57548 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57549 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57550 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57551 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57552 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57553 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57554 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57555 * sysdeps/powerpc/sysdep.h: Likewise.
57556 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57557 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57558
57559 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57560
57561 [BZ #411]
57562 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57563
57564 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57565
57566 * sysdeps/i386/sysdep.h: Include <features.h>.
57567 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57568 version.
57569
57570 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57571
57572 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57573 Define.
57574 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57575 LOAD_PIC_REG_STR.
57576
57577 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57578
57579 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57580 (SETUP_PIC_REG): Use GET_PC_THUNK.
57581 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57582 macro.
57583
57584 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57585
57586 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57587 for non-PIC compilation.
57588 (SETUP_PIC_REG): Add .p2align directive.
57589 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57590 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57591 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57592 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57593 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57594 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57597 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57598 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57599 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57600 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57601 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57602 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57603 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57604 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57605 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57606 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57607 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57608 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57609 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57611 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57612 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57613 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57615 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57617 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57618 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57619 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57620 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57621 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57622 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57623 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57624 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57625 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57626 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57627 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57628 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57629 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57630
57631 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57632
57633 * math/tst-CMPLX.c: Include <stdio.h>.
57634
57635 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57636
57637 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57638 float.
57639 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57640 * sysdeps/sparc/bits/mathdef.h: Likewise.
57641
57642 2012-01-31 Marek Polacek <polacek@redhat.com>
57643
57644 * libio/libio.h: Don't define _PARAMS.
57645 * locale/programs/config.h: Don't define PARAMS.
57646 * stdlib/strtol_l.c: Likewise.
57647 (__strtol_l): Remove PARAMS from the prototype.
57648
57649 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57650
57651 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57652 names. Just use the correct names. Remove unnecessary wrapper
57653 functions.
57654 * malloc/arena.c: Likewise.
57655 * malloc/hooks.c: Likewise.
57656
57657 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57658 ARENA_TEST says not to. Simplify test for creation of a new arena.
57659 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57660
57661 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57662
57663 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57664 into tail calls.
57665 (update_get_addr): New function.
57666 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57667 GET_ADDR_MODULE parameter.
57668
57669 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57670
57671 * crypt/cert.c: Remove __STDC__ conditionals.
57672 * crypt/crypt-entry.c: Likewise.
57673 * crypt/crypt_util.c: Likewise.
57674 * libio/filedoalloc.c: Likewise.
57675 * libio/fileops.c: Likewise.
57676 * libio/genops.c: Likewise.
57677 * libio/iofclose.c: Likewise.
57678 * libio/iofdopen.c: Likewise.
57679 * libio/iofopen.c: Likewise.
57680 * libio/iofopen64.c: Likewise.
57681 * libio/iogetdelim.c: Likewise.
57682 * libio/iopopen.c: Likewise.
57683 * libio/obprintf.c: Likewise.
57684 * libio/oldfileops.c: Likewise.
57685 * libio/oldiofclose.c: Likewise.
57686 * libio/oldiofdopen.c: Likewise.
57687 * libio/oldiofopen.c: Likewise.
57688 * libio/oldiopopen.c: Likewise.
57689 * libio/wfiledoalloc.c: Likewise.
57690 * libio/wgenops.c: Likewise.
57691 * locale/programs/xmalloc.c: Likewise.
57692 * misc/syslog.c: Likewise.
57693 * stdio-common/xbug.c: Likewise.
57694 * string/memchr.c: Likewise.
57695 * string/memcmp.c: Likewise.
57696 * string/memrchr.c: Likewise.
57697 * string/rawmemchr.c: Likewise.
57698 * sysdeps/posix/getcwd.c: Likewise.
57699 * time/strftime_l.c: Likewise.
57700
57701 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57702
57703 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57704 * config.make.in (config-cflags-sse2avx): Define.
57705 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57706 Fix typo.
57707
57708 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57709
57710 * scripts/config.guess: Update from upstream config git repository.
57711 * scripts/config.sub: Likewise.
57712
57713 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57714
57715 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57716 (EM_NUM): Update.
57717 (R_TILEPRO_*, R_TILEGX_*): New macros.
57718
57719 * scripts/firstversions.awk: Fix bug in version range handling.
57720
57721 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57722
57723 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57724
57725 * include/sys/epoll.h: New file.
57726 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57727 libc_hidden_def.
57728
57729 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57730
57731 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57732 Avoid unnecessary __WORDSIZE == 64 test.
57733 (fmaxf): Use VEX format if possible.
57734 (fmax): Likewise.
57735 (fminf): Likewise.
57736 (fmin): Likewise.
57737
57738 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57739 * math/math_private.h: Remove libc_fegetround* and
57740 libc_fesetround*.
57741 * sysdeps/i386/configure.in: Check for -msse2avx.
57742 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57743 also if SSE2AVX is defined.
57744 Remove libc_fegetround* and libc_fesetround*.
57745 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57746 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57748 of HAS_YMM_USABLE.
57749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57750 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57753 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57754
57755 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57756
57757 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57758
57759 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57760 size is not set.
57761 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57762
57763 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57764
57765 [BZ #13618]
57766 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57767 relocation.
57768 * Makeconfig (libm): Define.
57769 * elf/Makefile: Add rules to build and run tst-relsort1.
57770 * elf/tst-relsort1.c: New file.
57771 * elf/tst-relsort1mod1.c: New file.
57772 * elf/tst-relsort1mod2.c: New file.
57773
57774 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57775
57776 * math/s_ldexp.c: Remove __STDC__ conditionals.
57777 * math/s_ldexpf.c: Likewise.
57778 * math/s_ldexpl.c: Likewise.
57779 * math/s_nextafter.c: Likewise.
57780 * math/s_nexttowardf.c: Likewise.
57781 * math/s_significand.c: Likewise.
57782 * math/s_significandf.c: Likewise.
57783 * math/s_significandl.c: Likewise.
57784 * math/w_jnl.c: Likewise.
57785 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57786 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57787 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57788 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57789 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57791 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57792 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57793 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57794 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57795 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57797 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57798 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57799 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57800 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57801 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57802 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57804 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57805 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57806 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57807 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57809 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57810 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57811 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57812 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57813 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57814 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57815 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57816 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57817 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57818 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57819 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57820 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57821 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57822 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57823 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57824 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57825 * sysdeps/ieee754/k_standard.c: Likewise.
57826 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57827 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57828 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57829 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57830 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57831 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57832 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57833 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57834 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57835 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57836 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57838 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57839 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57840 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57842 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57845 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57848 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57849 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57850 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57851 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57855 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57856 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57857 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57858 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57859 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57861 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57862 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57864 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57865 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57866 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57868 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57869 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57871 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57873 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57874 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57875 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57876 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57879 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57880 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57881 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57882 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57883 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57885 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57886 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57887 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57888 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57889 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57890 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57891 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57892 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57893 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57894 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57895 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57896 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57897 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57898 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57899 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57900 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57901 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57902 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57903 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57904 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57905 * sysdeps/ieee754/s_matherr.c: Likewise.
57906 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57907 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57910
57911 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57912
57913 * crypt/md5.h: Remove __STDC__ conditionals.
57914 * libio/libioP.h: Likewise.
57915 * locale/programs/config.h: Likewise.
57916 * sysdeps/generic/sysdep.h: Likewise.
57917 * sysdeps/i386/asm-syntax.h: Likewise.
57918 * sysdeps/s390/asm-syntax.h: Likewise.
57919 * sysdeps/unix/sysdep.h: Likewise.
57920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57922
57923 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57924
57925 * libio/libio.h: Remove __STDC__ conditionals.
57926 * malloc/obstack.h: Likewise.
57927 * math/complex.h: Likewise.
57928 * math/math.h: Likewise.
57929 * sysdeps/generic/_G_config.h: Likewise.
57930 * sysdeps/gnu/_G_config.h: Likewise.
57931 * sysdeps/mach/hurd/_G_config.h: Likewise.
57932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57933 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57934 * sysdeps/sparc/bits/mathdef.h: Likewise.
57935
57936 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57937
57938 [BZ #13583]
57939 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57940 Clean up HAS_* macros.
57941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57942 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57943 possible.
57944 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57945 HAS_AVX.
57946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57947 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57948 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57951
57952 2012-01-25 Joseph Myers <joseph@codesourcery.com>
57953
57954 * elf/tst-unique3.cc (gets): Remove declaration.
57955 * elf/tst-unique3lib.cc (gets): Likewise.
57956 * elf/tst-unique3lib2.cc (gets): Likewise.
57957 * elf/tst-unique4.cc (gets): Likewise.
57958
57959 2012-01-24 Ulrich Drepper <drepper@gmail.com>
57960
57961 * include/stdio.h: Add C++ protection. Add gets declarations and
57962 definitions.
57963 * debug/tst-chk1.c: Don't declare gets here.
57964 * stdio-common/tst-gets.c: Likewise.
57965
57966 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57967
57968 * posix/glob: Remove directory.
57969
57970 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57971
57972 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57973
57974 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
57975
57976 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57977 of the non-standard EPFNOSUPPORT.
57978
57979 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57980
57981 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57982 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57983 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57984
57985 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57986
57987 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57988
57989 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57990
57991 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57992 transient errors.
57993 * nscd/grpcache.c (cache_addgr): Likewise.
57994 * nscd/hstcache.c (cache_addhst): Likewise.
57995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57996 * nscd/pwdcache.c (cache_addpw): Likewise.
57997 * nscd/servicescache.c (cache_addserv): Likewise.
57998
57999 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58000
58001 * malloc/malloc.c: Various cleanups.
58002 * malloc/hooks.c: Likewise.
58003
58004 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58005 * stdlib/bug-fmtmsg1.c: New file.
58006
58007 * stdlib/fmtmsg.c (init): Add missing unlock.
58008 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58009
58010 2012-01-12 Marek Polacek <polacek@redhat.com>
58011
58012 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58013 and _GNU_SOURCE.
58014
58015 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58016
58017 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58018 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58019 macro to ensure uniqueness of label name.
58020 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58021 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58022
58023 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58024
58025 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58026
58027 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58028 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58029 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58031
58032 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58033
58034 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58035
58036 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58037 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58038 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58039
58040 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58041
58042 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58043 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58046
58047 * math/bits/math-finite.h: Add ldexp support.
58048
58049 2012-01-10 Marek Polacek <polacek@redhat.com>
58050
58051 * locale/programs/localedef.h (show_archive_content): Add noreturn
58052 attribute.
58053
58054 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58055
58056 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58057
58058 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58059
58060 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58061
58062 * io/Makefile (headers): Add bits/poll2.h.
58063
58064 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58065
58066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58067 typo #include statement.
58068
58069 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58070
58071 * include/sys/cdefs.h: Define __attribute_alloc_size.
58072 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58073 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58074 * elf/pldd.c: Likewise.
58075 * iconv/iconv_charmap.c: Likewise.
58076 * iconv/iconvconfig.c: Likewise.
58077 * iconv/strtab.c: Likewise.
58078 * locale/programs/locale.c: Likewise.
58079 * locale/programs/localedef.h: Likewise.
58080 * locale/programs/simple-hash.c: Likewise.
58081 * nscd/nscd.h: Likewise.
58082 * nss/makedb.c: Likewise.
58083 * sysdeps/generic/ldconfig.h: Likewise.
58084 * locale/programs/localedef.c: Remove xmalloc prototype.
58085 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58086
58087 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58088
58089 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58090 appropriate.
58091
58092 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58093
58094 * math/Makefile (tests): Add tst-CMPLX.
58095 * math/tst-CMPLX.c: New file.
58096
58097 * math/complex.h (CMPLXL): Fix typo.
58098
58099 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58100 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58101 GLIBC_2.16.
58102 * debug/tst-chk1.c: Add poll and ppoll tests.
58103 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58104 * include/sys/poll.h: Add hidden proto for ppoll.
58105 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58106 * sysdeps/mach/hurd/ppoll.c: Likewise.
58107 * io/ppoll.c: Likewise.
58108 * debug/poll_chk.c: New file.
58109 * debug/ppoll_chk.c: New file.
58110 * include/bits/poll2.h: New file.
58111 * io/bits/poll2.h: New file.
58112
58113 [BZ #1350]
58114 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58115
58116 * configure.in: static is always set to yes. Remove.
58117 * config.make.in: Don't set build-static.
58118 * Makeconfig: Remove use of build-static.
58119 * dlfcn/Makefile: Likewise.
58120 * elf/Makefile: Likewise.
58121 * math/Makefile: Likewise.
58122 * misc/Makefile: Likewise.
58123 * nptl/Makefile: Likewise.
58124 * sysdeps/mach/hurd/Makefile: Likewise.
58125
58126 * configure.in: PWD_P is not used anymore.
58127 * config.make.in: Remove PWD_P entry.
58128
58129 * configure.in: Remove last remnants of RANLIB.
58130 No need to check for signed size_t anymore.
58131 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58132 and IA-64.
58133 Remove __builtin_expect test because we require at least gcc 3.4.
58134 * aclocal.m4: Likewise.
58135
58136 * wcsmbs/mbrtoc16.c: Implement using towc function.
58137 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58138 * wcsmbs/wcsmbsload.c: Likewise.
58139 * iconv/gconv_simple.c: Likewise.
58140 * iconv/gconv_int.h: Likewise.
58141 * iconv/gconv_builtin.h: Likewise.
58142 * iconv/iconv_prog.c: Remove CHAR16 handling.
58143
58144 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58145
58146 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58147
58148 * configure.in: Remove --with-elf and --enable-bounded options.
58149 Dont set base_machine for ia64. More non-ELF conditions removed.
58150 Remove testing and setting of leading underscore information.
58151 * config.make.in (build-bounded): Set to no.
58152 * config.h.in: Remove NO_UNDERSCORES entry.
58153 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58154 them.
58155 * csu/start.c: Remove !NO_UNDERSCORE code.
58156 * locale/localeinfo.h: Likewise.
58157 * sysdeps/generic/machine-gmon.h: Likewise.
58158 * sysdeps/generic/sysdep.h: Likewise.
58159 * sysdeps/i386/sysdep.h: Likewise.
58160 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58161 * sysdeps/mach/sysdep.h: Likewise.
58162 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58163 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58164 * sysdeps/sh/sysdep.h: Likewise.
58165 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58166 * sysdeps/unix/i386/sysdep.S: Likewise.
58167 * sysdeps/unix/sparc/start.c: Likewise.
58168 * sysdeps/unix/sparc/sysdep.S: Likewise.
58169 * sysdeps/unix/sparc/sysdep.h: Likewise.
58170 * sysdeps/unix/start.c: Likewise.
58171 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58172 * sysdeps/x86_64/sysdep.h: Likewise.
58173
58174 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58175
58176 [BZ #13553]
58177 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58178 for non-gcc.
58179 * argp/argp-fmtstream.h: Use const instead __const.
58180 * argp/argp.h: Likewise.
58181 * assert/assert.h: Likewise.
58182 * bits/fenv.h: Likewise.
58183 * bits/sched.h: Likewise.
58184 * bits/sigset.h: Likewise.
58185 * bits/sigthread.h: Likewise.
58186 * catgets/nl_types.h: Likewise.
58187 * conform/data/pthread.h-data: Likewise.
58188 * crypt/crypt-private.h: Likewise.
58189 * crypt/crypt.h: Likewise.
58190 * crypt/crypt_util.c: Likewise.
58191 * ctype/ctype.h: Likewise.
58192 * debug/execinfo.h: Likewise.
58193 * debug/mbsnrtowcs_chk.c: Likewise.
58194 * debug/mbsrtowcs_chk.c: Likewise.
58195 * debug/wcsnrtombs_chk.c: Likewise.
58196 * debug/wcsrtombs_chk.c: Likewise.
58197 * debug/wcstombs_chk.c: Likewise.
58198 * dirent/dirent.h: Likewise.
58199 * dlfcn/dlfcn.h: Likewise.
58200 * elf/neededtest4.c: Likewise.
58201 * grp/grp.h: Likewise.
58202 * gshadow/gshadow.h: Likewise.
58203 * iconv/gconv.h: Likewise.
58204 * iconv/gconv_int.h: Likewise.
58205 * iconv/gconv_simple.c: Likewise.
58206 * iconv/iconv.h: Likewise.
58207 * iconv/loop.c: Likewise.
58208 * iconv/skeleton.c: Likewise.
58209 * include/aio.h: Likewise.
58210 * include/aliases.h: Likewise.
58211 * include/argz.h: Likewise.
58212 * include/arpa/inet.h: Likewise.
58213 * include/assert.h: Likewise.
58214 * include/dirent.h: Likewise.
58215 * include/dlfcn.h: Likewise.
58216 * include/execinfo.h: Likewise.
58217 * include/fcntl.h: Likewise.
58218 * include/fenv.h: Likewise.
58219 * include/glob.h: Likewise.
58220 * include/grp.h: Likewise.
58221 * include/libintl.h: Likewise.
58222 * include/mntent.h: Likewise.
58223 * include/netdb.h: Likewise.
58224 * include/pwd.h: Likewise.
58225 * include/rpc/netdb.h: Likewise.
58226 * include/sched.h: Likewise.
58227 * include/search.h: Likewise.
58228 * include/shadow.h: Likewise.
58229 * include/signal.h: Likewise.
58230 * include/stdio.h: Likewise.
58231 * include/stdlib.h: Likewise.
58232 * include/string.h: Likewise.
58233 * include/sys/socket.h: Likewise.
58234 * include/sys/stat.h: Likewise.
58235 * include/sys/statfs.h: Likewise.
58236 * include/sys/statvfs.h: Likewise.
58237 * include/sys/syslog.h: Likewise.
58238 * include/sys/time.h: Likewise.
58239 * include/sys/uio.h: Likewise.
58240 * include/time.h: Likewise.
58241 * include/unistd.h: Likewise.
58242 * include/utmp.h: Likewise.
58243 * include/wchar.h: Likewise.
58244 * include/wctype.h: Likewise.
58245 * inet/aliases.h: Likewise.
58246 * inet/arpa/inet.h: Likewise.
58247 * inet/netinet/ether.h: Likewise.
58248 * inet/netinet/in.h: Likewise.
58249 * intl/libintl.h: Likewise.
58250 * io/bits/fcntl2.h: Likewise.
58251 * io/fcntl.h: Likewise.
58252 * io/ftw.h: Likewise.
58253 * io/sys/poll.h: Likewise.
58254 * io/sys/stat.h: Likewise.
58255 * io/sys/statfs.h: Likewise.
58256 * io/sys/statvfs.h: Likewise.
58257 * io/utime.h: Likewise.
58258 * libio/bits/stdio.h: Likewise.
58259 * libio/bits/stdio2.h: Likewise.
58260 * libio/libio.h: Likewise.
58261 * libio/libioP.h: Likewise.
58262 * libio/stdio.h: Likewise.
58263 * locale/lc-ctype.c: Likewise.
58264 * locale/locale.h: Likewise.
58265 * login/utmp.h: Likewise.
58266 * malloc/arena.c: Likewise.
58267 * malloc/malloc.c: Likewise.
58268 * malloc/malloc.h: Likewise.
58269 * malloc/mcheck.c: Likewise.
58270 * malloc/mtrace.c: Likewise.
58271 * math/bits/mathcalls.h: Likewise.
58272 * math/fenv.h: Likewise.
58273 * math/math_private.h: Likewise.
58274 * misc/bits/error.h: Likewise.
58275 * misc/bits/syslog.h: Likewise.
58276 * misc/err.h: Likewise.
58277 * misc/error.h: Likewise.
58278 * misc/fstab.h: Likewise.
58279 * misc/mntent.h: Likewise.
58280 * misc/regexp.h: Likewise.
58281 * misc/search.h: Likewise.
58282 * misc/sgtty.h: Likewise.
58283 * misc/sys/mman.h: Likewise.
58284 * misc/sys/syslog.h: Likewise.
58285 * misc/sys/uio.h: Likewise.
58286 * misc/sys/xattr.h: Likewise.
58287 * misc/ttyent.h: Likewise.
58288 * nis/rpcsvc/ypclnt.h: Likewise.
58289 * nss/nss.h: Likewise.
58290 * posix/bits/unistd.h: Likewise.
58291 * posix/fnmatch.h: Likewise.
58292 * posix/glob.h: Likewise.
58293 * posix/sched.h: Likewise.
58294 * posix/spawn.h: Likewise.
58295 * posix/sys/wait.h: Likewise.
58296 * posix/unistd.h: Likewise.
58297 * posix/wordexp.h: Likewise.
58298 * pwd/pwd.h: Likewise.
58299 * resolv/netdb.h: Likewise.
58300 * resource/sys/resource.h: Likewise.
58301 * rt/aio.h: Likewise.
58302 * rt/bits/mqueue2.h: Likewise.
58303 * rt/mqueue.h: Likewise.
58304 * shadow/shadow.h: Likewise.
58305 * signal/signal.h: Likewise.
58306 * socket/send.c: Likewise.
58307 * socket/sendto.c: Likewise.
58308 * socket/sys/socket.h: Likewise.
58309 * stdio-common/printf.h: Likewise.
58310 * stdlib/bits/stdlib.h: Likewise.
58311 * stdlib/fmtmsg.h: Likewise.
58312 * stdlib/monetary.h: Likewise.
58313 * stdlib/stdlib.h: Likewise.
58314 * stdlib/ucontext.h: Likewise.
58315 * streams/stropts.h: Likewise.
58316 * string/argz.h: Likewise.
58317 * string/bits/string2.h: Likewise.
58318 * string/string.h: Likewise.
58319 * string/strings.h: Likewise.
58320 * sunrpc/rpc/auth.h: Likewise.
58321 * sunrpc/rpc/auth_des.h: Likewise.
58322 * sunrpc/rpc/clnt.h: Likewise.
58323 * sunrpc/rpc/netdb.h: Likewise.
58324 * sunrpc/rpc/pmap_clnt.h: Likewise.
58325 * sunrpc/rpc/xdr.h: Likewise.
58326 * sysdeps/generic/inttypes.h: Likewise.
58327 * sysdeps/generic/net/if.h: Likewise.
58328 * sysdeps/generic/sys/swap.h: Likewise.
58329 * sysdeps/gnu/net/if.h: Likewise.
58330 * sysdeps/gnu/utmpx.h: Likewise.
58331 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58332 * sysdeps/i386/i486/bits/string.h: Likewise.
58333 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58334 * sysdeps/s390/bits/string.h: Likewise.
58335 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58336 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58337 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58338 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58339 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58340 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58341 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58342 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58343 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58344 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58345 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58346 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58347 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58348 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58349 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58350 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58351 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58353 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58354 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58355 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58356 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58357 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58358 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58359 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58360 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58361 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58362 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58363 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58365 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58366 * sysvipc/sys/ipc.h: Likewise.
58367 * sysvipc/sys/msg.h: Likewise.
58368 * sysvipc/sys/sem.h: Likewise.
58369 * sysvipc/sys/shm.h: Likewise.
58370 * termios/termios.h: Likewise.
58371 * time/sys/time.h: Likewise.
58372 * time/time.h: Likewise.
58373 * wcsmbs/bits/wchar2.h: Likewise.
58374 * wcsmbs/uchar.h: Likewise.
58375 * wcsmbs/wchar.h: Likewise.
58376 * wctype/wctype.h: Likewise.
58377
58378 [BZ #13551]
58379 * Makeconfig: Remove all but ELF support including AIX support.
58380 * Makerules: Likewise.
58381 * config.h.in: Likewise.
58382 * config.make.in: Likewise.
58383 * configure: Likewise.
58384 * configure.in: Likewise.
58385 * csu/Makefile: Likewise.
58386 * csu/version.c: Likewise.
58387 * debug/Makefile: Likewise.
58388 * dlfcn/Makefile: Likewise.
58389 * elf/Makefile: Likewise.
58390 * extra-lib.mk: Likewise.
58391 * iconv/Makefile: Likewise.
58392 * include/libc-symbols.h: Likewise.
58393 * include/shlib-compat.h: Likewise.
58394 * resolv/Makefile: Likewise.
58395 * resolv/res_libc.c: Likewise.
58396 * rt/Makefile: Likewise.
58397 * sysdeps/i386/asm-syntax.h: Likewise.
58398 * sysdeps/i386/sysdep.h: Likewise.
58399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58400 * sysdeps/mach/sysdep.h: Likewise.
58401 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58402 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58403 * sysdeps/s390/asm-syntax.h: Likewise.
58404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58405 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58406 * sysdeps/sh/sysdep.h: Likewise.
58407 * sysdeps/unix/sparc/sysdep.h: Likewise.
58408 * sysdeps/wordsize-32/divdi3.c: Likewise.
58409 * sysdeps/x86_64/sysdep.h: Likewise.
58410
58411 * argp/Versions: Remove _argp_unlock_xxx.
58412
58413 [BZ #13559]
58414 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58415 * abilist/libBrokenLocale.abilist: Likewise.
58416 * abilist/libanl.abilist: Likewise.
58417 * abilist/libc.abilist: Likewise.
58418 * abilist/libcrypt.abilist: Likewise.
58419 * abilist/libdl.abilist: Likewise.
58420 * abilist/libm.abilist: Likewise.
58421 * abilist/libnsl.abilist: Likewise.
58422 * abilist/libpthread.abilist: Likewise.
58423 * abilist/libresolv.abilist: Likewise.
58424 * abilist/librt.abilist: Likewise.
58425 * abilist/libthread_db.abilist: Likewise.
58426 * abilist/libutil.abilist: Likewise.
58427 * abilist/libnss_db.abilist: New file.
58428
58429 * scripts/abilist.awk: Add support for indirect functions.
58430
58431 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58432
58433 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58434
58435 * shlib-versions: Remove entries for ports architectures.
58436
58437 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58438 files in ports.
58439 * elf/stackguard-macros.h: Remove support for IA-64.
58440 * elf/tst-auditmod1.c: Likewise.
58441 * sysdeps/generic/ldsodefs.h: Likewise.
58442
58443 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58444 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58445 configure files.
58446
58447 [BZ #13552]
58448 * configure.in: Remove --enable-omitfp support.
58449 * FAQ.in: Adjust.
58450 * config.make.in: Likewise.
58451 * Makeconfig: Likewise.
58452 * manual/install.texi: Likewise.
58453
58454 In case anyone cares, the IA-64 architecture could move to ports.
58455 * sysdeps/ia64/*: Removed.
58456 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58457 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58458
58459 [BZ #13555]
58460 * configure.in: Remove entries for unsupported architectures.
58461
58462 [BZ #13533]
58463 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58464 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58465 routines.
58466 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58467 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58468 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58469 fall back to using wcrtomb.
58470 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58471 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58472 renaming.
58473 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58474 * wcsmbs/tst-c16c32-1.c: New file.
58475
58476 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58477 local variable.
58478
58479 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58480
58481 * elf/tst-unique3.cc: Add explicit declaration of gets.
58482 * elf/tst-unique3lib.cc: Likewise.
58483 * elf/tst-unique3lib2.cc: Likewise.
58484 * elf/tst-unique4.cc: Likewise.
58485
58486 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58487
58488 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58489
58490 [BZ #13566]
58491 * assert/assert.h (static_assert): Don't define for C++.
58492 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58493 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58494
58495 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58496
58497 * iconv/loop.c (single loop): Fix assertion in storing of
58498 remaining bytes.
58499
58500 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58501
58502 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58503
58504 * posix/getconf.c: Update copyright year.
58505 * nss/getent.c: Likewise.
58506 * nss/makedb.c: Likewise.
58507 * iconv/iconvconfig.c: Likewise.
58508 * iconv/iconv_prog.c: Likewise.
58509 * elf/ldconfig.c: Likewise.
58510 * elf/pldd.c: Likewise.
58511 * elf/sotruss.ksh: Likewise.
58512 * catgets/gencat.c: Likewise.
58513 * csu/version.c: Likewise.
58514 * elf/ldd.bash.in: Likewise.
58515 * elf/sprof.c (print_version): Likewise.
58516 * locale/programs/locale.c: Likewise.
58517 * locale/programs/localedef.c: Likewise.
58518 * login/programs/pt_chown.c: Likewise.
58519 * nscd/nscd.c (print_version): Likewise.
58520 * debug/xtrace.sh: Likewise.
58521 * malloc/memusage.sh: Likewise.
58522 * malloc/mtrace.pl: Likewise.
58523 * debug/catchsegv.sh: Likewise.
58524
58525 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58526
58527 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58528 pure attribute.
58529
58530 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58531
58532 [BZ #13533]
58533 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58534 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58535 transformations.
58536 * iconv/gconv_int.h: Likewise.
58537 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58538 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58539 from libc for GLIBC_2.16.
58540 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58541 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58542 * wcsmbs/uchar.h: Really define mbstate_t.
58543 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58544 * wcsmbs/c16rtomb.c: New file.
58545 * wcsmbs/mbrtoc16.c: New file.
58546 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58547 for C/POSIX locale.
58548 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58549 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58550
58551 * wcsmbs/wchar.h: Add missing __restrict.
58552
58553 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58554
58555 [BZ #13532]
58556 * time/Makefile (routines): Add timespec_get.
58557 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58558 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58559 timespec for ISO C11.
58560 * time/timespec_get.c: New file.
58561 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58562 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58563
58564 [BZ #13531]
58565 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58566 * stdlib/stdlib.h: Declare aligned_alloc.
58567 * Versions.def: Add GLIBC_2.16 for libc.
58568 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58569
58570 [BZ 13527]
58571 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58572 ISO C11.
58573
58574 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58575 code.
58576
58577 [BZ #13528]
58578 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58579
58580 [BZ #13529]
58581 * assert/assert.h (static_assert): Define.
58582
58583 * version.h: Update for 2.16 development version.
58584
58585 [BZ #13526]
58586 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58587 _ISOC11_SOURCE.
58588
58589 * version.h (RELEASE): Bump for 2.15 release.
58590 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58591
58592 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58593 Patch by Marek Polacek <mpolacek@redhat.com>.
58594
58595 * bits/byteswap.h: Protect long long constants with __extension__.
58596 * sysdeps/i386/bits/byteswap.h: Likewise.
58597 * sysdeps/ia64/bits/byteswap.h: Likewise.
58598 * sysdeps/s390/bits/byteswap.h: Likewise.
58599 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58600
58601 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58602
58603 [BZ #13540]
58604 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58605 destination buffer.
58606 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58607
58608 2011-12-23 Marek Polacek <polacek@redhat.com>
58609
58610 * elf/dl-addr.c (determine_info): Add inline keyword.
58611 * elf/tst-auditmod4b.c (check_avx): Likewise.
58612 * elf/tst-auditmod6b.c (check_avx): Likewise.
58613 * elf/tst-auditmod6c.c (check_avx): Likewise.
58614 * elf/tst-auditmod7b.c (check_avx): Likewise.
58615
58616 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58617
58618 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58619 !__SSE_MATH__.
58620
58621 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58622
58623 [BZ #13540]
58624 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58625 processing for last bytes.
58626
58627 2011-08-06 Bruno Haible <bruno@clisp.org>
58628
58629 [BZ #13061]
58630 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58631 U+0385, not to U+1FEE.
58632
58633 [BZ #13062]
58634 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58635 entry for U+00A5 U+0301.
58636
58637 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58638
58639 [BZ #13166]
58640 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58641 buffer for the output is too small.
58642
58643 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58644 optimization.
58645
58646 [BZ #13185]
58647 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58648 SSE flags if possible.
58649
58650 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58651
58652 [BZ #13540]
58653 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58654 processing for last bytes.
58655
58656 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58657
58658 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58659 (syscall-list-default-options, syscall-list-default-condition)
58660 (syscall-list-includes): Define.
58661 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58662 list of ABIs and options and #if conditions for each ABI. Do not
58663 handle common syscalls between ABIs specially.
58664 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58665 Remove.
58666 (syscall-list-variants, syscall-list-32bit-options)
58667 (syscall-list-32bit-condition, syscall-list-64bit-options)
58668 (syscall-list-64bit-condition): Define.
58669 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58670 (syscall-list-variants, syscall-list-32bit-options)
58671 (syscall-list-32bit-condition, syscall-list-64bit-options)
58672 (syscall-list-64bit-condition): Define.
58673 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58674 Remove.
58675 (syscall-list-variants, syscall-list-32bit-options)
58676 (syscall-list-32bit-condition, syscall-list-64bit-options)
58677 (syscall-list-64bit-condition): Define.
58678 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58679 Remove.
58680 (syscall-list-variants, syscall-list-32bit-options)
58681 (syscall-list-32bit-condition, syscall-list-64bit-options)
58682 (syscall-list-64bit-condition): Define.
58683
58684 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58685
58686 * locale/iso-639.def: Add brx entry.
58687
58688 [BZ #13328]
58689 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58690 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58691
58692 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58693 __feraiseexcept_renamed.
58694
58695 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58696
58697 [BZ #13538]
58698 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58699 EPOLLET with unsigned values.
58700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58702
58703 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58704 to large cancellation.
58705 * math/s_cacoshf.c: Likewise.
58706 * math/s_cacoshl.c: Likewise.
58707
58708 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58709
58710 [BZ #13305]
58711 [BZ #12786]
58712 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58713 * math/s_cacoshf.c: Likewise.
58714 * math/s_cacoshl.c: Likewise.
58715
58716 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58717
58718 [BZ #13439]
58719 * iconv/gconv.h: Define __GCONV_SWAP.
58720 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58721 * iconvdata/utf-16.c: Likewise.
58722 * iconvdata/utf-32.c: Likewise.
58723
58724 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58725
58726 [BZ #13524]
58727 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58728 numerator after shifting it by one limb.
58729
58730 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58731
58732 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58733 under [__USE_EXTERN_INLINES].
58734
58735 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58736
58737 [BZ #13446]
58738 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58739
58740 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58741
58742 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58743 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58744 optimized code.
58745 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58746 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58747 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58748 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58749 for strncasecmp/strncasecmp_l compilation.
58750 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58751 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58752
58753 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58754
58755 [BZ #13484]
58756 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58757 of __asm__.
58758
58759 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58760
58761 [BZ #13506]
58762 * time/tzfile.c (__tzfile_read): Check values from file header.
58763
58764 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58765
58766 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58767 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58768 * powerpc/powerpc32/dl-start.S: Likewise.
58769 * powerpc/powerpc32/elf/start.S: Likewise.
58770 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58771 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58772 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58773 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58774 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58775 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58776 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58777 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58778 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58779 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58780 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58781 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58782 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58783 * powerpc/powerpc32/memset.S: Likewise.
58784 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58785 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58786 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58787 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58788 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58789 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58790 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58791 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58792 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58793 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58794 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58795 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58796 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58797
58798 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58799
58800 * math/libm-test.inc: Added more nearbyint tests.
58801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58802 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58805
58806 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58807
58808 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58809 FD_CLOEXEC.
58810
58811 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58812
58813 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58814 Add wcscpy-ssse3 wcscpy-c.
58815 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58816 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58817 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58818 * sysdeps/x86_64/wcschr.S: New file.
58819 * sysdeps/x86_64/wcsrchr.S: New file.
58820 * string/test-strcmp.c: Remove checking of wcscmp function for
58821 wrong alignments.
58822 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58823 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58824 wcsrchr-sse2 wcsrchr-c.
58825 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58826 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58827 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58828 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58829 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58830 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58831 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58832 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58833 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58834 * wcsmbc/wcschr.c (WCSCHR): New macro.
58835
58836 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58837
58838 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58839 * wcsmbs/test-wcsrchr.c: New file.
58840 * string/test-strrchr.c: Add wcsrchr support.
58841 (WIDE): New macro.
58842 * wcsmbs/test-wcscpy.c: New file.
58843 * string/test-strcpy.c: Add wcscpy support.
58844 (WIDE): New macro.
58845
58846 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58847
58848 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58849 the inner loop.
58850
58851 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58852
58853 [BZ #13472]
58854 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58855
58856 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58857
58858 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58859 Minor optimizations.
58860
58861 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58862 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58863 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58864
58865 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58866
58867 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58868 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58869 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58870 for gcc to avoid warnings.
58871 * inet/Makefile (tests): Add tst-checks.
58872 * inet/tst-checks.c: New file.
58873
58874 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58875 warning.
58876
58877 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58878 __wmemcmp_sse2.
58879
58880 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58881 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58882
58883 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58884
58885 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58886
58887 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58888 problem.
58889
58890 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58891
58892 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58893
58894 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58895 conditional on GCC version.
58896 (__arch_compare_and_exchange_val_8_acq)
58897 (__arch_compare_and_exchange_val_16_acq)
58898 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58899 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58900 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58901
58902 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58903
58904 * sysdeps/sh/backtrace.c: New file.
58905
58906 2011-12-02 Andreas Schwab <schwab@redhat.com>
58907
58908 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58909 parenthesis.
58910
58911 2011-12-01 Andreas Schwab <schwab@redhat.com>
58912
58913 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58914 falling back to utime.
58915
58916 2011-11-30 Andreas Schwab <schwab@redhat.com>
58917
58918 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58919 expectations for float.
58920
58921 2011-11-29 Andreas Schwab <schwab@redhat.com>
58922
58923 * locale/weight.h (findidx): Add parameter len.
58924 * locale/weightwc.h (findidx): Likewise.
58925 * posix/fnmatch_loop.c (FCT): Adjust caller.
58926 * posix/regcomp.c (build_equiv_class): Likewise.
58927 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58928 * posix/regexec.c (check_node_accept_bytes): Likewise.
58929 * string/strcoll_l.c (STRCOLL): Likewise.
58930 * string/strxfrm_l.c (STRXFRM): Likewise.
58931
58932 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58933
58934 * Makefile.in: Remove CVSOPT handling.
58935 * configure.in: Remove use of AC_REVISION.
58936 * iconvdata/Makefile (distribute): No need to filter out CVS.
58937 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58938 handling.
58939
58940 2011-11-16 Andreas Schwab <schwab@redhat.com>
58941
58942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58943 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58944 [USE_AS_STRNCASECMP_L]: Likewise.
58945 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58946 NO_TLS_DIRECT_SEG_REFS.
58947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58948 Fix argument offsets for non-PIC.
58949 [USE_AS_STRNCASECMP_L]: Likewise.
58950 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58951 NO_TLS_DIRECT_SEG_REFS.
58952
58953 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58954
58955 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58956 O_CLOEXEC.
58957 * locale/loadlocale.c (_nl_load_locale): Likewise.
58958
58959 2011-11-15 Andreas Schwab <schwab@redhat.com>
58960
58961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58962 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58963 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58964 (SYSCALL_GETTIME): Set errno on error.
58965
58966 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58967 count references to noai6ai_cached.
58968
58969 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58970
58971 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58972
58973 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58974 FD_CLOEXEC for /proc/self/maps.
58975
58976 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58977 FD_CLOEXEC for /proc/meminfo.
58978
58979 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58980 gai.conf.
58981
58982 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58983 FD_CLOEXEC for given file.
58984
58985 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58986
58987 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58988 FD_CLOEXEC for /etc/hosts.
58989 (_gethtent): Likewise.
58990
58991 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58992
58993 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58994 cancellation and set FD_CLOEXEC for /etc/netgroup.
58995
58996 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58997 reading /etc/publickey.
58998
58999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59000 allow cancellation when reading /etc/group.
59001
59002 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59003 cancellation.
59004 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59005
59006 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59007 when using data file.
59008
59009 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59010
59011 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59012 (write_nis_obj): Use "c" and "e" in fopen.
59013
59014 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59015
59016 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59017
59018 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59019
59020 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59021
59022 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59023 locale.alias.
59024
59025 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59026
59027 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59028
59029 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59030
59031 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59032 file parsing and set FD_CLOEXEC.
59033
59034 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59035
59036 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59037
59038 2011-11-14 Andreas Schwab <schwab@redhat.com>
59039
59040 * malloc/arena.c (arena_get2): Don't call reused_arena when
59041 _int_new_arena failed.
59042
59043 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59044
59045 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59046 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59047 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59048 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59049 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59051 to compile strcasecmp and strncasecmp.
59052 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59053 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59054
59055 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59056
59057 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59058
59059 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59060 locale-defines.sym to gen-as-const-headers.
59061 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59062 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59064 to compile strcasecmp and strncasecmp.
59065 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59066 strcasecmp_l and strncasecmp_l.
59067 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59068 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59069 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59070 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59071 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59072 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59073 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59074 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59075 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59076 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59077 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59078
59079 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59080
59081 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59082 result of SYSDEP_GETTIME_CPU to retval.
59083 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59084 parameter list to macro. Remove trailing semicolon. Adjust users.
59085
59086 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59087 variable.
59088
59089 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59090 mantissa words.
59091 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59092
59093 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59094 from unused variable.
59095
59096 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59097 DWARF definitions.
59098 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59099 for assembling.
59100
59101 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59102 over namespaces.
59103
59104 * sunrpc/rpc_prot.c (rejected): Fix case value.
59105
59106 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59107 unsigned long long int to avoid warnings in shift.
59108
59109 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59110 of use of trans.
59111 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59112 variable tmp.
59113
59114 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59115 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59116 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59117
59118 * nis/nis_table.c (nis_list): Use variable of correct type for
59119 result of __follow_path call.
59120
59121 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59122
59123 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59124 of math functions ceil, trunc, floor, round, and sqrt, when
59125 avaliable on the platform.
59126 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59127 name clash.
59128 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59129 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59130 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59131
59132 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59133
59134 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59135 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59136
59137 2011-11-11 Roland McGrath <roland@hack.frob.com>
59138
59139 * include/unistd.h: Fix __readlink return type.
59140 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59141
59142 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59143
59144 * stdlib/ucontext.h: Undo last change for makecontext.
59145
59146 2011-11-11 Andreas Schwab <schwab@redhat.com>
59147
59148 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59149
59150 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59151 * setjmp/setjmp.h: Mark functions as non-leaf.
59152 * setjmp/bits/setjmp2.h: Likewise.
59153 * stdlib/ucontext.h: Likewise.
59154
59155 2011-11-10 Andreas Schwab <schwab@redhat.com>
59156
59157 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59158 (reused_arena): Don't check arena limit.
59159 (arena_get2): Atomically check arena limit.
59160
59161 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59162
59163 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59164 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59165
59166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59167 instructions.
59168
59169 2011-11-07 Andreas Schwab <schwab@redhat.com>
59170
59171 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59172 handler when locking.
59173
59174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59175 Fix size of allocated buffer.
59176
59177 2011-11-04 Andreas Schwab <schwab@redhat.com>
59178
59179 [BZ #10103]
59180 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59181 declarations for long double functions.
59182 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59183
59184 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59185
59186 2011-11-03 Andreas Schwab <schwab@redhat.com>
59187
59188 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59189 installed.
59190
59191 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59192 is disabled.
59193
59194 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59195
59196 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59197
59198 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59199
59200 * include/alloca.h (stackinfo_alloca_round): Define.
59201 (extend_alloca): Use it.
59202 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59203 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59204 here.
59205
59206 * scripts/check-local-headers.sh: Ignore libaudit.h.
59207
59208 * nscd/Makefile (extra-objs): Make recursively expanded.
59209
59210 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59211
59212 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59213 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59214
59215 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59216 * posix/tst-rfc3484-2.c: Likewise.
59217 * posix/tst-rfc3484-3.c: Likewise.
59218
59219 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59220 process_vm_writev.
59221 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59222 process_vm_writev.
59223 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59224 process_vm_writev from libc using GLIBC_2.15 version.
59225
59226 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59227
59228 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59229
59230 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59231 stack usage.
59232
59233 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59234
59235 [BZ #13367]
59236 * nss/getent.c (initgroups_keys): Show error message in case no group
59237 names are given.
59238
59239 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59240 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59241 __bump_nl_timestamp.
59242 * nscd/connections (nscd_init): When host database is served open
59243 netlink socket and request notification about configuration changes.
59244 (main_loop_poll): Track netlink file descriptor and bump timestamp
59245 in case data becomes available.
59246 (main_loop_epoll): Likewise.
59247 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59248 (database_pers_head): Add extra_data fileds.
59249 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59250 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59251 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59252 Adjust caller.
59253 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59254 in6ai data, call __free_in6ai.
59255 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59256 Add -DHAVE_NETLINK.
59257 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59258 interface information. Reuse previous data if netlink timestamp
59259 is not changed.
59260 (__bump_nl_timestamp): New function.
59261 (__free_in6ai): New function.
59262
59263 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59264
59265 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59266 close_not_cancel_no_status here.
59267 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59268
59269 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59270
59271 [BZ #13276]
59272 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59273 return value.
59274
59275 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59276 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59277 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59278
59279 2011-07-03 Andreas Jaeger <aj@suse.de>
59280
59281 [BZ #10709]
59282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59283 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59284 * math/libm-test.inc (sin_test): Add test case.
59285
59286 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59287
59288 [BZ #13337]
59289 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59290 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59291
59292 * elf/chroot_canon.c (chroot_canon): Cleanups.
59293
59294 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59295
59296 [BZ #13335]
59297 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59298 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59299
59300 * string/test-strchr.c: Make usable for strchrnul testing.
59301 * string/test-strchrnul.c: New file.
59302 * string/Makefile (strop-tests): Add strchrnul.
59303
59304 * po/it.po: Update from translation team.
59305 * po/es.po: Likewise.
59306
59307 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59308
59309 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59310 the three constants needed as parameters. Drop the others.
59311 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59312 __m128i_strloadu_tolower.
59313 Create and initialize variable zero and use it in all the places
59314 where _mm_setzero_si128 was used.
59315
59316 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59317 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59318 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59319 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59320 anymore.
59321 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59322 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59323 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59324 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59325 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59326 __mpranred, __mptan.
59327 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59328 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59329 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59330 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59331 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59332 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59334 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59335 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59336
59337 2011-10-28 Andreas Schwab <schwab@redhat.com>
59338
59339 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59340 redefine if SHARED.
59341 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59342
59343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59344 wide char related routines to wcsmbs subdir.
59345
59346 2011-10-27 Andreas Schwab <schwab@redhat.com>
59347
59348 [BZ #13344]
59349 * misc/sys/cdefs.h (__THROWNL): Define.
59350 * posix/unistd.h: Use __THREADNL instead of __THREAD
59351 for memory synchronization functions.
59352
59353 2011-10-26 Roland McGrath <roland@hack.frob.com>
59354
59355 [BZ #13349]
59356 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59357 doesn't exist.
59358 * manual/stdio.texi (Obstack Streams): Node removed.
59359
59360 2011-10-26 Andreas Schwab <schwab@redhat.com>
59361
59362 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59363 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59364 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59365
59366 * math/math_private.h (math_force_eval): Allow non-addressable
59367 arguments.
59368 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59369
59370 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59371
59372 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59373 file is not needed.
59374
59375 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59380 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59381 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59382 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59383 Add AVX variants.
59384 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59385 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59386 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59387 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59388 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59389 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59390 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59391 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59392 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59393 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59394 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59395 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59396 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59397 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59398 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59399 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59400 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59401 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59402 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59403
59404 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59405 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59406
59407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59408 place. Use VEX encoding when compiling for AVX.
59409
59410 2011-10-25 Andreas Schwab <schwab@redhat.com>
59411
59412 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59413 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59414
59415 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59416
59417 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59418
59419 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59420 useless if() expression.
59421 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59422 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59423 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59425 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59426 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59429 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59430 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59431 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59432 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59433 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59434 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59435 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59436 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59437 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59438 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59439 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59440
59441 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59442
59443 2011-10-25 Andreas Schwab <schwab@redhat.com>
59444
59445 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59446 condition.
59447 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59448
59449 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59450
59451 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59452 .text section. Avoid duplicate constants.
59453 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59454 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59455 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59457 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59461 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59462 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59463 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59464 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59465 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59466 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59467 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59468 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59470 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59471 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59473 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59474 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59475 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59476 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59477 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59478 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59479 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59480 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59481 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59482 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59483 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59484 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59485 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59486 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59487 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59488 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59489 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59491 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59492 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59493 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59495 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59496 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59497 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59498
59499 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59500
59501 * sysdeps/x86_64/dla.h: Move to ...
59502 * sysdeps/x86_64/fpu/dla.h: ...here.
59503 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59504 situations. Use __builtin_fma only for gcc 4.6 and up.
59505
59506 * config.make.in: Add have-mfma4 entry.
59507 * configure.in: Substitute libc_cv_cc_fma4.
59508 * math/Makefile (dbl-only-routines): Add sincostab.
59509 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59510 Use __sincostab not sincos.
59511 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59512 name is a macro.
59513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59517 using __copysign.
59518 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59519 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59520 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59521 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59522 and __inv.
59523 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59524 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59525 __copysign.
59526 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59527 define aliases when function name is a macro.
59528 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59529 sysdeps/ieee754/dbl-64/sincos.tbl.
59530 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59531 fma4-enabled routines.
59532 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59533 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59534 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59535 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59536 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59537 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59538 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59539 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59540 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59541 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59542 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59543 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59544 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59545 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59546 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59547 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59548 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59549 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59550 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59552 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59553 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59554 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59555 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59556 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59557 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59559 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59560 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59561 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59562
59563 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59564 rename.
59565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59571 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59573
59574 2011-10-24 Andreas Schwab <schwab@redhat.com>
59575
59576 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59577
59578 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59579
59580 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59581
59582 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59583 prediction.
59584 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59585
59586 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59587 Remove unused variable magic_bits.
59588 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59589
59590 * string/strnlen.c: Define and use STRNLEN macro.
59591 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59592 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59594 * wcsmbs/wcslen.c: Define and use WCSLEN.
59595 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59596 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59597 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59598 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59599 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59600 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59601 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59602
59603 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59604
59605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59606 strnlen-sse2-no-bsf.
59607 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59609 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59610 Add strnlen support.
59611 (USE_AS_STRNLEN): New macro.
59612 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59613 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59614 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59615 * sysdeps/x86_64/wcslen.S: New file.
59616
59617 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59618
59619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59620 XMM-moves are used for copying on small sizes.
59621
59622 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59623
59624 * wcsmbs/Makefile (strop-tests): Add wcschr.
59625 * wcsmbs/test-wcschr.c: New file.
59626 * string/test-strchr.c: Update.
59627 Add wcschr support.
59628 (WIDE): New macro.
59629
59630 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59631
59632 * wcsmbs/Makefile (strop-tests): Add wcslen.
59633 * wcsmbs/test-wcslen.c: New file.
59634 * string/test-strlen.c: Update.
59635 Add wcslen support.
59636 (WIDE): New macro.
59637
59638 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59639
59640 * po/it.po: Update from translation team.
59641
59642 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59643
59644 * sysdeps/x86_64/wcscmp.S: Update.
59645 Fix wrong comparison semantics.
59646 wcscmp shall use signed comparison not unsigned.
59647 Don't use substraction to avoid overflow bug.
59648 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59649 * wcsmbc/wcscmp.c: Likewise.
59650 * string/test-strcmp.c: Likewise.
59651 Add new tests to check cases with negative values.
59652
59653 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59654
59655 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59656 * sysdeps/x86_64/dla.h: ...here. New file.
59657 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59662 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59666
59667 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59668
59669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59670 __ynl_finite aliases.
59671
59672 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59673
59674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59675
59676 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59677 define DLA_FMA.
59678 [DLA_FMA] (EMULV): Use DLA_FMA.
59679 [DLA_FMA] (MUL12): Use EMULV.
59680 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59681 that are not needed.
59682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59689
59690 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59691
59692 * math/s_nan.c: Undef __nan.
59693 * math/s_nanf.c: Undef __nanf.
59694 * math/s_nanl.c: Undef __nanl.
59695 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59696 "math_private.h".
59697
59698 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59699
59700 * math/s_catan.c: Add branch predictions.
59701 * math/s_catanf.c: Likewise.
59702 * math/s_catanh.c: Likewise.
59703 * math/s_catanhf.c: Likewise.
59704 * math/s_catanhl.c: Likewise.
59705 * math/s_catanl.c: Likewise.
59706 * math/s_cexp.c: Likewise.
59707 * math/s_cexpf.c: Likewise.
59708 * math/s_cexpl.c: Likewise.
59709 * math/s_clog.c: Likewise.
59710 * math/s_clog10.c: Likewise.
59711 * math/s_clog10f.c: Likewise.
59712 * math/s_clog10l.c: Likewise.
59713 * math/s_clogf.c: Likewise.
59714 * math/s_clogl.c: Likewise.
59715 * math/s_csqrt.c: Likewise.
59716 * math/s_csqrtf.c: Likewise.
59717 * math/s_csqrtl.c: Likewise.
59718 * math/s_ctanf.c: Likewise.
59719 * math/s_ctanh.c: Likewise.
59720 * math/s_ctanhf.c: Likewise.
59721 * math/s_ctanhl.c: Likewise.
59722 * math/s_ctanl.c: Likewise.
59723
59724 * math/math_private.h: Define __nan, __nanf, __nanl.
59725 * math/s_cacosh.c: Include <math_private.h>.
59726 * math/s_cacoshl.c: Likewise.
59727 * math/s_casinh.c: Likewise.
59728 * math/s_casinhf.c: Likewise.
59729 * math/s_casinhl.c: Likewise.
59730 * math/s_ccos.c: Rely entire on ccosh.
59731 * math/s_ccosf.c: Rely entire on ccoshf.
59732 * math/s_ccosl.c: Rely entirely on ccoshl.
59733 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59734 Remove tests for FE_INVALID.
59735 * math/s_ccoshf.c: Likewise.
59736 * math/s_ccoshl.c: Likewise.
59737 * math/s_csin.c: Likewise.
59738 * math/s_csinf.c: Likewise.
59739 * math/s_csinh.c Likewise.
59740 * math/s_csinhf.c: Likewise.
59741 * math/s_csinhl.c: Likewise.
59742 * math/s_csinl.c: Likewise.
59743 * math/s_ctan.c: Likewise.
59744 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59745 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59746 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59747
59748 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59749
59750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59751 compilation problems.
59752
59753 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59754 __builtin_expect.
59755
59756 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59757
59758 * sysdeps/i386/configure.in: Test for -mfma4 option.
59759 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59760 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59761 COMMON_CPUID_INDEX_80000001.
59762 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59763 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59764 use it if FMA3 is not supported.
59765 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59766
59767 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59768 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59769
59770 2011-10-20 Andreas Schwab <schwab@redhat.com>
59771
59772 [BZ #12892]
59773 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59774 it would create a cycle with a link time dependency.
59775
59776 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59777
59778 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59779 instruction.
59780 * string/Makefile (strop-tests): Add rawmemchr.
59781 * string/test-rawmemchr.c: New file.
59782
59783 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59785 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59786 when compiling str{,n}casecmp and when AVX is available. Hook up
59787 new optimized code in initializers.
59788
59789 2011-10-19 Andreas Schwab <schwab@redhat.com>
59790
59791 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59792 __feraiseexcept instead of feraiseexcept.
59793
59794 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59795
59796 * math/math_private.h: Define defaults for libc_fetestexcept and
59797 libc_feupdateenv.
59798 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59799 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59800 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59801 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59802 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59803 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59804 libc_fetestexcept and libc_feupdateenv.
59805
59806 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59807 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59808 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59809 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59810 libc_feholdexcept_setround.
59811
59812 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59813 Add s_nearbyint-c and s_nearbyintf-c.
59814 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59815 nearbyintf inlines.
59816 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59817 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59818 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59819 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59820
59821 * math/math_private.h: Define defaults for libc_fegetround,
59822 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59823 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59824 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59825 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59826 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59827 standard functions.
59828 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59829 Remove comments and hacks for old compiler versions.
59830 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59831 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59832 libc_feholdexceptl.
59833
59834 2011-10-18 Andreas Schwab <schwab@redhat.com>
59835
59836 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59837 (__feraiseexcept_renamed): Add __NTH.
59838 (feraiseexcept): Add __NTH. Rename local variables to fix
59839 namespace violations.
59840
59841 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59842
59843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59844
59845 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59846
59847 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59848 recently added interfaces.
59849 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59850
59851 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59852 about macro parameter expansion.
59853
59854 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59855 __NO_MATH_INLINES is defined. Cleanups.
59856
59857 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59858 and __floorf is target has SSE4.1.
59859 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59860 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59861 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59862 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59863
59864 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59865 name.
59866 (floorf): Likewise.
59867
59868 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59869
59870 2011-10-17 Andreas Schwab <schwab@redhat.com>
59871
59872 * misc/sys/cdefs.h: Fix last change.
59873
59874 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59875 database lookup.
59876
59877 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59878
59879 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59880
59881 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59882 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59883 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59884 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59887 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59889 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59890 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59891 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59892 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59893 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59894 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59895 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59896 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59897 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59898 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59899 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59900 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59901 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59902 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59903
59904 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59905 ceil, ceilf, floor, floorf.
59906
59907 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59908 Perform IRELATIVE relocations last.
59909
59910 * elf/do-rel.h: Add another parameter nrelative, replacing the
59911 local variable with the same name. Change name of the function
59912 to end in Rel or Rela (uppercase).
59913 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59914 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59915 elf_dynamic_do_##reloc function.
59916
59917 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59918
59919 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59920 is sufficient, at least on modern CPUs.
59921
59922 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59923
59924 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59925 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59926
59927 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59928 __expl_finite.
59929 * math/bits/math-finite.h: Add entries for exp.
59930 * math/e_expl.c: Add __*_finite alias.
59931 * sysdeps/i386/fpu/e_exp.S: Likewise.
59932 * sysdeps/i386/fpu/e_expf.S: Likewise.
59933 * sysdeps/i386/fpu/e_expl.c: Likewise.
59934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59935 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59936 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59938 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59939 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59940 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59941
59942 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59943 is sufficient, at least on modern CPUs.
59944
59945 * ctype/ctype-info.c (__ctype_init): Define.
59946 * include/ctype.h (__ctype_init): Declare.
59947 (__ctype_b_loc): The variable is always initialized.
59948 (__ctype_toupper_loc): Likewise.
59949 (__ctype_tolower_loc): Likewise.
59950 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59951 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59952
59953 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
59954
59955 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59956
59957 * configure.in: Also look in $cxxmachine/include for C++ system
59958 headers.
59959
59960 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59961
59962 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59963 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59964 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59965 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
59966 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59967 (USE_AS_WMEMCMP): New macro.
59968 Fixing indents.
59969 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59970 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59971 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59972 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59974 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59975 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59976 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59977 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59978 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59980 (USE_AS_WMEMCMP): New macro.
59981 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59982 * sysdeps/string/test-memcmp.c: Update.
59983 Fix simple_wmemcmp.
59984 Add new tests.
59985 * wcsmbs/wmemcmp.c: Update.
59986 (WMEMCMP): New macro.
59987 Fix overflow bug.
59988
59989 2011-10-12 Andreas Jaeger <aj@suse.de>
59990
59991 [BZ #13268]
59992 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59993
59994 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59995
59996 * libio/iofwide.c (do_length): Avoid warning.
59997
59998 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59999
60000 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60001
60002 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60003
60004 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60005 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60006 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60007 * sysdeps/i386/i686/fpu/e_log.S: New file.
60008 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60009 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60010
60011 * ctype/ctype.h: Add support for inlined isXXX functions when
60012 compiling C++ code.
60013
60014 2011-10-14 Andreas Schwab <schwab@redhat.com>
60015
60016 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60017
60018 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60019
60020 2011-10-13 Roland McGrath <roland@hack.frob.com>
60021
60022 [BZ #13291]
60023 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60024
60025 2011-10-13 Andreas Schwab <schwab@redhat.com>
60026
60027 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60028 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60029 feraiseexcept.
60030
60031 * sysdeps/x86_64/memrchr.S: Check for zero size.
60032
60033 * string/stratcliff.c: Add memrchr tests.
60034
60035 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60036
60037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60038 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60039 rawmemchr-sse2 rawmemchr-sse2-bsf.
60040 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60041 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60042 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60043 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60044 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60045 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60046 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60047 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60048 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60049 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60050 * string/memrchr.c (MEMRCHR): New macro.
60051
60052 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60053
60054 Add integration with gcc's -ffinite-math-only and optimize wrapper
60055 functions in libm.
60056 * Versions.def: Define GLIBC_2.15 version for libm.
60057 * math/Makefile (headers): Add bits/math-finite.h.
60058 * math/bits/math-finite.h: New file.
60059 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60060 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60061 * math/e_acoshl.c: Add __*_finite alias.
60062 * math/e_acosl.c: Likewise.
60063 * math/e_asinl.c: Likewise.
60064 * math/e_atan2l.c: Likewise.
60065 * math/e_atanhl.c: Likewise.
60066 * math/e_coshl.c: Likewise.
60067 * math/e_exp10.c: Likewise.
60068 * math/e_exp10f.c: Likewise.
60069 * math/e_exp10l.c: Likewise.
60070 * math/e_exp2l.c: Likewise.
60071 * math/e_fmodl.c: Likewise.
60072 * math/e_gammal_r.c: Likewise.
60073 * math/e_hypotl.c: Likewise.
60074 * math/e_j0l.c: Likewise.
60075 * math/e_j1l.c: Likewise.
60076 * math/e_jnl.c: Likewise.
60077 * math/e_lgammal_r.c: Likewise.
60078 * math/e_log10l.c: Likewise.
60079 * math/e_log2l.c: Likewise.
60080 * math/e_logl.c: Likewise.
60081 * math/e_powl.c: Likewise.
60082 * math/e_sinhl.c: Likewise.
60083 * math/e_sqrtl.c: Likewise.
60084 * math/e_scalb.c: Completely rewritten and optimized.
60085 * math/e_scalbf.c: Likewise.
60086 * math/e_scalbl.c: Likewise.
60087 * math/w_acos.c: Likewise.
60088 * math/w_acosf.c: Likewise.
60089 * math/w_acosl.c: Likewise.
60090 * math/w_acosh.c: Likewise.
60091 * math/w_acoshf.c: Likewise.
60092 * math/w_acoshl.c: Likewise.
60093 * math/w_asin.c: Likewise.
60094 * math/w_asinf.c: Likewise.
60095 * math/w_asinl.c: Likewise.
60096 * math/w_atan2.c: Likewise.
60097 * math/w_atan2f.c: Likewise.
60098 * math/w_atan2l.c: Likewise.
60099 * math/w_atanh.c: Likewise.
60100 * math/w_atanhf.c: Likewise.
60101 * math/w_atanhl.c: Likewise.
60102 * math/w_exp10.c: Likewise.
60103 * math/w_exp10f.c: Likewise.
60104 * math/w_exp10l.c: Likewise.
60105 * math/w_fmod.c: Likewise.
60106 * math/w_fmodf.c: Likewise.
60107 * math/w_fmodl.c: Likewise.
60108 * math/w_j0.c: Likewise.
60109 * math/w_j0f.c: Likewise.
60110 * math/w_j0l.c: Likewise.
60111 * math/w_j1.c: Likewise.
60112 * math/w_j1f.c: Likewise.
60113 * math/w_j1l.c: Likewise.
60114 * math/w_jn.c: Likewise.
60115 * math/w_jnf.c: Likewise.
60116 * math/w_log.c: Likewise.
60117 * math/w_logf.c: Likewise.
60118 * math/w_logl.c: Likewise.
60119 * math/w_log10.c: Likewise.
60120 * math/w_log10f.c: Likewise.
60121 * math/w_log10l.c: Likewise.
60122 * math/w_log2.c: Likewise.
60123 * math/w_log2f.c: Likewise.
60124 * math/w_log2l.c: Likewise.
60125 * math/w_pow.c: Likewise.
60126 * math/w_powf.c: Likewise.
60127 * math/w_powl.c: Likewise.
60128 * math/w_remainder.c: Likewise.
60129 * math/w_remainderf.c: Likewise.
60130 * math/w_remainderl.c: Likewise.
60131 * math/w_scalb.c: Likewise.
60132 * math/w_scalbf.c: Likewise.
60133 * math/w_scalbl.c: Likewise.
60134 * math/w_sqrt.c: Likewise.
60135 * math/w_sqrtf.c: Likewise.
60136 * math/w_sqrtl.c: Likewise.
60137 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60138 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60139 used.
60140 * math/math_private.h: Declare __kernel_standard_f.
60141 * math/w_cosh.c: Remove cruft and optimize a bit.
60142 * math/w_coshf.c: Likewise.
60143 * math/w_coshl.c: Likewise.
60144 * math/w_exp2.c: Likewise.
60145 * math/w_exp2f.c: Likewise.
60146 * math/w_exp2l.c: Likewise.
60147 * math/w_hypot.c: Likewise.
60148 * math/w_hypotf.c: Likewise.
60149 * math/w_hypotl.c: Likewise.
60150 * math/w_lgamma.c: Likewise.
60151 * math/w_lgamma_r.c: Likewise.
60152 * math/w_lgammaf.c: Likewise.
60153 * math/w_lgammaf_r.c: Likewise.
60154 * math/w_lgammal.c: Likewise.
60155 * math/w_lgammal_r.c: Likewise.
60156 * math/w_sinh.c: Likewise.
60157 * math/w_sinhf.c: Likewise.
60158 * math/w_sinhl.c: Likewise.
60159 * math/w_tgamma.c: Likewise.
60160 * math/w_tgammaf.c: Likewise.
60161 * math/w_tgammal.c: Likewise.
60162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60164 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60165 Minor optimizations. Pretty printing. Remove cruft.
60166 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60167 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60168 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60169 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60170 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60171 * sysdeps/i386/fpu/e_asin.S: Likewise.
60172 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60173 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60174 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60175 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60176 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60177 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60178 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60179 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60180 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60181 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60182 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60183 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60184 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60185 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60186 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60187 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60188 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60189 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60190 * sysdeps/i386/fpu/e_log.S: Likewise.
60191 * sysdeps/i386/fpu/e_log10.S: Likewise.
60192 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60193 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60194 * sysdeps/i386/fpu/e_log2.S: Likewise.
60195 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60196 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60197 * sysdeps/i386/fpu/e_logf.S: Likewise.
60198 * sysdeps/i386/fpu/e_logl.S: Likewise.
60199 * sysdeps/i386/fpu/e_pow.S: Likewise.
60200 * sysdeps/i386/fpu/e_powf.S: Likewise.
60201 * sysdeps/i386/fpu/e_powl.S: Likewise.
60202 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60203 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60204 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60205 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60206 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60207 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60208 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60209 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60210 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60211 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60212 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60214 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60215 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60216 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60217 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60218 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60219 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60220 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60221 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60222 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60224 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60225 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60227 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60228 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60229 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60230 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60231 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60232 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60233 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60234 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60235 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60236 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60237 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60238 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60239 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60240 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60241 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60242 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60243 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60244 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60245 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60246 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60247 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60248 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60249 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60250 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60251 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60252 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60253 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60254 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60255 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60259 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60260 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60261 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60262 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60263 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60264 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60266 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60267 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60268 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60269 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60270 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60271 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60275 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60276 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60279 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60280 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60281 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60282 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60283 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60285 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60286 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60287 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60288 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60289 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60290 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60291 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60292 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60294 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60295 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60296 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60298 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60299 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60300 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60302 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60303 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60304 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60305 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60306 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60307 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60308 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60309 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60310 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60311 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60312 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60313 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60314 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60315 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60316 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60317 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60318 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60319 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60320 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60321 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60322 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60323 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60324 (__isnanf): Likewise.
60325 (__isinf_ns): Likewise.
60326 (__isinf_nsf): Likewise.
60327 (__finite): Likewise.
60328 (__finitef): Likewise.
60329 (__ieee754_sqrt): Define as macro.
60330 (__ieee754_sqrtf): Define as macro.
60331 (__ieee754_sqrtl): Define as macro.
60332 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60333 inlined copy.
60334 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60335 __FINITE_MATH_ONLY__ consistent.
60336 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60337
60338 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60339
60340 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60341 of rawmemchr.
60342
60343 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60344
60345 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60346
60347 * po/ja.po: Update from translation team.
60348
60349 2011-10-08 Roland McGrath <roland@hack.frob.com>
60350
60351 * locale/programs/locarchive.c (prepare_address_space): New function.
60352 (create_archive, enlarge_archive, open_archive): Use it.
60353
60354 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60355 inside [SHARED], where it is used.
60356
60357 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60358
60359 * nss/getent.c (netgroup_keys): Remove unused variable.
60360 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60361
60362 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60363
60364 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60365 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60367 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60368 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60369 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60370 * math/Makefile (libm-calls): Add s_isinf_ns.
60371 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60372 * math/multc3.c: Likewise.
60373 * math/s_casin.c: Likewise.
60374 * math/s_casinf.c: Likewise.
60375 * math/s_casinl.c: Likewise.
60376 * math/s_ccos.c: Likewise.
60377 * math/s_ccosf.c: Likewise.
60378 * math/s_ccosl.c: Likewise.
60379 * math/s_ctan.c: Likewise.
60380 * math/s_ctanf.c: Likewise.
60381 * math/s_ctanh.c: Likewise.
60382 * math/s_ctanhf.c: Likewise.
60383 * math/s_ctanhl.c: Likewise.
60384 * math/s_ctanl.c: Likewise.
60385 * math/w_fmod.c: Likewise.
60386 * math/w_fmodf.c: Likewise.
60387 * math/w_fmodl.c: Likewise.
60388 * math/w_remainder.c: Likewise.
60389 * math/w_remainderf.c: Likewise.
60390 * math/w_remainderl.c: Likewise.
60391 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60392 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60395 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60396 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60397 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60398 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60399
60400 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60401 of the number.
60402 * stdio-common/printf_fphex.c: Likewise.
60403 * stdio-common/printf_size.c: Likewise.
60404
60405 * math/e_exp10.c: Include math_private.h using <...> not "...".
60406 * math/e_exp10f.c: Likewise.
60407 * math/e_exp10l.c: Likewise.
60408 * math/e_exp2l.c: Likewise.
60409 * math/e_j0l.c: Likewise.
60410 * math/e_j1l.c: Likewise.
60411 * math/e_jnl.c: Likewise.
60412 * math/e_lgammal_r.c: Likewise.
60413 * math/e_rem_pio2l.c: Likewise.
60414 * math/e_scalb.c: Likewise.
60415 * math/e_scalbf.c: Likewise.
60416 * math/e_scalbl.c: Likewise.
60417 * math/k_cosl.c: Likewise.
60418 * math/k_sinl.c: Likewise.
60419 * math/k_tanl.c: Likewise.
60420 * math/s_cacoshf.c: Likewise.
60421 * math/s_catan.c: Likewise.
60422 * math/s_catanf.c: Likewise.
60423 * math/s_catanh.c: Likewise.
60424 * math/s_catanhf.c: Likewise.
60425 * math/s_catanhl.c: Likewise.
60426 * math/s_catanl.c: Likewise.
60427 * math/s_ccosh.c: Likewise.
60428 * math/s_ccoshf.c: Likewise.
60429 * math/s_ccoshl.c: Likewise.
60430 * math/s_cexp.c: Likewise.
60431 * math/s_cexpf.c: Likewise.
60432 * math/s_cexpl.c: Likewise.
60433 * math/s_clog.c: Likewise.
60434 * math/s_clog10.c: Likewise.
60435 * math/s_clog10f.c: Likewise.
60436 * math/s_clog10l.c: Likewise.
60437 * math/s_clogf.c: Likewise.
60438 * math/s_clogl.c: Likewise.
60439 * math/s_csin.c: Likewise.
60440 * math/s_csinf.c: Likewise.
60441 * math/s_csinh.c: Likewise.
60442 * math/s_csinhf.c: Likewise.
60443 * math/s_csinhl.c: Likewise.
60444 * math/s_csinl.c: Likewise.
60445 * math/s_csqrt.c: Likewise.
60446 * math/s_csqrtf.c: Likewise.
60447 * math/s_csqrtl.c: Likewise.
60448 * math/s_ctan.c: Likewise.
60449 * math/s_ctanf.c: Likewise.
60450 * math/s_ctanh.c: Likewise.
60451 * math/s_ctanhf.c: Likewise.
60452 * math/s_ctanhl.c: Likewise.
60453 * math/s_ctanl.c: Likewise.
60454 * math/s_ldexp.c: Likewise.
60455 * math/s_ldexpf.c: Likewise.
60456 * math/s_ldexpl.c: Likewise.
60457 * math/s_significand.c: Likewise.
60458 * math/s_significandf.c: Likewise.
60459 * math/s_significandl.c: Likewise.
60460 * math/w_acos.c: Likewise.
60461 * math/w_acosf.c: Likewise.
60462 * math/w_acosh.c: Likewise.
60463 * math/w_acoshf.c: Likewise.
60464 * math/w_acoshl.c: Likewise.
60465 * math/w_acosl.c: Likewise.
60466 * math/w_asin.c: Likewise.
60467 * math/w_asinf.c: Likewise.
60468 * math/w_asinl.c: Likewise.
60469 * math/w_atan2.c: Likewise.
60470 * math/w_atan2f.c: Likewise.
60471 * math/w_atan2l.c: Likewise.
60472 * math/w_atanh.c: Likewise.
60473 * math/w_atanhf.c: Likewise.
60474 * math/w_atanhl.c: Likewise.
60475 * math/w_cosh.c: Likewise.
60476 * math/w_coshf.c: Likewise.
60477 * math/w_coshl.c: Likewise.
60478 * math/w_dremf.c: Likewise.
60479 * math/w_exp10.c: Likewise.
60480 * math/w_exp10f.c: Likewise.
60481 * math/w_exp10l.c: Likewise.
60482 * math/w_exp2.c: Likewise.
60483 * math/w_exp2f.c: Likewise.
60484 * math/w_fmod.c: Likewise.
60485 * math/w_fmodf.c: Likewise.
60486 * math/w_fmodl.c: Likewise.
60487 * math/w_hypot.c: Likewise.
60488 * math/w_hypotf.c: Likewise.
60489 * math/w_hypotl.c: Likewise.
60490 * math/w_j0.c: Likewise.
60491 * math/w_j0f.c: Likewise.
60492 * math/w_j0l.c: Likewise.
60493 * math/w_j1.c: Likewise.
60494 * math/w_j1f.c: Likewise.
60495 * math/w_j1l.c: Likewise.
60496 * math/w_jn.c: Likewise.
60497 * math/w_jnf.c: Likewise.
60498 * math/w_jnl.c: Likewise.
60499 * math/w_lgamma.c: Likewise.
60500 * math/w_lgamma_r.c: Likewise.
60501 * math/w_lgammaf.c: Likewise.
60502 * math/w_lgammaf_r.c: Likewise.
60503 * math/w_lgammal.c: Likewise.
60504 * math/w_lgammal_r.c: Likewise.
60505 * math/w_log.c: Likewise.
60506 * math/w_log10.c: Likewise.
60507 * math/w_log10f.c: Likewise.
60508 * math/w_log10l.c: Likewise.
60509 * math/w_log2.c: Likewise.
60510 * math/w_log2f.c: Likewise.
60511 * math/w_log2l.c: Likewise.
60512 * math/w_logf.c: Likewise.
60513 * math/w_logl.c: Likewise.
60514 * math/w_pow.c: Likewise.
60515 * math/w_powf.c: Likewise.
60516 * math/w_powl.c: Likewise.
60517 * math/w_remainder.c: Likewise.
60518 * math/w_remainderf.c: Likewise.
60519 * math/w_remainderl.c: Likewise.
60520 * math/w_scalb.c: Likewise.
60521 * math/w_scalbf.c: Likewise.
60522 * math/w_scalbl.c: Likewise.
60523 * math/w_sinh.c: Likewise.
60524 * math/w_sinhf.c: Likewise.
60525 * math/w_sinhl.c: Likewise.
60526 * math/w_sqrt.c: Likewise.
60527 * math/w_sqrtf.c: Likewise.
60528 * math/w_sqrtl.c: Likewise.
60529 * math/w_tgamma.c: Likewise.
60530 * math/w_tgammaf.c: Likewise.
60531 * math/w_tgammal.c: Likewise.
60532
60533 * po/ja.po: Update from translation team.
60534
60535 2011-09-29 Andreas Jaeger <aj@suse.de>
60536
60537 [BZ #13179]
60538 * sunrpc/netname.c (netname2host): Fix logic.
60539
60540 [BZ #6779]
60541 [BZ #6783]
60542 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60543 correctly.
60544 * math/w_remainder.c (__remainder): Likewise.
60545 * math/w_remainderf.c (__remainderf): Likewise.
60546 * math/libm-test.inc (remainder_test): Add test cases.
60547
60548 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60549
60550 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60551 sdiv_qrnnd.
60552
60553 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60554
60555 * string/test-memcmp.c: Avoid unncessary #defines.
60556 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60557
60558 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60559
60560 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60561 Use new sse2 version for core i3 - i7 as it's faster
60562 than sse42 version.
60563 (bit_Prefer_PMINUB_for_stringop): New.
60564 * sysdeps/x86_64/rawmemchr.S: Update.
60565 Replace with faster SSE2 version.
60566 * sysdeps/x86_64/memrchr.S: New file.
60567 * sysdeps/x86_64/memchr.S: Update.
60568 Replace with faster SSE2 version.
60569
60570 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60571
60572 * elf/dl-load.c (lose): Add cast to avoid warning.
60573
60574 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60575
60576 * po/ca.po: Update from translation team.
60577
60578 * inet/getnetgrent_r.c: Hook up nscd.
60579 * nscd/Makefile (routines): Add nscd_netgroup.
60580 (nscd-modules): Add netgroupcache.
60581 (CFLAGS-netgroupcache.c): Define.
60582 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60583 (cache_search): Add const to second parameter.
60584 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60585 INNETGR.
60586 (dbs): Add netgrdb entry.
60587 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60588 (verify_persistent_db): Handle netgrdb.
60589 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60590 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60591 GETFDNETGR.
60592 (netgroup_response_header): Define.
60593 (innetgroup_response_header): Define.
60594 (datahead): Add netgroup_response_header and innetgroup_response_header
60595 elements.
60596 * nscd/nscd.conf: Add entries for netgroup cache.
60597 * nscd/nscd.h (dbtype): Add netgrdb.
60598 (_PATH_NSCD_NETGROUP_DB): Define.
60599 (netgroup_iov_disabled): Declare.
60600 (xmalloc, xcalloc, xrealloc): Move declarations here.
60601 (cache_search): Adjust prototype.
60602 Add netgroup-related prototypes.
60603 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60604 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60605 (__nscd_innetgr): Declare.
60606 * nscd/selinux.c (perms): Use access_vector_t as element type and
60607 add netgroup-related initializers.
60608 * nscd/netgroupcache.c: New file.
60609 * nscd/nscd_netgroup.c: New file.
60610 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60611 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60612 For four parameters use innetgr.
60613 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60614 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60615 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60616 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60617
60618 * nscd/connections.c (register_traced_file): Don't register file
60619 for disabled databases.
60620
60621 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60622
60623 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60624
60625 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60626 from tree and freeing node.
60627
60628 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60629
60630 * nss/nsswitch.c (__nss_database_lookup): Handle
60631 nss_parse_service_list out of memory case.
60632
60633 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60634
60635 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60636 out of memory case.
60637
60638 2011-10-04 Andreas Schwab <schwab@redhat.com>
60639
60640 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60641 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60642 pass it down.
60643 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60644 elf_machine_rela, elf_machine_lazy_rel.
60645 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60646 (ELF_DYNAMIC_DO_REL): Likewise.
60647 (ELF_DYNAMIC_DO_RELA): Likewise.
60648 (ELF_DYNAMIC_RELOCATE): Likewise.
60649 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60650 to ELF_DYNAMIC_DO_REL.
60651 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60652 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60653 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60654 elf_machine_rela.
60655 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60656 skip_ifunc, don't call ifunc function if non-zero.
60657 (elf_machine_rela): Likewise.
60658 (elf_machine_lazy_rel): Likewise.
60659 (elf_machine_lazy_rela): Likewise.
60660 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60661 (elf_machine_lazy_rel): Likewise.
60662 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60663 Likewise.
60664 (elf_machine_lazy_rel): Likewise.
60665 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60666 Likewise.
60667 (elf_machine_lazy_rel): Likewise.
60668 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60669 (elf_machine_lazy_rel): Likewise.
60670 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60671 (elf_machine_lazy_rel): Likewise.
60672 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60673 (elf_machine_lazy_rel): Likewise.
60674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60675 (elf_machine_lazy_rel): Likewise.
60676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60677 (elf_machine_lazy_rel): Likewise.
60678 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60679 (elf_machine_lazy_rel): Likewise.
60680
60681 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60682
60683 * nss/nss_files/files-init.c (_nss_files_init): Use static
60684 initialization for all the *_traced_file variables.
60685
60686 2011-09-28 Andreas Schwab <schwab@redhat.com>
60687
60688 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60689
60690 2011-09-27 Roland McGrath <roland@hack.frob.com>
60691
60692 [BZ #13226]
60693 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60694
60695 2011-09-27 Andreas Schwab <schwab@redhat.com>
60696
60697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60698 Reread the line before reparsing it.
60699
60700 2011-09-26 Andreas Schwab <schwab@redhat.com>
60701
60702 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60703
60704 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60705 Maxim Kuvyrkov <maxim@codesourcery.com>
60706 Joseph Myers <joseph@codesourcery.com>
60707
60708 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60709 if needed for __stack_chk_guard.
60710
60711 2011-09-19 Roland McGrath <roland@hack.frob.com>
60712
60713 * sysdeps/posix/spawni.c (script_execute): Always define it.
60714 It will be optimized away if unused.
60715 (maybe_script_execute): New function.
60716 (__spawni): Call it.
60717
60718 * Makerules: Don't include tls.make.
60719 (config-tls): Always set to thread.
60720 * tls.make.c: File removed.
60721
60722 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60723
60724 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60725 * config.make.in (CPPFLAGS-config): New substituted variable.
60726
60727 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60728
60729 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60730
60731 [BZ #13192]
60732 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60733 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60734
60735 2011-09-15 Roland McGrath <roland@hack.frob.com>
60736
60737 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60738 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60740 (CALL_FAIL): Likewise.
60741 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60742 (CALL_FAIL): Macro removed.
60743 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60744
60745 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60746
60747 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60748 for __FINITE_MATH_ONLY__ == 1.
60749
60750 2011-09-15 Andreas Schwab <schwab@redhat.com>
60751
60752 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60753 __ieee754_sqrt instead of sqrt.
60754 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60755 __ieee754_sqrtf instead of sqrtf.
60756 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60757 __floorf instead of floorf.
60758 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60759 __floorf, __truncf instead of floorf, truncf.
60760
60761 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60762
60763 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60764
60765 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60766 __extern_always_inline.
60767 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60768 32-bit.
60769
60770 2011-09-14 Andreas Schwab <schwab@redhat.com>
60771
60772 * elf/rtld.c (dl_main): Also relocate in dependency order when
60773 doing symbol dependency testing.
60774
60775 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60776
60777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60778 Always define `refsym'.
60779
60780 2011-09-13 Andreas Schwab <schwab@redhat.com>
60781
60782 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60783 (__FD_ELT): Renamed from __FDELT.
60784 * misc/bits/select2.h (__FD_ELT): Likewise.
60785 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60786 __FD_MASK instead of __FDELT, __FDMASK.
60787 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60788 Likewise.
60789 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60790 Likewise.
60791
60792 * elf/Makefile (gen-ldd): Fix pattern.
60793
60794 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60795 (init_tls): Likewise.
60796
60797 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60798
60799 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60800
60801 2011-09-12 Andreas Schwab <schwab@redhat.com>
60802
60803 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60804 `struct cmsghdr *' instead of `void *'.
60805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60806 Likewise.
60807
60808 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60809
60810 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60811 if non-absolute.
60812 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60813 ldd_rewrite_script.
60814
60815 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60816
60817 * configure.in: Remove --with-tls option.
60818 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60819 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60820 out in case it is missing.
60821 * sysdeps/ia64/elf/configure.in: Likewise.
60822 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60823 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60824 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60825 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60826 * sysdeps/sh/elf/configure.in: Likewise.
60827 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60828 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60829 * sysdeps/x86_64/elf/configure.in: Likewise.
60830 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60831 * sysdeps/mach/hurd/tls.h: Likewise.
60832
60833 [BZ #13067]
60834 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60835
60836 [BZ #13090]
60837 * configure.in: Fix use of AC_INIT.
60838
60839 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60840
60841 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60842
60843 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60844 __set_errno.
60845 * malloc/hooks.c: Likewise.
60846
60847 [BZ #11929]
60848 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60849 variables statically.
60850 (narenas): Initialize.
60851 (list_lock): Initialize.
60852 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60853 initializtion of main_arena and list_lock. Small cleanups.
60854 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60855 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60856 Add initializers to main_arena and mp_.
60857 (malloc_state): Remove pagesize member. Change all users to use
60858 GLRO(dl_pagesize).
60859
60860 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60861 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60862 is always initialized.
60863
60864 * malloc/malloc.c: Removed unused configurations and dead code.
60865 * malloc/arena.c: Likewise.
60866 * malloc/hooks.c: Likewise.
60867 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60868
60869 * include/tls.h: Removed. USE___THREAD must always be defined.
60870 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60871 * elf/dl-libc.c: Likewise.
60872 * elf/dl-tsd.c: Likewise.
60873 * include/errno.h: Likewise.
60874 * include/netdb.h: Likewise.
60875 * include/resolv.h: Likewise.
60876 * inet/herrno-loc.c: Likewise.
60877 * inet/herrno.c: Likewise.
60878 * malloc/arena.c: Likewise.
60879 * malloc/hooks.c: Likewise.
60880 * malloc/malloc.c: Likewise.
60881 * resolv/res-state.c: Likewise.
60882 * resolv/res_libc.c: Likewise.
60883 * sysdeps/i386/dl-machine.h: Likewise.
60884 * sysdeps/ia64/dl-machine.h: Likewise.
60885 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60886 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60887 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60888 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60889 * sysdeps/sh/dl-machine.h: Likewise.
60890 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60891 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60892 * sysdeps/unix/i386/sysdep.S: Likewise.
60893 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60894 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60898 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60899 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60903 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60904 * sysdeps/x86_64/dl-machine.h: Likewise.
60905 * tls.make.c: Likewise.
60906
60907 * configure.in: Remove --with-__thread option. Make tests for
60908 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60909 tls_model attribute fail if no support is available. Remove
60910 USE_IN_LIBIO.
60911 * Makeconfig: Adjust for dropped configure option. All features are
60912 now mandatory.
60913 * Makerules: Likewise.
60914 * Versions.def: Likewise.
60915 * argp/argp-fmtstream.c: Likewise.
60916 * argp/argp-fmtstream.h: Likewise.
60917 * argp/argp-help.c: Likewise.
60918 * assert/assert.c: Likewise.
60919 * config.h.in: Likewise.
60920 * config.make.in: Likewise.
60921 * configure: Likewise.
60922 * configure.in: Likewise.
60923 * csu/Versions: Likewise.
60924 * csu/init.c: Likewise.
60925 * elf/tst-audit2.c: Likewise.
60926 * elf/tst-tls10.c: Likewise.
60927 * elf/tst-tls10.h: Likewise.
60928 * elf/tst-tls11.c: Likewise.
60929 * elf/tst-tls12.c: Likewise.
60930 * elf/tst-tls14.c: Likewise.
60931 * elf/tst-tlsmod11.c: Likewise.
60932 * elf/tst-tlsmod12.c: Likewise.
60933 * elf/tst-tlsmod13.c: Likewise.
60934 * elf/tst-tlsmod13a.c: Likewise.
60935 * elf/tst-tlsmod14a.c: Likewise.
60936 * elf/tst-tlsmod15b.c: Likewise.
60937 * elf/tst-tlsmod16a.c: Likewise.
60938 * elf/tst-tlsmod16b.c: Likewise.
60939 * elf/tst-tlsmod7.c: Likewise.
60940 * elf/tst-tlsmod8.c: Likewise.
60941 * elf/tst-tlsmod9.c: Likewise.
60942 * gmon/gmon.c: Likewise.
60943 * grp/fgetgrent_r.c: Likewise.
60944 * grp/putgrent.c: Likewise.
60945 * hurd/fopenport.c: Likewise.
60946 * include/libc-symbols.h: Likewise.
60947 * include/tls.h: Likewise.
60948 * intl/gettextP.h: Likewise.
60949 * intl/loadinfo.h: Likewise.
60950 * locale/global-locale.c: Likewise.
60951 * locale/localeinfo.h: Likewise.
60952 * mach/devstream.c: Likewise.
60953 * malloc/arena.c: Likewise.
60954 * malloc/set-freeres.c: Likewise.
60955 * misc/err.c: Likewise.
60956 * misc/getttyent.c: Likewise.
60957 * misc/mntent_r.c: Likewise.
60958 * posix/getopt.c: Likewise.
60959 * posix/wordexp.c: Likewise.
60960 * pwd/fgetpwent_r.c: Likewise.
60961 * resolv/Versions: Likewise.
60962 * resolv/res_hconf.c: Likewise.
60963 * shadow/fgetspent_r.c: Likewise.
60964 * shadow/putspent.c: Likewise.
60965 * stdio-common/printf_fphex.c: Likewise.
60966 * stdio-common/tmpfile.c: Likewise.
60967 * stdlib/abort.c: Likewise.
60968 * stdlib/fmtmsg.c: Likewise.
60969 * sunrpc/auth_unix.c: Likewise.
60970 * sunrpc/clnt_perr.c: Likewise.
60971 * sunrpc/clnt_tcp.c: Likewise.
60972 * sunrpc/clnt_udp.c: Likewise.
60973 * sunrpc/clnt_unix.c: Likewise.
60974 * sunrpc/openchild.c: Likewise.
60975 * sunrpc/svc_simple.c: Likewise.
60976 * sunrpc/svc_tcp.c: Likewise.
60977 * sunrpc/svc_udp.c: Likewise.
60978 * sunrpc/svc_unix.c: Likewise.
60979 * sunrpc/xdr.c: Likewise.
60980 * sunrpc/xdr_array.c: Likewise.
60981 * sunrpc/xdr_rec.c: Likewise.
60982 * sunrpc/xdr_ref.c: Likewise.
60983 * sunrpc/xdr_stdio.c: Likewise.
60984
60985 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60986
60987 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60988
60989 2011-07-03 Andreas Jaeger <aj@suse.de>
60990
60991 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60992 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60993 regenerate with gen-libm-tests.pl.
60994
60995 2010-05-12 Petr Baudis <pasky@suse.cz>
60996
60997 [BZ #11589]
60998 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60999 around j0() zero points by switching to j1().
61000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61001 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61003 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61004
61005 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61006
61007 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61008 instead of 0.
61009 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61010 instead of 0.
61011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61012 Patch in part by Pavel Roskin <proski@gnu.org>.
61013
61014 [BZ #13138]
61015 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61016 realloc.
61017 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61018 Free memory block if necessary.
61019
61020 [BZ #12847]
61021 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61022 be NULL. Don't lock in this case.
61023
61024 2011-09-09 Roland McGrath <roland@hack.frob.com>
61025
61026 * elf/elf.h (ELFOSABI_GNU): New macro.
61027 (ELFOSABI_LINUX): Define to that.
61028
61029 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61030
61031 * string/strncat.c (strncat): Undef the symbol in case it has been
61032 defined in bits/string.h.
61033
61034 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61035
61036 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61037
61038 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61039 link map.
61040
61041 2011-08-17 Andreas Jaeger <aj@suse.de>
61042
61043 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61044
61045 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61046 Ian Lance Taylor <iant@google.com>
61047
61048 * math/libm-test.inc (lround_test): New testcase.
61049 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61050
61051 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61052
61053 * Makefile: Remove support for automatic cvs check-ins.
61054 * Makerules: Likewise.
61055 * config.make.in: Likewise.
61056 * configure.in: Likewise.
61057 * intl/Makefile: Likewise.
61058 * locale/Makefile: Likewise.
61059 * po/Makefile: Likewise.
61060 * posix/Makefile: Likewise.
61061 * sysdeps/gnu/Makefile: Likewise.
61062 * sysdeps/mach/hurd/Makefile: Likewise.
61063 * sysdeps/sparc/sparc32/Makefile: Likewise.
61064
61065 [BZ #13118]
61066 * posix/Makefile (bug-regex32-ENV): Define.
61067 Patch by John Stanley <jpsinthemix@verizon.net>.
61068
61069 * misc/Makefile (headers): Add bits/select2.h.
61070 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61071 * misc/bits/select2.h: New file.
61072 * include/bits/select2.h: New file.
61073 * debug/Makefile (routines): Add fdelt_chk.
61074 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61075 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61076 FD_ISSET.
61077 * debug/fdelt_chk.c: New file.
61078
61079 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61080 * wcsmbs/test-wmemcmp.c: Likewise.
61081 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61082 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61083
61084 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61085
61086 * string/Makefile (strop-tests): Add memcmp.
61087 * string/test-wmemcmp.c: New file.
61088 * string/test-memcmp.c: Add wmemcmp support.
61089
61090 2011-09-08 Roland McGrath <roland@hack.frob.com>
61091
61092 [BZ #13153]
61093 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61094 2011-07-19 change.
61095
61096 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61097 garbage value in a __mach_port_mod_refs call in the cases of the
61098 task-self and thread-self ports.
61099
61100 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61101
61102 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61103
61104 2011-09-08 Andreas Schwab <schwab@redhat.com>
61105
61106 * elf/dl-load.c (lose): Check for non-null L.
61107
61108 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61109
61110 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61111
61112 * elf/dl-libc.c (dlerror_run): Pass back error code from
61113 dl_catch_error.
61114
61115 [BZ #13123]
61116 * elf/dl-load.c (lose): Free l_origin if it is valid.
61117
61118 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61119 names.
61120 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61121 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61122 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61123 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61124 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61125 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61126
61127 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61128
61129 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61130 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61131 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61132 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61133 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61134 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61135 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61136 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61137 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61138 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61139
61140 2011-08-15 Alan Modra <amodra@gmail.com>
61141
61142 [BZ #13092]
61143 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61144 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61145 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61146 ppc_mcount to static-only-routines.
61147 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61148 __mcount_internal.
61149 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61150 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61151
61152 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61153
61154 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61155 for finite and infinity parameters.
61156
61157 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61158
61159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61160 and add nop instructions for throughput optimization.
61161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61162
61163 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61164
61165 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61166 aligned copy for power7 with vector-scalar instructions.
61167 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61168
61169 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61170
61171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61172 AVX check.
61173
61174 2011-09-07 Andreas Schwab <schwab@redhat.com>
61175
61176 [BZ #13144]
61177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61178 last change.
61179
61180 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61181
61182 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61183 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61184 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61185 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61186 clock_gettime.
61187
61188 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61189
61190 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61191 Forgot to demangle the pointer.
61192
61193 * sysdeps/i386/sysdep.h: Define atom_text_section.
61194 * sysdeps/x86_64/sysdep.h: Likewise.
61195 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61196 section with atom_text_section.
61197 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61198 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61199 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61200 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61201 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61202
61203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61204 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61205 already be defined. Change to take two parameters and don't assign
61206 result to variable. Adjust all users.
61207 Define INTERNAL_GETTIME if not already defined.
61208 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61209 call.
61210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61211 HAVE_CLOCK_GETTIME_VSYSCALL.
61212 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61213
61214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61215 gettimeofday vsyscall, just use time.
61216
61217 2011-09-06 Andreas Schwab <schwab@redhat.com>
61218
61219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61220 <errno.h>.
61221
61222 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61223
61224 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61225 syscall on x86-64.
61226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61227 syscall.
61228 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61229 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61230 syscall if possible.
61231
61232 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61233
61234 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61235 e_ident. Don't pass to find_mapsXX.
61236 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61237
61238 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61239
61240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61241 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61242 * sysdeps/x86_64/multiarch/strchr.S: Update.
61243 Check bit_slow_BSF bit.
61244 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61245 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61246 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61247
61248 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61249
61250 [BZ #13134]
61251 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61252 before glibc 2.15.
61253 (tryshell): Define.
61254 (__spawni): Change last parameter to be flag. Test
61255 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61256 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61257 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61258 * posix/spawni.c: Likewise.
61259 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61260 * posix/spawnp.c: Likewise. Change normal version to use
61261 SPAWN_XFLAGS_USE_PATH.
61262 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61263 SPAWN_XFLAGS_TRY_SHELL.
61264
61265 [BZ #13150]
61266 * posix/glob.h: Remove gcc 1.x support.
61267
61268 [BZ #13068]
61269 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61270
61271 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61272
61273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61274 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61275 strrchr-sse2-bsf
61276 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61277 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61278 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61280 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61281 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61282
61283 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61284
61285 * sysdeps/x86_64/wcscmp.S: New file.
61286
61287 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61288 wcscmp-c wcscmp-sse2
61289 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61290 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61291 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61292 * wcsmbs/wcscmp.c: Allow renaming.
61293
61294 2011-09-05 David S. Miller <davem@davemloft.net>
61295
61296 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61297 stack slot, rather than the struct return pointer slot.
61298 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61299 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61301 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61302
61303 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61304
61305 * po/ja.po: Update from translation team.
61306
61307 [BZ #13144]
61308 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61309 kernel in 64-bit binaries.
61310
61311 2011-09-01 David S. Miller <davem@davemloft.net>
61312
61313 * elf/elf.h (HWCAP_SPARC_*): Move to..
61314 * sysdeps/sparc/sysdep.h: this new file and add new values.
61315 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61316 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61317 _DL_HWCAP_COUNT to 24.
61318 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61319 entries.
61320 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61321 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61322 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61324 instead of magic constants.
61325 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61326
61327 2011-08-31 David S. Miller <davem@davemloft.net>
61328
61329 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61331 Reimplement to do errno handling inline.
61332 (SYSCALL_ERROR_HANDLER): New macro.
61333 (__SYSCALL_STRING): Do not do errno handling in asm.
61334 (__CLONE_SYSCALL_STRING): Delete.
61335 (__INTERNAL_SYSCALL_STRING): Delete.
61336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61337 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61338 (PSEUDO): Reimplement to do errno handling inline.
61339 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61340 (SYSCALL_ERROR_HANDLER): New macro.
61341 (__SYSCALL_STRING): Do not do errno handling in asm.
61342 (__CLONE_SYSCALL_STRING): Delete.
61343 (__INTERNAL_SYSCALL_STRING): Delete.
61344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61345 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61346 i386.
61347 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61348 (inline_syscall*): Add 'err' argument.
61349 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61350 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61351 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61352 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61353
61354 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61355 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61356
61357 2011-08-30 Andreas Schwab <schwab@redhat.com>
61358
61359 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61360
61361 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61362
61363 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61364 directive.
61365
61366 2011-08-24 David S. Miller <davem@davemloft.net>
61367
61368 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61369
61370 2011-08-24 Andreas Schwab <schwab@redhat.com>
61371
61372 * elf/Makefile: Add rules to build and run unload8 test.
61373 * elf/unload8.c: New file.
61374 * elf/unload8mod1.c: New file.
61375 * elf/unload8mod1x.c: New file.
61376 * elf/unload8mod2.c: New file.
61377 * elf/unload8mod3.c: New file.
61378
61379 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61380 it wasn't used.
61381
61382 2011-08-23 David S. Miller <davem@davemloft.net>
61383
61384 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61385 subtract stack bias.
61386 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61387 %sp not %fp in calculations.
61388 (_JMPBUF_UNWINDS_ADJ): Likewise.
61389
61390 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61391 (aio_suspend): Call it to force an exception region around the
61392 AIO_MISC_WAIT() invocation.
61393
61394 2011-08-23 Andreas Schwab <schwab@redhat.com>
61395
61396 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61397 backslash.
61398
61399 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61400
61401 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61402 protection macro.
61403 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61404 and <dl-machine.h>.
61405 (Elf64_FuncDesc): Remove.
61406
61407 2011-08-22 David S. Miller <davem@davemloft.net>
61408
61409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61410 sigaltstack check, add missing cfi directives.
61411 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61412 missing cfi directives, and sigaltstack handling.
61413
61414 2011-08-16 Andreas Schwab <schwab@redhat.com>
61415
61416 [BZ #11724]
61417 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61418 object is seen twice.
61419 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61420
61421 * elf/Makefile (distribute): Add tst-initorder2.c.
61422 (tests): Add tst-initorder2.
61423 (modules-names): Add tst-initorder2a tst-initorder2b
61424 tst-initorder2c tst-initorder2d. Add rules to build them.
61425 ($(objpfx)tst-initorder2.out): New rule.
61426 * elf/tst-initorder2.c: New file.
61427 * elf/tst-initorder2.exp: New file.
61428
61429 2011-08-22 Andreas Schwab <schwab@redhat.com>
61430
61431 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61432
61433 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61434 dependencies back to end of function.
61435
61436 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61437 $(elfobjdir)/ld.so.
61438
61439 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61440
61441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61442 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61444 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61445 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61446 of __vdso_gettimeofday.
61447 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61448 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61449 attribute_hidden.
61450 (_libc_vdso_platform_setup): Remove initialization of
61451 __vdso_gettimeofday and __vdso_time.
61452
61453 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61454
61455 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61456 and fgetc_unlocked.
61457 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61458 getc_unlocked.
61459
61460 * elf/dl-open.c (add_to_global): Report additions to the global scope
61461 for LD_DEBUG=scopes.
61462 (dl_open_worker): Also print scope of newly loaded dependencies.
61463 (_dl_show_scope): Indicate if there is no scope.
61464
61465 [BZ #13114]
61466 * stdio-common/Makefile (tests): Add bug24.
61467 * stdio-common/bug24.c: New file.
61468
61469 2011-08-19 Andreas Jaeger <aj@suse.de>
61470
61471 [BZ #13114]
61472 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61473 non-existant file when using close-on-exec mode.
61474
61475 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61476
61477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61478 the very first instruction.
61479
61480 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61481 the CFI state in the end.
61482 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61483 inclusion of dl-trampoline.h.
61484 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61485
61486 2011-08-19 Andreas Schwab <schwab@redhat.com>
61487
61488 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61489 expectations for long double.
61490
61491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61492 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61493
61494 2011-08-14 David S. Miller <davem@davemloft.net>
61495
61496 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61497 artificual limit depends upon the system page size.
61498
61499 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61500
61501 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61502 * resolv/Makefile: Define CFLAGS-libresolv.
61503
61504 2011-08-17 Andreas Schwab <schwab@redhat.com>
61505
61506 * nss/makedb.c (compute_tables): Make variables used in nested
61507 function static.
61508
61509 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61510
61511 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61512 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61513 if buffer was too small.
61514
61515 * elf/pldd.c (main): Attach to all threads in the process.
61516 Rewrite /proc handling to use *at functions.
61517
61518 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61519
61520 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61521 specifies first scope to show.
61522 (dl_open_worker): Update callers. Move printing scope of new
61523 object to before the relocation.
61524 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61525 * sysdeps/generic/ldsodefs.h: Update declaration.
61526
61527 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61528 string for the scope number.
61529
61530 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61531
61532 * nscd/servicescache.c (cache_addserv): Make sure written is always
61533 initialized.
61534
61535 2011-08-14 Roland McGrath <roland@hack.frob.com>
61536
61537 * sysdeps/i386/i486/bits/atomic.h
61538 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61539 statement expression, so as to suppress "set but not used" warning.
61540 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61541
61542 * string/strncat.c (STRNCAT): Use prototype definition.
61543
61544 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61545 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61546 -Iprograms here.
61547 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61548 (localedef-modules): Add localedef.
61549 (locale-modules): Add locale.
61550
61551 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61552 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61553 to avoid a warning.
61554
61555 2011-08-14 David S. Miller <davem@davemloft.net>
61556
61557 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61558 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61559
61560 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61561
61562 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61563 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61564 * elf/rtld.c (dl_main): Set l_name of vDSO.
61565 Call _dl_show_scope when DL_DEBUG_SCOPES.
61566 (process_dl_debug): Recognize scopes flag and also set it for all.
61567 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61568 Declare _dl_show_scope.
61569
61570 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61571 (do_dlopen): Pass caller_dlopen to dl_open.
61572 (__libc_dlopen_mode): Initialize caller_dlopen.
61573
61574 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61575 of libc. Make tolower call locale-independent. Optimize a bit by
61576 using isdigit instead of isalnum.
61577 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61578
61579 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61580
61581 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61582 was a dependency or dynamically loaded.
61583
61584 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61585
61586 * intl/l10nflist.c: Allow architecture-specific pop function.
61587 * sysdeps/x86_64/l10nflist.c: New file.
61588
61589 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61590 classification.
61591
61592 2011-08-10 Andreas Schwab <schwab@redhat.com>
61593
61594 * include/dirent.h: Add libc_hidden_proto for scandirat and
61595 scandirat64. Don't declare __scandirat64.
61596 * dirent/scandirat.c: Add libc_hidden_def.
61597 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61598 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61599
61600 2011-08-10 David S. Miller <davem@davemloft.net>
61601
61602 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61603 enum.
61604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61605 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61607
61608 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61609
61610 * Versions.def [libc]: Add GLIBC_2.15.
61611 * dirent/Makefile (routines): Add scandirat and scandirat64.
61612 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61613 GLIBC_2.15.
61614 * dirent/dirent.h: Declare scandirat and scandirat64.
61615 * dirent/scandirat.c: New file.
61616 * dirent/scandirat64.c: New file.
61617 * sysdeps/wordsize-64/scandirat.c: New file.
61618 * sysdeps/wordsize-64/scandirat64.c: New file.
61619 * dirent/opendir.c: Define opendirat.
61620 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61621 using scandirat.
61622 * dirent/scandir64.c: Adjust for scandir.c change.
61623 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61624 __scandirat64, and __scandir_cancel_handler.
61625 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61626 additional parameter and use openat instead of open (outside of ld.so).
61627 Add new __opendir as wrapper around __opendirat.
61628 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61629 here without requiring old scandirat implementation.
61630
61631 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61632
61633 * dirent/scandir.c (cancel_handler): Renamed to
61634 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61635 defined. Adjust users.
61636 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61638
61639 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61640
61641 * string/test-string.h (IMPL): Use __STRING to expand name and then
61642 stringify it.
61643
61644 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61645 of cleanups.
61646
61647 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61648
61649 * string/Makefile: Update.
61650 (strop-tests): Append strncat.
61651 * string/test-wcscmp.c: New file.
61652 New comprehensive test for wcscmp.
61653 * string/test-strcmp.c: Update.
61654 (WIDE): New define.
61655
61656 2011-07-22 Andreas Schwab <schwab@redhat.com>
61657
61658 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61659 line.
61660
61661 2011-07-26 Andreas Schwab <schwab@redhat.com>
61662
61663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61664 encoding to ACE if AI_IDN.
61665
61666 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61667
61668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61669 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61670
61671 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61672
61673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61674 Fix overflow bug in strncat.
61675 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61676
61677 * string/test-strncat.c: Update.
61678 Add new tests for checking overflow bugs.
61679
61680 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61681
61682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61683 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61684 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61685 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61686 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61687 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61688 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61689 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61690 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61691
61692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61693 (USE_AS_STRCAT): Define.
61694 Add strcat and strncat support.
61695 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61696
61697 2011-07-25 Andreas Schwab <schwab@redhat.com>
61698
61699 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61700 __n bigger than INT_MAX+1.
61701 (__strncmp_g): Likewise.
61702
61703 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61704
61705 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61706 * libio/stido.h: Likewise.
61707
61708 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61709 (AF_NFC): Define.
61710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61711 (AF_NFC): Define.
61712
61713 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61715 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61716 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61717 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61718
61719 [BZ #13021]
61720 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61721 installed.
61722
61723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61724 typo.
61725 (_dl_x86_64_save_sse): Likewise.
61726
61727 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61728
61729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61730 OSXSAVE.
61731 (_dl_x86_64_save_sse): Likewise.
61732
61733 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61734
61735 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61736
61737 2011-07-21 Andreas Schwab <schwab@redhat.com>
61738
61739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61740 change.
61741 (_dl_x86_64_save_sse): Use correct AVX check.
61742
61743 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61744
61745 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61746 bug in strncpy/strncat.
61747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61748
61749 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61750
61751 * string/tester.c (test_strcat): Add tests for different alignments
61752 of source and destination.
61753 (test_strncat): Likewise.
61754
61755 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61756
61757 [BZ #12852]
61758 * posix/glob.c (glob): Check passed in values before using them in
61759 expressions to avoid some overflows.
61760 (glob_in_dir): Likewise.
61761
61762 [BZ #13007]
61763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61764 check for AVX enablement so that we don't crash with old kernels and
61765 new hardware.
61766 * elf/tst-audit4.c: Add same checks here.
61767 * elf/tst-audit6.c: Likewise.
61768
61769 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61770
61771 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61772
61773 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61774
61775 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61776
61777 * po/cs.po: Update from translation team.
61778 * po/bg.po: Likewise.
61779
61780 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61781
61782 * misc/sys/cdefs.h: Add support for const attribute.
61783 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61784 to gnu_dev_{major,minor,makedev} functions.
61785
61786 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61787
61788 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61789
61790 2011-07-20 Andreas Schwab <schwab@redhat.com>
61791
61792 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61793 strlen results.
61794
61795 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61796
61797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61798 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61799 register in order to avoid conflicts with the soft frame pointer
61800 being held in r11 when necessary.
61801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61802 (INTERNAL_VSYSCALL_NCS): Likewise.
61803
61804 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61805
61806 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61807 * elf/dl-fini.c (_dl_fini): Adjust caller.
61808 * elf/dl-close.c (_dl_close_worker): Likewise.
61809 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61810
61811 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61812
61813 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61814 "aux_cache->nlibs < 0".
61815
61816 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61817 in the reload-count case.
61818
61819 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61820
61821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61822 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61823 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61824 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61825 * sysdeps/x86_64/multiarch/strcat.S: New file.
61826 * sysdeps/x86_64/multiarch/strncat.S: New file.
61827 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61828 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61829 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61830 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61831 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61832 (USE_AS_STRCAT): Define.
61833 Add strcat and strncat support.
61834 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61835 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61836 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61837 * string/strncat.c: Update.
61838 (USE_AS_STRNCAT): Define.
61839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61840 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61841 and i7.
61842 * sysdeps/x86_64/multiarch/init-arch.h
61843 (bit_Prefer_PMINUB_for_stringop): New.
61844 (index_Prefer_PMINUB_for_stringop): Likewise.
61845 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61846 bit_Prefer_PMINUB_for_stringop.
61847
61848 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61849
61850 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61851 buffer64.
61852 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61853 of casting of buffer.
61854 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61855 buffer32 and buffer64.
61856 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61857 writes instead of casting of buffer.
61858 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61859 buffer32.
61860 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61861 casting of buffer.
61862
61863 2011-07-19 Andreas Schwab <schwab@redhat.com>
61864
61865 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61866
61867 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61868
61869 * nscd/nscd.c (termination_handler): Don't do anything for a database
61870 if it has not yet been initialized.
61871
61872 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61873
61874 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61875
61876 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61877
61878 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61879
61880 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61881
61882 * po/nl.po: Update from translation team.
61883 * po/sv.po: Likewise.
61884
61885 2011-07-16 Roland McGrath <roland@hack.frob.com>
61886
61887 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61888 now disallowed by GCC.
61889
61890 * configure.in (use-default-link): Default to yes if a test -shared
61891 link meets our qualifications.
61892 * configure: Regenerated.
61893
61894 * config.make.in (output-format): New variable.
61895 * configure.in: Check for ld --print-output-format support.
61896 * configure: Regenerated.
61897 * Makerules ($(common-objpfx)format.lds)
61898 [$(output-format) != unknown]: Just use $(output-format),
61899 instead of the linker-script munging.
61900
61901 2011-07-14 Roland McGrath <roland@hack.frob.com>
61902
61903 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61904 of $(common-objpfx)shlib.lds.
61905 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61906
61907 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61908 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61909
61910 * configure.in (-z relro check): Adjust test code to add a large
61911 writable data section after it.
61912 * configure: Regenerated.
61913
61914 2011-07-11 Roland McGrath <roland@hack.frob.com>
61915
61916 * configure.in (-z relro check): Fix test code to make the variable
61917 truly const.
61918 * configure: Regenerated.
61919
61920 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61921
61922 * nscd/nscd.h (struct traced_file): Define.
61923 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61924 elements. Add traced_files.
61925 (inotify_fd): Declare.
61926 (register_traced_file): Declare.
61927 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61928 (inotify_fd): Export.
61929 (resolv_conf_descr): Remove.
61930 (nscd_init): Move inotify descriptor creation to main.
61931 Don't register files for notification here.
61932 (register_traced_file): New function.
61933 (invalidate_cache): Don't use reset_res to determine whether to call
61934 res_init, go through the list of registered files.
61935 (main_loop_poll): The inotify descriptors are now stored in the
61936 structures for the traced files.
61937 (main_loop_epoll): Likewise
61938 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61939 to __nss_disable_nscd.
61940 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61941 for a database anymore. Check the records for all the registered
61942 files instead.
61943 * nss/Makefile (libnss_files-routines): Add files-init.
61944 (libnss_db-routines): Add db-init.
61945 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61946 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61947 * nss/nss_db/db-init.c: New file.
61948 * nss/nss_files/files-init.c: New file.
61949 * nss/nsswitch.c (nss_load_library): New function. Broken out of
61950 __nss_lookup_function.
61951 (__nss_lookup_function): Call nss_load_library.
61952 (nss_load_all_libraries): New function.
61953 (__nss_disable_nscd): Take parameter with callback function for files
61954 to register. Set is_nscd. Load all the DSOs for the NSS modules
61955 used for the cached services.
61956 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61957 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61958 options for features to all the files in nscd.
61959
61960 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61961
61962 2011-07-10 Roland McGrath <roland@hack.frob.com>
61963
61964 * csu/elf-init.c (__libc_csu_init): Comment typo.
61965
61966 2011-07-09 Ulrich Drepper <drepper@gmail.com>
61967
61968 * po/pl.po: Update from translation team.
61969 * po/ja.po: Likewise.
61970 * po/ru.po: Likewise.
61971 * po/ko.po: Likewise.
61972 * po/fr.po: Likewise.
61973
61974 2011-07-09 Roland McGrath <roland@hack.frob.com>
61975
61976 * configure.in (.ctors/.dtors header and trailer check):
61977 Use an empirical test on a built program.
61978 * configure: Regenerated.
61979
61980 * configure.in (-z relro check): Use an empirical test on a built DSO.
61981 Detect, but do not require, on ia64.
61982 * configure: Regenerated.
61983
61984 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61985 Update tests that use readelf to use $READELF instead.
61986 * configure: Regenerated.
61987
61988 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61989
61990 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61991 if the result is not used.
61992
61993 2011-07-05 Andreas Jaeger <aj@suse.de>
61994
61995 [BZ#9696]
61996 * stdlib/tst-strtod.c: Add testcase.
61997
61998 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61999
62000 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62001 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62002 The latter has a higher limit. Take additional parameter to pass to
62003 the new function.
62004 (__pathconf): Pass file to __statfs_link_max.
62005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62006 __statfs_link_max.
62007 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62008 __statfs_link_max.
62009
62010 [BZ #12868]
62011 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62012 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62013 Handle Lustre.
62014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62015 (__statfs_filesize_max): Likewise.
62016 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62017
62018 2011-07-05 Andreas Jaeger <aj@suse.de>
62019
62020 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62021
62022 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62023
62024 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62025 `status' variable.
62026 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62027 Likewise.
62028
62029 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62030
62031 * Makefile (strop-tests): Add strncat.
62032 * string/test-strncat.c: New file.
62033
62034 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62035
62036 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62037
62038 2011-06-21 Andreas Jaeger <aj@suse.de>
62039
62040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62041 Copy rule from iconvdata/Makefile.
62042
62043 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62044
62045 [BZ #12922]
62046 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62047 but no long options are defined, just return 'W'.
62048
62049 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62050
62051 [BZ #9696]
62052 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62053
62054 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62055
62056 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62057 netgroups to read.
62058 (innetgr): Likewise.
62059
62060 2011-07-05 Roland McGrath <roland@hack.frob.com>
62061
62062 * config.make.in (install_root): Default to $(DESTDIR).
62063
62064 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62065
62066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62067
62068 2011-07-02 Roland McGrath <roland@hack.frob.com>
62069
62070 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62071
62072 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62073 containing directory rather than embedding absolute directory names.
62074
62075 * scripts/check-local-headers.sh: Rewritten using awk.
62076 Match by word, not by line. Print error messages for matches.
62077 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62078
62079 * Makerules [shlib-lds-flags empty]:
62080 ($(common-objpfx)libc_pic.opts): New target.
62081 ($(common-objpfx)libc_pic.os.clean): New target.
62082 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62083
62084 * config.make.in (OBJCOPY): New variable.
62085 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62086 * configure: Regenerated.
62087
62088 * config.make.in (use-default-link): New variable.
62089 * configure.in (use_default_link): Grok --with-default-link to set it.
62090 * configure: Regenerated.
62091 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62092 (shlib-lds, shlib-lds-flags): Define to empty.
62093
62094 * Makerules (shlib-lds): New variable.
62095 (shlib-lds-flags): New variable.
62096 (build-shlib, build-moduile, build-module-asneeded): Use it.
62097 ($(common-objpfx)libc.so): Use $(shlib-lds).
62098 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62099 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62100
62101 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62102 DT_FLAGS/DT_FLAGS_1 with zero flags.
62103
62104 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62105 linker script munging.
62106
62107 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62108
62109 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62110 as 128-bit value.
62111 * crypt/sha512.c (sha512_process_block): Perform total addition using
62112 128-bit if possible.
62113 (__sha512_finish_ctx): Likewise.
62114 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62115 as 64-bit value.
62116 * crypt/sha256.c (SWAP64): Define.
62117 (sha256_process_block): Perform total addition using 64-bit if
62118 possible.
62119 (__sha256_finish_ctx): Likewise.
62120
62121 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62122
62123 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62124 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62125 * nscd/hstcache.c (cache_addhst): Likewise.
62126 * nscd/grpcache.c (cache_addgr): Likewise.
62127 * nscd/aicache.c (addhstaiX): Likewise
62128 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62129
62130 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62131
62132 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62134 * nscd/hstcache.c (cache_addhst): Likewise.
62135 * nscd/grpcache.c (cache_addgr): Likewise.
62136 * nscd/aicache.c (addhstaiX): Likewise
62137
62138 2011-07-01 Andreas Schwab <schwab@redhat.com>
62139
62140 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62141 domain only when needed.
62142
62143 2011-06-30 Andreas Schwab <schwab@redhat.com>
62144
62145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62146 is always restored.
62147
62148 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62149
62150 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62151 are re-adding the entry.
62152 * nscd/servicescache.c (cache_addserv): Likewise.
62153
62154 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62155
62156 * sysdeps/generic/dl-irel.h: fix protection against multiple
62157 inclusions.
62158 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62159
62160 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62161
62162 [BZ #12935]
62163 * malloc/memusage.sh: Fix quoting in message.
62164 * debug/xtrace.sh: Likewise.
62165
62166 * configure.in: Remove support for --experimental-malloc option, make
62167 it the default.
62168 * config.make.in: Likewise.
62169 * malloc/Makefile: Likewise.
62170
62171 2011-06-27 Andreas Schwab <schwab@redhat.com>
62172
62173 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62174 two-byte characters.
62175
62176 2011-06-27 Roland McGrath <roland@hack.frob.com>
62177
62178 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62179 AC_CACHE_CHECK invocation.
62180 * configure: Regenerated.
62181
62182 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62183
62184 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62185
62186 [BZ #12350]
62187 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62188 bit from old_res_options.
62189
62190 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62191
62192 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62193 value type for setfct.
62194
62195 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62196
62197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62198 __gettimeofday instead of gettimeofday.
62199
62200 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62201
62202 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62203
62204 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62205
62206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62207
62208 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62209 info.
62210
62211 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62212
62213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62214 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62215 strcpy-sse2-unaligned strncpy-sse2-unaligned
62216 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62217 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62218 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62219 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62220 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62223 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62224 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62225 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62226 (STRCPY): Support SSE2 and SSSE3 versions.
62227
62228 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62229
62230 [BZ #12874]
62231 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62232 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62233 kernels which artificially limit size of requests.
62234
62235 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62236
62237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62238 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62239 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62240 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62241 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62242 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62243 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62244 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62247 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62248 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62249 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62250 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62251 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62253 Enable unaligned load optimization for Intel Core i3, i5 and i7
62254 processors.
62255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62256 Define.
62257 (index_Fast_Unaligned_Load): Define.
62258 (HAS_FAST_UNALIGNED_LOAD): Define.
62259
62260 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62261
62262 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62263
62264 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62265
62266 [BZ #12907]
62267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62268 until it is clear that the information is realy needed.
62269 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62270
62271 2011-06-22 Andreas Schwab <schwab@redhat.com>
62272
62273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62274
62275 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62276
62277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62278 /sys/devices/system/cpu/online if it is usable.
62279
62280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62281 reading the information from the /proc filesystem to once a second.
62282
62283 2011-06-21 Andreas Jaeger <aj@suse.de>
62284
62285 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62286 NULL after inclusion of kernel headers.
62287
62288 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62289
62290 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62291 calls to internal_setent.
62292
62293 [BZ #12885]
62294 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62295 addresses using gethostbyname4_r ignore IPv4 addresses.
62296
62297 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62298 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62299
62300 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62301
62302 2011-06-20 David S. Miller <davem@davemloft.net>
62303
62304 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62305 inclusions.
62306 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62307
62308 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62309 (elf_irel): Use it.
62310 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62311 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62312 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62313 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62314 * sysdeps/x86_64/dl-irel.h: Likewise.
62315
62316 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62317 * elf/dl-sym.c: Likewise.
62318
62319 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62320
62321 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62322 need to dereference resplen2.
62323
62324 2011-06-14 Andreas Schwab <schwab@redhat.com>
62325
62326 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62327
62328 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62329
62330 * Makeconfig: Define vardbdir and inst_vardbdir.
62331 * nss/Makefile: Add rules to install db-Makefile.
62332
62333 * nss/nss_db/db-XXX.c: Cleanup.
62334
62335 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62336 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62337 GLIBC_PRIVATE.
62338 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62339 * nss/makedb.c: Implement -g option to specify that value strings
62340 are generated and should not be added to table iterated over for
62341 get*ent calls.
62342 * nss/nss_db/db-initgroups.c: New file.
62343
62344 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62345 interface.
62346
62347 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62348 (internal_getgrouplist): Adjust to name change.
62349 Update use_initgroups_entry if this is not the first call.
62350 * nss/databases.def: Add initgroups entry.
62351
62352 * nss/makedb.c (compute_tables): Check result of multiple hash table
62353 sizes to minimize maximum chain length.
62354
62355 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62356
62357 * Versions.def: Add entry for libnss_db.
62358 * shlib-versions: Likewise.
62359 * nss/Makefile: Add rules to build libnss_db.
62360 * nss/Versions: Add libnss_db information. Organize libnss_files
62361 entries better.
62362 * nss/db-Makefile: Add gshadow support. Change rules for the new
62363 makedb progra. Some minor improvements to generate smaller files.
62364 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62365 here from...
62366 * nss/makedb.c: ...here.
62367 Improve database format to be smaller and require less memory at
62368 runtime.
62369 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62370 db anymore.
62371 * nss/nss_db/db-netgrp.c: Likewise.
62372 * nss/nss_db/db-open.c: Likewise.
62373 * nss/nss_files/flies-XXX.x: Adjust comments.
62374 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62375 * nss/nss_files/files-grp.c: Likewise.
62376 * nss/nss_files/files-hosts.c: Likewise.
62377 * nss/nss_files/files-network.c: Likewise.
62378 * nss/nss_files/files-proto.c: Likewise.
62379 * nss/nss_files/files-pwd.c: Likewise.
62380 * nss/nss_files/files-rpc.c: Likewise.
62381 * nss/nss_files/files-service.c: Likewise.
62382 * nss/nss_files/files-sgrp.c: Likewise.
62383 * nss/nss_files/files-spwd.c: Likewise.
62384 * nss/nss_db/db-alias.c: Removed.
62385 * nss/nss_db/dummy-db.h: Removed.
62386
62387 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62388
62389 * nss/makedb.c: Rewritten to not use database library.
62390 * nss/Makefile: Update to build new makedb program.
62391
62392 2011-06-14 Andreas Jaeger <aj@suse.de>
62393
62394 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62395 memset declaration.
62396
62397 2011-06-10 Andreas Schwab <schwab@redhat.com>
62398
62399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62400 tmpbuf.
62401
62402 2011-06-10 Roland McGrath <roland@hack.frob.com>
62403
62404 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62405 * elf/Makefile ($(objpfx)ld.so): Likewise.
62406
62407 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62408 Don't list ld.so twice in dependencies.
62409
62410 * posix/bug-regex31.c: Include <stdlib.h>.
62411
62412 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62413
62414 * nis/nss_compat/compat-spwd.c
62415 (getspent_next_nss_netgr): Remove unused variable.
62416 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62417
62418 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62419 nonmembers" output to use the right array.
62420
62421 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62422
62423 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62424
62425 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62426 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62427 * catgets/gencat.c (read_input_file): Likewise.
62428 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62429
62430 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62431 variable definition inside #if's controlling its use.
62432
62433 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62434
62435 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62436
62437 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62438
62439 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62440 unreachable code.
62441
62442 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62443
62444 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62445 * configure: Regenerated.
62446
62447 * Makerules: Revert last change.
62448 * elf/Makefile: Likewise.
62449
62450 2011-06-09 Roland McGrath <roland@hack.frob.com>
62451
62452 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62453 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62454 (reloc-link): Likewise.
62455
62456 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62457
62458 * elf/Makefile: Add rules to build pldd.
62459 * elf/pldd.c: New file.
62460 * elf/pldd-xx.c: New file.
62461
62462 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62463
62464 * version.h: Update for 2.15 development version.
62465
62466 2011-06-07 David S. Miller <davem@davemloft.net>
62467
62468 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62469 ifuncs.
62470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62471 elf_machine_lazy_rel): Likewise.
62472 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62474 elf_machine_lazy_rel): Likewise.
62475 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62476 dl_hwcap via passed in argument.
62477 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62478 Likewise.
62479
62480 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62481
62482 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62483
62484 2011-06-06 Roland McGrath <roland@hack.frob.com>
62485
62486 [BZ #12849]
62487 * manual/fdl-1.1.texi: New file, verbatim from:
62488 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62489 * manual/lgpl-2.1.texi: New file, verbatim from:
62490 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62491 * manual/Makefile (licenses): New variable, list those new file names.
62492 (texis): Use it.
62493 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62494
62495 * manual/fdl.texi: File removed.
62496 * manual/lesser.texi: File removed.
62497 * manual/libc.texinfo (Copying, Documentation License):
62498 Use new @include file names, put @appendix directive before @include.
62499
62500 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62501
62502 [BZ #12841]
62503 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62504 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62505 (mq_open): Add __NTH.
62506
62507 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62508
62509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62510 Assume Intel Core i3/i5/i7 processor if AVX is available.
62511
62512 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62513
62514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62515 typo.
62516
62517 2011-05-31 Andreas Schwab <schwab@redhat.com>
62518
62519 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62520 memory. Use alloca_account. Fix memory leak when retrying.
62521
62522 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62523
62524 * version.h (RELEASE): Bump for 2.14 release.
62525 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62526
62527 * config.make.in (RANLIB): Remove entry.
62528
62529 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62530
62531 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62532 (libc.pot): Work around missing support for .ksh extension in xgettext.
62533
62534 [BZ #12684]
62535 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62536 if both request failed.
62537 (send_dg): In case of server errors clear resplen or *resplen2.
62538
62539 [BZ #12454]
62540 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62541 when there are multiple maps.
62542 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62543 (_dl_fini): Remove test here.
62544
62545 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62546
62547 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62548
62549 [BZ #12350]
62550 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62551 bit from old_res_options.
62552 (gaih_inet): Likewise.
62553
62554 [BZ #11099]
62555 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62556 as signed.
62557
62558 * resolv/res_init.c (res_setoptions): Make the code more compact.
62559
62560 [BZ #11558]
62561 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62562 set RES_USEVC.
62563
62564 [BZ #11634]
62565 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62566
62567 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62568
62569 [BZ #11781]
62570 * malloc/malloc.h: Declare malloc hook variables as volatile.
62571
62572 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62573 in last patch.
62574
62575 [BZ #11799]
62576 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62577 raise in the comment.
62578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62580 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62581
62582 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62583
62584 [BZ #12811]
62585 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62586 grow the buffers more if it already has to be sufficient.
62587 (build_wcs_upper_buffer): Likewise.
62588 * posix/regexec.c (check_matching): Likewise.
62589 (clean_state_log_if_needed): Likewise.
62590 (extend_buffers): Don't enlarge buffers beyond size of the input
62591 buffer.
62592 Patches mostly by Emil Wojak <emil@wojak.eu>.
62593 * posix/bug-regex32.c: New file.
62594 * posix/Makefile (tests): Add bug-regex32.
62595
62596 * locale/findlocale.c (_nl_find_locale): Return right away if
62597 _nl_explode_name failed.
62598 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62599
62600 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62601
62602 * debug/xtrace.sh: Unify messages.
62603 * malloc/memusage.sh: Likewise.
62604
62605 [BZ #12813]
62606 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62607 time symbol from vDSO. Substitute with vsyscall if not available.
62608 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62609 __vdso_time.
62610
62611 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62612 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62613 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62614 Add sendmmsg and internal_sendmmsg.
62615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62616 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62617 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62618
62619 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62620 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62621 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62622
62623 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62624
62625 [BZ #12813]
62626 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62627 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62628 available.
62629 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62630 __vdso_getcpu.
62631
62632 [BZ #12814]
62633 * iconvdata/Makefile (tests): Add bug-iconv9.
62634 * iconvdata/bug-iconv9.c: New file.
62635
62636 2011-05-27 Andreas Schwab <schwab@redhat.com>
62637
62638 [BZ #12814]
62639 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62640
62641 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62642
62643 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62644 (struct user_regs_struct): Change intcs field back to cs.
62645
62646 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62647
62648 * po/ja.po: Update from translation team.
62649
62650 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62651
62652 [BZ #12795]
62653 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62654 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62655
62656 2011-05-20 Andreas Schwab <schwab@redhat.com>
62657
62658 * stdlib/longlong.h: Update from GCC.
62659
62660 2011-05-23 Andreas Schwab <schwab@redhat.com>
62661
62662 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62663 parameter name.
62664 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62665 Add parameter name.
62666 (__sysconf): Pass it down.
62667
62668 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62669
62670 [BZ #12671]
62671 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62672 some situations.
62673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62674 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62675 add in in __libc_use_alloca calls. Adjust callers.
62676 (glob): Use malloc in some situations.
62677
62678 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62679 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62680 pltexit.
62681
62682 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62683
62684 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62685 and CLOCK_BOOTTIME_ALARM.
62686
62687 [BZ #12782]
62688 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62689 is returned.
62690
62691 * string/_strerror.c (__strerror_r): Print negative errors as signed
62692 numbers.
62693
62694 [BZ #12777]
62695 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62696 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62697 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62698
62699 * configure.in: Fix typo in redirection and correct removal of test
62700 files in two cases.
62701
62702 [BZ #12788]
62703 * locale/setlocale.c (new_composite_name): Fix test to check for
62704 identical name of all categories.
62705
62706 [BZ #12792]
62707 * libio/filedoalloc.c (local_isatty): New function.
62708 (_IO_file_doallocate): Use local_isatty.
62709 * stdio-common/perror.c (perror): In case a new stream is used
62710 forward the stream error.
62711 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62712 error flag.
62713
62714 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62715
62716 [BZ #11869]
62717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62718 alloca.
62719 * include/alloca.h (extend_alloca_account): Define.
62720
62721 [BZ #11857]
62722 * posix/regex.h: Fix comments with documentation of user-accessible
62723 fields after compilation and describe correct free'ing of pattern
62724 after re_compile_pattern.
62725 Patch by Reuben Thomas <rrt@sc3d.org>.
62726
62727 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62728
62729 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62730 and -mno-altivec to prevent the compiler from using Altivec and/or
62731 VSX instructions when the corresponding registers are not available.
62732
62733 2011-05-19 Andreas Schwab <schwab@redhat.com>
62734
62735 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62736
62737 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62738
62739 * libio/freopen.c (freopen): Use __dup2, not dup2.
62740 * libio/freopen64.c (freopen64): Likewise.
62741
62742 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62743
62744 [BZ #12775]
62745 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62746 * math/Makefile (tests): Add test-powl.
62747 (CFLAGS-test-powl.c): Define.
62748 * math/test-powl.c: New file.
62749
62750 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62751
62752 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62753
62754 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62755
62756 [BZ #11837]
62757 * iconvdata/gb18030.c: Update to GB18020-2005.
62758
62759 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62760
62761 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62762 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62763 Patch by Aharon Robbins <arnold@skeeve.com>.
62764
62765 [BZ #11892]
62766 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62767 on the stack.
62768
62769 [BZ #11895]
62770 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62771 through underflows.
62772
62773 [BZ #12766]
62774 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62775 point to strings before performing equality test for error_one_per_line
62776 mode.
62777
62778 [BZ #11697]
62779 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62780
62781 [BZ #11820]
62782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62783 (struct user_fpregs_struct): Avoid __uint*_t types.
62784
62785 [BZ #6420]
62786 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62787 symbol info. Use it instead of calling _dl_addr locally.
62788 (lock_and_info): New function.
62789 (tr_freehook): Call lock_and_info and pass symbol info as additional
62790 parameter to tr_where.
62791 (tr_mallochook): Likewise.
62792 (tr_reallochook): Likewise.
62793 (tr_memalignhook): Likewise.
62794
62795 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62796 used and couldn't be at all thread-safe.
62797
62798 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62799
62800 * libio/freopen.c (freopen): Don't close old file descriptor
62801 before the new one is opened. Instead dup the new file descriptor
62802 to the old one after the new stream is created.
62803 * libio/freopen64.c (freopen64): Likewise.
62804 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62805 * libio/fileops.c (_IO_new_file_close_it): Handle new
62806 _IO_FLAGS2_NOCLOSE flag.
62807 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62808 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62809 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62810 _IO_FLAGS2_NOCLOSE flag.
62811 * include/unistd.h: Add hidden_proto for dup3.
62812 Define __have_dup3.
62813 * io/dup3.c: Define hidden symbol.
62814 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62815
62816 [BZ #7101]
62817 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62818 when an incomplete long option is used.
62819 * posix/tst-getopt_long1.c: New file.
62820 * posix/Makefile (tests): Add tst-getopt_long1.
62821
62822 [BZ #10138]
62823 * scripts/config.guess: Update from autoconf-2.68.
62824 * scripts/config.sub: Likewise.
62825
62826 [BZ #10157]
62827 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62828 tests into ...
62829 (has_cpuclock): ...this. New function.
62830 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62831 macro here based on has_cpuclock code.
62832
62833 [BZ #10149]
62834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62835 First byte (not low byte) is now always NUL.
62836 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62837
62838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62839 Use non-cancelable interfaces.
62840
62841 [BZ #9809]
62842 * locale/iso-639.def: Add entry for Sorani.
62843
62844 [BZ #11901]
62845 * include/stdlib.h: Move include protection to the right place.
62846 Define abort_msg_s. Declare __abort_msg with it.
62847 * stdlib/abort.c (__abort_msg): Adjust type.
62848 * assert/assert.c (__assert_fail_base): New function. Majority
62849 of code from __assert_fail. Allocate memory for __abort_msg with
62850 mmap.
62851 (__assert_fail): Now call __assert_fail_base.
62852 * assert/assert-perr.c: Remove bulk of implementation. Use
62853 __assert_fail_base.
62854 * include/assert.hL Declare __assert_fail_base.
62855 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62856 mmap.
62857 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62858
62859 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62860
62861 [BZ #11952]
62862 [BZ #12453]
62863 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62864 until all modules are registered in the DTV.
62865 * elf/Makefile: Add rules to build and run tst-tls19.
62866 * elf/tst-tls19.c: New file.
62867 * elf/tst-tls19mod1.c: New file.
62868 * elf/tst-tls19mod2.c: New file.
62869 * elf/tst-tls19mod3.c: New file.
62870 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62871
62872 [BZ #12083]
62873 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62874 correctly.
62875
62876 [BZ #12601]
62877 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62878 two-byte sequence errors.
62879 * iconvdata/Makefile (tests): Add bug-iconv8.
62880 * iconvdata/bug-iconv8.c: New file.
62881
62882 [BZ #12626]
62883 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62884 buf2 definition.
62885
62886 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62887
62888 [BZ #12432]
62889 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62890 (dummy_getcfa): New function.
62891 (init): Get _Unwind_GetCFA address, use dummy if not found.
62892 (backtrace_helper): In recursion check, also check whether CFA changes.
62893 (__backtrace): Completely initialize arg.
62894
62895 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62896 storing incomplete byte sequence in state object. Avoid testing for
62897 guaranteed too small input if we know there is enough data available.
62898
62899 2011-05-11 Andreas Schwab <schwab@redhat.com>
62900
62901 * Makeconfig (+link-pie): Indent.
62902 * Rules (binaries-pie): Define if $(have-fpie) and
62903 $(build-shared).
62904 (binaries-shared): Also filter out $(binaries-pie).
62905 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62906 * nscd/Makefile (others-pie): Add nscd.
62907 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62908 ($(objpfx)nscd): Remove command override.
62909 * login/Makefile (others-pie): Add pt_chown.
62910 ($(objpfx)pt_chown): Remove command override.
62911 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62912 remove command overrides.
62913
62914 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62915
62916 * libio/tst_putwc.c: Fix error messages.
62917
62918 [BZ #12724]
62919 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62920 currently writing and seek to current position when not.
62921 * libio/Makefile (tests): Add bug-fclose1.
62922 * libio/bug-fclose1.c: New file.
62923
62924 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62925
62926 [BZ #12511]
62927 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62928 don't set DF_1_NODELETE here.
62929 (do_lookup_x): When entering new entry test for copy relocation
62930 and if necessary set DF_1_NODELETE flag.
62931 * elf/tst-unique4.cc: New file.
62932 * elf/tst-unique4.h: New file.
62933 * elf/tst-unique4lib.cc: New file.
62934 * elf/Makefile: Add rules to build and run tst-unique4.
62935 Patch by Piotr Bury <pbury@goahead.com>.
62936
62937 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62938
62939 [BZ #12052]
62940 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62941
62942 [BZ #12625]
62943 * misc/mntent_r.c (addmntent): Flush the stream after the output
62944
62945 [BZ #12393]
62946 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62947 (is_trusted_path_normalize): Skip initial colon. Append slash
62948 to empty buffer. Duplicate is_trusted_path code but allow
62949 constructed patch to be prefix.
62950 (is_dst): Allow $ORIGIN followed by /.
62951 (_dl_dst_substitute): Correct clearing of check_for_trusted.
62952 Correct testing of result of is_trusted_path_normalize
62953 (decompose_rpath): Fix warning.
62954
62955 2011-05-10 Ulrich Drepper <drepper@gmail.com>
62956
62957 [BZ #11257]
62958 * grp/initgroups.c (internal_getgrouplist): When we found the service
62959 list through the initgroups entry in nsswitch.conf do not always
62960 continue on a successful lookup. Don't always use the
62961 __nss_group_database value if it is set.
62962 * nss/nsswitch.conf (initgroups): Change action for successful db
62963 lookup to continue for compatibility.
62964
62965 2011-05-09 Ulrich Drepper <drepper@gmail.com>
62966
62967 [BZ #11532]
62968 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62969 and CP774 modules.
62970 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62971 and CP774 modules.
62972 * iconvdata/tst-tables.sh: Likewise.
62973 * iconvdata/cp770.c: New file.
62974 * iconvdata/cp771.c: New file.
62975 * iconvdata/cp772.c: New file.
62976 * iconvdata/cp773.c: New file.
62977 * iconvdata/cp774.c: New file.
62978 * iconvdata/testdata/CP770: New file.
62979 * iconvdata/testdata/CP770..UTF8: New file.
62980 * iconvdata/testdata/CP771: New file.
62981 * iconvdata/testdata/CP771..UTF8: New file.
62982 * iconvdata/testdata/CP772: New file.
62983 * iconvdata/testdata/CP772..UTF8: New file.
62984 * iconvdata/testdata/CP773: New file.
62985 * iconvdata/testdata/CP773..UTF8: New file.
62986 * iconvdata/testdata/CP774: New file.
62987 * iconvdata/testdata/CP774..UTF8: New file.
62988
62989 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62990 END CHARMAP line.
62991 * iconvdata/gen-8bit-gap.sh: Likewise.
62992 * iconvdata/gen-8bit.sh: Likewise.
62993
62994 * locale/iso-639.def: Add ary entry.
62995
62996 [BZ #11258]
62997 * locale/C-translit.h.in: Add U20A1 transliteration.
62998
62999 [BZ #12178]
63000 * locale/iso-639.def: Add wae entry.
63001 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63002
63003 [BZ #12545]
63004 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63005 for n.
63006
63007 [BZ #12711]
63008 * locale/C-translit.h.in: Add entry for U20B9.
63009 Patch by pravin.d.s@gmail.com.
63010
63011 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63012
63013 [BZ #12713]
63014 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63015 ENAMETOOLONG use generic getcwd.
63016 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63017 in rtld. Use *stat64.
63018 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63019 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63020 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63021 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63022 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63023 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63024 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63025 __fstatat64 macros.
63026 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63027 * dirent/rewinddir.c: Add libc_hidden_def.
63028 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63029 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63030
63031 * include/dirent.h (__alloc_dir): Add flags parameter.
63032 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63033 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63034 __alloc_dir.
63035 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63036 from fdopendir if O_CLOEXEC is already set.
63037
63038 2011-03-15 Alan Modra <amodra@gmail.com>
63039
63040 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63041 l_tls_firstbyte_offset non-zero. Save padding offset in
63042 l_tls_firstbyte_offset for later use.
63043 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63044 freeing static tls block.
63045
63046 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63047
63048 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63049 where #ifdef was intended. The intent is to prevent ARG_MAX from
63050 being defined by the kernel headers.
63051
63052 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63053
63054 [BZ #12734]
63055 * resolv/resolv.h: Define RES_NOTLDQUERY.
63056 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63057 no-tld-query and set RES_NOTLDQUERY.
63058 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63059 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63060 modern BIND to search name as TLD unless forbidden.
63061
63062 2011-05-07 Petr Baudis <pasky@suse.cz>
63063 Ulrich Drepper <drepper@gmail.com>
63064
63065 [BZ #12393]
63066 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63067 (is_trusted_path): ...to here.
63068 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63069 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63070 using is_trusted_path_normalize() in setuid scripts.
63071
63072 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63073
63074 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63075 __BEGIN/__END_DECLS.
63076
63077 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63078
63079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63080 NSS_STATUS_NOTFOUND if no record was found.
63081
63082 2011-05-05 Andreas Schwab <schwab@redhat.com>
63083
63084 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63085 (headers-not-in-tirpc): Remove rpc/netdb.h
63086 * resolv/netdb.h: Revert last change.
63087
63088 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63089
63090 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63091 circular dependency between libgcc.a and libc.a.
63092
63093 2011-05-05 Andreas Schwab <schwab@redhat.com>
63094
63095 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63096 * nis/Makefile: Don't install rpcsvc/*.
63097 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63098 instead of <rpc/types.h>.
63099 (MAXHOSTNAMELEN): Define.
63100
63101 2011-05-03 Andreas Schwab <schwab@redhat.com>
63102
63103 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63104
63105 2011-04-28 Maciej Babinski <mbabinski@google.com>
63106
63107 [BZ #12714]
63108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63109 gethostbyname4_r when IPv6 results are possible.
63110
63111 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63112
63113 [BZ #12723]
63114 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63115 _PC_PIPE_BUF handling.
63116
63117 2011-04-30 Bruno Haible <bruno@clisp.org>
63118
63119 [BZ #12717]
63120 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63121 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63122 to 'int'.
63123 * inet/getnameinfo.c (getnameinfo): Likewise.
63124
63125 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63126
63127 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63128 to groups setting in database lookup.
63129 * nss/nsswitch.conf: Add initgroups entry.
63130
63131 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63132
63133 [BZ #12685]
63134 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63135 mode string.
63136 Patch by Eric Blake <eblake@redhat.com>.
63137
63138 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63139
63140 * sunrpc/Makefile (need-export-routines): Add svc_run.
63141 (routines): Remove svc_run.
63142 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63143 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63144 * sunrpc/svc_run.c (svc_run): Likewise.
63145 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63146
63147 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63148
63149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63150 problem in reallocation in last patch.
63151
63152 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63153
63154 * sunrpc/Makefile: Move inclusion of Rules.
63155
63156 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63157
63158 * nss/nss_files/files-initgroups.c: New file.
63159 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63160 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63161 _nss_files_initgroups_dyn.
63162
63163 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63164
63165 * elf/elf.h (R_ARM_IRELATIVE): Define.
63166
63167 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63168
63169 * po/ru.po: Update from translation team.
63170
63171 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63172
63173 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63174 dependencies.
63175
63176 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63177
63178 [BZ #12653]
63179 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63180 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63183 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63184
63185 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63186
63187 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63188 differing bytes.
63189 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63192
63193 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63194
63195 [BZ #12420]
63196 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63197 storing it.
63198 * stdlib/bug-getcontext.c: New file.
63199 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63200
63201 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63202
63203 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63204 instructions into .machine "z9-109".
63205 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63206 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63207
63208 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63209
63210 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63211 between environment variables and auxiliary vector.
63212
63213 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63214
63215 * Makefile: Add rules to build linkobj/libc.so.
63216 * include/libc-symbols.h: Define libc_hidden_nolink.
63217 * include/rpc/auth.h: Mark functions which are to be hidden.
63218 * include/rpc/auth_des.h: Likewise.
63219 * include/rpc/auth_unix.h: Likewise.
63220 * include/rpc/clnt.h: Likewise.
63221 * include/rpc/des_crypt.h: Likewise.
63222 * include/rpc/key_prot.h: Likewise.
63223 * include/rpc/pmap_clnt.h: Likewise.
63224 * include/rpc/pmap_prot.h: Likewise.
63225 * include/rpc/pmap_rmt.h: Likewise.
63226 * include/rpc/rpc_msg.h: Likewise.
63227 * include/rpc/svc.h: Likewise.
63228 * include/rpc/svc_auth.h: Likewise.
63229 * include/rpc/xdr.h: Likewise.
63230 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63231 * nss/Makefile: Likewise.
63232 * sunrpc/Makefile: Don't install headers. Build library with normal
63233 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63234 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63235 for the compat linking library. Remove use of INTDEF/INTUSE.
63236 * sunrpc/auth_none.c: Likewise.
63237 * sunrpc/auth_unix.c: Likewise.
63238 * sunrpc/authdes_prot.c: Likewise.
63239 * sunrpc/authuxprot.c: Likewise.
63240 * sunrpc/clnt_gen.c: Likewise.
63241 * sunrpc/clnt_perr.c: Likewise.
63242 * sunrpc/clnt_raw.c: Likewise.
63243 * sunrpc/clnt_simp.c: Likewise.
63244 * sunrpc/clnt_tcp.c: Likewise.
63245 * sunrpc/clnt_udp.c: Likewise.
63246 * sunrpc/clnt_unix.c: Likewise.
63247 * sunrpc/des_crypt.c: Likewise.
63248 * sunrpc/des_soft.c: Likewise.
63249 * sunrpc/get_myaddr.c: Likewise.
63250 * sunrpc/key_call.c: Likewise.
63251 * sunrpc/key_prot.c: Likewise.
63252 * sunrpc/netname.c: Likewise.
63253 * sunrpc/pm_getmaps.c: Likewise.
63254 * sunrpc/pm_getport.c: Likewise.
63255 * sunrpc/pmap_clnt.c: Likewise.
63256 * sunrpc/pmap_prot.c: Likewise.
63257 * sunrpc/pmap_prot2.c: Likewise.
63258 * sunrpc/pmap_rmt.c: Likewise.
63259 * sunrpc/publickey.c: Likewise.
63260 * sunrpc/rpc_cmsg.c: Likewise.
63261 * sunrpc/rpc_common.c: Likewise.
63262 * sunrpc/rpc_dtable.c: Likewise.
63263 * sunrpc/rpc_prot.c: Likewise.
63264 * sunrpc/rpc_thread.c: Likewise.
63265 * sunrpc/rtime.c: Likewise.
63266 * sunrpc/svc.c: Likewise.
63267 * sunrpc/svc_auth.c: Likewise.
63268 * sunrpc/svc_authux.c: Likewise.
63269 * sunrpc/svc_raw.c: Likewise.
63270 * sunrpc/svc_run.c: Likewise.
63271 * sunrpc/svc_simple.c: Likewise.
63272 * sunrpc/svc_tcp.c: Likewise.
63273 * sunrpc/svc_udp.c: Likewise.
63274 * sunrpc/svc_unix.c: Likewise.
63275 * sunrpc/svcauth_des.c: Likewise.
63276 * sunrpc/xcrypt.c: Likewise.
63277 * sunrpc/xdr.c: Likewise.
63278 * sunrpc/xdr_array.c: Likewise.
63279 * sunrpc/xdr_float.c: Likewise.
63280 * sunrpc/xdr_intXX_t.c: Likewise.
63281 * sunrpc/xdr_mem.c: Likewise.
63282 * sunrpc/xdr_rec.c: Likewise.
63283 * sunrpc/xdr_ref.c: Likewise.
63284 * sunrpc/xdr_sizeof.c: Likewise.
63285 * sunrpc/xdr_stdio.c: Likewise.
63286
63287 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63288
63289 [BZ #12650]
63290 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63291 * sysdeps/ia64/dl-tls.h: Likewise.
63292 * sysdeps/powerpc/dl-tls.h: Likewise.
63293 * sysdeps/s390/dl-tls.h: Likewise.
63294 * sysdeps/sh/dl-tls.h: Likewise.
63295 * sysdeps/sparc/dl-tls.h: Likewise.
63296 * sysdeps/x86_64/dl-tls.h: Likewise.
63297 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63298
63299 2011-03-14 Andreas Schwab <schwab@redhat.com>
63300
63301 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63302 rpath element also skip the following colon.
63303 (expand_dynamic_string_token): Add is_path parameter and pass
63304 down to DL_DST_REQUIRED and _dl_dst_substitute.
63305 (decompose_rpath): Call expand_dynamic_string_token with
63306 non-zero is_path. Ignore empty rpaths.
63307 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63308 with zero is_path.
63309
63310 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63311
63312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63313 Make cancelable.
63314
63315 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63316
63317 [BZ #12655]
63318 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63319 Patch by Filipe David Manana <fdmanana@apache.org>.
63320
63321 2011-04-07 Andreas Schwab <schwab@redhat.com>
63322
63323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63324 Maintain aligned stack.
63325 (CHECK_RSP): Remove unused macro.
63326
63327 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63328
63329 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63330 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63331
63332 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63333
63334 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63335
63336 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63337
63338 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63339
63340 [BZ #12518]
63341 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63342 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63343 * sysdeps/x86_64/memmove.c: New file.
63344 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63345 (memcpy): Renamed to ...
63346 (__new_memcpy): This.
63347 (memcpy): Provide GLIBC_2_14 memcpy.
63348 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63349 (memcpy): Provide GLIBC_2_2_5 memcpy.
63350
63351 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63352
63353 [BZ #12631]
63354 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63355
63356 2011-03-30 Andreas Schwab <schwab@redhat.com>
63357
63358 * misc/syncfs.c: New file.
63359 * misc/Makefile (routines): Add syncfs.
63360 * posix/unistd.h: Declare syncfs.
63361 * sysdeps/unix/syscalls.list: Add syncfs.
63362
63363 2011-04-01 Andreas Schwab <schwab@redhat.com>
63364
63365 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63366 open_by_handle_at.
63367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63368 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63370 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63372 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63374
63375 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63376
63377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63378 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63379 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63381 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63384
63385 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63386 sync_file_range.c with -fexceptions.
63387 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63388 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63389 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63390 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63391 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63392 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63394 sync_file_range as cancellation point
63395 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63396 now a wrapper around __call_sync_file_range with cancellation handling.
63397 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63398 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63399 function name to __call_sync_file_range.
63400 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63401 Add call_sync_file_range.
63402
63403 2011-04-01 Andreas Schwab <schwab@redhat.com>
63404
63405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63406 bits/timex.h.
63407
63408 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63409
63410 * iconv/iconv.h: Fix typo in comment.
63411 * io/fcntl.h: Likewise.
63412 * libio/stdio.h: Likewise.
63413 * posix/spawn.h: Likewise.
63414 * posix/unistd.h: Likewise.
63415 * stdlib/stdlib.h: Likewise.
63416 * time/time.h: Likewise.
63417 * wcsmbs/wchar.h: Likewise.
63418
63419 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63420 open_by_handle): Add.
63421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63422 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63423 Augment a few comments.
63424 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63425 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63426 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63429 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63430 open_by_handle.
63431
63432 * io/fcntl.h (AT_EMPTY_PATH): Define.
63433
63434 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63435
63436 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63437 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63438 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63439 to...
63440 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63441 * Versions.def: Add GLIBC_2.14.
63442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63443 Export.
63444
63445 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63446
63447 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63448 round counter.
63449 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63450
63451 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63452
63453 [BZ #12597]
63454 * string/test-strncmp.c (do_page_test): New function.
63455 (check2): Likewise.
63456 (test_main): Call check2.
63457 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63458
63459 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63460
63461 [BZ #12587]
63462 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63463 Handle cache information in CPU leaf 4.
63464 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63465
63466 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63467
63468 [BZ #12583]
63469 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63470 character representation.
63471 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63472
63473 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63474
63475 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63476 END(__isnan) to END(__isnanf) to match function entry point/label
63477 EALIGN(__isnanf,...).
63478
63479 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63480
63481 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63482
63483 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63484
63485 [BZ #12510]
63486 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63487 copy from the symbol referenced in the relocation to initialize the
63488 used variable.
63489 Patch by Piotr Bury <pbury@goahead.com>.
63490 * elf/Makefile: Add rules to build and tst-unique3.
63491 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63492 * elf/tst-unique3.cc: New file.
63493 * elf/tst-unique3.h: New file.
63494 * elf/tst-unique3lib.cc: New file.
63495 * elf/tst-unique3lib2.cc: New file.
63496
63497 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63498
63499 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63500
63501 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63502 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63503 to _start.
63504
63505 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63506
63507 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63508 to-be-loaded object along a path to loader is ld.so.
63509
63510 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63511 Ulrich Drepper <drepper@gmail.com>
63512
63513 * sysdeps/x86_64/memset.S: After aligning destination, code
63514 branches to different locations depending on the value of
63515 misalignment, when multiarch is enabled. Fix this.
63516
63517 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63518
63519 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63520 Set _x86_64_preferred_memory_instruction for AMD processsors.
63521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63522 Set bit_Prefer_SSE_for_memop for AMD processors.
63523
63524 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63525
63526 * libio/fmemopen.c (fmemopen): Optimize a bit.
63527
63528 2011-03-03 Andreas Schwab <schwab@redhat.com>
63529
63530 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63531
63532 2011-03-03 Roland McGrath <roland@redhat.com>
63533
63534 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63535
63536 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63537
63538 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63539 __bzero_ultra1 instead of __memset_ultra1.
63540
63541 2011-02-23 Andreas Schwab <schwab@redhat.com>
63542 Ulrich Drepper <drepper@gmail.com>
63543
63544 [BZ #12509]
63545 * include/link.h (struct link_map): Add l_orig_initfini.
63546 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63547 returning unsuccessfully.
63548 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63549 close of a file loaded at startup, restore the original l_initfini
63550 list.
63551 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63552 list, store the pointer.
63553 * elf/Makefile ($(objpfx)noload-mem): New rule.
63554 (noload-ENV): Define.
63555 (tests): Add $(objpfx)noload-mem.
63556 * elf/noload.c: Include <memcheck.h>.
63557 (main): Call mtrace. Close all opened handles.
63558
63559 2011-02-17 Andreas Schwab <schwab@redhat.com>
63560
63561 [BZ #12454]
63562 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63563 dependencies are missing.
63564
63565 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63566
63567 Fix __if_freereq crash: Unlike the generic version which uses free,
63568 Hurd needs munmap.
63569 * sysdeps/mach/hurd/ifreq.h: New file.
63570
63571 2011-01-27 Petr Baudis <pasky@suse.cz>
63572 Ulrich Drepper <drepper@gmail.com>
63573
63574 [BZ 12445]#
63575 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63576 to extend_alloca().
63577 * stdio-common/bug23.c: New file.
63578 * stdio-common/Makefile (tests): Add bug23.
63579
63580 2010-09-28 Andreas Schwab <schwab@redhat.com>
63581 Ulrich Drepper <drepper@gmail.com>
63582
63583 [BZ #12489]
63584 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63585 before performing relro protection. At old place add assertion
63586 to make sure nothing changed.
63587
63588 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63589 Glauber de Oliveira Costa <glommer@gmail.com>
63590
63591 * elf/elf.h: Add new ARM TLS relocs.
63592
63593 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63594
63595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63596 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63597 cast from r3.
63598 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63599 'tests' variable.
63600 * sysdeps/wordsize-64/tst-writev.c: New file.
63601
63602 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63603
63604 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63605 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63606 insns in _dl_start to prevent a TOC reference before relocs are
63607 resolved.
63608
63609 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63610
63611 [BZ #12469]
63612 * Makeconfig: Remove RANLIB definition.
63613 * Makerules: Don't use RANLIB.
63614 * aclocal.m4: Remove ranlib test.
63615 * configure.in: No need to check for ranlib.
63616 * elf/rtld-Rules: Don't use RANLIB.
63617
63618 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63619
63620 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63621 protection macro.
63622 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63623 inclusion protection macro.
63624
63625 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63626 SIGRTMIN and SIGRTMAX and print information in that case only when
63627 SIGRTMIN is defined.
63628
63629 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63630
63631 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63632 arginfo fn returning -1.
63633
63634 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63635 and thousands string is zero terminated.
63636
63637 2011-02-03 Andreas Schwab <schwab@redhat.com>
63638
63639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63640 sysdeps/unix/sysv/linux/bits/socket.h.
63641
63642 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63643
63644 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63645 (__CPU_COUNT): Remove old macros.
63646 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63647 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63648 (__CPU_ALLOC, __CPU_FREE): Add macros.
63649 (__sched_cpualloc, __sched_cpufree): Add declarations.
63650
63651 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63652
63653 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63654 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63655 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63656 (readdhstai): Return value of addhstaiX call.
63657 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63658 (addgrbyX): Return value returned by cache_addgr.
63659 (readdgrbyname): Return value returned by addgrbyX.
63660 (readdgrbygid): Likewise.
63661 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63662 (addpwbyX): Return value returned by cache_addpw.
63663 (readdpwbyname): Return value returned by addhstbyX.
63664 (readdpwbyuid): Likewise.
63665 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63666 (addservbyX): Return value returned by cache_addserv.
63667 (readdservbyname): Return value returned by addservbyX:
63668 (readdservbyport): Likewise.
63669 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63670 (addhstbyX): Return value returned by cache_addhst.
63671 (readdhstbyname): Return value returned by addhstbyX.
63672 (readdhstbyaddr): Likewise.
63673 (readdhstbynamev6): Likewise.
63674 (readdhstbyaddrv6): Likewise.
63675 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63676 (readdinitgroups): Return value returned by addinitgroupsX.
63677 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63678 (prune_cache): Keep track of timeout value of re-added entries.
63679 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63680 * nscd/nscd.h: Adjust prototypes of readd* functions.
63681
63682 2011-02-04 Roland McGrath <roland@redhat.com>
63683
63684 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63685 (nis_stats): Likewise.
63686 * nis/nis_modify.c (nis_modify): Likewise.
63687 * nis/nis_remove.c (nis_remove): Likewise.
63688 * nis/nis_add.c (nis_add): Likewise.
63689
63690 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63691
63692 * posix/fnmatch_loop.c: Add some consts.
63693
63694 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63695
63696 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63697
63698 [BZ #12460]
63699 * config.make.in (config-cflags-novzeroupper): Define.
63700 * configure.in: Substitute libc_cv_cc_novzeroupper.
63701 * elf/Makefile (AVX-CFLAGS): Define.
63702 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63703 (CFLAGS-tst-auditmod4a.c): Likewise.
63704 (CFLAGS-tst-auditmod4b.c): Likewise.
63705 (CFLAGS-tst-auditmod6b.c): Likewise.
63706 (CFLAGS-tst-auditmod6c.c): Likewise.
63707 (CFLAGS-tst-auditmod7b.c): Likewise.
63708 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63709
63710 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63711
63712 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63713 function to the callback.
63714 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63715
63716 2011-02-02 Andreas Schwab <schwab@redhat.com>
63717
63718 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63719 of errno.
63720
63721 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63722
63723 [BZ #11724]
63724 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63725 of constructors.
63726 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63727 of destructors.
63728 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63729
63730 [BZ #11724]
63731 * elf/Makefile: Add rules to build and run new test.
63732 * elf/tst-initorder.c: New file.
63733 * elf/tst-initorder.exp: New file.
63734 * elf/tst-initordera1.c: New file.
63735 * elf/tst-initordera2.c: New file.
63736 * elf/tst-initordera3.c: New file.
63737 * elf/tst-initordera4.c: New file.
63738 * elf/tst-initorderb1.c: New file.
63739 * elf/tst-initorderb2.c: New file.
63740 * elf/tst-order-a1.c: New file.
63741 * elf/tst-order-a2.c: New file.
63742 * elf/tst-order-a3.c: New file.
63743 * elf/tst-order-a4.c: New file.
63744 * elf/tst-order-b1.c: New file.
63745 * elf/tst-order-b2.c: New file.
63746 * elf/tst-order-main.c: New file.
63747 New test case by George Gensure <werkt0@gmail.com>.
63748
63749 2010-10-01 Andreas Schwab <schwab@redhat.com>
63750
63751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63752 decoding ACE if AI_CANONIDN.
63753
63754 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63755
63756 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63757
63758 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63759
63760 * version.h (RELEASE): Bump for 2.13 release.
63761 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63762
63763 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63764
63765 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63766 MADV_NOHUGEPAGE.
63767 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63768 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63772 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63773
63774 * posix/getconf.c: Update copyright year.
63775 * catgets/gencat.c: Likewise.
63776 * csu/version.c: Likewise.
63777 * debug/catchsegv.sh: Likewise.
63778 * debug/xtrace.sh: Likewise.
63779 * elf/ldconfig.c: Likewise.
63780 * elf/ldd.bash.in: Likewise.
63781 * elf/sprof.c (print_version): Likewise.
63782 * iconv/iconv_prog.c: Likewise.
63783 * iconv/iconvconfig.c: Likewise.
63784 * locale/programs/locale.c: Likewise.
63785 * locale/programs/localedef.c: Likewise.
63786 * malloc/memusage.sh: Likewise.
63787 * malloc/mtrace.pl: Likewise.
63788 * nscd/nscd.c (print_version): Likewise.
63789 * nss/getent.c: Likewise.
63790
63791 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63792 PF_CAIF, and PF_ALG.
63793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63794
63795 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63796
63797 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63798 (modules-names): Use them.
63799 (ifunc-test-modules, ifunc-pie-tests): Define.
63800 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63801 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63802 (test-extras): Likewise.
63803 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63804 $(compile-command.c).
63805 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63806 (all-built-dso): Define.
63807 (check-textrel.out, check-execstack.out): Depend on it.
63808
63809 * configure.in: Don't override --enable-multi-arch.
63810
63811 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63812
63813 [BZ #6812]
63814 * nscd/hstcache.c (tryagain): Define.
63815 (cache_addhst): Return tryagain not notfound for temporary errors.
63816 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63817 failed.
63818
63819 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63820
63821 [BZ #10563]
63822 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63823 to make the syscall.
63824 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63825
63826 [BZ #12378]
63827 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63828 and fall back to matching as normal character if the string ends before
63829 the matching ']' is found. This is what POSIX requires.
63830 * posix/testfnm.c: Adjust test result.
63831 * posix/globtest.sh: Adjust test result. Add new test.
63832 * posix/tst-fnmatch.input: Likewise.
63833 * posix/tst-fnmatch2.c: Add new test.
63834
63835 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63836
63837 * elf/Makefile (check-execstack): Revert last change. Depend on
63838 check-execstack.h.
63839 (check-execstack.h): New target.
63840 (generated): Add check-execstack.h.
63841 * elf/check-execstack.c: Include "check-execstack.h".
63842 (main): Revert last change.
63843 (handle_file): Return zero if GNU_STACK is absent and
63844 DEFAULT_STACK_PERMS doesn't include PF_X.
63845
63846 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63847
63848 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63849 in child fails because the descriptor is already closed.
63850 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63851 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63852 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63853
63854 [BZ #12397]
63855 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63856 syscall.
63857
63858 [BZ #10484]
63859 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63860 temporary buffer used to handle multi lookups locally.
63861 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63862
63863 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63864
63865 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63866 loader is ld.so.
63867
63868 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63869
63870 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63871 alignment for SSE2.
63872
63873 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63874
63875 [BZ #12394]
63876 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63877 characters. When rounding increased number of integer digits recompute
63878 number of groups.
63879 * stdio-common/tst-grouping.c: New file.
63880 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63881
63882 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63883
63884 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63885 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63886
63887 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63888 void.
63889 * bits/select.h: Likewise.
63890
63891 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63892
63893 * po/ja.po: Update from translation team.
63894
63895 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63896
63897 [BZ #11155]
63898 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63899 implementation just like for lxstat, fxstatat, et al.
63900
63901 2010-12-27 Jim Meyering <meyering@redhat.com>
63902
63903 [BZ #12348]
63904 * posix/regexec.c (build_trtable): Return failure indication upon
63905 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63906
63907 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63908
63909 [BZ #12201]
63910 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63911 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63912 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63913 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63914
63915 [BZ #12207]
63916 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63917
63918 [BZ #12204]
63919 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63920 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63921
63922 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63923
63924 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63925 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63926 script has SORT_BY_INIT_PRIORITY.
63927 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63928 NO_CTORS_DTORS_SECTIONS is defined.
63929 * elf/soinit.c: Likewise.
63930 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63931 NO_CTORS_DTORS_SECTIONS is defined.
63932 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63933 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63934 * sysdeps/sh/init-first.c: Likewise.
63935 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63936
63937 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63938
63939 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63940 always use the slow path.
63941
63942 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63943
63944 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63945 similar rule which adds the sysdep directories to the header search in
63946 order to pick up the correct platform stackinfo.h.
63947 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63948 perform test if it is, otherwise return successfully without testing.
63949 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63950 DEFAULT_STACK_PERMS define in stackinfo.h.
63951 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63952 defined in stackinfo.h.
63953 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63954 DEFAULT_STACK_PERMS defined in stackinfo.h.
63955 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63956 * sysdeps/ia64/stackinfo.h: Likewise.
63957 * sysdeps/s390/stackinfo.h: Likewise.
63958 * sysdeps/sh/stackinfo.h: Likewise.
63959 * sysdeps/sparc/stackinfo.h: Likewise.
63960 * sysdeps/x86_64/stackinfo.h: Likewise.
63961 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63962 PF_X for powerpc64. Retain PF_X for powerpc32.
63963
63964 2010-12-19 Ulrich Drepper <drepper@gmail.com>
63965
63966 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63967 accurately.
63968 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63969 GETDENTS_64BIT_ALIGNED.
63970
63971 2010-12-14 Ulrich Drepper <dreper@gmail.com>
63972
63973 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63974
63975 2010-12-10 Andreas Schwab <schwab@redhat.com>
63976
63977 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63978 _GNU_SOURCE.
63979
63980 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63981 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63982 Remove __restrict.
63983 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63984 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63985
63986 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63987
63988 [BZ #11655]
63989 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63990 are initialized.
63991
63992 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63993
63994 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63995
63996 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63997
63998 * po/it.po: Update from translation team.
63999
64000 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64001
64002 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64003 unused codes.
64004
64005 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64006
64007 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64008
64009 2010-11-24 Andreas Schwab <schwab@redhat.com>
64010
64011 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64012 specially.
64013 (gaih_getanswer_slice): Likewise.
64014
64015 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64016
64017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64018
64019 2010-05-31 Petr Baudis <pasky@suse.cz>
64020
64021 [BZ #11149]
64022 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64023 silently even in the chroot mode.
64024
64025 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64026
64027 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64028 last patch a bit. Pretty printing
64029
64030 2010-05-31 Petr Baudis <pasky@suse.cz>
64031
64032 [BZ #10085]
64033 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64034 initialization of skip_initgroups_dyn.
64035
64036 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64037
64038 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64039 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64040
64041 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64042
64043 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64044
64045 2010-11-11 Andreas Schwab <schwab@redhat.com>
64046
64047 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64048 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64049 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64050 ($(objpfx)tst-fnmatch-mem): New rule.
64051 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64052 * posix/tst-fnmatch.c (main): Call mtrace.
64053
64054 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64055
64056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64057 Support Intel processor model 6 and model 0x2c.
64058
64059 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64060
64061 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64062 signed comparison.
64063
64064 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64065
64066 [BZ #12205]
64067 * string/test-strncasecmp.c (check_result): New function.
64068 (do_one_test): Use it.
64069 (check1): New function.
64070 (test_main): Use it.
64071 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64072 Support strcasecmp and strncasecmp.
64073
64074 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64075
64076 [BZ #12194]
64077 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64078 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64079
64080 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64081
64082 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64083 IFUNC support.
64084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64085 memset-x86-64.
64086 * sysdeps/x86_64/multiarch/bzero.S: New file.
64087 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64088 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64089 * sysdeps/x86_64/multiarch/memset.S: New file.
64090 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64092 Set bit_Prefer_SSE_for_memop for Intel processors.
64093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64094 Define.
64095 (index_Prefer_SSE_for_memop): Define.
64096 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64097
64098 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64099
64100 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64101 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64102
64103 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64104
64105 [BZ #12191]
64106 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64107 (__x86_64_raw_data_cache_size_half): Likewise.
64108 (__x86_64_raw_shared_cache_size): Likewise.
64109 (__x86_64_raw_shared_cache_size_half): Likewise.
64110
64111 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64112 (__x86_64_raw_data_cache_size_half): Likewise.
64113 (__x86_64_raw_shared_cache_size): Likewise.
64114 (__x86_64_raw_shared_cache_size_half): Likewise.
64115 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64116 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64117 and __x86_64_raw_shared_cache_size_half. Round
64118 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64119 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64120 to multiple of 256 bytes.
64121
64122 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64123
64124 [BZ #12167]
64125 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64126 of inacessible symlinks. Verify result of symlink before returning it.
64127 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64128 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64129
64130 2010-10-28 Erich Ritz <erichritz@gmail.com>
64131
64132 * math/math.h (isinf): Fix typo in comment.
64133
64134 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64135
64136 * po/da.po: Update from translation team.
64137
64138 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64139
64140 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64141 is added to the list.
64142
64143 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64144 Ulrich Drepper <drepper@gmail.com>
64145
64146 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64147 the global list here. Move code to...
64148 (_dl_add_to_namespace_list): ...here. New function.
64149 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64150 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64151 * elf/dl-load.c (lose): Don't remove the element from the list.
64152 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64153 (_dl_map_object): Likewise.
64154
64155 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64156
64157 [BZ #12159]
64158 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64159 into all bytes of SSE register.
64160 Patch by Richard Li <richardpku@gmail.com>.
64161
64162 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64163
64164 [BZ #12140]
64165 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64166 perturbing.
64167
64168 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64169
64170 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64171 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64172 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64173 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64175 submachine.
64176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64177
64178 2010-10-22 Andreas Schwab <schwab@redhat.com>
64179
64180 * include/dlfcn.h (__RTLD_SECURE): Define.
64181 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64182 mode & __RTLD_SECURE instead.
64183 (open_path): Rename preloaded parameter to secure.
64184 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64185 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64186 * elf/dl-deps.c (openaux): Likewise.
64187 * elf/rtld.c (struct map_args): Remove is_preloaded.
64188 (map_doit): Don't use it.
64189 (dl_main): Likewise.
64190 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64191 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64192
64193 2010-09-09 Andreas Schwab <schwab@redhat.com>
64194
64195 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64196 (sysd-rules-targets): Remove duplicates.
64197 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64198 rtld-%.$o dependency.
64199
64200 2010-10-18 Andreas Schwab <schwab@redhat.com>
64201
64202 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64203 _dl_map_object do it.
64204
64205 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64206
64207 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64208 fast fma builtins, define the macros in the C99 standard.
64209 (FP_FAST_FMAF): Likewise.
64210 (FP_FAST_FMAL): Likewise.
64211 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64212
64213 * bits/mathdef.h: Update copyright year.
64214 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64215
64216 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64217
64218 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64219 builtins, define the macros in the C99 standard.
64220 (FP_FAST_FMAF): Likewise.
64221 (FP_FAST_FMAL): Likewise.
64222 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64223 multiply/add.
64224 (FP_FAST_FMAF): Likewise.
64225
64226 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64227
64228 [BZ #3268]
64229 * math/libm-test.inc (fma_test): Some new testcases.
64230 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64231 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64232 y and infinite z. Do multiplication by C already in long double.
64233 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64235 y and infinite z. Do bitwise or of inexact bit into u.d.
64236 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64237 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64238 * sysdeps/i386/fpu/s_fma.S: Removed.
64239 * sysdeps/i386/fpu/s_fmal.S: Removed.
64240
64241 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64242
64243 [BZ #3268]
64244 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64246 computation is not scheduled after fetestexcept. Fix value
64247 of minimum denormal long double.
64248
64249 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64250
64251 [BZ #3268]
64252 * math/libm-test.inc (fma_test): Add some more tests.
64253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64254 correctly.
64255
64256 2010-10-15 Andreas Schwab <schwab@redhat.com>
64257
64258 * scripts/data/localplt-s390-linux-gnu.data: New file.
64259 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64260
64261 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64262
64263 [BZ #3268]
64264 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64265 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64266 instead of dbl-64.
64267 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64268 inlines.
64269 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64271 if one of x and y is very large and the other is subnormal.
64272 * sysdeps/s390/fpu/s_fmaf.c: New file.
64273 * sysdeps/s390/fpu/s_fma.c: New file.
64274 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64275 * sysdeps/powerpc/fpu/s_fma.S: New file.
64276 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64277 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64278 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64279
64280 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64281
64282 [BZ #3268]
64283 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64284 fma tests.
64285 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64286 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64287 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64288 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64289 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64290 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64291 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64292
64293 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64294
64295 [BZ #12078]
64296 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64297 * posix/bug-regex31.input: Add test case.
64298
64299 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64300
64301 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64302 * posix/bug-regex31.input: New file.
64303
64304 [BZ #12078]
64305 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64306 (parse_sub_exp): Fix last change, use postorder.
64307
64308 * posix/bug-regex31.c: New file.
64309 * posix/Makefile: Add rules to build and run bug-regex31.
64310
64311 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64312
64313 [BZ #12078]
64314 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64315
64316 [BZ #12108]
64317 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64318 to have entries in sys_siglist.
64319
64320 [BZ #12093]
64321 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64322 be NULL.
64323
64324 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64325
64326 [BZ #3268]
64327 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64328 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64329 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64330 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64331 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64332 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64333 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64334 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64335 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64336 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64337 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64338 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64339 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64340 * math/ftestexcept.c (fetestexcept): Likewise.
64341 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64342 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64343 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64344 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64345 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64346 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64347 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64348
64349 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64350
64351 [BZ #12107]
64352 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64353 newline.
64354
64355 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64356
64357 * string/bug-strstr1.c: New file.
64358 * string/Makefile: Add rules to build and run bug-strstr1.
64359
64360 2010-10-05 Eric Blake <eblake@redhat.com>
64361
64362 [BZ #12092]
64363 * string/str-two-way.h (two_way_long_needle): Always clear memory
64364 when skipping input due to the shift table.
64365
64366 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64367
64368 [BZ #12005]
64369 * malloc/mcheck.c: Handle large requests.
64370
64371 [BZ #12077]
64372 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64373 for strncmp and strncasecmp.
64374 * string/stratcliff.c: Add tests for strcmp and strncmp.
64375 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64376
64377 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64378
64379 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64380 __set_fpscr.
64381
64382 2010-09-30 Andreas Jaeger <aj@suse.de>
64383
64384 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64385 (CGROUP_SUPER_MAGIC): Define.
64386 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64387 Handle btrfs and cgroup file systems.
64388 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64389 Likewise.
64390
64391 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64392
64393 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64394 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64395
64396 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64397
64398 [BZ #12067]
64399 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64400 trying to locate the ELF header.
64401
64402 2010-09-27 Andreas Schwab <schwab@redhat.com>
64403
64404 [BZ #11611]
64405 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64406 Mask out sign-bit copies when constructing f_fsid.
64407
64408 2010-09-24 Petr Baudis <pasky@suse.cz>
64409
64410 * debug/stack_chk_fail_local.c: Add missing licence exception.
64411 * debug/warning-nop.c: Likewise.
64412
64413 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64414
64415 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64416 implementing getdents64 using getdents syscall, set d_type if
64417 __ASSUME_GETDENTS32_D_TYPE.
64418
64419 2010-09-16 Andreas Schwab <schwab@redhat.com>
64420
64421 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64422 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64423
64424 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64425
64426 [BZ #12037]
64427 * posix/unistd.h: Undo change of feature selection for ftruncate from
64428 2010-01-11.
64429
64430 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64431
64432 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64433 detection.
64434
64435 2010-09-20 Andreas Schwab <schwab@redhat.com>
64436
64437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64438 fanotify_mark.
64439 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64440
64441 2010-09-14 Andreas Schwab <schwab@redhat.com>
64442
64443 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64444 variables after CHECK_SP call.
64445 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64446
64447 2010-09-13 Andreas Schwab <schwab@redhat.com>
64448 Ulrich Drepper <drepper@redhat.com>
64449
64450 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64451 re-relocationg ld.so.
64452 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64453 _dl_init_paths call.
64454 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64455 here anymore.
64456
64457 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64458
64459 * resolv/res_init.c (__res_vinit): Count the default server we added.
64460
64461 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64462 Ulrich Drepper <drepper@redhat.com>
64463
64464 [BZ #11968]
64465 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64466 (____longjmp_chk): Use %ebx for saving value across system call.
64467 Add unwind info.
64468
64469 2010-09-06 Andreas Schwab <schwab@redhat.com>
64470
64471 * manual/Makefile: Don't mix pattern rules with normal rules.
64472
64473 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64474
64475 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64476 operation.
64477 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64478 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64479 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64480 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64482 Likewise.
64483
64484 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64485
64486 [BZ #11979]
64487 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64488 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64489
64490 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64491
64492 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64493 * sysdeps/x86_64/addmul_1.S: Likewise.
64494 * sysdeps/x86_64/lshift.S: Likewise.
64495 * sysdeps/x86_64/mul_1.S: Likewise.
64496 * sysdeps/x86_64/rshift.S: Likewise.
64497 * sysdeps/x86_64/sub_n.S: Likewise.
64498 * sysdeps/x86_64/submul_1.S: Likewise.
64499
64500 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64501
64502 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64503 Define __sched_param instead of SCHED_* and sched_param when
64504 <bits/sched.h> is included with __need_schedparam defined.
64505 * bits/sched.h [__need_schedparam]
64506 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64507 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64508 (__defined_schedparam): Define to 1.
64509 (__sched_param): New structure, identical to sched_param.
64510 (__need_schedparam): Undefine.
64511
64512 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64513
64514 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64515 (epoll_create1): Declare.
64516
64517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64518
64519 2010-08-31 Andreas Schwab <schwab@redhat.com>
64520
64521 [BZ #7066]
64522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64523 shifting retval into place.
64524
64525 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64526
64527 * nis/rpcsvc/nis.h: Update copyright notice.
64528 * nis/rpcsvc/nis.x: Likewise.
64529 * nis/rpcsvc/nis_callback.h: Likewise.
64530 * nis/rpcsvc/nis_callback.x: Likewise.
64531 * nis/rpcsvc/nis_object.x: Likewise.
64532 * nis/rpcsvc/nis_tags.h: Likewise.
64533 * nis/rpcsvc/yp.h: Likewise.
64534 * nis/rpcsvc/yp.x: Likewise.
64535 * nis/rpcsvc/ypupd.h: Likewise.
64536 * nis/yp_xdr.c: Likewise.
64537 * nis/ypupdate_xdr.c: Likewise.
64538
64539 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64540 mainly the body of pmap_getport. Add parameters to specify timeouts.
64541 (pmap_getport): Use __libc_rpc_getport.
64542 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64543 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64544 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64545
64546 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64547
64548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64549 fanotify_mark.
64550
64551 2010-08-27 Roland McGrath <roland@redhat.com>
64552
64553 * sysdeps/i386/i686/multiarch/Makefile
64554 (CFLAGS-varshift.c): New variable.
64555
64556 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64557
64558 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64559 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64560
64561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64562
64563 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64564
64565 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64566
64567 * sysdeps/x86_64/strlen.S: Unroll the loop.
64568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64569 strlen-sse2 strlen-sse2-bsf.
64570 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64571 __strlen_no_bsf if bit_Slow_BSF is set.
64572 (__strlen_sse42): Removed.
64573 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64574 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64575
64576 2010-08-25 Roland McGrath <roland@redhat.com>
64577
64578 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64579 * sysdeps/x86_64/multiarch/varshift.c: New file.
64580 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64581 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64582 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64584
64585 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64586
64587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64588 strlen-sse2 strlen-sse2-bsf.
64589 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64590 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64591 (__strlen_sse2): Removed.
64592 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64595 bit_Slow_BSF for Atom.
64596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64597 (index_Slow_BSF): Define.
64598 (HAS_SLOW_BSF): Define.
64599
64600 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64601
64602 [BZ #10851]
64603 * resolv/res_init.c (__res_vinit): When no server address at all
64604 is given default to loopback.
64605
64606 2010-08-24 Roland McGrath <roland@redhat.com>
64607
64608 * configure.in: Remove config-name.h generation.
64609 * configure: Regenerated.
64610 * config-name.in: File removed.
64611 * scripts/config-uname.sh: New file.
64612 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64613 ($(objdir)config-name.h): New target.
64614
64615 * sunrpc/rpc_parse.h: Avoid nested comment.
64616
64617 2010-08-24 Richard Henderson <rth@redhat.com>
64618 Ulrich Drepper <drepper@redhat.com>
64619 H.J. Lu <hongjiu.lu@intel.com>
64620
64621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64623 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64624 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64625 _mm_alignr_epi8 with _mm_loadu_si128.
64626 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64627 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64628 (__m128i_shift_right): Removed.
64629 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64630 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64631 * sysdeps/x86_64/multiarch/varshift.h: New file.
64632 * sysdeps/x86_64/multiarch/varshift.S: New file.
64633
64634 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64635
64636 * configure.in: Move assembler checks to before sysdep dir checking.
64637
64638 2010-08-20 Petr Baudis <pasky@suse.cz>
64639
64640 * LICENSES: Sync the sunrpc license.
64641
64642 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64643
64644 * sunrpc/auth_des.c: Update copyright notice once again.
64645 * sunrpc/auth_none.c: Likewise.
64646 * sunrpc/auth_unix.c: Likewise.
64647 * sunrpc/authdes_prot.c: Likewise.
64648 * sunrpc/authuxprot.c: Likewise.
64649 * sunrpc/bindrsvprt.c: Likewise.
64650 * sunrpc/clnt_gen.c: Likewise.
64651 * sunrpc/clnt_perr.c: Likewise.
64652 * sunrpc/clnt_raw.c: Likewise.
64653 * sunrpc/clnt_simp.c: Likewise.
64654 * sunrpc/clnt_tcp.c: Likewise.
64655 * sunrpc/clnt_udp.c: Likewise.
64656 * sunrpc/clnt_unix.c: Likewise.
64657 * sunrpc/des_crypt.c: Likewise.
64658 * sunrpc/des_soft.c: Likewise.
64659 * sunrpc/get_myaddr.c: Likewise.
64660 * sunrpc/getrpcport.c: Likewise.
64661 * sunrpc/key_call.c: Likewise.
64662 * sunrpc/key_prot.c: Likewise.
64663 * sunrpc/openchild.c: Likewise.
64664 * sunrpc/pm_getmaps.c: Likewise.
64665 * sunrpc/pm_getport.c: Likewise.
64666 * sunrpc/pmap_clnt.c: Likewise.
64667 * sunrpc/pmap_prot.c: Likewise.
64668 * sunrpc/pmap_prot2.c: Likewise.
64669 * sunrpc/pmap_rmt.c: Likewise.
64670 * sunrpc/rpc/auth.h: Likewise.
64671 * sunrpc/rpc/auth_unix.h: Likewise.
64672 * sunrpc/rpc/clnt.h: Likewise.
64673 * sunrpc/rpc/des_crypt.h: Likewise.
64674 * sunrpc/rpc/key_prot.h: Likewise.
64675 * sunrpc/rpc/netdb.h: Likewise.
64676 * sunrpc/rpc/pmap_clnt.h: Likewise.
64677 * sunrpc/rpc/pmap_prot.h: Likewise.
64678 * sunrpc/rpc/pmap_rmt.h: Likewise.
64679 * sunrpc/rpc/rpc.h: Likewise.
64680 * sunrpc/rpc/rpc_des.h: Likewise.
64681 * sunrpc/rpc/rpc_msg.h: Likewise.
64682 * sunrpc/rpc/svc.h: Likewise.
64683 * sunrpc/rpc/svc_auth.h: Likewise.
64684 * sunrpc/rpc/types.h: Likewise.
64685 * sunrpc/rpc/xdr.h: Likewise.
64686 * sunrpc/rpc_clntout.c: Likewise.
64687 * sunrpc/rpc_cmsg.c: Likewise.
64688 * sunrpc/rpc_common.c: Likewise.
64689 * sunrpc/rpc_cout.c: Likewise.
64690 * sunrpc/rpc_dtable.c: Likewise.
64691 * sunrpc/rpc_hout.c: Likewise.
64692 * sunrpc/rpc_main.c: Likewise.
64693 * sunrpc/rpc_parse.c: Likewise.
64694 * sunrpc/rpc_parse.h: Likewise.
64695 * sunrpc/rpc_prot.c: Likewise.
64696 * sunrpc/rpc_sample.c: Likewise.
64697 * sunrpc/rpc_scan.c: Likewise.
64698 * sunrpc/rpc_scan.h: Likewise.
64699 * sunrpc/rpc_svcout.c: Likewise.
64700 * sunrpc/rpc_tblout.c: Likewise.
64701 * sunrpc/rpc_util.c: Likewise.
64702 * sunrpc/rpc_util.h: Likewise.
64703 * sunrpc/rpcinfo.c: Likewise.
64704 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64705 * sunrpc/rpcsvc/key_prot.x: Likewise.
64706 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64707 * sunrpc/rpcsvc/mount.x: Likewise.
64708 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64709 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64710 * sunrpc/rpcsvc/rex.x: Likewise.
64711 * sunrpc/rpcsvc/rstat.x: Likewise.
64712 * sunrpc/rpcsvc/rusers.x: Likewise.
64713 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64714 * sunrpc/rpcsvc/spray.x: Likewise.
64715 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64716 * sunrpc/rtime.c: Likewise.
64717 * sunrpc/svc.c: Likewise.
64718 * sunrpc/svc_auth.c: Likewise.
64719 * sunrpc/svc_authux.c: Likewise.
64720 * sunrpc/svc_raw.c: Likewise.
64721 * sunrpc/svc_run.c: Likewise.
64722 * sunrpc/svc_simple.c: Likewise.
64723 * sunrpc/svc_tcp.c: Likewise.
64724 * sunrpc/svc_udp.c: Likewise.
64725 * sunrpc/svc_unix.c: Likewise.
64726 * sunrpc/svcauth_des.c: Likewise.
64727 * sunrpc/xcrypt.c: Likewise.
64728 * sunrpc/xdr.c: Likewise.
64729 * sunrpc/xdr_array.c: Likewise.
64730 * sunrpc/xdr_float.c: Likewise.
64731 * sunrpc/xdr_mem.c: Likewise.
64732 * sunrpc/xdr_rec.c: Likewise.
64733 * sunrpc/xdr_ref.c: Likewise.
64734 * sunrpc/xdr_sizeof.c: Likewise.
64735 * sunrpc/xdr_stdio.c: Likewise.
64736
64737 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64738 handling.
64739
64740 2010-08-19 Andreas Schwab <schwab@redhat.com>
64741
64742 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64743
64744 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64745
64746 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64747 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64748 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64749 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64750 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64751 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64752 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64753 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64755 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64756 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64757 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64758 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64759 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64760
64761 2010-07-26 Anton Blanchard <anton@samba.org>
64762
64763 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64764 * malloc/arena.c (heap_trim): Likewise.
64765
64766 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64767
64768 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64769 here. Not...
64770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64771 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64772
64773 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64774
64775 * sysdeps/i386/elf/Makefile: New file.
64776
64777 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64778
64779 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64780 from fanotify_init.
64781 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64783
64784 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64785
64786 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64787 of strncasecmp_l.
64788 * sysdeps/multiarch/strcmp.S: Likewise.
64789
64790 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64791
64792 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64793 strncase_l-nonascii.
64794 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64795 Add strncase_l-ssse3.
64796 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64797 * sysdeps/x86_64/strcmp.S: Likewise.
64798 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64799 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64800 * sysdeps/x86_64/strncase.S: New file.
64801 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64802 * sysdeps/x86_64/strncase_l.S: New file.
64803 * string/Makefile (strop-tests): Add strncasecmp.
64804 * string/test-strncasecmp.c: New file.
64805
64806 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64807 warning.
64808
64809 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64810 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64811
64812 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64813
64814 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64815
64816 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64817
64818 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64819 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64820 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64821
64822 2010-05-01 Alan Modra <amodra@gmail.com>
64823
64824 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64825 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64826 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64827 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64828 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64829 tidying. Don't tail-call __sigjmp_save for static lib.
64830 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64831 save location.
64832 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64833 (CALL_MCOUNT): Add eh info, and nop after bl.
64834 (TAIL_CALL_SYSCALL_ERROR): New macro.
64835 (PSEUDO_RET): Use it.
64836 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64837 Correct save location of integer regs and cr.
64838 (_dl_profile_resolve): Correct cr save location. Delete nops
64839 after bl when SHARED. Reduce cfi size a little by better
64840 placement of cfi directives.
64841 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64842 make a stack frame. Instead use parm save area as a temp.
64843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64844 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64846 Don't make a stack frame for parent, use parm save area.
64847 Increase child stack frame to 112 bytes. Don't save unused reg,
64848 and adjust reg usage. Set up cfi on error recovery and
64849 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64851 (__makecontext): Add dummy nop after jump to exit.
64852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64853 Use correct parm save area and cr save, reduce stack frame.
64854 Correct cfi for possible PSEUDO_RET frame setup.
64855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64856 Branch to local label emitted by PSEUDO_RET rather than
64857 __syscall_error.
64858
64859 2010-08-12 Andreas Schwab <schwab@redhat.com>
64860
64861 [BZ #11904]
64862 * locale/programs/locale.c (print_assignment): New function.
64863 (show_locale_vars): Use it.
64864
64865 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64866
64867 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64868 field.
64869 (struct statfs64): Likewise.
64870 (_STATFS_F_FLAGS): Define.
64871 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64872 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64873 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64874 (ST_VALID): Define locally.
64875 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64876 __statvfs_getflags, use the provided value.
64877 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64878 __ASSUME_STATFS_F_FLAGS.
64879
64880 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64881
64882 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64883 Add sys/fanotify.h.
64884 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64885 fanotify_mask for GLIBC_2.13.
64886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64887 fanotify_init and fanotify_mark.
64888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64889 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64890
64891 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64892 Add prlimit.
64893 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64894 prlimit64 for GLIBC_2.13.
64895 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64896 prlimit64.
64897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64898 syscall.
64899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64900 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64901 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64902 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64903 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64904 add prlimit alias.
64905 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64906
64907 [BZ #11903]
64908 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64909 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64910
64911 * nss/Makefile: Add rules to build and run tst-nss-test1.
64912 * shlib-versions: Add entry for libnss_test1.
64913 * nss/nss_test1.c: New file.
64914 * nss/tst-nss-test1.c: New file.
64915
64916 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64917 (__nss_configure_lookup): Set appropriate entry in
64918 __nss_configure_lookup to true.
64919 * nss/nsswitch.h: Define enum with indeces of databases in
64920 databases and __nss_database_custom arrays. Declare
64921 __nss_database_custom.
64922 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64923 to avoid using nscd when custom rules are installed.
64924 * nss/getXXbyYY_r.c: Likewise.
64925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64926
64927 * nss/nss_files/files-parse.c: Whitespace fixes.
64928
64929 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64930
64931 [BZ #11883]
64932 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64933 * posix/fnmatch_loop.c: Likewise.
64934
64935 2010-07-17 Andi Kleen <ak@linux.intel.com>
64936
64937 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64938 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64939 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64940 * Versions.def [GLIBC_2.13]: Add.
64941
64942 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64943
64944 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64945 Also fail if tpwd after pwuid call is NULL.
64946
64947 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
64948
64949 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64950 when converting to ms.
64951
64952 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
64953
64954 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64955 EOPNOTSUPP errors with ENOTTY.
64956 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64957 EOPNOTSUPP errors with ENOTTY.
64958
64959 2010-07-31 Ulrich Drepper <drepper@redhat.com>
64960
64961 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64962 Add strcasecmp_l-ssse3.
64963 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64964 strcasecmp.
64965 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64966 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64967 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64968
64969 2010-07-30 Ulrich Drepper <drepper@redhat.com>
64970
64971 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64972
64973 * string/Makefile (strop-tests): Add strcasecmp.
64974 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64975 strcasecmp_l-nonascii.
64976 (gen-as-const-headers): Add locale-defines.sym.
64977 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64978 * sysdeps/x86_64/strcasecmp.S: New file.
64979 * sysdeps/x86_64/strcasecmp_l.S: New file.
64980 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64981 * sysdeps/x86_64/locale-defines.sym: New file.
64982 * string/test-strcasecmp.c: New file.
64983
64984 * string/test-strcasestr.c: Test both ends of the range of characters.
64985 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64986
64987 2010-07-29 Roland McGrath <roland@redhat.com>
64988
64989 [BZ #11856]
64990 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64991
64992 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64993
64994 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64995 for ld.so.
64996
64997 2010-07-27 Andreas Schwab <schwab@redhat.com>
64998
64999 * manual/memory.texi (Malloc Tunable Parameters): Document
65000 M_PERTURB.
65001
65002 2010-07-26 Roland McGrath <roland@redhat.com>
65003
65004 [BZ #11840]
65005 * configure.in (-fgnu89-inline check): Set and substitute
65006 gnu89_inline, not libc_cv_gnu89_inline.
65007 * configure: Regenerated.
65008 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65009
65010 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65011
65012 * string/test-strnlen.c: New file.
65013 * string/Makefile (strop-tests): Add strnlen.
65014 * string/tester.c (test_strnlen): Add a few more test cases.
65015 * string/tst-strlen.c: Better error reporting.
65016
65017 * sysdeps/x86_64/strnlen.S: New file.
65018
65019 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65020
65021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65022 lower-latency instructions.
65023
65024 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65025
65026 * string/test-strcasestr.c: New file.
65027 * string/test-strstr.c: New file.
65028 * string/Makefile (strop-tests): Add strstr and strcasestr.
65029 * string/str-two-way.h: Don't undefine MAX.
65030 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65031
65032 2010-07-21 Andreas Schwab <schwab@redhat.com>
65033
65034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65035 strcasestr-nonascii.
65036 (CFLAGS-strcasestr-nonascii.c): Define.
65037 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65038 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65039 Remove unused attribute.
65040
65041 2010-07-20 Roland McGrath <roland@redhat.com>
65042
65043 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65044 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65045 ld.so.cache was broken. With it, there is no way to disable dsocaps
65046 like LD_HWCAP_MASK can disable hwcaps.
65047
65048 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65049
65050 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65051
65052 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65053
65054 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65055 call in strcasestr.
65056 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65057 __strcasestr_sse42_nonascii.
65058 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65059 strcasestr-nonascii.c.
65060 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65061
65062 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65063
65064 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65065 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65066 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65067 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65068
65069 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65070
65071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65072 fcntl.
65073
65074 2010-07-06 Andreas Schwab <schwab@redhat.com>
65075
65076 [BZ #11577]
65077 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65078 dl_signal_cerror.
65079
65080 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65081
65082 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65083 _PC_PIPE_BUF using F_GETPIPE_SZ.
65084
65085 2010-07-05 Roland McGrath <roland@redhat.com>
65086
65087 * manual/arith.texi (Rounding Functions): Fix rint description
65088 implicit in round description.
65089
65090 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65091
65092 * elf/Makefile: Fix linking for a few tests to make recent linker
65093 happy.
65094
65095 2010-06-30 Andreas Schwab <schwab@redhat.com>
65096
65097 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65098 $(common-objpfx)libc_nonshared.a.
65099
65100 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65101
65102 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65103 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65104 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65105 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65106 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65107 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65108 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65109 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65124 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65125 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65126 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65127 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65128 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65129 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65130 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65131 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65132 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65133 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65134 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65135 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65150
65151 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65152
65153 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65154 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65155 * string/memmove.c (memmove): Renamed to ...
65156 (MEMMOVE): ...this. Default to memmove.
65157 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65158 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65159 (END_CHK): Define.
65160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65161 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65162 mempcpy-ssse3-back memmove-ssse3-back.
65163 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65164 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65165 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65166 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65167 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65168 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65169 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65170 * sysdeps/x86_64/multiarch/memmove.c: New file.
65171 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65172 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65173 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65174 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65175 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65176 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65177 Define.
65178 (index_Fast_Copy_Backward): Define.
65179 (HAS_ARCH_FEATURE): Define.
65180 (HAS_FAST_REP_STRING): Define.
65181 (HAS_FAST_COPY_BACKWARD): Define.
65182
65183 2010-06-21 Andreas Schwab <schwab@redhat.com>
65184
65185 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65186 Restore proper fallback handling.
65187
65188 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65189
65190 [BZ #11701]
65191 * posix/group_member.c (__group_member): Correct checking loop.
65192
65193 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65194 OOM in getpwuid_r correctly. Return error number when the caller
65195 should return, otherwise -1.
65196 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65197 call returning > 0 value.
65198 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65199
65200 2010-06-07 Andreas Schwab <schwab@redhat.com>
65201
65202 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65203 libc_nonshared.a from targets in modules-names.
65204
65205 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65206
65207 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65208 requires it.
65209
65210 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65211
65212 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65213 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65214 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65216
65217 2010-06-02 Andreas Schwab <schwab@redhat.com>
65218
65219 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65220
65221 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65222
65223 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65224 and F_GETPIPE_SZ.
65225 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65229 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65230 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65231
65232 2010-06-14 Roland McGrath <roland@redhat.com>
65233
65234 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65235
65236 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65237
65238 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65239 __REDIRECT followed by __THROW.
65240 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65241 * posix/getopt.h (getopt): Likewise.
65242
65243 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65244
65245 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65246 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65247 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65248 in AT_FLAGS.
65249 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65250 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65251
65252 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65253
65254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65255
65256 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65257
65258 [BZ #11640]
65259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65260 Properly check family and model.
65261
65262 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65263
65264 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65265
65266 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65267
65268 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65269
65270 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65271
65272 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65273 symbol reference.
65274
65275 2010-05-19 Andreas Schwab <schwab@redhat.com>
65276
65277 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65278 symbol reference.
65279
65280 2010-05-21 Andreas Schwab <schwab@redhat.com>
65281
65282 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65283 and internal_recvmmsg.
65284 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65285 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65286 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65287 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65288
65289 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65290 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65291 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65292
65293 2010-05-20 Andreas Schwab <schwab@redhat.com>
65294
65295 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65296
65297 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65298
65299 POWER7 optimizations.
65300 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65301 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65302
65303 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65304
65305 * version.h: Update for 2.13 development version.
65306
65307 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65308
65309 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65310 exceptions. Return 0.
65311
65312 2010-05-07 Roland McGrath <roland@redhat.com>
65313
65314 * elf/ldconfig.c (main): Add a const.
65315
65316 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65317
65318 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65319 (args_options): Add no-idn option.
65320 (ahosts_keys_int): Add idn_flags to ai_flags.
65321 (parse_option): Handle 'i' option to clear idn_flags.
65322
65323 * malloc/malloc.c (_int_free): Possible race in the most recently
65324 added check. Only act on the data if no current modification
65325 happened.
65326
65327 See ChangeLog.17 for earlier changes.