]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Don't declare float / long double Bessel functions for XSI POSIX (bug 18977).
[thirdparty/glibc.git] / ChangeLog
1 2015-09-16 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #18977]
4 * math/bits/mathcalls.h
5 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6 not declare.
7 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8 Likewise.
9 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10 Likewise.
11 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12 Likewise.
13 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14 Likewise.
15 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16 Likewise.
17 * conform/data/math.h-data
18 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19 function.
20 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
21 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
26 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
28 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31
32 [BZ #6803]
33 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
34 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
35 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
36 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
37 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
38 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
39 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
40 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
41 [NO_LONG_DOUBLE] (scalbnl): Likewise.
42 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
43 Likewise.
44 [NO_LONG_DOUBLE] (scalbnl): Likewise.
45 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
46 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
47 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
48 long_double_symbol calls.
49 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
50 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
51 strong alias of __ldexpl.
52 (scalbnl): Define using long_double_symbol.
53 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
54 Remove alias.
55 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
56 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
57 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
58 (scalbln_test_data): Add more errno expectations.
59
60 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
61
62 Cache the host port like we cache the task port. This way we do not
63 need to call the kernel just to get the port. Furthermore, we no
64 longer increase the reference count on every invocation of
65 `mach_host_self'.
66
67 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
68 Protect declarations against the macro expansion.
69 * mach/mach_init.c (__mach_host_self_): New variable.
70 (mach_init): Initialize `__mach_host_self_'.
71 * mach/mach_init.h (__mach_host_self_): New declaration.
72 (__mach_host_self, mach_host_self): New macros.
73 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
74 Release reference.
75
76 2015-09-16 Joseph Myers <joseph@codesourcery.com>
77
78 [BZ #4404]
79 * po/de.po: Update from Translation Project.
80
81 [BZ #16415]
82 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
83 (__expm1l): Remove code to handle positive infinity and overflow.
84 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
85 variable.
86 (__expm1l): Remove code to handle positive infinity and overflow.
87
88 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
89 Paul Pluzhnikov <ppluzhnikov@google.com>
90
91 [BZ #18872]
92 * stdio-common/Makefile (tst-printf-bz18872): New test.
93 (tst-printf-bz18872-mem.out): Likewise.
94 * stdio-common/tst-printf-bz18872.sh: Generate new test.
95 * stdio-common/vfprintf.c: Fix memory leaks.
96
97 2015-09-16 Andreas Schwab <schwab@suse.de>
98
99 [BZ #17244]
100 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
101 Remove extra va_start/va_end calls.
102
103 [BZ #17243]
104 * posix/execl.c (execl): Add missing va_end.
105 * posix/execle.c (execle): Likewise.
106 * posix/execlp.c (execlp): Likewise.
107
108 2015-09-15 Roland McGrath <roland@hack.frob.com>
109
110 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
111 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
112
113 2015-09-15 Joseph Myers <joseph@codesourcery.com>
114
115 [BZ #18967]
116 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
117 undefine around includes of <bits/mathcalls.h>.
118 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
119 not declare function.
120 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
121 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
122 (scalb): Likewise.
123 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
124 not define macro.
125 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
126 variable.
127 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
128 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
129 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
130
131 [BZ #18857]
132 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
133 return non-finite argument without doing ordered comparisons on
134 it.
135
136 [BZ #16296]
137 * math/fenv.h (fegetround): Use __attribute_pure__.
138 * include/fenv.h (__fegetround): Likewise.
139
140 [BZ #18595]
141 * math/s_ctan.c (__ctan): Force underflow exception for results
142 whose real or imaginary part has small absolute value.
143 * math/s_ctanf.c (__ctanf): Likewise.
144 * math/s_ctanh.c (__ctanh): Likewise.
145 * math/s_ctanhf.c (__ctanhf): Likewise.
146 * math/s_ctanhl.c (__ctanhl): Likewise.
147 * math/s_ctanl.c (__ctanl): Likewise.
148 * math/auto-libm-test-in: Do not allow missing underflow for ctan
149 and ctanh. Add more tests of ctan and ctanh.
150
151 [BZ #15918]
152 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
153 handling of cases where one argument is an infinity.
154
155 [BZ #18875]
156 [BZ #18966]
157 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
158 (MO): New macro.
159 (__ieee754_exp10): For small results, force underflow exception
160 and remove excess range and precision from return value.
161 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
162 (MO): New macro.
163 (__ieee754_exp10f): For small results, force underflow exception
164 and remove excess range and precision from return value.
165 * math/auto-libm-test-in: Add more tests of exp10.
166 * math/auto-libm-test-out: Regenerated.
167
168 2015-09-14 Joseph Myers <joseph@codesourcery.com>
169
170 [BZ #18875]
171 [BZ #18961]
172 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
173 (MO): New macro.
174 (__ieee754_exp): For small results, force underflow exception and
175 remove excess range and precision from return value.
176 (__exp_finite): Likewise.
177 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
178 (MO): New macro.
179 (__ieee754_expf): For small results, force underflow exception and
180 remove excess range and precision from return value.
181 (__expf_finite): Likewise.
182 * math/auto-libm-test-in: Add more tests of exp.
183 * math/auto-libm-test-out: Regenerated.
184
185 [BZ #16521]
186 [BZ #18875]
187 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
188 small results.
189 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
190 (MO): New macro.
191 (__ieee754_exp2): For small results, force underflow exception and
192 remove excess range and precision from return value.
193 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
194 (MO): New macro.
195 (__ieee754_exp2f): For small results, force underflow exception
196 and remove excess range and precision from return value.
197 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
198 (MO): New macro.
199 (__ieee754_exp2l): Force underflow exception for small results.
200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
201 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
202 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
203 (MO): New macro.
204 (__ieee754_exp2l): Force underflow exception for small results.
205 * math/auto-libm-test-in: Add more tests or exp2.
206 * math/auto-libm-test-out: Regenerated.
207
208 2015-09-14 Carlos O'Donell <carlos@redhat.com>
209
210 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
211
212 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
213 /dev/null.
214
215 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
216
217 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
218 io fs process)): Drop spurious backslash.
219
220 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
221
222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
223 Use sysinfo system call instead of parsing /proc/meminfo.
224 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
225 Likewise.
226
227 2015-09-11 Mike Frysinger <vapier@gentoo.org>
228
229 [BZ #16985]
230 * programs/localedef.c (main): Display argv[remaining] when
231 output_path is NULL.
232
233 2015-09-11 Joseph Myers <joseph@codesourcery.com>
234
235 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
236 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
237 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
238 tanh.
239 * math/auto-libm-test-out: Regenerated.
240 * sysdeps/i386/fpu/libm-test-ulps: Update.
241 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
242 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
244
245 2015-09-11 Roland McGrath <roland@hack.frob.com>
246
247 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
248 Use 'override' keyword to freeze the value here, preventing
249 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
250
251 2015-09-11 Joseph Myers <joseph@codesourcery.com>
252
253 [BZ #14912]
254 * sysdeps/aarch64/bits/atomic.h: Move to ...
255 * sysdeps/aarch64/atomic-machine.h: ...here.
256 (_AARCH64_BITS_ATOMIC_H): Rename macro to
257 _AARCH64_ATOMIC_MACHINE_H.
258 * sysdeps/alpha/bits/atomic.h: Move to ...
259 * sysdeps/alpha/atomic-machine.h: ...here.
260 * sysdeps/arm/bits/atomic.h: Move to ...
261 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
262 * bits/atomic.h: Move to ...
263 * sysdeps/generic/atomic-machine.h: ...here.
264 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
265 * sysdeps/i386/bits/atomic.h: Move to ...
266 * sysdeps/i386/atomic-machine.h: ...here.
267 * sysdeps/ia64/bits/atomic.h: Move to ...
268 * sysdeps/ia64/atomic-machine.h: ...here.
269 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
270 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
271 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
272 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
273 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
274 * sysdeps/microblaze/bits/atomic.h: Move to ...
275 * sysdeps/microblaze/atomic-machine.h: ...here.
276 * sysdeps/mips/bits/atomic.h: Move to ...
277 * sysdeps/mips/atomic-machine.h: ...here.
278 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
279 * sysdeps/powerpc/bits/atomic.h: Move to ...
280 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
281 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
282 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
283 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
284 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
285 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
286 <atomic-machine.h> instead of <bits/atomic.h>.
287 * sysdeps/s390/bits/atomic.h: Move to ...
288 * sysdeps/s390/atomic-machine.h: ...here.
289 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
290 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
291 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
292 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
293 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
294 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
295 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
296 * sysdeps/tile/bits/atomic.h: Move to ...
297 * sysdeps/tile/atomic-machine.h: ...here.
298 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
299 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
300 <sysdeps/tile/atomic-machine.h> instead of
301 <sysdeps/tile/bits/atomic.h>.
302 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
303 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
304 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
305 <sysdeps/tile/atomic-machine.h> instead of
306 <sysdeps/tile/bits/atomic.h>.
307 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
308 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
309 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
310 <sysdeps/arm/atomic-machine.h> instead of
311 <sysdeps/arm/bits/atomic.h>.
312 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
313 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
314 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
315 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
316 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
317 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
318 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
319 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
320 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
321 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
322 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
323 * sysdeps/x86_64/bits/atomic.h: Move to ...
324 * sysdeps/x86_64/atomic-machine.h: ...here.
325 * include/atomic.h: Include <atomic-machine.h> instead of
326 <bits/atomic.h>.
327
328 * sysdeps/mips/mips32/libm-test-ulps: Update.
329 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
330
331 [BZ #18952]
332 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
333 not convert non-integer negative arguments to int to determine the
334 value of signgam.
335 * math/auto-libm-test-in: Add more tests of lgamma.
336 * math/auto-libm-test-out: Regenerated.
337
338 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
339 cosh, csqrt, erfc, expm1 and lgamma.
340 * math/auto-libm-test-out: Regenerated.
341 * sysdeps/i386/fpu/libm-test-ulps: Update.
342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
343
344 2015-09-10 Joseph Myers <joseph@codesourcery.com>
345
346 [BZ #2542]
347 [BZ #2543]
348 [BZ #2558]
349 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
350 __lgamma_neg for arguments from -28.0 to -2.0.
351 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
352 __lgamma_negf for arguments from -15.0 to -2.0.
353 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
354 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
355 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
356 Call __lgamma_negl for arguments from -33.0 to -2.0.
357 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
358 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
359 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
360 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
361 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
362 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
363 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
364 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
365 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
366 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
367 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
368 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
369 (__lgamma_neg): Likewise.
370 (__lgamma_negl): Likewise.
371 (__lgamma_product): Likewise.
372 (__lgamma_productl): Likewise.
373 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
374 * math/auto-libm-test-in: Add more tests of lgamma.
375 * math/auto-libm-test-out: Regenerated.
376 * sysdeps/i386/fpu/libm-test-ulps: Update.
377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
378
379 2015-09-09 Justin Maggard <jmaggard@netgear.com>
380
381 [BZ #18675]
382 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
383
384 2015-09-08 Joseph Myers <joseph@codesourcery.com>
385
386 [BZ #14912]
387 * bits/libc-lock.h: Move to ...
388 * sysdeps/generic/libc-lock.h: ...here.
389 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
390 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
391 * sysdeps/mach/hurd/libc-lock.h: ...here.
392 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
393 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
394 * sysdeps/mach/bits/libc-lock.h: Move to ...
395 * sysdeps/mach/libc-lock.h: ...here.
396 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
397 * sysdeps/nptl/bits/libc-lock.h: Move to ...
398 * sysdeps/nptl/libc-lock.h: ...here.
399 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
400 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
401 * sysdeps/nptl/libc-lockP.h: ...here.
402 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
403 * crypt/crypt_util.c: Include <libc-lock.h> instead of
404 <bits/libc-lock.h>.
405 * dirent/scandir-tail.c: Likewise.
406 * dlfcn/dlerror.c: Likewise.
407 * elf/dl-close.c: Likewise.
408 * elf/dl-iteratephdr.c: Likewise.
409 * elf/dl-lookup.c: Likewise.
410 * elf/dl-open.c: Likewise.
411 * elf/dl-support.c: Likewise.
412 * elf/dl-writev.h: Likewise.
413 * elf/rtld.c: Likewise.
414 * grp/fgetgrent.c: Likewise.
415 * gshadow/fgetsgent.c: Likewise.
416 * gshadow/sgetsgent.c: Likewise.
417 * iconv/gconv_conf.c: Likewise.
418 * iconv/gconv_db.c: Likewise.
419 * iconv/gconv_dl.c: Likewise.
420 * iconv/gconv_int.h: Likewise.
421 * iconv/gconv_trans.c: Likewise.
422 * include/link.h: Likewise.
423 * inet/getnameinfo.c: Likewise.
424 * inet/getnetgrent.c: Likewise.
425 * inet/getnetgrent_r.c: Likewise.
426 * intl/bindtextdom.c: Likewise.
427 * intl/dcigettext.c: Likewise.
428 * intl/finddomain.c: Likewise.
429 * intl/gettextP.h: Likewise.
430 * intl/loadmsgcat.c: Likewise.
431 * intl/localealias.c: Likewise.
432 * intl/textdomain.c: Likewise.
433 * libidn/idn-stub.c: Likewise.
434 * libio/libioP.h: Likewise.
435 * locale/duplocale.c: Likewise.
436 * locale/freelocale.c: Likewise.
437 * locale/newlocale.c: Likewise.
438 * locale/setlocale.c: Likewise.
439 * login/getutent_r.c: Likewise.
440 * login/getutid_r.c: Likewise.
441 * login/getutline_r.c: Likewise.
442 * login/utmp-private.h: Likewise.
443 * login/utmpname.c: Likewise.
444 * malloc/mtrace.c: Likewise.
445 * misc/efgcvt.c: Likewise.
446 * misc/error.c: Likewise.
447 * misc/fstab.c: Likewise.
448 * misc/getpass.c: Likewise.
449 * misc/mntent.c: Likewise.
450 * misc/syslog.c: Likewise.
451 * nis/nis_call.c: Likewise.
452 * nis/nis_callback.c: Likewise.
453 * nis/nss-default.c: Likewise.
454 * nis/nss_compat/compat-grp.c: Likewise.
455 * nis/nss_compat/compat-initgroups.c: Likewise.
456 * nis/nss_compat/compat-pwd.c: Likewise.
457 * nis/nss_compat/compat-spwd.c: Likewise.
458 * nis/nss_nis/nis-alias.c: Likewise.
459 * nis/nss_nis/nis-ethers.c: Likewise.
460 * nis/nss_nis/nis-grp.c: Likewise.
461 * nis/nss_nis/nis-hosts.c: Likewise.
462 * nis/nss_nis/nis-network.c: Likewise.
463 * nis/nss_nis/nis-proto.c: Likewise.
464 * nis/nss_nis/nis-pwd.c: Likewise.
465 * nis/nss_nis/nis-rpc.c: Likewise.
466 * nis/nss_nis/nis-service.c: Likewise.
467 * nis/nss_nis/nis-spwd.c: Likewise.
468 * nis/nss_nisplus/nisplus-alias.c: Likewise.
469 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
470 * nis/nss_nisplus/nisplus-grp.c: Likewise.
471 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
472 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
473 * nis/nss_nisplus/nisplus-network.c: Likewise.
474 * nis/nss_nisplus/nisplus-proto.c: Likewise.
475 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
476 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
477 * nis/nss_nisplus/nisplus-service.c: Likewise.
478 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
479 * nis/ypclnt.c: Likewise.
480 * nptl/libc_pthread_init.c: Likewise.
481 * nss/getXXbyYY.c: Likewise.
482 * nss/getXXent.c: Likewise.
483 * nss/getXXent_r.c: Likewise.
484 * nss/nss_db/db-XXX.c: Likewise.
485 * nss/nss_db/db-netgrp.c: Likewise.
486 * nss/nss_db/nss_db.h: Likewise.
487 * nss/nss_files/files-XXX.c: Likewise.
488 * nss/nss_files/files-alias.c: Likewise.
489 * nss/nsswitch.c: Likewise.
490 * posix/regex_internal.h: Likewise.
491 * posix/wordexp.c: Likewise.
492 * pwd/fgetpwent.c: Likewise.
493 * resolv/res_hconf.c: Likewise.
494 * resolv/res_libc.c: Likewise.
495 * shadow/fgetspent.c: Likewise.
496 * shadow/lckpwdf.c: Likewise.
497 * shadow/sgetspent.c: Likewise.
498 * socket/opensock.c: Likewise.
499 * stdio-common/reg-modifier.c: Likewise.
500 * stdio-common/reg-printf.c: Likewise.
501 * stdio-common/reg-type.c: Likewise.
502 * stdio-common/vfprintf.c: Likewise.
503 * stdio-common/vfscanf.c: Likewise.
504 * stdlib/abort.c: Likewise.
505 * stdlib/cxa_atexit.c: Likewise.
506 * stdlib/fmtmsg.c: Likewise.
507 * stdlib/random.c: Likewise.
508 * stdlib/setenv.c: Likewise.
509 * string/strsignal.c: Likewise.
510 * sunrpc/auth_none.c: Likewise.
511 * sunrpc/bindrsvprt.c: Likewise.
512 * sunrpc/create_xid.c: Likewise.
513 * sunrpc/key_call.c: Likewise.
514 * sunrpc/rpc_thread.c: Likewise.
515 * sysdeps/arm/backtrace.c: Likewise.
516 * sysdeps/generic/ldsodefs.h: Likewise.
517 * sysdeps/generic/stdio-lock.h: Likewise.
518 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
519 * sysdeps/i386/backtrace.c: Likewise.
520 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
521 * sysdeps/m68k/backtrace.c: Likewise.
522 * sysdeps/mach/hurd/cthreads.c: Likewise.
523 * sysdeps/mach/hurd/dirstream.h: Likewise.
524 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
525 * sysdeps/nptl/malloc-machine.h: Likewise.
526 * sysdeps/nptl/stdio-lock.h: Likewise.
527 * sysdeps/posix/dirstream.h: Likewise.
528 * sysdeps/posix/getaddrinfo.c: Likewise.
529 * sysdeps/posix/system.c: Likewise.
530 * sysdeps/pthread/aio_suspend.c: Likewise.
531 * sysdeps/s390/s390-32/backtrace.c: Likewise.
532 * sysdeps/s390/s390-64/backtrace.c: Likewise.
533 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
534 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
535 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
536 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
537 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
538 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
539 * sysdeps/unix/sysv/linux/system.c: Likewise.
540 * sysdeps/x86_64/backtrace.c: Likewise.
541 * time/alt_digit.c: Likewise.
542 * time/era.c: Likewise.
543 * time/tzset.c: Likewise.
544 * wcsmbs/wcsmbsload.c: Likewise.
545 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
546 instead of <bits/libc-lock.h> in comment.
547
548 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
549
550 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
551 Only use .set mips2 if the current ISA is below mips2.
552 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
553 Likewise.
554 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
555 mips32r2 if the current ISA is below mips32r2.
556 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
557 (TLS_IE): Updated to use the TLD_RDHWR macro.
558 (TLS_LE): Likewise.
559 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
560 __ASSEMBLER__ condition.
561
562 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
563
564 Fix parallel build of before-compile targets.
565
566 * sysdeps/mach/Makefile ($(patsubst
567 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
568 mach-before-compile target.
569 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
570 io fs process)): Move rule to dedicated hurd-before-compile target.
571
572 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
573
574 Fix rules generating headers in hurd/ and mach/ when initial make call
575 has subdir= explicitly set.
576
577 * sysdeps/mach/Makefile ($(patsubst
578 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
579 calling $(MAKE).
580 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
581 io fs process)): Force subdir to hurd when calling $(MAKE).
582 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
583 subdir to mach when calling $(MAKE).
584
585 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
586
587 Check sysheaders when looking for Mach and Hurd headers
588
589 * sysdeps/mach/configure.ac: Add sysheaders check.
590 * sysdeps/mach/configure: Regenerate.
591 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
592 * sysdeps/mach/hurd/configure: Regenerate.
593
594 2015-09-04 Roland McGrath <roland@hack.frob.com>
595
596 [BZ #18921]
597 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
598 Fix inverted sense of test of 'o_directory_works' value.
599 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
600 Bernhard Voelker <mail@bernhard-voelker.de>.
601
602 2015-09-04 Joseph Myers <joseph@codesourcery.com>
603
604 [BZ #14912]
605 * bits/linkmap.h: Move to ...
606 * sysdeps/generic/linkmap.h: ...here.
607 * sysdeps/aarch64/bits/linkmap.h: Move to ...
608 * sysdeps/aarch64/linkmap.h: ...here.
609 * sysdeps/arm/bits/linkmap.h: Move to ...
610 * sysdeps/arm/linkmap.h: ...here.
611 * sysdeps/hppa/bits/linkmap.h: Move to ...
612 * sysdeps/hppa/linkmap.h: ...here.
613 * sysdeps/ia64/bits/linkmap.h: Move to ...
614 * sysdeps/ia64/linkmap.h: ...here.
615 * sysdeps/mips/bits/linkmap.h: Move to ...
616 * sysdeps/mips/linkmap.h: ...here.
617 * sysdeps/s390/bits/linkmap.h: Move to ...
618 * sysdeps/s390/linkmap.h: ...here.
619 * sysdeps/sh/bits/linkmap.h: Move to ...
620 * sysdeps/sh/linkmap.h: ...here.
621 * sysdeps/x86/bits/linkmap.h: Move to ...
622 * sysdeps/x86/linkmap.h: ...here.
623 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
624
625 2015-09-04 Andreas Schwab <schwab@suse.de>
626
627 [BZ #18635]
628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
629 (__makecontext): Terminate FDE before return label.
630 (__novec_makecontext): Likewise.
631
632 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
633
634 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
635 first member of struct sv in syscall macro.
636
637 2015-09-04 Joseph Myers <joseph@codesourcery.com>
638
639 [BZ #14912]
640 * bits/stdio-lock.h: Move to ...
641 * sysdeps/generic/stdio-lock.h: ...here.
642 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
643 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
644 * sysdeps/nptl/stdio-lock.h: ...here.
645 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
646 * include/libio.h: Include <stdio-lock.h> instead of
647 <bits/stdio-lock.h>.
648 * sysdeps/nptl/fork.c: Likewise.
649 * sysdeps/pthread/flockfile.c: Likewise.
650 * sysdeps/pthread/ftrylockfile.c: Likewise.
651 * sysdeps/pthread/funlockfile.c: Likewise.
652
653 [BZ #14912]
654 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
655 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
656 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
657 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
658 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
659 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
660 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
661
662 2015-09-03 Roland McGrath <roland@hack.frob.com>
663
664 * elf/Makefile (test-xfail-tst-protected1a): New variable.
665 (test-xfail-tst-protected1b): New variable.
666
667 2015-09-03 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #14912]
670 * bits/libc-tsd.h: Move to ...
671 * sysdeps/generic/libc-tsd.h: ...here.
672 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
673 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
674 * sysdeps/mach/hurd/libc-tsd.h: ...here.
675 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
676 * include/ctype.h: Include <libc-tsd.h> instead of
677 <bits/libc-tsd.h>.
678 * include/rpc/rpc.h: Likewise.
679 * locale/localeinfo.h: Likewise.
680 * sunrpc/rpc_thread.c: Likewise.
681 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
682 * sysdeps/nptl/malloc-machine.h: Likewise.
683
684 * Makefile (headers): Remove bits/libc-lock.h.
685 * libio/Makefile (headers): Remove bits/stdio-lock.h.
686
687 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
688 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
689 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
690 <bits/stdio-lock.h>.
691 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
692 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
693
694 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
695
696 [BZ #18757]
697 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
698 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
699 BZ #18757.
700
701 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
702
703 * malloc/mtrace.pl: Filter out NULL entries.
704
705 2015-09-01 Joseph Myers <joseph@codesourcery.com>
706
707 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
708 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
709 macro.
710
711 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
712 (TCP_CC_INFO): Likewise.
713 (TCP_SAVE_SYN): Likewise.
714 (TCP_SAVED_SYN): Likewise.
715
716 2015-08-31 Brett Neumeier <brett@neumeier.us>
717
718 [BZ #18870]
719 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
720
721 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
722
723 [BZ #18873]
724 Fix broken overflow check in posix_fallocate
725 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
726 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
727 Fix parenthesization typo.
728
729 2015-08-28 Mike Frysinger <vapier@gentoo.org>
730
731 [BZ #18887]
732 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
733 tst-mntent-blank-passno.
734 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
735 * misc/tst-mntent-blank-corrupt.c: New test.
736 * misc/tst-mntent-blank-passno.c: New test ripped from ...
737 * misc/tst-mntent.c (do_test): ... here.
738
739 2015-08-29 Mike Frysinger <vapier@gentoo.org>
740
741 [BZ #4404]
742 * po/de.po: Fix SIGALRM typo.
743
744 2015-08-28 James Perkins <james@loowit.net>
745
746 * time/tst-strptime2.c (tests): Replace short list of test
747 strings for strptime %z specifier with code which exhaustively
748 tests every combination of sign and 0 to 5 digits. Tests for
749 rejection of invalid strings.
750
751 2015-08-28 James Perkins <james@loowit.net>
752
753 [BZ #16141]
754 * time/strptime_l.c (__strptime_internal): Fix %z minutes
755 calculation, removing incorrect decimal time rounding, so that
756 all minute values result in a valid seconds value.
757 * time/strptime_l.c (__strptime_internal): Extend %z time zone
758 offset range limits to UTC-99:59 through UTC+99:59 to parse
759 current and historical use cases.
760 * time/tst-strptime2.c (tests): Modify and add tests for the
761 strptime %z input field descriptor, specifically conversion of
762 minutes to seconds and validating an offset range of -9959 to
763 +9959.
764
765 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
766 Dmitry V. Levin <ldv@altlinux.org>
767
768 [BZ #18877]
769 * posix/Makefile (tests): Add tst-mmap-offset.
770 * posix/tst-mmap.c: New file.
771 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
772 offset calculation for negative values.
773
774 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
775
776 * sysdeps/i386/init-arch.h: New file.
777 * sysdeps/i386/i586/init-arch.h: Likewise.
778 * sysdeps/i386/i686/init-arch.h: Likewise.
779 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
780 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
781 * sysdeps/x86/cpu-features.h (bit_I586): New.
782 (bit_I686): Likewise.
783 (bit_CX8): Likewise.
784 (bit_CMOV): Likewise.
785 (index_CX8): Likewise.
786 (index_CMOV): Likewise.
787 (index_I586): Likewise.
788 (index_I686): Likewise.
789 (reg_CX8): Likewise.
790 (reg_CMOV): Likewise.
791 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
792 available at compile-time.
793 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
794 available at compile-time.
795 * sysdeps/x86/init-arch.h (USE_I586): New macro.
796 (USE_I686): Likewise.
797
798 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
799
800 * sysdeps/i386/bcopy.S: New file.
801 * sysdeps/i386/bzero.S: Likewise.
802 * sysdeps/i386/memcpy.S: Likewise.
803 * sysdeps/i386/memmove.S: Likewise.
804 * sysdeps/i386/mempcpy.S: Likewise.
805 * sysdeps/i386/memset.S: Likewise.
806 * sysdeps/i386/bzero.c: Removed.
807 * sysdeps/i386/memset.c: Likewise.
808 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
809 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
810 * sysdeps/i386/i586/memset_chk.S: Likewise.
811 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
812 * sysdeps/i386/memcpy_chk.S: Here.
813 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
814 * sysdeps/i386/memmove_chk.S: Here.
815 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
816 * sysdeps/i386/mempcpy_chk.S: Likewise.
817 * sysdeps/i386/i686/memset_chk.S: Moved to ...
818 * sysdeps/i386/memset_chk.S: Likewise.
819
820 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
821
822 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
823 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
824 file, move DIAG_POP_NEEDS_COMMENT to end of file.
825 * soft-fp/fmadf4.c: Ditto.
826 * soft-fp/fmatf4.c: Ditto.
827
828 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
829
830 * sysdeps/i386/i586/Implies: Removed.
831 * sysdeps/i386/i686/Implies: Likewise.
832
833 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
834
835 * sysdeps/i386/i486/strlen.S: Moved to ...
836 * sysdeps/i386/strlen.S: Here.
837
838 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
839
840 * sysdeps/i386/i486/strcat.S: Moved to ...
841 * sysdeps/i386/strcat.S: Here.
842
843 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
844
845 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
846 * sysdeps/i386/pthread_spin_trylock.S: Here.
847 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
848 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
849
850 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
851
852 * sysdeps/i386/i486/string-inlines.c: Moved to ...
853 * sysdeps/i386/string-inlines.c: Here.
854
855 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
856
857 * sysdeps/i386/i486/htonl.S: Moved ...
858 * sysdeps/i386/htonl.S: here.
859
860 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
861
862 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
863 * sysdeps/i386/bits/atomic.h: Here.
864
865 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
866
867 * sysdeps/i386/i486/Versions: Removed.
868
869 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
870
871 [BZ #2898]
872 * misc/mktemp.c: Add mkdtemp to the link_warning message.
873 Based on patch by Aurelien Jarno.
874
875 2015-08-26 Stan Shebs <stanshebs@google.com>
876
877 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
878 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
879
880 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
881
882 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
883 * sysdeps/powerpc/dl-procinfo.c:
884 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
885 feature so it shows when LD_SHOW_AUXV=1.
886
887 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
888
889 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
890 (__arch_compare_and_exchange_val_32_acq): Remove and use common
891 definition. ISA 2.07B no longer requires full sync.
892
893 2015-08-26 Mike Frysinger <vapier@gentoo.org>
894
895 [BZ #18863]
896 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
897 (si_call_addr): Define.
898 (si_syscall): Define.
899 (si_arch): Define.
900
901 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
902
903 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
904 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
905 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
906 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
907 (__memset_zero_constant_len_parameter): New.
908 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
909 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
910 (__memset_zero_constant_len_parameter): Don't define if
911 __memset_chk or USE_AS_BZERO are defined.
912
913 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
914 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
915 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
916
917 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
918 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
919 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
920 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
921 comments.
922 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
923 -mno-mmx for $(all-rtld-routines).
924 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
925 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
926 i386.
927
928 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
929
930 * sysdeps/generic/unwind.h
931 (_Unwind_Word): Use __mode__(__unwind_word__)
932 instead of __mode__(__word__).
933 (_Unwind_Sword): Likewise.
934
935 * sysdeps/s390/s390-64/utf8-utf16-z9.c
936 (MAX_NEEDED_INPUT): New define.
937 (MAX_NEEDED_OUTPUT): New define.
938
939 * NEWS: New item for IBM z13 string optimizations.
940
941 * sysdeps/s390/multiarch/memrchr-c.c: New File.
942 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
943 * sysdeps/s390/multiarch/memrchr.c: Likewise.
944 * sysdeps/s390/multiarch/Makefile
945 (sysdep_routines): Add memrchr functions.
946 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
947 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
948
949 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
950 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
951 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
952 * sysdeps/s390/multiarch/Makefile
953 (sysdep_routines): Add wmemcmp functions.
954 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
955 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
956 * benchtests/bench-wmemcmp.c: New File.
957 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
958
959 * sysdeps/s390/multiarch/wmemset-c.c: New File.
960 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
961 * sysdeps/s390/multiarch/wmemset.c: Likewise.
962 * sysdeps/s390/multiarch/Makefile
963 (sysdep_routines): Add wmemset functions.
964 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
965 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
966 * wcsmbs/wmemset.c: Use WMEMSET if defined.
967 * string/test-memset.c: Add wmemset support.
968 * wcsmbs/test-wmemset.c: New File.
969 * wcsmbs/Makefile (strop-tests): Add wmemset.
970 * benchtests/bench-memset.c: Add wmemset support.
971 * benchtests/bench-wmemset.c: New File.
972 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
973
974 * sysdeps/s390/multiarch/memccpy-c.c: New File.
975 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
976 * sysdeps/s390/multiarch/memccpy.c: Likewise.
977 * sysdeps/s390/multiarch/Makefile
978 (sysdep_routines): Add memccpy functions.
979 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
980 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
981 * string/memccpy.c: Use MEMCCPY if defined.
982
983 * sysdeps/s390/multiarch/memchr-vx.S: New File.
984 * sysdeps/s390/multiarch/memchr.c: Likewise.
985 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
986 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
987 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
988 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
989 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
990 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
991 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
992 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
993 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
994 and rawmemchr functions.
995 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
996 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
997 and wmemchr.
998 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
999 * string/test-memchr.c: Add wmemchr support.
1000 * wcsmbs/test-wmemchr.c: New File.
1001 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1002 * benchtests/bench-memchr.c: Add wmemchr support.
1003 * benchtests/bench-wmemchr.c: New File.
1004 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1005
1006 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1007 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1008 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1009 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1010 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1011 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1012 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1013 wcscspn functions.
1014 * sysdeps/s390/multiarch/ifunc-impl-list.c
1015 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1016 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1017 * string/test-strcspn.c: Add wcscspn support.
1018 * wcsmbs/test-wcscspn.c: New File.
1019 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1020 * benchtests/bench-strcspn.c: Add wcscspn support.
1021 * benchtests/bench-wcscspn.c: New File.
1022 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1023
1024 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1025 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1026 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1027 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1028 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1029 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1030 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1031 wcspbrk functions.
1032 * sysdeps/s390/multiarch/ifunc-impl-list.c
1033 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1034 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1035 * string/test-strpbrk.c: Add wcspbrk support.
1036 * wcsmbs/test-wcspbrk.c: New File.
1037 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1038 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1039 * benchtests/bench-wcspbrk.c: New File.
1040 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1041
1042 * sysdeps/s390/multiarch/strspn-c.c: New File.
1043 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1044 * sysdeps/s390/multiarch/strspn.c: Likewise.
1045 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1046 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1047 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1048 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1049 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1050 wcsspn functions.
1051 * sysdeps/s390/multiarch/ifunc-impl-list.c
1052 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1053 * string/test-strspn.c: Add wcsspn support.
1054 * wcsmbs/test-wcsspn.c: New File.
1055 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1056 * benchtests/bench-strspn.c: Add wcsspn support.
1057 * benchtests/bench-wcsspn.c: New File.
1058 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1059
1060 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1061 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1062 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1063 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1064 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1065 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1066 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1067 wcsrchr functions.
1068 * sysdeps/s390/multiarch/ifunc-impl-list.c
1069 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1070 * benchtests/bench-wcsrchr.c: New File.
1071 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1072
1073 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1074 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1075 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1076 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1077 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1078 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1079 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1080 wcschrnul functions.
1081 * sysdeps/s390/multiarch/ifunc-impl-list.c
1082 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1083 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1084 * string/test-strchr.c: Add wcschrnul support.
1085 * wcsmbs/test-wcschrnul.c: New File.
1086 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1087 * benchtests/bench-strchr.c: Add wcschrnul support.
1088 * benchtests/bench-wcschrnul.c: New File.
1089 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1090
1091 * sysdeps/s390/multiarch/strchr-c.c: New File.
1092 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1093 * sysdeps/s390/multiarch/strchr.c: Likewise.
1094 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1095 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1096 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1097 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1098 wcschr functions.
1099 * sysdeps/s390/multiarch/ifunc-impl-list.c
1100 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1101 * string/strchr.c (STRCHR): Define and use macro.
1102 * benchtests/bench-wcschr.c: New File.
1103 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1104
1105 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1106 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1107 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1108 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1109 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1110 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1111 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1112 wcsncmp functions.
1113 * sysdeps/s390/multiarch/ifunc-impl-list.c
1114 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1115 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1116 * benchtests/bench-strncmp.c: Add wcsncmp support.
1117 * benchtests/bench-wcsncmp.c: New File.
1118 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1119
1120 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1121 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1122 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1123 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1124 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1125 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1126 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1127 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1128 wcscmp functions.
1129 * sysdeps/s390/multiarch/ifunc-impl-list.c
1130 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1131 * string/strcmp.c (STRCMP): Define and use macro.
1132 * benchtests/bench-wcscmp.c: New File.
1133 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1134 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1135 instead of _HAVE_STRING_ARCH_memchr.
1136
1137 * sysdeps/s390/multiarch/strncat-c.c: New File.
1138 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1139 * sysdeps/s390/multiarch/strncat.c: Likewise.
1140 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1141 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1142 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1143 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1144 wcsncat functions.
1145 * sysdeps/s390/multiarch/ifunc-impl-list.c
1146 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1147 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1148 * string/test-strncat.c: Add wcsncat support.
1149 * wcsmbs/test-wcsncat.c: New File.
1150 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1151 * benchtests/bench-strncat.c: Add wcsncat support.
1152 * benchtests/bench-wcsncat.c: New File.
1153 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1154
1155 * sysdeps/s390/multiarch/strcat-c.c: New File.
1156 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1157 * sysdeps/s390/multiarch/strcat.c: Likewise.
1158 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1159 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1160 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1161 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1162 wcscat functions.
1163 * sysdeps/s390/multiarch/ifunc-impl-list.c
1164 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1165 * string/strcat.c (STRCAT): Define and use macro.
1166 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1167 * string/test-strcat.c: Add wcscat support.
1168 * wcsmbs/test-wcscat.c: New File.
1169 * wcsmbs/Makefile (strop-tests): Add wcscat.
1170 * benchtests/bench-strcat.c: Add wcscat support.
1171 * benchtests/bench-wcscat.c: New File.
1172 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1173
1174 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1175 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1176 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1177 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1178 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1179 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1180 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1181 wcpncpy functions.
1182 * sysdeps/s390/multiarch/ifunc-impl-list.c
1183 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1184 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1185 * string/test-stpncpy.c: Add wcpncpy support.
1186 * wcsmbs/test-wcpncpy.c: New File.
1187 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1188 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1189 * benchtests/bench-wcpncpy.c: New File.
1190 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1191
1192 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1193 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1194 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1195 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1196 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1197 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1198 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1199 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1200 wcsncpy functions.
1201 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1202 * sysdeps/s390/multiarch/ifunc-impl-list.c
1203 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1204 * string/test-strncpy.c: Add wcsncpy support.
1205 * wcsmbs/test-wcsncpy.c: New File.
1206 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1207 * benchtests/bench-strncpy.c: Add wcsncpy support.
1208 * benchtests/bench-wcsncpy.c: New File.
1209 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1210
1211 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1212 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1213 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1214 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1215 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1216 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1217 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1218 wcpcpy functions.
1219 * string/stpcpy.c: Use STPCPY if defined.
1220 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1221 * sysdeps/s390/multiarch/ifunc-impl-list.c
1222 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1223 * string/test-stpcpy.c: Add wcpcpy support.
1224 * wcsmbs/test-wcpcpy.c: New File.
1225 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1226 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1227 * benchtests/bench-wcpcpy.c: New File.
1228 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1229
1230 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1231 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1232 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1233 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1234 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1235 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1236 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1237 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1238 wcscpy functions.
1239 * sysdeps/s390/multiarch/ifunc-impl-list.c
1240 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1241 * benchtests/bench-wcscpy.c: New File.
1242 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1243
1244 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1245 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1246 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1247 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1248 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1249 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1250 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1251 wcsnlen functions.
1252 * sysdeps/s390/multiarch/ifunc-impl-list.c
1253 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1254 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1255 * string/test-strnlen.c: Add wcsnlen support.
1256 * wcsmbs/test-wcsnlen.c: New File.
1257 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1258 * benchtests/bench-strnlen.c: Add wcsnlen support.
1259 * benchtests/bench-wcsnlen.c: New File.
1260 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1261
1262 * sysdeps/s390/multiarch/Makefile: New File.
1263 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1264 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1265 * sysdeps/s390/multiarch/strlen.c: Likewise.
1266 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1267 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1268 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1269 * string/strlen.c (STRLEN): Define and use macro.
1270 * sysdeps/s390/multiarch/ifunc-impl-list.c
1271 (IFUNC_VX_IMPL): New macro function.
1272 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1273 * benchtests/Makefile (wcsmbs-bench): New variable.
1274 (string-bench-all): Added wcsmbs-bench.
1275 * benchtests/bench-wcslen.c: New File.
1276
1277 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1278 s390_vx_libc_ifunc2): New macro function.
1279
1280 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1281 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1282 assembler support.
1283 * sysdeps/s390/configure: Regenerated.
1284
1285 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1286 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1287
1288 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1289 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1290 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1291
1292 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1293 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1294 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1295 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1296 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1297 (memcmp, bcmp): Use __memcmp_default as alias source.
1298 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1299 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1300 Rename to __memcmp_default.
1301 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1302 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1303 (memcpy): Use __memcpy_default as alias source.
1304 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1305 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1306 Rename to __memcpy_default.
1307 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1308 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1309 (memset): Use __memset_default as alias source.
1310 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1311 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1312 Rename to __memset_default.
1313 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1314 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1315 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1316 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1317 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1318 (memcmp, bcmp): Use __memcmp_default as alias source.
1319 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1320 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1321 Rename to __memcmp_default.
1322 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1323 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1324 (memcpy): Use __memcpy_default as alias source.
1325 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1326 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1327 Rename to __memcpy_default.
1328 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1329 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1330 (memset): Use __memset_default as alias source.
1331 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1332 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1333 Rename to __memset_default.
1334 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1335 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1336
1337 [BZ #18610]
1338 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1339 __ieee_instruction_pointer to __unused.
1340 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1341 __ieee_instruction_pointer.
1342 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1343 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1344 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1345 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1346 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1347 Mark dxc-field as reserved.
1348
1349 2015-08-25 Roland McGrath <roland@hack.frob.com>
1350
1351 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1352 if the weak reference is not null.
1353
1354 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1355
1356 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1357
1358 [BZ #11214]
1359 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1360
1361 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1362
1363 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1364 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1365 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1366 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1367 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1368 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1369 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1370 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1371 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1372 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1373 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1374 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1375 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1376 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1377 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1378 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1379 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1380 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1381
1382 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1383
1384 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1385 register other than r0 for tabort, it has special meaning.
1386 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1387 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1388 transaction before starting syscall.
1389
1390 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1391
1392 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1393
1394 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1397
1398 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1399 * sysdeps/x86_64/rtld-memset.S: Likewise.
1400 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1401 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1402 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1403 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1404
1405 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1406
1407 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1408
1409 * debug/strcpy_chk.c: Improve performance.
1410 * debug/stpcpy_chk.c: Likewise.
1411 * sysdeps/x86_64/strcpy_chk.S: Remove.
1412 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1413
1414 [BZ #18240]
1415 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1416
1417 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 [BZ #15128]
1420 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1421 ifuncmain8.
1422 (modules-names): Add ifuncmod8.
1423 ($(objpfx)ifuncmain8): New rule.
1424 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1425 <cpuid.h>.
1426 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1427 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1428 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1429 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1430 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1431 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1432 * sysdeps/x86_64/ifuncmain8.c: New file.
1433 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1434 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1435 Removed.
1436 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1437 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1438 Change rtld_savespace_sse to __glibc_unused2.
1439 (RTLD_CHECK_FOREIGN_CALL): Removed.
1440 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1441 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1442 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1443
1444 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1445
1446 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1447
1448 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1449
1450 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1451 Unconditionally set __fpcr to avoid uninialized warning.
1452 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1453
1454 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1455
1456 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1457 is corrupt.
1458
1459 * malloc/arena.c (arena_get2): Drop unused argument.
1460 (arena_lock): Adjust.
1461 (arena_get_retry): Likewise.
1462
1463 2015-08-24 Andreas Schwab <schwab@suse.de>
1464
1465 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1466 Don't define.
1467 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1468 (__ASSUME_IPC64): Don't undef.
1469 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1470 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1471 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1472 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1473 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1474 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1475 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1476 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1477 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1479 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1480 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1481 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1482 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1483 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1484 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1485 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1486 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1487 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1488 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1489 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1490
1491 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1492
1493 * manual/Makefile (install): Only build manual when perl is available.
1494
1495 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1496
1497 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1498 '#undef memcpy' by '#undef memchr'.
1499
1500 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1501
1502 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1503 memchr not point to the internal __GI_memchr implementation.
1504
1505 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1506
1507 * timezone/Makefile (CFLAGS-zdump.c): Remove
1508 -Wno-strict-prototypes.
1509 (CFLAGS-zic.c): Likewise.
1510 (CFLAGS-ialloc.c): Likewise.
1511 (CFLAGS-scheck.c): Likewise.
1512
1513 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1514 -Wno-error=undef.
1515
1516 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 * i386/i686/multiarch/strcasestr-c.c: Removed.
1519 * x86_64/multiarch/strcasestr.c: Likewise.
1520 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1521 Remove strcasestr.
1522
1523 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1524
1525 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1526
1527 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1528 variables for high and low parts before possibly modifying them.
1529
1530 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1533 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1534 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1535 of "multiarch/init-arch.h".
1536 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1537 * sysdeps/x86/init-arch.h: This.
1538
1539 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1542 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1543
1544 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1545
1546 [BZ #17787]
1547 * manual/macros.texi: Add twoexp macro.
1548 * manual/filesys.texi: Fix exponents.
1549 * manual/llio.texi: Likewise.
1550 * manual/stdio.texi: Likewise.
1551
1552 2015-08-20 Florian Weimer <fweimer@redhat.com>
1553
1554 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1555 incorrect use.
1556
1557 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1558
1559 [BZ #18370]
1560 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1561 whose real or imaginary part has small absolute value.
1562 * math/s_csqrtf.c (__csqrtf): Likewise.
1563 * math/s_csqrtl.c (__csqrtl): Likewise.
1564 * math/auto-libm-test-in: Add more tests of csqrt.
1565 * math/auto-libm-test-out: Regenerated.
1566 * sysdeps/i386/fpu/libm-test-ulps: Update.
1567
1568 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1569
1570 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1571 __ppc_set_ppr_very_low): New functions.
1572 * manual/platform.texi: Add documentation about
1573 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1574
1575 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1576
1577 * string/stpncpy.c (stpncpy): Improve performance using
1578 __strnlen/memcpy/memset.
1579
1580 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1581
1582 [BZ #18796]
1583 * scripts/test-installation.pl: Don't add -lmvec to build options if
1584 libmvec wasn't built.
1585
1586 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1587
1588 [BZ #14341]
1589 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1590 case when there is a gap between DT_REL and DT_JMPREL sections.
1591 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1592 (LDFLAGS-tst-split-dynreloc): New.
1593 (tst-split-dynreloc-ENV): Likewise.
1594 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1595 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1596
1597 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 [BZ #18822]
1600 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1601 attribute_hidden.
1602 (__xstat64_conv): Likewise.
1603 (__xstat32_conv): Likewise.
1604
1605 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1606
1607 [BZ #18822]
1608 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1609 Don't load %ebx when calling __setcontext. Call __setcontext
1610 with HIDDEN_JUMPTARGET.
1611 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1612 libc_hidden_def.
1613
1614 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1615
1616 * sysdeps/i386/i686/Makefile
1617 [$(subdir) == string] (sysdep_routines): Moved to ...
1618 * sysdeps/i386/Makefile: Here.
1619 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1620 * sysdeps/i386/cacheinfo.c: Here.
1621 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1622 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1623 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1624 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1625
1626 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1627
1628 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1629 __i586__ is defined.
1630 (HAS_I686): Defined to 1 if __i686__ is defined.
1631
1632 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1633
1634 * elf/Makefile [$(have-z-execstack) = yes]
1635 (CPPFLAGS-tst-execstack.c): New variable.
1636
1637 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1638 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1639 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1640 UTMPX || _HAVE_UT_TV].
1641 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1642 UTMPX || _HAVE_UT_TV - 0].
1643
1644 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1645
1646 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1647 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1648 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1649
1650 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1651
1652 * sysdeps/powerpc/dl-procinfo.c:
1653 (_dl_powerpc_cap_flags): Added missing strings for some
1654 hwcap features.
1655 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1656
1657 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1658
1659 Port the 0x7efe...feff pattern to GCC 6.
1660 See Steve Ellcey's bug report in:
1661 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1662 * string/memrchr.c (MEMRCHR):
1663 * string/rawmemchr.c (RAWMEMCHR):
1664 * string/strchr.c (strchr):
1665 * string/strchrnul.c (STRCHRNUL):
1666 Rewrite code to avoid issues with signed shift overflow.
1667
1668 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1669
1670 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1671 whether cpuid is available only if HAS_CPUID is 0.
1672 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1673 (HAS_I586): Likewise.
1674 (HAS_I686): Likewise.
1675
1676 2015-08-18 Zack Weinberg <zackw@panix.com>
1677
1678 * misc/Versions (libc): Add GLIBC_2.23.
1679
1680 2015-08-18 Alan Modra <amodra@gmail.com>
1681
1682 [BZ #18421]
1683 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1684 .Lp__global.
1685 (_start): Load %dp via .Lp__global.
1686 [!SHARED]: Use .section .rodata.
1687
1688 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1689
1690 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1691 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1692
1693 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1694
1695 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1696 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1697
1698 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1699
1700 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1701 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1702
1703 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1704
1705 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1706 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1707
1708 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1709
1710 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1711 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1712
1713 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1714
1715 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1716 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1717
1718 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1719
1720 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1721
1722 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1723
1724 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1725 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1726 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1727 (__ASSUME_LWS_CAS): Delete.
1728
1729 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1730
1731 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1732 * sysdeps/hppa/configure: Regenerated.
1733 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1734 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1735 * sysdeps/hppa/nptl/tls.h: Likewise.
1736
1737 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1738
1739 [BZ #18823]
1740 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1741 for scaling up small arguments.
1742 * math/s_csqrtf.c (__csqrtf): Likewise.
1743 * math/s_csqrtl.c (__csqrtl): Likewise.
1744 * math/auto-libm-test-in: Add more tests of csqrt.
1745 * math/auto-libm-test-out: Regenerated.
1746
1747 2015-08-17 Andreas Schwab <schwab@suse.de>
1748
1749 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1750 version set GLIBC_2.19.
1751
1752 2015-08-16 Zack Weinberg <zackw@panix.com>
1753
1754 [BZ #18681]
1755 * misc/regexp.h: This interface is no longer supported.
1756 Remove all contents, leaving only an #error directive.
1757 * misc/regexp.c (loc1, loc2, locs, step, advance):
1758 Demote to compatibility symbols.
1759
1760 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1761
1762 [BZ #18084]
1763 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1764 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1765 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1766 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1767 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1768 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1769 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1770 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1771 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1772
1773 2015-08-15 Zack Weinberg <zackw@panix.com>
1774
1775 [BZ #18795]
1776 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1777 buffer length is known to be too large, not if it's known to be
1778 small enough.
1779 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1780 overflow at runtime, involving a length parameter, twice: once
1781 with a compile-time constant length parameter, once without.
1782
1783 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1784
1785 [BZ #18824]
1786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1787 scaling x * y up instead of down.
1788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1790 * math/auto-libm-test-in: Add more tests of fma.
1791 * math/auto-libm-test-out: Regenerated.
1792
1793 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1794
1795 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1796
1797 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1798
1799 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1800 unnecessary movq.
1801 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1802 Likewise.
1803
1804 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1805
1806 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1807 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1808 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1809 and tgamma.
1810 * math/auto-libm-test-out: Regenerated.
1811 * sysdeps/i386/fpu/libm-test-ulps: Update.
1812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1813
1814 [BZ #16520]
1815 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1816 (__tanh): Force underflow exception for arguments with small
1817 absolute value.
1818 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1819 (__tanhf): Force underflow exception for arguments with small
1820 absolute value.
1821 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1822 (__tanhl): Force underflow exception for arguments with small
1823 absolute value.
1824 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1825 (__tanhl): Force underflow exception for arguments with small
1826 absolute value.
1827 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1828 (__tanhl): Force underflow exception for arguments with small
1829 absolute value.
1830 * math/auto-libm-test-in: Add more tests of tanh.
1831 * math/auto-libm-test-out: Regenerated.
1832 * sysdeps/i386/fpu/libm-test-ulps: Update.
1833
1834 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1837 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1838
1839 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1842 <cpuid.h>.
1843
1844 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1845
1846 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1847 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1848
1849 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1852 Remove $(objpfx)init-arch.o.
1853 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1854 init-arch.
1855 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1856 (INIT_ARCH_EXT): Defined as empty.
1857 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1858 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1859 __init_cpu_features call. Replace HAS_XXX with
1860 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1861 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1862 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1863 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1864 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1865 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1866 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1867 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1868 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1869 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1870 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1871 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1872 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1873 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1874 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1875 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1876 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1877 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1878 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1879 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1880 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1881 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1882 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1883 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1884 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1885 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1886 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1887 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1888 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1889 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1890 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1891 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1892 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1893 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1894 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1895 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1896
1897 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1898
1899 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1900 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1901 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1902 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1903 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1904 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1905 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1906 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1907 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1908 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1909 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1910 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
1911 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1912 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1913 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1914 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1915 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1916 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1917 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1918 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1919 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1920 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1921 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1922 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1923 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1924 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1925 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1926 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1927 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1928 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1929 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1930 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1931 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1932 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1933 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1934 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1935 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1936 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1937 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1940 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1941 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1942
1943 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1946 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1949 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1950 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1952 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1953 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1955 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1956 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1957 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1958 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1959 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1960 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1961 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1962 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1963 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1964 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1966 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1967 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1968 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1969 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1970 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1971 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1972 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
1973 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1974 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1975 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1976 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1978 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1979 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1980 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1981 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1982 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1983 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1984 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1985 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1986 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1987 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1988
1989 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1992 (dl_platform_init): Call init_cpu_features.
1993 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1994 * sysdeps/i386/i686/cacheinfo.c
1995 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1996 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1997 * sysdeps/i386/i686/multiarch/Versions: Removed.
1998 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1999 Removed.
2000 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2001 * sysdeps/unix/sysv/linux/x86/Makefile
2002 (libpthread-sysdep_routines): Remove init-arch.
2003 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2004 <sysdeps/x86_64/dl-procinfo.c> instead of
2005 sysdeps/generic/dl-procinfo.c>.
2006 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2007 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2008 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2009 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2010 [$(subdir) == elf] (tests-static): Add
2011 tst-get-cpu-features-static.
2012 * sysdeps/x86/Versions: New file.
2013 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2014 * sysdeps/x86/cpu-features.c: Likewise.
2015 * sysdeps/x86/cpu-features.h: Likewise.
2016 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2017 * sysdeps/x86/libc-start.c: Likewise.
2018 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2019 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2020 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2021 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2022 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2023 Assume USE_MULTIARCH is defined and don't check it.
2024 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2025 (is_amd): Likewise.
2026 (max_cpuid): Likewise.
2027 (intel_check_word): Likewise.
2028 (__cache_sysconf): Don't call __init_cpu_features.
2029 (__x86_preferred_memory_instruction): Removed.
2030 (init_cacheinfo): Don't call __init_cpu_features. Replace
2031 __cpu_features with GLRO(dl_x86_cpu_features).
2032 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2033 (dl_platform_init): Call init_cpu_features.
2034 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2035 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2036 * sysdeps/x86_64/multiarch/Versions: Removed.
2037 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2038 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2039 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2040 Removed.
2041 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2042
2043 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2044
2045 [BZ #18820]
2046 * libio/Makefile (test-fmemopen-mem): New test.
2047 * libio/test-fmemopen.c (do_bz18820): New test.
2048 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2049 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2050
2051 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2052
2053 [BZ #16734]
2054 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2055 (FREE_BUF): Delete.
2056 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2057 * libio/genops.c (_IO_setb): Use malloc and free directly.
2058 (_IO_default_doallocate, _IO_default_finish): Likewise.
2059 ( _IO_unbuffer_all): Likewise.
2060 ( libc_freeres_fn): Likewise.
2061 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2062 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2063 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2064 (_IO_wdefault_doallocate): Likewise.
2065
2066 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2067
2068 [BZ #18086]
2069 * sysdeps/posix/nice.c (nice): Restore old errno.
2070 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2071
2072 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2073
2074 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2075
2076 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2077
2078 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2079 __bcopy and add a weak_alias to bcopy.
2080 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2081 for static build.
2082
2083 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2084 cleanup macro usage.
2085 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2086 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2087 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2088 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2089 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2090 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2091 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2092 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2093 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2094 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2095 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2096 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2097 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2098 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2099 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2100 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2101 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2102 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2103 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2104
2105 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2106 libc_hidden_def.
2107 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2108
2109 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2110 (sysdep_routines): Add strstr-ppc64.
2111 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2112
2113 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2114
2115 [BZ #18778]
2116 * elf/Makefile (tests): Add Add tst-nodelete2.
2117 (modules-names): Add tst-nodelete2mod.
2118 (tst-nodelete2mod.so-no-z-defs): New.
2119 ($(objpfx)tst-nodelete2): Likewise.
2120 ($(objpfx)tst-nodelete2.out): Likewise.
2121 (LDFLAGS-tst-nodelete2): Likewise.
2122 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2123 out of loop through all loaded libraries.
2124 * elf/tst-nodelete2.c: New file.
2125 * elf/tst-nodelete2mod.c: Likewise.
2126 * elf/tst-znodelete-zlib.cc: Delete.
2127
2128 2015-08-11 Andreas Schwab <schwab@suse.de>
2129
2130 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2131 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2132 (__openat64_nocancel): Likewise.
2133
2134 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2135
2136 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2137 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2138 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2139 * math/auto-libm-test-out: Regenerated.
2140 * sysdeps/i386/fpu/libm-test-ulps: Update.
2141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2142
2143 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2144
2145 [BZ #18790]
2146 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2147 threshold for returning +/- 1.
2148 * math/auto-libm-test-in: Add more tests of tanh.
2149 * math/auto-libm-test-out: Regenerated.
2150 * sysdeps/i386/fpu/libm-test-ulps: Update.
2151
2152 2015-08-10 Andreas Schwab <schwab@suse.de>
2153
2154 [BZ #18781]
2155 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2156 MORE_OFLAGS to oflag.
2157 * io/test-lfs.c (do_test): Test openat64.
2158
2159 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2160
2161 [BZ #18789]
2162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2163 smaller threshold for returning the argument.
2164 * math/auto-libm-test-in: Add more tests of sinh.
2165 * math/auto-libm-test-out: Regenerated.
2166 * sysdeps/i386/fpu/libm-test-ulps: Update.
2167
2168 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 [BZ #18674]
2171 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2172 break.
2173
2174 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2175
2176 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2177 (generated): Don't add $(addprefix z.,$(tzfiles)).
2178
2179 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2180
2181 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2182 * scripts/sysd-rules.awk: Likewise.
2183
2184 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2185
2186 * iconvdata/tst-tables.sh: Change echo -n to printf.
2187 * nss/db-Makefile: Likewise.
2188 * posix/tst-getconf.sh: Likewise.
2189 * stdio-common/tst-unbputc.sh: Likewise.
2190
2191 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2192
2193 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2194 MADV_*_PAGES defines behind this feature check.
2195
2196 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2197
2198 [BZ #18480]
2199 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2200 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2201 Define.
2202 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2203 LOAD_REGS_5, LOAD_REGS_6): Update.
2204 (INTERNAL_SYSCALL): Update using new LOAD defines.
2205 (INTERNAL_SYSCALL_NCS): Likewise.
2206 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2207
2208 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2209
2210 [BZ #16734]
2211 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2212
2213 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2214
2215 [BZ #17905]
2216 * catgets/Makefile (tst-catgets-mem): New test.
2217 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2218 * catgets/open_catalog.c (__open_catalog): Likewise.
2219 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2220
2221 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2222
2223 [BZ #18787]
2224 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2225 clobber registers.
2226 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2227 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2228 Cast return to __typeof (oldval).
2229
2230 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2231
2232 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2233 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2234 and delete sys/syscall.h include.
2235
2236 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2237
2238 [BZ #16517]
2239 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2240 (tan): Force underflow exception for arguments with small absolute
2241 value.
2242 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2243 (__kernel_tanf): Force underflow exception for arguments with
2244 small absolute value.
2245 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2246 (__kernel_tanl): Force underflow exception for arguments with
2247 small absolute value.
2248 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2249 (__kernel_tanl): Force underflow exception for arguments with
2250 small absolute value.
2251 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2252 (__kernel_tanl): Force underflow exception for arguments with
2253 small absolute value.
2254 * math/auto-libm-test-in: Add more tests of tan.
2255 * math/auto-libm-test-out: Regenerated.
2256
2257 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2258
2259 Fix sysdeps/i386/fpu/s_scalbn.S build
2260
2261 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2262
2263 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2264
2265 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2266
2267 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2268
2269 Fix gcrt0.o compilation
2270
2271 When static-start-installed-name is different from
2272 start-installed-name, we must not use the shared objects.
2273
2274 * csu/Makefile
2275 (extra-objs): Add gmon-start.o when building shared library and
2276 $(static-start-installed-name) is different from
2277 $(start-installed-name).
2278 $(objpfx)g$(static-start-installed-name): When building shared
2279 library and $(static-start-installed-name) is different from
2280 $(static-start-installed-name), revert to non-shared rule,
2281 i.e. using $(objpfx)% and gmon-start.o.
2282
2283 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2284
2285 [BZ #16519]
2286 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2287 (__ieee754_sinh): Force underflow exception for arguments with
2288 small absolute value.
2289 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2290 (__ieee754_sinhf): Force underflow exception for arguments with
2291 small absolute value.
2292 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2293 (__ieee754_sinhl): Force underflow exception for arguments with
2294 small absolute value.
2295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2296 (__ieee754_sinhl): Force underflow exception for arguments with
2297 small absolute value.
2298 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2299 (__ieee754_sinhl): Force underflow exception for arguments with
2300 small absolute value.
2301 * math/auto-libm-test-in: Add more tests of sinh.
2302 * math/auto-libm-test-out: Regenerated.
2303 * sysdeps/i386/fpu/libm-test-ulps: Update.
2304
2305 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2306
2307 * libio/oldfileops.c: Include unistd.h.
2308
2309 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2310
2311 * stdlib/isomac.c: Include ctype.h.
2312
2313 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2314
2315 * dirent/tst-seekdir.c (main): Converted to ...
2316 (do_test): ... this.
2317 (TEST_FUNCTION): New macro.
2318 Include test-skeleton.c.
2319 * elf/tst-dlmodcount.c (main): Converted to ...
2320 (do_test): ... this.
2321 (TEST_FUNCTION): New macro.
2322 Include test-skeleton.c.
2323 * elf/tst-order-main.c (main): Converted to ...
2324 (do_test): ... this.
2325 (TEST_FUNCTION): New macro.
2326 Include test-skeleton.c.
2327 * elf/tst-pie2.c (main): Converted to ...
2328 (do_test): ... this.
2329 (TEST_FUNCTION): New macro.
2330 Include test-skeleton.c.
2331 * inet/tst-ether_aton.c (main): Converted to ...
2332 (do_test): ... this.
2333 (TEST_FUNCTION): New macro.
2334 Include test-skeleton.c.
2335 * misc/tst-mntent.c (main): Converted to ...
2336 (do_test): ... this.
2337 (TEST_FUNCTION): New macro.
2338 Include test-skeleton.c.
2339 * misc/tst-tsearch.c (main): Converted to ...
2340 (do_test): ... this.
2341 (TEST_FUNCTION): New macro.
2342 Include test-skeleton.c.
2343 * posix/tst-regexloc.c (main): Converted to ...
2344 (do_test): ... this.
2345 (TEST_FUNCTION): New macro.
2346 Include test-skeleton.c.
2347 * resolv/tst-aton.c (main): Converted to ...
2348 (do_test): ... this.
2349 (TEST_FUNCTION): New macro.
2350 Include test-skeleton.c.
2351 * stdio-common/test-fwrite.c (main): Converted to ...
2352 (do_test): ... this.
2353 (TEST_FUNCTION): New macro.
2354 Include test-skeleton.c.
2355 * stdio-common/tst-ferror.c (main): Converted to ...
2356 (do_test): ... this.
2357 (TEST_FUNCTION): New macro.
2358 Include test-skeleton.c.
2359 * stdio-common/tst-printf.c (main): Converted to ...
2360 (do_test): ... this.
2361 (TEST_FUNCTION): New macro.
2362 Include test-skeleton.c.
2363 * stdio-common/tst-printfsz.c (main): Converted to ...
2364 (do_test): ... this.
2365 (TEST_FUNCTION): New macro.
2366 Include test-skeleton.c.
2367 * stdlib/tst-strtod.c (main): Converted to ...
2368 (do_test): ... this.
2369 (TEST_FUNCTION): New macro.
2370 Include test-skeleton.c.
2371 * string/tst-strlen.c (main): Converted to ...
2372 (do_test): ... this.
2373 (TEST_FUNCTION): New macro.
2374 Include test-skeleton.c.
2375 * string/tst-svc.c (main): Converted to ...
2376 (do_test): ... this.
2377 (TEST_FUNCTION): New macro.
2378 Include test-skeleton.c.
2379 * time/tst-strptime.c (main): Converted to ...
2380 (do_test): ... this.
2381 (TEST_FUNCTION): New macro.
2382 Include test-skeleton.c.
2383 * timezone/tst-timezone.c (main): Converted to ...
2384 (do_test): ... this.
2385 (TEST_FUNCTION): New macro.
2386 Include test-skeleton.c.
2387
2388 2015-08-05 Zack Weinberg <zackw@panix.com>
2389
2390 * misc/regexp.h: Update comments.
2391
2392 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2393
2394 [BZ #18635]
2395 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2396 before return label.
2397
2398 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2399
2400 [BZ #18661]
2401 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2402 when calling __errno_location.
2403 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2404 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2405
2406 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2407
2408 [BZ #18661]
2409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2410 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2411 __gettimeofday.
2412
2413 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2414
2415 [BZ #18661]
2416 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2417 (__start_context): Don't use pop to restore %rdi so that stack
2418 is aligned to 16 bytes when calling __setcontext.
2419
2420 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2423 only for libc.
2424 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2425
2426 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2427
2428 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2429 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2430 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2431
2432 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2433
2434 * string/memccpy.c (memccpy):
2435 Improve performance by using memchr/memcpy/__mempcpy.
2436
2437 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2438
2439 * string/strncpy.c (strncpy):
2440 Improve performance by using __strnlen/memcpy.
2441
2442 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2443
2444 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2445 Optimize to avoid an unnecessary FPCR read.
2446
2447 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2448
2449 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2450 Optimize to reduce FPCR/FPSR accesses.
2451
2452 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2453
2454 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2455 dead->data[category] != NULL.
2456
2457 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2458
2459 [BZ #18647]
2460 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2461 and |x| close to 1, use absolute value of x when computing log.
2462 * math/auto-libm-test-in: Add more tests of pow.
2463 * math/auto-libm-test-out: Regenerated.
2464
2465 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2466
2467 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2468 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2469 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2470
2471 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2472
2473 [BZ #18525]
2474 * locales/km_KH: Remove timezone definition.
2475 * locales/lo_LA: Likewise.
2476 * locales/my_MM: Likewise.
2477 * locales/nan_TW@latin: Likewise.
2478 * locales/th_TH: Likewise.
2479 * locales/uk_UA: Likewise.
2480
2481 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2482
2483 [BZ #18265]
2484 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2485 (wcsncat): Likewise.
2486 (wcscmp): Likewise.
2487 (wcsncmp): Likewise.
2488
2489 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2490
2491 * test-skeleton.c (usage): New function.
2492 (main): Call usage when opt is '?'.
2493
2494 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2495
2496 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2497 before first use.
2498
2499 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2500
2501 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2502 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2503 in there too.
2504
2505 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2506
2507 * version.h (RELEASE): Set to "development".
2508 (VERSION): Set to "2.22.90"
2509
2510 * version.h (RELEASE): Set to "stable".
2511 (VERSION): Set to "2.22"
2512 * include/features.h (__GLIBC_MINOR__): Set to 22.
2513
2514 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2515
2516 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2517 Restructure macro to avoid "value computed is not used" warning.
2518 (atomic_compare_and_exchange_val_acq): Likewise.
2519
2520 2015-08-04 Andreas Schwab <schwab@suse.de>
2521
2522 [BZ #18635]
2523 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2524 ret.
2525 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2526
2527 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2528
2529 * po/pl.po: Updated translation.
2530 * po/uk.po: Likewise.
2531 * po/fi.po: Likewise.
2532 * po/ko.po: Likewise.
2533 * po/ru.po: Likewise.
2534 * po/vi.po: Likewise.
2535
2536 2015-07-31 Zack Weinberg <zackw@panix.com>
2537
2538 [BZ #18681]
2539 * regexp.h: Add unconditional #warning stating that this header
2540 will be removed soon. Revise banner comment to match.
2541 (compile): Consistently use ERROR instead of RETURN to report
2542 errors (partial fix for bz#18681).
2543 * regexp.c: Don't include regexp.h. Remove some unnecessary
2544 declarations.
2545
2546 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2547
2548 * po/libc.pot: Regenerated.
2549
2550 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2551
2552 [BZ #18740]
2553 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2554 float-vlen4-arch-ext-cflags): Removed.
2555 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2556 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2557
2558 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2559
2560 [BZ #14113]
2561 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2562 aligned to __aligned__.
2563 (pthread_cond_t, pthread_rwlock_t): Likewise.
2564
2565 2015-07-30 Torvald Riegel <triegel@redhat.com>
2566
2567 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2568
2569 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2570
2571 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2572 (struct sigaction): Change sa_flags from a long to an int, and add
2573 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2574
2575 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2576
2577 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2578 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2579 sysdeps/generic/sysdep.h include.
2580 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2581 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2582 sysdeps/hppa/sysdep.h.
2583 (ENTRY, PSEUDO): Undefine before defining.
2584
2585 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2586
2587 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2588 from scratch to use INTERNAL_SYSCALL.
2589
2590 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2591
2592 [BZ #18078]
2593 * scripts/check-localplt.awk: Support alternate relocations.
2594 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2595 sections.
2596 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2597 malloc entries with + REL R_386_GLOB_DAT.
2598 * sysdeps/x86_64/localplt.data: New file.
2599
2600 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2601
2602 [BZ #18731]
2603 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2604 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2605 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2606
2607 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2608
2609 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2610
2611 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2612
2613 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2614 directly in terms of __sync_fetch_and_add and delete (int) cast.
2615
2616 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2617
2618 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2619 the -D_ASM_IA64_CURRENT_H flag.
2620
2621 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2622
2623 [BZ #18641]
2624 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2625
2626 2015-07-27 Andreas Schwab <schwab@suse.de>
2627
2628 * conform/conformtest.pl (checknamespace): Filter out string
2629 literals while tokenizing.
2630
2631 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2632
2633 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2634 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2635 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2636
2637 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2638
2639 * nptl/tst-join7mod.c: Add #include <string.h>.
2640
2641 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2642
2643 * sysdeps/nios2/libm-test-ulps: Update.
2644
2645 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2646
2647 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2648 Fix order of arguments to the rt_sigprocmask syscall.
2649 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2650 Likewise.
2651
2652 2015-07-24 Roland McGrath <roland@hack.frob.com>
2653
2654 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2655
2656 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2657
2658 [BZ #18457]
2659 * nptl/Makefile (tests): New test case tst-join7.
2660 (modules-names): New test case module tst-join7mod.
2661 * nptl/tst-join7.c: New file.
2662 * nptl/tst-join7mod.c: New file.
2663 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2664 all translation units in libc.so, libpthread.so and rtld.
2665
2666 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2667
2668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2669
2670 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2671
2672 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2673 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2674 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2675 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2676 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2677 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2678 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2679 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2680 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2681 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2682 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2683 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2684 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2685 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2686 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2687 implementation.
2688
2689 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2690
2691 [BZ #17711]
2692 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2693 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2694 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2695 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2696 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2697 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2698
2699 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2700
2701 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2702 instead of just saying load lock in the comments.
2703
2704 2015-07-23 Roland McGrath <roland@hack.frob.com>
2705
2706 * sysdeps/unix/Subdirs: Moved ...
2707 * sysdeps/posix/Subdirs: ... here.
2708 * login/pty.h (struct termios, struct winsize): Add forward decls.
2709 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2710 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2711 * sysdeps/arm/nacl/libc.abilist: Updated.
2712 * sysdeps/nacl/libutil.abilist: New file.
2713
2714 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2715 (SIGWINCH): New macro.
2716
2717 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2718 * sysdeps/arm/nacl/libc.abilist: Add it.
2719
2720 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2721
2722 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2723
2724 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2725
2726 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2727 Swap __glibc_reserved0 and sa_flags order.
2728
2729 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2730
2731 [BZ #18657]
2732 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2733 are pending TLS destructor calls.
2734 * include/link.h (struct link_map): Add concurrency note for
2735 L_TLS_DTOR_COUNT.
2736 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2737 Don't touch the link map flag. Atomically increment
2738 l_tls_dtor_count.
2739 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2740 Avoid taking the load lock and don't touch the link map flag.
2741 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2742 * stdlib/Makefile (tests): Use it.
2743 * stdlib/tst-tls-atexit.c (do_test): dlopen
2744 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2745 to allow tst-tls-atexit-nodelete test case to use it.
2746
2747 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2748
2749 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2750 to bits/types.h.
2751 (msgqnum_t): New typedef.
2752 (msglen_t): Likewise.
2753 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2754 and msg_qbytes type to msglen_t.
2755
2756 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2757
2758 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2759 pad0 to __glibc_reserved0.
2760 (struct stat64): Likewise.
2761
2762 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2763
2764 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2765 Change sa_flags from a long to an int and add __glibc_reserved0 before
2766 it for padding.
2767
2768 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2769
2770 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2771 anonymous by deleting "siginfo" name.
2772
2773 2015-07-21 Roland McGrath <roland@hack.frob.com>
2774
2775 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2776 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2777 rather than __nacl_irt_filename.
2778 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2779
2780 * NEWS: New item for arm-nacl port.
2781 * sysdeps/arm/nacl/libc.abilist: New file.
2782 * sysdeps/nacl/ld.abilist: New file.
2783 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2784 * sysdeps/nacl/libanl.abilist: New file.
2785 * sysdeps/nacl/libcrypt.abilist: New file.
2786 * sysdeps/nacl/libdl.abilist: New file.
2787 * sysdeps/nacl/libm.abilist: New file.
2788 * sysdeps/nacl/libpthread.abilist: New file.
2789 * sysdeps/nacl/libresolv.abilist: New file.
2790 * sysdeps/nacl/librt.abilist: New file.
2791
2792 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2793
2794 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2795 __startcontext to initialize the new context.
2796 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2797 up CFI directive to forbid further backtracing.
2798
2799 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2800
2801 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2802 reference.
2803 * charmaps/ANSI_X3.4-1968: Likewise.
2804 * charmaps/BS_4730: Likewise.
2805 * charmaps/BS_VIEWDATA: Likewise.
2806 * charmaps/CP1250: Likewise.
2807 * charmaps/CP1251: Likewise.
2808 * charmaps/CP1252: Likewise.
2809 * charmaps/CP1253: Likewise.
2810 * charmaps/CP1254: Likewise.
2811 * charmaps/CP1255: Likewise.
2812 * charmaps/CP1256: Likewise.
2813 * charmaps/CSN_369103: Likewise.
2814 * charmaps/EBCDIC-DK-NO: Likewise.
2815 * charmaps/GB_1988-80: Likewise.
2816 * charmaps/GREEK-CCITT: Likewise.
2817 * charmaps/GREEK7: Likewise.
2818 * charmaps/INIS-8: Likewise.
2819 * charmaps/ISIRI-3342: Likewise.
2820 * charmaps/ISO_2033-1983: Likewise.
2821 * charmaps/ISO_5427-EXT: Likewise.
2822 * locales/POSIX: Likewise.
2823 * locales/ar_SA: Likewise.
2824 * locales/be_BY: Likewise.
2825 * locales/be_BY@latin: Likewise.
2826 * locales/ca_ES: Likewise.
2827 * locales/cs_CZ: Likewise.
2828 * locales/da_DK: Likewise.
2829 * locales/de_BE: Likewise.
2830 * locales/de_CH: Likewise.
2831 * locales/de_LU: Likewise.
2832 * locales/en_AU: Likewise.
2833 * locales/en_BW: Likewise.
2834 * locales/en_CA: Likewise.
2835 * locales/en_DK: Likewise.
2836 * locales/en_GB: Likewise.
2837 * locales/en_IE: Likewise.
2838 * locales/en_NZ: Likewise.
2839 * locales/en_ZA: Likewise.
2840 * locales/en_ZW: Likewise.
2841 * locales/es_AR: Likewise.
2842 * locales/es_BO: Likewise.
2843 * locales/es_CL: Likewise.
2844 * locales/es_CO: Likewise.
2845 * locales/es_DO: Likewise.
2846 * locales/es_EC: Likewise.
2847 * locales/es_ES: Likewise.
2848 * locales/es_HN: Likewise.
2849 * locales/es_MX: Likewise.
2850 * locales/es_PA: Likewise.
2851 * locales/es_PE: Likewise.
2852 * locales/es_PY: Likewise.
2853 * locales/es_SV: Likewise.
2854 * locales/es_US: Likewise.
2855 * locales/es_UY: Likewise.
2856 * locales/es_VE: Likewise.
2857 * locales/et_EE: Likewise.
2858 * locales/fa_IR: Likewise.
2859 * locales/fo_FO: Likewise.
2860 * locales/fr_CA: Likewise.
2861 * locales/fr_CH: Likewise.
2862 * locales/gv_GB: Likewise.
2863 * locales/he_IL: Likewise.
2864 * locales/hr_HR: Likewise.
2865 * locales/id_ID: Likewise.
2866 * locales/is_IS: Likewise.
2867 * locales/it_CH: Likewise.
2868 * locales/iw_IL: Likewise.
2869 * locales/kl_GL: Likewise.
2870 * locales/ko_KR: Likewise.
2871 * locales/kw_GB: Likewise.
2872 * locales/lg_UG: Likewise.
2873 * locales/lt_LT: Likewise.
2874 * locales/lv_LV: Likewise.
2875 * locales/mi_NZ: Likewise.
2876 * locales/nhn_MX: Likewise.
2877 * locales/nl_BE: Likewise.
2878 * locales/pl_PL: Likewise.
2879 * locales/sk_SK: Likewise.
2880 * locales/sl_SI: Likewise.
2881 * locales/sv_FI: Likewise.
2882 * locales/tl_PH: Likewise.
2883 * locales/tr_TR: Likewise.
2884 * locales/vi_VN: Likewise.
2885
2886 2015-07-21 Khem Raj <raj.khem@gmail.com>
2887
2888 [BZ #17475]
2889 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2890 of tu_IN and bh_IN.
2891
2892 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2893
2894 [BZ #18694]
2895 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2896 bits/wordsize.h.
2897 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2898
2899 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2900
2901 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2902 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2903 (spawn_thread): New function.
2904 (load): Rename to reg_dtor_and_close. Move dlopen to...
2905 (do_test): ... here. Use IS_LOADED to test for its
2906 availability.
2907
2908 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
2909
2910 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2911
2912 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
2913
2914 [BZ #18696]
2915 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2916 si_addr_bnd.
2917 (si_lower): New.
2918 (si_upper): Likewise.
2919
2920 2015-07-16 David S. Miller <davem@davemloft.net>
2921
2922 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2923
2924 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2925
2926 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2927 buffer.
2928 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2929 fail output information.
2930
2931 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2932
2933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2934 and strstr-ppc64..
2935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2936 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2937 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2938 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2939 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2940
2941 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2942
2943 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2944 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2945 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2946 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2947
2948 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2949
2950 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2951 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2952 rtld_hidden_proto.
2953 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2954
2955 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2956
2957 * tst-nodelete-opened.c (do_test): Add comment to clarify how
2958 the test can fail.
2959
2960 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2961
2962 [BZ #18676]
2963 * elf/tst-nodelete-opened.c: New test case.
2964 * elf/tst-nodelete-opened-lib.c: New test case module.
2965 * elf/Makefile (tests, modules-names): Use them.
2966 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2967 early.
2968
2969 2015-07-15 David S. Miller <davem@davemloft.net>
2970
2971 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2972 futex-intenal.h
2973 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2974 * sysdeps/sparc/sparc64/Makefile: Likewise.
2975 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2976 Remove space from macro define.
2977 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2978
2979 2015-07-15 Pravin Satpute <psatpute@redhat.com>
2980
2981 [BZ #17475]
2982 * locale/iso-639.def: Update Bhili and Tulu language codes as
2983 per iso639-3.
2984
2985 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
2986
2987 * elf/tst-leaks1.c (main): Converted to ...
2988 (do_test): ... this.
2989 (TEST_FUNCTION): New macro.
2990 Include test-skeleton.c.
2991 * localedata/tst-langinfo.c (main): Converted to ...
2992 (do_test): ... this.
2993 (TEST_FUNCTION): New macro.
2994 Include test-skeleton.c.
2995 * math/test-fpucw.c (main): Converted to ...
2996 (do_test): ... this.
2997 (TEST_FUNCTION): New macro.
2998 Include test-skeleton.c.
2999 * math/test-tgmath.c (main): Converted to ...
3000 (do_test): ... this.
3001 (TEST_FUNCTION): New macro.
3002 Include test-skeleton.c.
3003 * math/test-tgmath2.c (main): Converted to ...
3004 (do_test): ... this.
3005 (TEST_FUNCTION): New macro.
3006 Include test-skeleton.c.
3007 * setjmp/tst-setjmp.c (main): Converted to ...
3008 (do_test): ... this.
3009 (TEST_FUNCTION): New macro.
3010 Include test-skeleton.c.
3011 * stdio-common/tst-sscanf.c (main): Converted to ...
3012 (do_test): ... this.
3013 (TEST_FUNCTION): New macro.
3014 Include test-skeleton.c.
3015 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3016 (do_test): ... this.
3017 (TEST_FUNCTION): New macro.
3018 Include test-skeleton.c.
3019
3020 * elf/tst-audit9.c (main): Converted to ...
3021 (do_test): ... this.
3022 (TEST_FUNCTION): New macro.
3023 Include test-skeleton.c.
3024
3025 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3026
3027 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3028
3029 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3030
3031 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3032 New variable.
3033
3034 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3035
3036 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3037
3038 2015-07-14 Roland McGrath <roland@hack.frob.com>
3039
3040 * sysdeps/generic/dl-fileid.h: New file.
3041 * sysdeps/posix/dl-fileid.h: New file.
3042 * sysdeps/nacl/dl-fileid.h: New file.
3043 * include/link.h: Include <dl-fileid.h>.
3044 (struct link_map): Replace l_dev and l_ino with l_file_id.
3045 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3046 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3047 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3048
3049 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3050
3051 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3052
3053 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3054
3055 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3056 Add iff $CXX is set.
3057 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3058 Likewise.
3059 (tst-nodelete-zmodiff): Likewise.
3060 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3061
3062 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3063
3064 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3065
3066 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3067
3068 * sysdeps/aarch64/fpu/math_private.h
3069 (define math_opt_barrier): Add AArch64 version.
3070 (math_force_eval): Likewise.
3071
3072 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3073
3074 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3075
3076 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3077
3078 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3079 %ld with %jd and cast to intmax_t.
3080 (do_test_length_zero): Likewise.
3081
3082 2015-07-10 Roland McGrath <roland@hack.frob.com>
3083
3084 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3085
3086 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3087
3088 * sysdeps/tile/libm-test-ulps: Regenerated.
3089
3090 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3091 Comment out the whole function, not just its body.
3092
3093 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3094
3095 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3096 locks.
3097
3098 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3099
3100 2015-07-10 Torvald Riegel <triegel@redhat.com>
3101
3102 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3103 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3104
3105 2015-07-10 Torvald Riegel <triegel@redhat.com>
3106
3107 * sysdeps/nptl/futex-internal.h: New file.
3108 * sysdeps/nacl/futex-internal.h: New file.
3109 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3110 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3111 error checking.
3112 (setxid_unmark_thread): Likewise.
3113 (__nptl_setxid): Likewise.
3114 (__wait_lookup_done): Likewise.
3115 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3116 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3117 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3118 * nptl/pthread_once.c (clear_once_control): Likewise.
3119 (__pthread_once_slow): Likewise.
3120 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3121 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3122 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3123 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3124 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3125 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3126 Likewise.
3127 (__pthread_rwlock_rdlock): Likewise.
3128 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3129 Likewise.
3130 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3131 Likewise.
3132 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3133 Likewise.
3134 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3135 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3136 Likewise.
3137 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3138 __ASSUME_PRIVATE_FUTEX check.
3139 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3140 Check that shared futexes are supported.
3141 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3142 wrappers with error checking.
3143 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3144 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3145 * nptl/pthread_barrierattr_setpshared.c
3146 (pthread_barrierattr_setpshared): Check that shared futexes are
3147 supported.
3148 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3149 Likewise.
3150 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3151 Likewise.
3152 * nptl/sem_init.c (futex_private_if_supported): Remove.
3153 (__new_sem_init): Adapt and check that shared futexes are supported.
3154 * nptl/sem_open.c (sem_open): Likewise.
3155 * nptl/sem_post.c (futex_wake): Remove.
3156 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3157 (do_futex_wait): Use futex wrappers with error checking.
3158 * nptl/sem_wait.c: Include lowlevellock.h.
3159 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3160 Use futex_supports_pshared.
3161 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3162 Use futex wrappers with error checking.
3163 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3164 Likewise.
3165 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3166 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3167 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3168 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3169 (futex_wake): Likewise.
3170 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3171 (do_futex_wait): Use futex wrappers with error checking.
3172 (__new_sem_wait_slow): Update EINTR handling.
3173 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3174
3175 2015-07-09 Martin Sebor <msebor@redhat.com>
3176
3177 [BZ #18435]
3178 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3179 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3180 * nptl/Makefile (test-xfail-tst-once5): Define.
3181
3182 2015-07-09 Roland McGrath <roland@hack.frob.com>
3183
3184 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3185 * elf/dl-minimal.c: For readability, reorder some definitions and
3186 introduce more page breaks. Include <stdio.h>.
3187 (__libc_fatal): New function.
3188
3189 * include/unistd.h: Add rtld_hidden_proto for _exit.
3190 * posix/_exit.c: Add rtld_hidden_def.
3191 * sysdeps/mach/hurd/_exit.c: Likewise.
3192 * sysdeps/nacl/_exit.c: Likewise.
3193 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3194 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3195
3196 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3197
3198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3199 bndmov encoding with zero displacement.
3200
3201 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3202 H.J. Lu <hongjiu.lu@intel.com>
3203
3204 [BZ #18134]
3205 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3206 * sysdeps/i386/configure: Regenerated.
3207 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3208 (_dl_runtime_profile): Save and restore Intel MPX return bound
3209 registers when calling _dl_call_pltexit. Add
3210 PRESERVE_BND_REGS_PREFIX before return.
3211 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3212 (LRV_BND1_OFFSET): Likewise.
3213 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3214 lrv_bnd1.
3215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3216 typo in bndmov encoding.
3217 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3218 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3219 branch instructions to preserve bounds.
3220
3221 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3222
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3224 [GLIBC_2.22]: Add fmemopen.
3225
3226 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3227
3228 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3229 returns an error, also try to use host port from __mach_host_self for
3230 the __vm_wire call.
3231 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3232
3233 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3234
3235 [BZ #18400]
3236 [BZ #18648]
3237 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3238 Fix pr_uid and pr_gid members.
3239 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3240 definition to elf_greg_t.
3241
3242 2015-07-08 Roland McGrath <roland@hack.frob.com>
3243
3244 [BZ #18383]
3245 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3246 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3247 * sysdeps/arm/configure: Regenerated.
3248 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3249 (test-xfail-tst-tlsalign-static): Variable removed.
3250
3251 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3252 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3253 rather than explicit 'ln -s'.
3254
3255 * resolv/rpc/netdb.h: New file.
3256 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3257
3258 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3259
3260 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3261 length buffers.
3262 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3263 test-skeleton.c.
3264
3265 [BZ #6544]
3266 [BZ #11216]
3267 [BZ #12836]
3268 [BZ #13151]
3269 [BZ #13152]
3270 [BZ #14292]
3271 * include/stdio.h (fmemopen): Remove hidden prototype.
3272 (__fmemopen): Add new hidden prototype.
3273 * libio/Makefile: Add oldfmemopen object.
3274 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3275 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3276 compliance.
3277 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3278 symbol compatibility.
3279 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3280 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3281 fmemopen.
3282 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3283 on append and read mode.
3284 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3285 fmemopen.
3286 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3287 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3288 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3289 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3290 Likewise.
3291 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3292 [GLIBC_2.22]: Likewise.
3293 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3294 Likewise.
3295 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3298 [GLIBC_2.22]: Likewise.
3299 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3300 [GLIBC_2.22]: Likewise.
3301 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3302 [GLIBC_2.22]: Likewise.
3303 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3304 [GLIBC_2.22]: Likewise.
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3306 [GLIBC_2.22]: Likewise.
3307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3308 [GLIBC_2.22]: Likewise.
3309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3310 [GLIBC_2.22]: Likewise.
3311 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3312 Likewise.
3313 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3314 Likewise.
3315 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3316 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3317 [GLIBC_2.22]: Likewise.
3318 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3319 [GLIBC_2.22]: Likewise.
3320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3321 [GLIBC_2.22]: Likewise.
3322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3323 [GLIBC_2.22]: Likewise.
3324 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3325 Likewise.
3326 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3327 Likewise.
3328 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3329 Likewise.
3330 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3331 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3332
3333 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3334
3335 [BZ #18643]
3336 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3337 IPV6_PATHMTU, and IPV6_DONTFRAG.
3338
3339 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3340
3341 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3342 and _IO_UNBUFFERED.
3343 * libio/oldfileops.c: Likewise.
3344 * libio/wfileops.c: Likewise.
3345
3346 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3347
3348 * nscd/selinux.c: Delete selinux/flask.h include.
3349
3350 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3351
3352 [BZ #18641]
3353 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3354 (putpwent): Likewise.
3355 (getpwnam): Likewise.
3356 (getpwent_r): Likewise.
3357 (getpwuid_r): Likewise.
3358 (getpwnam_r): Likewise.
3359 (fgetpwent_r): Likewise.
3360
3361 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3362
3363 [BZ #18557]
3364 * inet/rcmd.c (__validuser2_sa): Check user first to
3365 short-circuit host check.
3366
3367 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3368 Mikhail Ilin <m.ilin@samsung.com>
3369
3370 [BZ #17833]
3371 * elf/Makefile (tests): Add tst-nodelete.
3372 (modules-names): Add tst-nodelete-uniquemod.
3373 (tst-nodelete-uniquemod.so-no-z-defs): New.
3374 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3375 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3376 ($(objpfx)tst-nodelete): Likewise.
3377 ($(objpfx)tst-nodelete.out): Likewise.
3378 (LDFLAGS-tst-nodelete): Likewise.
3379 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3380 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3381 implement forced object deletion.
3382 (_dl_close): Pass false to _dl_close_worker.
3383 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3384 * elf/tst-nodelete.cc: New file.
3385 * elf/tst-nodeletelib.cc: Likewise.
3386 * elf/tst-znodeletelib.cc: Likewise.
3387 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3388
3389 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3390
3391 [BZ #18508]
3392 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3393 Depend on $(libdl).
3394 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3395 is not called infinitely times.
3396 (backtrace_helper): New function.
3397 (trace_arg): New struct.
3398 (st1): Enlarge stack size.
3399 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3400 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3401 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3402 Likewise.
3403
3404 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3405
3406 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3407
3408 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3409
3410 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3411 Include sys/types.h instead of bits/types.h.
3412 Remove inclusion of bits/wordsize.h.
3413
3414 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3417 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3418 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3419 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3420 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3421 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3422
3423 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3424
3425 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3426 link-defines.sym.
3427 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3428 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3429 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3430 and LR_SIZE.
3431 * sysdeps/i386/link-defines.sym: New file.
3432
3433 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3436 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3437 ($(objpfx)tst-audit3): New rule.
3438 ($(objpfx)tst-audit3.out): Likewise.
3439 * sysdeps/i386/tst-audit3.c: New file.
3440 * sysdeps/i386/tst-audit3.h: Likewise.
3441 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3442 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3443
3444 2015-07-07 Torvald Riegel <triegel@redhat.com>
3445
3446 [BZ #18633]
3447 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3448 pointer in C code.
3449 (__strcat_c): Likewise.
3450 (__strcat_g): Likewise.
3451
3452 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3453
3454 [BZ #18592]
3455 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3456
3457 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3458
3459 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3460 New function. (__ieee754_sqrtf): New function.
3461 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3462 New function.
3463 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3464 New function.
3465
3466 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3467
3468 * sysdeps/ieee754/support.c: Remove unused file.
3469
3470 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3471
3472 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3473 registers instead of d ones so the layout is kernel abi compatible.
3474 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3475 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3476 Likewise.
3477
3478 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3479
3480 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3481
3482 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3483
3484 [BZ #18619]
3485 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3486 and return argument in case of subnormal argument.
3487
3488 2015-07-01 Martin Sebor <msebor@redhat.com>
3489
3490 [BZ #18435]
3491 * nptl/Makefile: Add tst-once5.cc.
3492 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3493 Remove macro redefinitions.
3494 * nptl/tst-once5.cc: New test.
3495
3496 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3497
3498 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3499
3500 * sysdeps/arm/libm-test-ulps: Regenerated.
3501
3502 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3503 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3504
3505 2015-06-30 Torvald Riegel <triegel@redhat.com>
3506
3507 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3508 lll_lock_wait_private and lll_futex_wake probes.
3509
3510 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3511 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3512 Likewise.
3513 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3514 atomic_spin_nop.
3515 * sysdeps/x86_64/bits/atomic.h: Likewise.
3516 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3517 to atomic_spin_nop and move ...
3518 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3519 ... here and ...
3520 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3521 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3522 atomic_spin_nop instead of BUSY_WAIT_NOP.
3523 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3524 Likewise.
3525 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3526 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3527 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3528 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3529 instead of atomic_delay.
3530
3531 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3532
3533 [BZ #18613]
3534 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3535 X_ADJ not X when adjusting exponent.
3536 (__ieee754_gamma_r): Do intermediate computations in
3537 round-to-nearest then adjust overflowing and underflowing results
3538 as needed.
3539 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3540 of X_ADJ not X when adjusting exponent.
3541 (__ieee754_gammaf_r): Do intermediate computations in
3542 round-to-nearest then adjust overflowing and underflowing results
3543 as needed.
3544 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3545 log of X_ADJ not X when adjusting exponent.
3546 (__ieee754_gammal_r): Do intermediate computations in
3547 round-to-nearest then adjust overflowing and underflowing results
3548 as needed. Use 1.0L not 1.0f as numerator of division.
3549 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3550 log of X_ADJ not X when adjusting exponent.
3551 (__ieee754_gammal_r): Do intermediate computations in
3552 round-to-nearest then adjust overflowing and underflowing results
3553 as needed. Use 1.0L not 1.0f as numerator of division.
3554 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3555 of X_ADJ not X when adjusting exponent.
3556 (__ieee754_gammal_r): Do intermediate computations in
3557 round-to-nearest then adjust overflowing and underflowing results
3558 as needed. Use 1.0L not 1.0f as numerator of division.
3559 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3560 to auto-libm-test-in.
3561 (tgamma_test): Use ALL_RM_TEST.
3562 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3563 tests of tgamma with spurious-overflow.
3564 * math/auto-libm-test-out: Regenerated.
3565 * math/gen-libm-have-vector-test.sh: Do not check for START.
3566 * sysdeps/i386/fpu/libm-test-ulps: Update.
3567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3568
3569 [BZ #18612]
3570 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3571 arguments, just return 0.5 times the argument, with underflow
3572 forced as needed.
3573 * math/auto-libm-test-in: Add more tests of j1.
3574 * math/auto-libm-test-out: Regenerated.
3575
3576 [BZ #16559]
3577 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3578 (__ieee754_j1): Force underflow exception for small results.
3579 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3580 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3581 (__ieee754_j1f): Force underflow exception for small results.
3582 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3584 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3585 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3586 (__ieee754_j1l): Force underflow exception for small results.
3587 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3588 * math/auto-libm-test-in: Add more tests of j1 and jn.
3589 * math/auto-libm-test-out: Regenerated.
3590
3591 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3592 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3593 (PF_MPLS): Likewise.
3594 (AF_IB): Likewise.
3595 (AF_MPLS): Likewise.
3596 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3597 value and macro.
3598 (MS_RMT_MASK): Include MS_LAZYTIME.
3599
3600 2015-06-26 Mel Gorman <mgorman@suse.de>
3601
3602 [BZ #18502]
3603 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3604 already minimal.
3605
3606 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3607
3608 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3609 (DT_MIPS_NUM): Update.
3610 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3611 DT_MIPS_RLD_MAP_REL.
3612
3613 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3614
3615 [BZ #16559]
3616 [BZ #18602]
3617 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3618 round-to-nearest internally then recompute results that
3619 underflowed to zero in the original rounding mode.
3620 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3621 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3623 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3624 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3625 * sysdeps/i386/fpu/libm-test-ulps: Update.
3626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627
3628 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3629
3630 * NEWS: Fixed description of link with vector math library.
3631
3632 2015-06-25 Andreas Schwab <schwab@suse.de>
3633
3634 [BZ #18549]
3635 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3636 * libio/test-fmemopen.c (do_test): Add test for it.
3637
3638 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3639
3640 [BZ #17841]
3641 * Makeconfig (no-pie-ldflag): New.
3642 (+link): Set to $(+link-pie) if default to PIE.
3643 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3644 * config.make.in (build-pie-default): New.
3645 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3646 is default. AC_SUBST.
3647 * configure: Regenerated.
3648 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3649
3650 2015-06-24 Roland McGrath <roland@hack.frob.com>
3651
3652 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3653 to 'unsigned int'.
3654
3655 * resolv/gai_misc.h (struct waitlist): Change type of field
3656 counterp to 'volatile unsigned int *'.
3657 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3658 FUTEXADDR and OLDVAL.
3659 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3660 Give local variable TOTAL type 'volatile unsigned int'.
3661 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3662 * resolv/gai_suspend.c (gai_suspend):
3663 Give local variable CNTR type 'unsigned int'.
3664
3665 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3666 counterp to 'volatile unsigned int *'.
3667 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3668 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3669 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3670 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3671 Give local variable TOTAL type 'volatile unsigned int'.
3672 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3673
3674 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 [BZ #18383]
3677 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3678 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3679 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3680 comment for i386/x86-64.
3681 (test-xfail-tst-tlsalign-extern-static): Removed.
3682
3683 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3684
3685 * math/test-double.h: New file.
3686 * math/test-float.h: Likewise.
3687 * math/test-ldouble.h: Likewise.
3688 * math/test-math-inline.h: Likewise.
3689 * math/test-math-no-inline.h: Likewise.
3690 * math/test-math-scalar.h: Likewise.
3691 * math/test-math-vector.h: Likewise.
3692 * math/test-vec-loop.h: Remove file. Contents moved into
3693 test-math-vector.h.
3694 * math/libm-test.inc (MATHCONST): Do not document macro.
3695 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3696 and test-math-scalar.h.
3697 (FUNC): Remove macro.
3698 (FUNC_TEST): Likewise.
3699 (FLOAT): Likewise.
3700 (MATHCONST): Likewise.
3701 (PRINTF_EXPR): Likewise.
3702 (PRINTF_XEXPR): Likewise.
3703 (PRINTF_NEXPR): Likewise.
3704 (TEST_DOUBLE): Likewise.
3705 (TEST_MATHVEC): Likewise.
3706 (__NO_MATH_INLINES): Likewise.
3707 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3708 and test-math-scalar.h.
3709 (FUNC): Remove macro.
3710 (FUNC_TEST): Likewise.
3711 (FLOAT): Likewise.
3712 (MATHCONST): Likewise.
3713 (PRINTF_EXPR): Likewise.
3714 (PRINTF_XEXPR): Likewise.
3715 (PRINTF_NEXPR): Likewise.
3716 (TEST_FLOAT): Likewise.
3717 (TEST_MATHVEC): Likewise.
3718 (__NO_MATH_INLINES): Likewise.
3719 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3720 and test-math-scalar.h.
3721 (FUNC): Remove macro.
3722 (FUNC_TEST): Likewise.
3723 (FLOAT): Likewise.
3724 (MATHCONST): Likewise.
3725 (PRINTF_EXPR): Likewise.
3726 (PRINTF_XEXPR): Likewise.
3727 (PRINTF_NEXPR): Likewise.
3728 (TEST_DOUBLE): Likewise.
3729 (TEST_MATHVEC): Likewise.
3730 (TEST_INLINE): Likewise.
3731 (__NO_MATH_INLINES): Likewise.
3732 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3733 test-math-scalar.h.
3734 (FUNC): Remove macro.
3735 (FUNC_TEST): Likewise.
3736 (FLOAT): Likewise.
3737 (MATHCONST): Likewise.
3738 (PRINTF_EXPR): Likewise.
3739 (PRINTF_XEXPR): Likewise.
3740 (PRINTF_NEXPR): Likewise.
3741 (TEST_FLOAT): Likewise.
3742 (TEST_MATHVEC): Likewise.
3743 (TEST_INLINE): Likewise.
3744 (__NO_MATH_INLINES): Likewise.
3745 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3746 and test-math-scalar.h.
3747 (FUNC): Remove macro.
3748 (FUNC_TEST): Likewise.
3749 (FLOAT): Likewise.
3750 (MATHCONST): Likewise.
3751 (PRINTF_EXPR): Likewise.
3752 (PRINTF_XEXPR): Likewise.
3753 (PRINTF_NEXPR): Likewise.
3754 (TEST_LDOUBLE): Likewise.
3755 (TEST_MATHVEC): Likewise.
3756 (TEST_INLINE): Likewise.
3757 (__NO_MATH_INLINES): Likewise.
3758 * math/test-ldouble.c: Include test-ldouble.h,
3759 test-math-no-inline.h and test-math-scalar.h.
3760 (FUNC): Remove macro.
3761 (FUNC_TEST): Likewise.
3762 (FLOAT): Likewise.
3763 (MATHCONST): Likewise.
3764 (PRINTF_EXPR): Likewise.
3765 (PRINTF_XEXPR): Likewise.
3766 (PRINTF_NEXPR): Likewise.
3767 (TEST_LDOUBLE): Likewise.
3768 (TEST_MATHVEC): Likewise.
3769 (__NO_MATH_INLINES): Likewise.
3770 * math/test-double-vlen2.h: Include test-double.h,
3771 test-math-no-inline.h and test-math-vector.h.
3772 (FLOAT): Remove macro.
3773 (FUNC): Likewise.
3774 (MATHCONST): Likewise.
3775 (PRINTF_EXPR): Likewise.
3776 (PRINTF_XEXPR): Likewise.
3777 (PRINTF_NEXPR): Likewise.
3778 (TEST_DOUBLE): Likewise.
3779 (TEST_MATHVEC): Likewise.
3780 (__NO_MATH_INLINES): Likewise.
3781 (CNCT): Likewise.
3782 (CONCAT): Likewise.
3783 (WRAPPER_NAME): Likewise.
3784 (WRAPPER_DECL): Likewise.
3785 (WRAPPER_DECL_ff): Likewise.
3786 (WRAPPER_DECL_fFF): Likewise.
3787 (VECTOR_WRAPPER): Likewise.
3788 (VECTOR_WRAPPER_ff): Likewise.
3789 (VECTOR_WRAPPER_fFF): Likewise.
3790 (VEC_LEN): New macro.
3791 * math/test-double-vlen4.h: Include test-double.h,
3792 test-math-no-inline.h and test-math-vector.h.
3793 (FLOAT): Remove macro.
3794 (FUNC): Likewise.
3795 (MATHCONST): Likewise.
3796 (PRINTF_EXPR): Likewise.
3797 (PRINTF_XEXPR): Likewise.
3798 (PRINTF_NEXPR): Likewise.
3799 (TEST_DOUBLE): Likewise.
3800 (TEST_MATHVEC): Likewise.
3801 (__NO_MATH_INLINES): Likewise.
3802 (CNCT): Likewise.
3803 (CONCAT): Likewise.
3804 (WRAPPER_NAME): Likewise.
3805 (WRAPPER_DECL): Likewise.
3806 (WRAPPER_DECL_ff): Likewise.
3807 (WRAPPER_DECL_fFF): Likewise.
3808 (VECTOR_WRAPPER): Likewise.
3809 (VECTOR_WRAPPER_ff): Likewise.
3810 (VECTOR_WRAPPER_fFF): Likewise.
3811 (VEC_LEN): New macro.
3812 * math/test-double-vlen8.h: Include test-double.h,
3813 test-math-no-inline.h and test-math-vector.h.
3814 (FLOAT): Remove macro.
3815 (FUNC): Likewise.
3816 (MATHCONST): Likewise.
3817 (PRINTF_EXPR): Likewise.
3818 (PRINTF_XEXPR): Likewise.
3819 (PRINTF_NEXPR): Likewise.
3820 (TEST_DOUBLE): Likewise.
3821 (TEST_MATHVEC): Likewise.
3822 (__NO_MATH_INLINES): Likewise.
3823 (CNCT): Likewise.
3824 (CONCAT): Likewise.
3825 (WRAPPER_NAME): Likewise.
3826 (WRAPPER_DECL): Likewise.
3827 (WRAPPER_DECL_ff): Likewise.
3828 (WRAPPER_DECL_fFF): Likewise.
3829 (VECTOR_WRAPPER): Likewise.
3830 (VECTOR_WRAPPER_ff): Likewise.
3831 (VECTOR_WRAPPER_fFF): Likewise.
3832 (VEC_LEN): New macro.
3833 * math/test-float-vlen4.h: Include test-float.h,
3834 test-math-no-inline.h and test-math-vector.h.
3835 (FLOAT): Remove macro.
3836 (FUNC): Likewise.
3837 (MATHCONST): Likewise.
3838 (PRINTF_EXPR): Likewise.
3839 (PRINTF_XEXPR): Likewise.
3840 (PRINTF_NEXPR): Likewise.
3841 (TEST_FLOAT): Likewise.
3842 (TEST_MATHVEC): Likewise.
3843 (__NO_MATH_INLINES): Likewise.
3844 (CNCT): Likewise.
3845 (CONCAT): Likewise.
3846 (WRAPPER_NAME): Likewise.
3847 (WRAPPER_DECL): Likewise.
3848 (WRAPPER_DECL_ff): Likewise.
3849 (WRAPPER_DECL_fFF): Likewise.
3850 (VECTOR_WRAPPER): Likewise.
3851 (VECTOR_WRAPPER_ff): Likewise.
3852 (VECTOR_WRAPPER_fFF): Likewise.
3853 (VEC_LEN): New macro.
3854 * math/test-float-vlen8.h: Include test-float.h,
3855 test-math-no-inline.h and test-math-vector.h.
3856 (FLOAT): Remove macro.
3857 (FUNC): Likewise.
3858 (MATHCONST): Likewise.
3859 (PRINTF_EXPR): Likewise.
3860 (PRINTF_XEXPR): Likewise.
3861 (PRINTF_NEXPR): Likewise.
3862 (TEST_FLOAT): Likewise.
3863 (TEST_MATHVEC): Likewise.
3864 (__NO_MATH_INLINES): Likewise.
3865 (CNCT): Likewise.
3866 (CONCAT): Likewise.
3867 (WRAPPER_NAME): Likewise.
3868 (WRAPPER_DECL): Likewise.
3869 (WRAPPER_DECL_ff): Likewise.
3870 (WRAPPER_DECL_fFF): Likewise.
3871 (VECTOR_WRAPPER): Likewise.
3872 (VECTOR_WRAPPER_ff): Likewise.
3873 (VECTOR_WRAPPER_fFF): Likewise.
3874 (VEC_LEN): New macro.
3875 * math/test-float-vlen16.h: Include test-float.h,
3876 test-math-no-inline.h and test-math-vector.h.
3877 (FLOAT): Remove macro.
3878 (FUNC): Likewise.
3879 (MATHCONST): Likewise.
3880 (PRINTF_EXPR): Likewise.
3881 (PRINTF_XEXPR): Likewise.
3882 (PRINTF_NEXPR): Likewise.
3883 (TEST_FLOAT): Likewise.
3884 (TEST_MATHVEC): Likewise.
3885 (__NO_MATH_INLINES): Likewise.
3886 (CNCT): Likewise.
3887 (CONCAT): Likewise.
3888 (WRAPPER_NAME): Likewise.
3889 (WRAPPER_DECL): Likewise.
3890 (WRAPPER_DECL_ff): Likewise.
3891 (WRAPPER_DECL_fFF): Likewise.
3892 (VECTOR_WRAPPER): Likewise.
3893 (VECTOR_WRAPPER_ff): Likewise.
3894 (VECTOR_WRAPPER_fFF): Likewise.
3895 (VEC_LEN): New macro.
3896 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3897 test-vec-loop.h.
3898 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3899 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3900 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3901 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3902 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3903 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3904 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3905
3906 2015-06-24 Roland McGrath <roland@hack.frob.com>
3907
3908 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3909 (__getlogin_r): ... this.
3910
3911 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3912
3913 [BZ #18594]
3914 * math/s_ccosh.c (__ccosh): Compare with least normal value
3915 instead of comparing class with FP_SUBNORMAL.
3916 * math/s_ccoshf.c (__ccoshf): Likewise.
3917 * math/s_ccoshl.c (__ccoshl): Likewise.
3918 * math/s_cexp.c (__cexp): Likewise.
3919 * math/s_cexpf.c (__cexpf): Likewise.
3920 * math/s_cexpl.c (__cexpl): Likewise.
3921 * math/s_csin.c (__csin): Likewise.
3922 * math/s_csinf.c (__csinf): Likewise.
3923 * math/s_csinh.c (__csinh): Likewise.
3924 * math/s_csinhf.c (__csinhf): Likewise.
3925 * math/s_csinhl.c (__csinhl): Likewise.
3926 * math/s_csinl.c (__csinl): Likewise.
3927 * math/s_ctan.c (__ctan): Likewise.
3928 * math/s_ctanf.c (__ctanf): Likewise.
3929 * math/s_ctanh.c (__ctanh): Likewise.
3930 * math/s_ctanhf.c (__ctanhf): Likewise.
3931 * math/s_ctanhl.c (__ctanhl): Likewise.
3932 * math/s_ctanl.c (__ctanl): Likewise.
3933 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3934 csin, csinh, ctan and ctanh.
3935 * math/auto-libm-test-out: Regenerated.
3936 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3937 * sysdeps/i386/fpu/libm-test-ulps: Update.
3938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939
3940 2015-06-24 Roland McGrath <roland@hack.frob.com>
3941
3942 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3943 return value is wrong, print the expected value too.
3944
3945 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3946
3947 [BZ #18585]
3948 * elf/readlib.c (is_gdb_python_file): New.
3949 (process_file): Don't issue errors on filenames with -gdb.py
3950 suffix.
3951
3952 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3953
3954 * math/auto-libm-test-in: Add more tests of csin and csinh.
3955 * math/auto-libm-test-out: Regenerated.
3956 * math/libm-test.inc (csin_test_data): Remove tests moved to
3957 auto-libm-test-in.
3958 (csinh_test_data): Likewise.
3959
3960 [BZ #18593]
3961 * math/s_csin.c (__csin): Negate before rather than after possibly
3962 overflowing multiplication.
3963 * math/s_csinf.c (__csinf): Likewise.
3964 * math/s_csinh.c (__csinh): Likewise.
3965 * math/s_csinhf.c (__csinhf): Likewise.
3966 * math/s_csinhl.c (__csinhl): Likewise.
3967 * math/s_csinl.c (__csinl): Likewise.
3968 * math/auto-libm-test-in: Add some tests of csin and csinh.
3969 * math/auto-libm-test-out: Regenerated.
3970 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3971 (csinh_test_data): Likewise.
3972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3973
3974 [BZ #18586]
3975 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3976 underflow exception for small results.
3977
3978 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
3979
3980 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3981 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3982 variable and included header.
3983 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3984 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3985 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3986 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3987 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3988 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3989 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3990 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3991 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3992 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3993 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3994 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3995 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3996 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3997 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3998 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3999
4000 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4001
4002 [BZ #16526]
4003 [BZ #16538]
4004 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4005 (__sin): Force underflow exception for arguments with small
4006 absolute value.
4007 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4008 (__kernel_sinf): Force underflow exception for arguments with
4009 small absolute value.
4010 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4011 (__kernel_sincosl): Force underflow exception for arguments with
4012 small absolute value.
4013 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4014 (__kernel_sinl): Force underflow exception for arguments with
4015 small absolute value.
4016 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4017 (__kernel_sincosl): Force underflow exception for arguments with
4018 small absolute value.
4019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4020 (__kernel_sinl): Force underflow exception for arguments with
4021 small absolute value.
4022 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4023 (__kernel_sinl): Force underflow exception for arguments with
4024 small absolute value.
4025 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4026 (__kernel_sinf): Force underflow exception for arguments with
4027 small absolute value.
4028 * math/auto-libm-test-in: Add more tests of sin and sincos.
4029 * math/auto-libm-test-out: Regenerated.
4030
4031 [BZ #18245]
4032 [BZ #18583]
4033 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4034 (__kernel_standard_l): Use feholdexcept and fesetenv around
4035 conversion to double instead of special-casing overflow and
4036 underflow.
4037 * math/libm-test.inc (fmod_test_data): Add more tests.
4038 (remainder_test_data): Likewise.
4039 (sqrt_test_data): Likewise.
4040
4041 2015-06-23 Torvald Riegel <triegel@redhat.com>
4042
4043 [BZ #17403]
4044 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4045 atomic_read_barrier, atomic_write_barrier): Define.
4046 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4047 atomic_read_barrier, atomic_write_barrier): Define.
4048
4049 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4050
4051 * math/Makefile [$(PERL) != no]
4052 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4053 dependency on libm-test.stmp below the inclusion of Rules.
4054
4055 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4056
4057 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4058 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4059 and included header.
4060 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4061 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4062 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4063 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4064 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4066 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4068 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4069 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4070 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4071 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4072 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4073 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4074 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4075 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4076 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4077 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4078 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4079
4080 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4081
4082 [BZ #18371]
4083 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4084 intermediate but not final result might underflow.
4085 * math/s_csqrtf.c (__csqrtf): Likewise.
4086 * math/s_csqrtl.c (__csqrtl): Likewise.
4087 * math/auto-libm-test-in: Add more tests of csqrt.
4088 * math/auto-libm-test-out: Regenerated.
4089 * sysdeps/i386/fpu/libm-test-ulps: Update.
4090
4091 [BZ #18219]
4092 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4093 threshold on absolute value of exponent for which scaling is used.
4094 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4095 * math/auto-libm-test-in: Add more tests of exp2.
4096 * math/auto-libm-test-out: Regenerated.
4097
4098 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4099
4100 [BZ #17977]
4101 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4102 when initializing interface list, based on the bug analysis
4103 and the patch proposed by Eric Newton.
4104 * resolv/tst-res_hconf_reorder.c: New test.
4105 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4106 tst-res_hconf_reorder.
4107 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4108 and $(shared-thread-library).
4109 (tst-res_hconf_reorder-ENV): New variable.
4110
4111 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4112 in comment.
4113
4114 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4115
4116 [BZ #16353]
4117 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4118 (__expm1): Force underflow exception for arguments with small
4119 absolute value.
4120 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4121 (__expm1f): Force underflow exception for arguments with small
4122 absolute value.
4123 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4124 (__expm1): Force underflow exception for arguments with small
4125 absolute value.
4126 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4127 (__expm1f): Force underflow exception for arguments with small
4128 absolute value.
4129 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4130 Check for small arguments before calling __expm1.
4131 * math/auto-libm-test-in: Do not mark underflow exceptions as
4132 possibly missing for bug 16353.
4133 * math/auto-libm-test-out: Regenerated.
4134
4135 2015-06-22 Andreas Schwab <schwab@suse.de>
4136
4137 [BZ #18513]
4138 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4139 PTR queries.
4140
4141 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4142
4143 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4144
4145 * string/strcoll_l.c: Remove unused struct element idxnow.
4146
4147 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4148
4149 [BZ #18569]
4150 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4151 underflow and return argument in case of subnormal argument.
4152 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4153 Likewise.
4154 * math/auto-libm-test-in: Add more tests of expm1.
4155 * math/auto-libm-test-out: Regenerated.
4156
4157 [BZ #16361]
4158 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4159 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4160 tiny results.
4161 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4162 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4163 tiny results.
4164 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4165 mark underflow exceptions as possibly missing for bug 16361.
4166 * math/auto-libm-test-out: Regenerated.
4167
4168 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4169
4170 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4171 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4172 Remove variable.
4173 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4174 (test-xfail-XOPEN2K8/utmpx.h/conform).
4175
4176 * conform/conformtest.pl ($xerrors): New variable.
4177 (note_error): New function.
4178 (compiletest): New argument $xfail. Use not_error.
4179 (runtest): Likewise.
4180 (top level): Handle xfail- lines. Update calls to compiletest and
4181 runtest. Handle xfail- and optional- in headers listed with
4182 allow-header.
4183 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4184 (O_EXEC): Likewise.
4185 (O_SEARCH): Likewise.
4186 * conform/data/stropts.h-data (ioctl): Likewise.
4187 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4188 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4189 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4190 (msghdr.msg_controllen): Likewise.
4191 (cmsghdr.cmsg_len): Likewise.
4192 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4193 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4194 variable.
4195 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4196 (test-xfail-XPG4/stropts.h/conform): Likewise.
4197 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4198 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4199 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4200 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4201 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4202 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4203 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4204 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4205 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4206 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4207 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4208 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4209 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4210 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4211 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4212 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4213 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4214 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4215 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4216
4217 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4218
4219 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4220 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4221 definitions for proper unfolding of __MATHDECL_VEC.
4222
4223 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4224
4225 * benchtests/bench-strcoll.c:
4226 Include string.h.
4227 (main): Remove unused variable res.
4228
4229 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4230
4231 * timezone/Makefile (%/UTC %/Universal):
4232 Generate test-result files for UTC and Universal.
4233
4234 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4235
4236 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4237
4238 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4239
4240 [BZ #16350]
4241 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4242 for arguments with small absolute value.
4243 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4244 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4245 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4246 (__asinh): Force underflow exception for arguments with small
4247 absolute value.
4248 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4249 (__asinhf): Force underflow exception for arguments with small
4250 absolute value.
4251 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4252 (__asinhl): Force underflow exception for arguments with small
4253 absolute value.
4254 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4255 (__asinhl): Force underflow exception for arguments with small
4256 absolute value.
4257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4258 (__asinhl): Force underflow exception for arguments with small
4259 absolute value.
4260 * math/auto-libm-test-in: Do not mark underflow exceptions as
4261 possibly missing for bug 16350.
4262 * math/auto-libm-test-out: Regenerated.
4263
4264 * include/bits/ipc.h: Remove file.
4265 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4266 variable.
4267 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4268 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4269 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4270 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4271 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4272 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4273 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4274 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4275 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4276
4277 * math/auto-libm-test-in: Remove spurious underflow allowance for
4278 tests of cexp.
4279 * math/auto-libm-test-out: Regenerated.
4280
4281 [BZ #18558]
4282 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4283 unconditional definition.
4284 (MCAST_BLOCK_SOURCE): Likewise.
4285 (MCAST_UNBLOCK_SOURCE): Likewise.
4286 (MCAST_LEAVE_GROUP): Likewise.
4287 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4288 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4289 (MCAST_MSFILTER): Likewise.
4290 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4291 Remove variable.
4292 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4293 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4294 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4295 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4296 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4297
4298 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4299
4300 * NEWS: Mention addition of x86_64 vector sincosf.
4301 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4302 * math/test-float-vlen4.h: Likewise.
4303 * math/test-float-vlen8.h: Likewise.
4304 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4305 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4306 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4307 * sysdeps/x86_64/fpu/Versions: New versions added.
4308 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4309 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4310 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4311 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4312 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4313 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4314 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4315 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4316 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4317 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4318 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4319 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4320 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4321 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4322 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4323 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4324 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4325 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4326 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4327 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4328 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4329 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4330 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4331 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4332
4333 * NEWS: Mention addition of x86_64 vector sincos.
4334 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4335 * math/math.h (__MATHDECL_VEC): New macro.
4336 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4337 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4338 declaration under condition.
4339 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4340 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4341 TEST_VEC_LOOP change.
4342 * math/test-double-vlen4.h: Likewise.
4343 * math/test-double-vlen8.h: Likewise.
4344 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4345 * math/test-float-vlen4.h: Likewise.
4346 * math/test-float-vlen8.h: Likewise.
4347 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4348 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4349 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4350 * sysdeps/x86_64/fpu/Versions: New versions added.
4351 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4352 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4353 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4354 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4356 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4357 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4358 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4359 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4360 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4361 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4362 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4363 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4364 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4365 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4366 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4367 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4368 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4369 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4370 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4371 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4372 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4373 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4374 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4375
4376 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4377 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4378 redirections for powf.
4379 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4380 * sysdeps/x86_64/fpu/Versions: New versions added.
4381 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4382 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4383 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4384 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4385 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4386 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4387 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4388 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4389 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4390 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4391 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4392 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4393 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4394 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4395 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4396 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4397 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4398 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4399 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4400 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4401 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4402 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4403 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4404 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4405 * math/test-float-vlen16.h: Fixed 2 argument macro.
4406 * math/test-float-vlen4.h: Likewise.
4407 * math/test-float-vlen8.h: Likewise.
4408 * NEWS: Mention addition of x86_64 vector powf.
4409
4410 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4411
4412 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4413 and redefine.
4414 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4415 and redefine.
4416 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4417 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4419
4420 [BZ #18553]
4421 * resource/getpriority.c (getpriority): Rename to __getpriority
4422 and define as weak alias of __getpriority.
4423 * resource/setpriority.c (setpriority): Rename to __setpriority
4424 and define as weak alias of __setpriority.
4425 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4426 __getpriority and define as weak alias of __getpriority.
4427 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4428 __setpriority and define as weak alias of __setpriority.
4429 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4430 strong name.
4431 (setpriority): Use __setpriority as strong name.
4432 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4433 __getpriority and define as weak alias of __getpriority.
4434 * include/sys/resource.h (__getpriority): Declare. Use
4435 libc_hidden_proto.
4436 (__setpriority): Likewise.
4437 (getpriority): Don't use libc_hidden_proto.
4438 (setpriority): Likewise.
4439 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4440 getpriority. Call __setpriority instead of setpriority.
4441 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4442 Remove variable.
4443
4444 [BZ #18547]
4445 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4446 as weak alias of __getttynam. Use prototype function definition.
4447 Call __setttyent, __getttyent and __endttyent instead of
4448 setttyent, getttyent and endttyent.
4449 (getttyent): Rename to __getttyent and define as weak alias of
4450 __getttyent. Call __setttyent instead of setttyent. Call
4451 __fgets_unlocked instead of fgets_unlocked.
4452 (setttyent): Rename to __setttyent and define as weak alias of
4453 __setttyent.
4454 (endttyent): Rename to __endttyent and define as weak alias of
4455 __endttyent.
4456 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4457 (__setttyent): Likewise.
4458 (__endttyent): Likewise.
4459 (getttyent): Don't use libc_hidden_proto.
4460 (setttyent): Likewise.
4461 (endttyent): Likewise.
4462 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4463 __endttyent instead of setttyent, getttyent and endttyent.
4464 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4465 Remove variable.
4466
4467 [BZ #18546]
4468 * socket/recv.c (__recv): Use libc_hidden_def.
4469 * socket/socket.c (__socket): Likewise.
4470 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4471 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4472 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4473 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4474 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4475 libc_hidden_def.
4476 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4477 libc_hidden_weak.
4478 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4479 Use libc_hidden_proto.
4480 (__recv): Likewise.
4481 * socket/Versions (libc): Export __recv and __socket at version
4482 GLIBC_PRIVATE.
4483 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4484 instead of recv.
4485 (init_mq_netlink): Call __socket instead of socket.
4486 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4487 Remove variable.
4488
4489 [BZ #18545]
4490 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4491 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4492 hidden_weak.
4493 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4494 define as alias of __mq_timedsend. Use hidden_weak.
4495 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4496 __mq_timedsend as strong name.
4497 (mq_timedreceive): Use __mq_timedreceive as strong name.
4498 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4499 (__mq_timedreceive): Likewise.
4500 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4501 __mq_timedreceive instead of mq_timedreceive.
4502 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4503 instead of mq_timedsend.
4504 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4505 Remove variable.
4506
4507 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4508 hidden_def and hidden_weak instead of libc_hidden_def and
4509 libc_hidden_weak.
4510 (top level): Refer to hidden_def in comment.
4511 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4512 macro. Use it instead of libc_hidden_def.
4513 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4514 specify __GI_* name explicitly.
4515 (mq_timedreceive): Likewise.
4516 (mq_setattr): Likewise.
4517
4518 [BZ #18544]
4519 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4520 __pthread_barrier_init and define as weak alias of
4521 __pthread_barrier_init.
4522 * sysdeps/sparc/nptl/pthread_barrier_init.c
4523 (pthread_barrier_init): Likewise.
4524 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4525 __pthread_barrier_wait and define as weak alias of
4526 __pthread_barrier_wait.
4527 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4528 (pthread_barrier_wait): Likewise.
4529 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4530 (pthread_barrier_wait): Likewise.
4531 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4532 (pthread_barrier_wait): Likewise.
4533 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4534 (pthread_barrier_wait): Likewise.
4535 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4536 __pthread_barrier_wait at version GLIBC_PRIVATE.
4537 * include/pthread.h (__pthread_barrier_init): Declare.
4538 (__pthread_barrier_wait): Likewise.
4539 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4540 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4541 (helper_thread): Likewise.
4542 (init_mq_netlink): Call __pthread_barrier_init instead of
4543 pthread_barrier_init.
4544
4545 [BZ #18542]
4546 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4547 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4548 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4549 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4550 vswscanf.
4551 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4552 Remove variable.
4553
4554 [BZ #18540]
4555 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4556 strong alias of _IO_fflush. Use libc_hidden_def.
4557 * libio/iofflush_u.c (fflush_unlocked): Rename to
4558 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4559 Use libc_hidden_weak.
4560 * include/stdio.h (__fflush_unlocked): Declare. Use
4561 libc_hidden_proto.
4562 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4563 fflush_unlocked.
4564 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4565 Remove variable.
4566
4567 [BZ #18539]
4568 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4569 define as weak alias of __addseverity.
4570 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4571 Remove variable.
4572 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4573 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4574 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4575
4576 [BZ #18536]
4577 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4578 (__tfind): Likewise.
4579 (__tdelete): Likewise.
4580 (__twalk): Likewise.
4581 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4582 __twalk to GLIBC_PRIVATE.
4583 * include/search.h (__tsearch): Use libc_hidden_proto.
4584 (__tfind): Likewise.
4585 (__tdelete): Likewise.
4586 (__twalk): Likewise.
4587 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4588 Call __tdelete instead of tdelete.
4589 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4590 tfind. Call __tsearch instead of tsearch.
4591 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4592 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4593 Remove variable.
4594 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4595
4596 [BZ #18534]
4597 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4598 (dprintf): Define as a weak alias of __dprintf, not a strong
4599 alias.
4600 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4601 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4602 dprintf.
4603 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4604 Remove variable.
4605 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4606 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4607
4608 [BZ #18533]
4609 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4610 not a strong alias.
4611 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4612 Remove variable.
4613
4614 [BZ #18532]
4615 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4616 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4617 (in6addr_loopback): Rename to __in6addr_loopback and define as
4618 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4619 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4620 libc_hidden_proto.
4621 (__in6addr_any): Likewise.
4622 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4623 in6addr_any.
4624 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4625 variable.
4626 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4627
4628 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4629
4630 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4631 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4632 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4633 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4634 redirections for pow.
4635 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4636 * sysdeps/x86_64/fpu/Versions: New versions added.
4637 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4638 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4639 build of SSE, AVX2 and AVX512 IFUNC versions.
4640 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4641 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4642 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4643 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4644 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4645 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4646 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4647 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4648 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4649 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4650 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4651 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4652 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4653 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4654 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4655 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4656 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4657 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4658 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4659 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4660 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4661 * NEWS: Mention addition of x86_64 vector pow.
4662
4663 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4664 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4665 redirections for expf.
4666 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4667 * sysdeps/x86_64/fpu/Versions: New versions added.
4668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4669 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4670 build of SSE, AVX2 and AVX512 IFUNC versions.
4671 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4672 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4673 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4674 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4675 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4676 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4677 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4678 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4679 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4680 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4681 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4682 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4683 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4684 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4685 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4686 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4687 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4688 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4689 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4690 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4691 * NEWS: Mention addition of x86_64 vector expf.
4692
4693 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4694 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4695 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4696 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4697 redirections for exp.
4698 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4699 * sysdeps/x86_64/fpu/Versions: New versions added.
4700 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4701 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4702 build of SSE, AVX2 and AVX512 IFUNC versions.
4703 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4704 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4705 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4706 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4707 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4708 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4709 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4710 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4711 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4712 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4713 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4714 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4715 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4716 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4717 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4718 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4719 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4720 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4721 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4722 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4723 * NEWS: Mention addition of x86_64 vector exp.
4724
4725 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4726 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4727 redirections for logf.
4728 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4729 * sysdeps/x86_64/fpu/Versions: New versions added.
4730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4731 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4732 build of SSE, AVX2 and AVX512 IFUNC versions.
4733 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4734 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4735 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4736 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4737 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4738 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4739 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4740 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4741 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4742 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4743 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4744 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4745 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4746 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4747 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4748 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4749 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4750 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4751 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4752 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4753 * NEWS: Mention addition of x86_64 vector logf.
4754
4755 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4756 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4757 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4758 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4759 redirections for log.
4760 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4761 * sysdeps/x86_64/fpu/Versions: New versions added.
4762 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4763 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4764 build of SSE, AVX2 and AVX512 IFUNC versions.
4765 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4766 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4767 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4768 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4769 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4770 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4771 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4772 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4773 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4774 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4775 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4776 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4777 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4778 test.
4779 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4780 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4781 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4782 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4783 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4784 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4785 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4786 * NEWS: Mention addition of x86_64 vector log.
4787
4788 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4789
4790 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4791 cfi_adjust_cfa_offset argument.
4792 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4793 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4794
4795 [BZ #18034]
4796 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4797 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4798 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4799 ordering using ldar.
4800 (_dl_tlsdesc_dynamic): Likewise.
4801 (_dl_tlsdesc_return_lazy): Likewise.
4802 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4803 relaxed atomics instead of volatile and synchronize with release store.
4804 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4805 volatile.
4806 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4807
4808 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4809
4810 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4811 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4812 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4813 * sysdeps/x86_64/fpu/Versions: New versions added.
4814 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4815 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4816 build of SSE, AVX2 and AVX512 IFUNC versions.
4817 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4818 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4819 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4820 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4821 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4822 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4823 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4824 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4825 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4826 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4827 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4828 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4829 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4830 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4831 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4832 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4833 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4834 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4835 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4836 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4837 * NEWS: Mention addition of x86_64 vector sinf.
4838
4839 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4840
4841 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4842 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4843 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4844 Remove variable.
4845 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4846 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4847
4848 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4849
4850 [BZ #18530]
4851 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4852 strong alias of _IO_fputs. Use libc_hidden_def.
4853 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4854 and define as weak alias of __fputs_unlocked. Use
4855 libc_hidden_weak.
4856 * include/stdio.h (__fputs_unlocked): Declare. Use
4857 libc_hidden_proto.
4858 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4859 fputs_unlocked.
4860
4861 [BZ #18529]
4862 * resolv/netdb.h [__USE_POSIX]: Change condition to
4863 [__USE_XOPEN2K].
4864 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4865 not expect.
4866 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4867 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4868 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4869 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4870 [XPG4 || UNIX98] (AI_ALL): Likewise.
4871 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4872 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4873 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4874 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4875 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4876 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4877 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4878 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4879 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4880 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4881 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4882 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4883 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4884 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4885 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4886 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4887 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4888 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4889 [XPG4 || UNIX98] (gai_strerror): Likewise.
4890 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4891 [XPG4 || UNIX98] (getnameinfo): Likewise.
4892
4893 [BZ #18528]
4894 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4895 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4896 __USE_XOPEN2K8].
4897 (getgrent): Likewise.
4898 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4899 expect.
4900 [XPG3 || POSIX2008] (endgrent): Likewise.
4901 [XPG3] (setgrent): Likewise.
4902 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4903 variable.
4904 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4905
4906 [BZ #18527]
4907 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4908 define as weak alias of __getlogin_r. Use libc_hidden_weak.
4909 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4910 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4911 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4912 * include/unistd.h (__getlogin_r): Declare. Use
4913 libc_hidden_proto.
4914 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4915 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4916 variable.
4917 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4918 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4919 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4920
4921 2015-06-12 Martin Sebor <msebor@redhat.com>
4922
4923 [BZ #18512]
4924 * Makerules (check-install-supported): New target.
4925 (install): Add check-install-supported as a dependency.
4926 * manual/install.texi (Installing the C Library): Document
4927 that overriding prefix and exec_prefix is not supported.
4928 Mention DESTDIR.
4929 * INSTALL: Regenerate from the above.
4930
4931 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4932
4933 [BZ #18519]
4934 * posix/Versions (libc): Export __libc_pread at version
4935 GLIBC_PRIVATE.
4936 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4937 instead of pread.
4938 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4939 variable.
4940
4941 [BZ #18522]
4942 * misc/efgcvt_r.c
4943 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4944 (cvt_symbol): Use weak_alias instead of strong_alias.
4945 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4946 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4947 Remove variable.
4948 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4949 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4950
4951 [BZ #18520]
4952 * inet/herrno.c (h_errno): Rename to __h_errno.
4953 (__libc_h_errno): Define as alias of __h_errno not h_errno.
4954 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4955 to __h_errno instead of h_errno.
4956 * nptl/herrno.c (h_errno): Rename to __h_errno.
4957 (__h_errno_location): Refer to __h_errno not h_errno.
4958 * resolv/Versions (h_errno): Rename to __h_errno.
4959 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4960 Remove variable.
4961 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4962
4963 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
4964
4965 * configure.ac: More strict check for AVX512 assembler support.
4966 * configure: Regenerated.
4967
4968 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4969 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4970 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4971 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4972 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4973 * sysdeps/x86_64/fpu/Versions: New versions added.
4974 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4975 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4976 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4978 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4979 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4981 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4982 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4983 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4984 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4985 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4986 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4987 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4988 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4989 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4990 test.
4991 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4992 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4993 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4994 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4995 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4996 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4997 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4998 * NEWS: Mention addition of x86_64 vector sin.
4999
5000 2015-06-11 Florian Weimer <fweimer@redhat.com>
5001
5002 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5003 comment.
5004
5005 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5006
5007 [BZ #18479]
5008 * nptl/pt-interp.c: New file.
5009 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5010 Add pt-interp.
5011 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5012 $(common-objpfx)runtime-linker.h.
5013
5014 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5015
5016 * Makeconfig (+interp): Remove unused variable.
5017 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5018 only. Depend on $(common-objpfx)runtime-linker.h instead of
5019 $(elf-objpfx)runtime-linker.h.
5020 ($(elf-objpfx)runtime-linker.h): Rename to
5021 $(common-objpfx)runtime-linker.h and move ...
5022 * Makerules [$(build-shared) = yes]: ... here.
5023 * elf/interp.c: Include <runtime-linker.h> instead of
5024 <elf/runtime-linker.h>.
5025
5026 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5027
5028 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5029 (__gettimeofday_syscall): Remove vsyscall fallback.
5030 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5031 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5032 Add syscall fallback function.
5033 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5034 if vDSO is not present.
5035 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5036 fallback function.
5037 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5038 present.
5039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5040 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5041
5042 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5043
5044 [BZ #18497]
5045 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5046 of wcscmp.
5047 (wcscmp): Define as weak alias of WCSCMP.
5048 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5049 wcscoll.
5050 (USE_HIDDEN_DEF): Define.
5051 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5052 __wcscoll. Don't use libc_hidden_weak.
5053 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5054 wcscmp.
5055 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5056 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5057 __GI_wcscmp.
5058 (weak_alias): Undefine and redefine.
5059 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5060 __wcscmp and define as weak alias of __wcscmp.
5061 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5062 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5063 (__wcscoll): Likewise.
5064 (wcscmp): Don't use libc_hidden_proto.
5065 (wcscoll): Likewise.
5066 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5067 wcscoll.
5068 * posix/regexec.c (check_node_accept_bytes): Likewise.
5069 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5070 variable.
5071 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5072 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5073
5074 [BZ #18507]
5075 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5076 __fstatvfs and define as weak alias of __fstatvfs. Use
5077 libc_hidden_weak.
5078 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5079 and define as weak alias of __statvfs. Use libc_hidden_weak.
5080 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5081 Define as alias of __fstatvfs, not fstatvfs.
5082 (fstatvfs64): Likewise.
5083 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5084 Define as alias of __statvfs, not statvfs.
5085 (statvfs64): Likewise.
5086 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5087 Remove variable.
5088
5089 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5090
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5092 (HAVE_GETCPU_VSYSCALL): Define.
5093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5094 (HAVE_GETCPU_VSYSCALL): Likewise.
5095 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5096 * sysdeps/unix/sysv/linux/sched_getcpu.c
5097 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5098 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5099 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5100 prototype.
5101 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5102 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5103 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5105 Define.
5106 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5107 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5109 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5110
5111 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5112
5113 * sysdeps/x86_64/fpu/Makefile: New file.
5114 * sysdeps/x86_64/fpu/Versions: New file.
5115 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5116 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5117 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5118 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5119 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5120 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5121 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5122 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5123 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5124 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5125 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5126 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5127 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5128 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5129 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5130 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5131 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5132 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5133 * sysdeps/x86_64/configure: Regenerated.
5134 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5135 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5136 * manual/install.texi (Configuring and compiling): Document
5137 --disable-mathvec.
5138 * INSTALL: Regenerated.
5139 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5140
5141 * math/Makefile: Added rules for vector tests.
5142 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5143 declaration under condition.
5144 * math/test-double-vlen2.h: New file.
5145 * math/test-double-vlen4.h: New file.
5146 * math/test-double-vlen8.h: New file.
5147 * math/test-vec-loop.h: Added initialization macro.
5148 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5149 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5150 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5151 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5152 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5153 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5154 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5155 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5156 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5157 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5158 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5159
5160 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5161 * sysdeps/x86_64/fpu/Versions: New versions added.
5162 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5163 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5164 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5165 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5166 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5167 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5168 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5169 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5170 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5171 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5172 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5173 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5174 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5175 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5176 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5177 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5178 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5179 * NEWS: Mention addition of x86_64 vector cosf.
5180
5181 * math/Makefile: Added CFLAGS for new tests.
5182 * math/test-float-vlen16.h: New file.
5183 * math/test-float-vlen4.h: New file.
5184 * math/test-float-vlen8.h: New file.
5185 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5186 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5187 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5188 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5189 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5190 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5191 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5192 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5193 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5194 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5195 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5196
5197 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5198
5199 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5200 * locale/programs/ld-ctype.c: Likewise.
5201
5202 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5203
5204 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5205 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5206 bit_ZMM16_31_state): New macro.
5207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5208 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5209
5210 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5211
5212 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5213
5214 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5215
5216 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5217
5218 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5219
5220 [BZ #18498]
5221 * libio/memstream.c (open_memstream): Rename to __open_memstream
5222 and define as weak alias of __open_memstream.
5223 * include/stdio.h (__open_memstream): Declare. Use
5224 libc_hidden_proto.
5225 (open_memstream): Don't use libc_hidden_proto.
5226 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5227 open_memstream.
5228 * posix/getopt.c (_getopt_internal_r): Likewise.
5229 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5230 variable.
5231 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5232 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5233 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5234
5235 [BZ #18496]
5236 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5237 instead of wcrtomb.
5238
5239 [BZ #18483]
5240 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5241 [__USE_XOPEN2K8]. Remove redundant #endif.
5242 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5243 Remove redundant #if.
5244 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5245 Remove variable.
5246 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5247 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5248
5249 [BZ #18495]
5250 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5251 (__iswlower): Likewise.
5252 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5253 (__iswlower): Likewise.
5254 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5255 instead of towlower.
5256 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5257 instead of iswlower. Call __towupper instead of towupper.
5258 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5259 instead of iswalnum.
5260
5261 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5262
5263 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5264 errors to stderr.
5265
5266 2015-06-05 Florian Weimer <fweimer@redhat.com>
5267
5268 [BZ #15661]
5269 [BZ #17322]
5270 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5271 Check for overflow properly. Check for O_APPEND. Ignore large
5272 file system block sizes. Add comments about problems.
5273 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5274 * manual/filesys.texi (Storage Allocation): New node.
5275
5276 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5277
5278 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5279 cancellable syscalls.
5280 (SYS_ify): Add guard to no redefine it.
5281 (INLINE_SYSCALL): Likewise.
5282 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5283 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5284 SYSCALL_CANCEL instead.
5285 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5286 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5287 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5288 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5289 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5290 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5291 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5292 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5293 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5294 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5295 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5296 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5297 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5298 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5299 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5300 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5301 Likewise.
5302 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5303 (__libc_pread64): Likewise.
5304 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5305 (__libc_preadv): Likewise.
5306 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5307 (__libc_readv64): Likewise.
5308 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5309 (__libc_pwrite): Likewise.
5310 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5311 (__libc_pwrite64): Likewise.
5312 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5313 (__libc_pwritev): Likewise.
5314 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5315 (__libc_pwritev64): Likewise.
5316 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5317 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5318 (sync_file_range): Likewise.
5319 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5320 Likewise.
5321 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5322 Likewise.
5323 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5324 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5325 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5326 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5327 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5328 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5329 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5330 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5332 Likewise.
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5334 (__libc_read64): Likewise.
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5336 Likewise.
5337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5338 Likewise.
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5340 Likewise.
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5342 Likewise.
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5344 (__libc_pread64): Likewise.
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5346 Likewise.
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5348 (__libc_pwrite64): Likewise.
5349 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5350 (sync_file_range): Likewise.
5351 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5352 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5353 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5354 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5355 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5356 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5357 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5358 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5359 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5360 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5361 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5362 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5363 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5364 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5365 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5366 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5367 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5368 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5369 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5370 Likewise.
5371 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5372 Likewise.
5373 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5374 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5375 Likewise.
5376 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5377 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5378 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5379 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5380 Likewise.
5381 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5382 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5383 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5384 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5385 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5386
5387 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5388
5389 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5390 Include dl-vdso.
5391 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5392 Use VDSO routines for gettimeofday, clock_gettime if
5393 available.
5394 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5395 Declare VDSO symbols.
5396 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5397 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5398 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5399 * sysdeps/unix/sysv/linux/arm/Versions: Add
5400 __vdso_clock_gettime.
5401
5402 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5403
5404 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5405 be an inline implementation regardless of library is built within.
5406 (open_not_cancel_2): Likewise.
5407 (__read_nocancel): Likewise.
5408 (__write_nocancel): Likewise.
5409 (openat_not_cancel): Likewise.
5410 (openat_not_cancel_3): Likewise.
5411 (openat64_not_cancel): Likewise.
5412 (openat64_not_cancel_3): Likewise.
5413 (__close_nocancel): Likewise.
5414 (pause_not_cancel): Likewise.
5415 (nanosleep_not_cancel): Likewise.
5416 (sigsuspend_not_cancel): Likewise.
5417
5418 2015-06-04 Torvald Riegel <triegel@redhat.com>
5419
5420 [BZ #14958]
5421 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5422 wake-up.
5423 (__pthread_rwlock_rdlock_slow): Likewise.
5424 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5425 Likewise.
5426 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5427 Likewise.
5428 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5429 * nptl/tst-rwlock16.c: New file.
5430 * nptl/Makefile (tests): Add new test.
5431
5432 2015-06-04 Torvald Riegel <triegel@redhat.com>
5433
5434 [BZ #18324]
5435 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5436 missing wake-up of readers.
5437 * nptl/tst-rwlock15.c: New file.
5438 * nptl/Makefile (tests): Add new test.
5439
5440 2015-06-03 Roland McGrath <roland@hack.frob.com>
5441
5442 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5443 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5444 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5445 and __nacl_supply_interface_rtld.
5446 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5447 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5448 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5449 Add __nacl_supply_interface_rtld.
5450 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5451
5452 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5453
5454 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5455 isfinite.
5456 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5457 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5458
5459 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5460
5461 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5462 __signbit* with standard C99 macros.
5463 * math/e_exp10l.c: Likewise.
5464 * math/e_exp2l.c: Likewise.
5465 * math/e_scalb.c: Likewise.
5466 * math/e_scalbf.c: Likewise.
5467 * math/e_scalbl.c: Likewise.
5468 * math/s_ldexp.c: Likewise.
5469 * math/s_ldexpf.c: Likewise.
5470 * math/s_ldexpl.c: Likewise.
5471 * math/w_atan2.c: Likewise.
5472 * math/w_atan2f.c: Likewise.
5473 * math/w_atan2l.c: Likewise.
5474 * math/w_cosh.c: Likewise.
5475 * math/w_coshf.c: Likewise.
5476 * math/w_coshl.c: Likewise.
5477 * math/w_exp10.c: Likewise.
5478 * math/w_exp10f.c: Likewise.
5479 * math/w_exp10l.c: Likewise.
5480 * math/w_exp2.c: Likewise.
5481 * math/w_exp2f.c: Likewise.
5482 * math/w_exp2l.c: Likewise.
5483 * math/w_fmod.c: Likewise.
5484 * math/w_fmodf.c: Likewise.
5485 * math/w_fmodl.c: Likewise.
5486 * math/w_hypot.c: Likewise.
5487 * math/w_hypotf.c: Likewise.
5488 * math/w_hypotl.c: Likewise.
5489 * math/w_jnl.c: Likewise.
5490 * math/w_lgamma.c: Likewise.
5491 * math/w_lgamma_r.c: Likewise.
5492 * math/w_lgammaf.c: Likewise.
5493 * math/w_lgammaf_r.c: Likewise.
5494 * math/w_lgammal.c: Likewise.
5495 * math/w_lgammal_r.c: Likewise.
5496 * math/w_pow.c: Likewise.
5497 * math/w_powf.c: Likewise.
5498 * math/w_powl.c: Likewise.
5499 * math/w_remainder.c: Likewise.
5500 * math/w_remainderf.c: Likewise.
5501 * math/w_remainderl.c: Likewise.
5502 * math/w_scalb.c: Likewise.
5503 * math/w_scalbf.c: Likewise.
5504 * math/w_scalbl.c: Likewise.
5505 * math/w_scalbln.c: Likewise.
5506 * math/w_scalblnf.c: Likewise.
5507 * math/w_scalblnl.c: Likewise.
5508 * math/w_sinh.c: Likewise.
5509 * math/w_sinhf.c: Likewise.
5510 * math/w_sinhl.c: Likewise.
5511 * math/w_tgamma.c: Likewise.
5512 * math/w_tgammaf.c: Likewise.
5513 * math/w_tgammal.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5521 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5522 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5523 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5524 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5542 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5545 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5546 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5547 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5548 * stdio-common/printf_fp.c: Likewise.
5549 * stdio-common/printf_fphex.c: Likewise.
5550 * stdio-common/printf_size.c: Likewise.
5551
5552 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5553
5554 [BZ #18470]
5555 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5556 strnlen.
5557 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5558 Remove variable.
5559 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5560 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5561 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5562 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5563 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5564 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5565 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5566 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5567 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5568 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5569
5570 [BZ #18468]
5571 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5572 weak alias of __wmemchr. Use libc_hidden_weak.
5573 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5574 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5575 instead of wmemchr.
5576
5577 2015-06-02 Roland McGrath <roland@hack.frob.com>
5578
5579 [BZ #18383]
5580 * elf/tst-tlsalign-extern.c: New file.
5581 * elf/tst-tlsalign-extern-static.c: New file.
5582 * elf/tst-tlsalign-vars.c: New file.
5583 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5584 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5585 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5586 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5587 (test-xfail-tst-tlsalign-extern-static): New variable.
5588
5589 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5590
5591 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5592 Use variable name _sc_err instead of err.
5593 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5594 instead of ret.
5595 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5596 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5597 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5598 (INLINE_SYSCALL): Likewise.
5599
5600 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5601 * include/string.h (__strnlen): Use libc_hidden_proto.
5602 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5603 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5604 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5605 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5606 (libc_hidden_def): Undefine and redefine.
5607 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5608 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5609 __GI_strnlen.
5610 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5611 libc_hidden_def.
5612 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5613
5614 [BZ #18469]
5615 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5616 weak alias of __towlower. Use libc_hidden_weak.
5617 (towupper): Rename to __towupper and define as weak alias of
5618 __towupper. Use libc_hidden_weak.
5619 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5620 (__towupper): Likewise.
5621 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5622 __towlower instead of towlower.
5623
5624 2015-06-02 Roland McGrath <roland@hack.frob.com>
5625
5626 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5627 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5628
5629 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5630
5631 * sysdeps/aarch64/libm-test-ulps: Update.
5632
5633 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5634
5635 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5636 Define.
5637 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5639 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5640 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5641 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5642 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5643 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5644
5645 2015-06-01 Martin Sebor <msebor@redhat.com>
5646
5647 [BZ #18116]
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5649 (__setcontext): Use extended four-operand version of mtsf whenever
5650 possible.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5652 (__novec_swapcontext): Likewise.
5653
5654 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5655
5656 * benchtests/scripts/compare_bench.py: New file.
5657 * benchtests/scripts/import_bench.py (mean): New function.
5658 (split_list): Likewise.
5659 (do_for_all_timings): Likewise.
5660 (compress_timings): Likewise.
5661
5662 * benchtests/scripts/import_bench.py: New file.
5663 * benchtests/scripts/validate_benchout.py: Import import_bench
5664 instead of jsonschema.
5665 (validate_bench): Remove function.
5666 (main): Use import_bench.
5667
5668 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5669
5670 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5671 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5672
5673 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5674
5675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5676
5677 2015-05-28 Roland McGrath <roland@hack.frob.com>
5678
5679 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5680 set THREAD_SELF->tid to a magic value and futex-wake it.
5681 Pass its address to the thread_exit system call.
5682 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5683 bit is clear.
5684 * sysdeps/nacl/lowlevellock.h: New file.
5685 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5686
5687 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5688 Add TIMEOUT to current time, don't subtract it.
5689
5690 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5691
5692 [BZ #2981]
5693 [BZ #18422]
5694 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5695 ($(objpfx)tst-audit2.out): Also depend on
5696 $(objpfx)tst-auditmod9b.so.
5697 * elf/tst-audit2.c: Include <dlfcn.h>.
5698 (calloc_called): New.
5699 (calloc): Allow to be called more than once.
5700 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5701
5702 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5703
5704 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5705 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5706
5707 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5708
5709 * stdlib/monetary.h: Fix comment.
5710
5711 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5712
5713 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5714 Avoid using variables in #defines that might cause shadowing.
5715 (INTERNAL_VSYSCALL_CALL): Likewise.
5716
5717 2015-05-26 Roland McGrath <roland@hack.frob.com>
5718
5719 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5720
5721 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5722 * nptl/lll_timedlock_wait.c: ... to this new file.
5723 * nptl/Makefile (libpthread-routines): Add it.
5724 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5725 * nptl/lll_timedwait_tid.c: ... to this new file.
5726 * nptl/Makefile (libpthread-routines): Add it.
5727 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5728 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5729 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5730 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5731 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5732 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5733 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5734 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5735 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5736 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5737
5738 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5739
5740 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5741 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5742 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5743 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5744 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5746 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5748 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5749 * sysdeps/unix/sysv/linux/tile/sysdep.h
5750 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5751 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5752 using vDSO syscall macro.
5753
5754 2015-05-26 Andriy Rysin <arysin@gmail.com>
5755
5756 [BZ #17293]
5757 * uk_UA: Fix sorting order for Ukrainian locale
5758
5759 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5760
5761 * stdlib/monetary.h: Fix comment.
5762
5763 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5764
5765 [BZ #18234]
5766 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5767 st_mtim and st_ctim members.
5768 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5769 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5770 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5771 (struct stat64): Likewise.
5772 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5773 (struct stat64): Likewise.
5774 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5775 (struct stat64): Likewise.
5776
5777 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5778
5779 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5780 Define and include sysdep-vdso.h.
5781 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5782 Likewise.
5783 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5784 Likewise.
5785 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5786 Define with VDSO_SYMBOL and use PTR_MANGLE.
5787 (__vdso_clock_gettime): Likewise.
5788 (__vdso_clock_getres): Likewise.
5789 (_libc_vdso_platform_setup): Likewise.
5790 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5791 Likewise.
5792 (_libc_vdso_platform_setup): Likewise.
5793 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5794 Likewise.
5795 (__vdso_clock_gettime): Likewise.
5796 (__vdso_clock_getres): Likewise.
5797 (__vdso_get_tbfreq): Likewise.
5798 (__vdso_getcpu): Likewise.
5799 (__vdso_time): Likewise.
5800 (__vdso_sigtramp_rt64): Likewise.
5801 (__vdso_signtramp32): Likewise.
5802 (__vdso_sigtramp_rt32): Likewise.
5803 (_libc_vdso_platform_setup): Likewise.
5804 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5805 Likewise.
5806 (__vdso_clock_gettime): Likewise.
5807 (__vdso_clock_getres): Likewise.
5808 (_libc_vdso_platform_setup): Likewise.
5809 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5810 Likewise.
5811 (__vdso_clock_gettime): Likewise.
5812 (_libc_vdso_platform_setup): Likewise.
5813 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5814 Likewise.
5815 (__vdso_getcpu): Likewise.
5816 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5817 Use VDSO_SYMBOL macro to define.
5818 (__vdso_clock_gettime): Likewise.
5819 (__vdso_clock_getres): Likewise.
5820 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5821 Likewise.
5822 (__vdso_clock_gettime): Likewise.
5823 (__vdso_clock_getres): Likewise.
5824 (__vdso_get_tbfreq): Likewise.
5825 (__vdso_getcpu): Likewise.
5826 (__vdso_time): Likewise.
5827 (__vdso_sigtramp_rt64): Likewise.
5828 (__vdso_signtramp32): Likewise.
5829 (__vdso_sigtramp_rt32): Likewise.
5830 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5831 Likewise.
5832 (__vdso_clock_gettime): Likewise.
5833 (__vdso_clock_getres): Likewise.
5834 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5835 Likewise.
5836 (__vdso_clock_gettime): Likewise.
5837 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5838 Likewise.
5839 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5840 macro.
5841 (INTERNAL_VSYSCALL): Likewise.
5842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5843 Remove macro.
5844 (INTERNAL_VSYSCALL): Likewise.
5845 (INTERNAL_VSYSCALL_NCS): Likewise.
5846 (INTERNAL_VSYSCALL_CALL): New macro.
5847 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5849 Likewise.
5850 (INTERNAL_VSYSCALL): Likewise.
5851 (INTERNAL_VSYSCALL_NCS): Likewise.
5852 (INTERNAL_VSYSCALL_CALL): New macro.
5853 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5855 (INLINE_VSYSCALL): Remove macro.
5856 (INTERNAL_VSYSCALL): Remove macro.
5857 (INTERNAL_VSYSCALL_NCS): Remove macro.
5858 (INTERNAL_VSYSCALL_CALL): New macro.
5859 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5860 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5861 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5862 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5863 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5865 (INLINE_VSYSCALL): Remove macro.
5866 (INTERNAL_VSYSCALL): Likewise.
5867 (INTERNAL_VSYSCALL_NCS): Likewise.
5868 (INTERNAL_VSYSCALL_CALL): New macro.
5869 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5870 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5871 PTR_DEMANGLE on vDSO pointer.
5872 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5873 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5874 macro.
5875 (INTERNAL_SYSCALL): Likewise.
5876 (INTERNAL_VSYSCALL_NCS): Remove macro.
5877 (INTERNAL_VSYSCALL_CALL): New macro.
5878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5879 Remove macro.
5880 (INTERNAL_VSYSCALL): Likewise.
5881 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5882 sysdep-vdso.h instead of libc-vdso.h.
5883 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5884 definition.
5885 (INLINE_VSYSCALL): Likewise.
5886 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5887 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5888 definition.
5889 (INLINE_VSYSCALL): Likewise.
5890 (INTERNAL_VSYSCALL): Likewise.
5891 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5892 * sysdeps/unix/sysv/linux/timespec_get.c
5893 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5894 (timespec_get): Use ANSI prototype.
5895 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5896 and definition for Linux.
5897
5898 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
5899
5900 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5901 * include/libc-symbols.h: libmvec_hidden_* macro series added.
5902
5903 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
5904
5905 [BZ #2981]
5906 [BZ #18410]
5907 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5908 for missing DT_PLTRELSZ.
5909
5910 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
5911
5912 Remove obsolete aliases that broke 'locale -a'
5913 [BZ #18412]
5914 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5915 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5916 breaking some applications that use 'locale -a' output.
5917 Change the encoding of this file from Latin-1 to ASCII to avoid
5918 other potential problems with people grepping this file.
5919
5920 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5921
5922 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5923 -fasynchronous-unwind-tables.
5924 (CFLAGS-sendto.c): Likewise.
5925 (CFLAGS-sendmsg.c): Likewise.
5926 (CFLAGS-connect.c): Likewise.
5927 (CFLAGS-recvmsg.c): Likewise.
5928 (CFLAGS-recvfrom.c): Likewise.
5929 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5930 (SOCKETCALL): New macro: non-cancellable socketcall.
5931 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5932 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5933 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5934 * sysdeps/unix/sysv/linux/accept.c: New file.
5935 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5936 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5937 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5938 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5939 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5940 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5941 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5942 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5943 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5944 * sysdeps/unix/sysv/linux/send.c: Likewise.
5945 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5946 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5947 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5948 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5949 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5950 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5951 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5952 prototype.
5953 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5954 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5955 instead of __internal_xxx function.
5956 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5957 prototype.
5958 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5959 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5960 instead of __internal_xxx function.
5961 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5962 prototype.
5963 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5964 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5965 instead of __internal_xxx function.
5966 * sysdeps/unix/sysv/linux/accept.S: Remove file.
5967 * sysdeps/unix/sysv/linux/bind.S: Likewise.
5968 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5969 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5970 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5971 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5972 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5973 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5974 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5975 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5976 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5977 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5978 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5979 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5980 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5981 * sysdeps/unix/sysv/linux/listen.S: Likewise.
5982 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5983 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5984 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5985 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5988 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5989 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5990 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5991 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5992 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5993 * sysdeps/unix/sysv/linux/send.S: Likewise.
5994 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5995 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5996 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5997 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5998 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5999 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6000 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6001 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6002 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6003 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6004 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6005 socketcall is implemented in GLIBC.
6006
6007 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6008
6009 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6010 (__fma): Ignore uninitialized warnings around packing.
6011 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6012 (__fmaf): Ignore uninitialized warnings around packing.
6013 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6014 (__fmal): Ignore uninitialized warnings around packing.
6015
6016 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6017 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6018 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6019 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6020
6021 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6022 switch statement into default case.
6023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6024
6025 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6026 a conditional in forcing "inexact".
6027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6028 Likewise.
6029
6030 2015-05-22 Roland McGrath <roland@hack.frob.com>
6031
6032 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6033 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6034 for each INTERNAL_SYSCALL use.
6035
6036 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6037
6038 [BZ #438]
6039 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6040 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6041 variable.
6042
6043 [BZ #18444]
6044 * string/basename.c (basename): Rename to __basename and define as
6045 weak alias of __basename. Use libc_hidden_weak.
6046 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6047 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6048 __basename instead of basename.
6049 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6050 Remove variable.
6051 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6052
6053 2015-05-18 Florian Weimer <fweimer@redhat.com>
6054
6055 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6056 (_IO_JUMPS_FILE_plus): New.
6057 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6058 _IO_CAST_FIELD_ACCESS.
6059 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6060 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6061 * libio/freopen.c (freopen): Likewise.
6062 * libio/freopen64.c (freopen64): Likewise.
6063 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6064 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6065 * libio/iofwide.c (_IO_fwide): Likewise.
6066 * libio/memstream.c (open_memstream): Likewise.
6067 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6068 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6069 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6070
6071 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6072
6073 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6074 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6075 NADJ.
6076 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6077 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6078 NADJ.
6079 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6080 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6081 NADJ.
6082
6083 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6084 (p == 4) case.
6085
6086 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6087 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6088 Remove variable.
6089 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6090 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6091 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6092
6093 2015-05-21 Florian Weimer <fweimer@redhat.com>
6094
6095 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6096 Adjust jump table label generation macros.
6097
6098 2015-05-21 Florian Weimer <fweimer@redhat.com>
6099
6100 * stdio-common/vfprintf.c (vfprintf): Move local variables
6101 args_malloced, specs, specs_malloced, and the code after
6102 do_positional to the printf_positional function.
6103 (printf_positional): New function.
6104
6105 2015-05-21 Florian Weimer <fweimer@redhat.com>
6106
6107 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6108 function.
6109 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6110 STEP4_TABLE, process_arg): Move macro definitions
6111 out of the vfprintf function. (Cosmetic change only.)
6112
6113 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6114
6115 * benchtests/Makefile (stdio-common-bench): Define.
6116 (benchset): Add stdio-common-bench.
6117 * sprintf-inputs: New file.
6118 * sprintf-source.c: New file.
6119
6120 2015-05-21 Andreas Schwab <schwab@suse.de>
6121
6122 [BZ #13028]
6123 [BZ #17053]
6124 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6125 of struct __res_state.
6126 * resolv/res_send.c (__libc_res_nsend): Likewise.
6127 (get_nsaddr): New function.
6128 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6129 statp directly.
6130
6131 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6132
6133 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6134 -D_POSIX_C_SOURCE=199506L.
6135
6136 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6137
6138 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6139 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6140 Do not mention otherwise.
6141 [POSIX] (_XOPEN_VERSION): Do not expect.
6142 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6143 [POSIX] (_POSIX2_C_BIND): Likewise.
6144 [POSIX] (_POSIX2_VERSION): Likewise.
6145 [POSIX] (_XOPEN_XPG2): Likewise.
6146 [POSIX] (_XOPEN_XPG3): Likewise.
6147 [POSIX] (_XOPEN_XPG4): Likewise.
6148 [POSIX] (_XOPEN_UNIX): Likewise.
6149 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6150 [POSIX] (_POSIX_BARRIERS): Likewise.
6151 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6152 [POSIX] (_POSIX_CPUTIME): Likewise.
6153 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6154 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6155 [POSIX] (_POSIX_SHELL): Likewise.
6156 [POSIX] (_POSIX_SPAWN): Likewise.
6157 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6158 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6159 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6160 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6161 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6162 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6163 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6164 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6165 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6166 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6167 [POSIX] (_POSIX2_PBS): Likewise.
6168 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6169 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6170 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6171 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6172 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6173 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6174 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6175 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6176 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6177 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6178 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6179 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6180 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6181 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6182 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6183 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6184 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6185 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6186 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6187 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6188 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6189 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6190 [POSIX] (_SC_2_C_BIND): Likewise.
6191 [POSIX] (_SC_2_C_VERSION): Likewise.
6192 [POSIX] (_SC_2_PBS): Likewise.
6193 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6194 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6195 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6196 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6197 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6198 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6199 [POSIX] (_SC_BARRIERS): Likewise.
6200 [POSIX] (_SC_BASE): Likewise.
6201 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6202 [POSIX] (_SC_DEVICE_IO): Likewise.
6203 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6204 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6205 [POSIX] (_SC_FD_MGMT): Likewise.
6206 [POSIX] (_SC_FIFO): Likewise.
6207 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6208 [POSIX] (_SC_FILE_LOCKING): Likewise.
6209 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6210 [POSIX] (_SC_IOV_MAX): Likewise.
6211 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6212 [POSIX] (_SC_NETWORKING): Likewise.
6213 [POSIX] (_SC_PAGE_SIZE): Likewise.
6214 [POSIX] (_SC_PASS_MAX): Likewise.
6215 [POSIX] (_SC_PIPE): Likewise.
6216 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6217 [POSIX] (_SC_REGEXP): Likewise.
6218 [POSIX] (_SC_SHELL): Likewise.
6219 [POSIX] (_SC_SIGNALS): Likewise.
6220 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6221 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6222 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6223 [POSIX] (_SC_USER_GROUPS): Likewise.
6224 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6225 [POSIX] (_SC_STREAMS): Likewise.
6226 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6227 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6228 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6229 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6230 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6231 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6232 [POSIX] (_PC_FILESIZEBITS): Likewise.
6233 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6234 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6235 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6236 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6237 [POSIX] (uid_t): Likewise.
6238 [POSIX] (gid_t): Likewise.
6239 [POSIX] (off_t): Likewise.
6240 [POSIX] (pid_t): Likewise.
6241 [POSIX] (cuserid): Allow.
6242 (_SC_2_CHAR_TERM): Require constant.
6243 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6244 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6245 variable.
6246
6247 2015-05-20 Roland McGrath <roland@hack.frob.com>
6248
6249 * sysdeps/nacl/pthread-pids.h: New file.
6250 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6251 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6252
6253 * nptl/pthread-pids.h: New file.
6254 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6255 * nptl/nptl-init.c: Include <pthread-pids.h>.
6256 (__pthread_initialize_minimal_internal):
6257 Call __pthread_initialize_pids instead of set_tid_address syscall.
6258
6259 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6260 * sysdeps/posix/usleep.c: ... here.
6261
6262 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6263
6264 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6265 call_pselect6 object.
6266 [$(subdir) = io]: Remove call_sync_file_range object.
6267 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6268 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6269 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6270 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6271
6272 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6273
6274 * math/s_cproj.c: Add include "math_private.h".
6275 * math/s_cprojf.c: Likewise.
6276 * math/s_cprojl.c: Likewise.
6277
6278 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6279
6280 [BZ #18244]
6281 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6282 high mantissa bit when testing whether P is a NaN.
6283 * math/libm-test.inc (remainder_test_data): Add more tests.
6284 (remquo_test_data): Likewise.
6285
6286 [BZ #18049]
6287 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6288 below -32, return the argument, with underflow if subnormal.
6289 * math/auto-libm-test-in: Add more tests of atanh.
6290 * math/auto-libm-test-out: Regenerated.
6291
6292 2015-05-19 Roland McGrath <roland@hack.frob.com>
6293
6294 [BZ #18434]
6295 * nptl/tst-sem15.c: New file.
6296 * nptl/Makefile (tests): Add it.
6297 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6298 s/<</>>/ to fix typo in EOVERFLOW check.
6299 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6300
6301 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6302
6303 * manual/strings.texi (envz_remove): Fix typo in safety
6304 annotations.
6305
6306 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6307 Steve Ellcey <sellcey@imgtec.com>
6308
6309 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6310 in order to avoid strict alias warnings.
6311 (iruserok_af): Ditto for ra.
6312
6313 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6314
6315 [BZ #17581]
6316 * malloc/hooks.c
6317 (magicbyte): Convert to a function and avoid returning 0x01.
6318 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6319 (mem2chunk_check): Fix unsigned comparisons to zero.
6320 Hoist defs of sz and magic.
6321
6322 2015-05-19 Richard Henderson <rth@redhat.com>
6323
6324 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6325
6326 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6327
6328 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6329
6330 [BZ #16159]
6331 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6332 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6333 (reused_arena): Find a non-corrupt arena.
6334 (heap_trim): Pass arena to unlink.
6335 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6336 malloc_printerr.
6337 (top_check): Likewise.
6338 (free_check): Likewise.
6339 (realloc_check): Likewise.
6340 * malloc/malloc.c (malloc_printerr): Add arena argument.
6341 (unlink): Likewise.
6342 (munmap_chunk): Adjust.
6343 (ARENA_CORRUPTION_BIT): New macro.
6344 (arena_is_corrupt): Likewise.
6345 (set_arena_corrupt): Likewise.
6346 (sysmalloc): Use mmap if there are no usable arenas.
6347 (_int_malloc): Likewise.
6348 (__libc_malloc): Don't fail if arena_get returns NULL.
6349 (_mid_memalign): Likewise.
6350 (__libc_calloc): Likewise.
6351 (__libc_realloc): Adjust for additional argument to
6352 malloc_printerr.
6353 (_int_free): Likewise.
6354 (malloc_consolidate): Likewise.
6355 (_int_realloc): Likewise.
6356 (_int_memalign): Don't touch corrupt arenas.
6357 * malloc/tst-malloc-backtrace.c: New test case.
6358
6359 * Makefile (summarize-tests): Fix return value on success.
6360
6361 * manual/string.texi (Envz Functions): Add envz_remove.
6362
6363 2015-05-18 Roland McGrath <roland@hack.frob.com>
6364
6365 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6366 (invalid_name): New function, broken out of ...
6367 (__opendirat): ... here. Call it.
6368 (need_isdir_precheck): New function, broken out of ...
6369 (__opendirat): ... here. Call it.
6370 Use __fxstatat64, not __xstatat64.
6371 (opendir_oflags): New function, broken out of ...
6372 (__opendirat): ... here. Call it.
6373 (opendir_tail): New function, broken out of ...
6374 (__opendirat): ... here. Call it.
6375 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6376 opendir_tail, rather than punting to __opendirat.
6377 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6378
6379 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6380
6381 * .gitignore: Ignore generated *.pyc.
6382
6383 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6384
6385 * include/stdio.h: Define __need_wint_t.
6386 * test-skeleton.c: Avoid `for' loop initial declaration.
6387 * nptl/tst-initializers1.c: Use test-skeleton.c.
6388
6389 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6390
6391 [BZ #18418]
6392 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6393
6394 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6395
6396 [BZ #16352]
6397 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6398 (__ieee754_atanh): Force underflow exception for results with
6399 small absolute value.
6400 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6401 (__ieee754_atanhf): Force underflow exception for results with
6402 small absolute value.
6403 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6404 (__ieee754_atanh): Force underflow exception for results with
6405 small absolute value.
6406 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6407 (__ieee754_atanhf): Force underflow exception for results with
6408 small absolute value.
6409 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6410 (__ieee754_atanhl): Force underflow exception for results with
6411 small absolute value.
6412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6413 (__ieee754_atanhl): Force underflow exception for results with
6414 small absolute value.
6415 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6416 (__ieee754_atanhl): Force underflow exception for results with
6417 small absolute value.
6418 * math/auto-libm-test-in: Do not allow missing underflow
6419 exceptions from atanh.
6420 * math/auto-libm-test-out: Regenerated.
6421
6422 [BZ #18221]
6423 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6424 2**-28 as threshold for returning x or +/- 1/x.
6425 * math/auto-libm-test-in: Add more tests of tan.
6426 * math/auto-libm-test-out: Regenerated.
6427
6428 [BZ #18220]
6429 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6430 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6431 * math/auto-libm-test-in: Add another test of lgamma.
6432 * math/auto-libm-test-out: Regenerated.
6433
6434 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6435
6436 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6437 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6438 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6439 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6440 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6441 (ADD2A): Use fabs. (SUB2A): Use fabs.
6442 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6443 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6445 (log1): Use fabs. (my_log2): Use fabs.
6446 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6447 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6448 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6449 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6450 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6451 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6452 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6453 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6454 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6455 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6456 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6457
6458 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6459
6460 [BZ #18217]
6461 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6462 as threshold for returning 1 - x.
6463 * math/auto-libm-test-in: Add more tests of erfc.
6464 * math/auto-libm-test-out: Regenerated.
6465
6466 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6467
6468 [BZ #18196]
6469 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6470 threshold for large arguments.
6471 * math/auto-libm-test-in: Add another test of atan.
6472 * math/auto-libm-test-out: Regenerated.
6473
6474 [BZ #16339]
6475 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6476 (__log1p): Force underflow exception for results with small
6477 absolute value.
6478 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6479 (__log1pf): Force underflow exception for results with small
6480 absolute value.
6481 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6482 (__log1p): Force underflow exception for results with small
6483 absolute value.
6484 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6485 (__log1pf): Force underflow exception for results with small
6486 absolute value.
6487 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6488 (__log1pl): Force underflow exception for results with small
6489 absolute value.
6490 * math/auto-libm-test-in: Do not allow missing underflow
6491 exceptions from log1p.
6492 * math/auto-libm-test-out: Regenerated.
6493
6494 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6495 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6496
6497 [BZ #16704]
6498 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6499
6500 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6501
6502 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6503 (libmvec): New variable.
6504 * configure.ac: Added option for mathvec build.
6505 * configure: Regenerated.
6506 * mathvec/Depend: New file.
6507 * mathvec/Makefile: New file.
6508 * shlib-versions: Added libmvec.
6509 * math/Makefile: Added rule for libm.so installation.
6510
6511 * bits/math-vector.h: New file.
6512 * bits/libm-simd-decl-stubs.h: New header.
6513 * math/Makefile (headers): Added new header
6514 libm-simd-decl-stubs.h.
6515 * math/math.h (__MATHCALL_VEC): New macro.
6516
6517 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6518 for conditions in testing functions.
6519 * math/Makefile: Added call of libm-have-vector-test.sh.
6520 * math/libm-test.inc (HAVE_VECTOR): New macros.
6521
6522 * math/libm-test.inc: START refactored.
6523 * math/test-double.c (TEST_MATHVEC): Add define.
6524 * math/test-float.c: Likewise.
6525 * math/test-idouble.c: Likewise.
6526 * math/test-ifloat.c: Likewise.
6527 * math/test-ildoubl.c: Likewise.
6528 * math/test-ldouble.c: Likewise.
6529 * sysdeps/generic/math-tests-arch.h
6530 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6531 architecture check.
6532
6533 * math/test-double.c (FUNC_TEST): New macro.
6534 * math/test-float.c: Likewise.
6535 * math/test-idouble.c: Likewise.
6536 * math/test-ifloat.c: Likewise.
6537 * math/test-ildoubl.c: Likewise.
6538 * math/test-ldouble.c: Likewise.
6539 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6540
6541 2015-05-13 Roland McGrath <roland@hack.frob.com>
6542
6543 * sysdeps/nacl/fdopendir.c: New file.
6544
6545 * dirent/scandir-tail.c: New file.
6546 * dirent/scandir64-tail.c: New file.
6547 * dirent/Makefile (routines): Add them.
6548 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6549 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6550 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6551 [!SCANDIR] (SCANDIR_TAIL): New macro.
6552 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6553 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6554 (SCANDIRAT): Macro removed.
6555 (SCANDIR_TAIL): New macro.
6556 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6557 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6558 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6559 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6560 (READDIR): Macro removed.
6561 (SCANDIR_TAIL): New macro.
6562 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6563 (SCANDIR_TAIL): New macro.
6564
6565 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6566 * dirent/scandir-cancel.c: ... to this new file.
6567 * dirent/Makefile (routines): Add it.
6568 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6569 * sysdeps/unix/sysv/linux/i386/scandir64.c
6570 (SKIP_SCANDIR_CANCEL): Macro removed.
6571 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6572
6573 * dirent/tst-scandir.c: New file.
6574 * dirent/tst-scandir64.c: New file.
6575 * dirent/Makefile (tests): Add them.
6576
6577 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6578
6579 [BZ #18409]
6580 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6581
6582 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6583
6584 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6585 list.
6586
6587 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6588
6589 * benchtests/bench-strcoll.c: New benchmark.
6590 * benchtests/Makefile: Generate locales and run benchmark.
6591 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6592 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6593 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6594 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6595 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6596 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6597 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6598 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6599 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6600 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6601 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6602 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6603 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6604 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6605 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6606 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6607 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6608 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6609 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6610 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6611 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6612 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6613 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6614 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6615
6616 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6617
6618 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6619 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6620
6621 2015-05-12 Roland McGrath <roland@hack.frob.com>
6622
6623 * posix/uname-values.h: New file.
6624 * posix/uname.c: Include that instead of <config-name.h>.
6625 * sysdeps/nacl/uname-values.h: New file.
6626 * sysdeps/arm/nacl/uname-values.h: New file.
6627
6628 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6629
6630 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6631 splitting into fields.
6632
6633 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6634
6635 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6636 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6637 * locale/localeinfo.h: Add enum collation_encoding_type.
6638 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6639 * programs/ld-collate.c (collate_output): Add encoding type info.
6640 * string/strcoll_l.c (STRDIFF): New function.
6641 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6642 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6643
6644 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6645
6646 [BZ #18397]
6647 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6648 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6649 <fpu_control.h> instead of <math/fpu_control.c>.
6650 * sysdeps/mips/mips32/fpu/Makefile: New file.
6651
6652 2015-05-11 Andreas Schwab <schwab@suse.de>
6653
6654 [BZ #18007]
6655 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6656 nss_endgrent.
6657 (_nss_compat_endgrent): Call nss_endgrent.
6658 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6659 nss_endpwent.
6660 (_nss_compat_endpwent): Call nss_endpwent.
6661 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6662 needent, call nss_setspent only if non-zero.
6663 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6664 (internal_endspent): Don't call nss_endspent.
6665 (_nss_compat_endspent): Call nss_endspent.
6666 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6667 Remove. All uses removed.
6668 (internal_setent): Remove parameter stayopen, add parameter
6669 stream. Use it instead of global variable.
6670 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6671 (internal_endent, internal_getent): Add parameter stream. Use it
6672 instead of global variable.
6673 (CONCAT(_nss_files_end,ENTNAME))
6674 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6675 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6676 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6677 uses removed.
6678 (internal_setent, internal_endent): Add parameter stream. Use it
6679 instead of global variable.
6680 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6681 stream.
6682 (get_next_alias): Add parameter stream.
6683 (_nss_files_getaliasent_r): Pass global stream.
6684 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6685 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6686 (_nss_files_gethostbyname4_r): Pass local stream to
6687 internal_setent, internal_getent and internal_endent. Remove
6688 locking.
6689
6690 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6691
6692 * tst-strfmon1.c (tests): Update expected currency symbol.
6693
6694 2015-05-08 Roland McGrath <roland@hack.frob.com>
6695
6696 * sysdeps/nacl/gethostname.c: New file.
6697
6698 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6699
6700 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6701 and sinh.
6702 * math/auto-libm-test-out: Regenerated.
6703 * sysdeps/i386/fpu/libm-test-ulps: Update.
6704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6705
6706 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6707
6708 [BZ #18125]
6709 * stdlib/tst-setcontext3.c: New file.
6710 * stdlib/tst-setcontext3.sh: New file.
6711 * stdlib/Makefile (tests): Add tst-setcontext3.
6712 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6713 to verify test program created output file.
6714 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6715 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6716 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6717 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6718
6719 2015-05-06 Roland McGrath <roland@hack.frob.com>
6720
6721 [BZ #18383]
6722 * elf/tst-tlsalign.c: New file.
6723 * elf/tst-tlsalign-static.c: New file.
6724 * elf/tst-tlsalign-lib.c: New file.
6725 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6726 (tests-static): Add tst-tlsalign-static.
6727 (modules-names): Add tst-tlsalign-lib.
6728 (test-xfail-tst-tlsalign): New variable.
6729 (test-xfail-tst-tlsalign-static): New variable.
6730
6731 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6732 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6733
6734 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6735
6736 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6737 csqrt, erfc, sin and sincos.
6738 * math/auto-libm-test-out: Regenerated.
6739 * sysdeps/i386/fpu/libm-test-ulps: Update.
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6741
6742 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6743
6744 * sysdeps/aarch64/libm-test-ulps: Update.
6745
6746 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6747
6748 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6749 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6750 * math/auto-libm-test-out: Regenerated.
6751 * sysdeps/i386/fpu/libm-test-ulps: Update.
6752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6753
6754 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6755
6756 [BZ #18265]
6757 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6758 (wcsncpy): Likewise.
6759
6760 2015-05-05 Florian Weimer <fweimer@redhat.com>
6761
6762 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6763 Assume __ASSUME_FALLOCATE is always true.
6764 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6765 (__posix_fallocate64_l64): Likweise.
6766 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6767 (posix_fallocate): Likewise.
6768 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6769 (__posix_fallocate64_l64): Likewise.
6770 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6771 [!__ASSUME_FALLOCATE]: Add comment.
6772
6773 2015-05-05 Florian Weimer <fweimer@redhat.com>
6774
6775 * sysdeps/unix/sysv/linux/i386/Makefile
6776 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6777 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6778 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6779 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6780 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6781 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6782 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6783
6784 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6785
6786 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6787 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6788 tgamma.
6789 * math/auto-libm-test-out: Regenerated.
6790 * sysdeps/i386/fpu/libm-test-ulps: Update.
6791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6792
6793 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6794
6795 * math/auto-libm-test-in: Add more tests of tgamma.
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 * math/auto-libm-test-in: Add more tests of tanh.
6801 * math/auto-libm-test-out: Regenerated.
6802 * sysdeps/i386/fpu/libm-test-ulps: Update.
6803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6804
6805 * math/auto-libm-test-in: Add more tests of tan.
6806 * math/auto-libm-test-out: Regenerated.
6807 * sysdeps/i386/fpu/libm-test-ulps: Update.
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6809
6810 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6811 * math/auto-libm-test-out: Regenerated.
6812 * sysdeps/i386/fpu/libm-test-ulps: Update.
6813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6814
6815 * math/auto-libm-test-in: Add another test of pow.
6816 * math/auto-libm-test-out: Regenerated.
6817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6818
6819 * math/auto-libm-test-in: Add more tests of lgamma.
6820 * math/auto-libm-test-out: Regenerated.
6821 * sysdeps/i386/fpu/libm-test-ulps: Update.
6822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6823
6824 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6825 log1p.
6826 * math/auto-libm-test-out: Regenerated.
6827 * sysdeps/i386/fpu/libm-test-ulps: Update.
6828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6829
6830 2015-05-01 Mark Wielaard <mjw@redhat.com>
6831
6832 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6833 Elf64_Chdr structs and ELFCOMPRESS constants.
6834
6835 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6836
6837 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6838 expm1.
6839 * math/auto-libm-test-out: Regenerated.
6840 * sysdeps/i386/fpu/libm-test-ulps: Update.
6841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6842
6843 * math/auto-libm-test-in: Add more tests of erf and erfc.
6844 * math/auto-libm-test-out: Regenerated.
6845 * sysdeps/i386/fpu/libm-test-ulps: Update.
6846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6847
6848 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6849
6850 * config.h.in (HAVE_AARCH64_BE): Add.
6851
6852 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6853
6854 * math/auto-libm-test-in: Add more tests of csqrt.
6855 * math/auto-libm-test-out: Regenerated.
6856 * sysdeps/i386/fpu/libm-test-ulps: Update.
6857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6858
6859 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6860 * math/auto-libm-test-out: Regenerated.
6861 * sysdeps/i386/fpu/libm-test-ulps: Update.
6862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6863
6864 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6865
6866 2015-04-29 Roland McGrath <roland@hack.frob.com>
6867
6868 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6869 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6870
6871 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6872 (euidaccess, eaccess): Define as weak aliases.
6873
6874 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6875 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6876 but __suseconds_t is often 'long int' so some sources assume that
6877 type is being used (e.g. they use %ld to print tv_usec).
6878
6879 2015-04-29 Florian Weimer <fweimer@redhat.com>
6880
6881 [BZ #18007]
6882 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6883 (CVE-2014-8121)
6884 * nss/tst-nss-getpwent.c: New file.
6885 * nss/Makefile (tests): Add new test.
6886
6887 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6888
6889 [BZ #18346]
6890 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6891 exponents less than 48 as cases where high part of mantissa needs
6892 examining to determine whether argument is integral.
6893 * math/libm-test.inc (round_test_data): Add more tests.
6894
6895 2015-04-28 Mark Wielaard <mjw@redhat.com>
6896
6897 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6898
6899 2015-04-27 David S. Miller <davem@davemloft.net>
6900
6901 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6902 __tls_get_addr.
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6904
6905 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
6906
6907 [BZ#18333]
6908 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6909
6910 2015-04-27 Florian Weimer <fweimer@redhat.com>
6911
6912 [BZ#18333]
6913 * time/tzset.c (parse_tzname): Return error on memory allocation
6914 failure.
6915 * test-skeleton.c (struct temp_name_list): Change type of name
6916 member to non-const.
6917 (add_temp_file): Create a copy of the file name.
6918 (delete_temp_files): Deallocate memory.
6919 (create_temp_file): Add comment.
6920
6921 2015-04-24 Florian Weimer <fweimer@redhat.com>
6922
6923 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6924 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6925
6926 2015-04-24 Roland McGrath <roland@hack.frob.com>
6927
6928 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6929 * sysdeps/arm/configure: Regenerated.
6930
6931 2015-04-24 Florian Weimer <fweimer@redhat.com>
6932
6933 [BZ #17715]
6934 * time/tzfile.c (__tzfile_read): Check for large values of
6935 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6936 * time/tzset.c (__tzstring_len): New function, based on the old
6937 __tzstring function.
6938 (__tzstring): Call __tzstring_len.
6939 (parse_tzname): New helper function extracted from
6940 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6941 the input string.
6942 (parse_offset): New helper function extracted from
6943 __tzset_parse_tz. Replace switch with fallthrough with
6944 initialization before sscanf.
6945 (parse_rule): Likewise.
6946 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6947 new-style function definition.
6948 * timezone/Makefile (tests): Add tst-tzset.
6949 (tst-tzset.out): Dependencies on time zone files.
6950 (tst-tzset-ENV): Set TZDIR.
6951 (testdata/XT%): Copy crafted time zone files.
6952 * timezone/README: Mention crafted time zone files.
6953 * timezone/testdata/XT1, timezone/testdata/XT2,
6954 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6955 files.
6956 * timezone/tst-tzset.c: New test.
6957
6958 2015-04-24 Florian Weimer <fweimer@redhat.com>
6959
6960 * Makeconfig (+gccwarn): Remove -Winline.
6961
6962 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6963
6964 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6965
6966 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6967
6968 * NEWS: Mention sysconf() cache information support for s390.
6969 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6970
6971 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
6972
6973 * math/k_casinh.c (__kernel_casinh): Use __copysign.
6974 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6975 (__nearbyint): Likewise.
6976 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6977 (copysignl): Likewise.
6978
6979 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
6980
6981 [BZ #18287]
6982 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6983 based on padding. (CVE-2015-1781)
6984
6985 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6986
6987 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6988 libc-vdso.h.
6989 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6990 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6991 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6992 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6993 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6994 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6995 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6996 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6997 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6998 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6999 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7000 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7001 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7002 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7003 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7004 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7005 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7006 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7007 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7008 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7009 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7010 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7011 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7012
7013 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7014
7015 * stdlib/setenv.c (__add_to_environ):
7016 Dump core quickly if setenv (..., NULL, ...) is called.
7017 This time, do it the right way, and pacify GCC with a pragma.
7018
7019 2015-04-17 Roland McGrath <roland@hack.frob.com>
7020
7021 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7022 IMAP->l_prev cannot be null, and #if out the code for the contrary
7023 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7024 believe that NS (&_dl_ns[NSID]) could point outside the array.
7025
7026 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7027 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7028 before using NSID as an index.
7029
7030 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7031
7032 [BZ #17825]
7033 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7034 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7035 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7036
7037 2015-04-17 Roland McGrath <roland@hack.frob.com>
7038
7039 Add preliminary port to Google Native Client on ARM.
7040 * abi-tags (.*-.*-nacl.*): New entry.
7041 * sysdeps/arm/nacl: New directory.
7042 * sysdeps/nacl: New directory.
7043
7044 2015-04-16 David S. Miller <davem@davemloft.net>
7045
7046 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7047 lowlevellock-futex.h
7048
7049 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7050
7051 * sysdeps/tile/configure.ac: New file.
7052 * sysdeps/tile/configure: Regenerated.
7053
7054 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7055
7056 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7057 conditionals for weak_alias and libc_hidden_weak.
7058 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7059 libc_hidden_weak and weak_alias.
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7061 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7062 and weak_alias for static one.
7063
7064 2015-04-15 David S. Miller <davem@davemloft.net>
7065
7066 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7067
7068 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7069
7070 [BZ #18206]
7071 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7072 Use signed comparision instead of substraction to avoid
7073 overflow bug.
7074 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7075 Take the sign of ret.
7076 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7077 Do not expect precise return values. Only the sign matters.
7078 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7079 * wcsmbs/test-wcsncmp.c: New File.
7080 * string/test-strncmp.c: Add wcsncmp support.
7081
7082 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7083
7084 [BZ #6792]
7085 * math/w_log1p.c: New file.
7086 * math/w_log1pf.c: Likewise.
7087 * math/w_log1pl.c: Likewise.
7088 * math/Makefile (libm-calls): Add w_log1p.
7089 * math/s_log1pl.c (log1pl): Remove weak_alias.
7090 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7091 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7092 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7093 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7094 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7095 [NO_LONG_DOUBLE] (log1pl): Likewise.
7096 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7097 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7098 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7099 (log1p): Remove long_double_symbol.
7100 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7101 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7102 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7103 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7104 remove weak_alias for corresponding log1p function.
7105 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7106 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7107 * sysdeps/ia64/fpu/w_log1p.c: New file.
7108 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7109 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7110 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7111
7112 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7113
7114 [BZ #18247]
7115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7116 decimal exponent by 1.
7117 * stdlib/tst-strtod-round-data: Add more tests.
7118 * stdlib/tst-strtod-round.c (tests): Regenerated.
7119
7120 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7121
7122 * math/auto-libm-test-in: Add more tests of clog and clog10.
7123 * math/auto-libm-test-out: Regenerated.
7124 * sysdeps/i386/fpu/libm-test-ulps: Update.
7125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7126
7127 2015-04-09 Roland McGrath <roland@hack.frob.com>
7128
7129 * Makeconfig (module-cppflags): Exclude all .v.i files.
7130 (skip-module-cppflags): Variable removed.
7131
7132 * configure.ac (libc_config_ok): Initialize before reading
7133 preconfigure scripts, not after.
7134 * configure: Regenerated.
7135
7136 * test-skeleton.c (TIMEOUT): Move #define to top level.
7137 (main): Grok environment variable TEST_DIRECT. If set, print
7138 test expectation details into that file and then behave as if
7139 given --direct.
7140
7141 2015-04-09 Florian Weimer <fweimer@redhat.com>
7142
7143 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7144 warning on 32-bit.
7145
7146 2015-04-08 David S. Miller <davem@davemloft.net>
7147
7148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7149
7150 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7151
7152 * math/auto-libm-test-in: Add more tests of atanh.
7153 * math/auto-libm-test-out: Regenerated.
7154 * sysdeps/i386/fpu/libm-test-ulps: Update.
7155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7156
7157 * math/auto-libm-test-in: Add more tests of atan.
7158 * math/auto-libm-test-out: Regenerated.
7159 * sysdeps/i386/fpu/libm-test-ulps: Update.
7160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7161
7162 2015-04-08 Florian Weimer <fweimer@redhat.com>
7163
7164 * elf/pldd.c (main): Rewrite to use struct
7165 scratch_buffer instead of extend_alloca.
7166 * elf/pldd-xx.c (find_maps): Likewise.
7167 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7168 <alloca.h>.
7169 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7170 scratch_buffer instead of extend_alloca.
7171 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7172 grp/compat-initgroups.c.
7173 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7174 Rewrite to use struct scratch_buffer instead of extend_alloca.
7175 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7176 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7177
7178 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7179
7180 * math/auto-libm-test-in: Add more tests of cbrt.
7181 * math/auto-libm-test-out: Regenerated.
7182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7183
7184 * math/auto-libm-test-in: Add more tests of cabs.
7185 * math/auto-libm-test-out: Regenerated.
7186 * sysdeps/i386/fpu/libm-test-ulps: Update.
7187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7188
7189 [BZ #18210]
7190 [BZ #18211]
7191 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7192 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7193 computations.
7194 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7195 clog10.
7196 * math/auto-libm-test-out: Regenerated.
7197 * sysdeps/i386/fpu/libm-test-ulps: Update.
7198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7199
7200 [BZ #18197]
7201 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7202 (atan): Set FE_TONEAREST mode for internal computations.
7203 * math/auto-libm-test-in: Add more tests of atan.
7204 * math/auto-libm-test-out: Regenerated.
7205
7206 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7207
7208 [BZ #17930]
7209 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7210
7211 2015-04-07 Florian Weimer <fweimer@redhat.com>
7212
7213 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7214
7215 2015-04-07 Florian Weimer <fweimer@redhat.com>
7216
7217 * include/scratch_buffer.h: New file.
7218 * malloc/scratch_buffer_grow.c: Likewise.
7219 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7220 * malloc/scratch_buffer_set_array_size.c: Likewise.
7221 * malloc/tst-scratch_buffer.c: Likewise.
7222 * malloc/Makefile (routines): Add scratch_buffer_grow.
7223 (tests): Add test case.
7224 * malloc/Versions (GLIBC_PRIVATE): Export
7225 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7226 __libc_scratch_buffer_set_array_size.
7227
7228 2015-04-06 Richard Henderson <rth@redhat.com>
7229
7230 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7231 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7232
7233 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7234 unsigned int before printing.
7235
7236 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7237
7238 [BZ #17596]
7239 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7240 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7241
7242 2015-04-02 Florian Weimer <fweimer@redhat.com>
7243
7244 * include/libc-internal.h (libc_max_align_t): Define.
7245
7246 2015-04-02 Andreas Schwab <schwab@suse.de>
7247
7248 [BZ #16850]
7249 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7250
7251 2015-04-02 Mel Gorman <mgorman@suse.de>
7252
7253 [BZ #17195]
7254 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7255 as well as the main arena.
7256
7257 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7258
7259 [BZ #18185]
7260 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7261 sharing L2 cache to 2 for Silvermont/Knights Landing.
7262
7263 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7264
7265 [BZ #17711]
7266 * config.make.in (have-protected-data): New.
7267 * configure.ac: Check linker support for protected data symbol.
7268 * configure: Regenerated.
7269 * elf/Makefile (modules-names): Add tst-protected1moda and
7270 tst-protected1modb if $(have-protected-data) is yes.
7271 (tests): Add tst-protected1a and tst-protected1b if
7272 $(have-protected-data) is yes.
7273 ($(objpfx)tst-protected1a): New.
7274 ($(objpfx)tst-protected1b): Likewise.
7275 (tst-protected1modb.so-no-z-defs): Likewise.
7276 * elf/tst-protected1a.c: New file.
7277 * elf/tst-protected1b.c: Likewise.
7278 * elf/tst-protected1mod.h: Likewise.
7279 * elf/tst-protected1moda.c: Likewise.
7280 * elf/tst-protected1modb.c: Likewise.
7281
7282 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7283
7284 [BZ #17711]
7285 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7286 indicates it is called from do_lookup_x on relocation against
7287 protected data, skip the data definion in the executable from
7288 copy reloc.
7289 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7290 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7291 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7292 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7293 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7294 otherwise to 0.
7295 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7296 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7297 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7298 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7299 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7300 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7301
7302 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7303
7304 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7305 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7306
7307 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7308
7309 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7310 THREAD_SETMEM_NC.
7311 * sysdeps/x86_64/nptl/tls.h: Ditto.
7312
7313 2015-03-27 Roland McGrath <roland@hack.frob.com>
7314
7315 * dlfcn/tststatic.c (main): Converted to ...
7316 (do_test): ... this.
7317 (TEST_FUNCTION): New macro.
7318 Include test-skeleton.c.
7319
7320 2015-03-26 Alan Modra <amodra@gmail.com>
7321
7322 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7323 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7324 zero for undefined weak.
7325 (elf_machine_plt_conflict): Similarly.
7326
7327 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7328
7329 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7330 atanh.
7331 * math/auto-libm-test-out: Regenerated.
7332 * sysdeps/i386/fpu/libm-test-ulps: Update.
7333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7334
7335 * math/auto-libm-test-in: Add another test of asin.
7336 * math/auto-libm-test-out: Regenerated.
7337 * sysdeps/i386/fpu/libm-test-ulps: Update.
7338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339
7340 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7341 Remove macro.
7342 (LLL_EBX_REG): Likewise.
7343 (LLL_ENTER_KERNEL): Likewise.
7344
7345 * math/auto-libm-test-in: Add more tests of asin.
7346 * math/auto-libm-test-out: Regenerated.
7347 * sysdeps/i386/fpu/libm-test-ulps: Update.
7348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7349
7350 [BZ #18138]
7351 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7352 libc_do_syscall_args): New structure.
7353 (INTERNAL_SYSCALL_MAIN_0): New macro.
7354 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7355 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7356 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7357 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7358 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7359 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7360 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7361 Replace conditional definitions by conditional definitions of ....
7362 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7363 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7364 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7365 (libpthread-sysdep_routines): Add libc-do-syscall.
7366 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7367 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7368 to __NR_futex not 240.
7369
7370 2015-03-25 Alan Modra <amodra@gmail.com>
7371
7372 * NEWS: Advertise TLS optimization.
7373 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7374 (DT_PPC_NUM): Increment.
7375 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7376 (CHECK_STATIC_TLS): Use here.
7377 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7378 TLS descriptors.
7379 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7380 * sysdeps/powerpc/dl-tls.c: New file.
7381 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7382 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7383 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7384 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7388
7389 2015-03-25 Alan Modra <amodra@gmail.com>
7390
7391 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7392 for overlapping .opd entries" to "support...".
7393 * sysdeps/powerpc/powerpc64/configure: Regenerate
7394
7395 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7396
7397 * math/auto-libm-test-in: Add more tests of acos.
7398 * math/auto-libm-test-out: Regenerated.
7399 * sysdeps/i386/fpu/libm-test-ulps: Update.
7400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7401
7402 * math/auto-libm-test-in: Add more tests of expm1.
7403 * math/auto-libm-test-out: Regenerated.
7404 * sysdeps/i386/fpu/libm-test-ulps: Update.
7405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406
7407 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7408
7409 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7410 * math/auto-libm-test-out: Regenerated.
7411 * sysdeps/i386/fpu/libm-test-ulps: Update.
7412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7413
7414 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7416
7417 * math/auto-libm-test-in: Add more tests of log2.
7418 * math/auto-libm-test-out: Regenerated.
7419 * sysdeps/i386/fpu/libm-test-ulps: Update.
7420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7421
7422 2015-03-23 Roland McGrath <roland@hack.frob.com>
7423
7424 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7425 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7426 _IO_IS_APPENDING bit in READ_WRITE instead.
7427
7428 2015-03-23 Florian Weimer <fweimer@redhat.com>
7429
7430 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7431 (__determine_cpumask_size): Replace extend_alloca with a
7432 variable-length array. Do not treat res == 0 as an error.
7433
7434 2015-03-23 Florian Weimer <fweimer@redhat.com>
7435
7436 [BZ #18100]
7437 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7438 and integer overflow.
7439 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7440 (main): Add integer overflow tests.
7441 * manual/pattern.texi (Calling Wordexp): Document additional use
7442 for WRDE_SYNTAX.
7443
7444 2015-03-23 Alan Modra <amodra@gmail.com>
7445
7446 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7447 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7448 and false branch of conditional.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7450 Likewise.
7451
7452 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7453
7454 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7455 libc-modules.h
7456 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7457 unused declaration of _hurd_intr_rpc_msg_in_trap.
7458 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7459 defined instead of whether it is non-zero.
7460 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7461 input constraint instead of both input and output constraint. Use ecx
7462 clobber instead of %ecx.
7463 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7464 mutex_unlock): Use a statement expression instead of an expression list.
7465 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7466 type to vm_size_t instead of vm_address_t.
7467 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7468 defined instead of whether it is non-zero.
7469 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7470 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7471 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7472 comparisons with mapaddr.
7473 * nscd/nscd-client.h: Include <time.h>.
7474 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7475 9th parameter to __vm_region instead of int.
7476 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7477 * scripts/check-local-headers.sh (exclude): Add device/,
7478 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7479 cthreads.h.
7480
7481 2015-03-19 Roland McGrath <roland@hack.frob.com>
7482
7483 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7484 to account for alignment padding.
7485 * sysdeps/arm/memmove.S: Likewise.
7486
7487 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7488
7489 * sysdeps/unix/sysv/linux/generic/README: New file.
7490
7491 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7492
7493 [BZ #18138]
7494 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7495 (futex_abstimed_wait)
7496 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7497 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7498 of lll_futex_timed_wait.
7499
7500 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7501
7502 [BZ #17542]
7503 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7504
7505 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7506
7507 [BZ #17090]
7508 [BZ #17620]
7509 [BZ #17621]
7510 [BZ #17628]
7511 * NEWS: Update.
7512 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7513 entries with Static TLS too. Skip entries past the end of the
7514 allocated DTV, from Alan Modra.
7515 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7516 Static TLS DTV entry set up from...
7517 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7518 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7519 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7520 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7521 for Static TLS.
7522 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7523 that the slot we find is associated with the given map before
7524 using its generation count.
7525 * nptl_db/db_info.c: Include ldsodefs.h.
7526 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7527 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7528 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7529 (link_map::l_tls_offset): New struct field.
7530 (dtv_t::counter): Likewise.
7531 (rtld_global): New struct.
7532 (_rtld_global): New rtld variable.
7533 (dl_tls_dtv_slotinfo_list): New rtld global field.
7534 (dtv_slotinfo_list): New struct.
7535 (dtv_slotinfo): Likewise.
7536 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7537 (td_lookup): Rename to...
7538 (td_mod_lookup): ... this. Use new mod parameter instead of
7539 LIBPTHREAD_SO.
7540 * nptl_db/td_thr_tlsbase.c: Include link.h.
7541 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7542 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7543 addresses even if the DTV is out of date or missing them.
7544 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7545 index zero-length arrays.
7546 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7547 (td_lookup): Make it a macro implemented in terms of...
7548 (td_mod_lookup): ... this declaration.
7549 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7550 (DB_MAIN_VARIABLE): Likewise.
7551
7552 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7553
7554 [BZ #18134]
7555 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7556
7557 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7558
7559 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7560
7561 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7562
7563 [BZ #18128]
7564 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7565 (atomic_add, atomic_increment_and_test)
7566 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7567
7568 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7569
7570 * stdlib/setenv.c (__add_to_environ):
7571 Dump core quickly if setenv (..., NULL, ...) is called.
7572
7573 2015-03-13 Roland McGrath <roland@hack.frob.com>
7574
7575 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7576 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7577 all the necessary asm magic in one place.
7578 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7579 using those.
7580
7581 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7582
7583 [BZ #14906]
7584 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7585 traced file mtime. Use consistent log message.
7586 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7587 (register_traced_file): Call install_watches. Always set mtime.
7588 (invalidate_cache): Iterate over all trace files. Call install_watches.
7589 (inotify_check_files): Don't inline. Handle watching parent
7590 directories and configuration file movement in and out.
7591 (handle_inotify_events): New function.
7592 (main_loop_poll): Call handle_inotify_events.
7593 (main_loop_epoll): Likewise.
7594 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7595 (struct traced_file): Use array of inotify fds. Add parent directory,
7596 and basename.
7597 (struct database_dyn): Remove unused file_mtime.
7598 (init_traced_file): New inline function.
7599 (define_traced_file): New macro.
7600 * nss/nss_db/db-init.c: Use define_traced_file.
7601 (_nss_db_init): Use init_traced_file.
7602 * nss/nss_files/files-init.c: Use define_traced_file.
7603 (_nss_files_init): Use init_traced_file.
7604
7605 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7606
7607 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7608 [_LIBC]: Do not include <stdlib.h>.
7609 [!_LIBC] (abort): Remove declaration.
7610 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7611 _FP_STATIC_ASSERT instead of conditionally calling abort.
7612 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7613 (_FP_EXTEND_CNAN): Likewise.
7614 (FP_TRUNC): Likewise.
7615 (__FP_CLZ): Likewise.
7616 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7617
7618 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7619
7620 * manual/string.texi (XPG basename): Fix prototype.
7621
7622 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7623
7624 [BZ #18080]
7625 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7626 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7627 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7628 (__setcontext): Likewise.
7629 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7630 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7631 Call rt_sigprocmask syscall one time to set new signal mask
7632 and retrieve the current signal mask instead of two calls.
7633 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7634 (__swapcontext): Likewise.
7635 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7636 * stdlib/tst-setcontext2.c: New file.
7637
7638 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7639
7640 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7641
7642 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7643
7644 [BZ #18093]
7645 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7646 the wrong size.
7647
7648 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7649
7650 [BZ #18043]
7651 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7652
7653 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7654
7655 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7656 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7657 Remove define.
7658 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7659 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7660 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7661 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7662 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7663 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7664 define.
7665 * nptl_db/td_symbol_list.c (td_lookup): Remove
7666 HAVE_ASM_GLOBAL_DOT_NAME code.
7667 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7668 HAVE_ASM_GLOBAL_DOT_NAME check.
7669 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7670 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7671 (DOT_LABEL): Remove define.
7672 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7673 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7674 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7675 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7676 (__TLS_GET_ADDR): Likewise.
7677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7678 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7679
7680 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7681
7682 [BZ #18111]
7683 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7684 (_FPU_SETCW): Initialize cw from fpsr before storing.
7685 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7686 (fesetexceptflag): Rewrite using fpu_control.h.
7687 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7688
7689 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7690
7691 [BZ #18110]
7692 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7693 asms.
7694 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7695
7696 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7697
7698 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7699 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7700 abort.
7701 (_FP_FMA): Likewise.
7702 (_FP_DIV): Likewise.
7703
7704 2015-03-10 Roland McGrath <roland@hack.frob.com>
7705
7706 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7707 with 0 in that case.
7708 * Makefile (summarize-tests): New canned sequence, factored out of
7709 commands for targets tests and xtests. Display summary lines that
7710 don't start with PASS: or XFAIL: rather than ones that do start with
7711 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7712 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7713 do start with ERROR: or FAIL:.
7714 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7715 (except for [$(build-shared) = yes]).
7716 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7717 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7718 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7719 * nptl/Makefile: Revert 2015-03-04 changes.
7720 [$(CXX) empty] (tests-unsupported): New variable.
7721 * debug/Makefile: Likewise.
7722
7723 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7724 gnulib file. Replace __attribute with __attribute__ throughout.
7725
7726 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7727
7728 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7729
7730 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7731
7732 [BZ #18104]
7733 * math/auto-libm-test-in: Add another test of pow.
7734 * math/auto-libm-test-out: Regenerated.
7735
7736 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7737
7738 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7739 $(config-cflags-nofma).
7740
7741 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7742
7743 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7744 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7745 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7746 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7747 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7748 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7749 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7750 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7751 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7752 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7753 Add comment on closing #endif.
7754
7755 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7756
7757 * posix/wordexp.c (CHAR_IN_SET): New macro.
7758 (parse_param): Use it.
7759
7760 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7761
7762 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7763
7764 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7765
7766 [BZ #18043]
7767 * posix/wordexp.c (parse_param): Fix buffer overflow.
7768 * posix/wordexp-test.c (test_case): Add test case.
7769
7770 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7771
7772 [BZ #18042]
7773 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7774 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7775
7776 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7777
7778 [BZ #18043]
7779 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7780 (do_bz18043): Delete.
7781 (at_page_end): New.
7782 (testit): Refactor to have words at the edge of unreadable page.
7783
7784 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7785
7786 [BZ #16734]
7787 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7788 Cleanup read-only streams as well.
7789 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7790
7791 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7792
7793 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7794 <bits/libc-lockP.h>
7795
7796 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7797
7798 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7799 on [__KERNEL__].
7800 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7801 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7802 * soft-fp/op-common.h (_FP_DECL): Likewise.
7803
7804 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7805
7806 * elf/ifuncdep2.c (global): Replace
7807 __attribute__((visibility("protected"))) with
7808 asm (".protected global").
7809 * elf/ifuncmod1.c (global): Likewise.
7810 * elf/ifuncmod5.c (global): Likewise.
7811
7812 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7813
7814 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7815 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7816
7817 2015-03-06 Roland McGrath <roland@hack.frob.com>
7818
7819 * manual/install.texi (Configuring and compiling):
7820 Document test-wrapper-env-only.
7821 * INSTALL: Regenerated.
7822
7823 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7824
7825 [BZ #18043]
7826 * posix/wordexp.c (parse_param): Fix buffer overflow.
7827 * posix/wordexp-test.c (do_bz18043): Add test case.
7828
7829 2015-03-06 Vincent Bernat <vincent@bernat.im>
7830
7831 * time/tst-strptime2.c (do_test): Ensure failing tests are
7832 reported correctly.
7833 * time/tst-strptime3.c (do_test): Likewise.
7834
7835 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7836
7837 Fix aio_error thread-safety.
7838 * sysdeps/pthread/aio_error.c: New file
7839 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7840 synchronization.
7841
7842 2015-03-06 Florian Weimer <fweimer@redhat.com>
7843
7844 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7845 (group_number, vfprintf): Use it.
7846 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7847 (JUMP, REF): Use it.
7848 (WORK_BUFFER_SIZE): New enum constant.
7849 (process_arg, vfprintf): Use it.
7850
7851 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7852
7853 * manual/errno.texi (Error Messages): Complete example function
7854 by adding missing #define.
7855 (program_invocation_name): Add statement indicating GNU
7856 extension and reference which header file declares the variable.
7857 (program_invocation_short_name): Likewise.
7858
7859 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7860
7861 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7862 compatibility note.
7863
7864 2015-03-05 Roland McGrath <roland@hack.frob.com>
7865
7866 * Makeconfig (test-wrapper-env-only): New variable.
7867 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7868 then use that with $(test-wrapper-env-only) rather than using
7869 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7870
7871 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7872
7873 [BZ #18082]
7874 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7875 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7876 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7877 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7878 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7879 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7880 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7881 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7882 Likewise.
7883 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7884 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7885 Likewise.
7886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7887 Likewise.
7888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7889 Likewise.
7890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7891 Likewise.
7892 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7894 Likewise.
7895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7896 Likewise.
7897 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7898 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7899
7900 2015-03-04 Roland McGrath <roland@hack.frob.com>
7901
7902 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7903 (ETH_ALEN): New macro.
7904 (struct ether_addr): Use it for length of ether_addr_octet.
7905
7906 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7907 (setdb): Don't call __nss_configure_lookup for "rpc".
7908 (do_test): Don't call test_rpc.
7909 (output_rpcent, test_rpc): Functions moved ...
7910 * sunrpc/test-rpcent.c: ... to this new file.
7911 * sunrpc/Makefile (tests): Add it.
7912
7913 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7914 __xpg_sigpause.
7915 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7916 * nptl/tst-signal6.c: Likewise.
7917 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7918 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7919
7920 * configure.ac (libc_cv_cxx_link_ok): New check.
7921 Reset CXX to empty if it fails to link.
7922 * configure: Regenerated.
7923 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7924 bug-atexit3-lib only if $(CXX) is nonempty.
7925 * nptl/Makefile (tests): Likewise for tst-cancel24.
7926 (tests, tests-static): Likewise for tst-cancel24-static.
7927 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7928 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7929 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7930 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7931
7932 2015-03-04 Andreas Schwab <schwab@suse.de>
7933
7934 [BZ #17631]
7935 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7936 for non-GCC compilers.
7937 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7938 Likewise.
7939
7940 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7941
7942 [BZ #17776]
7943 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7944 integer before bitwise and assembly operations.
7945 (feclearexcept): Likewise.
7946 * math/test-fenvinline.c: New file.
7947 * math/Makefile: Add test-fenvinline test.
7948
7949 2015-03-03 Alan Modra <amodra@gmail.com>
7950
7951 [BZ #16512]
7952 * scripts/localplt.awk: Strip off symbol version.
7953 * NEWS: Mention bug fix.
7954
7955 2015-03-02 Roland McGrath <roland@hack.frob.com>
7956
7957 * sysdeps/pthread/timer_routines.c
7958 (timer_free_list, thread_free_list, thread_active_list): Make static.
7959
7960 2015-03-02 Joseph Myers <joseph@codesourcery.com>
7961
7962 [BZ #17779]
7963 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7964 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7965 Undefine.
7966 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7967 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7968 Likewise.
7969 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7970 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7971 Likewise.
7972
7973 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7974
7975 [BZ #18036]
7976 * posix/fnmatch_loop.c (END): Detect invalid pattern.
7977 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7978
7979 2015-03-02 Andreas Schwab <schwab@suse.de>
7980
7981 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7982 variable name.
7983
7984 2015-03-02 Florian Weimer <fweimer@redhat.com>
7985
7986 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7987 Return error status.
7988
7989 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
7990
7991 [BZ #15969]
7992 * locale/findlocale.c (_nl_find_locale): Introduce const
7993 version of loc_name and drop unsafe type casts.
7994
7995 2015-02-27 Roland McGrath <roland@hack.frob.com>
7996
7997 * dlfcn/tststatic2.c (main): Converted to ...
7998 (do_test): ... this.
7999 (TEST_FUNCTION): New macro.
8000 Include test-skeleton.c.
8001
8002 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8003
8004 [BZ #17711]
8005 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8006 (tests-pie): Add vismain.
8007 (CFLAGS-vismain.c): New.
8008 * elf/vismain.c: Add comments for PIE requirement.
8009
8010 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8011
8012 [BZ #18046]
8013 [BZ #18047]
8014 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8015 0x1p-56L as threshold for just returning the argument.
8016 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8017 0x1p-32L as threshold for just returning the argument.
8018 * math/auto-libm-test-in: Add more tests of atanh.
8019 * math/auto-libm-test-out: Regenerated.
8020 * sysdeps/i386/fpu/libm-test-ulps: Update.
8021 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8022
8023 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8024
8025 * string/bcopy.c (bcopy): Call memmove for performance.
8026
8027 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8028
8029 * string/bzero.c (__bzero): Call memset for performance.
8030
8031 2015-02-27 John David Anglin <dave.anglin@bell.net>
8032
8033 [BZ #18068]
8034 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8035 to 00100000.
8036
8037 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8038
8039 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8040
8041 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8042
8043 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8044 (__kernel_standard): Use CSTR macro when setting exc.name.
8045 * sysdeps/ieee754/Makefile [$(subdir) = math]
8046 (CFLAGS-k_standard.c): Remove variable.
8047
8048 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8049 setting p and q from "else if" to "else".
8050 (qzero): Likewise.
8051 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8052 (qone): Likewise.
8053 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8054 (qzerof): Likewise.
8055 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8056 (qonef): Likewise.
8057 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8058 (qzero): Likewise.
8059 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8060 (qone): Likewise.
8061
8062 [BZ #18038]
8063 [BZ #18039]
8064 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8065 return pi/2 for arguments below 0x1p-113L.
8066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8067 return pi/2 for arguments below 0x1p-106L.
8068 * math/auto-libm-test-in: Add more tests of acos.
8069 * math/auto-libm-test-out: Regenerated.
8070
8071 [BZ #16351]
8072 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8073 (MO): New macro.
8074 (__ieee754_asin): Force underflow exception for results with small
8075 absolute value.
8076 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8077 (MO): New macro.
8078 (__ieee754_asinf): Force underflow exception for results with
8079 small absolute value.
8080 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8081 (__ieee754_asin): Force underflow exception for results with small
8082 absolute value.
8083 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8084 (__ieee754_asinf): Force underflow exception for results with
8085 small absolute value.
8086 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8087 (__ieee754_asinl): Force underflow exception for results with
8088 small absolute value.
8089 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8090 (__ieee754_asinl): Force underflow exception for results with
8091 small absolute value.
8092 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8093 (__ieee754_asinl): Force underflow exception for results with
8094 small absolute value.
8095 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8096 Include <math.h>.
8097 * math/auto-libm-test-in: Do not mark underflow exceptions as
8098 possibly missing for bug 16351.
8099 * math/auto-libm-test-out: Regenerated.
8100
8101 [BZ #18030]
8102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8103 of power of 2 down when low part has opposite sign.
8104 * math/libm-test.inc (logb_test_data): Add more tests.
8105
8106 2015-02-26 Andreas Schwab <schwab@suse.de>
8107
8108 [BZ #18032]
8109 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8110 over collating symbol inside a bracket expression. Minor cleanup.
8111 * posix/tst-fnmatch3.c (do_test): Add test case.
8112
8113 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8114
8115 [BZ #18029]
8116 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8117 Adjust exponent of power of 2 down when low part has opposite
8118 sign.
8119 * math/libm-test.inc (ilogb_test_data): Add more tests.
8120
8121 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8122
8123 [BZ #15969]
8124 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8125 the previous change.
8126
8127 [BZ #15969]
8128 * locale/findlocale.c (_nl_find_locale): Retry archive search
8129 after alias expansion.
8130
8131 2015-02-25 Roland McGrath <roland@hack.frob.com>
8132
8133 * iconv/tst-iconv3.c (main): Converted to ...
8134 (do_test): ... this.
8135 (TEST_FUNCTION): New macro.
8136 Include test-skeleton.c.
8137
8138 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8139 (convert): Make function static.
8140 (test_unalign): Likewise. Add const to argument pointee types.
8141 (main): Replace with static function do_test.
8142 Print "Succeeded." only if RET is zero.
8143 (TEST_FUNCTION): New macro.
8144 Include test-skeleton.c.
8145
8146 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8147 returns a null pointer.
8148
8149 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8150
8151 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8152 to __memcpy_ppc only for static builds.
8153
8154 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8155
8156 [BZ #18020]
8157 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8158 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8159 * math/auto-libm-test-in: Add more tests of asinh.
8160 * math/auto-libm-test-out: Regenerated.
8161 * sysdeps/i386/fpu/libm-test-ulps: Update.
8162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8163
8164 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8165
8166 [BZ #15850]
8167 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8168 and ip6_mtuinfo definitions here.
8169 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8170 in this define too. Update comment.
8171
8172 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8173
8174 * elf/sprof.c (load_shobj): Tweak error message to match others.
8175
8176 2015-02-24 Kevin Easton <kevin@guarana.org>
8177
8178 [BZ #16145] (partial fix)
8179 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8180 to reduce lock contention.
8181
8182 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8183
8184 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8185 (struct timex): Update time comment.
8186 (ADJ_SETOFFSET): Define.
8187
8188 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8189
8190 [BZ #18019]
8191 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8192 2**56 not 2**28 as threshold for log (2x) formula.
8193 * math/auto-libm-test-in: Add more tests of acosh.
8194 * math/auto-libm-test-out: Regenerated.
8195 * sysdeps/i386/fpu/libm-test-ulps: Update.
8196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8197
8198 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8199
8200 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8201 parenthesis around the buf assignment.
8202 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8203
8204 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8205
8206 [BZ #16783]
8207 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8208 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8209 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8210 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8211 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8212 * math/libm-test.inc (scalb_test_data): Add more tests.
8213
8214 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8215
8216 [BZ #17916]
8217 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8218 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8219
8220 2015-02-24 Eric Rannaud <e@nanocritical.com>
8221
8222 [BZ #17523]
8223 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8224 * io/bits/fcntl2.h (open): Use it.
8225 (openat): Likewise.
8226 * io/open.c (__libc_open): Likewise.
8227 * io/open64.c (__libc_open64): Likewise.
8228 * io/open64_2.c (__open64_2): Likewise.
8229 * io/open_2.c (__open_2): Likewise.
8230 * io/openat.c (__openat): Likewise.
8231 * io/openat64.c (__openat64): Likewise.
8232 * io/openat64_2.c (__openat64_2): Likewise.
8233 * io/openat_2.c (__openat_2): Likewise.
8234 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8235 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8236 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8237 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8238 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8239 (__open_nocancel): Likewise.
8240 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8241 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8242 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8243
8244 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8245
8246 [BZ #14841]
8247 * resolv/gethnamaddr.c (getanswer): Skip logging if
8248 RES_USE_DNSSEC is set.
8249 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8250
8251 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8252
8253 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8254
8255 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8256
8257 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8258 201304L, for Unicode 7.
8259
8260 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8261
8262 [BZ #17836]
8263 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8264 shared library. Add gmon-start.os otherwise.
8265 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8266 $(objpfx)gmon-start.os if builing shared library.
8267 ($(objpfx)g$(static-start-installed-name)): Likewise.
8268
8269 2015-02-23 Andreas Schwab <schwab@suse.de>
8270
8271 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8272
8273 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8274
8275 [BZ #17269]
8276 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8277 (enlarge_userbuf): Likewise.
8278
8279 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8280
8281 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8282 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8283 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8284 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8285
8286 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8287
8288 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8289 expression inside statement expression.
8290
8291 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8292
8293 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8294 <sysdeps/nptl/lowlevellock.h> and remove macros and
8295 functions that are now defined there.
8296 (SYS_futex): Remove.
8297 (lll_compare_and_swap): Remove.
8298 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8299
8300 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8301
8302 [BZ #17999]
8303 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8304 instead of scandirat.
8305 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8306 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8307 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8308 __scandirat.
8309 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8310 (__scandirat): Declare. Use libc_hidden_proto.
8311 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8312 Remove variable.
8313 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8314
8315 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8316
8317 [BZ #15319]
8318 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8319 (MO): New macro.
8320 (__ieee754_atan2): For results with small absolute value, force
8321 underflow exception and remove excess range and precision from
8322 return value.
8323 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8324 (MO): New macro.
8325 (__ieee754_atan2f): For results with small absolute value, force
8326 underflow exception and remove excess range and precision from
8327 return value.
8328 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8329 (MO): New macro.
8330 (__atan): For results with small absolute value, force underflow
8331 exception and remove excess range and precision from return value.
8332 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8333 (MO): New macro.
8334 (__atanf): For results with small absolute value, force underflow
8335 exception and remove excess range and precision from return value.
8336 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8337 <math.h>.
8338 (__ieee754_atan2): Force underflow exception for results with
8339 small absolute value.
8340 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8341 <math_private.h>.
8342 (atan): Force underflow exception for results with small absolute
8343 value.
8344 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8345 (__atanf): Force underflow exception for results with small
8346 absolute value.
8347 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8348 <math.h>.
8349 (__atanl): Force underflow exception for results with small
8350 absolute value.
8351 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8352 (__atanl): Force underflow exception for results with small
8353 absolute value.
8354 * sysdeps/x86/fpu/bits/mathinline.h
8355 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8356 (__ieee754_atan2): Only define inline for long double.
8357 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8358 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8359 * math/auto-libm-test-in: Do not mark underflow exceptions as
8360 possibly missing for bug 15319. Add more tests of atan2.
8361 * math/auto-libm-test-out: Regenerated.
8362 * math/libm-test.inc (casin_test_data): Do not mark underflow
8363 exceptions as possibly missing for bug 15319.
8364 (casinh_test_data): Likewise.
8365 * sysdeps/i386/fpu/libm-test-ulps: Update.
8366
8367 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8368
8369 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8370 * sysdeps/mips/bits/endian.h: Fix comments.
8371
8372 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8373
8374 [BZ #17996]
8375 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8376 (hdestroy_r): Likewise.
8377 (hsearch_r): Likewise.
8378 (__hcreate_r): Declare and use libc_hidden_proto.
8379 (__hdestroy_r): Likewise.
8380 (__hsearch_r): Likewise.
8381 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8382 (hcreate): Call __hcreate_r instead of hcreate_r.
8383 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8384 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8385 as weak alias of __hcreate_r.
8386 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8387 __hdestroy_r.
8388 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8389 __hsearch_r.
8390 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8391 Remove variable.
8392 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8393 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8394 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8395 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8396
8397 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8398
8399 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8400 arena_lock into a single arena_get.
8401
8402 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8403
8404 * dl-reloc.c: Inlucde libc-internal.h.
8405 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8406 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8407 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8408 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8409 (grow_heap): Likewise.
8410 * malloc/malloc.c: Include libc-internal.h.
8411 (do_check_malloc): Call powerof2.
8412 (sysmalloc): Use pagesize. Call ALIGN_UP.
8413 (systrim): Use pagesize.
8414 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8415 (__libc_valloc): Use pagesize.
8416 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8417
8418 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8419
8420 [BZ #17991]
8421 * include/sys/resource.h (__getrlimit64): Declare. Use
8422 libc_hidden_proto.
8423 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8424 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8425 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8426 getrlimit64.
8427 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8428 __getrlimit64.
8429 [!getrlimit64] (getrlimit64): Define as weak alias of
8430 __getrlimit64. Use libc_hidden_weak.
8431 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8432 using __getrlimit64 not __new_getrlimit64.
8433 (__GI_getrlimit64): Likewise.
8434 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8435 Likewise.
8436 (__GI_getrlimit64): Likewise.
8437 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8439 (getrlimit): Add __getrlimit64 alias.
8440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8441 Likewise.
8442 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8443 Remove variable.
8444 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8445 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8446
8447 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8448
8449 * libio/fileops.c: Add missing sys/mman.h
8450 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8451
8452 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8453
8454 * manual/math.texi (Errors in Math Functions): Clarify goals
8455 regarding inexact and underflow exceptions.
8456
8457 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8458
8459 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8460 * sysdeps/mips/memset.S: Ditto.
8461
8462 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8463
8464 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8465
8466 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8467
8468 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8469 (__v1longjmp): Remove versioned symbol.
8470 (__v1siglongjmp): Remove alias and versioned symbol.
8471 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8472 (__v2siglongjmp): Likewise.
8473
8474 2015-02-16 Torvald Riegel <triegel@redhat.com>
8475
8476 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8477
8478 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8479
8480 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8481
8482 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8483
8484 [BZ #17987]
8485 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8486 zero result does not depend on the sign resulting from
8487 subtraction.
8488 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8489 Likewise.
8490 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8491 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8492 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8493 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8494 * math/libm-test.inc (remquo_test_data): Add more tests.
8495
8496 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8497
8498 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8499 Problem reported by J William Piggott.
8500
8501 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8502
8503 [BZ #17978]
8504 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8505 products 4 * y and 2 * y where those would overflow.
8506 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8507 Likewise.
8508 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8509 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8510 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8511 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8512 * math/libm-test.inc (remquo_test_data): Add more tests.
8513
8514 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8515
8516 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8517 [defined _COMPILING_NEWLIB].
8518 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8519 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8520
8521 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8522 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8523
8524 2015-02-16 Torvald Riegel <triegel@redhat.com>
8525
8526 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8527 acquired.
8528
8529 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8530
8531 [BZ #17792]
8532 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8533 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8534 HOST_STACK_END_ADDR): Likewise.
8535
8536 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8537
8538 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8539 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8540 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8541
8542 2015-02-13 Roland McGrath <roland@hack.frob.com>
8543
8544 * sysdeps/generic/c++-types.data: New file.
8545 * sysdeps/generic/ld.abilist: New file.
8546 * sysdeps/generic/libBrokenLocale.abilist: New file.
8547 * sysdeps/generic/libanl.abilist: New file.
8548 * sysdeps/generic/libc.abilist: New file.
8549 * sysdeps/generic/libcrypt.abilist: New file.
8550 * sysdeps/generic/libdl.abilist: New file.
8551 * sysdeps/generic/libm.abilist: New file.
8552 * sysdeps/generic/libpthread.abilist: New file.
8553 * sysdeps/generic/libresolv.abilist: New file.
8554 * sysdeps/generic/librt.abilist: New file.
8555
8556 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8557
8558 [BZ #17569]
8559 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8560 Compute absolute value of x as modified by fmod, not original
8561 value of x.
8562 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8563 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8564 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8565 RUN_TEST_ffI_f1_mod8.
8566 (remquo_test_data): Add more tests.
8567
8568 2015-02-13 Roland McGrath <roland@hack.frob.com>
8569
8570 * sysdeps/init_array/pt-crti.S: New file.
8571
8572 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8573
8574 [BZ #17967]
8575 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8576 __builtin_fmaf instead of relying on contraction of a * b + c.
8577
8578 2015-02-12 J William Piggott <elseifthen@gmx.com>
8579
8580 [BZ #17969]
8581 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8582 node.
8583
8584 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8585
8586 [BZ #17964]
8587 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8588 __builtin_fma instead of relying on contraction of a * b + c.
8589
8590 2015-02-12 Roland McGrath <roland@hack.frob.com>
8591
8592 * Makeconfig (ASFLAGS): Add -Werror=undef.
8593 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8594 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8595 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8596
8597 * Makeconfig (after-link): New variable.
8598 (+link-pie, +link-pie-tests): Use it.
8599 (+link-static, +link-static-tests): Likewise.
8600 (+link, +link-tests): Likewise.
8601 * Makerules (build-module, build-module-asneeded): Likewise.
8602 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8603 Likewise.
8604 * elf/Makefile ($(objpfx)ld.so): Likewise.
8605
8606 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8607
8608 [BZ #17965]
8609 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8610 both struct timeval and struct timespec.
8611
8612 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8613
8614 [BZ #16560]
8615 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8616 and redefine.
8617 (__ieee754_exp2l): Do not multiply small fractional parts by
8618 M_LN2l.
8619 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8620 small argument.
8621 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8622 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8623 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8624 * math/auto-libm-test-in: Add more tests of exp2.
8625 * math/auto-libm-test-out: Regenerated.
8626
8627 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8628
8629 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8630 unaligned path.
8631
8632 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8633
8634 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8635 little endian.
8636
8637 2015-02-12 Andreas Schwab <schwab@suse.de>
8638
8639 [BZ #15790]
8640 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8641 Filter out elision flags from value returned in kind.
8642 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8643 * nptl/tst-pthread-mutexattr.c: New file.
8644
8645 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8646
8647 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8648 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8649 into gnu-gnu, and update comment to refer to abi-tags.
8650
8651 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8652
8653 [BZ #15467]
8654 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8655 (__sincos): Set errno to EDOM for infinite argument.
8656 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8657 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8658 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8659 (__sincosl): Set errno to EDOM for infinite argument.
8660 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8661 (__sincosl): Set errno to EDOM for infinite argument.
8662 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8663 (__sincosl): Set errno to EDOM for infinite argument.
8664 * math/libm-test.inc (sincos_test_data): Test errno setting.
8665
8666 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8667
8668 * string/strxfrm_l.c: Remove #define STRCMP.
8669 * string/strcoll_l.c: Remove #define STRLEN.
8670 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8671 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8672
8673 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8674
8675 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8676 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8677 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8678 * sysdeps/mips/mips64/Makefile: ... here.
8679 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8680 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8681 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8682 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8683 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8684 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8685 * sysdeps/mips/mips64/n64/Implies: Likewise.
8686
8687 2015-02-10 Roland McGrath <roland@hack.frob.com>
8688
8689 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8690 <sys/time.h>, <string.h>, and <errno.h>.
8691 (dest_offset, dest_address, value, zero): Remove unused variables.
8692 (ldouble): Remove typedef.
8693 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8694 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8695 1). Fix code style.
8696 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8697 (check): Function removed.
8698 (CHECK): New macro.
8699 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8700 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8701 Don't call set_sigaction_FP and remove_sigaction_FP here.
8702 (ldouble_test): Just use 'long double' as macro argument, no need for
8703 the 'ldouble' typedef.
8704 (do_test): Set up SIGFPE handler at start, using plain signal rather
8705 than sigaction. Fix code style.
8706
8707 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8708
8709 [BZ #17949]
8710 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8711 jump label.
8712
8713 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8714
8715 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8716 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8717
8718 * sysdeps/powerpc/configure.ac: Remove file.
8719 * sysdeps/powerpc/configure: Likewise.
8720
8721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8722 [sysdep_routines]: Remove wordcopy-power6 object.
8723 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8724 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8725 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8726 (__memmove_ppc32): Likewise.
8727 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8728 file.
8729 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8731 Remove preprocessor.
8732
8733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8734 [sysdep_routines]: Remove wide chars objects.
8735 [wcsmbs]: New rule for wide char objects.
8736
8737 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8738 Remove wordcopy-power6 obejct.
8739 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8740 Use local call for wordcopy and memcpy symbols.
8741 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8742 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8743 implementation for loader.
8744 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8745
8746 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8747 Remove wordcopy-power7 object.
8748 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8749 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8750 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8751 (_wordcopy_fwd_dest_aligned): Likewise.
8752 (_wordcopy_bwd_aligned): Likewise.
8753 (_wordcopy_bwd_dest_aligned): Likewise.
8754
8755 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8756 Rewrite to call __memmove_ppc instead of include default
8757 implementation.
8758
8759 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8760 Remove wide chars objects.
8761 [wcsmbs]: New rule for wide char objects.
8762
8763 2015-02-09 Andreas Schwab <schwab@suse.de>
8764
8765 [BZ #17912]
8766 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8767 in terms of __O_DIRECTORY.
8768
8769 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8770
8771 * time/getdate.c: Include <stdbool.h>.
8772 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8773 call PTR_MANGLE.
8774 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8775 PTR_DEMANGLE.
8776
8777 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8778
8779 Add ersatz _Static_assert on older C hosts
8780 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8781 pre-C11 C platform that is not known to support _Static_assert.
8782
8783 2015-02-07 Richard Braun <rbraun@sceen.net>
8784
8785 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8786 sigstate.
8787 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8788
8789 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8790
8791 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8792 priority against unexistent AIO_PRIO_DELTA_MAX.
8793 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8794 instead of int.
8795 * misc/fchflags.c (fchflags): Likewise.
8796 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8797 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8798 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8799 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8800 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8801 Declare macros.
8802 [__USE_MISC] (chflags, fchflags): Declare functions.
8803 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8804 EINVAL when nfds is greater than FD_SETSIZE.
8805 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8806 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8807 45.
8808 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8809 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8810 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8811 MACH_RCV_TIMED_OUT.
8812 * hurd/hurd/signal.h (_hurd_self_sigstate,
8813 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8814 Explicit casts from void *.
8815 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8816 * abi-tags: Rename gnu-gnu os into gnu.
8817
8818 [BZ #4719]
8819 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8820 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8821 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8822 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8823 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8824 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8825
8826 [BZ #17944]
8827 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8828 duplicates ADDR->sun_path with sockaddr LEN limitation.
8829 * sysdeps/mach/hurd/connect.c: Include <string.h>
8830 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8831 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8832 * sysdeps/mach/hurd/sendto.c: Likewise.
8833 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8834 implementing it by hand.
8835
8836 2015-02-06 Roland McGrath <roland@hack.frob.com>
8837
8838 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8839 Use sfi_breg on ldr.
8840 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8841 Likewise.
8842
8843 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8844 it's defined.
8845 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8846 Test SIGSETXID only if it's defined.
8847
8848 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8849
8850 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8851 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8852
8853 * nptl/tst-align2.c: Moved ...
8854 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8855 * nptl/Makefile (tests): Remove tst-align2.
8856 * sysdeps/unix/sysv/linux/Makefile
8857 [$(subdir) = nptl] (tests): Add tst-align-clone.
8858 * nptl/tst-getpid1.c: Moved ...
8859 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8860 * nptl/tst-getpid2.c: Moved ...
8861 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8862 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8863 * sysdeps/unix/sysv/linux/Makefile
8864 [$(subdir) = nptl] (tests): ... here.
8865 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8866 * sysdeps/unix/sysv/linux/Makefile
8867 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8868
8869 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8870 Drop trailing \n from perror argument. Use return rather than exit.
8871
8872 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8873 on [SA_SIGINFO].
8874 * nptl/tst-cancel21.c (do_test): Likewise.
8875 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8876 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8877 [!SA_SIGINFO]: Make it a stub test.
8878
8879 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8880 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8881
8882 * posix/tst-getlogin.c: Move to ...
8883 * login/tst-getlogin.c: ... here.
8884 * posix/Makefile (tests): Move tst-getlogin to ...
8885 * login/Makefile (tests): ... here.
8886
8887 * libio/tst-atime.c (do_test): Move local variables SV and E
8888 inside [ST_NOATIME] conditional.
8889
8890 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8891
8892 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8893
8894 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8895 (wait_code): New function replaces macro.
8896 Call nanosleep rather than syscall.
8897
8898 * nptl/pt-system.c: Rewritten. Put everything under
8899 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8900 Use IFUNC to redirect when possible.
8901
8902 * nptl/pt-longjmp.c: Rewritten. Put everything under
8903 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8904 Use IFUNC to redirect when possible.
8905
8906 * nptl/pt-fork.c: Rewritten. Put everything under
8907 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8908 Use IFUNC to redirect when possible.
8909 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8910
8911 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8912 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8913 unconditionally nowadays. This included the only reference to
8914 __vdso_clock_gettime that appears outside libc proper.
8915 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8916 Remove version set (containing only __vdso_clock_gettime).
8917 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8918 Add attribute_hidden.
8919 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8920 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8921 libc_hidden_data_def.
8922 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8923 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8924
8925 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8926 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8927 setrpcent, and getrpcport to ...
8928 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8929 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8930 getrpcbynumber_r, and getrpcent_r to ...
8931 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8932 * inet/getrpcbyname.c: Moved ...
8933 * sunrpc/getrpcbyname.c: ... here.
8934 * inet/getrpcbyname_r.c: Moved ...
8935 * sunrpc/getrpcbyname_r.c: ... here.
8936 * inet/getrpcbynumber.c: Moved ...
8937 * sunrpc/getrpcbynumber.c: ... here.
8938 * inet/getrpcbynumber_r.c: Moved ...
8939 * sunrpc/getrpcbynumber_r.c: ... here.
8940 * inet/getrpcent.c: Moved ...
8941 * sunrpc/getrpcent.c: ... here.
8942 * inet/getrpcent_r.c: Moved ...
8943 * sunrpc/getrpcent_r.c: ... here.
8944 * inet/Makefile (routines): Move those to ...
8945 * sunrpc/Makefile (routines): ... here.
8946 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8947 the $(subdirs) list.
8948 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8949 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8950 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8951 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8952
8953 * elf/Makefile (routines): Include $(all-dl-routines), not just
8954 $(dl-routines).
8955 (rtld-routines): Likewise. Use = rather than :=.
8956 * sysdeps/aarch64/Makefile [$(subdir) = elf]
8957 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8958 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8959 * sysdeps/arm/Makefile: Likewise.
8960 * sysdeps/i386/Makefile: Likewise.
8961 * sysdeps/x86_64/Makefile: Likewise.
8962 * sysdeps/hppa/Makefile [$(subdir) = elf]
8963 (sysdep_routines, sysdep-rtld-routines): Don't add
8964 $(sysdep-dl-routines) to these.
8965 * sysdeps/ia64/Makefile: Likewise.
8966 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8967 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8968 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8969 Don't add dl-static to these; sysdep-dl-routines alone is enough.
8970 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8971 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8972 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8973 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8974 * sysdeps/powerpc/Makefile [$(subdir) = elf]
8975 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8976 these; sysdep-dl-routines alone is enough.
8977
8978 2015-02-06 Joseph Myers <joseph@codesourcery.com>
8979
8980 [BZ #17932]
8981 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8982 where multiplication results in zero and third argument is finite
8983 and nonzero.
8984 * math/auto-libm-test-in: Add more tests of fma.
8985 * math/auto-libm-test-out: Regenerated.
8986
8987 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8988 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8989 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8990 (_FP_CMP_EQ): Likewise.
8991 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8992
8993 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8994 extra argument CHECK_NAN. Redefine as wrapper around
8995 _FP_EXTEND_CNAN.
8996
8997 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
8998
8999 * version.h (RELEASE): Set to "stable".
9000 (VERSION): Set to "2.21"
9001 * include/features.h (__GLIBC_MINOR__): Set to 21.
9002
9003 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9004
9005 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9006 Paul Eggert <eggert@cs.ucla.edu>
9007
9008 [BZ #16618]
9009 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9010 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9011 size in bytes. Store needed elements in wpmax. Use needed size
9012 in bytes for extend_alloca.
9013
9014 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9015
9016 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9017 binutls 2.25, and texinfo 5.2.
9018 * INSTALL: Regenerate.
9019 * sysdeps/nios2/configure: Regenerate.
9020 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9021 * manual/contrib.texi: Update.
9022 * po/be.po: Update.
9023 * po/bg.po: Update.
9024 * po/ca.po: Update.
9025 * po/cs.po: Update.
9026 * po/da.po: Update.
9027 * po/de.po: Update.
9028 * po/el.po: Update.
9029 * po/eo.po: Update.
9030 * po/es.po: Update.
9031 * po/fi.po: Update.
9032 * po/fr.po: Update.
9033 * po/gl.po: Update.
9034 * po/hr.po: Update.
9035 * po/hu.po: Update.
9036 * po/ia.po: Update.
9037 * po/id.po: Update.
9038 * po/it.po: Update.
9039 * po/ja.po: Update.
9040 * po/ko.po: Update.
9041 * po/lt.po: Update.
9042 * po/nb.po: Update.
9043 * po/nl.po: Update.
9044 * po/pl.po: Update.
9045 * po/pt_BR.po: Update.
9046 * po/ru.po: Update.
9047 * po/rw.po: Update.
9048 * po/sk.po: Update.
9049 * po/sl.po: Update.
9050 * po/sv.po: Update.
9051 * po/tr.po: Update.
9052 * po/uk.po: Update.
9053 * po/vi.po: Update.
9054 * po/zh_CN.po: Update.
9055 * po/zh_TW.po: Update.
9056
9057 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9058 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9059 * sysdeps/hppa/dl-irel.h: Remove #warning.
9060 * sysdeps/hppa/entry.h: Provide prototype for
9061 __canonicalize_funcptr_for_compare and cast argument.
9062 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9063 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9064 * sysdeps/hppa/sotruss-lib.c: New file.
9065 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9066 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9067 (atomic_compare_and_exchange_bool_acq): Likewise.
9068 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9069 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9070
9071 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9072 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9073 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9074
9075 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9076
9077 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9078 called function in non-PIC case.
9079
9080 2015-01-31 David S. Miller <davem@davemloft.net>
9081
9082 * sysdeps/sparc/sparc32/bits/atomic.h
9083 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9084 unlock not after it.
9085 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9086 volatile register usage warnings from the compiler.
9087
9088 * sysdeps/sparc/nptl/sem_init.c: Delete.
9089 * sysdeps/sparc/nptl/sem_post.c: Delete.
9090 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9091 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9092 * sysdeps/sparc/sparc32/sem_init.c: New file.
9093 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9094 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9095 padding explicitly initialized.
9096 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9097 padding for in-semaphore spinlock.
9098 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9099 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9100 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9101 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9102 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9103 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9104 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9105 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9106 version.
9107 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9108 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9109
9110 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9111
9112 [BZ #17801]
9113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9114 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9115 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9116 New.
9117 (index_AVX_Fast_Unaligned_Load): Likewise.
9118 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9119 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9120 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9121 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9122 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9123 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9124 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9125 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9126 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9127
9128 2015-01-29 Andreas Schwab <schwab@suse.de>
9129
9130 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9131
9132 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9133
9134 [BZ #17892]
9135 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9136
9137 2015-01-28 Martin Sebor <msebor@redhat.com>
9138
9139 * math/README.libm-test: Clarify. Add "How to read the test output."
9140
9141 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9142
9143 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9144 Define to 0.
9145
9146 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9147
9148 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9149 (__HAVE_64B_ATOMICS): Define to 0.
9150
9151 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9152
9153 [BZ #17885]
9154 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9155 value to set as new flag.
9156
9157 [BZ #16576]
9158 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9159 and use _ARCH_PPCSQ instead.
9160 (__ieee754_sqrt): Likewise.
9161 (__ieee754_sqrtf): Likewise.
9162 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9163 _ARCH_PPCSQ is defined.
9164 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9165 fsqrt instruction.
9166 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9167 _ARCH_PPCSQ is defined.
9168 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9169 fsqrts instruction.
9170 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9171
9172 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9173
9174 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9175 bug (GCC BZ #64739).
9176
9177 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9178
9179 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9180 Mark _retval as used.
9181 (lll_futex_wake_unlock): Likewise.
9182 (lll_futex_timed_wait_requeue_pi): Likewise.
9183
9184 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9185 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9186 register variables.
9187
9188 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9189 libm_hidden_def.
9190
9191 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9192 (__bswap_64): Mark as __always_inline.
9193
9194 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9195
9196 [BZ #15378]
9197 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9198 when none of the search directories exist.
9199
9200 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9201
9202 [BZ #17869]
9203 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9204 power8 in .machine directive.
9205
9206 [BZ #17868]
9207 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9208 set dependency from opd value.
9209
9210 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9211
9212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9213 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9214 architecture.
9215
9216 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9217
9218 [BZ #17870]
9219 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9220 with uint64_t.
9221 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9222 (uint64_t) 1.
9223 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9224 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9225 Replace 1UL with (uint64_t) 1.
9226 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9227 int with uint64_t.
9228
9229 2015-01-23 Roland McGrath <roland@hack.frob.com>
9230
9231 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9232 (if_freenameindex): Likewise.
9233
9234 * resource/getrlimit64.c: Add missing libc_hidden_def.
9235
9236 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9237
9238 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9239 __label__.
9240 (_FP_FMA): Likewise.
9241 (_FP_TO_INT_ROUND): Likewise.
9242 (_FP_FROM_INT): Likewise.
9243
9244 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9245
9246 [BZ #16418]
9247 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9248 Make code racy and cancel safe.
9249
9250 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9251
9252 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9253 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9254 attribution.
9255
9256 * pwd/tst-getpw.c: Rewrite.
9257
9258 [BZ #17702]
9259 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9260 (modules-names): Add moddummy1 and moddummy2.
9261 ($(objpfx)tst-rec-dlopen): Define.
9262 * dlfcn/moddummy1.c: New file.
9263 * dlfcn/moddummy2.c: New file.
9264 * dlfcn/tst-rec-dlopen.c: New file.
9265 * elf/dl-cache.c (_dl_load_cache_lookup):
9266 Return char*. Copy result with alloca/strcpy/strdup.
9267 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9268 returns char*. Free cached. If not saving realname
9269 free cached.
9270 * elf/dl-open.c (dl_open_worker): Do not assert that
9271 _r_debug->r_state is RT_CONSISTENT.
9272 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9273 returns char*.
9274
9275 2015-01-21 Torvald Riegel <triegel@redhat.com>
9276 Carlos O'Donell <carlos@redhat.com>
9277
9278 [BZ #12674]
9279 * nptl/sem_waitcommon.c: New file.
9280 * nptl/sem_wait.c: Include sem_waitcommon.c.
9281 (__sem_wait_cleanup, do_futex_wait): Remove.
9282 (__new_sem_wait): Adapt.
9283 (__new_sem_trywait): New function.
9284 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9285 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9286 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9287 (sem_timedwait): Adapt.
9288 * nptl/sem_post.c (__new_sem_post): Adapt.
9289 (futex_wake): New function.
9290 (__old_sem_post): Add release MO fence.
9291 * nptl/sem_open.c (sem_open): Adapt.
9292 * nptl/sem_init.c (__new_sem_init): Adapt.
9293 (futex_private_if_supported): New function.
9294 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9295 (__old_sem_getvalue): Add using previous code.
9296 * sysdeps/nptl/internaltypes.h: Adapt.
9297 * nptl/tst-sem13.c (do_test): Adapt.
9298 * nptl/tst-sem11.c (main): Adapt.
9299 * nptl/sem_trywait.c: Remove.
9300 * nptl/DESIGN-sem.txt: Remove.
9301 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9302 (gen-as-const-headers): Remove structsem.sym.
9303 * nptl/structsem.sym: Remove.
9304 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9305 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9306 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9307 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9308 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9309 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9310 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9311 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9312 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9313 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9314 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9315 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9316 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9317 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9318 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9319 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9320 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9321 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9322 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9323 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9324 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9325 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9326
9327 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9328
9329 * INSTALL: Regenerated.
9330
9331 * po/libc.pot: Regenerated.
9332
9333 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9334 Sandra Loosemore <sandra@codesourcery.com>
9335 Andrew Jenner <andrew@codesourcery.com>
9336 Joseph Myers <joseph@codesourcery.com>
9337 Nathan Sidwell <nathan@codesourcery.com>
9338
9339 * NEWS: Mention new Nios II port.
9340 * sysdeps/nios2/Implies: New file.
9341 * sysdeps/nios2/Makefile: New file.
9342 * sysdeps/nios2/Subdirs: New file.
9343 * sysdeps/nios2/Versions: New file.
9344 * sysdeps/nios2/__longjmp.S: New file.
9345 * sysdeps/nios2/abort-instr.h: New file.
9346 * sysdeps/nios2/backtrace.c: New file.
9347 * sysdeps/nios2/bits/endian.h: New file.
9348 * sysdeps/nios2/bits/fenv.h: New file.
9349 * sysdeps/nios2/bits/link.h: New file.
9350 * sysdeps/nios2/bits/setjmp.h: New file.
9351 * sysdeps/nios2/bsd-_setjmp.S: New file.
9352 * sysdeps/nios2/bsd-setjmp.S: New file.
9353 * sysdeps/nios2/configure: New generated file.
9354 * sysdeps/nios2/configure.ac: New file.
9355 * sysdeps/nios2/crti.S: New file.
9356 * sysdeps/nios2/crtn.S: New file.
9357 * sysdeps/nios2/dl-init.c: New file.
9358 * sysdeps/nios2/dl-machine.h: New file.
9359 * sysdeps/nios2/dl-sysdep.h: New file.
9360 * sysdeps/nios2/dl-tls.h: New file.
9361 * sysdeps/nios2/dl-trampoline.S: New file.
9362 * sysdeps/nios2/gccframe.h: New file.
9363 * sysdeps/nios2/gmp-mparam.h: New file.
9364 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9365 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9366 * sysdeps/nios2/ldsodefs.h: New file.
9367 * sysdeps/nios2/libc-tls.c: New file.
9368 * sysdeps/nios2/libm-test-ulps: New file.
9369 * sysdeps/nios2/machine-gmon.h: New file.
9370 * sysdeps/nios2/math-tests.h: New file.
9371 * sysdeps/nios2/math_private.h: New file.
9372 * sysdeps/nios2/memusage.h: New file.
9373 * sysdeps/nios2/nptl/Makefile: New file.
9374 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9375 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9376 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9377 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9378 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9379 * sysdeps/nios2/nptl/tls.h: New file.
9380 * sysdeps/nios2/preconfigure: New file.
9381 * sysdeps/nios2/s_fma.c: New file.
9382 * sysdeps/nios2/s_fmaf.c: New file.
9383 * sysdeps/nios2/setjmp.S: New file.
9384 * sysdeps/nios2/sfp-machine.h: New file.
9385 * sysdeps/nios2/sotruss-lib.c: New file.
9386 * sysdeps/nios2/stackguard-macros.h: New file.
9387 * sysdeps/nios2/stackinfo.h: New file.
9388 * sysdeps/nios2/start.S: New file.
9389 * sysdeps/nios2/sysdep.h: New file.
9390 * sysdeps/nios2/tls-macros.h: New file.
9391 * sysdeps/nios2/tst-audit.h: New file.
9392 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9393 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9394 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9395 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9396 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9397 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9398 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9399 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9400 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9401 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9402 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9403 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9404 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9405 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9406 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9407 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9408 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9409 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9410 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9411 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9412 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9413 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9414 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9415 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9416 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9417 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9418 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9419 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9420 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9421 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9422 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9423 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9424 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9425 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9426 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9427 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9428 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9429 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9430 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9431 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9432 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9433 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9434 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9435 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9436
9437 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9438
9439 [BZ #17844]
9440 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9441 (getutent): Use weak_alias in non SHARED case
9442 and default_symbol_version in SHARED case.
9443 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9444 (getutent_r, pututline): Likewise.
9445 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9446 (getutid): Likewise.
9447 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9448 (getutid_r): Likewise.
9449 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9450 (getutline): Likewise.
9451 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9452 (getutline_r): Likewise.
9453 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9454 (updwtmp): Likewise.
9455
9456 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9457
9458 [BZ #17848]
9459 * sysdeps/s390/s390-32/memcmp.S
9460 (memcmp_g5): Rename to __memcmp_g5.
9461 * sysdeps/s390/s390-32/memcpy.S
9462 (memcpy_g5): Rename to __memcpy_g5.
9463 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9464 (memcpy_mvcle) Rename to __memcpy_mvcle.
9465 * sysdeps/s390/s390-32/memset.S
9466 (memset_g5): Rename to __memset_g5.
9467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9468 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9469 and use prefixed functions.
9470 * sysdeps/s390/s390-32/multiarch/memcmp.S
9471 (memcmp_z196): Rename to __memcmp_z196.
9472 (memcmp_z10): Rename to __memcmp_z10.
9473 (memcmp): Set alias to __memcmp_g5.
9474 (bcmp): Set alias to __memcmp_g5.
9475 * sysdeps/s390/s390-32/multiarch/memcpy.S
9476 (memcpy_z196): Rename to __memcpy_z196.
9477 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9478 (memcpy_z10): Rename to __memcpy_z10.
9479 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9480 (memcpy): Set alias to __memcpy_g5.
9481 * sysdeps/s390/s390-32/multiarch/memset.S
9482 (memset_z196): Rename to __memset_z196.
9483 Jump to __memset_mvcle instead of memset_mvcle.
9484 (memset_z10): Rename to __memset_z10.
9485 Jump to __memset_mvcle instead of memset_mvcle.
9486 (memset_mvcle) Rename to __memset_mvcle.
9487 (memset): Set alias to __memset_g5.
9488 * sysdeps/s390/s390-64/memcmp.S
9489 (memcmp_z900): Rename to __memcmp_z900.
9490 * sysdeps/s390/s390-64/memcpy.S
9491 (memcpy_z900): Rename to __memcpy_z900.
9492 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9493 (memcpy_mvcle) Rename to __memcpy_mvcle.
9494 * sysdeps/s390/s390-64/memset.S
9495 (memset_z900): Rename to __memset_z900.
9496 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9497 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9498 and use prefixed functions.
9499 * sysdeps/s390/s390-64/multiarch/memcmp.S
9500 (memcmp_z196): Rename to __memcmp_z196.
9501 (memcmp_z10): Rename to __memcmp_z10.
9502 (memcmp): Set alias to __memcmp_z900.
9503 (bcmp): Set alias to __memcmp_z900.
9504 * sysdeps/s390/s390-64/multiarch/memcpy.S
9505 (memcpy_z196): Rename to __memcpy_z196.
9506 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9507 (memcpy_z10): Rename to __memcpy_z10.
9508 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9509 (memcpy): Set alias to __memcpy_z900.
9510 * sysdeps/s390/s390-64/multiarch/memset.S
9511 (memset_z196): Rename to __memset_z196.
9512 Jump to __memset_mvcle instead of memset_mvcle.
9513 (memset_z10): Rename to __memset_z10.
9514 Jump to __memset_mvcle instead of memset_mvcle.
9515 (memset_mvcle) Rename to __memset_mvcle.
9516 (memset): Set alias to __memset_z900.
9517
9518 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9519
9520 [BZ #17748]
9521 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9522 __fesetenv instead of fesetenv.
9523
9524 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9525
9526 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9527 macro.
9528
9529 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9530
9531 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9532 regression on LE.
9533
9534 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9535 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9536 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9537 strncmp-power8 object.
9538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9539 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9540 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9541 * NEWS: Update.
9542
9543 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9544 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9545
9546 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9547 trailing byte check.
9548
9549 2015-01-13 David S. Miller <davem@davemloft.net>
9550
9551 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9552
9553 2015-01-13 Roland McGrath <roland@hack.frob.com>
9554
9555 * login/logout.c (logout): Use memset rather than bzero.
9556 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9557 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9558 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9559 (_gethtbyaddr): Likewise.
9560 * locale/programs/simple-hash.c (bcopy): Macro removed.
9561
9562 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9563
9564 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9565 Add strcmp-power8 object.
9566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9567 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9568 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9569 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9570 __strcmp_power8 implementation.
9571 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9572 * NEWS: Update.
9573
9574 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9575 Add strncpy-power8 and stpncpy-power8 objects.
9576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9577 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9578 implementations.
9579 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9580 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9581 __stpncpy_power8 implementation.
9582 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9583 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9584 __strncpy_power8 implementation.
9585 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9586 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9587 * NEWS: Update.
9588
9589 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9590 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9591 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9592
9593 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9594 strncat-power8 object.
9595 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9596 __strcat_power8 implementation.
9597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9598 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9599 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9600 optimized strcat for power8.
9601
9602 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9603 strcpy-power8 and stpcpy-power8 objects.
9604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9605 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9606 implementations.
9607 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9608 multiarch stpcpy implementation for POWER8.
9609 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9610 multiarch strcpy implementation for POWER8.
9611 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9612 __strcpy_power8 function.
9613 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9614 stpcpy for POWER8.
9615 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9616 strcpy for POWER8.
9617 * NEWS: Update.
9618
9619 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9620
9621 [BZ #16009]
9622 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9623 weights and rules. Use do_xfrm_cached if data fits in cache,
9624 do_xfrm otherwise. Moved former main loop to...
9625 * (do_xfrm_cached): New function.
9626 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9627 find_idx, find_position and stack_push.
9628 * (find_idx): New function.
9629 * (find_position): Likewise.
9630 * localedata/sort-test.sh: Added test run for do_xfrm.
9631 * localedata/xfrm-test.c (main): Added command line option
9632 -nocache to run the test with strings that are too large for
9633 the STRXFRM cache.
9634
9635 2015-01-13 Torvald Riegel <triegel@redhat.com>
9636
9637 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9638 variable to lll_futex_wake call, not the value itself.
9639
9640 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9641
9642 [BZ #17803]
9643 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9644 twom64. Adjust value to 0x1p-64L.
9645 (__scalblnl): Only return standard underflowing result for K <=
9646 -64 not K <= -63; adjust exponent for underflowing result by 64
9647 not 63.
9648 * math/libm-test.inc (scalbn_test_data): Add more tests.
9649 (scalbln_test_data): Likewise.
9650
9651 [BZ #17834]
9652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9653 0x1p63L.
9654 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9655 not HX.
9656 * math/libm-test.inc (scalbn_test_data): Add more tests.
9657 (scalbln_test_data): Likewise.
9658
9659 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9660 Stefani Seibold <stefani@seibold.net>
9661
9662 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9663 (sysdep_routines): Add dl-vdso here, ...
9664 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9665 (sysdep_routines): ... not here.
9666 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9667 fallback when vDSO is not presented.
9668 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9669 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9670 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9671 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9672 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9673 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9674 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9676 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9678 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9679 fallback configurable symbol when vDSO is not available.
9680 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9681 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9682 be able to redefine fallback symbol when vDSO is not available.
9683 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9684 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9685
9686 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9687
9688 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9689 (TLS_INIT_TP): Add tm_capable initialization.
9690 (TLS_DEFINE_INIT_TP): Likewise.
9691 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9692 TCB.
9693 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9694 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9695 calculation.
9696 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9697 transactoion is lock elision is built and TCB tm_capable is set.
9698 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9700 (INTERNAL_SYSCALL_NCS): Likewise.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9702 (INTERNAL_SYSCALL_NCS): Likewise.
9703 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9704
9705 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9706 for powerpc.
9707 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9708 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9709 and remove it for 32 bits case.
9710 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9711 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9712 initialization.
9713 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9714 Disable lock elision with rdlocks if elision is not available.
9715
9716 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9717 (sysdep_routines): Add lock elision objects.
9718 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9719 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9720 [pthread_mutex_t] (__elision): Add field.
9721 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9722 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9723 elision definitions for powerpc.
9724 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9725 implementation of lock elision for powerpc.
9726 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9727 implementation of timed lock elision for powerpc.
9728 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9729 implementation of trylock with lock elision for powerpc.
9730 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9731 implementaion of unlock for lock elision for powerpc.
9732 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9733 automatic enable lock elision for mutexes.
9734 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9735 transaction execution definitions for powerpc.
9736 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9737 definitions.
9738 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9739 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9740 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9741 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9742 * NEWS: Update.
9743
9744 2015-01-09 Roland McGrath <roland@hack.frob.com>
9745
9746 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9747 for #include of <shm-directory.h>.
9748
9749 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9750
9751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9752 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9753
9754 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9755
9756 [BZ #17791]
9757 * NEWS: Mention bug fix.
9758 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9759 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9760 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9761
9762 2015-01-09 Torvald Riegel <triegel@redhat.com>
9763
9764 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9765
9766 2015-01-09 Torvald Riegel <triegel@redhat.com>
9767
9768 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9769
9770 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9771
9772 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9773 pointer and cast to uintptr_t.
9774
9775 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9776
9777 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9778 removed.
9779 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9780
9781 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9782
9783 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9784 of 0.
9785
9786 2015-01-08 Roland McGrath <roland@hack.frob.com>
9787
9788 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9789 <nptl/pthreadP.h> instead.
9790 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9791
9792 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9793 already defined.
9794 [__SIGRTMIN] (init): Function removed.
9795 [__SIGRTMIN] (initialized): Variable removed.
9796 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9797 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9798 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9799 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9800 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9801 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9802 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9803 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9804 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9805 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9806 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9807 * sysdeps/nptl/allocrtsig.c: New file.
9808 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9809 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9810 * sysdeps/generic/testrtsig.h: File removed.
9811
9812 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9813 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9814
9815 * nptl/nptl-init.c (pthread_functions): Conditionalize
9816 .ptr__nptl_setxid initialization on [SIGSETXID].
9817
9818 * sysdeps/nptl/sys/procfs.h: New file.
9819 * nptl_db/Makefile (headers): Add it.
9820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9821
9822 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9823 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9824 * nptl/pthread_attr_setaffinity.c: Include it.
9825 * nptl/pthread_setattr_default_np.c: Likewise.
9826 * nptl/check-cpuset.h: New file.
9827
9828 2015-01-08 Richard Henderson <rth@redhat.com>
9829
9830 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9831 (CFLAGS-tst-execstack-prog.c): Likewise.
9832 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9833
9834 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9835 Sandra Loosemore <sandra@codesourcery.com>
9836 Andrew Jenner <andrew@codesourcery.com>
9837 Joseph Myers <joseph@codesourcery.com>
9838 Nathan Sidwell <nathan@codesourcery.com>
9839
9840 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9841 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9842 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9843 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9844 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9845 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9846 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9847 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9848 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9849 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9850 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9851 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9852 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9853 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9854 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9855 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9856 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9857
9858 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9859
9860 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9861 timespec struct member in syscall macro.
9862 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9863 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9864 first timeval struct member in syscall macro.
9865 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9866
9867 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9868
9869 [BZ #17748]
9870 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9871 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9872 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9873 __feupdateenv and define as weak alias of __feupdateenv. Use
9874 libm_hidden_weak.
9875 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9876 libm_hidden_def.
9877 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9878 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9879 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9880 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9881 libm_hidden_def.
9882 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9883 __feupdateenv and define as weak alias of __feupdateenv. Use
9884 libm_hidden_weak.
9885 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9886 libm_hidden_def.
9887 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9888 __feupdateenv and define as weak alias of __feupdateenv. Use
9889 libm_hidden_weak.
9890 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9891 libm_hidden_def.
9892 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9893 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9894 (__feupdateenv): Likewise.
9895 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9896 __feupdateenv and define as weak alias of __feupdateenv. Use
9897 libm_hidden_weak.
9898 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9899 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9900 libm_hidden_def.
9901 * sysdeps/tile/math_private.h (__feupdateenv): New inline
9902 function.
9903 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9904 libm_hidden_def.
9905 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9906 __feupdateenv instead of feupdateenv.
9907 (default_libc_feupdateenv_test): Likewise.
9908 (libc_feresetround_ctx): Likewise.
9909
9910 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9911
9912 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9913 prototype.
9914
9915 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
9916
9917 * posix/regcomp.c (parse_bracket_exp): Initialize type to
9918 COLL_SYM in a couple of places to avoid uninitialized variable
9919 wanings on tilegx gcc 4.8.2.
9920
9921 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9922
9923 * sysdeps/aarch64/strcpy.S: New file.
9924 * sysdeps/aarch64/stpcpy.S: New file.
9925 * NEWS: Updated.
9926
9927 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9928
9929 * sysdeps/aarch64/strrchr.S: New file.
9930 * NEWS: Updated.
9931
9932 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9933
9934 [BZ #17658]
9935 * stdlib/setenv.c: Fix memory leak when setting large,
9936 duplicate string.
9937
9938 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9939
9940 [BZ #17273]
9941 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9942 and tabs from buffer before parsing fstab entry.
9943 * misc/tst-mntent.c (main): Add test for mount entry with
9944 trailing spaces and tabs.
9945
9946 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9947
9948 [BZ #17748]
9949 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9950 * math/fesetround.c (fesetround): Rename to __fesetround and
9951 define as weak alias of __fesetround. Use libm_hidden_weak.
9952 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9953 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9954 * sysdeps/arm/fesetround.c (fesetround): Likewise.
9955 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9956 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9957 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9958 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9959 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9960 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9961 __fesetround_inline.
9962 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9963 __fesetround_inline instead of __fesetround.
9964 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9965 __fesetround and define as weak alias of __fesetround. Use
9966 libm_hidden_weak. Call __fesetround_inline instead of
9967 __fesetround.
9968 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9969 __fesetround and define as weak alias of __fesetround. Use
9970 libm_hidden_weak.
9971 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9972 Likewise.
9973 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9974 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9975 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9976 * sysdeps/tile/math_private.h (__fesetround): New inline function.
9977 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9978 __fesetround and define as weak alias of __fesetround. Use
9979 libm_hidden_weak.
9980 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9981 __fesetround instead of fesetround.
9982 (default_libc_feholdexcept_setround): Likewise.
9983 (libc_feholdsetround_ctx): Likewise.
9984 (libc_feholdsetround_noex_ctx): Likewise.
9985
9986 [BZ #17748]
9987 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9988 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9989 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9990 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9991 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9992 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9993 define as weak alias of __fesetenv. Use libm_hidden_weak.
9994 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9995 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9996 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9997 define as weak alias of __fesetenv. Use libm_hidden_weak.
9998 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9999 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10000 define as weak alias of __fesetenv. Use libm_hidden_weak.
10001 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10002 libm_hidden_def.
10003 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10004 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10005 Likewise.
10006 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10007 define as weak alias of __fesetenv. Use libm_hidden_weak.
10008 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10009 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10010 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10011 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10012 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10013 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10014 __fesetenv instead of fesetenv.
10015 (libc_feresetround_noex_ctx): Likewise.
10016 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10017 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10018 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10019 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10020 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10021 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10022 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10023 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10024 (__feupdateenv): Likewise.
10025 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10026 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10027 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10028 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10029
10030 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10031
10032 [BZ #17806]
10033 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10034 addresses have been freed.
10035
10036 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10037
10038 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10039 and nservall.
10040
10041 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10042
10043 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10044 Clean up check_pf allocation pattern. addresses
10045
10046 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10047
10048 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10049 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10050 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10051 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10052 * nptl/pthread_join.c (pthread_join): Likewise.
10053 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10054 * sysdeps/posix/waitid.c (__waitid): Likewise.
10055 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10056 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10057 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10058 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10059 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10060 Likewise.
10061 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10062 (__libc_pread64): Likewise.
10063 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10064 (__libc_pwrite): Likewise.
10065 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10066 (__libc_pwrite64): Likewsie.
10067 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10068 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10069 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10070 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10071 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10072 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10073 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10075 Likewise.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10077 (__libc_pread64): Likewise.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10079 Likewise.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10081 (__libc_pwrite64): Likewise.
10082 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10083 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10084 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10085 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10086 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10087 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10088 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10089 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10090 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10091 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10092 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10093 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10094 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10095 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10096 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10097 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10098 Likewise.
10099
10100 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10101
10102 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10103 (CFLAGS-test-double.c): Likewise.
10104 (CFLAGS-test-ldouble.c): Likewise.
10105 (CPPFLAGS-test-ifloat.c): Likewise.
10106 (CPPFLAGS-test-idouble.c): Likewise.
10107 (CPPFLAGS-test-ildoubl.c): Likewise.
10108 (CFLAGS-test-test-fenv.c): Remove variable.
10109 (CFLAGS-test-misc.c): Likewise.
10110
10111 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10112
10113 [BZ #17797]
10114 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10115 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10116 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10117 CLOCKS_PER_SEC == 1000000.
10118 * time/clocktest.c (main): Replace %ld with %jd and cast to
10119 intmax_t.
10120
10121 2015-01-05 Roland McGrath <roland@hack.frob.com>
10122
10123 * sysdeps/generic/unwind-resume.h: New file.
10124 * sysdeps/gnu/unwind-resume.c: Include it.
10125 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10126 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10127 argument list.
10128 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10129 global rather than static.
10130 (_Unwind_Resume): Update user.
10131 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10132 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10133 rather than static. Add __attribute__ ((cold)).
10134 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10135 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10136 * sysdeps/arm/arm-unwind-resume.S: New file.
10137 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10138 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10139 * sysdeps/arm/Makefile [$(subdir) = csu]
10140 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10141 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10142 Add rt-arm-unwind-resume.
10143 [$(subdir) = nptl]
10144 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10145 Add pt-arm-unwind-resume.
10146 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10147 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10148
10149 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10150
10151 [BZ #17748]
10152 * include/fenv.h (__feholdexcept): Declare. Use
10153 libm_hidden_proto.
10154 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10155 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10156 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10157 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10158 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10159 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10160 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10161 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10162 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10163 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10164 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10165 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10166 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10167 (feholdexcept): Likewise.
10168 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10169 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10170 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10171 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10172 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10173 __feholdexcept instead of feholdexcept.
10174 (default_libc_feholdexcept_setround): Likewise.
10175
10176 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10177
10178 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10179 to avoid using stl/str to align destination.
10180
10181 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10182
10183 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10184
10185 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10186
10187 [BZ #17796]
10188 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10189 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10190 Define as weak alias not strong alias.
10191
10192 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10193
10194 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10195 bltzal with addiupc.
10196 (RTLD_START): Ditto.
10197
10198 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10199
10200 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10201 for __vdso_* functions in declarations.
10202 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10203 definitions.
10204 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10205 INTERNAL_VSYSCALL): Use struct return types to check for error.
10206
10207 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10208 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10209 function with cast from llround().
10210 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10211 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10212 Define.
10213
10214 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10215
10216 [BZ #17793]
10217 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10218 Define as weak alias not strong alias.
10219
10220 [BZ #17635]
10221 * ctype/ctype-c99.c: New file. isblank implementation moved from
10222 ...
10223 * ctype/ctype-extn.c: ... here.
10224 (__isblank_l): Move to ...
10225 * ctype/ctype-c99_l.c: ... here. New file.
10226 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10227 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10228 Remove variable.
10229 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10230 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10231 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10232 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10233 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10234
10235 [BZ #17777]
10236 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10237 (posix_fadvise64): Define as weak alias not strong alias.
10238 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10239 (posix_fallocate64): Likewise.
10240 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10241 Remove variable.
10242 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10243 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10244 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10245 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10246 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10247
10248 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10249
10250 [BZ #16191]
10251 * NEWS: Mention bug fix.
10252 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10253 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10254 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10255 (HOST_STACK_END_ADDR): Likewise.
10256
10257 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10258
10259 [BZ #17748]
10260 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10261 * math/fegetround.c (fegetround): Rename to __fegetround and
10262 define as weak alias of __fegetround. Use libm_hidden_weak.
10263 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10264 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10265 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10266 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10267 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10268 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10269 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10270 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10271 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10272 Undefine after rather than before function definition; use
10273 parentheses around function name in definition.
10274 (__fegetround): Also undefine macro after function definition.
10275 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10276 __fegetround and define as weak alias of __fegetround. Use
10277 libm_hidden_weak. Do not undefine as macro.
10278 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10279 Likewise.
10280 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10281 __fegetround and define as weak alias of __fegetround. Use
10282 libm_hidden_weak.
10283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10284 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10285 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10286 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10287 __fegetround and define as weak alias of __fegetround. Use
10288 libm_hidden_weak.
10289 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10290 __fegetround instead of fegetround.
10291
10292 [BZ #17782]
10293 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10294 Condition macro definition on [__USE_MISC].
10295
10296 [BZ #17781]
10297 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10298 (struct sigaction): Change type of sa_flags field to int.
10299
10300 [BZ #17780]
10301 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10302 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10303 __glibc_reserved0.
10304
10305 * nptl/version.c (banner): Use single year in copyright notice.
10306
10307 * NEWS: Update copyright dates.
10308 * catgets/gencat.c (print_version): Likewise.
10309 * csu/version.c (banner): Likewise.
10310 * debug/catchsegv.sh: Likewise.
10311 * debug/pcprofiledump.c (print_version): Likewise.
10312 * debug/xtrace.sh (do_version): Likewise.
10313 * elf/ldconfig.c (print_version): Likewise.
10314 * elf/ldd.bash.in: Likewise.
10315 * elf/pldd.c (print_version): Likewise.
10316 * elf/sotruss.sh: Likewise.
10317 * elf/sprof.c (print_version): Likewise.
10318 * iconv/iconv_prog.c (print_version): Likewise.
10319 * iconv/iconvconfig.c (print_version): Likewise.
10320 * locale/programs/locale.c (print_version): Likewise.
10321 * locale/programs/localedef.c (print_version): Likewise.
10322 * login/programs/pt_chown.c (print_version): Likewise.
10323 * malloc/memusage.sh (do_version): Likewise.
10324 * malloc/memusagestat.c (print_version): Likewise.
10325 * malloc/mtrace.pl: Likewise.
10326 * manual/libc.texinfo: Likewise.
10327 * nptl/version.c (banner): Likewise.
10328 * nscd/nscd.c (print_version): Likewise.
10329 * nss/getent.c (print_version): Likewise.
10330 * nss/makedb.c (print_version): Likewise.
10331 * posix/getconf.c (main): Likewise.
10332 * scripts/test-installation.pl: Likewise.
10333 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10334
10335 2015-01-02 Will Newton <will.newton@linaro.org>
10336
10337 * sysdeps/arm/armv7/configure: Removed.
10338 * sysdeps/arm/armv7/configure.ac: Likewise.
10339
10340 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10341
10342 * All files with FSF copyright notices: Update copyright dates
10343 using scripts/update-copyrights.
10344 * intl/plural.c: Regenerated.
10345 * locale/programs/charmap-kw.h: Likewise.
10346 * locale/programs/locfile-kw.h: Likewise.
10347
10348 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10349
10350 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10351
10352 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10353
10354 [BZ #17748]
10355 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10356 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10357 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10358 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10359 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10360 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10361 define as weak alias of __fegetenv. Use libm_hidden_weak.
10362 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10363 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10364 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10365 define as weak alias of __fegetenv. Use libm_hidden_weak.
10366 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10367 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10368 define as weak alias of __fegetenv. Use libm_hidden_weak.
10369 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10370 libm_hidden_def.
10371 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10372 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10373 Likewise.
10374 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10375 define as weak alias of __fegetenv. Use libm_hidden_weak.
10376 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10377 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10378 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10379 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10380 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10381 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10382 __fegetenv instead of fegetenv.
10383 (libc_feholdsetround_noex_ctx): Likewise.
10384
10385 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10386
10387 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10388 (Elf_MIPS_ABIFlags_v0): New structure.
10389 (EF_MIPS_FP64): Define.
10390 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10391 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10392 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10393 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10394 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10395 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10396 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10397 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10398 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10399 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10400 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10401 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10402 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10403 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10404 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10405 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10406 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10407 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10408 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10409 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10410 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10411 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10412 field.
10413 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10414 EF_MIPS_FP64.
10415 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10416 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10417 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10418 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10419 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10420 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10421 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10422 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10423 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10424 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10425 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10426 record the current FP ABI extension.
10427 (mips-mode-switch): Define to show if kernel headers support mode
10428 switching.
10429 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10430 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10431 supported SYSV ABI version to 3.
10432 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10433 feature.
10434
10435 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10436 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10437
10438 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10439 path.
10440 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10441
10442 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10443
10444 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10445 __fegetround and redefine to call __fegetround. Remove condition
10446 on [!__NO_MATH_INLINES].
10447 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10448 function.
10449 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10450 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10451 Remove macro.
10452 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10453 instead of <fenv_libc.h>.
10454 (__llrintl): Call fegetround instead of __fegetround.
10455 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10456 instead of <fenv_libc.h>.
10457 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10458 (__lrintl): Call fegetround instead of __fegetround.
10459 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10460 instead of <fenv_libc.h>.
10461 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10462 (__rintl): Call fegetround instead of __fegetround.
10463
10464 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10465
10466 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10467 arrays.
10468
10469 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10470
10471 [BZ #17775]
10472 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10473 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10474 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10475
10476 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10477
10478 * sysdeps/i386/tls-macros.h: Include <features.h>.
10479 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10480 (TLS_IE): Likewise.
10481 (TLS_LD): Likewise.
10482 (TLS_GD): Likewise.
10483 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10484 define for GCC >= 5.0.
10485
10486 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10487
10488 * math/test-fenv.c (test_single_exception, set_single_exc,
10489 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10490 feexcp_mask_test, feenable_test, fe_single_test): Add
10491 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10492 case where they are not used.
10493 * math/libm-test.inc: Likewise.
10494 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10495 unused in the absence of FP rounding/exception support.
10496 * stdio-common/tst-printf-round.c: Likewise.
10497 * stdlib/tst-strtod-round.c: Likewise.
10498 * stdlib/tst-strtod-underflow.c: Likewise.
10499
10500 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10501
10502 [BZ #17723]
10503 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10504 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10505 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10506 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10507 libm_hidden_weak.
10508 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10509 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10510 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10511 libm_hidden_def.
10512 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10513 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10514 libm_hidden_weak.
10515 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10516 Likewise.
10517 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10518 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10519 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10520 libm_hidden_weak.
10521 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10522 libm_hidden_def.
10523 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10524 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10525 (__feraiseexcept): Likewise.
10526 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10527 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10528 libm_hidden_weak.
10529 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10530 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10531 libm_hidden_def.
10532 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10533 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10534 Use libm_hidden_def.
10535 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10536 libm_hidden_def.
10537 (feraiseexcept): Define as weak not strong alias. Use
10538 libm_hidden_weak.
10539 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10540 New inline function. Factored out of ...
10541 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10542 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10543 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10544 feraiseexcept.
10545 * math/w_acos.c (__acos): Likewise.
10546 * math/w_asin.c (__asin): Likewise.
10547 * math/w_ilogb.c (__ilogb): Likewise.
10548 * math/w_j0.c (y0): Likewise.
10549 * math/w_j1.c (y1): Likewise.
10550 * math/w_jn.c (yn): Likewise.
10551 * math/w_log.c (__log): Likewise.
10552 * math/w_log10.c (__log10): Likewise.
10553 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10554 * sysdeps/aarch64/fpu/math_private.h
10555 (libc_feupdateenv_test_aarch64): Likewise.
10556 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10557 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10558 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10559 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10560 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10561 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10562 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10563 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10564 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10565 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10566
10567 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10568
10569 [BZ #17732]
10570 * io/test-utime.c (main): Replace %ld with %jd and cast to
10571 intmax_t.
10572 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10573 * nptl/tst-mutex5.c: Include <stdint.h>.
10574 (do_test): Replace %ld with %jd and cast to intmax_t.
10575 * posix/tst-regex.c (run_test): Likewise.
10576 (run_test_backwards): Likewise.
10577 * rt/tst-clock.c: Include <stdint.h>.
10578 (clock_test): Replace %ld with %jd and cast to intmax_t.
10579 * rt/tst-cpuclock1.c: Include <stdint.h>.
10580 (do_test): Replace %lu with %ju and cast to uintmax_t.
10581 * rt/tst-cpuclock2.c: Include <stdint.h>.
10582 (do_test): Replace %lu with %ju and cast to uintmax_t.
10583 * rt/tst-mqueue1.c: Include <stdint.h>.
10584 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10585 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10586 intmax_t.
10587 * rt/tst-mqueue4.c (do_test): Likewise.
10588 * rt/tst-timer4.c: Include <stdint.h>.
10589 (check_ts): Replace %ld with %jd and cast to intmax_t.
10590 (do_test): Likewise.
10591 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10592 and cast to intmax_t.
10593 * sysdeps/pthread/tst-timer.c (main): Likewise.
10594 * time/clocktest.c (main): Likewise.
10595 * time/tst-posixtz.c (do_test): Likewise.
10596 * timezone/tst-timezone.c (main): Likewise.
10597
10598 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10599 H.J. Lu <hongjiu.lu@intel.com>
10600
10601 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10602 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10603 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10604 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10605 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10606 version if bit_Fast_Unaligned_Load is set.
10607 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10608 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10609 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10610 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10611 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10612 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10614 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10615 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10616 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10617 to 4.
10618 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10619 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10620 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10621 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10622
10623 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10624
10625 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10626 instead of #if to avoid a Wundef warning.
10627 * stdlib/tst-limits.c (do_test): Likewise.
10628
10629 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10630 parallel other exception macros.
10631 (fegetenv): Convert from macro to extern inline so that it applies
10632 retroactively to inline functions already seen by the compiler.
10633 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10634
10635 * posix/Makefile (before-compile): Use $(objpfx) for
10636 posix-conf-vars-def.h.
10637
10638 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10639
10640 * posix/getconf.c (main): Use size_t for type of I.
10641 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10642 NSPEC.
10643
10644 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10645 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10646 * posix/posix-envs.def: Likewise.
10647 * sysdeps/posix/sysconf.c: Likewise.
10648 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10649 (specs): Remove array.
10650 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10651 array.
10652
10653 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10654 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10655 (__sysconf): Use CONF_IS_* macros.
10656
10657 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10658 ($(objpfx)posix-conf-vars-def.h): New target.
10659 * posix/posix-conf-vars.list: New file.
10660 * posix/posix-conf-vars.h: New file.
10661 * posix/confstr.c: Include posix-conf-vars.h.
10662 (confstr): Use CONF_IS_* macros.
10663 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10664 CONF_IS_* macros.
10665 * scripts/gen-posix-conf-vars.awk: New file.
10666
10667 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10668
10669 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10670 fegetround): Add no-op macros to avoid linknamespace issues.
10671
10672 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10673 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10674
10675 * sysdeps/unix/sysv/linux/tile/sysdep.h
10676 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10677 assembly-specific section to avoid a redefinition warning.
10678
10679 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10680 long before casting to pointer to avoid a cast warning.
10681
10682 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10683
10684 * sysdeps/tile/tilegx/Implies: New file.
10685
10686 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10687
10688 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10689
10690 2014-12-23 Florian Weimer <fweimer@redhat.com>
10691
10692 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10693
10694 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10695
10696 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10697 not define.
10698 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10699 <kernel-features.h>.
10700 (__utimes) [__NR_utimes]: Make code unconditional.
10701 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10702 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10703 (__ASSUME_UTIMES): Do not undefine.
10704 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10705 (__ASSUME_UTIMES): Likewise.
10706 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10707 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10708 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10709 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10710
10711 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10712
10713 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10714
10715 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10716
10717 [BZ #17747]
10718 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10719 alias to weak alias for j0l, y0l.
10720 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10721 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10722
10723 [BZ #17746]
10724 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10725 conversion.
10726
10727 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10728
10729 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10730 to zero if not already defined.
10731
10732 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10733
10734 [BZ #17724]
10735 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10736 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10737 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10738 (char *) casts added.
10739 * sysdeps/ieee754/k_standardf.c: New file.
10740 * sysdeps/ieee754/k_standardl.c: Likewise.
10741 * math/Makefile (libm-support): Remove k_standard.
10742 (libm-calls): Add k_standard.
10743
10744 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10745
10746 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10747 Optimize to avoid an unnecessary FPCR read.
10748
10749 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10750
10751 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10752 Optimize to reduce FPCR/FPSR accesses.
10753
10754 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10755
10756 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10757 Call libc_fetestexcept_aarch64.
10758
10759 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10760
10761 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10762 Call libc_fesetround_aarch64.
10763
10764 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10765
10766 [BZ #17733]
10767 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10768 (__bind): Do not define as weak alias.
10769 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10770 define.
10771 (__getsockname): Do not define as weak alias.
10772
10773 2014-12-22 Will Newton <will.newton@linaro.org>
10774
10775 * manual/install.texi: Document that we require bison 2.7
10776 or above.
10777 * INSTALL: Regenerate.
10778 * configure.ac: Use AC_CHECK_PROG_VER instead of
10779 AC_PATH_PROG when checking for bison and check for
10780 version 2.7 or above.
10781 * configure: Regenerate.
10782
10783 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10784
10785 [BZ #17745]
10786 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10787 * sysdeps/tile/ffsll.c (ffsll): To here.
10788
10789 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10790
10791 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10792
10793 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10794 if not defined.
10795 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10796 definition.
10797 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10798 hidden ___tls_get_addr.
10799 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10800 hidden __tls_get_addr.
10801 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10802 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10803 Likewise.
10804
10805 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10806
10807 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10808 _dl_init call.
10809
10810 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10811
10812 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10813 from "call _dl_init@PLT".
10814 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10815
10816 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10817
10818 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10819 guarantees.
10820
10821 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10822
10823 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10824
10825 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10826
10827 [BZ #17744]
10828 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10829 strnlen.
10830
10831 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10832
10833 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10834 of multu on MIPSr6.
10835 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10836 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10837 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10838 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10839 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10840
10841 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10842
10843 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10844 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10845 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10846 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10847 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10848 mips32r6/mips64r6.
10849 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10850
10851 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10852
10853 * string/strncat.c (STRNCAT): Simplify implementation.
10854
10855 2014-12-19 David S. Miller <davem@davemloft.net>
10856
10857 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10858 access the quad as both a long double and as a series of 4 words.
10859
10860 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10861 link_map->l_info array access.
10862
10863 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10864
10865 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10866
10867 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10868 * math/atest-exp2.c (TIMEOUT): Likewise.
10869 * math/atest-sincos.c (TIMEOUT): Likewise.
10870
10871 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10872
10873 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10874 -Wno-error with -fno-builtin-lround.
10875
10876 2014-12-19 Torvald Riegel <triegel@redhat.com>
10877
10878 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10879 Contains futex constants and functions moved over from ...
10880 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10881 <lowlevellock-futex.h>.
10882 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10883 (lll_timedwait_tid): Add comments and parentheses around macro
10884 arguments.
10885
10886 2014-12-19 Torvald Riegel <triegel@redhat.com>
10887
10888 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10889 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10890 (__lll_private_flag): Remove.
10891 (lll_futex_wait): Likewise.
10892 (lll_futex_timed_wait): Likewise.
10893 (lll_futex_wake): Likewise.
10894 (lll_futex_requeue): Likewise.
10895 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10896 (__lll_timedwait_tid): Spell out argument names.
10897 (lll_timedwait_tid): Add comments and parentheses around macro
10898 arguments.
10899 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10900 LLL_SHARED and LLL_PRIVATE usable from assembly code.
10901
10902 2014-12-19 Torvald Riegel <triegel@redhat.com>
10903
10904 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10905 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10906 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10907 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10908 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10909 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10910 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10911 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10912 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10913 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10914 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10915 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10916 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10917 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10918 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10919 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10920 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10921 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10922 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10923
10924 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10925
10926 * sysdeps/x86_64/x32/Makefile: New file.
10927
10928 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10929
10930 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10931 1L with (mp_limb_t) 1.
10932
10933 2014-12-17 Roland McGrath <roland@hack.frob.com>
10934
10935 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10936 * nptl/libc_pthread_init.c: ... here.
10937 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10938 * nptl/register-atfork.c: ... here.
10939
10940 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10941 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10942 Use assert_perror to check its return value.
10943 (__gai_create_helper_thread): Likewise.
10944
10945 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10946
10947 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10948
10949 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10950
10951 [BZ #17725]
10952 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10953 __profil_counter.
10954 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10955 Likewise.
10956 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10957 Likewise.
10958 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10959 Likewise.
10960 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10961 (profil_counter): Likewise.
10962 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10963 (profil_counter): Likewise.
10964 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10965 Likewise.
10966 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10967 Likewise.
10968 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10969 (profil_counter): Likewise.
10970 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10971 Likewise.
10972 [!__profil_counter] (profil_counter): Define as weak alias of
10973 __profil_counter.
10974 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10975 (profil_counter): Rename to __profil_counter.
10976 [!__profil_counter] (profil_counter): Define as weak alias of
10977 __profil_counter.
10978 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10979 (profil_counter): Rename to __profil_counter.
10980 [!__profil_counter] (profil_counter): Define as weak alias of
10981 __profil_counter.
10982 * sysdeps/posix/profil.c: Update comment referring to
10983 profil_counter.
10984 (__profil): Use __profil_counter instead of profil_counter.
10985 * sysdeps/posix/sprofil.c (profil_counter): Rename to
10986 __profil_counter. Use __profil_counter_ushort and
10987 __profil_counter_uint in definitions.
10988 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10989 instead of profil_counter_uint and profil_counter_ushort.
10990
10991 [BZ #17722]
10992 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10993 define as weak alias of __inet_makeaddr.
10994 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10995 as weak alias of __inet_addr.
10996 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10997 as weak alias of __inet_pton. Use libc_hidden_weak.
10998 * include/arpa/inet.h (__inet_pton): Declare. Use
10999 libc_hidden_proto.
11000 (inet_makeaddr): Don't use libc_hidden_proto.
11001 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11002 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11003 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11004 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11005 Remove variable.
11006 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11007 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11008
11009 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11010
11011 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11012
11013 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11014
11015 * stdio-common/bug-vfprintf-nargs.c (do_test):
11016 Cast value to intptr_t to avoid format warning
11017 for usage with PRIdPTR printing macro.
11018
11019 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11020
11021 * libio/tst-widetext.c (do_test):
11022 Use format type %td instead of %Zd for ptrdiff_t
11023 in order to avoid format warning.
11024
11025 2014-12-17 Andreas Schwab <schwab@suse.de>
11026
11027 * nscd/mem.c (gc): Add size_t cast to match printf format.
11028
11029 2014-12-16 Roland McGrath <roland@hack.frob.com>
11030
11031 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11032 (init): Apply PTR_MANGLE to pointers before storing them.
11033 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11034 before using them.
11035
11036 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11037
11038 [BZ #17719]
11039 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11040 define as weak alias of __memrchr.
11041 (__memrchr): Do not define as strong alias of memrchr.
11042 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11043 Remove variable.
11044 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11045 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11046 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11047
11048 [BZ #17717]
11049 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11050 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11051 (if_indextoname): Rename to __if_indextoname and define as weak
11052 alias of __if_indextoname. Use libc_hidden_weak.
11053 (if_freenameindex): Rename to __if_freenameindex and define as
11054 weak alias of __if_freenameindex.
11055 (if_nameindex): Rename to __if_nameindex and define as weak alias
11056 of __if_nameindex.
11057 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11058 __if_nametoindex and define as weak alias of __if_nametoindex.
11059 Use libc_hidden_weak.
11060 (if_freenameindex): Rename to __if_freenameindex and define as
11061 weak alias of __if_freenameindex.
11062 (if_nameindex): Rename to __if_nameindex and define as weak alias
11063 of __if_nameindex.
11064 (if_indextoname): Rename to __if_indextoname and define as weak
11065 alias of __if_indextoname. Use libc_hidden_weak.
11066 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11067 __if_nametoindex and define as weak alias of __if_nametoindex.
11068 Use libc_hidden_weak.
11069 (if_freenameindex): Rename to __if_freenameindex and define as
11070 weak alias of __if_freenameindex. Use libc_hidden_weak.
11071 (if_nameindex_netlink): Use __if_freenameindex instead of
11072 if_freenameindex.
11073 (if_nameindex): Rename to __if_nameindex and define as weak alias
11074 of __if_nameindex. Use libc_hidden_weak.
11075 (if_indextoname): Rename to __if_indextoname and define as weak
11076 alias of __if_indextoname. Use libc_hidden_weak.
11077 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11078 libc_hidden_proto.
11079 [!_ISOMAC] (__if_freenameindex): Likewise.
11080 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11081 if_nametoindex.
11082 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11083 variable.
11084 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11085 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11086 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11087 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11088 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11089 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11090 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11091
11092 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11093 Remove variable.
11094 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11095 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11096
11097 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11098
11099 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11100 subscript above bounds'
11101
11102 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11103 bounds.
11104
11105 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11106
11107 * libio/tst-fopenloc.c: Use test-skeleton.c.
11108
11109 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11110 (entry): Rename to ITEM.
11111 (do_test, comp): Adjust.
11112
11113 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11114
11115 2014-12-16 Torvald Riegel <triegel@redhat.com>
11116
11117 * string/tester.c: Include <libc-internal.h>.
11118 (test_memset): Ignore -Wmemset-transposed-args.
11119
11120 2014-12-16 Torvald Riegel <triegel@redhat.com>
11121
11122 * misc/tst-mntent2.c (do_test): Fix warning.
11123
11124 2014-12-16 Torvald Riegel <triegel@redhat.com>
11125
11126 * elf/tst-unique4lib.cc(a): Mark as used.
11127
11128 2014-12-16 Florian Weimer <fweimer@redhat.com>
11129
11130 [BZ #17630]
11131 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11132 names.
11133
11134 2014-12-16 Allan McRae <allan@archlinux.org>
11135
11136 * stdio-common/Makefile (tests): Re-add bug26.
11137
11138 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11139
11140 [BZ #17657]
11141 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11142 static array.
11143
11144 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11145
11146 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11147 (__lll_lock_wait): Likewise.
11148 (__lll_timedlock_wait): Likewise.
11149 (__lll_timedwait_tid): Likewise.
11150 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11151 (__lll_robust_timedlock_wait): Likewise.
11152 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11153 (lll_cond_trylock): Likewise.
11154 (__lll_lock): Likewise.
11155 (__lll_robust_lock): Likewise.
11156 (__lll_cond_lock): Likewise.
11157 (lll_robust_cond_lock): Likewise.
11158 (__lll_timedlock): Likewise.
11159 (__lll_robust_timedlock): Likewise.
11160 (__lll_unlock): Likewise.
11161 (__lll_robust_unlock): Likewise.
11162 (lll_wait_tid): Likewise.
11163 (lll_timedwait_tid): Likewise.
11164
11165 2014-12-15 Torvald Riegel <triegel@redhat.com>
11166
11167 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11168
11169 2014-12-15 Torvald Riegel <triegel@redhat.com>
11170
11171 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11172
11173 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11174
11175 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11176 * stdio-common/tst-sprintf.c: Likewise.
11177
11178 2014-12-15 Torvald Riegel <triegel@redhat.com>
11179
11180 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11181
11182 2014-12-15 Jeff Law <law@redhat.com>
11183
11184 [BZ #16617]
11185 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11186 on the heap. (CVE-2012-3406)
11187 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11188 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11189 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11190
11191 2014-12-15 Will Newton <will.newton@linaro.org>
11192
11193 * manual/install.texi: Bump required version of texinfo
11194 to 4.7 from 4.5.
11195 * INSTALL: Regenerated.
11196 * configure.ac: Check for makeinfo version 4.7 and above.
11197 * configure: Regenerated.
11198
11199 2014-12-12 Roland McGrath <roland@hack.frob.com>
11200
11201 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11202 PREFIX, string constant to insert between directory and name.
11203 * sysdeps/posix/shm_open.c: Update caller.
11204 * sysdeps/posix/shm_unlink.c: Likewise.
11205 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11206 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11207 (SEM_SHM_PREFIX): New macro.
11208 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11209 [$(have-thread-library) = no].
11210 * nptl/Makefile (libpthread-routines): Add shm-directory.
11211 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11212 * sysdeps/nptl/shm-directory.h: New file.
11213 * sysdeps/posix/shm-directory.c
11214 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11215 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11216 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11217 INTERNAL_SYSCALL.
11218 (__where_is_shmfs): Function removed.
11219 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11220 Variables removed.
11221 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11222 Use SHM_GET_NAME.
11223 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11224
11225 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11226 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11227 unconditional for use inside libpthread.
11228 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11229
11230 2014-12-12 Roland McGrath <roland@hack.frob.com>
11231
11232 * nptl/pthread_getaffinity.c: New file.
11233 * nptl/pthread_setaffinity.c: New file.
11234 * nptl/pthread_getname.c: New file.
11235 * nptl/pthread_setname.c: New file.
11236
11237 * nptl/pthread_create.c (START_THREAD_DEFN)
11238 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11239
11240 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11241 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11242
11243 * resolv/res_send.c (send_vc): Disable warning resplen may
11244 be used uninitialized.
11245
11246 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11247
11248 * nptl/tst-mutex6.c
11249 (ATTR_NULL): New define checks ATTR against NULL.
11250 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11251 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11252
11253 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11254
11255 [BZ #17581]
11256 * malloc/hooks.c
11257 (mem2mem_check): Revert my previous change.
11258 (malloc_check_get_size): Revert my previous change.
11259 (mem2chunk_check): Revert my previous change.
11260
11261 2014-12-11 Roland McGrath <roland@hack.frob.com>
11262
11263 * sysdeps/posix/shm-directory.c: New file.
11264 * sysdeps/posix/shm-directory.h: New file.
11265 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11266 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11267 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11268 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11269 Transmute EPERM to EACCES.
11270 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11271 from ...
11272 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11273 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11274
11275 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11276
11277 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11278 pointer and cast to uintptr_t.
11279 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11280 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11281 Add cast to avoid warning.
11282 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11283
11284 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11285
11286 * nptl/semaphore.h: Move to ...
11287 * sysdeps/pthread/semaphore.h: ... here.
11288 * Makefile (installed-headers): Change nptl/semaphore.h to
11289 sysdeps/pthread/semaphore.h.
11290
11291 2014-12-11 Roland McGrath <roland@hack.frob.com>
11292
11293 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11294 generated error format strings.
11295
11296 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11297 -Wformat-extra-args warnings for scanf formats.
11298 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11299 test of zero-length format (duh).
11300 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11301 corner-case scanf format test.
11302 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11303 generated fprintf format string.
11304 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11305 corner-case sprintf format tests.
11306 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11307 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11308 -Wformat-extra-args warnings throughout.
11309 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11310 (CFLAGS-scanf4.c): Likewise.
11311 (CFLAGS-scanf7.c): Likewise.
11312 (CFLAGS-tst-sprintf.c): Likewise.
11313 (CFLAGS-tst-printf.c): Likewise.
11314 (CFLAGS-tst-printfsz.c): Likewise.
11315
11316 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11317
11318 * include/cpio.h: New file.
11319 * include/fmtmsg.h: Likewise.
11320
11321 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11322 corresponding format argument to size_t.
11323 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11324 arguments.
11325 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11326 corresponding format argument to size_t.
11327 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11328 arguments.
11329 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11330 corresponding format argument to size_t.
11331 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11332 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11333 (CFLAGS-tst-mbswcs2.c): Likewise.
11334 (CFLAGS-tst-mbswcs3.c): Likewise.
11335 (CFLAGS-tst-mbswcs4.c): Likewise.
11336 (CFLAGS-tst-mbswcs5.c): Likewise.
11337 (CFLAGS-tst-trans.c): Likewise
11338
11339 2014-12-11 Roland McGrath <roland@hack.frob.com>
11340
11341 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11342 rather than assuming they won't contain any '%'s.
11343
11344 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11345
11346 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11347 inhibit_loop_to_libcall to avoid recursive calls.
11348 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11349 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11350
11351 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11352
11353 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11354 prototype.
11355
11356 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11357
11358 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11359 integer value instead of boolean.
11360
11361 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11362
11363 * malloc/malloc.c: Fix powerof2 check.
11364
11365 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11366
11367 * locale/programs/locfile.h (maybe_swap_uint32):
11368 Remove inline and add unused attribute.
11369
11370 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11371
11372 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11373 Truncating assembler expression to a .long expression.
11374
11375 2014-12-11 Andreas Schwab <schwab@suse.de>
11376
11377 * elf/rtld.c (struct map_args): Constify str member.
11378 (do_preload): Constify fname argument.
11379
11380 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11381
11382 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11383 constants definition.
11384
11385 2014-12-11 Andreas Schwab <schwab@suse.de>
11386
11387 [BZ #16657]
11388 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11389 FORCE_ELISION instead of DO_ELISION.
11390 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11391 Remove.
11392 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11393 Likewise.
11394
11395 * iconvdata/gconv-modules: Remove duplicate entry.
11396
11397 2014-12-11 Will Newton <will.newton@linaro.org>
11398
11399 Merge gettext 0.19.3 into intl/.
11400
11401 This involves a number of cosmetic changes to comments
11402 and ANSI function definitions and prototypes throughout
11403 all the files. The gettext copyright header is used but
11404 with the date ranges taken from the glibc copy.
11405
11406 * NEWS: Add gettext merge to 2.21.
11407 * intl/bindtextdom.c: Switch to gettext copyright.
11408 Use ANSI definitions and prototypes.
11409 Use gl_* locking primitives rather than __libc_* ones.
11410 Use __builtin_expect rather than __glibc_likely/unlikely.
11411 * intl/dcgettext.c: Switch to gettext copyright.
11412 Use ANSI definitions and prototypes.
11413 * intl/dcigettext.c: Switch to gettext copyright.
11414 Use ANSI definitions and prototypes.
11415 (INTDIV0_RAISES_SIGFPE): New define.
11416 Use gl_* locking primitives rather than __libc_* ones.
11417 Include eval-plural.h instead of plural-eval.c.
11418 Use __builtin_expect rather than __glibc_likely/unlikely.
11419 * intl/dcngettext.c: Switch to gettext copyright.
11420 Use ANSI definitions and prototypes.
11421 * intl/dgettext.c: Likewise.
11422 * intl/dngettext.c: Likewise.
11423 * intl/plural-eval.c: Renamed to...
11424 * intl/eval-plural.h: ...this.
11425 * intl/explodename.c: Switch to gettext copyright.
11426 Use ANSI definitions and prototypes.
11427 (_nl_explode_name): Use strchr instead of __rawmemchr.
11428 * intl/finddomain.c: Switch to gettext copyright.
11429 Use ANSI definitions and prototypes.
11430 Use gl_* locking primitives rather than __libc_* ones.
11431 (_nl_find_domain): Use malloc rather than alloca for
11432 allocation of temporary locale name.
11433 * intl/gettext.c: Switch to gettext copyright.
11434 Use ANSI definitions and prototypes.
11435 * intl/gettextP.h: Switch to gettext copyright.
11436 Use ANSI definitions and prototypes.
11437 Use gl_* locking primitives rather than __libc_* ones.
11438 * intl/gmo.h: Switch to gettext copyright.
11439 (struct sysdep_string): Move struct segment_pair outside of
11440 struct definition.
11441 * intl/hash-string.c: Use ANSI definitions and prototypes.
11442 * intl/hash-string.h: Switch to gettext copyright.
11443 Use ANSI definitions and prototypes.
11444 * intl/l10nflist.c: Switch to gettext copyright.
11445 Use ANSI definitions and prototypes.
11446 (_nl_normalize_codeset): Avoid integer overflow.
11447 * intl/loadinfo.h: Switch to gettext copyright.
11448 Use ANSI definitions and prototypes.
11449 (LIBINTL_DLL_EXPORTED): New define.
11450 (PATH_SEPARATOR): New define.
11451 * intl/loadmsgcat.c: Switch to gettext copyright.
11452 * intl/localealias.c: Switch to gettext copyright.
11453 Use ANSI definitions and prototypes.
11454 (_nl_expand_alias): Use PATH_SEPARATOR.
11455 * intl/ngettext.c: Switch to gettext copyright.
11456 Use ANSI definitions and prototypes.
11457 * intl/plural-exp.c: Likewise.
11458 * intl/plural-exp.h: Switch to gettext copyright.
11459 Use ANSI definitions and prototypes.
11460 (struct expression): Move definition of enum operator outside
11461 of struct definition.
11462 * intl/plural.c: Regenerate.
11463 * intl/plural.y: Switch to gettext copyright.
11464 Use ANSI definitions and prototypes.
11465 Port to bison 3.0.
11466 * intl/textdomain.c: Switch to gettext copyright.
11467 Use ANSI definitions and prototypes.
11468 Use gl_* locking primitives rather than __libc_* ones.
11469
11470 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11471
11472 * debug/warning-nop.c: Add used atrribute.
11473
11474 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11475
11476 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11477
11478 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11479 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11480 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11481
11482 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11483 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11484
11485 [BZ #17634]
11486 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11487 Undefine after defining function. Define as weak alias of
11488 __wcschr. Use libc_hidden_weak.
11489 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11490 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11491 (libc_hidden_def): Also define __GI___wcschr alias.
11492 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11493 __wcschr and define as weak alias of __wcschr.
11494 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11495 __wcschr.
11496 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11497 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11498 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11499 libc_hidden_weak. Do not use libc_hidden_def.
11500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11501 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11502 __GI___wcschr alias.
11503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11504 [IS_IN (libc)] (wcschr): Define as macro expanding to
11505 __redirect_wcschr.
11506 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11507 [IS_IN (libc)] (__wcschr_power6): Likewise.
11508 [IS_IN (libc)] (__wcschr_power7): Likewise.
11509 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11510 instead of wcschr.
11511 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11512 __libc_wcschr.
11513 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11514 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11515 __wcschr and define as weak alias of __wcschr. Use
11516 libc_hidden_builtin_def.
11517 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11518 as weak alias of __wcschr. Use libc_hidden_weak.
11519 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11520 wcschr.
11521 * time/era.c (_nl_init_era_entries): Likewise.
11522 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11523 variable.
11524 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11525 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11526
11527 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11528
11529 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11530 format for long int variable.
11531
11532 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11533
11534 [BZ #10672]
11535 * manual/search.texi: (Array Sort Function): Remove claim how to make
11536 qsort stable.
11537
11538 2014-12-10 Andreas Schwab <schwab@suse.de>
11539
11540 [BZ #12847]
11541 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11542 user-controlled locks.
11543
11544 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11545
11546 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11547 register.
11548
11549 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11550
11551 * configure.ac (--disable-werror): New configure option.
11552 (enable_werror): New AC_SUBST.
11553 * configure: Regenerated.
11554 * config.make.in (enable-werror): New variable.
11555 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11556 -Wno-error=undef.
11557 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11558 * manual/install.texi (Configuring and compiling): Document
11559 --disable-werror.
11560 * INSTALL: Regenerated.
11561 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11562 (CFLAGS-tst-chk2.c): Likewise.
11563 (CFLAGS-tst-chk3.c): Likewise.
11564 (CFLAGS-tst-chk4.cc): Likewise.
11565 (CFLAGS-tst-chk5.cc): Likewise.
11566 (CFLAGS-tst-chk6.cc): Likewise.
11567 (CFLAGS-tst-lfschk1.c): Likewise.
11568 (CFLAGS-tst-lfschk2.c): Likewise.
11569 (CFLAGS-tst-lfschk3.c): Likewise.
11570 (CFLAGS-tst-lfschk4.cc): Likewise.
11571 (CFLAGS-tst-lfschk5.cc): Likewise.
11572 (CFLAGS-tst-lfschk6.cc): Likewise.
11573
11574 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11575 (main): Disable -Wdeprecated-declarations around calls to
11576 register_printf_function.
11577
11578 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11579 (do_test): Disable -Wdiv-by-zero around some calls to
11580 fwrite_unlocked and fread_unlocked.
11581
11582 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11583 (DIAG_POP_NEEDS_COMMENT): Likewise.
11584 (_DIAG_STR1): Likewise.
11585 (_DIAG_STR): Likewise.
11586 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11587 * stdio-common/bug21.c: Include <libc-internal.h>.
11588 (do_test): Disable -Wformat around call to sscanf.
11589 * stdio-common/scanf14.c: Include <libc-internal.h>.
11590 (main): Disable -Wformat around some calls to scanf functions.
11591
11592 2014-12-09 Torvald Riegel <triegel@redhat.com>
11593
11594 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11595
11596 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597
11598 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11599 stack variable alignment.
11600
11601 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11602
11603 [BZ #17682]
11604 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11605 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11606 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11607 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11608 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11609 __getrlimit instead of getrlimit.
11610 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11611 __gettimeofday instead of gettimeofday.
11612 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11613 Likewise.
11614 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11615 Likewise.
11616 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11617 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11618 Remove variable.
11619 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11620 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11621
11622 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11623
11624 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11625 for wide-character tests.
11626
11627 2014-12-04 Roland McGrath <roland@hack.frob.com>
11628
11629 * io/openat64.c: #include <libc-internal.h>
11630 (__openat64): Prototypify. Use ignore_value on MODE.
11631 * io/openat.c: Likewise.
11632 * misc/reboot.c: #include <libc-internal.h>
11633 (reboot): Prototypify. Use ignore_value on HOWTO.
11634 * misc/ptrace.c: #include <libc-internal.h>
11635 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11636
11637 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11638
11639 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11640 XPG4, UNIX98 and XOPEN2K.
11641 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11642 Remove variable.
11643 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11644
11645 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11646
11647 * libio/fileops.c: Use ISO C style for function definitions.
11648 * libio/iofopen.c: Likewise.
11649 * libio/wfileops.c: Likewise.
11650
11651 [BZ #17653]
11652 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11653 offset on EOF.
11654 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11655 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11656 (fgets_func): Function pointer to fgets and fgetws.
11657 (do_ftell_test): Add test to verify ftell value after read
11658 EOF.
11659 (do_test): Set fgets_func.
11660
11661 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11662 O_TRUNC flag for w and w+ modes.
11663 (do_rewind_test): Likewise.
11664 (do_ftell_test): Likewise.
11665 (do_write_test): Likewise.
11666
11667 [BZ #17647]
11668 * libio/fileops.c (do_ftell): Seek only when there are
11669 unflushed writes.
11670 * libio/wfileops.c (do_ftell_wide): Likewise.
11671 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11672 test case.
11673 (do_one_test): Call it.
11674
11675 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11676
11677 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11678 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11679 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11680 Remove variable.
11681 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11682 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11683 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11684
11685 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11686
11687 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11688 Remove variable.
11689 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11690
11691 [BZ #17668]
11692 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11693 as weak alias of __getifaddrs. Use libc_hidden_weak.
11694 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11695 __freeifaddrs. Use libc_hidden_weak.
11696 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11697 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11698 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11699 __freeifaddrs. Use libc_hidden_weak.
11700 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11701 __getifaddrs and define as weak alias of __getifaddrs. Use
11702 libc_hidden_weak.
11703 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11704 __freeifaddrs. Use libc_hidden_weak.
11705 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11706 Remove variable.
11707 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11708 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11709
11710 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11711
11712 [BZ #17601]
11713 * sysdeps/mips/start.S (__start): Use indirect jump to call
11714 __libc_start_main.
11715
11716 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11717
11718 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11719
11720 * nptl/tst-mutex1.c: Include <stdbool.h>.
11721 [!ATTR] (ATTR_NULL): New macro.
11722 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11723 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11724 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11725
11726 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11727 to char *.
11728
11729 [BZ #17665]
11730 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11731 Change conditional to [__USE_MISC].
11732
11733 [BZ #17664]
11734 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11735 fgets_unlocked.
11736 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11737 __fgets_unlocked.
11738 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11739 fgets_unlocked.
11740 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11741 Remove variable.
11742 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11743 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11744 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11745 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11746 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11747 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11748 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11749 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11750 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11751
11752 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11753
11754 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11755
11756 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11757 Remove strpbrk objects.
11758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11759 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11760 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11761 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11762 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11763 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11764
11765 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11766 Remove strcspn objects.
11767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11768 (__libc_ifunc_impl_list): Remove strcspn implementation.
11769 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11770 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11771 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11772 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11773
11774 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11775 Remove strspn objetcs.
11776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11777 (__libc_ifunc_impl_list): Remove strspn implementation.
11778 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11779 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11780 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11781 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11782
11783 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11784
11785 [BZ #17581]
11786 * malloc/hooks.c
11787 (mem2mem_check): Add a terminator to the chain of checking blocks.
11788 (malloc_check_get_size): Use it here.
11789 (mem2chunk_check): Ditto.
11790
11791 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11792
11793 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11794 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11795
11796 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11797
11798 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11799
11800 * nptl/nptl-init.c: Include libc-internal.h.
11801 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11802
11803 * elf/ldconfig.c (search_dir): Expand comment.
11804
11805 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11806
11807 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11808 variable.
11809 (linknamespace-symlist-stdlibs-tests): Likewise.
11810 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11811 instead of $(objpfx)symlist-stdlibs.
11812 (linknamespace-libs-isoc): New variable.
11813 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11814 (linknamespace-libs-ISO): New variable.
11815 (linknamespace-libs-ISO99): Likewise.
11816 (linknamespace-libs-ISO11): Likewise.
11817 (linknamespace-libs-XPG3): Likewise.
11818 (linknamespace-libs-XPG4): Likewise.
11819 (linknamespace-libs-POSIX): Likewise.
11820 (linknamespace-libs-UNIX98): Likewise.
11821 (linknamespace-libs-XOPEN2K): Likewise.
11822 (linknamespace-libs-POSIX2008): Likewise.
11823 (linknamespace-libs-XOPEN2K8): Likewise.
11824 ($(objpfx)symlist-stdlibs): Replace by
11825 $(linknamespace-symlist-stdlibs-tests). Use
11826 $(linknamespace-libs-$*) as set of libraries.
11827 ($(linknamespace-header-tests)): Update dependencies. Use
11828 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11829 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11830 * conform/linknamespace.pl: Remove comment about considering
11831 definitions of symbols from irrelevant libraries.
11832
11833 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11834
11835 [BZ #13862]
11836 * elf/dl-tls.c: Include <atomic.h>.
11837 (oom): Remove #ifdef SHARED/#endif.
11838 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11839 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11840 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11841 big enough.
11842 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11843 * nptl/Makefile (tests): Add tst-stack4.
11844 (modules-names): Add tst-stack4mod.
11845 ($(objpfx)tst-stack4): New.
11846 (tst-stack4mod.sos): Likewise.
11847 ($(objpfx)tst-stack4.out): Likewise.
11848 ($(tst-stack4mod.sos)): Likewise.
11849 (clean): Likewise.
11850 * nptl/tst-stack4.c: New file.
11851 * nptl/tst-stack4mod.c: Likewise.
11852
11853 2014-11-27 J. Brown <jb999@gmx.de>
11854
11855 * sysdeps/x86/bits/string.h: Add recent CPUs.
11856
11857 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11858
11859 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11860 sigblock.
11861
11862 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11863 feof.
11864
11865 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11866 variable.
11867
11868 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11869
11870 * nscd/connections.c: Include libc-internal.h because of macro
11871 usage ignore_value.
11872
11873 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11874
11875 * string/bits/string3.h (__warn_memset_zero_len): Don't
11876 declare for gcc newer than 5.0.
11877 (memset): Don't test for zero-length __LEN for gcc newer than
11878 5.0.
11879
11880 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11881
11882 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11883 size_t for %zu format.
11884
11885 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11886 difference, not %ju.
11887
11888 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11889
11890 * include/libc-internal.h (ignore_value): New macro.
11891 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11892 with ignore_value.
11893
11894 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11895 definition.
11896
11897 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11898 pthread_cleanup_push to void *.
11899
11900 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11901 Undefine.
11902
11903 [BZ #16619]
11904 [BZ #16740]
11905 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11906 instead of 1L << 52.
11907
11908 * libio/bug-rewind.c (do_test): Check fwscanf return values.
11909 * libio/bug-rewind2.c (do_test): Likewise.
11910
11911 * debug/test-stpcpy_chk-ifunc.c: Remove file.
11912 * debug/test-strcpy_chk-ifunc.c: Likewise.
11913 * wcsmbs/test-wcschr-ifunc.c: Likewise.
11914 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11915 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11916 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11917 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11918 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11919 * Rules [$(multi-arch) = no] (tests): Do not filter out
11920 $(tests-ifunc).
11921 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11922 * debug/Makefile (tests-ifunc): Remove variable.
11923 (tests): Do not add $(tests-ifunc).
11924 * wcsmbs/Makefile (tests-ifunc): Remove variable.
11925 (tests): Do not add $(tests-ifunc).
11926 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11927 [TEST_IFUNC]: Remove conditionals.
11928 * string/test-string.h (TEST_IFUNC): Remove macro.
11929 [TEST_IFUNC]: Remove conditionals.
11930
11931 * string/test-strchr.c [!WIDE] (L): New macro.
11932 [WIDE] (L): Likewise.
11933 (check1): Use CHAR instead of char. Use L on string and character
11934 constants.
11935
11936 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11937
11938 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11939 tests.
11940 * sysdeps/powerpc/bits/atomic.h
11941 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11942 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11943 (atomic_exchange_and_add_acq): Likewise.
11944 (atomic_exchange_and_add_rel): Likewise.
11945 * sysdeps/powerpc/powerpc32/bits/atomic.h
11946 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11947 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11948 * sysdeps/powerpc/powerpc64/bits/atomic.h
11949 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11950 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11951
11952 2014-11-26 Torvald Riegel <triegel@redhat.com>
11953
11954 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11955 Change synchronization of __sched_fifo_min_prio and
11956 __sched_fifo_max_prio.
11957 * nptl/pthread_mutexattr_getprioceiling.c
11958 (pthread_mutexattr_getprioceiling): Likewise.
11959 * nptl/pthread_mutexattr_setprioceiling.c
11960 (pthread_mutexattr_setprioceiling): Likewise.
11961 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11962 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11963 Likewise.
11964
11965 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11966
11967 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11968 void.
11969
11970 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11971
11972 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11973 third argument const.
11974
11975 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
11976
11977 fnmatch: work around GCC compiler warning bug with uninit var
11978 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11979 This works around a bug with x86-64 GCC 4.9.2 and earlier
11980 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11981 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11982 used uninitialized in this function [-Wmaybe-uninitialized]".
11983
11984 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11985
11986 * posix/bug-regex31.c (main): Return RES not 0.
11987
11988 2014-11-25 Anton Blanchard <anton@samba.org>
11989
11990 * sysdeps/powerpc/bits/atomic.h
11991 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11992
11993 2014-11-24 Sterling Augustine <saugustine@google.com>
11994
11995 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11996
11997 2014-11-24 Ryan Cumming <etaoins@gmail.com>
11998
11999 [BZ #17608]
12000 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12001
12002 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12003
12004 [BZ #17633]
12005 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12006 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12007 variable.
12008 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12009 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12010
12011 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12012
12013 * string/strncpy.c (strncpy): Improve performance by using memset.
12014
12015 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12016
12017 * string/strcpy.c (strcpy):
12018 Improve performance by using strlen and memcpy.
12019
12020 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12021
12022 * string/strcoll_l.c (get_next_seq): __always_inline.
12023 * string/strcoll_l.c (do_compare): __always_inline.
12024
12025 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12026
12027 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12028 defined.
12029 * include/mqueue.h: Likewise.
12030 * include/stdlib.h: Likewise.
12031
12032 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12033 (get_null_defines): Adjust.
12034 * sunrpc/Makefile: Adjust comment.
12035 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12036 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12037 (CFLAGS-interp.c): Likewise.
12038 (CFLAGS-ldconfig.c): Likewise.
12039 (CPPFLAGS-.os): Likewise.
12040 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12041 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12042 * extra-modules.mk (extra-modules.mk): Likewise.
12043 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12044 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12045 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12046 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12047 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12048 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12049 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12050 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12051 * iconvdata/Makefile (CPPFLAGS): Likewise.
12052 (cpp-srcs-left): Add libof for all iconvdata routines.
12053 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12054 * include/assert.h: Likewise.
12055 * include/ctype.h: Likewise.
12056 * include/errno.h: Likewise.
12057 * include/libc-symbols.h: Likewise.
12058 * include/math.h: Likewise.
12059 * include/netdb.h: Likewise.
12060 * include/resolv.h: Likewise.
12061 * include/stdio.h: Likewise.
12062 * include/stdlib.h: Likewise.
12063 * include/string.h: Likewise.
12064 * include/sys/stat.h: Likewise.
12065 * include/wctype.h: Likewise.
12066 * intl/l10nflist.c: Likewise.
12067 * libidn/idn-stub.c: Likewise.
12068 * libio/libioP.h: Likewise.
12069 * nptl/libc_multiple_threads.c: Likewise.
12070 * nptl/pthreadP.h: Likewise.
12071 * posix/regex_internal.h: Likewise.
12072 * resolv/res_hconf.c: Likewise.
12073 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12074 * sysdeps/arm/memmove.S: Likewise.
12075 * sysdeps/arm/sysdep.h: Likewise.
12076 * sysdeps/generic/_itoa.h: Likewise.
12077 * sysdeps/generic/symbol-hacks.h: Likewise.
12078 * sysdeps/gnu/errlist.awk: Likewise.
12079 * sysdeps/gnu/errlist.c: Likewise.
12080 * sysdeps/i386/i586/memcpy.S: Likewise.
12081 * sysdeps/i386/i586/memset.S: Likewise.
12082 * sysdeps/i386/i686/memcpy.S: Likewise.
12083 * sysdeps/i386/i686/memmove.S: Likewise.
12084 * sysdeps/i386/i686/mempcpy.S: Likewise.
12085 * sysdeps/i386/i686/memset.S: Likewise.
12086 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12088 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12089 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12090 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12091 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12092 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12093 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12094 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12095 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12096 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12097 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12098 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12099 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12100 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12101 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12102 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12103 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12104 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12105 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12106 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12107 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12108 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12109 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12110 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12111 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12112 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12113 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12115 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12116 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12117 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12119 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12122 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12123 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12126 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12127 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12128 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12129 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12130 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12131 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12133 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12134 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12135 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12136 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12137 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12138 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12139 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12140 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12141 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12142 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12143 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12144 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12145 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12146 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12147 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12148 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12149 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12150 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12151 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12152 * sysdeps/posix/closedir.c: Likewise.
12153 * sysdeps/posix/opendir.c: Likewise.
12154 * sysdeps/posix/readdir.c: Likewise.
12155 * sysdeps/posix/rewinddir.c: Likewise.
12156 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12157 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12158 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12159 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12160 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12161 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12162 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12163 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12164 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12168 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12169 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12170 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12171 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12172 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12173 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12175 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12177 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12179 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12181 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12183 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12184 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12191 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12192 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12193 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12194 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12195 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12196 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12197 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12198 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12199 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12200 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12201 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12202 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12203 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12204 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12205 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12206 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12207 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12208 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12209 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12210 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12211 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12212 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12213 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12214 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12215 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12216 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12217 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12218 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12219 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12220 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12221 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12222 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12223 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12224 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12225 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12226 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12227 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12228 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12229 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12230 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12231 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12232 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12233 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12234 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12235 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12236 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12237 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12238 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12239 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12240 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12241 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12242 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12243 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12244 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12245 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12246 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12247 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12248 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12249 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12250 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12252 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12254 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12255 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12256 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12257 * sysdeps/unix/alpha/sysdep.S: Likewise.
12258 * sysdeps/unix/alpha/sysdep.h: Likewise.
12259 * sysdeps/unix/make-syscalls.sh: Likewise.
12260 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12262 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12263 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12264 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12265 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12266 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12267 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12268 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12269 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12270 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12271 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12273 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12274 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12275 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12276 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12277 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12278 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12279 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12280 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12281 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12282 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12283 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12284 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12285 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12286 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12289 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12290 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12294 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12298 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12299 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12300 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12301 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12302 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12303 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12304 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12307 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12310 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12311 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12312 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12313 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12314 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12316 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12318 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12319 * sysdeps/x86_64/memcpy.S: Likewise.
12320 * sysdeps/x86_64/memmove.c: Likewise.
12321 * sysdeps/x86_64/memset.S: Likewise.
12322 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12324 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12325 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12326 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12328 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12329 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12330 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12331 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12332 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12333 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12334 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12337 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12338 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12339 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12340 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12341 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12342 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12343 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12344 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12345 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12346 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12347 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12348 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12349 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12350 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12351 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12352 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12353 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12354 * sysdeps/x86_64/strcmp.S: Likewise.
12355
12356 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12357
12358 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12359 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12360 * elf/rtld-Rules: Likewise.
12361 * elf/setup-vdso.h: Likewise.
12362 * include/assert.h: Likewise.
12363 * include/bits/stdlib-float.h: Likewise.
12364 * include/errno.h: Likewise.
12365 * include/sys/stat.h: Likewise.
12366 * include/unistd.h: Likewise.
12367 * sysdeps/aarch64/setjmp.S: Likewise.
12368 * sysdeps/alpha/setjmp.S: Likewise.
12369 * sysdeps/arm/__longjmp.S: Likewise.
12370 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12371 * sysdeps/arm/setjmp.S: Likewise.
12372 * sysdeps/arm/sysdep.h: Likewise.
12373 * sysdeps/generic/_itoa.h: Likewise.
12374 * sysdeps/generic/dl-sysdep.h: Likewise.
12375 * sysdeps/generic/ldsodefs.h: Likewise.
12376 * sysdeps/i386/dl-tls.h: Likewise.
12377 * sysdeps/i386/setjmp.S: Likewise.
12378 * sysdeps/m68k/setjmp.c: Likewise.
12379 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12380 * sysdeps/mach/hurd/opendir.c: Likewise.
12381 * sysdeps/posix/getcwd.c: Likewise.
12382 * sysdeps/posix/opendir.c: Likewise.
12383 * sysdeps/posix/profil.c: Likewise.
12384 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12385 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12386 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12387 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12388 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12389 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12390 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12391 * sysdeps/s390/dl-tls.h: Likewise.
12392 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12393 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12394 * sysdeps/sh/sh3/setjmp.S: Likewise.
12395 * sysdeps/sh/sh4/setjmp.S: Likewise.
12396 * sysdeps/unix/alpha/sysdep.h: Likewise.
12397 * sysdeps/unix/arm/sysdep.S: Likewise.
12398 * sysdeps/unix/i386/sysdep.S: Likewise.
12399 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12400 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12401 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12402 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12403 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12404 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12405 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12406 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12407 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12408 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12409 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12410 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12414 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12416 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12417 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12418 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12419 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12422 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12423 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12424 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12426 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12427 * sysdeps/x86_64/setjmp.S: Likewise.
12428
12429 * include/math.h: Use IS_IN instead of IS_IN_libm.
12430 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12442 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12446 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12448 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12450 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12451 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12452 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12453 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12454 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12455 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12457 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12458 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12459 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12460 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12461 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12462 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12464 Likewise.
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12466 Likewise.
12467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12468 Likewise.
12469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12470 Likewise.
12471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12472 Likewise.
12473 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12474 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12475 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12476 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12477 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12478 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12484 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12485 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12486 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12487 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12488 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12489 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12490 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12491 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12492 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12493 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12494 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12495 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12496 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12497 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12499 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12500
12501 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12502 * nptl/pthreadP.h: Likewise.
12503 * nptl_db/structs.def: Likewise.
12504 * sysdeps/arm/sysdep.h: Likewise.
12505 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12506 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12507 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12508 * sysdeps/unix/alpha/sysdep.h: Likewise.
12509 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12511 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12512 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12513 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12514 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12515 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12516 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12517 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12518 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12519 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12520 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12521 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12522 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12527 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12529 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12530 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12531 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12532 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12533 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12534 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12535
12536 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12537 * nptl/pthreadP.h: Likewise.
12538 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12539 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12540 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12541 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12542 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12543 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12544 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12545 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12546 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12547 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12548 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12549 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12551 Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12553 Likewise.
12554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12555 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12556 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12559 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12560 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12561 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12562
12563 * dlfcn/dladdr.c: Use IS_IN.
12564 * dlfcn/dladdr1.c: Likewise.
12565 * dlfcn/dlclose.c: Likewise.
12566 * dlfcn/dlerror.c: Likewise.
12567 * dlfcn/dlinfo.c: Likewise.
12568 * dlfcn/dlmopen.c: Likewise.
12569 * dlfcn/dlopen.c: Likewise.
12570 * dlfcn/dlsym.c: Likewise.
12571 * dlfcn/dlvsym.c: Likewise.
12572
12573 * include/ifaddrs.h: Use IS_IN.
12574 * inet/check_pf.c: Likewise.
12575 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12576 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12577
12578 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12579 IS_IN_ldconfig.
12580 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12581 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12582
12583 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12584 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12585 IS_IN (libc).
12586
12587 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12588
12589 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12590 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12591 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12592 * include/libc-symbols.h (IS_IN_LIB): New macro.
12593 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12594 * include/netdb.h: Likewise.
12595 * include/stap-probe.h: Remove all uses of IN_LIB.
12596
12597 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12598 instead of IN_MODULE.
12599 * include/libc-symbols.h (IN_MODULE): Define using
12600 MODULE_NAME.
12601 (PASTE_NAME, PASTE_NAME1): New macros.
12602 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12603 of IN_LIB.
12604 (STAP_PROBE_ASM): Likewise.
12605
12606 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12607
12608 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12609 __mach_init in dlopened libc.
12610
12611 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12612
12613 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12614 * sysdeps/arm/preconfigure: Regenerate.
12615
12616 2014-11-21 Roland McGrath <roland@hack.frob.com>
12617
12618 * nptl/pthread_create.c (__pthread_create_2_1): Set
12619 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12620 when copying values from IATTR into PD.
12621
12622 2014-11-21 Will Newton <will.newton@linaro.org>
12623 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12624
12625 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12626 Refactor inline-asm. Also add comment.
12627
12628 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12629 ElfW macro instead of hardcoded Elf64 types.
12630 (la_aarch64_gnu_pltenter): Likewise.
12631 * sysdeps/aarch64/dl-machine.h
12632 (elf_machine_runtime_setup): Use ElfW(Addr).
12633
12634 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12635 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12636 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12637 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12638 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12639 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12640 (R_AARCH64_TLS_DTPMOD): This.
12641 (R_AARCH64_TLS_DTPREL64): Rename to ...
12642 (R_AARCH64_TLS_DTPREL): This.
12643 (R_AARCH64_TLS_TPREL64): Rename to ...
12644 (R_AARCH64_TLS_TPREL): This.
12645 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12646 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12647 R_AARCH64_TLS_TPREL64.
12648 (elf_machine_rela): Likewise.
12649
12650 2014-11-21 Torvald Riegel <triegel@redhat.com>
12651
12652 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12653 by setting it to 0. 64b atomics are not supported currently.
12654
12655 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12656
12657 [BZ #16469]
12658 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12659 search domain names.
12660
12661 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12662
12663 [BZ #16469]
12664 * NEWS: Update.
12665 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12666 trailing dot.
12667 * posix/tst-getaddrinfo5.c: New.
12668 * posix/Makefile (tests): Add it.
12669
12670 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12671
12672 [BZ #14498]
12673 * NEWS: Fixed.
12674 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12675 after parsing line but before break_if_match.
12676 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12677 if there is a protocol mismatch.
12678
12679 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12680
12681 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12682 because the potential race is on the user-supplied stream.
12683
12684 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12685
12686 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12687 string literal if not passed a buffer.
12688 * manual/job.texi (ctermid): Update reasoning, note deviation
12689 from posix, suggest mtasurace when not passed a buffer, for
12690 future non-preliminary safety notes.
12691
12692 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12693
12694 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12695 of not passing it a buffer.
12696 Reported by Peng Haitao.
12697
12698 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12699
12700 * manual/Makefile ($(objpfx)stamp-summary): Require
12701 check-safety.sh to pass.
12702 * manual/check-safety.sh: Wish for verification that every
12703 @deftypefn and @deftypefun is followed by a @safety remark.
12704
12705 2014-11-20 Roland McGrath <roland@hack.frob.com>
12706
12707 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12708
12709 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12710 PTHREAD_CANCEL_ASYNCHRONOUS.
12711 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12712 send SIGCANCEL.
12713
12714 * nptl/default-sched.h: New file.
12715 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12716 * nptl/pthread_create.c: Include it.
12717 (__pthread_create_2_1): Use collect_default_sched instead of making
12718 Linux syscalls here directly.
12719
12720 2014-11-20 Torvald Riegel <triegel@redhat.com>
12721
12722 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12723 __pthread_once): Use C11 atomics.
12724
12725 2014-11-20 Torvald Riegel <triegel@redhat.com>
12726
12727 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12728
12729 2014-11-20 Torvald Riegel <triegel@redhat.com>
12730
12731 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12732 atomic_thread_fence_acquire, atomic_thread_fence_release,
12733 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12734 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12735 atomic_compare_exchange_weak_relaxed,
12736 atomic_compare_exchange_weak_acquire,
12737 atomic_compare_exchange_weak_release,
12738 atomic_exchange_acquire, atomic_exchange_release,
12739 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12740 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12741 atomic_fetch_and_acquire,
12742 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12743
12744 2014-11-20 Torvald Riegel <triegel@redhat.com>
12745
12746 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12747 USE_ATOMIC_COMPILER_BUILTINS): Define.
12748 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12750 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12752 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12753 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12754 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12755 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12756 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12757 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12758 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12759 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12760 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12761 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12762 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12763 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12764 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12765 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12766 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12767 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12768 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12769 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12770 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12771 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12772 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12773 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12774 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12776 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12777 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12778 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12779 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12780 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12781 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12782 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12783 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12784 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12785 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12786 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12787 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12788
12789 2014-11-19 Roland McGrath <roland@hack.frob.com>
12790
12791 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12792 the sched_priority value here. It was already checked when the user
12793 called pthread_attr_setschedparam.
12794
12795 * nptl/tst-bad-schedattr.c: New file.
12796 * nptl/Makefile (tests): Add it.
12797
12798 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12799 Florian Weimer <fweimer@redhat.com>
12800 Joseph Myers <joseph@codesourcery.com>
12801 Adam Conrad <adconrad@0c3.net>
12802 Andreas Schwab <schwab@suse.de>
12803 Brooks <bmoses@google.com>
12804
12805 [BZ #17625]
12806 * wordexp-test.c (__dso_handle): Add prototype.
12807 (__register_atfork): Likewise.
12808 (__app_register_atfork): New function.
12809 (registered_forks): New global.
12810 (register_fork): New function.
12811 (test_case): Add 3 new tests for WRDE_CMDSUB.
12812 (main): Call __app_register_atfork.
12813 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12814 fork count is non-zero fail the test.
12815 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12816 is set.
12817 (parse_dollars): Remove check for WRDE_NOCMD.
12818 (parse_dquote): Likewise.
12819
12820 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12821
12822 * Makeconfig (built-modules): List non-library modules to be
12823 built.
12824 (module-cppflags): Include libc-modules.h for
12825 everything except shlib-versions.v.i.
12826 (CPPFLAGS): Use it.
12827 (before-compile): Add libc-modules.h.
12828 ($(common-objpfx)libc-modules.h,
12829 $(common-objpfx)libc-modules.stmp): New targets.
12830 (common-generated): Add libc-modules.h and libc-modules.stmp.
12831 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12832 * include/libc-symbols.h: Don't include libc-modules.h.
12833 * include/libc-modules.h: Remove file.
12834 * scripts/gen-libc-modules.awk: New script to generate
12835 libc-modules.h.
12836 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12837 Depend on libc-modules.stmp.
12838
12839 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12840
12841 * Makeconfig (in-module): Get value of libof set for the
12842 translation unit.
12843 (CPPFLAGS): Use $(in-module).
12844 * Makerules: Don't suffix routine names for nonlib.
12845 * include/libc-modules.h: New file.
12846 * include/libc-symbols.h: Include libc-modules.h
12847 (IS_IN): New macro to replace IS_IN_* macros.
12848 * elf/Makefile: Set libof-* for each routine.
12849 * elf/rtld-Rules: Likewise.
12850 * extra-modules.mk: Likewise.
12851 * iconv/Makefile: Likewise.
12852 * iconvdata/Makefile: Likewise.
12853 * locale/Makefile: Likewise.
12854 * malloc/Makefile: Likewise.
12855 * nss/Makefile: Likewise.
12856 * sysdeps/gnu/Makefile: Likewise.
12857 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12858 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12859 * sysdeps/s390/s390-64/Makefile: Likewise.
12860 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12861 CPPFLAGS for nscd instead of nonlib.
12862
12863 2014-11-18 Roland McGrath <roland@hack.frob.com>
12864
12865 * nptl/createthread.c: New file.
12866
12867 * nptl/createthread.c: Moved ...
12868 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12869
12870 * nptl/createthread.c: Add proper top-line comment.
12871 (do_clone): Folded into ...
12872 (create_thread): ... here. Take new arguments STOPPED_START and
12873 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12874 increment __nptl_threads, do event-reporting logic, do
12875 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12876 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12877 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12878 just send SIGCANCEL.
12879 * nptl/pthread_create.c: Forward-declare create_thread before
12880 including createthread.c.
12881 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12882 declaration, and new macro START_THREAD_SELF to replace argument.
12883 Remove return statement.
12884 (report_thread_creation): New function.
12885 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12886 synchronization logic, and __nptl_nthreads increment here, around
12887 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12888 PD->parent_cancelhandling here, before create_thread. When
12889 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12890 __deallocate_stack, and ENOMEM translation here.
12891
12892 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12893
12894 [BZ #17616]
12895 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12896 (mptwo): Rename to __mptwo.
12897 (__inv): Use __mptwo instead of mptwo.
12898 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12899 (mptwo): Rename to __mptwo.
12900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12901 of mpone and __mptwo instead of mptwo.
12902 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12903 instead of mpone.
12904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12905 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12906 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12907 of mpone and __mptwo instead of mptwo.
12908 (__mpranred): Use __mpone instead of mpone.
12909 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12910 variable.
12911 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12912 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12913 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12914 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12915 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12916 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12917 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12918 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12919 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12920 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12921 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12922 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12923 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12924 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12925 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12926 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12927 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12928 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12929 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12930
12931 2014-11-18 Tom de Vries <tom@codesoucery.com>
12932
12933 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12934 replace BSD Handler xref with BSD Signal Handling.
12935
12936 2014-11-17 Richard Henderson <rth@redhat.com>
12937
12938 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12939 (_FP_PACK_RAW_2): Remove.
12940 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12941 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12942 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12943 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12944 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12945 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12946 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12947 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12948 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12949 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12950 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12951 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12952 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12953 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12954 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12955 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12956
12957 2014-11-14 Roland McGrath <roland@hack.frob.com>
12958
12959 * signal/signal.h [__USE_MISC]
12960 (struct sigvec): Remove type.
12961 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12962 (sigvec): Remove declaration.
12963 * sysdeps/posix/sigvec.c: Moved ...
12964 * signal/sigvec.c: ... here, replacing old file.
12965 (struct sigvec): New type, copied from old signal.h definition.
12966 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12967 (__sigvec): Convert definition to prototype.
12968 (sigvec): Replace weak_alias with compat_symbol.
12969 * signal/Versions (libc: GLIBC_2.21): New version set.
12970 * include/signal.h: Remove __sigvec declaration.
12971 * sysdeps/unix/bsd/sigvec.c: Remove file.
12972 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12973 * manual/signal.texi (BSD Handler): Remove subsection.
12974 Move siginterrupt up to ...
12975 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
12976 (Blocking in BSD): Fold subsection into its parent.
12977 * NEWS: Mention sigvec removal.
12978
12979 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12980
12981 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12982 (DLA_FMS): Make definition conditional only on [__FMA4__].
12983 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12984 definition.
12985
12986 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12987 Make definition conditional only on [PROF].
12988 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12989 definition.
12990 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12991 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12992
12993 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12994 !__GNUC__].
12995 * include/signal.h (__sigpause): Move declaration above call to
12996 libc_hidden_proto.
12997 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12998 variable.
12999 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13000 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13001
13002 2014-11-14 David S. Miller <davem@davemloft.net>
13003
13004 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13005 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13006
13007 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13008
13009 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13010 * configure: Regenerated.
13011 * manual/install.texi (Tools for Compilation): Document a
13012 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13013 compiler verified to work.
13014 * INSTALL: Regenerated.
13015
13016 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13017 redeclare with asm name.
13018 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13019 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13020 including <string.h>.
13021 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13022 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13023 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13024 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13025 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13026 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13027 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13028
13029 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13030
13031 * stdlib/strtol.c (__strtol): Use prototype definition.
13032
13033 [BZ #17594]
13034 * stdlib/strtol.c (SYM__): New macro.
13035 (SYM__1): Likewise.
13036 (__strtol): Likewise.
13037 (strtol): Rename to __strtol and define as weak alias of
13038 __strtol. Use libc_hidden_weak.
13039
13040 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13041
13042 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13043 Use numbered labels in inline assembly.
13044
13045 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13046
13047 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13048 Add setjmp LIBC_PROBE.
13049 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13050 Likewise.
13051 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13052 Add longjmp, longjmp_target LIBC_PROBE.
13053 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13054 Likewise.
13055
13056 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13057
13058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13059 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13060 to get rid of unused variable warning.
13061
13062 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13063
13064 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13065 Check for unwind_backtrace == NULL only in SHARED case.
13066 (__backchain_backtrace): Compile only in SHARED case.
13067 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13068 Likewise.
13069 (__backchain_backtrace): Declare as static.
13070
13071 2014-11-12 Roland McGrath <roland@hack.frob.com>
13072
13073 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13074 (__libc_multiple_threads_ptr): Variable moved ...
13075 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13076
13077 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13078
13079 * conform/GlibcConform.pm: New file.
13080 * conform/conformtest.pl: Use GlibcConform module.
13081 * conform/linknamespace.pl: New file.
13082 * conform/list-header-symbols.pl: Likewise.
13083 * conform/Makefile (linknamespace-symlists-base): New variable.
13084 (linknamespace-symlists-tests): Likewise.
13085 (linknamespace-header-base): Likewise.
13086 (linknamespace-header-tests): Likewise.
13087 (tests-special): Add new tests.
13088 ($(linknamespace-symlists-tests)): New rule.
13089 (linknamespace-libs): New variable.
13090 ($(objpfx)symlist-stdlibs): New rule.
13091 ($(linknamespace-header-tests)): Likewise.
13092 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13093 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13094 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13095 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13096 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13097 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13098 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13099 (test-xfail-ISO/math.h/linknamespace): Likewise.
13100 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13101 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13102 (test-xfail-ISO/time.h/linknamespace): Likewise.
13103 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13104 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13105 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13106 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13107 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13108 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13109 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13110 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13111 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13112 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13113 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13114 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13115 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13116 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13117 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13118 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13119 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13120 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13121 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13122 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13123 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13124 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13125 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13126 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13127 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13128 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13129 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13130 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13131 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13132 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13133 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13134 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13135 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13136 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13137 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13138 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13139 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13140 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13141 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13142 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13143 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13144 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13145 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13146 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13147 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13148 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13149 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13150 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13151 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13152 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13153 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13154 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13155 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13156 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13157 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13158 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13159 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13160 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13161 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13162 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13163 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13164 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13165 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13166 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13167 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13168 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13169 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13170 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13171 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13172 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13173 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13174 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13175 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13176 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13177 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13178 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13179 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13180 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13181 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13182 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13183 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13184 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13185 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13186 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13187 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13188 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13189 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13190 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13191 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13192 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13193 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13194 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13195 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13196 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13197 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13198 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13199 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13200 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13201 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13202 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13203 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13204 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13205 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13206 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13207 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13208 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13209 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13210 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13211 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13212 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13213 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13214 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13215 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13216 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13217 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13218 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13219 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13220 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13221 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13222 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13223 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13224 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13225 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13226 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13227 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13228 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13229 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13230 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13231 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13232 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13233 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13234 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13235 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13236 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13237 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13238 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13239 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13240 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13241 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13242 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13243 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13244 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13245 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13246 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13247 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13248 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13249 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13250 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13251 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13252 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13253
13254 [BZ #17589]
13255 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13256 of fgets_unlocked.
13257
13258 [BZ #17585]
13259 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13260 (memmem): Rename to __memmem and define as weak alias of
13261 __memmem. Use libc_hidden_weak.
13262 (__memmem): Use libc_hidden_def.
13263 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13264 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13265 memmem.
13266
13267 [BZ #17582]
13268 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13269 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13270 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13271 and define as weak alias of __fgets_unlocked. Use
13272 libc_hidden_weak.
13273 (__fgets_unlocked): Use libc_hidden_def.
13274 * include/stdio.h (__fgets_unlocked): Declare. Use
13275 libc_hidden_proto.
13276 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13277 __fgets_unlocked instead of fgets_unlocked.
13278 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13279 (GET_NPROCS_CONF_PARSER): Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13281 (GET_NPROCS_CONF_PARSER): Likewise.
13282
13283 [BZ #17574]
13284 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13285 weak alias of __wmemset. Use libc_hidden_weak.
13286 (__wmemset): Use libc_hidden_def.
13287 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13288 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13289 of wmemset.
13290
13291 [BZ #17573]
13292 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13293 with asm name __mempcpy.
13294 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13295
13296 [BZ #17572]
13297 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13298 and define as weak alias of __rawmemchr.
13299 (__rawmemchr): Do not define as strong alias of rawmemchr.
13300
13301 [BZ #17571]
13302 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13303 alias of __qsort_r.
13304 (qsort): Call __qsort_r instead of qsort_r.
13305 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13306 (__qsort_r): Declare. Call libc_hidden_proto.
13307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13308 instead of qsort_r.
13309 * nscd/gai.c (__qsort_r): Define to qsort_r.
13310 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13311 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13312 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13313
13314 [BZ #17570]
13315 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13316 define as weak alias of __malloc_info.
13317
13318 [BZ #17584]
13319 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13320 as weak alias of __rewinddir. Don't use libc_hidden_def.
13321 (__rewinddir): Use libc_hidden_def.
13322 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13323 as weak alias of __rewinddir. Don't use libc_hidden_def.
13324 (__rewinddir): Use libc_hidden_def.
13325 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13326 weak alias of __rewinddir. Don't use libc_hidden_def.
13327 (__rewinddir): Use libc_hidden_def.
13328 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13329 (__rewinddir): Use libc_hidden_proto.
13330 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13331 rewinddir.
13332 (__getcwd): Use __rewinddir instead of rewinddir.
13333
13334 [BZ #17583]
13335 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13336 alias of __fileno. Use libc_hidden_weak.
13337 (__fileno): Use libc_hidden_def.
13338 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13339 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13340 alias of __ftello.
13341 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13342 __ftello.
13343 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13344 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13345 libc_hidden_def.
13346 (fread_unlocked): Don't use libc_hidden_ver.
13347 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13348 and define as weak alias of __fread_unlocked. Don't use
13349 libc_hidden_def.
13350 (__fread_unlocked): Use libc_hidden_def.
13351 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13352 (ftello): Don't use libc_hidden_proto.
13353 (__ftello): Declare. Use libc_hidden_proto.
13354 (fread_unlocked): Don't use libc_hidden_proto.
13355 (__fread_unlocked): Declare. Use libc_hidden_proto.
13356 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13357 and __ftello instead of fileno, fread_unlocked and ftello.
13358
13359 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13360
13361 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13362 GOT12.
13363 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13364 Likewise.
13365 (_dl_start_user): Likewise.
13366 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13367
13368 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13369 Siddhesh Poyarekar <siddhesh@redhat.com>
13370
13371 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13372 Move argv and envp down instead of moving argc up.
13373 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13374
13375 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13376
13377 [BZ #17506]
13378 * test-skeleton.c (main): Return successful if one of
13379 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13380 * string/tst-strcoll-overflow.c: Define expected status.
13381
13382 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13383
13384 [BZ #17475]
13385 * locale/iso-639.def: Define Bhili and Tulu language codes.
13386
13387 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13388
13389 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13390
13391 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13392
13393 [BZ #17555]
13394 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13395
13396 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13397
13398 * configure.ac: Updated check of minimal required version to
13399 2.22.
13400 * manual/install.texi (Tools for Compilation): Updated version
13401 number.
13402 * configure: Regenerated.
13403 * INSTALL: Likewise.
13404
13405 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13406
13407 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13408 __tls_get_addr.
13409
13410 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13411
13412 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13413 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13414 (__waitpid): Don't define as alias. Use libc_hidden_def not
13415 libc_hidden_weak.
13416 (waitpid): Define as alias of __waitpid.
13417 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13418 __waitpid.
13419 (__waitpid): Don't define as alias. Use libc_hidden_def not
13420 libc_hidden_weak.
13421 (waitpid): Define as alias of __waitpid.
13422 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13423 __libc_waitpid alias.
13424 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13425 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13426 Likewise.
13427 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13428 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13429 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13430 alias.
13431 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13432 __waitpid.
13433 (__waitpid): Don't define as alias. Use libc_hidden_def not
13434 libc_hidden_weak.
13435 (waitpid): Define as alias of __waitpid.
13436
13437 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13438
13439 * manual/llio.texi: Add comment that write safety has been
13440 fixed in Linux.
13441
13442 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13443 (localplt-build-dso): Add elf/ld.so.
13444 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13445 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13446 and free for ld.so.
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13448 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13450 Likewise.
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13452 Likewise.
13453 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13454 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13455 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13456 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13457 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13458 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13459 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13460 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13461 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13462 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13463 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13464
13465 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13466
13467 [BZ #14132]
13468 * include/libc-symbols.h (INTUSE): Remove macro.
13469 (INTDEF): Likewise.
13470 (INTVARDEF): Likewise.
13471 (_INTVARDEF): Likewise.
13472 (INTDEF2): Likewise.
13473 (INTVARDEF2): Likewise.
13474 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13475 rtld_hidden_def instead of INTVARDEF.
13476 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13477 (_dl_starting_up_internal): Remove declaration.
13478 (_dl_starting_up): Use rtld_hidden_proto.
13479 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13480 declaration.
13481 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13482 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13483 _dl_starting_up.
13484 * elf/dl-writev.h (_dl_writev): Likewise.
13485 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13486 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13487 _dl_starting_up_internal.
13488
13489 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13490
13491 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13492 test-skeleton.c.
13493
13494 2014-11-05 Will Newton <will.newton@linaro.org>
13495
13496 * benchtests/Makefile: (bench-malloc): Add malloc thread
13497 scalability benchmark.
13498 * benchtests/bench-malloc-threads.c: New file.
13499
13500 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13501
13502 * sysdeps/aarch64/strchrnul.S: New file.
13503
13504 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13505
13506 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13507 definition.
13508 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13509 Likwise.
13510 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13511 Likewise.
13512 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13513 Likewise.
13514 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13515 Likewise.
13516 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13517 Likewise.
13518
13519 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13520
13521 * catgets/test-gencat.c: Use test-skeleton.c.
13522 * catgets/tst-catgets.c: Likewise.
13523 * csu/tst-empty.c: Likewise.
13524 * elf/tst-audit2.c: Likewise.
13525 * elf/tst-global1.c: Likewise.
13526 * elf/tst-pathopt.c: Likewise.
13527 * elf/tst-piemod1.c: Likewise.
13528 * elf/tst-tls10.c: Likewise.
13529 * elf/tst-tls11.c: Likewise.
13530 * elf/tst-tls12.c: Likewise.
13531 * gnulib/tst-gcc.c: Likewise.
13532 * iconvdata/tst-e2big.c: Likewise.
13533 * iconvdata/tst-loading.c: Likewise.
13534 * iconv/tst-iconv1.c: Likewise.
13535 * iconv/tst-iconv2.c: Likewise.
13536 * inet/test-inet6_opt.c: Likewise.
13537 * inet/tst-gethnm.c: Likewise.
13538 * inet/tst-network.c: Likewise.
13539 * inet/tst-ntoa.c: Likewise.
13540 * intl/tst-codeset.c: Likewise.
13541 * intl/tst-gettext2.c: Likewise.
13542 * intl/tst-gettext3.c: Likewise.
13543 * intl/tst-ngettext.c: Likewise.
13544 * intl/tst-translit.c: Likewise.
13545 * io/test-stat.c: Likewise.
13546 * libio/test-fmemopen.c: Likewise.
13547 * libio/tst-freopen.c: Likewise.
13548 * libio/tst-sscanf.c: Likewise.
13549 * libio/tst-ungetwc1.c: Likewise.
13550 * libio/tst-ungetwc2.c: Likewise.
13551 * libio/tst-widetext.c: Likewise.
13552 * localedata/tst-ctype.c: Likewise.
13553 * localedata/tst-digits.c: Likewise.
13554 * localedata/tst-leaks.c: Likewise.
13555 * localedata/tst-mbswcs1.c: Likewise.
13556 * localedata/tst-mbswcs2.c: Likewise.
13557 * localedata/tst-mbswcs3.c: Likewise.
13558 * localedata/tst-mbswcs4.c: Likewise.
13559 * localedata/tst-mbswcs5.c: Likewise.
13560 * localedata/tst-setlocale.c: Likewise.
13561 * localedata/tst-trans.c: Likewise.
13562 * localedata/tst-wctype.c: Likewise.
13563 * localedata/tst-xlocale1.c: Likewise.
13564 * login/tst-grantpt.c: Likewise.
13565 * malloc/tst-calloc.c: Likewise.
13566 * malloc/tst-malloc.c: Likewise.
13567 * malloc/tst-mallocstate.c: Likewise.
13568 * malloc/tst-mcheck.c: Likewise.
13569 * malloc/tst-mtrace.c: Likewise.
13570 * malloc/tst-obstack.c: Likewise.
13571 * math/atest-exp2.c: Likewise.
13572 * math/atest-exp.c: Likewise.
13573 * math/atest-sincos.c: Likewise.
13574 * math/test-matherr.c: Likewise.
13575 * math/test-misc.c: Likewise.
13576 * math/test-powl.c: Likewise.
13577 * math/tst-definitions.c: Likewise.
13578 * misc/tst-dirname.c: Likewise.
13579 * misc/tst-efgcvt.c: Likewise.
13580 * misc/tst-fdset.c: Likewise.
13581 * misc/tst-hsearch.c: Likewise.
13582 * misc/tst-mntent2.c: Likewise.
13583 * nptl/tst-sem7.c: Likewise.
13584 * nptl/tst-sem8.c: Likewise.
13585 * nptl/tst-sem9.c: Likewise.
13586 * nss/test-netdb.c: Likewise.
13587 * posix/tst-fnmatch.c: Likewise.
13588 * posix/tst-getlogin.c: Likewise.
13589 * posix/tst-gnuglob.c: Likewise.
13590 * posix/tst-mmap.c: Likewise.
13591 * pwd/tst-getpw.c: Likewise.
13592 * resolv/tst-inet_ntop.c: Likewise.
13593 * rt/tst-timer.c: Likewise.
13594 * stdio-common/test-fseek.c: Likewise.
13595 * stdio-common/test-popen.c: Likewise.
13596 * stdio-common/test-vfprintf.c: Likewise.
13597 * stdio-common/tst-cookie.c: Likewise.
13598 * stdio-common/tst-fileno.c: Likewise.
13599 * stdio-common/tst-gets.c: Likewise.
13600 * stdio-common/tst-obprintf.c: Likewise.
13601 * stdio-common/tst-perror.c: Likewise.
13602 * stdio-common/tst-sprintf2.c: Likewise.
13603 * stdio-common/tst-sprintf3.c: Likewise.
13604 * stdio-common/tst-sprintf.c: Likewise.
13605 * stdio-common/tst-swprintf.c: Likewise.
13606 * stdio-common/tst-tmpnam.c: Likewise.
13607 * stdio-common/tst-unbputc.c: Likewise.
13608 * stdio-common/tst-wc-printf.c: Likewise.
13609 * stdlib/tst-environ.c: Likewise.
13610 * stdlib/tst-fmtmsg.c: Likewise.
13611 * stdlib/tst-limits.c: Likewise.
13612 * stdlib/tst-rand48-2.c: Likewise.
13613 * stdlib/tst-rand48.c: Likewise.
13614 * stdlib/tst-random2.c: Likewise.
13615 * stdlib/tst-random.c: Likewise.
13616 * stdlib/tst-strtol.c: Likewise.
13617 * stdlib/tst-strtoll.c: Likewise.
13618 * stdlib/tst-tls-atexit.c: Likewise.
13619 * stdlib/tst-xpg-basename.c: Likewise.
13620 * string/test-ffs.c: Likewise.
13621 * string/tst-bswap.c: Likewise.
13622 * string/tst-inlcall.c: Likewise.
13623 * string/tst-strtok.c: Likewise.
13624 * string/tst-strxfrm.c: Likewise.
13625 * sysdeps/x86_64/tst-audit10.c: Likewise.
13626 * sysdeps/x86_64/tst-audit3.c: Likewise.
13627 * sysdeps/x86_64/tst-audit4.c: Likewise.
13628 * sysdeps/x86_64/tst-audit5.c: Likewise.
13629 * time/tst-ftime_l.c: Likewise.
13630 * time/tst-getdate.c: Likewise.
13631 * time/tst-mktime3.c: Likewise.
13632 * time/tst-mktime.c: Likewise.
13633 * time/tst-posixtz.c: Likewise.
13634 * time/tst-strptime2.c: Likewise.
13635 * time/tst-strptime3.c: Likewise.
13636 * wcsmbs/tst-btowc.c: Likewise.
13637 * wcsmbs/tst-mbrtowc.c: Likewise.
13638 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13639 * wcsmbs/tst-wchar-h.c: Likewise.
13640 * wcsmbs/tst-wcpncpy.c: Likewise.
13641 * wcsmbs/tst-wcrtomb.c: Likewise.
13642 * wcsmbs/tst-wcsnlen.c: Likewise.
13643 * wcsmbs/tst-wcstof.c: Likewise.
13644
13645 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13646
13647 [BZ #14132]
13648 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13649 INTDEF.
13650 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13651 declaration.
13652 (_dl_mcount): Use rtld_hidden_proto.
13653 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13654 _dl_mcount.
13655 * elf/rtld.c (_rtld_global_ro): Likewise.
13656
13657 [BZ #14132]
13658 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13659 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13660 of _dl_init_internal.
13661 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13662 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13663 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13664 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13665 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13666 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13667 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13668 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13669 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13670 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13671 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13672 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13673 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13674 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13675 * sysdeps/tile/dl-start.S (_start): Likewise.
13676 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13677 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13678
13679 [BZ #14132]
13680 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13681 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13682 (rtld_progname): Make macro definition unconditional.
13683 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13684 INTDEF.
13685 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13686 (dl_main): Likewise.
13687 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13688 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13689 instead of _dl_argv_internal.
13690 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13691 __GI__dl_argv instead of INTUSE(_dl_argv).
13692 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13693 __GI__dl_argv instead of _dl_argv_internal.
13694
13695 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13696 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13697 macro.
13698 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13699 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13700 New macro.
13701 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13702 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13703 macro.
13704 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13705 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13706
13707 2014-11-04 Andreas Schwab <schwab@suse.de>
13708
13709 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13710
13711 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13712
13713 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13714 mtvsrd instruction in binary form.
13715
13716 2014-11-03 Andreas Schwab <schwab@suse.de>
13717
13718 [BZ #17522]
13719 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13720 for less than MB_LEN_MAX use a local buffer of that size.
13721 * libio/tst-fputws.c: New file.
13722 * libio/Makefile (tests): Add tst-fputws.
13723
13724 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13725
13726 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13727 the size of the fpu_fr.fpu_dregs[] array.
13728
13729 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13730
13731 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13732 (__nanosleep): Do not define as alias.
13733 (nanosleep): Define as alias of __nanosleep.
13734 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13735 __libc_nanosleep name.
13736
13737 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13738
13739 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13740 install.texi in comment.
13741
13742 2014-10-31 Torvald Riegel <triegel@redhat.com>
13743
13744 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13745 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13746 ... add here and use lwsync or sync ...
13747 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13748 ... and add here using lwsync.
13749
13750 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13751
13752 * elf/dl-machine-reject-phdr.h: New file.
13753 * elf/dl-load.c: #include that.
13754 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13755 if that returned true.
13756
13757 2014-10-31 Roland McGrath <roland@hack.frob.com>
13758
13759 [BZ #17496]
13760 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13761 gen-as-const-headers chunk. Add a big scare comment after the last
13762 safe place to touch before-compile.
13763
13764 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13765
13766 * manual/install.texi (Tools for Compilation): Update autoconf
13767 version requirements.
13768 * INSTALL: Regenerated.
13769
13770 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13771 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13772 (__libc_pselect): Likewise.
13773
13774 [BZ #14138]
13775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13779
13780 2014-10-31 Torvald Riegel <triegel@redhat.com>
13781
13782 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13783 correct barrier instruction.
13784 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13785 Likewise.
13786 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13787 Likewise.
13788
13789 2014-10-30 Roland McGrath <roland@hack.frob.com>
13790
13791 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13792 after defining inlines. Instead, just use parens to defeat macro
13793 expansion of __isctype in its declaration.
13794
13795 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13796
13797 * include/sys/uio.h (__libc_readv): Remove declaration.
13798 (__libc_writev): Likewise.
13799 * misc/readv.c (__libc_readv): Rename to __readv.
13800 (__readv): Do not define as alias.
13801 (readv): Define as alias of __readv.
13802 * misc/writev.c (__libc_writev): Rename to __writev.
13803 (__writev): Do not define as alias.
13804 (writev): Define as alias of __writev.
13805 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13806 (__readv): Do not define as alias.
13807 (readv): Define unconditionally as alias of __readv.
13808 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13809 (__writev): Do not define as alias.
13810 (writev): Define unconditionally as alias of __writev.
13811 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13812 name.
13813 (writev): Do not define __libc_writev name.
13814
13815 2014-10-30 Roland McGrath <roland@hack.frob.com>
13816
13817 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13818 (convert_charseq): New function, broken out of ...
13819 (use_from_charmap): ... here. Call it.
13820 (use_to_charmap): Use convert_charseq and free instead of duplicating
13821 its code with a variable-length stack struct.
13822
13823 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13824
13825 * include/fcntl.h (__libc_creat): Remove declaration.
13826 * io/creat.c (__libc_creat): Rename to creat.
13827 (creat): Do not define as alias.
13828 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13829 of creat instead of __libc_creat.
13830 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13831 to creat.
13832 (creat): Do not define as alias.
13833 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13834 __libc_creat.
13835 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13836 __libc_creat name.
13837 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13838 Likewise.
13839
13840 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13841
13842 * manual/llio.texi: Add comments discussing why write() may be
13843 considered MT-unsafe on Linux.
13844
13845 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13846
13847 * dl-load.c (local_strdup): Remove.
13848 (expand_dynamic_string_token): Use __strdup.
13849 (decompose_rpath): Likewise.
13850 (_dl_map_object): Likewise.
13851
13852 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13853
13854 [BZ #14132]
13855 * sysdeps/generic/unwind-dw2-fde.c
13856 (__register_frame_info_bases_internal): Do not declare.
13857 (__register_frame_info_table_bases_internal): Likewise.
13858 (__deregister_frame_info_bases_internal): Likewise.
13859 (__register_frame_info_bases): Declare and use hidden_proto before
13860 definition. Use hidden_def instead of INTDEF.
13861 (__register_frame_info_table_bases): Likewise.
13862 (__deregister_frame_info_bases): Likewise.
13863 (__register_frame_info): Do not use INTUSE.
13864 (__register_frame): Likewise.
13865 (__register_frame_info_table): Likewise.
13866 (__register_frame_table): Likewise.
13867 (__deregister_frame_info): Likewise.
13868 (__deregister_frame): Likewise.
13869
13870 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13871
13872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13873 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13874 not undefine.
13875 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13876 Likewise.
13877 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13878 Likewise.
13879
13880 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13881
13882 [BZ #14138]
13883 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13884 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13885 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13886 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13887 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13888 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13889 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13890 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13891 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13892 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13893 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13894 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13895 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13896 syscall.
13897 (setfsuid): Likewise.
13898 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13899 (setfsuid): Likewise.
13900 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13901 (setfsuid): Likewise.
13902 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13903 Likewise.
13904 (setfsuid): Likewise.
13905 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13906 (setfsuid): Likewise.
13907 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13908 Likewise.
13909 (setfsuid): Likewise.
13910
13911 2014-10-27 Andreas Schwab <schwab@suse.de>
13912
13913 [BZ #17501]
13914 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13915 check for Slow_SSE4_2 feature bit.
13916 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13917 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13918 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13919 Likewise. Fix check for Fast_Unaligned_Load feature bit.
13920
13921 2014-10-24 Roland McGrath <roland@hack.frob.com>
13922
13923 * configure.ac: Validate compiler version with a empirical test of
13924 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13925 $CC -v output.
13926 * configure: Regenerated.
13927
13928 * inet/htons.c (htons): Prototypify.
13929 * inet/htonl.c (htonl): Likewise.
13930
13931 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13932
13933 * string/strncat.c (strncat): Improve performance by using strlen.
13934
13935 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13936
13937 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13938
13939 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13940
13941 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13942 Call libc_fetestexcept_aarch64.
13943
13944 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13945
13946 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13947 Call libc_feholdexcept_aarch64.
13948
13949 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13950
13951 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13952 Call get_rounding_mode.
13953
13954 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13955
13956 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13957 Simplify logic.
13958
13959 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13960
13961 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13962 Simplify logic.
13963
13964 2014-10-24 Joseph Myers <joseph@codesourcery.com>
13965
13966 [BZ #14138]
13967 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13968 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13969 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13970 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13971 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13972 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13973 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13974 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13975 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13976 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13977 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13978 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13979 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13980 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13981 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13982 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13983 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13984 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13985 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13986 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13987 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13988 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13989 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13990 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13991 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13992 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13993 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13994 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13995 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13996 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13997 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13998 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13999 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14000 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14001 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14002 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14003 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14005 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14006 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14007 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14008 syscall.
14009 (geteuid): Likewise.
14010 (getgid): Likewise.
14011 (getuid): Likewise.
14012 (getresgid): Likewise.
14013 (getresuid): Likewise.
14014 (getgroups): Likewise.
14015 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14016 (geteuid): Likewise.
14017 (getgid): Likewise.
14018 (getuid): Likewise.
14019 (getresgid): Likewise.
14020 (getresuid): Likewise.
14021 (getgroups): Likewise.
14022 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14023 (geteuid): Likewise.
14024 (getgid): Likewise.
14025 (getuid): Likewise.
14026 (getresgid): Likewise.
14027 (getresuid): Likewise.
14028 (getgroups): Likewise.
14029 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14030 Likewise.
14031 (geteuid): Likewise.
14032 (getgid): Likewise.
14033 (getuid): Likewise.
14034 (getresgid): Likewise.
14035 (getresuid): Likewise.
14036 (getgroups): Likewise.
14037 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14038 (geteuid): Likewise.
14039 (getgid): Likewise.
14040 (getuid): Likewise.
14041 (getresgid): Likewise.
14042 (getresuid): Likewise.
14043 (getgroups): Likewise.
14044 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14045 Likewise.
14046 (geteuid): Likewise.
14047 (getgid): Likewise.
14048 (getuid): Likewise.
14049 (getgroups): Likewise.
14050
14051 [BZ #14138]
14052 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14053 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14054 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14055 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14056 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14057 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14058 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14059 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14060 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14061 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14062 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14063 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14064 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14065 __chown.
14066 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14067 (lchown): Likewise.
14068 (fchown): Likewise.
14069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14070 Likewise.
14071 (lchown): Likewise.
14072 (fchown): Likewise.
14073 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14074 (lchown): Likewise.
14075 (fchown): Likewise.
14076 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14077 Likewise.
14078 (lchown): Likewise.
14079 (fchown): Likewise.
14080
14081 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14082
14083 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14084 Simplify logic.
14085
14086 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14087
14088 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14089 Cleanup logic.
14090
14091 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14092
14093 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14094 Remove unused include.
14095
14096 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14097
14098 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14099 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14100 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14101 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14102
14103 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14104 Helge Deller <deller@gmx.de>
14105
14106 [BZ #17508]
14107 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14108 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14109 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14110
14111 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14112
14113 [BZ #14132]
14114 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14115 Remove macro definition.
14116 (__ashrdi3_v_glibc20): Likewise.
14117 (__lshrdi3_v_glibc20): Likewise.
14118 (__cmpdi2_v_glibc20): Likewise.
14119 (__ucmpdi2_v_glibc20): Likewise.
14120 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14121 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14122 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14123 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14124 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14125 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14126
14127 2014-10-22 Roland McGrath <roland@hack.frob.com>
14128
14129 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14130 old GNU extension [0] syntax.
14131 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14132 alloca rather than an array member with variable length.
14133 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14134 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14135 (parse_opt): ... here. Likewise use alloca there.
14136 Validate the -i argument before checking for rootness.
14137 (send_shutdown): New function, broken out of ...
14138 (parse_opt): ... here.
14139
14140 2014-10-22 Roland McGrath <roland@hack.frob.com>
14141
14142 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14143 macro to get at the _rt_local_ro field.
14144 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14145 ([PIC] case) or _dl_hwcap ([!PIC] case).
14146 * sysdeps/arm/setjmp.S: Likewise.
14147
14148 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14149 * sysdeps/arm/configure.ac: New check to define it.
14150 * sysdeps/arm/configure: Regenerated.
14151 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14152 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14153 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14154 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14155 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14156 Use move/movt pair instead of a load.
14157 (LDST_GLOBAL): Macro removed.
14158 (LDR_GLOBAL): New macro replaces it.
14159 (LDR_HIDDEN): New macro.
14160 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14161 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14162
14163 * setjmp/tst-setjmp-static.c: New file.
14164 * setjmp/Makefile (tests): Add it.
14165 (tests-static): New variable.
14166
14167 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14168
14169 [BZ #17485]
14170 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14171
14172 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14173
14174 [BZ #14132]
14175 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14176
14177 2014-10-21 Roland McGrath <roland@hack.frob.com>
14178
14179 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14180
14181 2014-10-20 Roland McGrath <roland@hack.frob.com>
14182
14183 * io/fts.c (dirent_not_directory): New function.
14184 (fts_build): Call it.
14185
14186 2014-10-20 Roland McGrath <roland@hack.frob.com>
14187
14188 * nptl/version.c (__nptl_main): Use normal __write rather than
14189 INTERNAL_SYSCALL.
14190 (banner): Update copyright years.
14191
14192 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14193 gettimeofday.
14194 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14195 * nptl/pthread_cond_timedwait.c: Likewise.
14196 * nptl/pthread_mutex_timedlock.c: Likewise.
14197 * nptl/sem_timedwait.c: Likewise.
14198
14199 * sysdeps/nptl/bits/libc-lock.h
14200 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14201 (__libc_lock_init_recursive): Return void, not 0.
14202 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14203 (__libc_rwlock_init): Likewise.
14204 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14205
14206 2014-10-20 Torvald Riegel <triegel@redhat.com>
14207
14208 [BZ #15215]
14209 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14210 (__pthread_once_slow): ... here.
14211 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14212 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14213
14214 2014-10-20 Torvald Riegel <triegel@redhat.com>
14215
14216 [BZ #15215]
14217 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14218 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14219 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14220 * nptl/pthread_once.c (__pthread_once): Likewise.
14221 Update comments.
14222
14223 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14224
14225 [BZ #14138]
14226 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14227 name.
14228 (writev): Use __libc_writev as strong name.
14229 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14230 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14231
14232 2014-10-17 Roland McGrath <roland@hack.frob.com>
14233
14234 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14235
14236 * sysdeps/i386/nptl/tls.h
14237 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14238 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14239 New macros.
14240 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14241 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14242 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14243 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14244 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14245 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14246
14247 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14248 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14249 on [__NR_futex].
14250 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14251 broken out of ...
14252 (__pthread_mutex_init): ... here. Call it.
14253 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14254 Conditionalize PI cases on [__NR_futex].
14255 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14256 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14257 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14258
14259 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14260 conditional on [SIGSETXID].
14261 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14262 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14263 is defined. Likewise for SIGSETXID.
14264 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14265 Conditionalize definitions on [SIGSETXID].
14266 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14267 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14268 unblocking on [SIGCANCEL].
14269
14270 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14271 [__NR_set_robust_list].
14272
14273 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14274
14275 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14276 (do_compare): Likewise.
14277
14278 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14279
14280 [BZ #15884]
14281 * string/strcoll_l.c: Don't include stdio.h.
14282 (coll_seq): Remove members idxarr and rulearr.
14283 (get_next_seq_cached): Remove function.
14284 (get_next_seq): Likewise.
14285 (get_next_seq_nocache): Rename to get_next_seq.
14286 (do_compare): Remove function.
14287 (do_compare_nocache): Rename to do_compare.
14288 (STRCOLL): Remove weight and rules cache.
14289
14290 2014-10-16 Roland McGrath <roland@hack.frob.com>
14291
14292 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14293 * sysdeps/arm/sfp-machine.h: ... to here.
14294 * sysdeps/arm/Implies: Remove arm/soft-fp.
14295
14296 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14297
14298 * conform/data/sys/utsname.h-data (*_t): Allow.
14299 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14300 [POSIX] (WEXITED): Do not expect constant.
14301 [POSIX] (WSTOPPED): Likewise.
14302 [POSIX] (WNOHANG): Likewise.
14303 [POSIX] (WNOWAIT): Likewise.
14304 [POSIX] (siginfo_t): Do not expect type or elements.
14305 [POSIX] (pid_t): Do not expect type.
14306 [POSIX] (signal.h): Do not allow header.
14307 [POSIX] (sys/resource.h): Likewise.
14308 [POSIX] (si_*): Do not allow pattern.
14309 [POSIX] (W*): Likewise.
14310 [POSIX] (P_*): Likewise.
14311 [POSIX] (BUS_*): Likewise.
14312 [POSIX] (CLD_*): Likewise.
14313 [POSIX] (FPE_*): Likewise.
14314 [POSIX] (ILL_*): Likewise.
14315 [POSIX] (POLL_*): Likewise.
14316 [POSIX] (SEGV_*): Likewise.
14317 [POSIX] (SI_*): Likewise.
14318 [POSIX] (TRAP_*): Likewise.
14319 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14320 variable.
14321
14322 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14323
14324 [BZ #12926]
14325 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14326 infinite loop when __recvmsg returns 0.
14327
14328 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14329
14330 * CANCEL-FCT-WAIVE: Remove file.
14331 * CANCEL-FILE-WAIVE: Likewise.
14332
14333 [BZ #14132]
14334 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14335 instead of INTVARDEF.
14336 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14337 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14338 rtld_hidden_data_def instead of INTVARDEF.
14339 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14340 * elf/dl-deps.c (expand_dst): Likewise.
14341 * elf/dl-load.c (_dl_dst_count): Likewise.
14342 (_dl_dst_substitute): Likewise.
14343 (decompose_rpath): Likewise.
14344 (_dl_init_paths): Likewise.
14345 (open_path): Likewise.
14346 (_dl_map_object): Likewise.
14347 * elf/rtld.c (dl_main): Likewise.
14348 (process_dl_audit): Likewise.
14349 (process_envvars): Likewise.
14350 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14351 Remove declaration.
14352 (__libc_enable_secure): Use rtld_hidden_proto.
14353
14354 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14355
14356 * elf/dl-load.c
14357 (add_path): New function broken out of _dl_rtld_di_serinfo.
14358 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14359
14360 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14361
14362 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14363 parentheses around macro arguments.
14364 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14365 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14366 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14367 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14368 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14369 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14370 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14371 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14372 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14373 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14374 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14375 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14376 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14377 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14378 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14379 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14380 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14381 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14382 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14383 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14384 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14385 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14386 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14389 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14390 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14391 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14393 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14394 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14395 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14396 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14397 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14398 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14399 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14400 Likewise.
14401 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14402 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14403 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14404 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14405 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14406 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14407 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14408 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14409 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14410 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14411 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14412 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14413 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14414 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14415 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14416 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14417 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14418 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14419 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14420 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14421 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14422 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14423 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14424 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14425 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14426 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14427 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14428 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14429 (_FP_FRAC_SRS_1): Likewise.
14430 (_FP_FRAC_CLZ_1): Likewise.
14431 (_FP_MUL_MEAT_1_imm): Likewise.
14432 (_FP_MUL_MEAT_1_wide): Likewise.
14433 (_FP_MUL_MEAT_1_hard): Likewise.
14434 (_FP_SQRT_MEAT_1): Likewise.
14435 (_FP_FRAC_ASSEMBLE_1): Likewise.
14436 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14437 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14438 (__FP_CLZ_2): Likewise.
14439 (_FP_MUL_MEAT_2_wide): Likewise.
14440 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14441 (_FP_MUL_MEAT_2_gmp): Likewise.
14442 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14443 (_FP_SQRT_MEAT_2): Likewise.
14444 (_FP_FRAC_ASSEMBLE_2): Likewise.
14445 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14446 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14447 (_FP_FRAC_CLZ_4): Likewise.
14448 (_FP_MUL_MEAT_4_wide): Likewise.
14449 (_FP_MUL_MEAT_4_gmp): Likewise.
14450 (_FP_SQRT_MEAT_4): Likewise.
14451 (_FP_FRAC_ASSEMBLE_4): Likewise.
14452 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14453 * soft-fp/op-common.h (_FP_CMP): Likewise.
14454 (_FP_CMP_EQ): Likewise.
14455 (_FP_CMP_UNORD): Likewise.
14456 (_FP_TO_INT): Likewise.
14457 (_FP_FROM_INT): Likewise.
14458 [!__FP_CLZ] (__FP_CLZ): Likewise.
14459 (_FP_DIV_HELP_imm): Likewise.
14460 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14461 Likewise.
14462 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14463 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14464 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14465 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14466 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14467 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14468 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14469 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14470 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14471 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14472 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14473 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14474 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14475 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14476 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14477 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14478 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14479 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14480 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14481 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14482 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14483 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14484 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14485 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14486 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14487 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14488 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14489 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14490 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14491 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14492 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14493 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14494 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14495 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14496 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14497 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14498 (FP_UNPACK_RAW_SP): Likewise.
14499 (FP_PACK_RAW_S): Likewise.
14500 (FP_PACK_RAW_SP): Likewise.
14501 (FP_UNPACK_S): Likewise.
14502 (FP_UNPACK_SP): Likewise.
14503 (FP_UNPACK_SEMIRAW_S): Likewise.
14504 (FP_UNPACK_SEMIRAW_SP): Likewise.
14505 (FP_PACK_S): Likewise.
14506 (FP_PACK_SP): Likewise.
14507 (FP_PACK_SEMIRAW_S): Likewise.
14508 (FP_PACK_SEMIRAW_SP): Likewise.
14509 (_FP_SQRT_MEAT_S): Likewise.
14510 (FP_CMP_S): Likewise.
14511 (FP_CMP_EQ_S): Likewise.
14512 (FP_CMP_UNORD_S): Likewise.
14513 (FP_TO_INT_S): Likewise.
14514 (FP_FROM_INT_S): Likewise.
14515
14516 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14517
14518 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14519 (FP_EX_INVALID_IMZ): Likewise.
14520 (FP_EX_INVALID_IMZ_FMA): Likewise.
14521 (FP_EX_INVALID_ISI): Likewise.
14522 (FP_EX_INVALID_ZDZ): Likewise.
14523 (FP_EX_INVALID_IDI): Likewise.
14524 (FP_EX_INVALID_SQRT): Likewise.
14525 (FP_EX_INVALID_CVI): Likewise.
14526 (FP_EX_INVALID_VC): Likewise.
14527 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14528 "invalid" exceptions.
14529 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14530 (_FP_ADD_INTERNAL): Likewise.
14531 (_FP_MUL): Likewise.
14532 (_FP_FMA): Likewise.
14533 (_FP_DIV): Likewise.
14534 (_FP_CMP_CHECK_NAN): Likewise.
14535 (_FP_SQRT): Likewise.
14536 (_FP_TO_INT): Likewise.
14537 (FP_EXTEND): Likewise.
14538
14539 2014-10-09 Allan McRae <allan@archlinux.org>
14540
14541 * po/fr.po: Update French translation from translation project.
14542
14543 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14544
14545 [BZ #14132]
14546 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14547 of INTDEF.
14548 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14549 (__cxa_atexit): Use libc_hidden_proto.
14550 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14551
14552 [BZ #14132]
14553 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14554 declaration.
14555 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14556 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14557 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14558 [!_ISOMAC] (__iswctype_internal): Likewise.
14559 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14560 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14561 alias.
14562 (fcntl): Remove __fcntl_internal alias.
14563 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14564 __connect_internal alias.
14565 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14566 Likewise.
14567
14568 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14569 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14570 FP_DENORM_ZERO.
14571 (_FP_CHECK_FLUSH_ZERO): New macro.
14572 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14573 (_FP_CMP): Likewise.
14574 (_FP_CMP_EQ): Likewise.
14575 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14576 FP_DENORM_ZERO.
14577 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14578 (FP_TRUNC): Likewise.
14579
14580 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14581 treated as invalid conversion, not as normal exponent.
14582
14583 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14584 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14585 (_FP_CMP_EQ): Likewise.
14586 (_FP_CMP_UNORD): Likewise.
14587 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14588 (FP_CMP_EQ_D): Likewise.
14589 (FP_CMP_UNORD_D): Likewise.
14590 * soft-fp/extended.h (FP_CMP_E): Likewise.
14591 (FP_CMP_EQ_E): Likewise.
14592 (FP_CMP_UNORD_E): Likewise.
14593 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14594 (FP_CMP_EQ_Q): Likewise.
14595 (FP_CMP_UNORD_Q): Likewise.
14596 * soft-fp/single.h (FP_CMP_S): Likewise.
14597 (FP_CMP_EQ_S): Likewise.
14598 (FP_CMP_UNORD_S): Likewise.
14599 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14600 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14601 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14602 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14603 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14604 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14605 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14606 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14607 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14608 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14609 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14610 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14611 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14612 to FP_CMP_Q.
14613 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14614 FP_CMP_Q.
14615 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14616 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14617 FP_CMP_EQ_Q.
14618 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14619 FP_CMP_Q.
14620 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14621 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14622 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14623 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14624 FP_CMP_EQ_Q.
14625 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14626 FP_CMP_Q.
14627 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14628 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14629 FP_CMP_EQ_Q.
14630 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14631 FP_CMP_Q.
14632 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14633 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14634 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14635 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14636 FP_CMP_EQ_Q.
14637
14638 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14639 a subnormal result, set the underflow exception if trapping on
14640 underflow is enabled.
14641 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14642 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14643 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14644 redefine to 0.
14645 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14646 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14647 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14648 * soft-fp/extendxftf2.c (__extendxftf2): Use
14649 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14650
14651 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14652 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14653 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14654 FP_HANDLE_EXCEPTIONS.
14655 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14656 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14657 FP_HANDLE_EXCEPTIONS.
14658 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14659 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14660 FP_HANDLE_EXCEPTIONS.
14661 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14662 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14663 FP_HANDLE_EXCEPTIONS.
14664
14665 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14666
14667 [BZ #14132]
14668 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14669 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14670 use INTUSE.
14671 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14672 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14673 Remove alias.
14674 (__adjtimex): Define using libc_hidden_ver.
14675 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14676 Remove declaration.
14677 (ntp_gettime): Call __adjtimex directly.
14678 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14679 Remove declaration.
14680 (ntp_gettimex): Call __adjtimex directly.
14681 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14682 __adjtimex_internal alias.
14683
14684 2014-10-08 Roland McGrath <roland@hack.frob.com>
14685
14686 [BZ #17460]
14687 * nscd/nscd.c (more_help): Rewrite list of tables collection
14688 using xstrdup and asprintf.
14689
14690 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14691
14692 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14693 Roland McGrath <roland@hack.frob.com>
14694
14695 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14696 (do_lookup_unique): ... local function 'enter' here; update callers.
14697
14698 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14699
14700 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14701 compat_symbol calls on [SHARED].
14702 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14703 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14704 Remove.
14705 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14706 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14707 (oldsetrlimit): Remove.
14708 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14710 (lchown): New syscall entry.
14711 (oldsetrlimit): Remove.
14712 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14713 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14714 (oldsetrlimit): Remove.
14715 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14716
14717 [BZ #14138]
14718 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14719 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14720 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14721 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14722 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14723 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14724 (fchown): Likewise.
14725 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14726 (fchown): Likewise.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14728 Likewise.
14729
14730 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14731
14732 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14733 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14734 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14735 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14736 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14737 Likewise.
14738 (__old_sem_post): Likewise.
14739
14740 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14741
14742 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14743 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14744 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14745 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14746 Use INLINE_VSYSCALL macro.
14747 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14748 __vdso_clock_gettime.
14749 * sysdeps/unix/sysv/linux/tile/init-first.c
14750 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14751 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14752 __vdso_clock_gettime.
14753
14754 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14755 to set up frame more cleanly.
14756
14757 * sysdeps/tile/memcmp.c: New file.
14758
14759 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14760
14761 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14762 * sysdeps/tile/tilegx/strcasestr.c: New file.
14763 * sysdeps/tile/tilegx/strnlen.c: New file.
14764 * sysdeps/tile/tilegx/strstr.c: New file.
14765
14766 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14767
14768 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14769
14770 * nptl/tst-setuid3.c: Write errors to stdout.
14771
14772 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14773
14774 * elf/dl-deps.c
14775 (preload): New functions broken out of _dl_map_object_deps.
14776 (_dl_map_object_deps): Remove a nested function. Update call sites.
14777
14778 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14779
14780 [BZ #14138]
14781 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14782 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14783
14784 2014-10-01 Steve Ellcey <sellcey@mips.com>
14785
14786 * sysdeps/mips/strcmp.S: New.
14787
14788 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14789
14790 [BZ #14138]
14791 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14792 (linkat): Likewise.
14793 (mkdirat): Likewise.
14794 (readlinkat): Likewise.
14795 (renameat): Likewise.
14796 (symlinkat): Likewise.
14797 (unlinkat): Likewise.
14798 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14799 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14800 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14801 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14802 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14803 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14804 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14805
14806 2014-09-30 Will Newton <will.newton@linaro.org>
14807
14808 * math/math.h: Define long double math functions if
14809 _LIBC_TEST is defined.
14810 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14811
14812 * localedata/Makefile: Move assignment to tests-special
14813 into an ifdef testing run-built-tests.
14814 * timezone/Makefile: Likewise.
14815
14816 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14817
14818 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14819 with $(BASH) not $(SHELL).
14820
14821 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14822 Matthew LeGendre <legendre1@llnl.gov>
14823
14824 [BZ #17411]
14825 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14826 l_reloc_result.
14827
14828 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14829
14830 * stdio-common/printf_fp.c
14831 (hack_digit): New function, broken out of ...
14832 (__printf_fp): ... local function here. Update call sites.
14833 hack_digit now takes an additional parameter that is a pointer
14834 to a struct of the referenced locals. Those locals moved inside
14835 the struct and references updated.
14836
14837 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14838
14839 * aclocal.m4: Require autoconf 2.69.
14840 * configure: Regenerated.
14841 * sysdeps/aarch64/configure: Likewise.
14842 * sysdeps/alpha/configure: Likewise.
14843 * sysdeps/arm/armv7/configure: Likewise.
14844 * sysdeps/arm/configure: Likewise.
14845 * sysdeps/ia64/configure: Likewise.
14846 * sysdeps/mach/configure: Likewise.
14847 * sysdeps/mips/configure: Likewise.
14848 * sysdeps/s390/configure: Likewise.
14849 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14851
14852 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14853 file.
14854 * sysdeps/ia64/configure.ac: Likewise.
14855
14856 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14857
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14859 specify symbol version for ld.so. Do not include entry for
14860 libpthread.
14861 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14862 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14863 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14864
14865 [BZ #14171]
14866 * Makeconfig [$(build-shared) = yes]
14867 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14868 makefiles.
14869 [$(build-shared) = yes && $(soversions.mk-done) = t]
14870 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14871 [$(build-shared) = yes && $(soversions.mk-done) = t]
14872 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14873 to Makerules.
14874 [$(build-shared) = yes && $(soversions.mk-done) = t]
14875 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14876 here.
14877 [$(build-shared) = yes && $(soversions.mk-done) = t]
14878 (common-generated): Don't append gnu/lib-names.h and
14879 gnu/lib-names.stmp here.
14880 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14881 (lib-names-h-abi): New variable.
14882 [$(build-shared) = yes && $(soversions.mk-done) = t]
14883 (lib-names-stmp-abi): Likewise.
14884 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14885 abi-variants] (before-compile): Append
14886 $(common-objpfx)$(lib-names-h-abi).
14887 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14888 abi-variants] (common-generated): Append gnu/lib-names.h.
14889 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14890 abi-variants] (install-others-nosubdir): Depend on
14891 $(inst_includedir)/$(lib-names-h-abi).
14892 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14893 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14894 [$(build-shared) = yes && $(soversions.mk-done) = t]
14895 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14896 [$(build-shared) = yes && $(soversions.mk-done) = t]
14897 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14898 [$(build-shared) = yes && $(soversions.mk-done) = t]
14899 (common-generated): Append $(lib-names-h-abi) and
14900 $(lib-names-stmp-abi).
14901 * scripts/lib-names.awk: Do not handle multi being set.
14902 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14903 Remove variable.
14904 (abi-lp64_be-ld-soname): Likewise.
14905 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14906 Likewise.
14907 (abi-hard-ld-soname): Likewise.
14908 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14909 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14910 Remove variable.
14911 (abi-o32_hard-ld-soname): Likewise.
14912 (abi-o32_soft_2008-ld-soname): Likewise.
14913 (abi-o32_hard_2008-ld-soname): Likewise.
14914 (abi-n32_soft-ld-soname): Likewise.
14915 (abi-n32_hard-ld-soname): Likewise.
14916 (abi-n32_soft_2008-ld-soname): Likewise.
14917 (abi-n32_hard_2008-ld-soname): Likewise.
14918 (abi-n64_soft-ld-soname): Likewise.
14919 (abi-n64_hard-ld-soname): Likewise.
14920 (abi-n64_soft_2008-ld-soname): Likewise.
14921 (abi-n64_hard_2008-ld-soname): Likewise.
14922 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14923 Likewise.
14924 (abi-64-v2-ld-soname): Likewise.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14926 ld.so entries.
14927 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14928 variable.
14929 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14930 entry.
14931 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14932 variable.
14933 (abi-64-ld-soname): Likewise.
14934 (abi-x32-ld-soname): Likewise.
14935 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14936 entry.
14937 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14938
14939 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14940
14941 [BZ #14138]
14942 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14943 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14944 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14946 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14947 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14948 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14949 syscall entry for GLIBC_2.2 symbol version.
14950 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14951 Likewise.
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14953 (setrlimit): Likewise.
14954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14955 Likewise.
14956
14957 2014-09-23 Will Newton <will.newton@linaro.org>
14958
14959 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14960 _LINUX_ARM_SYSDEP_H include guard too.
14961 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14962 define.
14963
14964 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14965
14966 * sysdeps/unix/sysv/linux/eventfd.c:
14967 Make first argument unsigned.
14968 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14969 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14970
14971 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
14972
14973 * socket/recvmmsg.c (recvmmsg): Drop const argument.
14974 * socket/sys/socket.h: Likewise
14975 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14976
14977 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14978
14979 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14980
14981 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
14982
14983 * time/tst-ftime.c: New test.
14984 * time/Makefile (tests): Add tst-ftime.
14985
14986 2014-09-17 Joseph Myers <joseph@codesourcery.com>
14987
14988 * soft-fp/extended.h: Fix comment formatting.
14989 * soft-fp/op-1.h: Likewise.
14990 * soft-fp/op-2.h: Likewise.
14991 * soft-fp/op-4.h: Likewise.
14992 * soft-fp/op-8.h: Likewise.
14993 * soft-fp/op-common.h: Likewise.
14994 * soft-fp/soft-fp.h: Likewise.
14995
14996 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14997
14998 2014-09-16 Joseph Myers <joseph@codesourcery.com>
14999
15000 [BZ #6652]
15001 * Makeconfig (soversions-default-setname): Remove variable.
15002 ($(common-objpfx)soversions.i): Don't pass default_setname to
15003 soversions.awk.
15004 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15005 oldest_abi to abi-versions.awk.
15006 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15007 * config.make.in (oldest-abi): Remove variable.
15008 * configure.ac (--enable-oldest-abi): Remove configure option.
15009 * configure: Regenerated.
15010 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15011 text.
15012 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15013 * scripts/soversions.awk: Do not handle default_setname variable.
15014 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15015 variable.
15016 * sysdeps/mach/hurd/configure: Regenerated.
15017 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15018 variable.
15019 * sysdeps/unix/sysv/linux/configure: Regenerated.
15020
15021 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15022
15023 * elf/Makefile (CFLAGS-interp.c): Remove.
15024 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15025 path string.
15026 * elf/interp.c: Include generated runtime-linker.h
15027
15028 * Makerules (lib%.so): Don't include $(+interp) in
15029 prerequisites.
15030 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15031 * dlfcn/eval.c: Remove file.
15032
15033 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15034 macros.
15035
15036 [BZ #17266]
15037 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15038 4.2 and newer.
15039
15040 [BZ #17370]
15041 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15042
15043 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15044 Jakub Jelinek <jakub@redhat.com>
15045
15046 [BZ #17266]
15047 * libio/stdio.h: Check definition of __fortify_function
15048 instead of __extern_always_inline to include bits/stdio2.h.
15049 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15050 check if __extern_always_inline is defined.
15051 [__USE_MISC || __USE_XOPEN]: Likewise.
15052 [__USE_ISOC99] Likewise.
15053 * misc/sys/cdefs.h (__fortify_function): Define only if
15054 __extern_always_inline is defined.
15055 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15056 __extern_always_inline and __extern_inline only for g++-4.3
15057 and newer or a compatible gcc.
15058
15059 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15060
15061 [BZ #17371]
15062 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15063 last change to handle zero prefix length.
15064
15065 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15066
15067 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15068 _SC_REGEX_VERSION.
15069
15070 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15071 _POSIX_RAW_SOCKETS.
15072
15073 2014-09-13 Allan McRae <allan@archlinux.org>
15074
15075 * po/ru.po: Update Russian translation from translation project.
15076
15077 2014-09-12 Roland McGrath <roland@hack.frob.com>
15078
15079 * locale/programs/locale.c (show_locale_vars): Inline local function
15080 into its sole call site. Clean up some style nits.
15081 (print_item): New function, broken out of ...
15082 (show_info): ... local function here. Clean up style nits.
15083
15084 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15085 out of ...
15086 (set_class_defaults): ... local function set_default here.
15087 Define set_default as a macro locally to pass constant parameters.
15088 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15089 rather than a shared local.
15090
15091 * stdlib/rpmatch.c (try): New function, broken out of ...
15092 (rpmatch): ... local function here. Also, prototypify definition.
15093
15094 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15095
15096 * scripts/soversions.awk: Do not handle configuration names.
15097 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15098 vendor and os variables to soversions.awk.
15099 * configure.ac: Do not modify gnu-* host_os.
15100 * configure: Regenerated
15101 * shlib-versions: Remove first column with configuration names.
15102 * nptl/shlib-versions: Likewise.
15103 * nptl_db/shlib-versions: Likewise.
15104 * sysdeps/hppa/shlib-versions: Likewise.
15105 * sysdeps/m68k/shlib-versions: Likewise.
15106 * sysdeps/mach/hurd/shlib-versions: Likewise.
15107 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15108 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15109 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15110 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15111 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15112 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15113 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15114 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15116 Likewise.
15117 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15118 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15119 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15120 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15121 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15122 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15123 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15124 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15125
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15127 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15129 Regenerated.
15130 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15132 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15133
15134 * shlib-versions: Remove OS-specific entries. Moved to files in
15135 sysdeps.
15136 * sysdeps/mach/hurd/shlib-versions: New file.
15137 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15138
15139 * nptl/shlib-versions: Remove architecture-specific entries.
15140 Moved to files in sysdeps.
15141 * shlib-versions: Likewise.
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15143 file.
15144 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15145 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15146 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15147 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15148
15149 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15150 (UDP_NO_CHECK6_RX): Likewise.
15151
15152 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15153
15154 * sysdeps/posix/sysconf.c (__sysconf): Spell
15155 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15156
15157 2014-08-12 Florian Weimer <fweimer@redhat.com>
15158
15159 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15160 loading.
15161 * iconv/Versions (__gconv_transliterate): Export for use from
15162 gconv modules.
15163 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15164 (struct __gconv_trans_data, __gconv_trans_fct,
15165 __gconv_trans_context_fct, __gconv_trans_query_fct,
15166 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15167 definitions.
15168 (struct __gconv_step_data): Remove __trans member.
15169 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15170 longer hidden. Remove unused trans_data argument.
15171 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15172 (__gconv_translit_find): Remove declaration.
15173 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15174 prototype.
15175 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15176 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15177 trans_data argument. Add hidden definition.
15178 (__gconv_translit_find): Remove.
15179 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15180 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15181 * iconv/skeleton.c: Remove transliteration initialization.
15182 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15183 __gconv_step_data initialization.
15184 * libio/iofwide.c (__libio_translit_): Remove.
15185 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15186 * wcsmbs/btowc.c (__btowc): Likewise.
15187 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15188 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15189 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15190 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15191 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15192 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15193 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15194 * wcsmbs/wctob.c (wctob): Likewise.
15195
15196 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15197
15198 [BZ #16194]
15199 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15200 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15201 register usage.
15202 * sysdeps/x86/Makefile: Adjust.
15203
15204 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15205 Roland McGrath <roland@hack.frob.com>
15206
15207 * locale/weight.h: Add include guard.
15208 (findidx): Make static rather than auto; take new parameters
15209 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15210 * locale/weightwc.h: Likewise.
15211 * posix/fnmatch_loop.c
15212 (FCT): Change type of EXTRA from int32_t to wint_t.
15213 Don't include either header inside the function.
15214 Call FINDIDX rather than findidx, and pass new arguments.
15215 #undef FINDIDX at the end of the file.
15216 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15217 FINDIDX before including fnmatch_loop.c for the non-wide version.
15218 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15219 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15220 for the wide version.
15221 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15222 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15223 Pass new arguments to findidx.
15224 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15225 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15226 Don't #include it inside the function. Pass new arguments to findidx.
15227 * posix/regex_internal.h
15228 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15229 (re_string_elem_size_at): Don't #include it inside the function.
15230 Pass new arguments to findidx.
15231 * string/strcoll_l.c: #include WEIGHT_H at top level.
15232 (get_next_seq): Don't #include it inside the function.
15233 Pass new arguments to findidx.
15234 (get_next_seq_nocache): Likewise.
15235 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15236 (STRXFRM): Don't #include it inside the function.
15237 Pass new arguments to findidx.
15238
15239 2014-09-11 Florian Weimer <fweimer@redhat.com>
15240
15241 [BZ #17344]
15242 * malloc/malloc.c (unlink): Turn asserts into a call to
15243 malloc_printerr.
15244
15245 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15246
15247 [BZ #17370]
15248 * libio/wfileops (do_ftell_wide): Free OUT.
15249
15250 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15251
15252 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15253
15254 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15255
15256 [BZ #17363]
15257 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15258 group if the current group is empty.
15259
15260 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15261
15262 * benchtests/bench-memset.c (test_main): Add more test from size
15263 from 32 to 512 bytes.
15264 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15265 Add POWER8 memset object.
15266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15267 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15268 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15269 implementation.
15270 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15271 Likewise.
15272 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15273 multiarch POWER8 memset optimization.
15274 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15275 POWER8 memset optimization.
15276
15277 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15278 Remove bzero multiarch objects.
15279 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15280 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15281 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15282 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15283 Remove define.
15284 [__bzero]: Redefine to specific name.
15285 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15286 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15287 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15288 define.
15289 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15290 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15291
15292 2014-09-10 Florian Weimer <fweimer@redhat.com>
15293
15294 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15295 warnings into errors.
15296
15297 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15298 __cxa_thread_atexit_impl prototype.
15299
15300 2014-09-09 Steve Ellcey <sellcey@mips.com>
15301
15302 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15303 Fix capitalization of error message.
15304
15305 2014-09-09 Steve Ellcey <sellcey@mips.com>
15306
15307 * sysdeps/mips/preconfigure: Modify ABI tests.
15308
15309 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15310
15311 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15312
15313 2014-09-07 Roland McGrath <roland@hack.frob.com>
15314 Carlos O'Donell <carlos@systemhalted.org>
15315
15316 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15317 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15318 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15319 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15320 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15321 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15322 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15323 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15324 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15325 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15326 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15327 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15328 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15329 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15330 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15331 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15332 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15333 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15334 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15335 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15336 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15337 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15338 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15339 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15340 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15341 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15342 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15343 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15344 Deconditionalize the code that was previously under [RESET_PID].
15345 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15346 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15347 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15348 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15349 include sysdep.h.
15350
15351 2014-09-08 Allan McRae <allan@archlinux.org>
15352
15353 * version.h (RELEASE): Set to "development".
15354 (VERSION): Set to "2.20.90"
15355
15356 2014-09-07 Allan McRae <allan@archlinux.org
15357
15358 * version.h (RELEASE): Set to "stable".
15359 (VERSION): Set to "2.20"
15360 * include/features.h (__GLIBC_MINOR__): Set to 20.
15361
15362 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15363 Liebler.
15364
15365 * po/ko.po: Update Korean translation from translation project.
15366
15367 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15368
15369 [BZ #17354]
15370 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15371 macro for handling signed relocations.
15372
15373 2014-09-03 Florian Weimer <fweimer@redhat.com>
15374
15375 [BZ #17325]
15376 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15377 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15378 assert.
15379 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15380 * iconvdata/ibm935.c (BODY): Likewise.
15381 * iconvdata/ibm937.c (BODY): Likewise.
15382 * iconvdata/ibm939.c (BODY): Likewise.
15383 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15384 assert.
15385 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15386 script.
15387 * iconvdata/run-iconv-test.sh: New test loop for checking for
15388 decoder crashers.
15389
15390 2014-09-02 Khem Raj <raj.khem@gmail.com>
15391
15392 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15393 libm_hidden_ver.
15394
15395 2014-09-01 Allan McRae <allan@archlinux.org>
15396
15397 * po/eo.po: Update Esperanto translation from translation project.
15398
15399 * po/ca.po: Update Catalan translation from translation project.
15400
15401 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15402
15403 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15404 __proc_dostop call.
15405
15406 2014-08-27 Mark Wielaard <mjw@redhat.com>
15407
15408 [BZ #17319]
15409 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15410 to call set_thread_area instead of hand written asm.
15411 (__NR_set_thread_area): Removed define.
15412 (TLS_FLAG_WRITABLE): Likewise.
15413 (__ASSUME_SET_THREAD_AREA): Remove check.
15414 (TLS_EBX_ARG): Remove define.
15415 (TLS_LOAD_EBX): Likewise.
15416
15417 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15418
15419 Simplify atomicity of socket creation in bind.
15420
15421 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15422 looking up the name after linking the file.
15423
15424 2014-08-27 Allan McRae <allan@archlinux.org>
15425
15426 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15427
15428 2014-08-26 Florian Weimer <fweimer@redhat.com>
15429
15430 [BZ #17187]
15431 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15432 trans_compare, open_translit, __gconv_translit_find):
15433 Remove module loading code.
15434
15435 2014-08-26 Allan McRae <allan@archlinux.org>
15436
15437 * po/vi.po: Update Vietnamese translation from translation project.
15438
15439 * po/uk.po: Update Ukrainian translation from translation project.
15440
15441 * po/fr.po: Update French translation from translation project.
15442
15443 * po/ru.po: Update Russian translation from translation project.
15444
15445 * po/pl.po: Update Polish translation from translation project.
15446
15447 * po/cs.po: Update Czech translation from translation project.
15448
15449 * po/de.po: Update German translation from translation project.
15450
15451 * po/bg.po: Update Bulgarian translation from translation project.
15452
15453 * po/sv.po: Update Sweedish translation from translation project.
15454
15455 * po/nl.po: Update Dutch translation from translation project.
15456
15457 * po/es.po: Update Spanish translation from translation project.
15458
15459 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15460
15461 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15462
15463 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15464 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15465 (CPPFLAGS-iconvconfig): Likewise.
15466 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15467
15468 * include/libc-symbols.h: Remove unnecessary check for
15469 NOT_IN_libc.
15470 * nptl/pthreadP.h: Likewise.
15471 * sysdeps/aarch64/setjmp.S: Likewise.
15472 * sysdeps/alpha/setjmp.S: Likewise.
15473 * sysdeps/arm/sysdep.h: Likewise.
15474 * sysdeps/i386/setjmp.S: Likewise.
15475 * sysdeps/m68k/setjmp.c: Likewise.
15476 * sysdeps/posix/getcwd.c: Likewise.
15477 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15478 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15479 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15480 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15481 * sysdeps/sh/sh3/setjmp.S: Likewise.
15482 * sysdeps/sh/sh4/setjmp.S: Likewise.
15483 * sysdeps/unix/alpha/sysdep.h: Likewise.
15484 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15485 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15486 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15487 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15490 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15491 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15492 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15495 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15497 * sysdeps/x86_64/setjmp.S: Likewise.
15498
15499 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15500
15501 [BZ #17263]
15502 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15503 <stdint.h>.
15504 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15505 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15506
15507 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15508
15509 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15510
15511 [BZ #17262]
15512 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15513 and __x86_64__ when disabling x87 inline functions.
15514
15515 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15516
15517 [BZ #17259]
15518 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15519 asm statement with __cpuid_count.
15520
15521 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15522
15523 * configure.ac: Change __ehdr_start code to dereference the struct.
15524 Run readelf on the output to look for relocations.
15525 * configure: Regenerated.
15526
15527 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15528
15529 [BZ #17261]
15530 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15531 value to 0.
15532 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15533
15534 2014-08-12 Roland McGrath <roland@hack.frob.com>
15535
15536 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15537
15538 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15539
15540 [BZ #16892]
15541 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15542 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15543
15544 2014-08-12 Sean Anderson <seanga2@gmail.com>
15545
15546 * malloc/malloc.c: Fix typo in comment.
15547
15548 2014-08-09 Allan McRae <allan@archlinux.org>
15549
15550 * Regenerate libc.po.
15551
15552 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15553
15554 * intl/tst-gettext2.sh: Check every lang file for creation.
15555
15556 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15557
15558 * sysdeps/aarch64/fpu/math_private.h
15559 (libc_feholdsetround_noex_aarch64_ctx): New function.
15560
15561 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15562
15563 * sysdeps/arm/armv6/strcpy.S (strcpy):
15564 Fix performance issue in misaligned cases.
15565
15566 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15567
15568 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15569 Move definition from termios.h.
15570 (struct termio): Likewise.
15571 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15572 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15573 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15574 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15575 Likewise.
15576 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15577 Move definition to ioctl-types.h
15578 (struct termio): Likewise.
15579 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15580 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15581 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15582 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15583 Likewise.
15584
15585 2014-08-05 Richard Henderson <rth@redhat.com>
15586
15587 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15588 exceptions.
15589 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15590 Add fraiseexcpt.
15591 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15592 Use __feraiseexcept.
15593 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15594 Protect libm symbols with IS_IN_libm.
15595
15596 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15597
15598 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15599
15600 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15601
15602 2014-08-04 Will Newton <will.newton@linaro.org>
15603
15604 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15605 file.
15606
15607 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15608
15609 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15610 variants for each function.
15611
15612 2014-08-04 Roland McGrath <roland@hack.frob.com>
15613
15614 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15615 appended ...
15616 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15617 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15618 appended ...
15619 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15620 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15621 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15622 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15623 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15624 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15625 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15626 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15627 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15628 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15629 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15630 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15631 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15632 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15633 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15634 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15635 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15636 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15637 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15638 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15639 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15640 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15641 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15642 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15643 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15644 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15645 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15646 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15647 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15648 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15649 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15650 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15651 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15652 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15653 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15654 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15655 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15656 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15657 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15658 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15659 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15660 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15661 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15662 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15663 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15664 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15665 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15666 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15667 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15668 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15669 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15670 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15671 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15672 Update #include.
15673 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15674 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15675
15676 2014-08-04 Roland McGrath <roland@hack.frob.com>
15677
15678 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15679 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15680 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15681 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15682 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15683 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15684
15685 2014-08-04 Roland McGrath <roland@hack.frob.com>
15686
15687 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15688 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15689 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15690 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15691
15692 2014-08-04 Roland McGrath <roland@hack.frob.com>
15693
15694 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15695 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15696 (__libc_vfork): Define function under this name.
15697 (__vfork): Define as an alias.
15698 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15699 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15700
15701 2014-08-04 Roland McGrath <roland@hack.frob.com>
15702
15703 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15704 that was previously under [RESET_PID].
15705 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15706
15707 2014-08-04 Andreas Schwab <schwab@suse.de>
15708
15709 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15710
15711 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15712
15713 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15714 (main): Likewise.
15715
15716 2014-08-01 Roland McGrath <roland@hack.frob.com>
15717
15718 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15719
15720 2014-08-01 Richard Henderon <rth@redhat.com>
15721
15722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15723 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15724 typo in exact zero test.
15725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15728
15729 2014-08-01 Roland McGrath <roland@hack.frob.com>
15730
15731 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15732 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15733 * sysdeps/arm/sysdep.h: ... here.
15734 [!__ASSEMBLER__]: Include <stdint.h>.
15735
15736 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15737
15738 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15739 (HAVE_WCTYPE_H): Likewise.
15740 (HAVE_ISWCTYPE): Likewise.
15741 (ENABLE_NLS): Likewise.
15742 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15743 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15744
15745 * posix/regex_internal.c: Check if DEBUG is defined and is
15746 set.
15747
15748 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15749 (HAVE_MBSRTOWCS): Likewise.
15750 * posix/fnmatch.c: Include string.h unconditionally.
15751
15752 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15753
15754 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15755 reversal.
15756
15757 2014-07-31 Roland McGrath <roland@hack.frob.com>
15758
15759 * sysdeps/generic/safe-fatal.h: New file.
15760 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15761 * nptl/forward.c: Include it.
15762 (__pthread_unwind): Use __safe_fatal as default action, rather
15763 than a bogus use of INTERNAL_SYSCALL that could never work.
15764
15765 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15766 * configure.ac (libc_cv_builtin_trap): New test.
15767 * configure: Regenerated.
15768 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15769 (ABORT_INSTRUCTION): Define using __builtin_trap.
15770
15771 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15772 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15773 * sysdeps/nptl/nptl-signals.h: New file.
15774 * nptl/pthreadP.h: Include <nptl-signals.h>.
15775
15776 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15777
15778 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15779 (ONE_DIRECTION): Define.
15780 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15781 (ONE_DIRECTION): Define.
15782 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15783 (ONE_DIRECTION): Define.
15784
15785 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15786
15787 * sysdeps/s390/Makefile: Delete file.
15788 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15789 * sysdeps/s390/__longjmp.c: Delete file.
15790 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15791 Remove fields __flags and __reserved.
15792 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15793 and add versioning.
15794 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15795 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15796 * sysdeps/s390/rtld-setjmp.S: Likewise.
15797 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15798 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15799 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15800 * sysdeps/s390/s390-32/setjmp.S: ... here.
15801 Add versioning.
15802 (__sigsetjmp): Remove setting __flags field.
15803 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15804 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15805 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15806 * sysdeps/s390/s390-64/setjmp.S: ... here.
15807 Add versioning.
15808 (__sigsetjmp): Remove setting __flags field.
15809 * sysdeps/s390/setjmp.S: Delete file.
15810 * sysdeps/s390/sigjmp.c: Likewise.
15811 * sysdeps/s390/v1-longjmp.c: Likewise.
15812 * sysdeps/s390/v1-setjmp.h: Likewise.
15813 * sysdeps/s390/v1-sigjmp.c: Likewise.
15814 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15815 Remove v1-longjmp_chk.
15816 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15817 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15818 Include debug/longjmp_chk.c and add versioning.
15819 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15820 Include nptl/pt-longjmp.c and add versioning.
15821 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15822 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15823 Include __longjmp.c.
15824 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15825 Move to ...
15826 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15827 (__getcontext): Remove setting __flags field.
15828 Add versioning.
15829 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15830 Don't restore upper high grps.
15831 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15832 Likewise.
15833 (__swapcontext): Remove setting uc_flags field.
15834 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15835 Delete file.
15836 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15837 Include __longjmp.c.
15838 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15839 Move to ...
15840 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15841 (__getcontext): Remove setting __flags field.
15842 Add versioning.
15843 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15844 (__swapcontext): Remove setting uc_flags field.
15845 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15846 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15847 Remove fields uc_high_gprs and __reserved.
15848 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15849 New file with reverted content.
15850 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15851 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15852 Regenerated.
15853 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15854 Regenerated.
15855
15856 2014-07-31 Andreas Schwab <schwab@suse.de>
15857
15858 * config.h.in (HAVE_IFUNC): Define to 0.
15859 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15860 definedness.
15861
15862 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15863
15864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15865 memmove-avx-unaligned, memcpy-avx-unaligned and
15866 mempcpy-avx-unaligned.
15867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15868 Add tests for AVX memcpy functions.
15869 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15870 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15871 memcpy_chk.
15872 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15873 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15874 memmove_chk.
15875 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15876 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15877 mempcpy_chk.
15878 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15879 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15880 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15881
15882 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15883
15884 [BZ #17213]
15885 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15886 powerpc64le.
15887
15888 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15889
15890 [BZ #16839]
15891 * manual/llio.texi: Add section about open file description locks.
15892 * manual/examples/ofdlocks.c: Example of open file description
15893 lock usage.
15894 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15895 F_OFD_SETLK, and F_OFD_SETLKW.
15896
15897 2014-07-23 Allan McRae <allan@archlinux.org>
15898
15899 * po/es.po: Update Spanish translation from translation project.
15900
15901 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
15902
15903 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15904
15905 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
15906
15907 [BZ #17078]
15908 * sysdeps/arm/dl-machine.h (elf_machine_rela)
15909 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15910 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15911
15912 2014-07-17 Joseph Myers <joseph@codesourcery.com>
15913
15914 [BZ #17088]
15915 * math/fesetenv.c (__fesetenv)
15916 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15917 * math/feupdateenv.c (__feupdateenv)
15918 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15919
15920 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15921 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15922 (__ASSUME_SOCKETCALL): Do not define.
15923
15924 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15925 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15926 (__ASSUME_SOCKETCALL): Do not define.
15927 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15928 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15929 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15930 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15931 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15932 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15933 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15934 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15935
15936 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15937 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15938 (__ASSUME_SOCKETCALL): Do not define.
15939 (__ASSUME_IPC64): Define unconditionally.
15940 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15941 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15942 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15943 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15944 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15945 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15946 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15947 Likewise.
15948
15949 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15950 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15951 (__ASSUME_SOCKETCALL): Do not define.
15952 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15953 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15954 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15955 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15956 (__ASSUME_REQUEUE_PI): Define unconditionally.
15957 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15958 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15959 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15960 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15961 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15962 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15963
15964 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15965 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15966 (__ASSUME_SOCKETCALL): Do not define.
15967 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15968 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15969 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15970 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15971 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15972 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15973
15974 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15975 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15976 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15977 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15978 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15979 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15980 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15981 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15982 (__ASSUME_GETCPU_SYSCALL): Likewise.
15983
15984 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15985 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
15986 cases for individual architectures.
15987 * sysdeps/gnu/configure: Regenerated.
15988 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15989 LIBC_SLIBDIR_RTLDDIR.
15990 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15991 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15992 LIBC_SLIBDIR_RTLDDIR.
15993 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15995 LIBC_SLIBDIR_RTLDDIR.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15997 Regenerated.
15998 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15999 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16000 file.
16001 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16002 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16003 file.
16004 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16005 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16006 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16007 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16008
16009 * sysdeps/aarch64/shlib-versions: Move to ...
16010 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16011 * sysdeps/alpha/shlib-versions: Move to ...
16012 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16013 * sysdeps/arm/shlib-versions: Move to ...
16014 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16015 * sysdeps/hppa/shlib-versions: Move all contents except for
16016 libgcc_s entry to ...
16017 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16018 entry from ...
16019 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16020 * sysdeps/ia64/shlib-versions: Move to ...
16021 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16022 entry from ...
16023 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16024 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16025 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16026 * sysdeps/microblaze/shlib-versions: Move to ...
16027 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16028 * sysdeps/mips/shlib-versions: Move to ...
16029 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16030 entry from ...
16031 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16032 * sysdeps/tile/shlib-versions: Move to ...
16033 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16034 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16035 from ...
16036 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16037 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16038 entry from ...
16039 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16040
16041 2014-07-17 Will Newton <will.newton@linaro.org>
16042
16043 * sysdeps/arm/bits/atomic.h
16044 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16045 (__arch_compare_and_exchange_bool_16_int): Likewise.
16046 (__arch_compare_and_exchange_bool_64_int): Likewise.
16047
16048 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16049 into an #else block.
16050
16051 2014-07-16 Roland McGrath <roland@hack.frob.com>
16052
16053 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16054 just Linux configurations. Test empirically that the compiler sets
16055 __ARM_EABI__, rather than using the tuple to decide.
16056 * sysdeps/arm/preconfigure: Regenerated.
16057 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16058 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16059 contents appended ...
16060 * sysdeps/arm/configure.ac: ... here.
16061 * sysdeps/arm/configure: Regenerated.
16062
16063 2014-07-15 Roland McGrath <roland@hack.frob.com>
16064
16065 * nptl/pthread_kill.c: New file.
16066 * nptl/pthread_sigmask.c: New file.
16067 * nptl/pthread_sigqueue.c: New file.
16068
16069 * sysdeps/nptl/lowlevellock.h: New file.
16070 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16071 * sysdeps/nptl/lowlevellock-futex.h: New file.
16072
16073 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16074 Remove dead declarations.
16075
16076 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16077
16078 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16079 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16080 config-cflags-avx2.
16081 * sysdeps/x86_64/configure.ac: Likewise.
16082 * sysdeps/i386/configure: Regenerated.
16083 * sysdeps/x86_64/configure: Likewise.
16084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16085 memset-avx2 only if config-cflags-avx2 is yes.
16086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16087 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16088 defined.
16089 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16090 only if HAVE_AVX2_SUPPORT is defined.
16091 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16092
16093 2014-07-14 Alan Modra <amodra@gmail.com>
16094
16095 [BZ #17153]
16096 * elf/elf.h (DT_PPC64_NUM): Correct value.
16097 * NEWS: Add to fixed bug list.
16098
16099 2014-07-13 Jim Meyering <meyering@fb.com>
16100
16101 [BZ 17150]
16102 regex: don't deref NULL upon heap allocation failure
16103 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16104 failure in one more place.
16105 To trigger the segfault, configure grep -with-included-regex,
16106 build it, and run these commands:
16107 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16108
16109 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16110
16111 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16112
16113 2014-07-11 Richard Henderson <rth@redhat.com>
16114
16115 * sysdeps/aarch64/libm-test-ulps: Update.
16116
16117 2014-07-10 Florian Weimer <fweimer@redhat.com>
16118
16119 [BZ #17135]
16120 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16121 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16122 (__nptl_setxid): Initialize error member. Call
16123 __nptl_setxid_error.
16124 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16125 * nptl/descr.h (struct xid_command): Add error member.
16126 * nptl/tst-setuid3.c: New file.
16127 * nptl/Makefile (tests): Add it.
16128
16129 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16130
16131 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16132 New define.
16133 (__lll_trylock): Use __lll_base_trylock.
16134 (__lll_cond_trylock): Likewise.
16135
16136 2014-07-10 Roland McGrath <roland@hack.frob.com>
16137
16138 * nptl/pthread_create.c (start_thread): Use atomic_or and
16139 lll_futex_wake directly rather than lll_robust_dead.
16140 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16141 (lll_robust_dead): Macro removed.
16142 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16143 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16144 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16145 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16146 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16147 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16148 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16149 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16150 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16151 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16152 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16153 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16154 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16155 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16156 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16157
16158 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16159 Use atomic_compare_and_exchange_val_acq directly rather than
16160 lll_robust_trylock.
16161 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16162 (__lll_robust_trylock, lll_robust_trylock): Removed.
16163 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16164 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16165 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16166 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16167 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16168 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16169 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16170 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16171 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16172 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16173 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16174 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16175 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16176 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16177
16178 2014-07-02 Florian Weimer <fweimer@redhat.com>
16179
16180 * manual/locale.texi (Locale Names): New section documenting
16181 locale name syntax. Adjust menu and node chaining accordingly.
16182 (Choosing Locale): Reference Locale Names, Locale Categories.
16183 Mention setting LC_ALL=C. Reflect that name syntax is now
16184 documented.
16185 (Locale Categories): New section title. Reference Locale Names.
16186 LC_ALL is an environment variable, but not a category.
16187 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16188 description, now in Locale Name. Reference that section. Locale
16189 name syntax is now documented.
16190
16191 2014-07-02 Florian Weimer <fweimer@redhat.com>
16192
16193 [BZ #17137]
16194 * locale/findlocale.c (name_present, valid_locale_name): New
16195 functions.
16196 (_nl_find_locale): Use the loc_name variable to store name
16197 candidates. Call name_present and valid_locale_name to check and
16198 validate locale names. Return an error if the locale is invalid.
16199
16200 2014-07-02 Florian Weimer <fweimer@redhat.com>
16201
16202 * locale/setlocale.c (setlocale): Use strdup for allocating
16203 composite name copy.
16204
16205 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16206
16207 Sync up with gnulib.
16208 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16209 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16210 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16211 and _GL_ARG_NONNULL.
16212 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16213 [!_LIBC]: Include code for Windows and Cygwin.
16214 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16215 Include prototype for int strerror_r.
16216 [!_LIBC] (is_open): New function.
16217 (flush_stdout): New function.
16218 (print_errno_message): Use it.
16219 (error): Likewise.
16220 (error_at_line): Likewise.
16221 (error_tail) Add function attribute macros. Use
16222 __builtin_expect.
16223
16224 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16225
16226 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16227
16228 * io/ftw.c: Include sys/param.h unconditionally.
16229
16230 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16231
16232 [BZ #17125]
16233 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16234 libc_freeres_ptr.
16235 (freecache): New function to free CACHE on exit.
16236
16237 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16238 initialization.
16239
16240 2014-07-09 David S. Miller <davem@davemloft.net>
16241
16242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16243
16244 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16245 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16246 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16247 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16248 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16249 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16250 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16251 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16252 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16253 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16254 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16255 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16256 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16257
16258 2014-07-09 Andreas Schwab <schwab@suse.de>
16259
16260 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16261 output.
16262 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16263 (do_test): Likewise.
16264
16265 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16266
16267 2014-07-09 Will Newton <will.newton@linaro.org>
16268
16269 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16270 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16271 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16272 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16273 * sysdeps/hppa/start.S (_start): Likewise.
16274
16275 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16276
16277 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16278
16279 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16280 defined.
16281
16282 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16283
16284 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16285 after checking that it is non-NULL.
16286
16287 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16288
16289 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16290
16291 * sysdeps/powerpc/memmove.c: Remove file.
16292 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16293 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16294 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16295 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16296 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16297 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16298 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16299 string memmove instead of removed powerpc one.
16300
16301 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16302 [weak_alias]: Fix compiler warning due trailing data.
16303 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16304 [weak_alias]: Likewise.
16305 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16306 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16307
16308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16309 (__libc_ifunc_impl_list): Add memmove functions.
16310
16311 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16312
16313 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16314 Remove code.
16315 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16316 Likewise
16317 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16318 Likewise
16319 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16320 Likewise
16321 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16322 Likewise
16323 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16324 Likewise
16325 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16326 Likewise
16327 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16328 Likewise
16329 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16330 Likewise
16331 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16332 Likewise
16333 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16334 Likewise
16335 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16336 Likewise
16337 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16338 Likewise
16339 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16340 Likewise
16341 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16342 Likewise
16343 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16344 Likewise
16345 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16346 Likewise
16347
16348 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16349
16350 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16351 to avoid alignment traps in non-cacheable memory.
16352 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16353
16354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16355 multiarch objects.
16356 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16357 file: multiarch power7 memmove.
16358 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16359 multiarch default memmove.
16360 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16361 multiarch memove for powerpc32/power4.
16362
16363 * string/bcopy.c: Use full path to include memmove.c.
16364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16365 multiarch objects.
16366 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16367 bcopy for powerpc64.
16368 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16369 bcopy for powerpc64.
16370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16371 and memmove implementations.
16372 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16373 optimized multiarch memmove for POWER7/powerpc64.
16374 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16375 default multiarch memmove for powerpc64.
16376 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16377 multiarch for powerpc64.
16378 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16379 for POWER7/powerpc64.
16380 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16381 memmove for POWER7/powerpc64.
16382
16383 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16384 glibc default one.
16385
16386 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16387 __ELF_NATIVE_CLASS equal to 64.
16388
16389 2014-07-07 Roland McGrath <roland@hack.frob.com>
16390
16391 * sysdeps/nptl/lowlevellock.h: File removed.
16392
16393 * NEWS: NPTL is no longer an add-on!
16394 * nptl/internaltypes.h: Moved ...
16395 * sysdeps/nptl/internaltypes.h: ... here.
16396 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16397 * sysdeps/nptl/fork.c: Likewise.
16398 * sysdeps/nptl/gai_misc.h: Likewise.
16399 * sysdeps/nptl/librt-cancellation.c: Likewise.
16400 * sysdeps/nptl/jmp-unwind.c: Likewise.
16401 * sysdeps/nptl/setxid.h: Likewise.
16402 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16403 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16404 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16405 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16406 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16407 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16408 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16409 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16410 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16411 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16412 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16413 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16414 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16415 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16416 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16417 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16418 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16419 * nptl/Makeconfig: Moved ...
16420 * sysdeps/nptl/Makeconfig: ... here.
16421 * nptl/configure: File removed.
16422 * nptl/ANNOUNCE: File removed.
16423 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16424 * sysdeps/unix/sysv/linux/configure: Regenerated.
16425
16426 * nptl/Makefile (routines): Add libc_pthread_init,
16427 libc_multiple_threads, register-atfork and unregister-atfork.
16428 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16429 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16430 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16431 pthread-pi-defines.sym, structsem.sym.
16432 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16433 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16434 [$(subdir) = nptl] (tests): Add tst-setgetname.
16435 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16436 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16437 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16438 [!LIBC_SIGACTION]: Remove aliases.
16439 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16440 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16441 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16442 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16443 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16444 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16445 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16446 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16447 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16448 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16449 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16450 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16451 __libc_allocate_rtsig_private.
16452 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16453 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16454 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16455 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16456 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16457 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16458 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16459 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16460 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16461 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16462 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16463 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16464 * nptl/internaltypes.h: ... here.
16465 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16466 * sysdeps/nptl/jmp-unwind.c: ... here.
16467 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16468 * nptl/libc-lowlevellock.c: ... here.
16469 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16470 * nptl/libc_multiple_threads.c: ... here.
16471 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16472 * nptl/libc_pthread_init.c: ... here.
16473 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16474 * nptl/lowlevelbarrier.sym: ... here.
16475 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16476 * nptl/lowlevelcond.sym: ... here.
16477 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16478 * nptl/lowlevellock.c: ... here.
16479 * nptl/lowlevellock.h: Moved ...
16480 * sysdeps/nptl/lowlevellock.h: ... here.
16481 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16482 * nptl/lowlevelrobustlock.c: ... here.
16483 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16484 * nptl/lowlevelrobustlock.sym: ... here.
16485 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16486 * nptl/lowlevelrwlock.sym: ... here.
16487 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16488 * nptl/pt-fork.c: ... here.
16489 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16490 * nptl/pthread-pi-defines.sym: ... here.
16491 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16492 * nptl/pthread_attr_getaffinity.c: ... here.
16493 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16494 * nptl/pthread_attr_setaffinity.c: ... here.
16495 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16496 * nptl/pthread_mutex_cond_lock.c: ... here.
16497 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16498 Update #include.
16499 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16500 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16501 * nptl/pthread_once.c: ... here, replacing old file.
16502 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16503 * nptl/pthread_yield.c: ... here.
16504 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16505 * nptl/register-atfork.c: ... here.
16506 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16507 * nptl/sem_post.c: ... here.
16508 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16509 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16510 * nptl/sem_timedwait.c: ... here.
16511 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16512 * nptl/sem_trywait.c: ... here.
16513 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16514 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16515 * nptl/sem_wait.c: ... here.
16516 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16517 * nptl/structsem.sym: ... here.
16518 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16519 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16520 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16521 * nptl/unregister-atfork.c: ... here.
16522 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16523 * nptl/unwindbuf.sym: ... here.
16524 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16525 * sysdeps/nptl/fork.c: ... here.
16526 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16527 * sysdeps/nptl/fork.h: ... here.
16528 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16529 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16530 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16531 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16532 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16533 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16534 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16535 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16536 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16537 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16538 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16539 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16540 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16541 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16542 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16543 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16544 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16545 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16546 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16547 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16548 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16549 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16550 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16551 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16552 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16553 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16554 * sysdeps/unix/sysv/linux/raise.c: ... here.
16555 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16556 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16557 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16558 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16559 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16560 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16561 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16562 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16563 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16564 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16565 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16566 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16567 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16568 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16569 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16570
16571 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16572
16573 * sysdeps/generic/memcopy.h: Add comment for
16574 MEMCPY_OK_FOR_FWD_MEMMOVE.
16575
16576 2014-07-04 Will Newton <will.newton@linaro.org>
16577
16578 * string/memchr.c: Merge from gnulib.
16579 [_LIBC]: Remove conditionals.
16580 (__ptr_t): Remove define.
16581 (LONG_MAX_32_BITS): Likewise.
16582 (LONG_MAX): Likewise.
16583 (MEMCHR): Use ANSI prototype and optimize algorithm.
16584
16585 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16586
16587 2014-07-03 Roland McGrath <roland@hack.frob.com>
16588
16589 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16590 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16591
16592 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16593 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16594 in a bare environment with no <stdlib.h> installed.
16595 * sysdeps/nptl/configure: Regenerated.
16596
16597 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16598
16599 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16600 AC_EGREP_CPP for kernel header checks, so they only succeed if
16601 including <linux/version.h> actually works right.
16602 * sysdeps/unix/sysv/linux/configure: Regenerated.
16603
16604 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16605 value so it's not diagnosed as unused.
16606
16607 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16608 thing) with "ifeq ($(subdir),rt)".
16609
16610 2014-07-03 Richard Henderson <rth@redhat.com>
16611
16612 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16613 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16614 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16615
16616 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16617 (math_force_eval): New.
16618
16619 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16620 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16621
16622 * sysdeps/alpha/fpu/s_round.c: Remove file.
16623 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16624
16625 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16626 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16627 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16628 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16629 (_dl_start, print_statistics): Likewise.
16630 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16631 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16632
16633 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16634 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16635 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16636 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16637 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16638 (HP_SMALL_TIMING_AVAIL): Define.
16639 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16640 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16641 (HP_SMALL_TIMING_AVAIL): Define.
16642 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16643 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16644
16645 * sysdeps/aarch64/hp-timing.h: New file.
16646
16647 * sysdeps/generic/hp-timing.h: Remove dead comment.
16648 * sysdeps/generic/hp-timing-common.h: New file.
16649 * sysdeps/alpha/hp-timing.h: Include it.
16650 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16651 * sysdeps/i386/i686/hp-timing.h: Likewise.
16652 * sysdeps/ia64/hp-timing.h: Likewise.
16653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16654 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16655 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16656 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16657 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16658 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16659 (hp_timing_t): New.
16660
16661 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16662 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16663 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16664 * elf/rtld.c (_dl_start_final): Likewise.
16665 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16666 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16667 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16668 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16669 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16670 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16671 (HP_TIMING_DIFF_INIT): Remove.
16672 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16673 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16674 (HP_TIMING_DIFF_INIT): Remove.
16675 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16676 * sysdeps/i386/i686/hp-timing.c: Remove file.
16677 * sysdeps/x86_64/hp-timing.c: Remove file.
16678 * sysdeps/ia64/hp-timing.c: Remove file.
16679 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16680 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16681 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16682 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16683
16684 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16685 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16686 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16687 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16689 (HP_TIMING_ACCUM): Remove.
16690 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16691 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16692 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16693
16694 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16695 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16696 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16697 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16698 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16699 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16700 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16701 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16702
16703 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16704
16705 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16706
16707 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16708
16709 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16710
16711 Sync up with gettext.
16712 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16713 [_MSC_VER]: Include malloc.h
16714 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16715 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16716 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16717 TEMP_FAILURE_RETRY. Cast return of alloca.
16718 [!_LIBC] Call gl_rwlock_init.
16719 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16720
16721 2014-07-02 Roland McGrath <roland@hack.frob.com>
16722
16723 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16724 before checking its value.
16725
16726 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16727
16728 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16729
16730 * debug/memcpy_chk.c: Don't include pagecopy.h.
16731 * debug/mempcpy_chk.c: Likewise.
16732 * string/memcpy.c: Likewise.
16733 * string/memmove.c: Likewise.
16734 * sysdeps/powerpc/memmove.c: Likewise.
16735 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16736 definition of PAGE_COPY_FWD_MAYBE here...
16737 * sysdeps/generic/pagecopy.h: ... from here.
16738 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16739
16740 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16741 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16742
16743 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16745 optimizations.
16746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16747 (__libc_ifunc_impl_list): Likewise.
16748 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16749 multiarch strcat for PPC64.
16750 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16751 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16752
16753 2014-07-02 Roland McGrath <roland@hack.frob.com>
16754
16755 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16756
16757 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16758
16759 * intl/loadmsgcat.c: Remove declaration of
16760 get_sysdep_segment_value.
16761 (get_sysdep_segment_value): Use ISO C style.
16762 (_nl_load_domain): Use ISO C style. Get rid of redundant
16763 semicolon. Fix typo and formatting in comment.
16764 (_nl_unload_domain): Use ISO C style.
16765
16766 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16767
16768 2014-07-02 Will Newton <will.newton@linaro.org>
16769
16770 * malloc/obstack.c: Merge from gnulib master.
16771 [HAVE_CONFIG_H]: Remove conditional code.
16772 [!_LIBC]: Include config.h.
16773 [!ELIDE_CODE]: Don't include inttypes.h, include
16774 stdint.h unconditionally.
16775 (print_and_abort): Mark as _Noreturn.
16776 (_obstack_allocated_p): Mark as __attribute_pure__.
16777 (obstack_free): Rename to __obstack_free.
16778 [!__attribute__]: Remove conditional code.
16779 * malloc/obstack.h: Merge from gnulib master.
16780 [__cplusplus]: Move conditional down.
16781 [!__attribute_pure__]: Define __attribute_pure__ here
16782 if it is not already defined.
16783 (_obstack_memory_used): Mark as __attribute_pure__.
16784 [!__obstack_free]: Define as obstack_free.
16785 [__GNUC__]: Remove check for ancient NeXT gcc.
16786
16787 2014-07-02 Will Newton <will.newton@linaro.org>
16788 Paul Eggert <eggert@cs.ucla.edu>
16789
16790 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16791
16792 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16793
16794 * resolv/gethnamaddr.c: Add comment warning that the file is
16795 not maintained.
16796
16797 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16798
16799 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16800 entries.
16801
16802 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16803 entry for aio_cancel and aio_cancel64.
16804 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16805 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16806 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16807 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16808 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16809 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16810 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16811 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16812 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16813 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16814 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16815 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16816 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16817
16818 2014-07-01 Roland McGrath <roland@hack.frob.com>
16819
16820 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16821 * nptl/pthread_mutex_lock.c: Likewise.
16822 * nptl/pthread_mutex_timedlock.c: Likewise.
16823 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16824
16825 2014-07-01 Richard henderson <rth@redhat.com>
16826
16827 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16828 (__isnan, __isnanl): Remove.
16829 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16830
16831 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16832
16833 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16834
16835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16836
16837 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16838
16839 * resolv/nss_dns/dns-host.c (getanswer_r)
16840 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16841
16842 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16843
16844 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16845 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16846 undefine.
16847 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16848 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16849
16850 2014-07-01 Roland McGrath <roland@hack.frob.com>
16851
16852 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16853 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16854
16855 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16856 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16857
16858 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16859 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16860 ... here.
16861 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16862 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16863
16864 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16865 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16866 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16867 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16868
16869 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16870 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16871 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16872 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16873 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16874 Moved ...
16875 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16876 ... here.
16877 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16878 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16879 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16880 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16881 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16882 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16883 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16884 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16885 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16886 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16887 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16888 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16889 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16890 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16891 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16892 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16893 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16894 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16895 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16896 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16897 ... here.
16898 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16899 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16900 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16901 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16902 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16903 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16904 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16905 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16906
16907 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
16908
16909 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16910 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16911 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16912 Add sysdep.
16913
16914 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16915
16916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16917
16918 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16919
16920 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16921 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16922
16923 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16924
16925 * sysdeps/arm/libm-test-ulps: Regenerated.
16926
16927 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16928 Roland McGrath <roland@hack.frob.com>
16929
16930 * test-skeleton.c (signal_handler): Kill the whole process group
16931 before killing the child individually.
16932 (main): Report any failure on `setpgid'.
16933
16934 2014-06-30 Roland McGrath <roland@hack.frob.com>
16935
16936 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16937 from _TLS_H to _ARM_NPTL_TLS_H.
16938 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16939 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16940
16941 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16942
16943 [BZ #16539]
16944 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16945 (__expm1l): Return argument unchanged when small but not
16946 subnormal.
16947
16948 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16949 include macro name.
16950 (_FP_UNPACK_RAW_1_P): Likewise.
16951 (_FP_PACK_RAW_1): Likewise.
16952 (_FP_PACK_RAW_1_P): Likewise.
16953 (_FP_MUL_MEAT_1_wide): Likewise.
16954 (_FP_MUL_MEAT_DW_1_hard): Likewise.
16955 (_FP_MUL_MEAT_1_hard): Likewise.
16956 (_FP_DIV_MEAT_1_imm): Likewise.
16957 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16958 (_FP_DIV_MEAT_1_udiv): Likewise.
16959 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16960 (_FP_UNPACK_RAW_2): Likewise.
16961 (_FP_UNPACK_RAW_2_P): Likewise.
16962 (_FP_PACK_RAW_2): Likewise.
16963 (_FP_PACK_RAW_2_P): Likewise.
16964 (_FP_MUL_MEAT_DW_2_wide): Likewise.
16965 (_FP_MUL_MEAT_2_wide): Likewise.
16966 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16967 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16968 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16969 (_FP_MUL_MEAT_2_gmp): Likewise.
16970 (_FP_DIV_MEAT_2_udiv): Likewise.
16971 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16972 (_FP_FRAC_SRL_4): Likewise.
16973 (_FP_FRAC_SRST_4): Likewise.
16974 (_FP_FRAC_SRS_4): Likewise.
16975 (_FP_UNPACK_RAW_4): Likewise.
16976 (_FP_UNPACK_RAW_4_P): Likewise.
16977 (_FP_PACK_RAW_4): Likewise.
16978 (_FP_PACK_RAW_4_P): Likewise.
16979 (_FP_MUL_MEAT_DW_4_wide): Likewise.
16980 (_FP_MUL_MEAT_4_wide): Likewise.
16981 (_FP_MUL_MEAT_4_gmp): Likewise.
16982 (umul_ppppmnnn): Likewise.
16983 (_FP_DIV_MEAT_4_udiv): Likewise.
16984 (__FP_FRAC_ADD_4): Likewise.
16985 (__FP_FRAC_SUB_3): Likewise.
16986 (__FP_FRAC_SUB_4): Likewise.
16987 (__FP_FRAC_DEC_3): Likewise.
16988 (__FP_FRAC_DEC_4): Likewise.
16989 (__FP_FRAC_ADDI_4): Likewise.
16990 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16991 (_FP_FRAC_SRL_8): Likewise.
16992 (_FP_FRAC_SRS_8): Likewise.
16993
16994 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16995 include macro name.
16996 (FP_UNPACK_RAW_EP): Likewise.
16997 (FP_PACK_RAW_E): Likewise.
16998 (FP_PACK_RAW_EP): Likewise.
16999 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17000 (_FP_ISSIGNAN): Likewise.
17001 (_FP_ADD_INTERNAL): Likewise.
17002 (_FP_FMA): Likewise.
17003 (_FP_CMP): Likewise.
17004 (_FP_SQRT): Likewise.
17005 (_FP_TO_INT): Likewise.
17006 (_FP_FROM_INT): Likewise.
17007 (FP_EXTEND): Likewise.
17008 (_FP_DIV_MEAT_N_loop): Likewise.
17009
17010 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17011
17012 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17013 throughout.
17014
17015 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17016
17017 [BZ #17097]
17018 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17019 result with correct sign in case of exponents that produce
17020 overflow except for X very close to 1.
17021
17022 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17023
17024 mktime: merge #if/#ifdef usage from glibc
17025 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17026 as that works with both Glibc's and Gnulib's style.
17027 See thread starting at Siddhesh Poyarekar's bug report at:
17028 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17029
17030 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17031
17032 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17033 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17034 * sysdeps/tile/tilegx/memmove.c: Remove file.
17035
17036 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17037
17038 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17039 abi-name definition.
17040 * scripts/soversions.awk: Do not handle or generate ABI lines.
17041 * shlib-versions: Remove ABI entries.
17042 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17043 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17044
17045 2014-06-27 Roland McGrath <roland@hack.frob.com>
17046
17047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17048 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17049 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17050 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17052 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17054 Moved ...
17055 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17056 ... here.
17057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17058 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17059 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17060 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17061 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17062 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17064 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17066 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17068 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17070 Moved ...
17071 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17073 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17074 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17075 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17076 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17077 Moved ...
17078 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17080 Moved ...
17081 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17083 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17085 Moved ...
17086 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17087 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17088 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17090 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17092 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17094 Moved ...
17095 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17096 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17097 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17098 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17099 Moved ...
17100 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17101 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17102 Moved ...
17103 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17104 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17105 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17106 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17107 Moved ...
17108 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17109 ... here.
17110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17111 Identical file removed.
17112 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17113 Moved ...
17114 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17115 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17116 Identical file removed.
17117 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17118 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17119 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17120 Moved ...
17121 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17122 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17123 Identical file removed.
17124 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17125 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17126 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17127 Identical file removed.
17128 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17129 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17130 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17131 Identical file removed.
17132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17133 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17135 Identical file removed.
17136 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17137 Moved ...
17138 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17139 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17140 Identical file removed.
17141 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17142 Moved ...
17143 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17144 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17145 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17146 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17147 Identical file removed.
17148 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17149 Moved ...
17150 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17151 ... here.
17152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17153 Identical file removed.
17154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17155 Moved ...
17156 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17157 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17158 Identical file removed.
17159 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17160 Moved ...
17161 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17162 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17163 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17164 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17165 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17166 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17167 Moved ...
17168 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17169 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17170 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17171
17172 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17173 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17174 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17175 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17176 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17177
17178 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17179
17180 [BZ #17092]
17181 * nscd/nscd.c (monitor_child): Return exit status of child
17182 instead of return value from wait syscall.
17183
17184 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17185
17186 * configure.ac (libc_commonpagesize): Remove variable.
17187 (libc_relro_required): Likewise.
17188 (libc_cv_z_relro): Remove configure test.
17189 * configure: Regenerated.
17190 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17191 variable.
17192 (libc_relro_required): Likewise.
17193 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17194 (libc_relro_required): Likewise.
17195 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17196 (libc_relro_required): Likewise.
17197 * sysdeps/arm/preconfigure: Regenerated.
17198 * sysdeps/ia64/preconfigure: Remove file.
17199 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17200 variable.
17201 (libc_relro_required): Likewise.
17202
17203 [BZ #16561]
17204 [BZ #16562]
17205 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17206 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17207 recompute overflowing results in original rounding mode.
17208 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17209 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17210 recompute overflowing results in original rounding mode.
17211 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17212 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17213 recompute overflowing results in original rounding mode.
17214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17215 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17216 recompute overflowing results in original rounding mode.
17217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17218 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17219 recompute overflowing results in original rounding mode.
17220 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17221 (libc_feholdsetround_ctx): New macro.
17222 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17223 * sysdeps/i386/fpu/libm-test-ulps: Update.
17224 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17225
17226 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17227
17228 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17229 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17230 corresponding .cpsetup call.
17231
17232 2014-06-26 Roland McGrath <roland@hack.frob.com>
17233
17234 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17235 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17236 * sysdeps/arm/Makefile [$(subdir) = csu]
17237 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17238 (static-only-routines): Add aeabi_read_tp here.
17239 (shared-only-routines): Add libc-aeabi_read_tp here.
17240 (CFLAGS-libc-start.c): Add -fexceptions here.
17241 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17242 (sysdep_routines, static-only-routines, shared-only-routines):
17243 Don't add to these here.
17244 (CFLAGS-libc-start.c): Likewise.
17245
17246 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17247 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17248 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17249 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17250 * sysdeps/arm/Makefile [$(subdir) = rt]
17251 (librt-sysdep_routines, librt-shared-only-routines):
17252 Append rt-aeabi_unwind_cpp_pr1 here.
17253 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17254 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17255 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17256 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17257 Append nptl-aeabi_unwind_cpp_pr1 here.
17258 (tests): Filter out tst-cleanupx4 here.
17259 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17260 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17261 Don't do those here.
17262
17263 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17264
17265 * scripts/list-sources.sh: Do not handle ports specially.
17266
17267 2014-06-26 Roland McGrath <roland@hack.frob.com>
17268
17269 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17270 * sysdeps/arm/feupdateenv.c: Likewise.
17271
17272 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17273
17274 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17275
17276 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17277 trailing whitespace removed.
17278 * scripts/config.guess: Update to version 2014-03-23.
17279 * scripts/config.sub: Update to version 2014-05-01
17280 * scripts/install-sh: Update to version 2013-12-25.23.
17281 * scripts/move-if-change: Update from gnulib.
17282
17283 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17284
17285 * debug/memmove_chk.c: Remove pagecopy.h include.
17286
17287 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17288
17289 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17290 identical to gnulib mktime.
17291
17292 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17293
17294 * configure.ac: Do not test for machine being rs6000. Do not test
17295 for powerpc*-*soft.
17296 * configure: Regenerated.
17297
17298 [BZ #11505]
17299 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17300 test.
17301 * configure: Regenerated.
17302 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17303 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17304 Remove configure test.
17305 * sysdeps/arm/configure: Regenerated.
17306 * sysdeps/nptl/configure.ac: Do not check
17307 libc_cv_asm_cfi_directives.
17308 * sysdeps/nptl/configure: Regenerated.
17309 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17310 * sysdeps/x86_64/nptl/configure: Remove generated file.
17311 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17312 unconditional.
17313 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17314
17315 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17316
17317 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17318 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17319 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17320 it is defined.
17321
17322 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17323 instead of whether it is defined.
17324 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17325 * sysdeps/hppa/dl-machine.h: Likewise.
17326 * sysdeps/ia64/dl-machine.h: Likewise.
17327 * sysdeps/m68k/dl-machine.h: Likewise.
17328 * sysdeps/microblaze/dl-machine.h: Likewise.
17329 * sysdeps/mips/dl-machine.: Likewise.
17330 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17331 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17332 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17333 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17334 * sysdeps/sh/dl-machine.h: Likewise.
17335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17336 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17337 * sysdeps/tile/dl-machine.h: Likewise.
17338 * sysdeps/x86_64/dl-machine.h: Likewise.
17339
17340 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17341 code.
17342 (verify_persistent_db): Likewise.
17343
17344 2014-06-26 Roland McGrath <roland@hack.frob.com>
17345
17346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17347 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17349 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17351 Moved ...
17352 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17353 ... here.
17354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17355 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17357 Identical file removed.
17358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17359 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17361 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17363 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17365 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17367 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17369 Moved ...
17370 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17372 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17374 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17376 Moved ...
17377 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17379 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17381 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17383 Identical file removed.
17384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17385 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17387 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17389 Moved ...
17390 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17391 ... here.
17392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17393 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17395 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17397 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17399 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17401 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17403 Moved ...
17404 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17406 Moved ...
17407 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17409 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17411 Moved ...
17412 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17414 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17415
17416 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17417 folded into ...
17418 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17419 * sysdeps/unix/sysv/linux/s390/Versions
17420 (libpthread: GLIBC_2.19): New version set.
17421 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17422 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17423 (librt: GLIBC_2.3.3): New version set.
17424 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17425 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17426 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17427 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17428 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17429 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17430 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17431 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17432 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17433 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17434 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17435 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17436 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17437 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17438 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17439 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17440 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17441 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17442 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17443 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17444 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17445 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17446 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17447 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17448 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17449 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17450 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17451 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17452 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17453 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17454 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17455 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17457 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17459 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17460 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17461 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17462 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17464 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17466 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17468 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17469
17470 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17471 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17472 (__libc_vfork): Define the function under this name.
17473 [!NOT_IN_libc] (__vfork): Make this an alias.
17474 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17475 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17476 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17477 (__libc_vfork): Define the function under this name.
17478 [!NOT_IN_libc] (__vfork): Make this an alias.
17479 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17480 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17481 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17483 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17484 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17485
17486 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17487 code that was previously under [RESET_PID].
17488 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17489 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17491
17492 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17493 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17494 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17495 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17496 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17497 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17498 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17499 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17500 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17501 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17502 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17503 Moved ...
17504 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17505 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17506 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17507 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17508 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17509 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17510 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17511 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17512 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17513 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17514 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17515 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17516 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17517 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17518 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17519 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17520 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17521 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17522 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17523 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17524 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17525 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17526 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17527 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17528 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17529 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17530 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17531 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17532 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17533
17534 2014-06-25 Roland McGrath <roland@hack.frob.com>
17535
17536 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17537 that was previously under [RESET_PID].
17538 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17539
17540 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17541
17542 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17543 not undefine and redefine.
17544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17545 [O_CLOEXEC]: Make code unconditional.
17546 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17547 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17548 <kernel-features.h>.
17549 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17550 conditional variable definition.
17551 (shm_open) [O_CLOEXEC]: Make code unconditional.
17552 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17553 code.
17554
17555 * configure.ac (USE_REGPARMS): Don't define here.
17556 * configure: Regenerated.
17557 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17558 * sysdeps/i386/configure: Regenerated.
17559
17560 * nptl/createthread.c: Don't include kernel-features.h.
17561 * nptl/pthread_cancel.c: Likewise.
17562 * nptl/pthread_condattr_setclock.c: Likewise.
17563 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17564 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17565 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17566 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17567 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17568 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17569 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17570 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17571 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17572 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17573 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17574 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17575 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17576 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17577 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17578 * nscd/gai.c: Likewise.
17579 * nss/nss_db/db-open.c: Likewise.
17580 * sysdeps/generic/ldsodefs.h: Likewise.
17581 * sysdeps/sh/nptl/tls.h: Likewise.
17582 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17583 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17584 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17585 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17586 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17587 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17588 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17589 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17590 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17591 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17592 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17593 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17594 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17595 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17596 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17597 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17598 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17599 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17600 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17601 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17602 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17603 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17604 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17605 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17606 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17607 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17608 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17609 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17610 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17611 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17612 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17613 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17614 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17615 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17616 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17617 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17618 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17619 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17620 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17621 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17622 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17623 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17624 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17625 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17626 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17627 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17628 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17629 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17630 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17631 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17632 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17633 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17634 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17635 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17636 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17637 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17638 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17639 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17662 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17663 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17664 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17665 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17666 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17667 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17668 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17669 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17670 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17671 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17672 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17673 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17674 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17675 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17676 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17677 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17678 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17679 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17680 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17681 * sysdeps/unix/sysv/linux/system.c: Likewise.
17682 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17683 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17684 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17685 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17686 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17687 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17688 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17689
17690 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17691 * configure: Regenerated.
17692 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17693
17694 * configure.ac (base_machine): Do not set specially for particular
17695 machines here.
17696 * configure: Regenerated.
17697 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17698 settings from configure.ac.
17699 * sysdeps/i386/preconfigure: New file.
17700 * sysdeps/s390/preconfigure: Likewise.
17701 * sysdeps/sh/preconfigure: Likewise.
17702 * sysdeps/sparc/preconfigure: Likewise.
17703
17704 2014-06-25 Roland McGrath <roland@hack.frob.com>
17705
17706 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17707 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17708 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17709 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17710 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17711 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17712 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17713 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17714 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17715 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17716 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17717 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17718 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17719 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17720 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17721 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17722 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17723 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17724 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17725
17726 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17727 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17728 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17729 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17730 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17731 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17732 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17733 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17734 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17735 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17736 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17737 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17738 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17739 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17740 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17741 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17742 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17743 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17744 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17745 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17746 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17747 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17748 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17749 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17750 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17751 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17752 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17753 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17754 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17755 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17756 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17757 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17758 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17759 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17760 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17761 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17762 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17763 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17764
17765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17766 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17768 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17770 Moved ...
17771 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17772 ... here.
17773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17774 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17776 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17778 Moved ...
17779 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17781 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17783 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17785 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17787 Moved ...
17788 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17790 Moved ...
17791 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17793 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17795 Moved ...
17796 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17798 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17800 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17802 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17804 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17806 Moved ...
17807 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17808 ... here.
17809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17810 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17812 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17814 Moved ...
17815 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17817 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17819 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17821 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17823 Moved ...
17824 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17826 Moved ...
17827 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17829 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17831 Moved ...
17832 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17834 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17836 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17837
17838 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17839
17840 * timezone/checktab.awk: Update from tzcode 2014e.
17841 * timezone/private.h: Likewise.
17842 * timezone/tzfile.h: Likewise.
17843 * timezone/zdump.c: Likewise.
17844 * timezone/zic.c: Likewise.
17845
17846 * sysdeps/unix/sysv/linux/kernel-features.h
17847 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17848 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17849 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17850 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17851 Remove conditional code.
17852
17853 2014-06-25 Will Newton <will.newton@linaro.org>
17854
17855 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17856 (_dl_arm_cap_flags): Add HWCAP2 values.
17857 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17858 (_DL_HWCAP_COUNT): Increase to 37.
17859 (_DL_HWCAP_LAST): New define.
17860 (_DL_HWCAP2_LAST): New define.
17861 (_dl_procinfo): Add support for printing
17862 AT_HWCAP2 entries.
17863 (_dl_string_hwcap): Use _dl_hwcap_string.
17864
17865 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17866
17867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17868
17869 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17870
17871 * README: Do not mention ports directory.
17872
17873 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17874 Remove macro.
17875 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17876 <kernel-features.h>.
17877 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17878 conditional variable definition.
17879 (__futimes): Update comment.
17880 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17881 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17882
17883 [BZ #16560]
17884 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17885 arguments close to 0.
17886 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17887 Likewise.
17888 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17889 Likewise.
17890 * math/auto-libm-test-in: Add more tests of exp10.
17891 * math/auto-libm-test-out: Regenerated.
17892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17893
17894 * sysdeps/unix/sysv/linux/kernel-features.h
17895 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17896 * sysdeps/unix/sysv/linux/readv.c: Do not include
17897 <kernel-features.h>.
17898 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17899 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17900 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17901 unconditional.
17902 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17903 conditional code.
17904 * sysdeps/unix/sysv/linux/writev.c: Do not include
17905 <kernel-features.h>.
17906 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17907 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17908 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17909 unconditional.
17910 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17911 conditional code.
17912
17913 2014-06-25 Will Newton <will.newton@linaro.org>
17914
17915 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17916 comment changes throughout the file. Remove checks
17917 for HAVE_*_H definitions that are not required.
17918 (__gen_tempname): Call abort if an unknown kind value is
17919 passed.
17920
17921 2014-06-25 Andreas Schwab <schwab@suse.de>
17922
17923 [BZ #17086]
17924 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17925 scalbln, scalblnf, scalblnl in libc.
17926
17927 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17928
17929 [BZ #17086]
17930 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17931 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17932 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17933
17934 2014-06-24 Roland McGrath <roland@hack.frob.com>
17935
17936 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17937 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17938 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17939 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17940 Update #include.
17941 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17942 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17943 Update #include.
17944 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17945 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17946 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17947 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17948 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17949 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17950 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17951 * sysdeps/x86/bits/semaphore.h: ... here.
17952 * sysdeps/x86/nptl/elide.h: Moved ...
17953 * sysdeps/x86/elide.h: ... here.
17954 * sysdeps/x86_64/nptl/Implies: File removed.
17955 * sysdeps/i386/nptl/Implies: File removed.
17956
17957 2014-06-24 Joseph Myers <joseph@codesourcery.com>
17958
17959 [BZ #16539]
17960 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17961 return the argument for normal arguments with exponent below -64.
17962 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17963 Likewise.
17964 * math/auto-libm-test-in: Add another test of expm1.
17965 * math/auto-libm-test-out: Regenerated.
17966
17967 [BZ #16287]
17968 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17969 calling __erfcl for arguments at least 16.
17970 * math/auto-libm-test-in: Add more tests of erf.
17971 * math/auto-libm-test-out: Regenerated.
17972
17973 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17974 individual architectures.
17975 * sysdeps/unix/sysv/linux/configure: Regenerated.
17976 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17977 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17978 * sysdeps/unix/sysv/linux/powerpc/configure.ac
17979 (ldd_rewrite_script): Define variable.
17980 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17982 file.
17983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17984 generated file.
17985 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17986 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17987 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17988 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17989 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17990 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17991 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17992 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17993
17994 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17995
17996 [BZ #17084]
17997 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17998 Rename member __data.d to __data.__elision_data.
17999
18000 2014-06-24 Wilco <wdijkstr@arm.com>
18001
18002 * NEWS: Add 16918 to fixed bug list.
18003
18004 2014-06-24 Wilco <wdijkstr@arm.com>
18005
18006 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18007
18008 2014-06-24 Wilco <wdijkstr@arm.com>
18009
18010 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18011 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18012 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18013 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18014 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18015 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18016 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18017 Use _FPU_MASK_RM.
18018
18019 2014-06-24 Wilco <wdijkstr@arm.com>
18020
18021 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18022
18023 2014-06-24 Wilco <wdijkstr@arm.com>
18024
18025 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18026 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18027 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18028 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18029
18030 2014-06-24 Wilco <wdijkstr@arm.com>
18031
18032 [BZ #16918]
18033 * sysdeps/arm/feupdateenv.c (feupdateenv):
18034 Rewrite to reduce FPSCR accesses and fix return value.
18035
18036 2014-06-24 Wilco <wdijkstr@arm.com>
18037
18038 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18039 Optimize to avoid unnecessary FPSCR writes.
18040 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18041 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18042 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18043 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18044
18045 2014-06-24 Wilco <wdijkstr@arm.com>
18046
18047 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18048 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18049 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18050 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18051 Call libc_fetestexcept_vfp.
18052 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18053 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18054 __SOFTFP__ ifdef so that they can be built for softfp.
18055
18056 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18057
18058 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18059 argument type signed char.
18060
18061 * Makerules (check-abi): Dump diff of symlist if the test
18062 fails.
18063
18064 2014-06-23 Roland McGrath <roland@hack.frob.com>
18065
18066 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18067 using abort.
18068
18069 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18070 Remove unused variable ST.
18071
18072 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18073
18074 [BZ #16354]
18075 [BZ #17061]
18076 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18077 small arguments before calling __expm1.
18078 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18079 small arguments before calling __expm1f.
18080 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18081 small arguments before calling __expm1l.
18082 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18083 Likewise.
18084 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18085 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18086 spurious underflow for some cosh tests.
18087 * math/auto-libm-test-out: Regenerated.
18088 * sysdeps/i386/fpu/libm-test-ulps: Update.
18089
18090 [BZ #17050]
18091 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18092 (__ieee754_y1): Set errno if return value overflows.
18093 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18094 (__ieee754_y1f): Set errno if return value overflows.
18095 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18096 (__ieee754_y1l): Set errno if return value overflows.
18097 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18098 (__ieee754_y1l): Set errno if return value overflows.
18099 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18100 * math/auto-libm-test-out: Regenerated.
18101
18102 * math/gen-auto-libm-tests.c: Document use of
18103 ignore-zero-inf-sign.
18104 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18105 (input_flags): Add ignore-zero-inf-sign.
18106 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18107 * math/gen-libm-test.pl (generate_testfile): Handle
18108 ignore-zero-inf-sign.
18109 * math/auto-libm-test-in: Mark some cpow tests with
18110 ignore-zero-inf-sign and some with xfail-rounding.
18111 * math/auto-libm-test-out: Regenerated.
18112 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18113 * sysdeps/i386/fpu/libm-test-ulps: Update.
18114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18115
18116 [BZ #16315]
18117 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18118 overflowing or underflowing operations take place with sign of
18119 result.
18120 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18121 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18122 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18123 (__ieee754_pow): Recompute overflowing and underflowing results in
18124 original rounding mode.
18125 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18126 (__powl_helper): Allow negative argument X and scale negated value
18127 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18128 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18129 overflowing or underflowing operations take place with sign of
18130 result.
18131 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18132 Include <math.h>.
18133 * math/auto-libm-test-in: Add more tests of pow.
18134 * math/auto-libm-test-out: Regenerated.
18135 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18136 (pow_tonearest_test_data): Remove.
18137 (pow_test_tonearest): Likewise.
18138 (pow_towardzero_test_data): Likewise.
18139 (pow_test_towardzero): Likewise.
18140 (pow_downward_test_data): Likewise.
18141 (pow_test_downward): Likewise.
18142 (pow_upward_test_data): Likewise.
18143 (pow_test_upward): Likewise.
18144 (main): Don't call removed functions.
18145 * sysdeps/i386/fpu/libm-test-ulps: Update.
18146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18147
18148 2014-06-23 Roland McGrath <roland@hack.frob.com>
18149
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18151 Moved ...
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18154 Moved ...
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18157 Moved ...
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18160 Moved ...
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18163 File removed.
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18165 File removed.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18167 File removed.
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18169 File removed.
18170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18171 File removed.
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18173 File removed.
18174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18175 File removed.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18177 File removed.
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18179 File removed.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18181 File removed.
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18183 File removed.
18184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18185 File removed.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18187 Moved ...
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18190 Moved ...
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18192 ... here.
18193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18194 Moved ...
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18197 Moved ...
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18200 Moved ...
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18203 Moved ...
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18206 Moved ...
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18209 Moved ...
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18212 Moved ...
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18216 ... here.
18217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18218 Moved ...
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18221 Moved ...
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18223 ... here.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18225 Moved ...
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18227 ... here.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18229 Moved ...
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18231 ... here.
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18233 Moved ...
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18236 Moved ...
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18241 Moved ...
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18243 ... here.
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18245 Moved ...
18246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18247 ... here.
18248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18249 Moved ...
18250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18252 Moved ...
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18255 Moved ...
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18258 Moved ...
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18261 Moved ...
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18263 ... here.
18264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18265 Moved ...
18266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18268 Moved ...
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18271 Moved ...
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18274 Moved ...
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18279 Moved ...
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18282 Moved ...
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18285 Moved ...
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18287 ... here.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18289 Moved ...
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18291 ... here.
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18293 Moved ...
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18295 ... here.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18297 Moved ...
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18300 Moved ...
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18303 Moved ...
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18306 Moved ...
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18308 ... here.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18310 Moved ...
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18312 ... here.
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18314 Moved ...
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18316 ... here.
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18318 Moved ...
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18321 Moved ...
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18323
18324 2014-06-23 Will Newton <will.newton@linaro.org>
18325 Wilco <wdijkstr@arm.com>
18326
18327 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18328 implementation. Include get-rounding-mode.h.
18329 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18330 [!libc_feholdsetround_noex_ctx]: Define
18331 libc_feholdsetround_noex_ctx.
18332 [!libc_feholdsetround_noexf_ctx]: Define
18333 libc_feholdsetround_noexf_ctx.
18334 [!libc_feholdsetround_noexl_ctx]: Define
18335 libc_feholdsetround_noexl_ctx.
18336 (libc_feholdsetround_ctx): New function.
18337 (libc_feresetround_ctx): New function.
18338 (libc_feholdsetround_noex_ctx): New function.
18339 (libc_feresetround_noex_ctx): New function.
18340
18341 2014-06-23 Roland McGrath <roland@hack.frob.com>
18342
18343 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18344 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18345 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18346 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18347 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18348 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18349
18350 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18351 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18352 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18353 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18354 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18355 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18357 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18359 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18360 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18361 Moved ...
18362 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18363 ... here.
18364 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18365 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18366 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18367 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18369 Moved ...
18370 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18371 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18372 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18373 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18374 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18375 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18376 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18377 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18378 Moved ...
18379 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18380 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18381 Moved ...
18382 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18383 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18384 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18385 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18386 Moved ...
18387 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18389 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18390 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18391 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18392 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18393 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18394 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18395 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18397 Moved ...
18398 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18399 ... here.
18400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18401 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18402 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18403 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18404 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18405 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18406 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18407 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18408 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18409 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18410 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18411 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18412 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18413 Moved ...
18414 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18415 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18416 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18417 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18418 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18420 Moved ...
18421 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18423 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18424 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18425 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18426
18427 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18428 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18429 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18430 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18431 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18432 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18433 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18434 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18436 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18437 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18438 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18439 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18440 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18441 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18442 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18443 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18444 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18445 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18446 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18447 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18448 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18449 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18450 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18451 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18452 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18453 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18454 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18455
18456 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18457
18458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18459 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18460 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18461 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18462 (IPV6_PMTUDISC_INTERFACE): Likewise.
18463 (IPV6_PMTUDISC_OMIT): Likewise.
18464
18465 2014-06-23 Andreas Schwab <schwab@suse.de>
18466
18467 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18468 Remove unused errout label.
18469
18470 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18471
18472 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18473 macro: hardware supports Vector Crypto instructions.
18474
18475 2014-06-23 Will Newton <will.newton@linaro.org>
18476
18477 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18478 rather than __builtin_expect.
18479
18480 * elf/dl-lookup.c (undefined_msg): Remove variable.
18481 (_dl_lookup_symbol_x): Replace undefined_msg with string
18482 literal.
18483
18484 * elf/dl-lookup.c (do_lookup_unique): New function.
18485 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18486 to a separate function.
18487
18488 2014-06-23 Andreas Schwab <schwab@suse.de>
18489
18490 [BZ #17079]
18491 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18492 before reading the next line.
18493
18494 2014-06-23 Will Newton <will.newton@linaro.org>
18495
18496 * test-skeleton.c (signal_handler): Use printf and %m
18497 rather than perror. Use printf rather than fprintf to
18498 stderr. Use puts rather than fputs to stderr.
18499 (main): Likewise.
18500
18501 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18502
18503 * nscd/nscd.c (thread_info_t): Remove typedef.
18504 (thread_info): Remove variable.
18505
18506 2014-06-21 Allan McRae <allan@archlinux.org>
18507
18508 * NEWS: Mention CVE-2014-4043.
18509
18510 2014-06-20 Roland McGrath <roland@hack.frob.com>
18511
18512 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18513 * nptl/smp.h: ... here.
18514
18515 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18516
18517 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18518 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18519 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18520 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18521
18522 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18523 * nptl/stack-aliasing.h: New file.
18524 * sysdeps/i386/i686/stack-aliasing.h: New file.
18525 * sysdeps/i386/i686/nptl/Makefile: File removed.
18526 * sysdeps/x86_64/stack-aliasing.h: New file.
18527 * sysdeps/x86_64/nptl/Makefile
18528 (CFLAGS-pthread_create.c): Variable removed.
18529
18530 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18531 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18532 old file.
18533 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18534 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18535 old file.
18536
18537 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18538
18539 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18540 (__ASSUME_SIGFRAME_V2): Remove macro.
18541 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18542 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18543 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18544 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18545 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18546 Declare as function. Remove conditional macro definitions.
18547 (__default_rt_sa_restorer): Likewise.
18548 (__default_sa_restorer_v1): Remove declaration.
18549 (__default_sa_restorer_v2): Likewise.
18550 (__default_rt_sa_restorer_v1): Likewise.
18551 (__default_rt_sa_restorer_v2): Likewise.
18552 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18553 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18554 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18555
18556 2014-06-20 Roland McGrath <roland@hack.frob.com>
18557
18558 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18559 (libpthread-routines): Add sysdep.
18560 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18561 * sysdeps/unix/sysv/linux/sparc/Versions
18562 (libpthread: GLIBC_2.3.3): New version set.
18563 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18564 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18565 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18566 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18567 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18568 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18569 Moved ...
18570 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18571 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18572 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18573 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18574 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18575 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18576 * sysdeps/sparc/nptl/sem_init.c: ... here.
18577 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18578 * sysdeps/sparc/nptl/sem_post.c: ... here.
18579 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18580 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18581 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18582 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18583 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18584 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18585 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18586 (libpthread-routines): Add cpu_relax.
18587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18588 File removed.
18589 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18590 (librt: GLIBC_2.3.3): New version set.
18591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18592 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18593 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18594 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18597 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18599 Moved ...
18600 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18602 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18604 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18606 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18608 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18610 Moved ...
18611 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18612 Update #include.
18613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18614 Moved ...
18615 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18616 Update #include.
18617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18618 Moved ...
18619 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18620 Update #include.
18621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18622 Moved ...
18623 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18624 Update #include.
18625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18626 Moved ...
18627 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18628 Update #include.
18629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18630 Moved ...
18631 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18632 Update #include.
18633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18634 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18640 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18642 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18644 Moved ...
18645 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18647 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18649 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18650
18651 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18652
18653 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18654 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18655 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18656 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18657 * nscd/nscd.c: Likewise.
18658 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18659 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18660 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18661 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18662
18663 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18664 <kernel-features.h>.
18665 (init_mq_netlink): Remove conditional have_sock_cloexec
18666 definitions. Remove code conditional on have_sock_cloexec < 0.
18667 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18668 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18669 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18670 <kernel-features.h>.
18671 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18672 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18673
18674 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18675
18676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18677 Add tests for memset_chk and memset.
18678
18679 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18680 with AVX2_Usable.
18681
18682 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18683
18684 [BZ #16046]
18685 * elf/tst-dl-iter-static.c: New file.
18686 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18687
18688 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18689 error.
18690
18691 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18692
18693 * sysdeps/unix/sysv/linux/kernel-features.h
18694 (__ASSUME_F_GETOWN_EX): Remove macro.
18695 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18696 <kernel-features.h>.
18697 (miss_F_GETOWN_EX): Remove variable or macro.
18698 (do_fcntl): Do not check miss_F_GETOWN_EX.
18699 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18700
18701 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18702 Remove macro.
18703 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18704 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18705 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18706
18707 * sysdeps/unix/sysv/linux/kernel-features.h
18708 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18709 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18710 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18711 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18712
18713 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18714
18715 [BZ #17075]
18716 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18717 Fix calculation of the symbol's value.
18718 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18719 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18720 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18721 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18722 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18723 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18724 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18725 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18726 (modules-names): Add `tst-armtlsdescmod',
18727 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18728 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18729 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18730 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18731 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18732 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18733 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18734 ($(objpfx)tst-armtlsdescloc): New dependency.
18735 ($(objpfx)tst-armtlsdescextnow): Likewise.
18736 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18737 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18738 TLS scheme support.
18739 * sysdeps/arm/configure: Regenerate.
18740
18741 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18742
18743 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18744 (__atfct_seterrno_2): Likewise.
18745 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18746 <kernel-features.h>.
18747 (__ASSUME_ATFCTS): Do not undefine and redefine.
18748 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18749 (__have_atfcts): Remove conditional definition.
18750 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18751 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18752 unreachable if [__ASSUME_ATFCTS].
18753 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18754 not undefine and redefine.
18755 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18756 <kernel-features.h>.
18757 (faccessat) [__NR_faccessat]: Make code unconditional.
18758 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18759 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18760 <kernel-features.h>.
18761 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18762 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18763 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18764 <kernel-features.h>.
18765 (fchownat) [__NR_fchownat]: Make code unconditional.
18766 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18767 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18768 <kernel-features.h>.
18769 (futimesat) [__NR_futimesat]: Make code unconditional.
18770 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18771 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18772 <kernel-features.h>.
18773 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18774 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18775 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18776 <kernel-features.h>.
18777 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18778 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18779 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18780 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18781 <kernel-features.h>.
18782 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18783 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18784 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18785 <kernel-features.h>.
18786 (linkat) [__NR_linkat]: Make code unconditional.
18787 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18788 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18789 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18790 <kernel-features.h>.
18791 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18792 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18793 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18794 <kernel-features.h>.
18795 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18796 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18797 * sysdeps/unix/sysv/linux/openat.c: Do not include
18798 <kernel-features.h>.
18799 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18800 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18801 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18802 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18803 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18804 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18805 <kernel-features.h>.
18806 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18807 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18808 result of INLINE_SYSCALL directly, not via int variable.
18809 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18810 <kernel-features.h>.
18811 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18812 (renameat) [__NR_renameat]: Make code unconditional.
18813 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18814 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18815 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18816 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18817 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18818 (__ASSUME_ATFCTS): Do not undefine and redefine.
18819 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18820 <kernel-features.h>.
18821 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18822 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18823 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18824 <kernel-features.h>.
18825 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18826 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18827 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18828 (__ASSUME_ATFCTS): Do not undefine and redefine.
18829 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18830 <kernel-features.h>.
18831 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18832 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18833 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18834 <kernel-features.h>.
18835 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18836 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18837
18838 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18839
18840 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18841
18842 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18843
18844 [BZ #17069]
18845 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18846 constructed tree before returning error.
18847 * posix/bug-regexp36.c: Expand test case.
18848
18849 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18850
18851 [BZ #6803]
18852 * math/libm-test.inc (scalbln_test_date):
18853 Add errno expectations.
18854 * math/w_scalblnf.c: New File.
18855 Add wrapper which checks for setting errno to ERANGE.
18856 Add weak_alias for corresponding scalbln function.
18857 * math/w_scalbln.c: Likewise.
18858 * math/w_scalblnl.c: Likewise.
18859 * math/Makefile (libm-calls): Add w_scalbln.
18860 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18861 Remove weak_alias for corresponding scalbln function.
18862 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18866 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18867 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18868 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18869 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18870 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18871 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18872 Remove long_double_symbol for scalblnl function in libm, libc.
18873 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18874 Add wrapper which checks for setting errno to ERANGE.
18875 Add long_double_symbol for scalblnl function in libm, libc.
18876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18877 Remove long_double_symbol for scalblnl in libm.
18878 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18879 Add wrapper which checks for setting errno to ERANGE.
18880 Add long_double_symbol for scalblnl function in libm.
18881 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18882 Do not use wrapper because of own implementation.
18883
18884 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18885
18886 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18887 3 bytes for __pad1 for x32.
18888 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18889
18890 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18891 H.J. Lu <hongjiu.lu@intel.com>
18892
18893 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18894 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18895 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18896 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18897 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18898
18899 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
18900
18901 [BZ #17069]
18902 * posix/regcomp.c (parse_expression): Deallocate partially
18903 constructed tree before returning error.
18904 * posix/Makefile.c (tests): Add bug-regex36.
18905 (generated): Add bug-regex36.mtrace.
18906 (tests-special): Add $(objpfx)bug-regex36-mem.out
18907 (bug-regex36-ENV): New variable.
18908 ($(objpfx)bug-regex36-mem.out): New rule.
18909 * posix/bug-regex36.c: New file.
18910
18911 2014-06-19 Will Newton <will.newton@linaro.org>
18912
18913 * malloc/malloc.c (systrim): If extra is zero then return
18914 early.
18915
18916 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18917
18918 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18919
18920 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
18921
18922 * sysdeps/aarch64/strchr.S: New file.
18923
18924 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18925
18926 [BZ #17022]
18927 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18928 from arguments -2 or below.
18929 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18930 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18931
18932 2014-06-18 Andreas Schwab <schwab@suse.de>
18933
18934 [BZ #17062]
18935 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18936 of a bracket expr not to run off the end of the string.
18937 * posix/Makefile (tests): Add tst-fnmatch3.
18938 * posix/tst-fnmatch3.c: New file.
18939
18940 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18941
18942 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18943 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18944 [$(cross-compiling) = no]: Likewise.
18945 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18946 [$(cross-compiling) = no]: Likewise.
18947
18948 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18949
18950 [BZ #17031]
18951 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18952 double, adjusted for any remainder from the high double.
18953 * math/libm-test.inc (nearbyint): Add tests.
18954 (rint): Likewise.
18955
18956 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18957
18958 * nptl/sysdeps/powerpc/Makefile: Moved ...
18959 * sysdeps/powerpc/nptl/Makefile: ... here.
18960 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18961 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18962 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18963 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18964 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18965 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18966 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18967 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18968 * nptl/sysdeps/powerpc/tls.h: Moved ...
18969 * sysdeps/powerpc/nptl/tls.h: ... here.
18970
18971 2014-06-16 Joseph Myers <joseph@codesourcery.com>
18972
18973 [BZ #16681]
18974 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18975 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18976 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18977 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18978 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18979 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18980 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18981 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18982 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18983
18984 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
18985
18986 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18987
18988 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
18989
18990 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18991 defined operator.
18992
18993 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18994 $TIMEOUTFACTOR.
18995
18996 2014-06-16 Florian Weimer <fweimer@redhat.com>
18997
18998 [BZ #17058]
18999 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19000 non-executed part of the test.
19001
19002 2014-06-16 Andreas Schwab <schwab@suse.de>
19003
19004 * string/bits/string2.h (strdup, strndup): Update feature guard.
19005
19006 2014-06-14 David S. Miller <davem@davemloft.net>
19007
19008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19009
19010 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19011
19012 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19013 that was previously under [RESET_PID].
19014 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19015
19016 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19017 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19018 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19019 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19020 (__libc_vfork): New strong alias.
19021 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19022
19023 2014-06-14 Andi Kleen <ak@linux.intel.com>
19024
19025 * sysdeps/generic/elide.h: New file.
19026
19027 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19028
19029 * Makefile (installed-headers): Adjust path of pthread.h header.
19030
19031 2014-06-13 Roland McGrath <roland@hack.frob.com>
19032
19033 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19034 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19035 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19036 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19037
19038 * nptl/sysdeps/s390/Makefile: Moved ...
19039 * sysdeps/s390/nptl/Makefile: ... here.
19040 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19041 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19042 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19043 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19044 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19045 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19046 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19047 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19048 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19049 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19050 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19051 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19052 * nptl/sysdeps/s390/tls.h: Moved ...
19053 * sysdeps/s390/nptl/tls.h: ... here.
19054
19055 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19056 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19057
19058 2014-06-13 David S. Miller <davem@davemloft.net>
19059
19060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19063 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19067 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19068 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19069 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19070 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19071 Remove RESET_PID cpp guards.
19072 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19073 Remove RESET_PID cpp guards.
19074 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19075
19076 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19077
19078 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19079 __sp to uintptr_t.
19080
19081 2014-06-13 Andi Kleen <ak@linux.intel.com>
19082
19083 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19084 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19085 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19086 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19087 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19088 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19089 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19090 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19091 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19092 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19093 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19094 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19095 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19096 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19097 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19098 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19099 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19100 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19101 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19102 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19103
19104 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19105 (pthread_rwlock_rdlock): Add elision.
19106 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19107 (pthread_rwlock_wrlock): Add elision.
19108 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19109 (pthread_rwlock_trywrlock): Add elision.
19110 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19111 (pthread_rwlock_tryrdlock): Add elision.
19112 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19113 (pthread_rwlock_tryrdlock): Add elision unlock.
19114 * nptl/sysdeps/pthread/pthread.h:
19115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19116 (PTHREAD_RWLOCK_INITIALIZER,
19117 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19118 Handle new elision field.
19119 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19120 * sysdeps/arm/nptl/bits/pthreadtypes.h
19121 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19122 * sysdeps/sh/nptl/bits/pthreadtypes.h
19123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19124 * sysdeps/tile/nptl/bits/pthreadtypes.h
19125 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19126 * sysdeps/a/nptl/bits/pthreadtypes.h
19127 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19128 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19130 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19132 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19133 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19134 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19135 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19136 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19138 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19139 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19140 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19141 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19142 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19144 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19145 (elision_init): Set try_xbegin to zero when no RTM.
19146 * sysdeps/x86/nptl/bits/pthreadtypes.h
19147 (pthread_rwlock_t): Change __pad1 to __rwelision.
19148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19149
19150 2014-06-13 Andi Kleen <ak@linux.intel.com>
19151
19152 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19153 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19154 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19155 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19156
19157 2014-06-13 Meador Inge <meadori@codesourcery.com>
19158
19159 [BZ #16996]
19160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19161 that the cached result has been set before returning it.
19162
19163 2014-06-12 Roland McGrath <roland@hack.frob.com>
19164
19165 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19166 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19167 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19168 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19169 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19170 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19171
19172 * nptl/sysdeps/sparc/Makefile: Moved ...
19173 * sysdeps/sparc/nptl/Makefile: ... here.
19174 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19175 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19176 * nptl/sysdeps/sparc/tls.h: Moved ...
19177 * sysdeps/sparc/nptl/tls.h: ... here.
19178 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19179 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19180 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19181 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19182 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19183 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19184 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19185 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19186 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19187 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19188 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19189 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19190 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19191 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19192 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19193 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19194 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19195 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19196 Update #include.
19197 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19199 Update #include.
19200 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19201 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19202 Update #include.
19203 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19204 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19205 Update #include.
19206
19207 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19208
19209 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19210 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19211
19212 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19213 (struct list_links): Type removed.
19214 (struct thread_node, struct timer_node): Replace struct list_links
19215 with struct list_head.
19216 (list_unlink_ip): Likewise.
19217 * sysdeps/pthread/timer_routines.c
19218 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19219 (list_append, list_insbefore): Likewise.
19220 (list_init): Function removed.
19221 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19222 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19223 * sysdeps/pthread/Makefile: ... here, new file.
19224
19225 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19226 * sysdeps/nptl/Implies: ... here.
19227 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19228 * nptl/sysdeps/pthread/list.h: Moved ...
19229 * include/list.h: ... here.
19230 * nptl/sysdeps/pthread/createthread.c: Moved ...
19231 * nptl/createthread.c: ... here.
19232 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19233 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19234 * nptl/pt-longjmp.c: ... here.
19235 * nptl/sysdeps/pthread/Makefile: Moved ...
19236 * sysdeps/nptl/Makefile: ... here.
19237 * nptl/sysdeps/pthread/Subdirs: Moved ...
19238 * sysdeps/nptl/Subdirs: ... here.
19239 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19240 * sysdeps/nptl/aio_misc.h: ... here.
19241 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19242 * sysdeps/nptl/bits/libc-lock.h: ... here.
19243 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19244 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19245 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19246 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19247 * nptl/sysdeps/pthread/configure: Moved ...
19248 * sysdeps/nptl/configure: ... here.
19249 * nptl/sysdeps/pthread/configure.ac: Moved ...
19250 * sysdeps/nptl/configure.ac: ... here.
19251 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19252 * sysdeps/nptl/gai_misc.h: ... here.
19253 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19254 * sysdeps/nptl/librt-cancellation.c: ... here.
19255 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19256 * sysdeps/nptl/malloc-machine.h: ... here.
19257 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19258 * sysdeps/nptl/pthread-functions.h: ... here.
19259 * nptl/sysdeps/pthread/pthread.h: Moved ...
19260 * sysdeps/nptl/pthread.h: ... here.
19261 * nptl/sysdeps/pthread/setxid.h: Moved ...
19262 * sysdeps/nptl/setxid.h: ... here.
19263 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19264 * sysdeps/nptl/sigfillset.c: ... here.
19265 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19266 * sysdeps/nptl/tcb-offsets.h: ... here.
19267 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19268 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19269 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19270 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19271 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19272 * sysdeps/pthread/allocalim.h: ... here.
19273 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19274 * sysdeps/pthread/bits/sigthread.h: ... here.
19275 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19276 * sysdeps/pthread/flockfile.c: ... here.
19277 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19278 * sysdeps/pthread/ftrylockfile.c: ... here.
19279 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19280 * sysdeps/pthread/funlockfile.c: ... here.
19281 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19282 * sysdeps/pthread/posix-timer.h: ... here.
19283 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19284 * sysdeps/pthread/timer_create.c: ... here.
19285 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19286 * sysdeps/pthread/timer_delete.c: ... here.
19287 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19288 * sysdeps/pthread/timer_getoverr.c: ... here.
19289 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19290 * sysdeps/pthread/timer_gettime.c: ... here.
19291 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19292 * sysdeps/pthread/timer_routines.c: ... here.
19293 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19294 * sysdeps/pthread/timer_settime.c: ... here.
19295 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19296 * sysdeps/pthread/tst-timer.c: ... here.
19297 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19298 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19299
19300 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19301 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19302
19303 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19304 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19305 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19306 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19307 Update #include target.
19308 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19309 * sysdeps/i386/i686/nptl/Makefile: ... here.
19310 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19311 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19312 Update #include target.
19313 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19314 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19315 * nptl/sysdeps/i386/Makefile: Moved ...
19316 * sysdeps/i386/nptl/Makefile: ... here.
19317 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19318 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19319 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19320 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19321 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19322 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19323 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19324 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19325 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19326 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19327 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19328 * nptl/sysdeps/i386/tls.h: Moved ...
19329 * sysdeps/i386/nptl/tls.h: ... here.
19330
19331 * sysdeps/sh/Makefile [$(subdir) = csu]
19332 (gen-as-const-headers): Add tcb-offsets.sym.
19333 * nptl/sysdeps/sh/Makefile: File removed.
19334 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19335 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19336 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19337 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19338 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19339 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19340 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19341 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19342 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19343 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19344 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19345 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19346 * nptl/sysdeps/sh/tls.h: Moved ...
19347 * sysdeps/sh/nptl/tls.h: ... here.
19348 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19349 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19350 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19351 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19352 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19353 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19354 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19355 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19356 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19357 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19358 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19359 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19360 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19361 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19362 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19363 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19364 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19365 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19366 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19367 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19368 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19369 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19370 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19371 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19372 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19373 Moved ...
19374 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19375 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19376 Moved ...
19377 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19378 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19379 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19380 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19381 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19382 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19383 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19384 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19385 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19386 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19387 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19388 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19389 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19390 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19391 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19392 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19393 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19394 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19395 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19396
19397 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19398
19399 * posix/spawn_faction_addopen.c: Include string.h.
19400
19401 2014-06-11 Roland McGrath <roland@hack.frob.com>
19402
19403 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19404 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19405 * nptl/sysdeps/x86_64/Makefile: Moved ...
19406 * sysdeps/x86_64/nptl/Makefile: ... here.
19407 * nptl/sysdeps/x86_64/configure: Moved ...
19408 * sysdeps/x86_64/nptl/configure: ... here.
19409 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19410 * sysdeps/x86_64/nptl/configure.ac: ... here.
19411 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19412 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19413 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19414 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19415 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19416 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19417 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19418 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19419 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19420 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19421 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19422 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19423 * nptl/sysdeps/x86_64/tls.h: Moved ...
19424 * sysdeps/x86_64/nptl/tls.h: ... here.
19425 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19426 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19427 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19428 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19429
19430 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19431
19432 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19433
19434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19435
19436 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19437
19438 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19439 type.
19440 [POSIX] (off_t): Likewise.
19441 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19442 [POSIX] (S_ISBLK): Require macro.
19443 [POSIX] (S_ISCHR): Likewise.
19444 [POSIX] (S_ISDIR): Likewise.
19445 [POSIX] (S_ISFIFO): Likewise.
19446 [POSIX] (S_ISREG): Likewise.
19447 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19448 optional-macro.
19449 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19450 type.
19451 [POSIX] (time_t): Likewise.
19452 [POSIX] (timer_t): Likewise.
19453
19454 2014-06-11 Florian Weimer <fweimer@redhat.com>
19455
19456 [BZ #17048]
19457 * posix/spawn_int.h (struct __spawn_action): Make the path string
19458 non-const to support deallocation.
19459 * posix/spawn_faction_addopen.c
19460 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19461 * posix/spawn_faction_destroy.c
19462 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19463 path in all spawn_do_open actions.
19464 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19465 posix_spawn_file_actions_addopen.
19466
19467 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19468
19469 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19470 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19471 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19472 conditional code always true.
19473 (__libc_vfork): New alias.
19474
19475 2014-06-11 Roland McGrath <roland@hack.frob.com>
19476
19477 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19478 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19479
19480 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19481
19482 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19483 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19484
19485 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19486 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19487
19488 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19489 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19490
19491 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19492
19493 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19494 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19495 multiarch strcmp for PPC64.
19496 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19497 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19499 multiarch optimizations.
19500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19501 (__libc_ifunc_impl_list): Likewise.
19502
19503 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19504
19505 * benchtests/scripts/validate_benchout.py: New script.
19506 * benchtests/Makefile (bench-func): Call it.
19507 * benchtests/scripts/benchout.schema.json: New file.
19508
19509 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19510
19511 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19512 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19513 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19514 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19515 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19516 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19517 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19518 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19519 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19520 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19521 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19522 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19523 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19524 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19525 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19526 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19528 Moved ...
19529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19530 ... here.
19531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19532 Moved ...
19533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19535 Moved ...
19536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19537 ... here.
19538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19539 Moved ...
19540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19541 ... here.
19542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19543 Moved ...
19544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19546 Moved ...
19547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19548 ... here.
19549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19550 Moved ...
19551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19552 ... here.
19553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19554 Moved ...
19555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19557 Moved ...
19558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19559 ... here.
19560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19561 Moved ...
19562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19563 ... here.
19564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19565 Moved ...
19566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19567 ... here.
19568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19569 Moved ...
19570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19572 Moved ...
19573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19574 ... here.
19575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19576 Moved ...
19577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19578 ... here.
19579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19580 Moved ...
19581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19582 ... here.
19583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19584 Moved ...
19585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19587 Moved ...
19588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19589 ... here.
19590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19591 Moved ...
19592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19593 ... here.
19594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19595 Moved ...
19596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19598 Moved ...
19599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19600 ... here.
19601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19602 Moved ...
19603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19605 Moved ...
19606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19608 Moved ...
19609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19610 ... here.
19611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19612 Moved ...
19613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19614 ... here.
19615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19616 Moved ...
19617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19618 ... here.
19619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19620 Moved ...
19621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19623 Moved ...
19624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19625 ... here.
19626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19627 Moved ...
19628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19629 ... here.
19630 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19631 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19633 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19635 Moved ...
19636 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19637 ... here.
19638 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19639 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19640 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19641 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19642 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19643 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19644 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19645 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19646 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19647 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19648 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19649 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19651 Moved ...
19652 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19653 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19654 Moved ...
19655 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19656 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19657 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19658 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19659 Moved ...
19660 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19661 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19662 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19663 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19664 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19665 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19666 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19667
19668 2014-06-10 Wilco <wdijkstr@arm.com>
19669
19670 * math/test-fenv-return.c: New file.
19671 * math/Makefile: Add new test test-fenv-return.
19672
19673 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19674
19675 [BZ #17042]
19676 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19677 when x - 1 is zero.
19678 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19679 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19680 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19681 0.0L for an argument of 1.0L.
19682 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19683 Likewise.
19684 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19685 value when x - 1 is zero.
19686 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19687 * sysdeps/i386/fpu/libm-test-ulps: Update.
19688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19689
19690 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19691
19692 [BZ #15119]
19693 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19694
19695 2014-06-09 Roland McGrath <roland@hack.frob.com>
19696
19697 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19698 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19699
19700 2014-06-09 Roland McGrath <roland@hack.frob.com>
19701
19702 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19703 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19704
19705 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19706 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19707
19708 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19709 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19710
19711 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19712 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19713
19714 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19715 if not already defined.
19716 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19717 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19718 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19719 (TLS_INIT_TP): Use it.
19720 (TLS_DEFINE_INIT_TP): New macro.
19721 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19722
19723 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19724
19725 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19726 constant.
19727 [POSIX] (IXANY): Likewise.
19728 [POSIX] (OLCUC): Likewise.
19729 [POSIX || POSIX2008] (CBAUD): Do not allow.
19730 [POSIX || POSIX2008] (DEFECHO): Likewise.
19731 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19732 [POSIX || POSIX2008] (ECHOKE): Likewise.
19733 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19734 [POSIX || POSIX2008] (EXTA): Likewise.
19735 [POSIX || POSIX2008] (EXTB): Likewise.
19736 [POSIX || POSIX2008] (FLUSHO): Likewise.
19737 [POSIX || POSIX2008] (LOBLK): Likewise.
19738 [POSIX || POSIX2008] (PENDIN): Likewise.
19739 [POSIX || POSIX2008] (SWTCH): Likewise.
19740 [POSIX || POSIX2008] (VDISCARD): Likewise.
19741 [POSIX || POSIX2008] (VDSUSP): Likewise.
19742 [POSIX || POSIX2008] (VLNEXT): Likewise.
19743 [POSIX || POSIX2008] (VREPRINT): Likewise.
19744 [POSIX || POSIX2008] (VSTATUS): Likewise.
19745 [POSIX || POSIX2008] (VWERASE): Likewise.
19746 (B*): Change to B[0123456789]*.
19747 * conform/data/time.h-data [POSIX || UNIX98]
19748 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19749 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19750 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19751 [POSIX] (tm_*): Do not allow.
19752
19753 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19754
19755 * Makefile (install): Don't set LANGUAGE.
19756 * Makefile.in (install): Likewise.
19757 * assert/Makefile (test-assert-ENV): Remove variable.
19758 (test-assert-perr-ENV): Likewise.
19759 * elf/Makefile (neededtest4-ENV): Likewise.
19760 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19761 [$(cross-compiling) = no]: Don't set LANGUAGE.
19762 * io/ftwtest-sh (LANG): Remove variable.
19763 * libio/Makefile (tst-widetext-ENV): Likewise.
19764 * manual/install.texi (Running make install): Don't refer to
19765 environment settings for make install.
19766 * INSTALL: Regenerated.
19767 * nptl/tst-tls6.sh: Don't set LANG.
19768 * posix/globtest.sh (LANG): Remove variable.
19769 * string/Makefile (tester-ENV): Likewise.
19770 (inl-tester-ENV): Likewise.
19771 (noinl-tester-ENV): Likewise.
19772 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19773 [$(cross-compiling) = no]: Don't set LANGUAGE.
19774 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19775 without explicit environment settings.
19776
19777 2014-06-06 Roland McGrath <roland@hack.frob.com>
19778
19779 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19780 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19781 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19782 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19783
19784 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19785
19786 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19787 other files in the crypt directory.
19788 * crypt/crypt.c: Remove duplicate includes.
19789 * crypt/crypt-entry.c: Likewise.
19790 * crypt/crypt_util.c: Likewise.
19791
19792 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19793
19794 * Makeconfig (run-program-env): New variable.
19795 (run-program-prefix-before-env): Likewise.
19796 (run-program-prefix-after-env): Likewise.
19797 (run-program-prefix): Define in terms of new variables.
19798 (built-program-cmd-before-env): New variable.
19799 (built-program-cmd-after-env): Likewise.
19800 (built-program-cmd): Define in terms of new variables.
19801 (test-program-prefix-before-env): New variable.
19802 (test-program-prefix-after-env): Likewise.
19803 (test-program-prefix): Define in terms of new variables.
19804 (test-program-cmd-before-env): New variable.
19805 (test-program-cmd-after-env): Likewise.
19806 (test-program-cmd): Define in terms of new variables.
19807 * Rules (make-test-out): Use $(run-program-env).
19808 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19809 (help): Do not mention environment variables. Mention
19810 --timeoutfactor option.
19811 (timeoutfactor): New variable.
19812 (blacklist_exports): Remove function.
19813 (exports): Remove variable.
19814 (command): Do not include ${exports}.
19815 * manual/install.texi (Configuring and compiling): Do not mention
19816 test wrappers preserving environment variables. Mention that last
19817 assignment to a variable must take precedence.
19818 * INSTALL: Regenerated.
19819 * benchtests/Makefile (run-bench): Use $(run-program-env).
19820 * catgets/Makefile ($(objpfx)test1.cat): Use
19821 $(built-program-cmd-before-env), $(run-program-env) and
19822 $(built-program-cmd-after-env).
19823 ($(objpfx)test2.cat): Do not specify environment variables
19824 explicitly.
19825 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19826 $(run-program-env) and $(built-program-cmd-after-env).
19827 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19828 $(run-program-env) and $(test-program-cmd-after-env).
19829 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19830 explicitly.
19831 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19832 run_program_env and test_program_cmd_after_env arguments.
19833 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19834 * elf/tst-pathopt.sh: Use run_program_env argument.
19835 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19836 $(test-wrapper-env) and $(run-program-env).
19837 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19838 run_program_env arguments.
19839 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19840 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19841 $(test-program-prefix-before-env), $(run-program-env) and
19842 $(test-program-prefix-after-env).
19843 ($(objpfx)tst-gettext2.out): Likewise.
19844 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19845 run_program_env and test_program_prefix_after_env arguments.
19846 * intl/tst-gettext2.sh: Likewise.
19847 * intl/tst-gettext4.sh: Do not set environment variables
19848 explicitly.
19849 * intl/tst-gettext6.sh: Likewise.
19850 * intl/tst-translit.sh: Likewise.
19851 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19852 $(test-program-prefix-before-env), $(run-program-env) and
19853 $(test-program-prefix-after-env).
19854 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19855 run_program_env and test_program_prefix_after_env arguments.
19856 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19857 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19858 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19859 explicitly with each use of ${test_wrapper_env}.
19860 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19861 $(test-program-prefix-before-env), $(run-program-env) and
19862 $(test-program-prefix-after-env).
19863 * posix/tst-getconf.sh: Do not set environment variables
19864 explicitly.
19865 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19866 run_program_env and test_program_prefix_after_env arguments.
19867 * stdio-common/tst-printf.sh: Do not set environment variables
19868 explicitly.
19869 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19870 $(test-program-prefix-before-env), $(run-program-env) and
19871 $(test-program-prefix-after-env).
19872 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19873 run_program_env and test_program_prefix_after_env arguments.
19874 Split $test calls into $test_pre and $test.
19875 * timezone/Makefile (build-testdata): Use
19876 $(built-program-cmd-before-env), $(run-program-env) and
19877 $(built-program-cmd-after-env).
19878
19879 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19880
19881 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19882 strlen for non SHARED builds.
19883
19884 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19885
19886 * nptl/allocatestack.c (check_list): Inlined function...
19887 (__reclaim_stacks): ... here.
19888
19889 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19890
19891 [BZ #15698]
19892 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19893 memory overrun.
19894
19895 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19896
19897 * Rules (make-test-out): Include
19898 LOCPATH=$(common-objpfx)localedata in default environment.
19899 * debug/Makefile (tst-chk1-ENV): Remove variable.
19900 (tst-chk2-ENV): Likewise.
19901 (tst-chk3-ENV): Likewise.
19902 (tst-chk4-ENV): Likewise.
19903 (tst-chk5-ENV): Likewise.
19904 (tst-chk6-ENV): Likewise.
19905 (tst-lfschk1-ENV): Likewise.
19906 (tst-lfschk2-ENV): Likewise.
19907 (tst-lfschk3-ENV): Likewise.
19908 (tst-lfschk4-ENV): Likewise.
19909 (tst-lfschk5-ENV): Likewise.
19910 (tst-lfschk6-ENV): Likewise.
19911 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19912 (tst-iconv7-ENV): Likewise.
19913 * intl/Makefile (LOCPATH-ENV): Likewise.
19914 (tst-codeset-ENV): Likewise.
19915 (tst-gettext3-ENV): Likewise.
19916 (tst-gettext5-ENV): Likewise.
19917 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19918 (tst-fopenloc-ENV): Likewise.
19919 (tst-fgetws-ENV): Remove variable.
19920 (tst-ungetwc1-ENV): Likewise.
19921 (tst-ungetwc2-ENV): Likewise.
19922 (bug-ungetwc2-ENV): Likewise.
19923 (tst-swscanf-ENV): Likewise.
19924 (bug-ftell-ENV): Likewise.
19925 (tst-fgetwc-ENV): Likewise.
19926 (tst-fseek-ENV): Likewise.
19927 (tst-ftell-partial-wide-ENV): Likewise.
19928 (tst-ftell-active-handler-ENV): Likewise.
19929 (tst-ftell-append-ENV): Likewise.
19930 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19931 (tst-regexloc-ENV): Likewise.
19932 (bug-regex1-ENV): Likewise.
19933 (tst-regex-ENV): Likewise.
19934 (tst-regex2-ENV): Likewise.
19935 (bug-regex5-ENV): Likewise.
19936 (bug-regex6-ENV): Likewise.
19937 (bug-regex17-ENV): Likewise.
19938 (bug-regex18-ENV): Likewise.
19939 (bug-regex19-ENV): Likewise.
19940 (bug-regex20-ENV): Likewise.
19941 (bug-regex22-ENV): Likewise.
19942 (bug-regex23-ENV): Likewise.
19943 (bug-regex25-ENV): Likewise.
19944 (bug-regex26-ENV): Likewise.
19945 (bug-regex30-ENV): Likewise.
19946 (bug-regex32-ENV): Likewise.
19947 (bug-regex33-ENV): Likewise.
19948 (bug-regex34-ENV): Likewise.
19949 (bug-regex35-ENV): Likewise.
19950 (tst-rxspencer-ENV): Likewise.
19951 (tst-rxspencer-no-utf8-ENV): Likewise.
19952 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19953 (tst-sscanf-ENV): Likewise.
19954 (tst-swprintf-ENV): Likewise.
19955 (tst-swscanf-ENV): Likewise.
19956 (test-vfprintf-ENV): Likewise.
19957 (scanf13-ENV): Likewise.
19958 (bug14-ENV): Likewise.
19959 (tst-grouping-ENV): Likewise.
19960 * stdlib/Makefile (tst-strtod-ENV): Likewise.
19961 (tst-strtod3-ENV): Likewise.
19962 (tst-strtod4-ENV): Likewise.
19963 (tst-strtod5-ENV): Likewise.
19964 (testmb2-ENV): Likewise./
19965 * string/Makefile (tst-strxfrm-ENV): Likewise.
19966 (tst-strxfrm2-ENV): Likewise.
19967 (bug-strcoll1-ENV): Likewise.
19968 (test-strcasecmp-ENV): Likewise.
19969 (test-strncasecmp-ENV): Likewise.
19970 * time/Makefile (tst-strptime-ENV): Likewise.
19971 (tst-ftime_l-ENV): Likewise.
19972 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19973 (tst-mbrtowc-ENV): Likewise.
19974 (tst-wcrtomb-ENV): Likewise.
19975 (tst-mbrtowc2-ENV): Likewise.
19976 (tst-c16c32-1-ENV): Likewise.
19977 (tst-mbsnrtowcs-ENV): Likewise.
19978
19979 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19980
19981 * manual/resource.texi (How to get information about the memory
19982 subsystem?): Fix typo.
19983 Reported by Peon de la Parra Ivan <peon@keba.com>
19984
19985 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
19986
19987 [BZ #16882]
19988 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19989 (pthread_spin_lock): Branch out of spin loop to proper location.
19990 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19991 (pthread_spin_lock): Likewise.
19992
19993 * nptl/tst-spin4.c: New test.
19994 * nptl/Makefile (tests): Add tst-spin4.
19995
19996 2014-06-03 Andreas Schwab <schwab@suse.de>
19997
19998 [BZ #15946]
19999 * resolv/res_send.c (send_dg): Reload file descriptor after
20000 calling reopen.
20001
20002 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20003
20004 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20005
20006 2014-06-03 Richard Henderson <rth@redhat.com>
20007
20008 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20009 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20010 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20011 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20012 in the SAVE_PID block.
20013 (__libc_vfork): New alias.
20014 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20015
20016 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20017 child in registers, not on the stack. Remove RESET_PID conditionals.
20018 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20019
20020 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20021
20022 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20023
20024 2014-06-03 Wilco <wdijkstr@arm.com>
20025
20026 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20027 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20028 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20029 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20030 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20031 Likewise.
20032
20033 2014-06-03 Wilco <wdijkstr@arm.com>
20034
20035 * sysdeps/aarch64/fpu/math_private.h
20036 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20037 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20038 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20039 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20040 Fix declarations.
20041
20042 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20043
20044 * crypt/crypt-private.h: Include ufc-crypt.h.
20045 (__b64_from_24bit): Declare extern.
20046 * crypt/crypt_util.c(__b64_from_24bit): New function.
20047 (b64t): New static const variable.
20048 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20049 (b64t): Remove variable.
20050 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20051 * crypt/sha256-crypt.c: Include crypt-private.h.
20052 (b64t): Remove variable.
20053 (__sha256_crypt_r): Remove b64_from_24bit and replace
20054 with __b64_from_24bit.
20055 * crypt/sha512-crypt.c: Likewise.
20056
20057 2014-06-02 Roland McGrath <roland@hack.frob.com>
20058
20059 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20060 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20061 Label the code __libc_vfork rather than __vfork.
20062 [!NOT_IN_libc] (vfork): Define as weak alias.
20063 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20064 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20065 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20066
20067 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20068
20069 * malloc/malloc.c (malloc_info): Fix format specifier for
20070 n_mmaps.
20071
20072 2014-06-02 Wilco <wdijkstr@arm.com>
20073
20074 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20075 FPCR write.
20076
20077 2014-06-02 Wilco <wdijkstr@arm.com>
20078
20079 [BZ #17009]
20080 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20081 Rewrite to reduce FPCR/FPSR accesses.
20082
20083 2014-06-01 David S. Miller <davem@davemloft.net>
20084
20085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20086
20087 2014-05-31 David S. Miller <davem@davemloft.net>
20088
20089 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20090 to occur in round to nearest mode when |x| >= 2.0
20091
20092 2014-05-30 Richard Henderson <rth@twiddle.net>
20093
20094 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20095 (PSEUDO_RET_NOERRNO): Remove.
20096 (ret): Don't redefine.
20097 (ret_NOERRNO): Define in terms of ret.
20098 (ret_ERRVAL): Likewise.
20099
20100 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20101 use of PSEUDO_RET; perform the error check directly.
20102
20103 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20104
20105 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20106 with __int128_t.
20107
20108 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20109
20110 * malloc/malloc (malloc_info): Fix formatting.
20111
20112 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20113 Roland McGrath <roland@hack.frob.com>
20114
20115 * malloc/malloc (malloc_info): Also print mmapped statistics.
20116
20117 2014-05-30 Roland McGrath <roland@hack.frob.com>
20118
20119 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20120 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20121
20122 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20123
20124 * malloc/malloc.c (malloc_info): Inline mi_arena.
20125
20126 2014-05-29 Richard Henderson <rth@twiddle.net>
20127
20128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20129 Remove comma before expanding ASM_ARGS_##nr.
20130 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20131 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20132 of ASM_ARGS_##nr.
20133 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20134 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20135 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20136 (ASM_ARGS_1): Add leading comma.
20137
20138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20139 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20140 to __errno_location.
20141 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20142 Remove the expected plt for __errno_location.
20143
20144 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20145 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20146 call to __read_tp.
20147
20148 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20149 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20150 it and break it down.
20151 (DOCARGS_0, DOCARGS_1): Do nothing.
20152 (DOCARGS_2): Update to store into the new stack frame.
20153 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20154 (UNDOCARGS_1): Update to restore from the new stack frame.
20155 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20156 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20157
20158 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20159 (SINGLE_THREAD_P): New parameter for result regno.
20160 (PSEUDO): Update to match; use cbz instead of beq.
20161
20162 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20163 Use ENTRY to define the _nocancel entry point. Share the syscall
20164 and syscall error check paths with the cancel path.
20165 (PSEUDO_END): New.
20166
20167 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20168 whitespace; tabs before and after asm mnemonics.
20169
20170 2014-05-29 Eric Wong <normalperson@yhbt.net>
20171
20172 [BZ #15132]
20173 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20174 Call fstat64 or stat64 internally, depending on arguments passed.
20175 Replace stat buffer argument with file descriptor argument.
20176 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20177 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20178 Pass fd to __internal_statvfs instead of calling fstat64.
20179 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20180 Pass fd to __internal_statvfs64 instead of calling fstat64.
20181 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20182 Pass -1 to __internal_statvfs instead of calling stat64.
20183 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20184 Pass -1 to __internal_statvfs64 instead of calling stat64.
20185
20186 2014-05-28 Roland McGrath <roland@hack.frob.com>
20187
20188 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20189 that was previously under [RESET_PID].
20190 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20191
20192 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20193 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20194
20195 2014-05-27 Roland McGrath <roland@hack.frob.com>
20196
20197 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20198
20199 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20200 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20201
20202 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20203
20204 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20205
20206 2014-05-27 Andreas Schwab <schwab@suse.de>
20207
20208 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20209 TLS_INIT_TP macro.
20210 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20211 * elf/rtld.c (init_tls, dl_main): Likewise.
20212 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20213 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20214 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20215 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20216 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20217 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20218 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20219 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20220 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20221 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20222 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20223 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20224 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20225 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20226 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20227 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20228 * sysdeps/generic/tls.h: Update description.
20229
20230 2014-05-27 Will Newton <will.newton@linaro.org>
20231
20232 [BZ #16990]
20233 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20234 and restore r2 rather than just restoring.
20235
20236 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20237
20238 [BZ #16724]
20239 * libio/tst-ftell-append.c: New test case.
20240 * libio/Makefile (tests): Add test case.
20241 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20242 append mode.
20243 * libio/wfileops.c (do_ftell_wide): Likewise.
20244
20245 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20246
20247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20248
20249 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20250 ...
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20253 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20254 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20255 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20256 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20257 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20258 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20260 Moved ...
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20263 Moved ...
20264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20265 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20266 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20267 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20268 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20269 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20270 ...
20271 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20272 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20273 Moved ...
20274 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20275 here.
20276 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20277 ...
20278 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20279 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20280 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20281
20282 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20283 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20284 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20285 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20286
20287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20288 merge into ...
20289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20291 ...
20292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20294 ...
20295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20297 Moved ...
20298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20299 here.
20300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20301 Moved ...
20302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20304 Moved ...
20305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20306
20307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20308 conditional [RESET_PID].
20309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20310 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20311 removed.
20312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20313 removed.
20314
20315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20316 <tcb-offsets.h>.
20317 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20318 (__libc_vfork): New strong alias.
20319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20320 removed.
20321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20322 Removed.
20323
20324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20325 <tcb-offsets.h>.
20326 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20327 (__libc_vfork): New strong alias.
20328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20329 removed.
20330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20331 removed.
20332
20333 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20334
20335 * malloc/malloc.c (mi_arena): New function.
20336 (malloc_info): Remove nested function mi_arena. Call non-nosted
20337 function mi_arena.
20338
20339 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20340
20341 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20342 by insrwi.
20343 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20344 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20345 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20346 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20347 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20348 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20349 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20350
20351 2014-05-26 Andreas Schwab <schwab@suse.de>
20352
20353 [BZ #16984]
20354 * locale/programs/repertoire.c (repertoire_read): Add slash
20355 between I18NPATH element and file name.
20356 * locale/programs/locfile.c (locfile_read): Likewise.
20357
20358 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20359
20360 * nptl/pthread_mutexattr_settype.c
20361 (__pthread_mutexattr_settype):
20362 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20363
20364 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20365
20366 * nptl/tst-mutex5 (do_test):
20367 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20368
20369 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20370
20371 * benchtests/README: Document 'init' directive.
20372 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20373 BENCH_INIT.
20374 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20375 (parse_file): Recognize 'init' directive.
20376
20377 2014-05-26 Kyle McMartin <kyle@redhat.com>
20378
20379 [BZ #16796]
20380 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20381 alignment of struct pthread.
20382
20383 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20384
20385 [BZ #16878]
20386 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20387 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20388 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20389 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20390
20391 2014-05-25 Richard Henderson <rth@twiddle.net>
20392
20393 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20394 (SINGLE_THREAD_P_PIC): Remove.
20395 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20396 (SINGLE_THREAD_P_PIC): Remove.
20397
20398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20399 branch to syscall error ...
20400 (PSEUDO): ... here.
20401 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20402 from __local_syscall_error to .Lsyscall_error.
20403 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20404 (SYSCALL_ERROR): Update label name.
20405
20406 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20407 Do not use DOARGS/UNDOARGS.
20408 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20409 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20410 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20411 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20412 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20413
20414 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20415 block comment.
20416
20417 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20418 define if !NOT_IN_libc.
20419 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20420 define with non-default symbol versions.
20421
20422 2014-05-23 Richard Henderson <rth@twiddle.net>
20423
20424 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20425 (vfork, __vfork): Define via compat_symbol.
20426
20427 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20428 [!HAVE_IFUNC] (vfork_compat): Remove.
20429 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20430
20431 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20432
20433 [BZ #16978]
20434 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20435 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20436 variable.
20437
20438 2014-05-23 Richard Henderson <rth@twiddle.net>
20439
20440 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20441 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20442 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20443 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20444
20445 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20446 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20447 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20448 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20449 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20450 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20451 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20452 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20453 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20454 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20455 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20456 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20457 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20458 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20459 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20460 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20461 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20462 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20463 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20464 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20465 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20466 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20467 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20468 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20469 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20470 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20471 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20472 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20473 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20474 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20475 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20476 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20477 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20478 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20479 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20480 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20481 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20482 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20483 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20484 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20485 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20486 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20487 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20488 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20489 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20490 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20492 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20494 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20496 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20497 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20498 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20499 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20500 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20501
20502 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20503 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20504 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20505 before exiting on error.
20506 (__libc_vfork): New strong alias.
20507 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20508 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20509
20510 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20511 that was previously under [RESET_PID].
20512 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20513
20514 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20515
20516 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20517
20518 [BZ #16977]
20519 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20520 value when x - 1 is zero.
20521 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20522 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20523 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20524 0.0L for an argument of 1.0L.
20525 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20526 Likewise.
20527 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20528 value when x - 1 is zero.
20529 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20530 * sysdeps/i386/fpu/libm-test-ulps: Update.
20531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20532
20533 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20534
20535 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20536 alphasort and versionsort.
20537
20538 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20539
20540 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20541 macro.
20542 [copysignf]: Likewise.
20543
20544 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20545
20546 * crypt/md5-crypt.c: Fix formatting.
20547
20548 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20549
20550 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20551 (b64_from_24bit): New function.
20552
20553 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20554
20555 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20556 libc_hidden_builtin_def to ifunc.
20557 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20558 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20559
20560 2014-05-21 Roland McGrath <roland@hack.frob.com>
20561
20562 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20563 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20564
20565 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20566
20567 * nscd/Depend (linuxthreads): Remove.
20568 (nptl): Add.
20569 * resolv/Depend (linuxthreads): Remove.
20570 * rt/Depend (linuxthreads): Remove.
20571
20572 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20573 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20574 $(common-objpfx)elf/.
20575 (link-libc-before-gnulib): Likewise.
20576 (elfobjdir): Remove variable.
20577 * Makefile (install): Use $(elf-objpfx) instead of
20578 $(common-objpfx)elf/.
20579 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20580 $(elfobjdir)/.
20581 (link-libc-deps): Likewise.
20582 ($(common-objpfx)libc.so): Likewise.
20583 ($(common-objpfx)linkobj/libc.so): Likewise.
20584 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20585 instead of $(common-objpfx)elf/.
20586 (symbolic-link-list): Likewise.
20587 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20588 [$(cross-compiling) = no]: Likewise.
20589 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20590 $(elfobjdir)/.
20591 (static-gnulib-arch): Likewise.
20592 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20593 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20594 $(common-objpfx)elf/.
20595
20596 2014-05-21 Richard Henderson <rth@redhat.com>
20597
20598 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20599 (SINGLE_THREAD_P): Use the correct width load. Fold
20600 into the ldr offset.
20601
20602 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20603 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20604
20605 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20606
20607 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20608 (libgcc_s_resume): Use __attribute_used__.
20609 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20610 Likewise.
20611
20612 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20613
20614 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20615 optimization when used with float constants.
20616
20617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20618
20619 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20620
20621 [BZ #16915]
20622 * locale/nl_langinfo_l.c: Make direct reference to every
20623 _nl_current_CATEGORY symbol.
20624 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20625 (tests-static): Add tst-langinfo-static.
20626 (tests-special): Add tst-langinfo-static.out.
20627 ($(objpfx)tst-langinfo.out): Redirect output.
20628 ($(objpfx)tst-langinfo-static.out): New.
20629 * localedata/tst-langinfo.sh: Send output to stdout.
20630 * localedata/tst-langinfo-static.c: New file.
20631
20632 [BZ #16965]
20633 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20634 when the shift amount is modulo the limb size.
20635
20636 2014-05-20 Richard Henderson <rth@redhat.com>
20637
20638 [BZ #16967]
20639 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20640 Change type of sa_flags from unsigned int to int.
20641
20642 [BZ #16966]
20643 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20644
20645 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20646
20647 2014-05-20 Will Newton <will.newton@linaro.org>
20648
20649 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20650 Test the return value of the system call in the nocancel case.
20651
20652 2014-05-20 Will Newton <will.newton@linaro.org>
20653 Yvan Roux <yvan.roux@linaro.org>
20654
20655 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20656 #include of asm/ptrace.h.
20657 (PTRACE_GET_THREAD_AREA): Remove #undef.
20658 (PTRACE_GETHBPREGS): Likewise.
20659 (PTRACE_SETHBPREGS): Likewise.
20660 (struct user_regs_struct): New structure.
20661 (struct user_fpsimd_struct): New structure.
20662 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20663 #include of asm/ptrace.h and second #include of sys/user.h.
20664 (PTRACE_GET_THREAD_AREA): Remove #undef.
20665 (PTRACE_GETHBPREGS): Likewise.
20666 (PTRACE_SETHBPREGS): Likewise.
20667 (ELF_NGREG): Use new struct user_regs_struct.
20668 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20669
20670 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20671
20672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20673 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20674
20675 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20676
20677 [BZ #16958]
20678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20679 membar to avoid block loads/stores to overlap previous stores.
20680
20681 2014-05-17 Richard Henderson <rth@redhat.com>
20682
20683 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20684 Create the __##syscall_name##_nocancel entry point.
20685 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20686 Remove; let the sysdep-cancel.h code create it.
20687
20688 2014-05-17 David S. Miller <davem@davemloft.net>
20689
20690 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20691 Protect with __USE_GNU.
20692 (TIOCSET_TEMPT): Likewise.
20693 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20694 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20695 these are already provided in bits/ioctl-types.h
20696
20697 2014-05-16 Roland McGrath <roland@hack.frob.com>
20698
20699 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20700 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20701
20702 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20703 Use wait4 regardless of [__NR_waitpid].
20704
20705 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20706
20707 PR libgcc/60166
20708 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20709 (_FP_NANSIGN_Q): Set the quiet bit.
20710
20711 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20712
20713 * benchtests/Makefile
20714 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20715 not $(common-objpfx)math/libm.so.
20716 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20717 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20718 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20719 $(common-objpfx)dlfcn/libdl.so.
20720 ($(objpfx)tst-audit8): Depend on $(libm), not
20721 $(common-objpfx)math/libm.so.
20722 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20723 not $(common-objpfx)dlfcn/libdl.so.
20724 * math/Makefile
20725 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20726 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20727 [$(build-shared) = yes].
20728 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20729 $(common-objpfx)nptl/libpthread.so.
20730 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20731 $(common-objpfx)math/libm.so$(libm.so-version) or
20732 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20733 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20734 $(common-objpfx)dlfcn/libdl.so.
20735 * setjmp/Makefile (link-libm): Remove variable.
20736 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20737 * stdio-common/Makefile (link-libm): Remove variable.
20738 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20739 * stdlib/Makefile (link-libm): Remove variable.
20740 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20741 ($(objpfx)tst-strtod-round): Likewise.
20742 ($(objpfx)tst-tininess): Likewise.
20743 ($(objpfx)tst-strtod-underflow): Likewise.
20744 ($(objpfx)tst-strtod6): Likewise.
20745 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20746 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20747 $(common-objpfx)dlfcn/libdl.so.
20748
20749 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20750
20751 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20752 BSD terminal modes definitions.
20753
20754 2014-05-16 Roland McGrath <roland@hack.frob.com>
20755
20756 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20757 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20758
20759 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20760 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20761 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20762 Don't do #include_next.
20763 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20764 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20765 Don't do #include_next.
20766 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20767 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20768 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20769 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20770
20771 2014-05-16 Allan McRae <allan@archlinux.org>
20772
20773 * po/sv.po: Update Swedish translation from translation project.
20774
20775 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20776 in sed expression.
20777
20778 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20779
20780 [BZ #16917]
20781 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20782 errno if the TIOCGPTN ioctl fails with an error different than
20783 EINVAL.
20784 * login/tst-ptsname.c: New file.
20785 * login/Makefile (tests): Add tst-ptsname.
20786
20787 [BZ #16943]
20788 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20789 and prlimit64.
20790
20791 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20792
20793 [BZ #16849]
20794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20795 herrno to return EAI_AGAIN.
20796
20797 2014-05-14 Roland McGrath <roland@hack.frob.com>
20798
20799 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20800 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20801 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20802 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20803 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20804 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20805 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20806 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20808 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20809 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20810 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20811 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20812 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20813 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20814 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20815 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20816 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20817 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20818 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20819 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20820 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20821 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20822 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20823 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20824 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20825 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20826 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20827 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20828 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20830 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20832 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20834 Moved ...
20835 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20837 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20839 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20841 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20843 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20845 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20847 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20849 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20851 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20853 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20855 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20857 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20859 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20861 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20863 Moved ...
20864 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20866 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20868 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20870 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20872 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20874 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20876 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20878 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20880 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20882 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20884 Moved ...
20885 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20887 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20888
20889 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20890 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20891 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20892 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20893 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20894 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20895 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20896 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20897 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20898 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20899 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20900 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20901 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20902 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20903 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20904 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20905 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20906 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20907 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20908 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20909 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20910 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20911 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20912 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20913 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20914 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20915 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20916 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20917 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20918 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20919 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20920
20921 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20922 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20923
20924 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20925 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20926 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20927 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20928 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20929 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20930 Moved ...
20931 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20932 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20933 Moved ...
20934 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20935 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20936 Moved ...
20937 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20938 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20939 Moved ...
20940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20941 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20942 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20943 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20944 Moved ...
20945 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20946 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20947 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20948 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20949 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20950 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20951 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20952 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20953 Moved ...
20954 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20955 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20956 Moved ...
20957 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20958 ... here.
20959 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20960 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20961 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20962 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20963 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20964 Moved ...
20965 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20966 ... here.
20967 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20968 Moved ...
20969 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20970 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20971 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20972 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20973 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20974 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20975 Moved ...
20976 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20977 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20978 Moved ...
20979 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20980 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20981 Moved ...
20982 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20983 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20984 Moved ...
20985 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20986 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20987 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20988 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20989 Moved ...
20990 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20991 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20992 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20993 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20994 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20995 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20996 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20997 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20998 Moved ...
20999 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21000 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21001 Moved ...
21002 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21003 ... here.
21004 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21005 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21006 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21007 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21008 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21009 Moved ...
21010 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21011 ... here.
21012 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21013 Moved ...
21014 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21015 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21016 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21017 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21018 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21019 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21020 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21021 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21022 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21023 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21024 Moved ...
21025 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21026 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21027 Moved ...
21028 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21029 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21030 Moved ...
21031 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21032 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21033 Moved ...
21034 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21035 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21036 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21037 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21038 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21039 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21040 Moved ...
21041 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21042 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21043 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21044 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21045 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21046 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21047 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21049 Moved ...
21050 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21052 Moved ...
21053 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21054 ... here.
21055 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21056 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21057 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21058 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21060 Moved ...
21061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21062 ... here.
21063 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21064 Moved ...
21065 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21066 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21067 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21068 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21069 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21070 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21071 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21072 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21073 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21074 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21075 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21076
21077 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21078 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21079
21080 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21081 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21082
21083 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21084 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21085 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21086 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21087 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21088 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21089 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21090 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21091 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21092 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21093 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21094 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21095 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21096 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21097 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21098 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21099 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21101 Moved ...
21102 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21103 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21104 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21106 Moved ...
21107 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21108 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21109 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21110 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21111 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21113 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21115 Moved ...
21116 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21117 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21118 Moved ...
21119 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21121 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21122 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21123 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21124 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21125 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21126 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21127 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21128 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21129 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21130 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21131 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21132 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21133 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21134 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21135 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21136
21137 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21138 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21139 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21140 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21141 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21142
21143 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21144 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21145 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21146 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21147 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21148 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21149 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21150 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21151 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21152 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21153
21154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21155 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21156
21157 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21158 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21159 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21160 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21161 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21162 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21163 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21164 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21165 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21166 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21167 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21168 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21169 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21170 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21172 Update #include.
21173 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21174 Likewise.
21175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21176 Likewise.
21177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21178 Likewise.
21179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21180 Likewise.
21181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21182 Likewise.
21183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21184 Likewise.
21185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21186 Likewise.
21187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21188 Likewise.
21189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21190 Likewise.
21191 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21195 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21196 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21197 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21198 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21199 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21200 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21201 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21202 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21203 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21204 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21205 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21206
21207 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21208 that was previously under [RESET_PID].
21209 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21210 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21211 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21212
21213 * sysdeps/i386/nptl/Implies: New file.
21214 * sysdeps/x86_64/nptl/Implies: New file.
21215 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21216 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21217 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21218 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21219
21220 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21221 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21222 (__libc_vfork): New strong alias.
21223 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21224 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21225
21226 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21227 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21228 (__libc_vfork): New strong alias.
21229 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21230 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21231
21232 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21233 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21234 (__libc_vfork): New strong alias.
21235 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21236 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21237 * nptl/pt-vfork.c: New file.
21238 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21239 (libpthread: GLIBC_2.20): New version set (empty).
21240
21241 2014-05-14 Will Newton <will.newton@linaro.org>
21242
21243 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21244 rather than #if.
21245
21246 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21247
21248 [BZ #16564]
21249 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21250 arguments with exponent 65 or above.
21251 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21252 arguments 0x1p113L or above.
21253 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21254 to arguments 0x1p107L or above.
21255 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21256 positive arguments with exponent 65 or above.
21257 * math/auto-libm-test-in: Add more tests of log1p.
21258 * math/auto-libm-test-out: Regenerated.
21259
21260 [BZ #16928]
21261 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21262 non-finite arguments is +0.
21263 * math/s_cacosf.c (__cacosf): Likewise.
21264 * math/s_cacosl.c (__cacosl): Likewise.
21265 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21266 * sysdeps/i386/fpu/libm-test-ulps: Update.
21267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21268
21269 [BZ #16927]
21270 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21271 value.
21272 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21273 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21274 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21275 for explicit high bit of mantissa when testing for argument equal
21276 to 1.
21277 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21278 * sysdeps/i386/fpu/libm-test-ulps: Update.
21279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21280
21281 [BZ #16516]
21282 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21283 (__erf): Scale by 16 instead of 8 in potentially underflowing
21284 case. Ensure exception if result actually underflows.
21285 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21286 (__erff): Scale by 16 instead of 8 in potentially underflowing
21287 case. Ensure exception if result actually underflows.
21288 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21289 (efx8): Remove variable.
21290 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21291 case. Ensure exception if result actually underflows.
21292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21293 (efx8): Remove variable.
21294 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21295 case. Ensure exception if result actually underflows.
21296 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21297 (efx8): Remove variable.
21298 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21299 case. Ensure exception if result actually underflows.
21300 * math/auto-libm-test-in: Add more tests of erf.
21301 * math/auto-libm-test-out: Regenerated.
21302
21303 2014-05-14 Andreas Schwab <schwab@suse.de>
21304
21305 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21306 Remove code conditionalized on USE___THREAD.
21307
21308 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21309 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21310 not definedness.
21311
21312 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21313
21314 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21315 Define unconditionally.
21316 (__ASSUME_O_CLOEXEC): Likewise.
21317 (__ASSUME_SOCK_CLOEXEC): Likewise.
21318 (__ASSUME_IN_NONBLOCK): Likewise.
21319 (__ASSUME_PIPE2): Likewise.
21320 (__ASSUME_EVENTFD2): Likewise.
21321 (__ASSUME_SIGNALFD4): Likewise.
21322 (__ASSUME_DUP3): Likewise.
21323 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21324 (__ASSUME_DUP3): Do not define.
21325 (__ASSUME_EVENTFD2): Likewise.
21326 (__ASSUME_IN_NONBLOCK): Likewise.
21327 (__ASSUME_O_CLOEXEC): Likewise.
21328 (__ASSUME_PIPE2): Likewise.
21329 (__ASSUME_SIGNALFD4): Likewise.
21330 (__ASSUME_SOCK_CLOEXEC): Likewise.
21331 (__ASSUME_UTIMES): Undefine.
21332 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21333 (__ASSUME_UTIMES): Do not define.
21334 (__ASSUME_O_CLOEXEC): Likewise.
21335 (__ASSUME_SOCK_CLOEXEC): Likewise.
21336 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21337 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21338 0x020621].
21339 (__ASSUME_PIPE2): Likewise.
21340 (__ASSUME_EVENTFD2): Likewise.
21341 (__ASSUME_SIGNALFD4): Likewise.
21342 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21343 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21344 Do not define.
21345 (__ASSUME_EVENTFD2): Likewise.
21346 (__ASSUME_SIGNALFD4): Likewise.
21347 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21348 (__ASSUME_32BITUIDS): Likewise.
21349 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21350 (__ASSUME_IPC64): Likewise.
21351 (__ASSUME_ST_INO_64_BIT): Likewise.
21352 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21353 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21354 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21355 (__ASSUME_UTIMES): Do not define.
21356 (__ASSUME_PSELECT): Likewise.
21357 (__ASSUME_PPOLL): Likewise.
21358 (__ASSUME_O_CLOEXEC): Likewise.
21359 (__ASSUME_SOCK_CLOEXEC): Likewise.
21360 (__ASSUME_IN_NONBLOCK): Likewise.
21361 (__ASSUME_PIPE2): Likewise.
21362 (__ASSUME_EVENTFD2): Likewise.
21363 (__ASSUME_SIGNALFD4): Likewise.
21364 (__ASSUME_DUP3): Likewise.
21365 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21366 (__ASSUME_UTIMES): Likewise.
21367 (__ASSUME_O_CLOEXEC): Likewise.
21368 (__ASSUME_SOCK_CLOEXEC): Likewise.
21369 (__ASSUME_IN_NONBLOCK): Likewise.
21370 (__ASSUME_PIPE2): Likewise.
21371 (__ASSUME_EVENTFD2): Likewise.
21372 (__ASSUME_SIGNALFD4): Likewise.
21373 (__ASSUME_DUP3): Likewise.
21374 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21375 (__ASSUME_UTIMES): Likewise.
21376 (__ASSUME_O_CLOEXEC): Likewise.
21377 (__ASSUME_SOCK_CLOEXEC): Likewise.
21378 (__ASSUME_IN_NONBLOCK): Likewise.
21379 (__ASSUME_PIPE2): Likewise.
21380 (__ASSUME_EVENTFD2): Likewise.
21381 (__ASSUME_SIGNALFD4): Likewise.
21382 (__ASSUME_DUP3): Likewise.
21383 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21384 Likewise.
21385 (__ASSUME_UTIMES): Likewise.
21386 (__ASSUME_EVENTFD2): Likewise.
21387 (__ASSUME_SIGNALFD4): Likewise.
21388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21389 (__ASSUME_O_CLOEXEC): Likewise.
21390 (__ASSUME_SOCK_CLOEXEC): Likewise.
21391 (__ASSUME_IN_NONBLOCK): Likewise.
21392 (__ASSUME_PIPE2): Likewise.
21393 (__ASSUME_EVENTFD2): Likewise.
21394 (__ASSUME_SIGNALFD4): Likewise.
21395 (__ASSUME_DUP3): Likewise.
21396 (__ASSUME_UTIMES): Undefine.
21397
21398 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21399 feclearexcept. Remove symbol versioning code.
21400 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21401 symbol versioning code.
21402 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21403 symbol versioning code.
21404 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21405 feupdateenv. Remove symbol versioning code.
21406 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21407 fegetexceptflag. Remove symbol versioning code.
21408 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21409 fesetexceptflag. Remove symbol versioning code.
21410 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21411 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21412 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21413 (__posix_fadvise64_l32): Remove prototype.
21414 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21415 code.
21416
21417 2014-05-13 Roland McGrath <roland@hack.frob.com>
21418
21419 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21420 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21421 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21422 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21423
21424 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21425
21426 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21427 current working directory
21428
21429 2014-05-13 Roland McGrath <roland@hack.frob.com>
21430
21431 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21432 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21433 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21434 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21435 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21436 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21437 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21438 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21439 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21440 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21441 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21442 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21443 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21444 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21445 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21446 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21447 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21448 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21449 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21450 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21451 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21452 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21453 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21454 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21455 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21456 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21457 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21458 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21459 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21460 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21461 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21462 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21463 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21464 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21465 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21466 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21467 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21468 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21469 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21470 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21471 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21472 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21473
21474 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21475 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21476
21477 * sysdeps/unix/sysv/linux/arm/Makefile
21478 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21479 Add rt-aeabi_unwind_cpp_pr1.
21480 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21481 Add nptl-aeabi_unwind_cpp_pr1.
21482 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21483 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21484 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21485 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21486 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21487 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21488
21489 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21490 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21491 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21492 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21493
21494 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21495 Deconditionalize the code that was previously under [RESET_PID].
21496 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21497
21498 * sysdeps/generic/exit-thread.h: New file.
21499 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21500 * include/unistd.h (__exit_thread): Remove declaration.
21501 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21502 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21503 * csu/libc-start.c: Include <exit-thread.h>.
21504 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21505 * nptl/pthread_create.c: Include <exit-thread.h>.
21506 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21507 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21508 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21509 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21510 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21511 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21512 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21513 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21514 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21515 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21516 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21517 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21518 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21519 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21520 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21521 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21522 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21523
21524 2014-05-13 Andreas Schwab <schwab@suse.de>
21525
21526 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21527
21528 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21529
21530 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21531 (__ASSUME_UTIMES): Do not condition on kernel version.
21532 (__ASSUME_PSELECT): Define unconditionally.
21533 (__ASSUME_PPOLL): Likewise.
21534 (__ASSUME_ATFCTS): Likewise.
21535 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21536 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21537 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21538 (__ASSUME_UTIMENSAT): Define unconditionally.
21539 (__ASSUME_PRIVATE_FUTEX): Likewise.
21540 (__ASSUME_FALLOCATE): Likewise.
21541 (__ASSUME_O_CLOEXEC): Likewise.
21542 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21543 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21544 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21545 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21546 (__ASSUME_IN_NONBLOCK): Likewise.
21547 (__ASSUME_PIPE2): Likewise.
21548 (__ASSUME_EVENTFD2): Likewise.
21549 (__ASSUME_SIGNALFD4): Likewise.
21550 (__ASSUME_DUP3): Likewise.
21551 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21552 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21553 (__ASSUME_AT_RANDOM): Likewise.
21554 (__ASSUME_PREADV): Likewise.
21555 (__ASSUME_PWRITEV): Likewise.
21556 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21557 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21558 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21559 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21560 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21561 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21562 (__ASSUME_O_CLOEXEC): Define unconditionally.
21563 (__ASSUME_PSELECT): Do not undefine conditionally.
21564 (__ASSUME_PPOLL): Likewise.
21565 (__ASSUME_ATFCTS): Likewise.
21566 (__ASSUME_SET_ROBUST_LIST): Likewise.
21567 (__ASSUME_UTIMENSAT): Likewise.
21568 (__ASSUME_FDATASYNC): Define unconditionally.
21569 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21570 (__ASSUME_SIGFRAME_V2): Likewise.
21571 )__ASSUME_EVENTFD2): Likewise.
21572 (__ASSUME_SIGNALFD4): Likewise.
21573 (__ASSUME_PSELECT): Do not undefine conditionally.
21574 (__ASSUME_PPOLL): Likewise.
21575 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21576 (__ASSUME_PSELECT): Define unconditionally.
21577 (__ASSUME_PPOLL): Likewise.
21578 (__ASSUME_O_CLOEXEC): Likewise.
21579 (__ASSUME_SOCK_CLOEXEC): Likewise.
21580 (__ASSUME_IN_NONBLOCK): Likewise.
21581 (__ASSUME_PIPE2): Likewise.
21582 (__ASSUME_EVENTFD2): Likewise.
21583 (__ASSUME_SIGNALFD4): Likewise.
21584 (__ASSUME_DUP3): Likewise.
21585 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21586 (__ASSUME_O_CLOEXEC): Likewise.
21587 (__ASSUME_SOCK_CLOEXEC): Likewise.
21588 (__ASSUME_IN_NONBLOCK): Likewise.
21589 (__ASSUME_PIPE2): Likewise.
21590 (__ASSUME_EVENTFD2): Likewise.
21591 (__ASSUME_SIGNALFD4): Likewise.
21592 (__ASSUME_DUP3): Likewise.
21593 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21594 (__ASSUME_EVENTFD2): Likewise.
21595 (__ASSUME_SIGNALFD4): Likewise.
21596 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21597
21598 2014-05-12 Andreas Schwab <schwab@suse.de>
21599
21600 [BZ #16932]
21601 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21602 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21603 than maximum RPC packet size.
21604 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21605 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21606 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21607 (_nss_nis_getservbyport_r): Likewise.
21608
21609 2014-05-12 Will Newton <will.newton@linaro.org>
21610
21611 * malloc/Makefile (tests): Add tst-mallopt.
21612 * malloc/tst-mallopt.c: New file.
21613
21614 2014-05-09 Roland McGrath <roland@hack.frob.com>
21615
21616 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21617 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21618
21619 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21620
21621 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21622 (tst-tlsmod6.so): Likewise.
21623
21624 2014-05-09 Roland McGrath <roland@hack.frob.com>
21625
21626 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21627
21628 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21629
21630 [BZ #16064]
21631 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21632 and <dl-procinfo.h>.
21633 (__fegetenv): Save SSE state in envp->__eip if supported.
21634 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21635 envp->__eip if supported.
21636 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21637 and <dl-procinfo.h>.
21638 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21639 __data_offset and __data_selector in environment to 0. Set SSE
21640 state if supported.
21641 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21642 test-fenv-sse.
21643 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21644 -mfpmath=sse.
21645 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21646
21647 2014-05-09 Will Newton <will.newton@linaro.org>
21648
21649 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21650 and libc_relro_required for ARM.
21651 * sysdeps/arm/preconfigure: Regenerate.
21652
21653 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21654 Stefan Liebler <stli@linux.vnet.ibm.com>
21655
21656 * config.make.in (enable-lock-elision): New Makefile variable.
21657 * configure.ac: Likewise.
21658 * configure: Regenerate.
21659 * sysdeps/s390/configure.ac:
21660 Add check for gcc transactions support.
21661 * sysdeps/s390/configure: Regenerate.
21662 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21663 Build elision files if enabled.
21664 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21665 Add lock elision support for s390.
21666 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21667 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21668 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21669 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21670 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21671 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21672 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21673 Likewise.
21674 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21675 Likewise.
21676 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21677 Likewise.
21678 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21679 Likewise.
21680 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21681 (__lll_timedlock_elision, __lll_lock_elision)
21682 (__lll_unlock_elision, __lll_trylock_elision)
21683 (lll_timedlock_elision, lll_lock_elision)
21684 (lll_unlock_elision, lll_trylock_elision): Add.
21685 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21686 (pthread_mutex_t): Add lock elision support for s390.
21687
21688 2014-05-14 Wilco <wdijkstr@arm.com>
21689
21690 * sysdeps/arm/fclrexcpt.c: Cleanup.
21691 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21692 * sysdeps/arm/feenablxcpt.c: Cleanup.
21693 * sysdeps/arm/fegetenv.c: Cleanup.
21694 * sysdeps/arm/fegetexcept.c: Cleanup.
21695 * sysdeps/arm/fegetround.c: Cleanup.
21696 * sysdeps/arm/feholdexcpt.c: Cleanup.
21697 * sysdeps/arm/fesetenv.c: Cleanup.
21698 * sysdeps/arm/fesetround.c: Cleanup.
21699 * sysdeps/arm/feupdateenv.c: Cleanup.
21700 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21701 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21702 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21703 * sysdeps/arm/ftestexcept.c: Cleanup.
21704 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21705 * sysdeps/arm/setfpucw.c: Cleanup.
21706
21707 2014-05-09 Will Newton <will.newton@linaro.org>
21708
21709 * sysdeps/arm/armv7/strcmp.S: New file.
21710 * NEWS: Mention addition of ARMv7 optimized strcmp.
21711
21712 2014-05-08 Roland McGrath <roland@hack.frob.com>
21713
21714 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21715 look for %.ac rather than %.in.
21716
21717 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21718 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21719 * sysdeps/mach/hurd/configure: Regenerated.
21720 * sysdeps/unix/sysv/linux/configure: Regenerated.
21721
21722 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21723
21724 2014-05-07 Steve Ellcey <sellcey@mips.com>
21725
21726 [BZ# 16922]
21727 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21728 (LONG_SUB): Ditto.
21729 (PTR_SUB): Ditto.
21730
21731 2014-05-07 Andreas Schwab <schwab@suse.de>
21732
21733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21734 when skipping over non-matching result from nscd.
21735
21736 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21737
21738 [BZ #16876]
21739 * nptl/sockperf.c (client): Check socket return value.
21740
21741 [BZ #16877]
21742 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21743 nscd security class.
21744
21745 2014-05-06 Roland McGrath <roland@hack.frob.com>
21746
21747 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21748 * sysdeps/arm/unwind.h: ... here.
21749
21750 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21751
21752 [BZ# 16916]
21753 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21754 Define.
21755
21756 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21757
21758 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21759 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21760 multiarch strncpy for PPC64.
21761 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21762 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21764 multiarch optimizations.
21765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21766 (__libc_ifunc_impl_list): Likewise.
21767 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21768 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21769 multiarch stpncpy for PPC64.
21770 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21771 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21772
21773 2014-05-06 Andreas Schwab <schwab@suse.de>
21774
21775 [BZ #16912]
21776 * gmon/mcount.c (_MCOUNT_DECL): Use
21777 atomic_compare_and_exchange_bool_acq instead of
21778 catomic_compare_and_exchange_bool_acq.
21779
21780 2014-05-05 Roland McGrath <roland@hack.frob.com>
21781
21782 * elf/Makefile (others, install-bin): Remove pldd.
21783 (pldd-modules): Variable removed.
21784 ($(objpfx)pldd): Target removed.
21785 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21786 (others, install-bin): Append pldd here.
21787 ($(objpfx)pldd): New target.
21788
21789 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21790 to 0, so the first #if test emitted later doesn't see it undefined.
21791 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21792 * sysdeps/gnu/errlist.c: Regenerated.
21793
21794 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21795
21796 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21797 [libc_hidden_builtin_def]: Define to empty value.
21798 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21799 [libc_hidden_builtin_def]: Likewise.
21800 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21801 [libc_hidden_builtin_def]: Likewise.
21802 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21803 [libc_hidden_builtin_def]: Likewise.
21804 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21805 __redirect_memcpy and define ifunc as default hidden symbol.
21806 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21807 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21808
21809 2014-05-04 Adam Conrad <adconrad@0c3.net>
21810
21811 * locale/iso-4217.def: Reintroduce XDR currency.
21812
21813 2014-05-04 Allan McRae <allan@archlinux.org>
21814
21815 * po/eo.po: Update Esperanto translation from translation project.
21816
21817 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21818
21819 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21820 and FEATURE_INDEX_MAX to 1.
21821 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21822
21823 2014-05-01 Steve Ellcey <sellcey@mips.com>
21824
21825 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21826 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21827 * iconvdata/big5.c (ONE_DIRECTION): Define.
21828 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21829 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21830 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21831 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21832 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21833 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21834 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21835 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21836 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21837 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21838 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21839 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21840 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21841 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21842 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21843 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21844 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21845 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21846 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21847 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21848 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21849 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21850 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21851 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21852 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21853 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21854 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21855 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21856 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21857 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21858 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21859 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21860 * iconvdata/johab.c (ONE_DIRECTION): Define.
21861 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21862 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21863 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21864 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21865 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21866 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21867 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21868 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21869 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21870 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21871
21872 2014-05-01 Roland McGrath <roland@hack.frob.com>
21873
21874 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21875 (_IO_JUMPS_OFFSET): Define to 0.
21876
21877 * nptl/sysdeps/pthread/bits/libc-lock.h
21878 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21879 (__libc_lock_define_initialized_recursive): Always define using
21880 initializer. Modern compilers treat uninitialized (implicit zero) and
21881 explicit zero initializers the same (i.e. put the datum in bss).
21882
21883 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21884
21885 * nscd/nscd-client.h: Include <string.h>.
21886
21887 2014-05-01 David S. Miller <davem@davemloft.net>
21888
21889 [BZ #16885]
21890 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21891 multiple zero bytes exist at the end of a string.
21892 Reported by Aurelien Jarno <aurelien@aurel32.net>
21893
21894 * string/test-strcmp.c (check): Add explicit test for situations where
21895 there are multiple zero bytes after the first.
21896
21897 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21898
21899 [BZ #16890]
21900 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21901 when compiling wprintf.
21902 * stdio-common/tstdiomisc.c (t3): New function.
21903 (main): Call it.
21904
21905 2014-05-01 Steve Ellcey <sellcey@mips.com>
21906
21907 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21908 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21909 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21910 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21911
21912 2014-05-01 Steve Ellcey <sellcey@mips.com>
21913
21914 * stdlib/longlong.h: Updated from GCC.
21915
21916 2014-05-01 Will Newton <will.newton@linaro.org>
21917 Bernard Ogden <bernie.ogden@linaro.org>
21918
21919 * NEWS: Update fixed bug list.
21920
21921 [BZ #15119]
21922 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21923
21924 2014-04-30 David S. Miller <davem@davemloft.net>
21925
21926 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21927 (libc_feholdexcept_setround_sparc_ctx): New function.
21928 (libc_fesetenv_sparc_ctx): Likewise.
21929 (libc_feupdateenv_sparc_ctx): Likewise.
21930 (libc_feholdsetround_sparc_ctx): Likewise.
21931 (libc_feholdexcept_setround_ctx): Define.
21932 (libc_feholdexcept_setroundf_ctx): Likewise.
21933 (libc_feholdexcept_setroundl_ctx): Likewise.
21934 (libc_fesetenv_ctx): Likewise.
21935 (libc_fesetenvf_ctx): Likewise.
21936 (libc_fesetenvl_ctx): Likewise.
21937 (libc_feupdateenv_ctx): Likewise.
21938 (libc_feupdateenvf_ctx): Likewise.
21939 (libc_feupdateenvl_ctx): Likewise.
21940 (libc_feresetround_ctx): Likewise.
21941 (libc_feresetroundf_ctx): Likewise.
21942 (libc_feresetroundl_ctx): Likewise.
21943 (libc_feholdsetround_ctx): Likewise.
21944 (libc_feholdsetroundf_ctx): Likewise.
21945 (libc_feholdsetroundl_ctx): Likewise.
21946
21947 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21948 with __USE_GNU instead of XOPEN cpp guards.
21949
21950 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21951 0.
21952
21953 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21954 with XOPEN cpp guards.
21955
21956 2014-04-30 Julian Brown <julian@codesourcery.com>
21957
21958 [BZ #16888]
21959 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21960 handling.
21961
21962 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21963
21964 [BZ #9894]
21965 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21966 Change to 2.6.32.
21967 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21968 * sysdeps/unix/sysv/linux/configure: Regenerated.
21969 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21970 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21971 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21972 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21973 * README: Update reference to required Linux kernel version.
21974 * manual/install.texi (Linux): Update reference to required Linux
21975 kernel headers version.
21976 * INSTALL: Regenerated.
21977
21978 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21979 header inclusion.
21980 [POSIX] (limits.h): Likewise.
21981 [POSIX] (math.h): Likewise.
21982 [POSIX] (sys/wait.h): Likewise.
21983 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21984 function.
21985 [POSIX] (stddef.h): Do not allow header inclusion.
21986
21987 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21988
21989 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21990
21991 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
21992
21993 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21994 Return immediately after lll_futex_wake.
21995
21996 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21997
21998 [BZ #16791]
21999 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22000 structure.
22001 (datahead_init_pos): Call datahead_init_common early.
22002 (datahead_init_neg): Likewise.
22003
22004 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22005 datahead_init_neg): New functions.
22006 * nscd/aicache.c (addhstaiX): Use them.
22007 * nscd/grpcache.c (cache_addgr): Likewise.
22008 * nscd/hstcache.c (cache_addhst): Likewise.
22009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22010 * nscd/netgroupcache.c (do_notfound): Likewise.
22011 (addgetnetgrentX): Likewise.
22012 (addinnetgrX): Likewise.
22013 * nscd/pwdcache.c (cache_addpw): Likewise.
22014 * nscd/servicescache.c (cache_addserv): Likewise.
22015
22016 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22017 Atsushi Onoe <atsushi@onoe.org>
22018
22019 [BZ #14308]
22020 [BZ #12994]
22021 [BZ #13651]
22022 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22023 one response is valid.
22024 * resolv/res_send.c (send_dg): Check for validity of other
22025 response if the current response is a referral.
22026
22027 2014-04-29 Steve Ellcey <sellcey@mips.com>
22028
22029 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22030
22031 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22032
22033 [BZ #16823]
22034 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22035 Always divide by positive zero when computing -Inf result.
22036 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22037 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22038
22039 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22040
22041 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22042 FPSCR if value do not change.
22043 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22044 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22045 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22046 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22047 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22048 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22049 function.
22050
22051 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22052
22053 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22054 * sysdeps/unix/sysv/linux/hppa: Move directory from
22055 ports/systeps/unix/sysv/linux/hppa.
22056 * README: Update listing for hppa-*-linux-gnu.
22057
22058 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22059
22060 [BZ #16754]
22061 * manual/stdio.texi (Hook functions): Fix types of stream hook
22062 functions.
22063 [BZ #16854]
22064 * socket/sys/socket.h: Fix typo in comment.
22065
22066 2014-04-28 Wilco <wdijkstr@arm.com>
22067
22068 * sysdeps/arm/fenv_private.h: New file.
22069 * sysdeps/arm/math_private.h: New file.
22070 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22071
22072 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22073
22074 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22075 with __int128_t.
22076 (La_x86_64_retval): Likewise.
22077
22078 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22079
22080 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22081 fpsr if value didn't change.
22082 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22083 to fpcr if value didn't change.
22084 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22085 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22086 fpsr or fpcr if value didn't change.
22087 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22088 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22089 fpcr if value didn't change.
22090 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22091 to fpsr if value didn't change.
22092
22093 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22094
22095 * nptl/tst-sem3.c: Use test-skeleton.c
22096 (main): Rename to do_test. Use return instead of
22097 exit.
22098 * nptl/tst-sem4.c: Use test-skeleton.c
22099 (main): Rename to do_test.
22100
22101 2014-04-22 David S. Miller <davem@davemloft.net>
22102
22103 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22104 (struct sigaction): New struct member __glibc_reserved0, change
22105 type of sa_flags to int.
22106
22107 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22108
22109 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22110 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22111
22112 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22113
22114 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22115 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22116
22117 2014-04-22 Will Newton <will.newton@linaro.org>
22118 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22119
22120 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22121 (__longjmp): Add longjmp and longjmp_target SystemTap
22122 probes.
22123 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22124 (__sigsetjmp): Add setjmp SystemTap probe.
22125
22126 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22127
22128 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22129 match manual order.
22130
22131 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22132
22133 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22134
22135 * sysdeps/powerpc/fpu/fenv_private.h
22136 (libc_feholdexcept_setroundl_ctx): Define to
22137 libc_feholdexcept_setround_ppc_ctx.
22138 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22139 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22140 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22141 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22142
22143 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22144
22145 * sysdeps/aarch64/math-tests.h: New file.
22146
22147 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22148
22149 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22150 New.
22151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22152 Check and set bit_AVX2_Usable.
22153 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22154 macro.
22155 (bit_AVX2): Likewise.
22156 (index_AVX2_Usable): Likewise.
22157 (CPUID_AVX2): Likewise.
22158 (HAS_AVX2): Likewise.
22159
22160 2014-04-17 Will Newton <will.newton@linaro.org>
22161
22162 * manual/setjmp.texi (System V contexts): Add note that
22163 calling setcontext on a context created by a call to a
22164 signal handler is undefined. Update text to note that
22165 setcontext from a signal handler is possible but not
22166 recommended.
22167
22168 [BZ #16629]
22169 * stdlib/tst-setcontext.c: Include signal.h.
22170 (main): Check that the signal stack before and
22171 after swapcontext is the same.
22172
22173 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22174 Re-implement to restore registers in user code and avoid
22175 rt_sigreturn system call.
22176
22177 2014-04-17 Wilco <wdijkstr@arm.com>
22178
22179 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22180 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22181 * math/test-fenv.c: Skip exception trap tests on targets which only
22182 support non-stop mode.
22183
22184 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22185 Wilco Dijkstra <wilco.dijkstra@arm.com>
22186
22187 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22188 (libc_feholdsetround_aarch64_ctx)
22189 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22190 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22191 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22192 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22193 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22194 (libc_feresetround_noexl_ctx): Define.
22195
22196 2014-04-16 Richard Henderson <rth@redhat.com>
22197
22198 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22199
22200 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22201 unwind tables.
22202
22203 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22204 const from the non-libc, non-ldso copy.
22205
22206 * sysdeps/alpha/libm-test-ulps: Regenerate.
22207
22208 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22209 Wilco Dijkstra <wilco.dijkstra@arm.com>
22210
22211 * sysdeps/aarch64/fpu/math_private.h: New file.
22212
22213 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22214
22215 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22216
22217 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22218
22219 [BZ #16275]
22220 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22221 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22222 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22223 Intel MPX bound registers before _dl_profile_fixup.
22224 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22225 registers after _dl_profile_fixup. Save and restore bound
22226 registers bnd0/bnd1 when calling _dl_call_pltexit.
22227 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22228 (LR_BND_OFFSET): Likewise.
22229 (LRV_BND0_OFFSET): Likewise.
22230 (LRV_BND1_OFFSET): Likewise.
22231
22232 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22233
22234 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22235 to...
22236 * sysdeps/mach/hurd/i386/tls.h: ... here.
22237 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22238 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22239 fields.
22240
22241 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22242
22243 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22244
22245 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22246
22247 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22248
22249 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22250
22251 [BZ #14770]
22252 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22253 * sysdeps/s390/configure: Regenerate.
22254
22255 [BZ #16824]
22256 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22257 Set round-to-nearest internally to reduce error accumulation.
22258
22259 2014-04-16 Alan Modra <amodra@gmail.com>
22260
22261 [BZ #16740]
22262 [BZ #16619]
22263 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22264 * math/libm-test.inc (frexp_test_data): Add tests.
22265 * NEWS: Update fixed bug list.
22266
22267 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22268
22269 * benchtests/Makefile: Depend on libraries in build directory.
22270 (bench-math): Separate out math tests.
22271 (bench-pthread): Separate out pthread tests.
22272 (bench): Include math and pthread tests.
22273
22274 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22275
22276 [BZ #16831]
22277 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22278 _dl_debug_initialize.
22279
22280 * configure.ac: Remove SELinux header check.
22281 * configure: Regenerate.
22282 * nscd/selinux.c (perms): Array of const char* to permission names.
22283 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22284 default policy. Call string_to_security_class and string_to_av_perm to
22285 translate strings. Enforce default policy and call avs_has_perm with
22286 results of translated strings.
22287
22288 2014-04-13 David S. Miller <davem@davemloft.net>
22289
22290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22291
22292 2014-04-12 Allan McRae <allan@archlinux.org>
22293
22294 [BZ #16838]
22295 * manual/string.texi (Collation Functions): Fix qsort argument
22296 order in example.
22297 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22298
22299 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22300
22301 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22302 Make the test a no-op if there are no exceptions defined.
22303
22304 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22305
22306 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22307 enable-hardcoded-path-in-tests
22308
22309 2014-04-11 Will Newton <will.newton@linaro.org>
22310
22311 * benchtests/Makefile (extra-objs): Add json-lib.o.
22312 (bench-func): Tidy up JSON output.
22313 * benchtests/bench-skeleton.c: Include json-lib.h.
22314 (main): Use JSON library functions to do output of
22315 benchmark results.
22316 * benchtests/bench-timing-type.c (main): Output the
22317 timing type simply, leaving formatting to the user.
22318 * benchtests/json-lib.c: New file.
22319 * benchtests/json-lib.h: Likewise.
22320
22321 2014-04-11 Torvald Riegel <triegel@redhat.com>
22322
22323 [BZ #15215]
22324 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22325 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22326 memory barriers. Add comments.
22327 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22328 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22329 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22330 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22331 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22332 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22333
22334 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22335
22336 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22337 * sysdeps/s390/s390-64/configure.ac: ... this ...
22338 * sysdeps/s390/configure.ac: ... to here.
22339 * sysdeps/s390/s390-32/configure: Delete file.
22340 * sysdeps/s390/s390-64/configure: Delete file.
22341 * sysdeps/s390/configure: Regenerate.
22342
22343 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22344
22345 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22346
22347 2014-04-11 Will Newton <will.newton@linaro.org>
22348
22349 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22350 to zero if it is not defined elsewhere. (mtrim): Test
22351 the value of MALLOC_DEBUG with #if rather than #ifdef.
22352
22353 2014-04-10 Torvald Riegel <triegel@redhat.com>
22354
22355 * benchtests/pthread_once-inputs: New file.
22356 * benchtests/pthread_once-source.c: New file.
22357 * benchtests/README: Update documentation.
22358
22359 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22360 H.J. Lu <hongjiu.lu@intel.com>
22361
22362 [BZ #16275]
22363 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22364 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22365 * sysdeps/x86_64/configure: Regenerated.
22366 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22367 macro.
22368 (REGISTER_SAVE_RAX): Likewise.
22369 (REGISTER_SAVE_RCX): Likewise.
22370 (REGISTER_SAVE_RDX): Likewise.
22371 (REGISTER_SAVE_RSI): Likewise.
22372 (REGISTER_SAVE_RDI): Likewise.
22373 (REGISTER_SAVE_R8): Likewise.
22374 (REGISTER_SAVE_R9): Likewise.
22375 (REGISTER_SAVE_BND0): Likewise.
22376 (REGISTER_SAVE_BND1): Likewise.
22377 (REGISTER_SAVE_BND2): Likewise.
22378 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22379 bound registers when calling _dl_fixup.
22380
22381 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22382
22383 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22384 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22385 of its definition.
22386 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22387 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22388 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22389 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22390 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22391 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22392 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22393
22394 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22395
22396 [BZ #15514]
22397 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22398 pathconf(_PC_NAME_MAX).
22399
22400 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22401
22402 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22403 Remove macro usage.
22404 (__PTHREAD_SPINS): Move definition to ...
22405 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22406 (__PTHREAD_SPINS): ... here.
22407 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22408 (__PTHREAD_SPIN): Likewise.
22409 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22410 (__PTHREAD_SPIN): Likewise.
22411 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22412 (__PTHREAD_SPIN): Likewise.
22413 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22414 (__PTHREAD_SPIN): Likewise.
22415 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22416 (__PTHREAD_SPIN): Likewise.
22417 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22418 (__PTHREAD_SPIN): Likewise.
22419 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22420 (__PTHREAD_SPIN): Likewise.
22421 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22422 (__PTHREAD_SPIN): Likewise.
22423 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22424 (__PTHREAD_SPIN): Likewise.
22425 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22426 (__PTHREAD_SPIN): Likewise.
22427 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22428 (__PTHREAD_SPIN): Likewise.
22429 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22430 (__PTHREAD_SPIN): Likewise.
22431
22432 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22433 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22434 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22435 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22436 imply folder.
22437 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22438 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22439 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22440 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22441 correct imply path.
22442 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22443 strlen symbol for non multi-arch builds.
22444 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22445 missing hidden_def and weak_alias.
22446
22447 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22448
22449 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22450
22451 2014-04-07 Will Newton <will.newton@linaro.org>
22452
22453 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22454 and contents. [!_LIBC] Remove #ifndef and contents.
22455 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22456 * string/memccpy.c (__memccpy): Use ANSI prototype.
22457 * string/memfrob.c (memfrob): Likewise.
22458 * string/strcoll.c (STRCOLL): Likewise.
22459 * string/strlen.c (strlen): Likewise.
22460 * string/strtok.c (STRTOK): Likewise.
22461 * string/strcat.c: Remove unused #include of memcopy.h.
22462 (strcat): Use ANSI prototype.
22463 * string/strchr.c: Remove unused #include of memcopy.h.
22464 (strchr): Use ANSI prototype.
22465 * string/strcmp.c: Remove unused #include of memcopy.h.
22466 (strcmp): Use ANSI prototype.
22467 * string/strcpy.c: Remove unused #include of memcopy.h.
22468 (strcpy): Use ANSI prototype.
22469
22470 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22471
22472 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22473 * config.make.in (config-extra-cppflags): Set it from
22474 libc_extra_cppflags.
22475 * configure.ac (libc_extra_cflags): Make it accumulate over
22476 configure fragments.
22477 (libc_extra_cppflags): New flag.
22478 * configure. Regenerate.
22479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22480 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22481 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22483
22484 [BZ #16815]
22485 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22486 result for FE_DOWNWARD rounding mode.
22487 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22488 Likewise.
22489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22490
22491 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22492
22493 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22494 in function argument name.
22495
22496 2014-04-03 David Svoboda <svoboda@cert.org>
22497
22498 [BZ #5666]
22499 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22500 explicitly.
22501
22502 2014-04-03 Roland McGrath <roland@hack.frob.com>
22503
22504 * elf/dl-unmap-segments.h: New file.
22505 * sysdeps/generic/ldsodefs.h
22506 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22507 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22508 * elf/dl-fptr.c: Likewise.
22509 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22510 * sysdeps/aarch64/tlsdesc.c: Likewise.
22511 * sysdeps/arm/tlsdesc.c: Likewise.
22512 * sysdeps/i386/tlsdesc.c: Likewise.
22513 * sysdeps/tile/dl-runtime.c: Likewise.
22514 * sysdeps/x86_64/tlsdesc.c: Likewise.
22515 * elf/dl-load.h: New file.
22516 * elf/dl-load.c: Include it.
22517 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22518 Macros moved to dl-load.h.
22519 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22520 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22521 Use _dl_unmap_segments in place of __munmap.
22522 Break out segment-mapping loop into ...
22523 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22524
22525 2014-04-03 Will Newton <will.newton@linaro.org>
22526
22527 * elf/dl-lookup.c (do_lookup_x): Remove comment
22528 referring to nested function and move variable
22529 declarations down to before first use.
22530
22531 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22532
22533 [BZ #16799]
22534 [BZ #16800]
22535 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22536 with 0 numerator.
22537 * math/s_catanf.c (__catanf): Likewise.
22538 * math/s_catanh.c (__catanh): Likewise.
22539 * math/s_catanhf.c (__catanhf): Likewise.
22540 * math/s_catanhl.c (__catanhl): Likewise.
22541 * math/s_catanl.c (__catanl): Likewise.
22542 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22543 by positive zero when computing -Inf result.
22544 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22545 (catanh_test): Likewise.
22546 * sysdeps/i386/fpu/libm-test-ulps: Update.
22547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22548
22549 [BZ #16789]
22550 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22551 instead of using underflowing value in computing result.
22552 * math/s_clog10.c (__clog10): Likewise.
22553 * math/s_clog10f.c (__clog10f): Likewise.
22554 * math/s_clog10l.c (__clog10l): Likewise.
22555 * math/s_clogf.c (__clogf): Likewise.
22556 * math/s_clogl.c (__clogl): Likewise.
22557 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22558 (clog10_test): Likewise.
22559 * sysdeps/i386/fpu/libm-test-ulps: Update.
22560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22561
22562 2014-04-02 Alan Modra <amodra@gmail.com>
22563
22564 [BZ #16739]
22565 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22566 output when value is near a power of two. Use int64_t for lx and
22567 remove casts. Use decimal rather than hex exponent constants.
22568 Don't use long double multiplication when double will suffice.
22569 * math/libm-test.inc (nextafter_test_data): Add tests.
22570 * NEWS: Add 16739 and 16786 to bug list.
22571
22572 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22573
22574 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22575
22576 2014-04-01 Will Newton <will.newton@linaro.org>
22577
22578 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22579 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22580
22581 2014-04-01 Florian Weimer <fweimer@redhat.com>
22582
22583 [BZ #13347]
22584 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22585 * nptl/tst-setuid2.c: New file.
22586 * nptl/Makefile (xtests): Add tst-setuid2.
22587
22588 2014-04-01 Alan Modra <amodra@gmail.com>
22589
22590 [BZ #16786]
22591 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22592
22593 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22594
22595 [BZ #6803]
22596 [BZ #6804]
22597 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22598 set errno as appropriate.
22599 * math/w_scalbf.c (__scalbf): Likewise.
22600 * math/w_scalbl.c (__scalbl): Likewise.
22601 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22602 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22603 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22604 Add more NaN tests.
22605
22606 [BZ #16349]
22607 * math/w_atan2.c: Include <errno.h>.
22608 (__atan2): Set errno for result underflowing to zero.
22609 * math/w_atan2f.c: Include <errno.h>.
22610 (__atan2f): Set errno for result underflowing to zero.
22611 * math/w_atan2l.c: Include <errno.h>.
22612 (__atan2l): Set errno for result underflowing to zero.
22613 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22614 tests.
22615 * math/auto-libm-test-out: Regenerated.
22616
22617 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22618
22619 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22620 Encode instruction correctly in little endian.
22621 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22622 Likewise.
22623 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22624 Likewise.
22625 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22626 Likewise.
22627 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22628 Likewise.
22629
22630 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22631
22632 [BZ #9894]
22633 * sysdeps/unix/sysv/linux/kernel-features.h
22634 [__sparc__ && !__arch64__ && !__sparc_v9__]
22635 (__ASSUME_SET_ROBUST_LIST): Do not define.
22636 [__sparc__ && !__arch64__ && !__sparc_v9__]
22637 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22638 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22639 Likewise.
22640 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22641 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22642 (__ASSUME_REQUEUE_PI): Likewise.
22643 (__ASSUME_SET_ROBUST_LIST): Likewise.
22644 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22645 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22646 Undefine.
22647 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22648 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22649 Likewise.
22650 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22651 Likewise.
22652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22653 Likewise.
22654 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22655 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22656 Undefine.
22657 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22658 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22659 Likewise.
22660
22661 [BZ #16648]
22662 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22663 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22664 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22665
22666 2014-03-31 Will Newton <will.newton@linaro.org>
22667
22668 * benchtests/Makefile (bench): Add ffs and ffsll to list
22669 of tests.
22670 * benchtests/ffs-inputs: New file.
22671 * benchtests/ffsll-inputs: Likewise.
22672
22673 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22674
22675 [BZ #16770]
22676 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22677 too large before casting to int.
22678 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22679 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22680 * math/libm-test.inc (scalb_test_data): Add more tests.
22681
22682 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22683
22684 * benchtests/Makefile (DETAILED_OPT): New make option.
22685 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22686 set.
22687 * benchtests/bench-skeleton.c: Include stdbool.h.
22688 (main): Store and print timings per input.
22689 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22690 member to each argument value.
22691 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22692 (_print_arg_data): Initialize per-input timing to 0.
22693
22694 * benchtests/Makefile (timing-type): New binary.
22695 (bench-clean): Also remove bench-timing-type.
22696 (bench): New target for timing-type.
22697 (bench-func): Print output in JSON format.
22698 * benchtests/bench-skeleton.c (main): Print output in JSON
22699 format.
22700 * benchtests/bench-timing-type.c: New file.
22701 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22702 (TIMING_PRINT_STATS): Remove.
22703 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22704 name separately.
22705
22706 * benchtests/bench-modf.c: Remove.
22707 * benchtests/modf-inputs: New inputs file.
22708
22709 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22710
22711 [BZ #16362]
22712 * math/s_clog10.c (M_PI_LOG10E): New macro.
22713 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22714 imaginary parts are 0.
22715 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22716 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22717 imaginary parts are 0.
22718 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22719 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22720 imaginary parts are 0.
22721 * math/libm-test.inc (clog10_test_data): Update expected results
22722 for when real and imaginary parts are 0.
22723
22724 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22725
22726 * elf/dl-load.c: Finish conversion of __builtin_expect into
22727 __glibc_{un}likely.
22728
22729 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22730
22731 [BZ #16348]
22732 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22733 1+x for argument with exponent below -67.
22734 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22735 Likewise.
22736 * math/auto-libm-test-in: Add more tests of exp.
22737 * math/auto-libm-test-out: Regenerated.
22738
22739 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22740
22741 [BZ #16759]
22742 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22743 (nscd_getnetgrent): Use it.
22744
22745 [BZ #16760]
22746 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22747 of stpcpy.
22748
22749 2014-03-27 Andi Kleen <ak@linux.intel.com>
22750
22751 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22752 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22753 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22754 (lll_robust_unlock): Remove out of line section. Use cfi
22755 intrinsics.
22756 (LLL_STUB_UNWIND_INFO*): Remove.
22757 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22758 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22759 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22760 (lll_robust_unlock): Remove out of line section. Use cfi
22761 intrinsics.
22762 (LLL_STUB_UNWIND_INFO*): Remove.
22763
22764 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22765
22766 [BZ #16758]
22767 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22768 blank values.
22769
22770 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22771
22772 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22773
22774 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22775
22776 [BZ #16198]
22777 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22778 fnstenv.
22779 * math/test-fenv-preserve.c: New file.
22780 * math/Makefile (tests): Add test-fenv-preserve.
22781
22782 2014-03-26 Will Newton <will.newton@linaro.org>
22783
22784 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22785
22786 2014-03-25 Roland McGrath <roland@hack.frob.com>
22787
22788 * scripts/versionlist.awk: Partition the version sets and emit all
22789 GLIBC_* (sorted) before all others (sorted).
22790
22791 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22792
22793 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22794 GLIBC_2.2.5 version.
22795
22796 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22797
22798 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22799 calls.
22800
22801 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22802 previous change.
22803
22804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22805
22806 2014-03-25 Andreas Schwab <schwab@suse.de>
22807
22808 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22809 label to be used after in6ailist is initialized.
22810
22811 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22812
22813 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22814 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22815
22816 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22817
22818 [BZ #16357]
22819 [BZ #16599]
22820 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22821 min_plus_half.
22822 (fp_formats): Update initializers.
22823 (init_fp_formats): Initialize new field.
22824 (output_for_one_input_case): Allow underflow for results up to
22825 min_plus_half.
22826 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22827 * math/auto-libm-test-in: Don't mark some underflows from asin and
22828 atanh as spurious.
22829 * math/auto-libm-test-out: Regenerated.
22830 * sysdeps/i386/fpu/libm-test-ulps: Update.
22831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22832
22833 2014-03-25 Andreas Schwab <schwab@suse.de>
22834
22835 * libio/Makefile (tst-ftell-partial-wide-ENV)
22836 (tst-ftell-active-handler-ENV): Define.
22837
22838 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22839
22840 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22841
22842 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22843
22844 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22845
22846 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22847
22848 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22849 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22850 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22851
22852 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22853
22854 [BZ #16634]
22855 * elf/dl-load.c (open_verify): Add mode parameter.
22856 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22857 (open_path): Change from boolean 'secure' to complete flag 'mode'
22858 (_dl_map_object): Adjust.
22859 * elf/Makefile (tests): Add tst-dlopen-aout.
22860 * elf/tst-dlopen-aout.c: New test.
22861
22862 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22863
22864 [BZ #16714]
22865 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22866 (struct stat): Rename member pad0 to __glibc_reserved0.
22867
22868 [BZ #16712]
22869 * sysdeps/s390/s390-32/bits/wordsize.h
22870 (__WORDSIZE32_SIZE_ULONG): New define.
22871 * sysdeps/s390/s390-64/bits/wordsize.h
22872 (__WORDSIZE32_SIZE_ULONG): Likewise.
22873 * sysdeps/generic/stdint.h (SIZE_MAX):
22874 Define as UL if __WORDSIZE32_SIZE_ULONG.
22875
22876 [BZ #16713]
22877 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22878 (__glibc_reserved0): New variable.
22879 (sa_flags): Change type to int.
22880
22881 * posix/Makefile (before-compile): Use += before-compile instead
22882 of a :=.
22883
22884 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22885 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22886
22887 2014-03-20 Andreas Schwab <schwab@suse.de>
22888
22889 [BZ #16743]
22890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22891 non-matching result from nscd.
22892
22893 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22894
22895 * scripts/bench.py: Moved to ...
22896 * benchtests/scripts/bench.py: ... here.
22897 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22898
22899 2014-03-24 Andreas Schwab <schwab@suse.de>
22900
22901 [BZ #16002]
22902 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22903 alloca_account and account alloca use for struct in6ailist.
22904
22905 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22906
22907 [BZ #16284]
22908 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22909 rounding mode to recompute results that overflow to infinity or
22910 underflow to zero.
22911 * math/auto-libm-test-in: Don't mark tests as expected to fail for
22912 bug 16284.
22913 * math/auto-libm-test-out: Regenerated.
22914 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22915 (ccosh_test): Likewise.
22916 (csin_test_data): Use plus_oflow.
22917 (csin_test): Use ALL_RM_TEST.
22918 (csinh_test_data): Use plus_oflow.
22919 (csinh_test): Use ALL_RM_TEST.
22920 * sysdeps/i386/fpu/libm-test-ulps: Update.
22921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22922
22923 2014-03-21 Joseph Myers <joseph@codesourcery.com>
22924
22925 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22926 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22927 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22928
22929 [BZ #16731]
22930 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22931 when x - 1 is zero.
22932 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22933 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22934 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22935 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22936 argument is 1.
22937 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22938 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22939 zero.
22940 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22941 * sysdeps/i386/fpu/libm-test-ulps: Update.
22942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22943
22944 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22945
22946 * scripts/bench.pl: Remove file.
22947 * scripts/bench.py: New benchmark script.
22948 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22949 * benchtests/README: Mention python dependency.
22950 * scripts/pylintrc: New file.
22951 * scripts/pylint: New file.
22952
22953 * bits/mathdef.h: Use #ifdef instead of #if.
22954 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22955 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22956 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22957 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22958 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22959 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22960
22961 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22962 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22963
22964 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22966 and strpbrk-ppc64 objects.
22967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22968 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22969 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22970 multiarch strpbrk for POWER7.
22971 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22972 multiarch strpbrk for PPC64.
22973 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22974 ifunc selector.
22975 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22976 strpbrk for POWER7.
22977
22978 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22979
22980 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22981 (atan_test): Likewise.
22982 (atanh_test_data): Use NO_TEST_INLINE for two tests.
22983 (atanh_test): Use ALL_RM_TEST.
22984 (atan2_test_data): Likewise.
22985 (cabs_test): Likewise.
22986 (cacosh_test): Likewise.
22987 (carg_test): Likewise.
22988 (casin_test): Likewise.
22989 (casinh_test): Likewise.
22990 (cbrt_test): Likewise.
22991 (csqrt_test): Likewise.
22992 (erf_test): Likewise.
22993 (erfc_test): Likewise.
22994 (pow10_test): Likewise.
22995 (exp2_test): Likewise.
22996 (hypot_test): Likewise.
22997 (j0_test): Likewise.
22998 (j1_test): Likewise.
22999 (lgamma_test): Likewise.
23000 (gamma_test): Likewise.
23001 (sincos_test): Likewise.
23002 (tanh_test): Likewise.
23003 (y0_test): Likewise.
23004 (y1_test): Likewise.
23005 * sysdeps/i386/fpu/libm-test-ulps: Update.
23006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23007
23008 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23009
23010 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23012 and strcspn-ppc64 objects.
23013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23014 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23015 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23016 multiarch strcspn for POWER7.
23017 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23018 multiarch strcspn for PPC64.
23019 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23020 ifunc selector.
23021 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23022 strcspn for POWER7.
23023
23024 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23025
23026 * math/gen-libm-test.pl (generate_testfile): Expect only function
23027 name as argument to AUTO_TESTS_* and pass results for all rounding
23028 modes to parse_args.
23029 (parse_auto_input): Separate inputs of automatic tests from
23030 outputs before storing in %auto_tests.
23031 * math/libm-test.inc (acos_test_data): Update call to
23032 AUTO_TESTS_f_f.
23033 (acos_test): Use ALL_RM_TEST.
23034 (acos_tonearest_test_data): Remove.
23035 (acos_test_tonearest): Likewise.
23036 (acos_towardzero_test_data): Likewise.
23037 (acos_test_towardzero): Likewise.
23038 (acos_downward_test_data): Likewise.
23039 (acos_test_downward): Likewise.
23040 (acos_upward_test_data): Likewise.
23041 (acos_test_upward): Likewise.
23042 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23043 (asin_test_data): Likewise.
23044 (asin_test): Use ALL_RM_TEST.
23045 (asin_tonearest_test_data): Remove.
23046 (asin_test_tonearest): Likewise.
23047 (asin_towardzero_test_data): Likewise.
23048 (asin_test_towardzero): Likewise.
23049 (asin_downward_test_data): Likewise.
23050 (asin_test_downward): Likewise.
23051 (asin_upward_test_data): Likewise.
23052 (asin_test_upward): Likewise.
23053 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23054 (atan_test_data): Likewise.
23055 (atanh_test_data): Likewise.
23056 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23057 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23058 (carg_test_data): Likewise.
23059 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23060 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23061 (ccosh_test_data): Likewise.
23062 (cexp_test_data): Likewise.
23063 (clog_test_data): Likewise.
23064 (clog10_test_data): Likewise.
23065 (cos_test_data): Update call to AUTO_TESTS_f_f.
23066 (cos_test): Use ALL_RM_TEST.
23067 (cos_tonearest_test_data): Remove.
23068 (cos_test_tonearest): Likewise.
23069 (cos_towardzero_test_data): Likewise.
23070 (cos_test_towardzero): Likewise.
23071 (cos_downward_test_data): Likewise.
23072 (cos_test_downward): Likewise.
23073 (cos_upward_test_data): Likewise.
23074 (cos_test_upward): Likewise.
23075 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23076 (cosh_test): Use ALL_RM_TEST.
23077 (cosh_tonearest_test_data): Remove.
23078 (cosh_test_tonearest): Likewise.
23079 (cosh_towardzero_test_data): Likewise.
23080 (cosh_test_towardzero): Likewise.
23081 (cosh_downward_test_data): Likewise.
23082 (cosh_test_downward): Likewise.
23083 (cosh_upward_test_data): Likewise.
23084 (cosh_test_upward): Likewise.
23085 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23086 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23087 (ctan_test_data): Likewise.
23088 (ctan_test): Use ALL_RM_TEST.
23089 (ctan_tonearest_test_data): Remove.
23090 (ctan_test_tonearest): Likewise.
23091 (ctan_towardzero_test_data): Likewise.
23092 (ctan_test_towardzero): Likewise.
23093 (ctan_downward_test_data): Likewise.
23094 (ctan_test_downward): Likewise.
23095 (ctan_upward_test_data): Likewise.
23096 (ctan_test_upward): Likewise.
23097 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23098 (ctanh_test): Use ALL_RM_TEST.
23099 (ctanh_tonearest_test_data): Remove.
23100 (ctanh_test_tonearest): Likewise.
23101 (ctanh_towardzero_test_data): Likewise.
23102 (ctanh_test_towardzero): Likewise.
23103 (ctanh_downward_test_data): Likewise.
23104 (ctanh_test_downward): Likewise.
23105 (ctanh_upward_test_data): Likewise.
23106 (ctanh_test_upward): Likewise.
23107 (erf_test_data): Update call to AUTO_TESTS_f_f.
23108 (erfc_test_data): Likewise.
23109 (exp_test_data): Likewise.
23110 (exp_test): Use ALL_RM_TEST.
23111 (exp_tonearest_test_data): Remove.
23112 (exp_test_tonearest): Likewise.
23113 (exp_towardzero_test_data): Likewise.
23114 (exp_test_towardzero): Likewise.
23115 (exp_downward_test_data): Likewise.
23116 (exp_test_downward): Likewise.
23117 (exp_upward_test_data): Likewise.
23118 (exp_test_upward): Likewise.
23119 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23120 (exp10_test): Use ALL_RM_TEST.
23121 (exp10_tonearest_test_data): Remove.
23122 (exp10_test_tonearest): Likewise.
23123 (exp10_towardzero_test_data): Likewise.
23124 (exp10_test_towardzero): Likewise.
23125 (exp10_downward_test_data): Likewise.
23126 (exp10_test_downward): Likewise.
23127 (exp10_upward_test_data): Likewise.
23128 (exp10_test_upward): Likewise.
23129 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23130 (expm1_test_data): Likewise.
23131 (expm1_test): Use ALL_RM_TEST.
23132 (expm1_tonearest_test_data): Remove.
23133 (expm1_test_tonearest): Likewise.
23134 (expm1_towardzero_test_data): Likewise.
23135 (expm1_test_towardzero): Likewise.
23136 (expm1_downward_test_data): Likewise.
23137 (expm1_test_downward): Likewise.
23138 (expm1_upward_test_data): Likewise.
23139 (expm1_test_upward): Likewise.
23140 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23141 (fma_test): Use ALL_RM_TEST.
23142 (fma_towardzero_test_data): Remove.
23143 (fma_test_towardzero): Likewise.
23144 (fma_downward_test_data): Likewise.
23145 (fma_test_downward): Likewise.
23146 (fma_upward_test_data): Likewise.
23147 (fma_test_upward): Likewise.
23148 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23149 (j0_test_data): Update call to AUTO_TESTS_f_f.
23150 (j1_test_data): Likewise.
23151 (jn_test_data): Update call to AUTO_TESTS_if_f.
23152 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23153 (log_test_data): Update call to AUTO_TESTS_f_f.
23154 (log10_test_data): Likewise.
23155 (log1p_test_data): Likewise.
23156 (log2_test_data): Likewise.
23157 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23158 (pow_tonearest_test_data): Likewise.
23159 (sin_test_data): Update call to AUTO_TESTS_f_f.
23160 (sin_test): Use ALL_RM_TEST.
23161 (sin_tonearest_test_data): Remove.
23162 (sin_test_tonearest): Likewise.
23163 (sin_towardzero_test_data): Likewise.
23164 (sin_test_towardzero): Likewise.
23165 (sin_downward_test_data): Likewise.
23166 (sin_test_downward): Likewise.
23167 (sin_upward_test_data): Likewise.
23168 (sin_test_upward): Likewise.
23169 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23170 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23171 (sinh_test): Use ALL_RM_TEST.
23172 (sinh_tonearest_test_data): Remove.
23173 (sinh_test_tonearest): Likewise.
23174 (sinh_towardzero_test_data): Likewise.
23175 (sinh_test_towardzero): Likewise.
23176 (sinh_downward_test_data): Likewise.
23177 (sinh_test_downward): Likewise.
23178 (sinh_upward_test_data): Likewise.
23179 (sinh_test_upward): Likewise.
23180 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23181 (sqrt_test): Use ALL_RM_TEST.
23182 (sqrt_tonearest_test_data): Remove.
23183 (sqrt_test_tonearest): Likewise.
23184 (sqrt_towardzero_test_data): Likewise.
23185 (sqrt_test_towardzero): Likewise.
23186 (sqrt_downward_test_data): Likewise.
23187 (sqrt_test_downward): Likewise.
23188 (sqrt_upward_test_data): Likewise.
23189 (sqrt_test_upward): Likewise.
23190 (tan_test_data): Update call to AUTO_TESTS_f_f.
23191 (tan_test): Use ALL_RM_TEST.
23192 (tan_tonearest_test_data): Remove.
23193 (tan_test_tonearest): Likewise.
23194 (tan_towardzero_test_data): Likewise.
23195 (tan_test_towardzero): Likewise.
23196 (tan_downward_test_data): Likewise.
23197 (tan_test_downward): Likewise.
23198 (tan_upward_test_data): Likewise.
23199 (tan_test_upward): Likewise.
23200 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23201 (tgamma_test_data): Likewise.
23202 (y0_test_data): Likewise.
23203 (y1_test_data): Likewise.
23204 (yn_test_data): Update call to AUTO_TESTS_if_f.
23205 (main): Do not call removed functions.
23206
23207 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23208
23209 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23210 (ldexp_test_data): Remove.
23211 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23212 scalbn_test_data.
23213 (scalb_test): Use ALL_RM_TEST.
23214
23215 2014-03-19 Andreas Schwab <schwab@suse.de>
23216
23217 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23218
23219 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23220
23221 [BZ #16649]
23222 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23223 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23224 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23226 (__ASSUME_PREADV): Undefine.
23227 (__ASSUME_PWRITEV): Likewise.
23228
23229 2014-03-18 Roland McGrath <roland@hack.frob.com>
23230
23231 * bits/mman-linux.h: Add comment about non-Linux use.
23232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23233 bits/mman-linux.h resting place.
23234
23235 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23236 * bits/mman-linux.h: ... here.
23237
23238 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23239
23240 * conform/conformtest.pl: Add standard definition when calling C
23241 preprocessor on data files.
23242 (checknamespace): Remove unused variable.
23243
23244 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23245
23246 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23247 minus_oflow, plus_uflow and minus_uflow in expected results.
23248 * math/libm-test.inc (scalbn_test_data): Add more tests of
23249 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23250 minus_uflow.
23251 (scalbn_test): Use ALL_RM_TEST.
23252 (scalbln_test_data): Add more tests of negative arguments. Use
23253 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23254 (scalbln_test): Use ALL_RM_TEST.
23255
23256 2014-03-18 Roland McGrath <roland@hack.frob.com>
23257
23258 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23259
23260 2014-03-18 Will Newton <will.newton@linaro.org>
23261
23262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23263 inaccurate comment.
23264
23265 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23266
23267 * Makerules [!subdir] (check-abi): Exit with error status if a
23268 test failed.
23269
23270 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23271
23272 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23273 for rint. Include results for all rounding modes.
23274 (nearbyint_test): Use ALL_RM_TEST.
23275 (rint_test_data): Include all tests used for nearbyint.
23276
23277 2014-03-17 Will Newton <will.newton@linaro.org>
23278
23279 * nptl/sysdeps/pthread/pthread.h: Revert previous
23280 change.
23281
23282 * sysdeps/generic/ldsodefs.h: Revert previous
23283 change.
23284
23285 * libio/genops.c: Revert previous change.
23286 * libio/libioP.h: Likewise.
23287 * stdio-common/vfprintf.c: Likewise.
23288
23289 * sysdeps/generic/math_private.h: Revert previous
23290 change.
23291
23292 * sysdeps/generic/math_private.h: Check whether
23293 HAVE_RM_CTX is defined with #ifdef rather
23294 than #if.
23295
23296 * argp/argp-fmtstream.h: Check whether
23297 __STRICT_ANSI__ is defined with #ifdef rather
23298 than #if.
23299 * argp/argp.h: Likewise.
23300
23301 * libio/genops.c: Check whether
23302 _IO_JUMPS_OFFSET is defined with #ifdef rather
23303 than #if.
23304 * libio/libioP.h: Likewise.
23305 * stdio-common/vfprintf.c: Likewise.
23306
23307 * sysdeps/generic/ldsodefs.h: Check whether
23308 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23309 than #if.
23310
23311 * nptl/sysdeps/pthread/pthread.h: Check
23312 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23313 its value.
23314
23315 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23316
23317 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23318 setting O_APPEND.
23319 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23320 test case.
23321
23322 [BZ #16680]
23323 * libio/fileops.c (_IO_file_open): Seek to end of file but
23324 don't cache the offset.
23325 (get_file_offset): Remove function.
23326 (do_ftell): Use cached offset when available.
23327 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23328 don't cache the offset.
23329 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23330 case.
23331 (do_one_test): Call it.
23332 (do_ftell_test): Fix up expected old offset for a+ mode.
23333 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23334 available.
23335
23336 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23337 up test status with function return status.
23338 (do_write_test): Likewise.
23339 (do_append_test): Likewise.
23340
23341 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23342 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23343 Remove.
23344
23345 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23346
23347 * math/gen-libm-test.pl (parse_args): Handle results specified for
23348 each rounding mode separately.
23349 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23350 tests and results from lrint_tonearest_test_data,
23351 lrint_towardzero_test_data, lrint_downward_test_data and
23352 lrint_upward_test_data.
23353 (lrint_test): Use ALL_RM_TEST.
23354 (lrint_tonearest_test_data): Remove.
23355 (lrint_test_tonearest): Likewise.
23356 (lrint_towardzero_test_data): Likewise.
23357 (lrint_test_towardzero): Likewise.
23358 (lrint_downward_test_data): Likewise.
23359 (lrint_test_downward): Likewise.
23360 (lrint_upward_test_data): Likewise.
23361 (lrint_test_upward): Likewise.
23362 (llrint_test_data): Merge in per-rounding-mode tests and results
23363 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23364 llrint_downward_test_data and llrint_upward_test_data.
23365 (llrint_test): Use ALL_RM_TEST.
23366 (llrint_tonearest_test_data): Remove.
23367 (llrint_test_tonearest): Likewise.
23368 (llrint_towardzero_test_data): Likewise.
23369 (llrint_test_towardzero): Likewise.
23370 (llrint_downward_test_data): Likewise.
23371 (llrint_test_downward): Likewise.
23372 (llrint_upward_test_data): Likewise.
23373 (llrint_test_upward): Likewise.
23374 (rint_test_data): Merge in per-rounding-mode tests and results
23375 from rint_tonearest_test_data, rint_towardzero_test_data,
23376 rint_downward_test_data and rint_upward_test_data. Add
23377 per-rounding-mode results for tests not in those arrays.
23378 (rint_test): Use ALL_RM_TEST.
23379 (rint_tonearest_test_data): Remove.
23380 (rint_test_tonearest): Likewise.
23381 (rint_towardzero_test_data): Likewise.
23382 (rint_test_towardzero): Likewise.
23383 (rint_downward_test_data): Likewise.
23384 (rint_test_downward): Likewise.
23385 (rint_upward_test_data): Likewise.
23386 (rint_test_upward): Likewise.
23387 (main): Don't call removed functions.
23388
23389 2014-03-14 Roland McGrath <roland@hack.frob.com>
23390
23391 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23392 "Compiled on ..." crapola. It is anti-useful.
23393
23394 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23395
23396 * scripts/evaluate-test.sh: Handle fourth argument to determine
23397 whether test run should stop on failure.
23398 * Makeconfig (stop-on-test-failure): New variable.
23399 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23400 $(stop-on-test-failure).
23401 * Makefile (tests): Give a summary of results from testing and
23402 exit with failure status if they include an ERROR or FAIL.
23403 (xtests): Likewise.
23404 * manual/install.texi (Configuring and compiling): Mention
23405 stop-on-test-failure=y.
23406 * INSTALL: Regenerated.
23407
23408 2014-03-14 Roland McGrath <roland@hack.frob.com>
23409
23410 * scripts/versionlist.awk: New file.
23411 * Makerules [$(build-shared) = yes]
23412 (postclean-generated): Add Versions.def, not Versions.def.v and
23413 Versions.def.v.i.
23414 ($(common-objpfx)Versions.def.v.i): Target removed.
23415 ($(common-objpfx)Versions.def): New target.
23416 ($(common-objpfx)Versions.all): Depend on that rather that
23417 $(common-objpfx)Versions.def.v.
23418 * Versions.def: File removed.
23419
23420 * Makeconfig (+gccwarn): Add -Wundef.
23421 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23422 a dl-sysdep.h breaking its contract.
23423 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23424 * include/stackinfo.h: New file.
23425 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23426 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23427 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23428 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23429 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23430 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23431 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23432 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23433 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23434 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23435 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23436 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23437 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23438 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23439 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23440
23441 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23442
23443 [BZ #16707]
23444 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23445 implementation.
23446 * math/libm-test.inc (round_test_data): Add more tests.
23447
23448 [BZ #16706]
23449 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23450 implementation.
23451 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23452
23453 [BZ #16701]
23454 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23455 implementation.
23456 * math/libm-test.inc (ceil_test_data): Add more tests.
23457
23458 * math/libm-test.inc (trunc_test_data): Add more tests related to
23459 BZ#16414.
23460
23461 2014-03-14 Roland McGrath <roland@hack.frob.com>
23462
23463 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23464 with #if rather than #ifdef.
23465 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23466
23467 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23468
23469 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23470 first. Disable AVX-512 GCC support if assembler doesn't support
23471 it.
23472 * sysdeps/x86_64/configure: Regenerated.
23473
23474 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23475
23476 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23477 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23478 (__old_pthread_attr_setstack): Likewise.
23479 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23480 [!_STACK_GROWS_DOWN]: Likewise.
23481
23482 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23483
23484 * config.make.in (have-bash2): Delete.
23485 * configure.ac (libc_cv_have_bash2): Delete.
23486 * configure: Regenerate.
23487 * elf/Makefile (common-ldd-rewrite): Rename to ...
23488 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23489 (sh-ldd-rewrite): Delete.
23490 (bash-ldd-rewrite): Delete.
23491 (have-bash2): Delete checks.
23492 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23493 ldd-rewrite.
23494
23495 * config.make.in (have-ksh): Delete.
23496 (KSH): Delete.
23497 * configure.ac (libc_cv_have_ksh): Delete.
23498 * configure: Regenerate.
23499
23500 * elf/Makefile: Delete $(have-ksh) check.
23501 ($(objpfx)sotruss): Change KSH to BASH.
23502 * elf/sotruss.ksh: Rename to ...
23503 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23504 function style to match POSIX. Drop ksh vim mode setting.
23505
23506 * manual/time.texi (Specifying the Time Zone with TZ): Change
23507 Tuesday to Thursday.
23508
23509 * debug/tst-longjmp_chk2.c: Update header comment.
23510 (stackoverflow_handler): Add comment. Call assert on pass value.
23511
23512 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23513
23514 [BZ #16194]
23515 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23516 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23517 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23518 (La_x86_64_vector): Add zmm.
23519 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23520 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23521 ($(objpfx)tst-audit10): New target.
23522 ($(objpfx)tst-audit10.out): Likewise.
23523 (tst-audit10-ENV): New.
23524 (AVX512-CFLAGS): Likewise.
23525 (CFLAGS-tst-audit10.c): Likewise.
23526 (CFLAGS-tst-auditmod10a.c): Likewise.
23527 (CFLAGS-tst-auditmod10b.c): Likewise.
23528 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23529 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23530 * sysdeps/x86_64/configure: Regenerated.
23531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23532 AVX-512 zmm register support.
23533 (_dl_x86_64_save_sse): Likewise.
23534 (_dl_x86_64_restore_sse): Likewise.
23535 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23536 size vector registers.
23537 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23538 (ZMM_SIZE): Likewise.
23539 * sysdeps/x86_64/tst-audit10.c: New file.
23540 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23541 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23542
23543 2014-03-13 Roland McGrath <roland@hack.frob.com>
23544
23545 * configure.ac (HAVE_EHDR_START): New check.
23546 * configure: Regenerated.
23547 * config.h.in (HAVE_EHDR_START): New #undef.
23548 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23549 assuming the lowest-addressed segment maps the start of the file.
23550
23551 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23552
23553 * INSTALL: Regenerated.
23554
23555 2014-03-13 Will Newton <will.newton@linaro.org>
23556
23557 * manual/setjmp.texi (System V contexts): Improve
23558 clarity and grammar of documentation.
23559
23560 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23561
23562 [BZ #16381]
23563 * elf/Makefile (tests): Add tst-pie2.
23564 (tests-pie): Add tst-pie2.
23565 * elf/tst-pie2.c: New file.
23566 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23567 for ET_EXEC.
23568 * elf/rtld.c (map_doit): Load executable as lt_executable.
23569 (dl_main): Likewise.
23570
23571 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23572
23573 [BZ #16642]
23574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23575 (__ASSUME_PSELECT): Undefine.
23576
23577 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23578
23579 [BZ #16689]
23580 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23581 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23582 static build.
23583 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23584 selector for static builds.
23585
23586 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23587
23588 [BZ #16695]
23589 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23590 key in the buffer.
23591
23592 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23593
23594 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23595 IFUNC selector for static builds.
23596
23597 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23598
23599 * sysdeps/mips/math_private.h [__mips_hard_float]
23600 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23601 libc_feresetround_mips_ctx.
23602 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23603 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23604 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23605
23606 [BZ #16677]
23607 * math/s_nextafter.c (__nextafter): Do not return value from
23608 overflowing computation.
23609 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23610 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23611 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23612 Likewise.
23613 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23614 Likewise.
23615 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23616 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23617
23618 2014-03-11 Roland McGrath <roland@hack.frob.com>
23619
23620 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23621 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23622 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23623 the new mov targetting sp.
23624
23625 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23626
23627 [BZ #16683]
23628 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23629 Define it for static builds as well.
23630 (NO_BZERO_IMPL): Likewise.
23631
23632 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23633
23634 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23635 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23636 multiarch strspn for PPC64.
23637 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23638 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23640 (__libc_ifunc_impl_list): Likewise.
23641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23642 multiarch optimizations
23643 * string/strspn.c (strspn): Using macro to redefine symbol name.
23644
23645 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23646 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23647
23648 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23649 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23650 multiarch strncat for PPC64.
23651 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23652 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23654 (__libc_ifunc_impl_list): Likewise.
23655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23656 multiarch optimizations
23657
23658 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23659
23660 [BZ #16639]
23661 * nscd/nscd.service: Make service type forking.
23662
23663 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23664
23665 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23666 sign in non default rounding modes.
23667 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23668
23669 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23670
23671 * math/libm-test.inc (ALL_RM_TEST): New macro.
23672 (ceil_test): Use ALL_RM_TEST.
23673 (cimag_test): Likewise.
23674 (conj_test): Likewise.
23675 (copysign_test): Likewise.
23676 (cproj_test): Likewise.
23677 (creal_test): Likewise.
23678 (fabs_test): Likewise.
23679 (floor_test): Likewise.
23680 (fmax_test): Likewise.
23681 (fmin_test): Likewise.
23682 (fmod_test): Likewise.
23683 (fpclassify_test): Likewise.
23684 (frexp_test): Likewise.
23685 (ilogb_test): Likewise.
23686 (isfinite_test): Likewise.
23687 (finite_test): Likewise.
23688 (isgreater_test): Likewise.
23689 (isgreaterequal_test): Likewise.
23690 (isinf_test): Likewise.
23691 (isless_test): Likewise.
23692 (islessequal_test): Likewise.
23693 (islessgreater_test): Likewise.
23694 (isnan_test): Likewise.
23695 (isnormal_test): Likewise.
23696 (issignaling_test): Likewise.
23697 (isunordered_test): Likewise.
23698 (logb_test): Likewise.
23699 (logb_downward_test_data): Remove.
23700 (logb_test_downward): Likewise.
23701 (lround_test): Use ALL_RM_TEST.
23702 (llround_test): Likewise.
23703 (modf_test): Likewise.
23704 (nexttoward_test): Likewise.
23705 (remainder_test): Likewise.
23706 (drem_test): Likewise.
23707 (remainder_tonearest_test_data): Likewise.
23708 (remainder_test_tonearest): Likewise.
23709 (drem_test_tonearest): Likewise.
23710 (remainder_towardzero_test_data): Likewise.
23711 (remainder_test_towardzero): Likewise.
23712 (drem_test_towardzero): Likewise.
23713 (remainder_downward_test_data): Likewise.
23714 (remainder_test_downward): Likewise.
23715 (drem_test_downward): Likewise.
23716 (remainder_upward_test_data): Likewise.
23717 (remainder_test_upward): Likewise.
23718 (drem_test_upward): Likewise.
23719 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23720 (round_test): Use ALL_RM_TEST.
23721 (signbit_test): Likewise.
23722 (trunc_test): Likewise.
23723 (significand_test): Likewise.
23724 (main): Don't call removed functions.
23725
23726 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23727
23728 [BZ #16674]
23729 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23730 || __USE_XOPEN2K8].
23731 (ILL_ILLOPN): Likewise.
23732 (ILL_ILLADR): Likewise.
23733 (ILL_ILLTRP): Likewise.
23734 (ILL_PRVOPC): Likewise.
23735 (ILL_PRVREG): Likewise.
23736 (ILL_COPROC): Likewise.
23737 (ILL_BADSTK): Likewise.
23738 (FPE_INTDIV): Likewise.
23739 (FPE_INTOVF): Likewise.
23740 (FPE_FLTDIV): Likewise.
23741 (FPE_FLTOVF): Likewise.
23742 (FPE_FLTUND): Likewise.
23743 (FPE_FLTRES): Likewise.
23744 (FPE_FLTINV): Likewise.
23745 (FPE_FLTSUB): Likewise.
23746 (SEGV_MAPERR): Likewise.
23747 (SEGV_ACCERR): Likewise.
23748 (BUS_ADRALN): Likewise.
23749 (BUS_ADRERR): Likewise.
23750 (BUS_OBJERR): Likewise.
23751 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23752 (TRAP_TRACE): Likewise.
23753 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23754 __USE_XOPEN2K8].
23755 (CLD_KILLED): Likewise.
23756 (CLD_DUMPED): Likewise.
23757 (CLD_TRAPPED): Likewise.
23758 (CLD_STOPPED): Likewise.
23759 (CLD_CONTINUED): Likewise.
23760 (POLL_IN): Likewise.
23761 (POLL_OUT): Likewise.
23762 (POLL_MSG): Likewise.
23763 (POLL_ERR): Likewise.
23764 (POLL_PRI): Likewise.
23765 (POLL_HUP): Likewise.
23766 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23767 Likewise.
23768 (ILL_ILLOPN): Likewise.
23769 (ILL_ILLADR): Likewise.
23770 (ILL_ILLTRP): Likewise.
23771 (ILL_PRVOPC): Likewise.
23772 (ILL_PRVREG): Likewise.
23773 (ILL_COPROC): Likewise.
23774 (ILL_BADSTK): Likewise.
23775 (FPE_INTDIV): Likewise.
23776 (FPE_INTOVF): Likewise.
23777 (FPE_FLTDIV): Likewise.
23778 (FPE_FLTOVF): Likewise.
23779 (FPE_FLTUND): Likewise.
23780 (FPE_FLTRES): Likewise.
23781 (FPE_FLTINV): Likewise.
23782 (FPE_FLTSUB): Likewise.
23783 (SEGV_MAPERR): Likewise.
23784 (SEGV_ACCERR): Likewise.
23785 (BUS_ADRALN): Likewise.
23786 (BUS_ADRERR): Likewise.
23787 (BUS_OBJERR): Likewise.
23788 (BUS_MCEERR_AR): Likewise.
23789 (BUS_MCEERR_AO): Likewise.
23790 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23791 (TRAP_TRACE): Likewise.
23792 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23793 __USE_XOPEN2K8].
23794 (CLD_KILLED): Likewise.
23795 (CLD_DUMPED): Likewise.
23796 (CLD_TRAPPED): Likewise.
23797 (CLD_STOPPED): Likewise.
23798 (CLD_CONTINUED): Likewise.
23799 (POLL_IN): Likewise.
23800 (POLL_OUT): Likewise.
23801 (POLL_MSG): Likewise.
23802 (POLL_ERR): Likewise.
23803 (POLL_PRI): Likewise.
23804 (POLL_HUP): Likewise.
23805 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23806 (ILL_ILLOPN): Likewise.
23807 (ILL_ILLADR): Likewise.
23808 (ILL_ILLTRP): Likewise.
23809 (ILL_PRVOPC): Likewise.
23810 (ILL_PRVREG): Likewise.
23811 (ILL_COPROC): Likewise.
23812 (ILL_BADSTK): Likewise.
23813 (FPE_INTDIV): Likewise.
23814 (FPE_INTOVF): Likewise.
23815 (FPE_FLTDIV): Likewise.
23816 (FPE_FLTOVF): Likewise.
23817 (FPE_FLTUND): Likewise.
23818 (FPE_FLTRES): Likewise.
23819 (FPE_FLTINV): Likewise.
23820 (FPE_FLTSUB): Likewise.
23821 (SEGV_MAPERR): Likewise.
23822 (SEGV_ACCERR): Likewise.
23823 (BUS_ADRALN): Likewise.
23824 (BUS_ADRERR): Likewise.
23825 (BUS_OBJERR): Likewise.
23826 (BUS_MCEERR_AR): Likewise.
23827 (BUS_MCEERR_AO): Likewise.
23828 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23829 (TRAP_TRACE): Likewise.
23830 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23831 __USE_XOPEN2K8].
23832 (CLD_KILLED): Likewise.
23833 (CLD_DUMPED): Likewise.
23834 (CLD_TRAPPED): Likewise.
23835 (CLD_STOPPED): Likewise.
23836 (CLD_CONTINUED): Likewise.
23837 (POLL_IN): Likewise.
23838 (POLL_OUT): Likewise.
23839 (POLL_MSG): Likewise.
23840 (POLL_ERR): Likewise.
23841 (POLL_PRI): Likewise.
23842 (POLL_HUP): Likewise.
23843 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23844 Likewise.
23845 (ILL_ILLOPN): Likewise.
23846 (ILL_ILLADR): Likewise.
23847 (ILL_ILLTRP): Likewise.
23848 (ILL_PRVOPC): Likewise.
23849 (ILL_PRVREG): Likewise.
23850 (ILL_COPROC): Likewise.
23851 (ILL_BADSTK): Likewise.
23852 (ILL_BADIADDR): Likewise.
23853 (ILL_BREAK): Likewise.
23854 (FPE_INTDIV): Likewise.
23855 (FPE_INTOVF): Likewise.
23856 (FPE_FLTDIV): Likewise.
23857 (FPE_FLTOVF): Likewise.
23858 (FPE_FLTUND): Likewise.
23859 (FPE_FLTRES): Likewise.
23860 (FPE_FLTINV): Likewise.
23861 (FPE_FLTSUB): Likewise.
23862 (FPE_DECOVF): Likewise.
23863 (FPE_DECDIV): Likewise.
23864 (FPE_DECERR): Likewise.
23865 (FPE_INVASC): Likewise.
23866 (FPE_INVDEC): Likewise.
23867 (SEGV_MAPERR): Likewise.
23868 (SEGV_ACCERR): Likewise.
23869 (SEGV_PSTKOVF): Likewise.
23870 (BUS_ADRALN): Likewise.
23871 (BUS_ADRERR): Likewise.
23872 (BUS_OBJERR): Likewise.
23873 (BUS_MCEERR_AR): Likewise.
23874 (BUS_MCEERR_AO): Likewise.
23875 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23876 (TRAP_TRACE): Likewise.
23877 (TRAP_BRANCH): Likewise.
23878 (TRAP_HWBKPT): Likewise.
23879 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23880 __USE_XOPEN2K8].
23881 (CLD_KILLED): Likewise.
23882 (CLD_DUMPED): Likewise.
23883 (CLD_TRAPPED): Likewise.
23884 (CLD_STOPPED): Likewise.
23885 (CLD_CONTINUED): Likewise.
23886 (POLL_IN): Likewise.
23887 (POLL_OUT): Likewise.
23888 (POLL_MSG): Likewise.
23889 (POLL_ERR): Likewise.
23890 (POLL_PRI): Likewise.
23891 (POLL_HUP): Likewise.
23892 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23893 (ILL_ILLOPN): Likewise.
23894 (ILL_ILLADR): Likewise.
23895 (ILL_ILLTRP): Likewise.
23896 (ILL_PRVOPC): Likewise.
23897 (ILL_PRVREG): Likewise.
23898 (ILL_COPROC): Likewise.
23899 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
23909 (SEGV_ACCERR): Likewise.
23910 (BUS_ADRALN): Likewise.
23911 (BUS_ADRERR): Likewise.
23912 (BUS_OBJERR): Likewise.
23913 (BUS_MCEERR_AR): Likewise.
23914 (BUS_MCEERR_AO): Likewise.
23915 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23916 (TRAP_TRACE): Likewise.
23917 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23918 __USE_XOPEN2K8].
23919 (CLD_KILLED): Likewise.
23920 (CLD_DUMPED): Likewise.
23921 (CLD_TRAPPED): Likewise.
23922 (CLD_STOPPED): Likewise.
23923 (CLD_CONTINUED): Likewise.
23924 (POLL_IN): Likewise.
23925 (POLL_OUT): Likewise.
23926 (POLL_MSG): Likewise.
23927 (POLL_ERR): Likewise.
23928 (POLL_PRI): Likewise.
23929 (POLL_HUP): Likewise.
23930 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23931 (ILL_ILLOPN): Likewise.
23932 (ILL_ILLADR): Likewise.
23933 (ILL_ILLTRP): Likewise.
23934 (ILL_PRVOPC): Likewise.
23935 (ILL_PRVREG): Likewise.
23936 (ILL_COPROC): Likewise.
23937 (ILL_BADSTK): Likewise.
23938 (FPE_INTDIV): Likewise.
23939 (FPE_INTOVF): Likewise.
23940 (FPE_FLTDIV): Likewise.
23941 (FPE_FLTOVF): Likewise.
23942 (FPE_FLTUND): Likewise.
23943 (FPE_FLTRES): Likewise.
23944 (FPE_FLTINV): Likewise.
23945 (FPE_FLTSUB): Likewise.
23946 (SEGV_MAPERR): Likewise.
23947 (SEGV_ACCERR): Likewise.
23948 (BUS_ADRALN): Likewise.
23949 (BUS_ADRERR): Likewise.
23950 (BUS_OBJERR): Likewise.
23951 (BUS_MCEERR_AR): Likewise.
23952 (BUS_MCEERR_AO): Likewise.
23953 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23954 (TRAP_TRACE): Likewise.
23955 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23956 __USE_XOPEN2K8].
23957 (CLD_KILLED): Likewise.
23958 (CLD_DUMPED): Likewise.
23959 (CLD_TRAPPED): Likewise.
23960 (CLD_STOPPED): Likewise.
23961 (CLD_CONTINUED): Likewise.
23962 (POLL_IN): Likewise.
23963 (POLL_OUT): Likewise.
23964 (POLL_MSG): Likewise.
23965 (POLL_ERR): Likewise.
23966 (POLL_PRI): Likewise.
23967 (POLL_HUP): Likewise.
23968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23969 (ILL_ILLOPN): Likewise.
23970 (ILL_ILLADR): Likewise.
23971 (ILL_ILLTRP): Likewise.
23972 (ILL_PRVOPC): Likewise.
23973 (ILL_PRVREG): Likewise.
23974 (ILL_COPROC): Likewise.
23975 (ILL_BADSTK): Likewise.
23976 (FPE_INTDIV): Likewise.
23977 (FPE_INTOVF): Likewise.
23978 (FPE_FLTDIV): Likewise.
23979 (FPE_FLTOVF): Likewise.
23980 (FPE_FLTUND): Likewise.
23981 (FPE_FLTRES): Likewise.
23982 (FPE_FLTINV): Likewise.
23983 (FPE_FLTSUB): Likewise.
23984 (SEGV_MAPERR): Likewise.
23985 (SEGV_ACCERR): Likewise.
23986 (BUS_ADRALN): Likewise.
23987 (BUS_ADRERR): Likewise.
23988 (BUS_OBJERR): Likewise.
23989 (BUS_MCEERR_AR): Likewise.
23990 (BUS_MCEERR_AO): Likewise.
23991 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23992 (TRAP_TRACE): Likewise.
23993 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23994 __USE_XOPEN2K8].
23995 (CLD_KILLED): Likewise.
23996 (CLD_DUMPED): Likewise.
23997 (CLD_TRAPPED): Likewise.
23998 (CLD_STOPPED): Likewise.
23999 (CLD_CONTINUED): Likewise.
24000 (POLL_IN): Likewise.
24001 (POLL_OUT): Likewise.
24002 (POLL_MSG): Likewise.
24003 (POLL_ERR): Likewise.
24004 (POLL_PRI): Likewise.
24005 (POLL_HUP): Likewise.
24006 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24007 (ILL_ILLOPN): Likewise.
24008 (ILL_ILLADR): Likewise.
24009 (ILL_ILLTRP): Likewise.
24010 (ILL_PRVOPC): Likewise.
24011 (ILL_PRVREG): Likewise.
24012 (ILL_COPROC): Likewise.
24013 (ILL_BADSTK): Likewise.
24014 (ILL_DBLFLT): Likewise.
24015 (ILL_HARDWALL): Likewise.
24016 (FPE_INTDIV): Likewise.
24017 (FPE_INTOVF): Likewise.
24018 (FPE_FLTDIV): Likewise.
24019 (FPE_FLTOVF): Likewise.
24020 (FPE_FLTUND): Likewise.
24021 (FPE_FLTRES): Likewise.
24022 (FPE_FLTINV): Likewise.
24023 (FPE_FLTSUB): Likewise.
24024 (SEGV_MAPERR): Likewise.
24025 (SEGV_ACCERR): Likewise.
24026 (BUS_ADRALN): Likewise.
24027 (BUS_ADRERR): Likewise.
24028 (BUS_OBJERR): Likewise.
24029 (BUS_MCEERR_AR): Likewise.
24030 (BUS_MCEERR_AO): Likewise.
24031 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24032 (TRAP_TRACE): Likewise.
24033 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24034 __USE_XOPEN2K8].
24035 (CLD_KILLED): Likewise.
24036 (CLD_DUMPED): Likewise.
24037 (CLD_TRAPPED): Likewise.
24038 (CLD_STOPPED): Likewise.
24039 (CLD_CONTINUED): Likewise.
24040 (POLL_IN): Likewise.
24041 (POLL_OUT): Likewise.
24042 (POLL_MSG): Likewise.
24043 (POLL_ERR): Likewise.
24044 (POLL_PRI): Likewise.
24045 (POLL_HUP): Likewise.
24046 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24047 (ILL_ILLOPN): Likewise.
24048 (ILL_ILLADR): Likewise.
24049 (ILL_ILLTRP): Likewise.
24050 (ILL_PRVOPC): Likewise.
24051 (ILL_PRVREG): Likewise.
24052 (ILL_COPROC): Likewise.
24053 (ILL_BADSTK): Likewise.
24054 (FPE_INTDIV): Likewise.
24055 (FPE_INTOVF): Likewise.
24056 (FPE_FLTDIV): Likewise.
24057 (FPE_FLTOVF): Likewise.
24058 (FPE_FLTUND): Likewise.
24059 (FPE_FLTRES): Likewise.
24060 (FPE_FLTINV): Likewise.
24061 (FPE_FLTSUB): Likewise.
24062 (SEGV_MAPERR): Likewise.
24063 (SEGV_ACCERR): Likewise.
24064 (BUS_ADRALN): Likewise.
24065 (BUS_ADRERR): Likewise.
24066 (BUS_OBJERR): Likewise.
24067 (BUS_MCEERR_AR): Likewise.
24068 (BUS_MCEERR_AO): Likewise.
24069 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24070 (TRAP_TRACE): Likewise.
24071 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24072 __USE_XOPEN2K8].
24073 (CLD_KILLED): Likewise.
24074 (CLD_DUMPED): Likewise.
24075 (CLD_TRAPPED): Likewise.
24076 (CLD_STOPPED): Likewise.
24077 (CLD_CONTINUED): Likewise.
24078 (POLL_IN): Likewise.
24079 (POLL_OUT): Likewise.
24080 (POLL_MSG): Likewise.
24081 (POLL_ERR): Likewise.
24082 (POLL_PRI): Likewise.
24083 (POLL_HUP): Likewise.
24084 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24085 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24086
24087 [BZ #16670]
24088 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24089 before #include of <time.h>.
24090 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24091 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24092 (test-xfail-UNIX98/sched.h/conform): Likewise.
24093
24094 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24095
24096 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24097 error absence of trapping exception support.
24098 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24099
24100 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24101
24102 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24103 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24104 * timezone/Makefile (testdata): Move definition above include of
24105 Rules.
24106 (test-zones): New variable.
24107 (tests-special): Add zone files.
24108 (build-testdata): Use $(evaluate-test).
24109
24110 * elf/Makefile (tests-special): Rename tests to end with .out.
24111 ($(objpfx)noload-mem): Likewise.
24112 ($(objpfx)tst-leaks1-mem): Likewise.
24113 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24114 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24115 $(objpfx)test-iconvconfig.out.
24116 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24117 set -e inside subshell and redirect output to file.
24118 * iconvdata/Makefile (generated): Rename tests to end with .out.
24119 Correct type.
24120 (tests-special): Rename tests to end with .out.
24121 ($(objpfx)mtrace-tst-loading): Likewise.
24122 * intl/Makefile (generated): Likewise.
24123 (tests-special): Likewise.
24124 ($(objpfx)mtrace-tst-gettext): Likewise.
24125 * misc/Makefile (generated): Likewise.
24126 (tests-special): Likewise.
24127 ($(objpfx)tst-error1-mem): Likewise.
24128 * nptl/Makefile (tests-special): Likewise.
24129 ($(objpfx)tst-stack3-mem): Likewise.
24130 (generated): Likewise.
24131 * posix/Makefile (generated): Likewise.
24132 (tests-special): Likewise.
24133 (xtests-special): Likewise.
24134 ($(objpfx)tst-fnmatch-mem): Likewise.
24135 ($(objpfx)bug-regex2-mem): Likewise.
24136 ($(objpfx)bug-regex14-mem): Likewise.
24137 ($(objpfx)bug-regex21-mem): Likewise.
24138 ($(objpfx)bug-regex31-mem): Likewise.
24139 ($(objpfx)tst-vfork3-mem): Likewise.
24140 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24141 ($(objpfx)tst-pcre-mem): Likewise.
24142 ($(objpfx)tst-boost-mem): Likewise.
24143 ($(objpfx)bug-ga2-mem): Likewise.
24144 ($(objpfx)bug-glob2-mem): Likewise.
24145 * resolv/Makefile (generate): Likewise.
24146 (tests-special): Likewise.
24147 (xtests-special): Likewise.
24148 (generated): Likewise.
24149 ($(objpfx)mtrace-tst-leaks): Likewise.
24150 ($(objpfx)mtrace-tst-leaks2): Likewise.
24151
24152 * scripts/merge-test-results.sh: New file.
24153 * Makefile (tests-special-notdir): New variable.
24154 (tests): Run merge-test-results.sh.
24155 (xtests): Likewise.
24156 * Rules (tests-special-notdir): New variable.
24157 (xtests-special-notdir): Likewise.
24158 (tests): Run merge-test-results.sh
24159 (xtests): Likewise.
24160
24161 * Makeconfig (test-xfail-name): New variable.
24162 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24163 compute variable name for expected failures.
24164 * conform/Makefile (conformtest-headers-data): New variable.
24165 (conformtest-standards): Likewise.
24166 (conformtest-headers-ISO): Likewise.
24167 (conformtest-headers-ISO99): Likewise.
24168 (conformtest-headers-ISO11): Likewise.
24169 (conformtest-headers-POSIX): Likewise.
24170 (conformtest-headers-XPG3): Likewise.
24171 (conformtest-headers-XPG4): Likewise.
24172 (conformtest-headers-UNIX98): Likewise.
24173 (conformtest-headers-XOPEN2K): Likewise.
24174 (conformtest-headers-POSIX2008): Likewise.
24175 (conformtest-headers-XOPEN2K8): Likewise.
24176 (conformtest-header-list-base): Likewise.
24177 (conformtest-header-list-tests): Likewise.
24178 (conformtest-header-base): Likewise.
24179 (conformtest-header-tests): Likewise.
24180 (tests-special): Add $(conformtest-header-list-tests). If
24181 [$(fast-check) && !$(cross-compiling)], add
24182 $(conformtest-header-tests) instead of
24183 $(objpfx)run-conformtest.out.
24184 (generated): Add $(conformtest-header-list-base). If
24185 [$(fast-check) && !$(cross-compiling)], add
24186 $(conformtest-header-base). Remove previous setting.
24187 ($(conformtest-header-list-tests)): New target.
24188 (test-xfail-run-conformtest): Remove variable.
24189 ($(objpfx)run-conformtest.out): Remove target.
24190 (test-xfail-ISO11/complex.h/conform): New variable.
24191 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24192 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24193 (test-xfail-XPG3/varargs.h/conform): Likewise.
24194 (test-xfail-XPG4/varargs.h/conform): Likewise.
24195 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24196 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24197 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24198 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24199 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24200 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24201 (test-xfail-XPG3/ftw.h/conform): Likewise.
24202 (test-xfail-XPG3/grp.h/conform): Likewise.
24203 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24204 (test-xfail-XPG3/limits.h/conform): Likewise.
24205 (test-xfail-XPG3/pwd.h/conform): Likewise.
24206 (test-xfail-XPG3/search.h/conform): Likewise.
24207 (test-xfail-XPG3/signal.h/conform): Likewise.
24208 (test-xfail-XPG3/stdio.h/conform): Likewise.
24209 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24210 (test-xfail-XPG3/string.h/conform): Likewise.
24211 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24212 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24213 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24214 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24215 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24216 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24217 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24218 (test-xfail-XPG3/termios.h/conform): Likewise.
24219 (test-xfail-XPG3/time.h/conform): Likewise.
24220 (test-xfail-XPG3/unistd.h/conform): Likewise.
24221 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24222 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24223 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24224 (test-xfail-XPG4/netdb.h/conform): Likewise.
24225 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24226 (test-xfail-XPG4/signal.h/conform): Likewise.
24227 (test-xfail-XPG4/stdio.h/conform): Likewise.
24228 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24229 (test-xfail-XPG4/stropts.h/conform): Likewise.
24230 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24231 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24232 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24233 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24234 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24235 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24236 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24237 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24238 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24239 (test-xfail-XPG4/termios.h/conform): Likewise.
24240 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24241 (test-xfail-XPG4/unistd.h/conform): Likewise.
24242 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24243 (test-xfail-POSIX/sched.h/conform): Likewise.
24244 (test-xfail-POSIX/signal.h/conform): Likewise.
24245 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24246 (test-xfail-POSIX/tar.h/conform): Likewise.
24247 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24248 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24249 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24250 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24251 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24252 (test-xfail-UNIX98/sched.h/conform): Likewise.
24253 (test-xfail-UNIX98/signal.h/conform): Likewise.
24254 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24255 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24256 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24257 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24258 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24259 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24260 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24261 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24262 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24263 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24264 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24265 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24266 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24267 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24268 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24269 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24270 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24271 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24272 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24273 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24274 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24275 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24276 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24277 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24278 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24279 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24280 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24281 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24282 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24283 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24284 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24285 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24286 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24287 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24288 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24289 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24290 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24291 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24292 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24293 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24294 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24295 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24296 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24297 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24298 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24299 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24300 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24301 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24302 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24303 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24304 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24305 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24306 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24307 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24308 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24309 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24310 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24311 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24312 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24313 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24314 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24315 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24316 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24317 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24318 (conformtest-cc-flags): Likewise.
24319 ($(conformtest-header-tests): New target.
24320 * conform/check-header-lists.sh: New file.
24321 * conform/run-conformtest.sh: Remove.
24322
24323 * conform/conformtest.pl: Allow ' and \ in values given for
24324 constants.
24325 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24326 inclusion.
24327 [POSIX] (sys/types.h): Likewise.
24328 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24329 inclusion.
24330 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24331 inclusion.
24332 * conform/data/signal.h-data (SIGIO): Remove expectation.
24333 [XPG3] (SIGBUS): Do not expect.
24334 [POSIX || XPG3] (SIGPOLL): Likewise.
24335 [POSIX || XPG3] (SIGPROF): Likewise.
24336 [POSIX || XPG3] (SIGSYS): Likewise.
24337 [XPG3] (SIGTRAP): Likewise.
24338 [POSIX || XPG3] (SIGURG): Likewise.
24339 [POSIX || XPG3] (SIGVTALRM): Likewise.
24340 [POSIX || XPG3] (SIGXCPU): Likewise.
24341 [POSIX || XPG3] (SIGXFSZ): Likewise.
24342 [POSIX] (SA_SIGINFO): Expect.
24343 [XPG3] (siginfo_t): Do not expect type or contents.
24344 [POSIX] (si_pid): Do not expect element.
24345 [POSIX] (si_uid): Likewise.
24346 [POSIX] (si_addr): Likewise.
24347 [POSIX] (si_status): Likewise.
24348 [POSIX] (si_band): Likewise.
24349 [XPG4] (si_value): Likewise.
24350 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24351 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24352 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24353 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24354 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24355 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24356 [POSIX || XPG3] (ILL_COPROC): Likewise.
24357 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24358 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24359 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24360 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24361 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24362 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24363 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24364 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24365 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24366 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24367 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24368 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24369 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24370 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24371 [POSIX || XPG3] (CLD_EXITED): Likewise.
24372 [POSIX || XPG3] (CLD_KILLED): Likewise.
24373 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24374 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24375 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24376 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24377 [POSIX || XPG3] (POLL_IN): Likewise.
24378 [POSIX || XPG3] (POLL_OUT): Likewise.
24379 [POSIX || XPG3] (POLL_MSG): Likewise.
24380 [POSIX || XPG3] (POLL_ERR): Likewise.
24381 [POSIX || XPG3] (POLL_PRI): Likewise.
24382 [POSIX || XPG3] (POLL_HUP): Likewise.
24383 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24384 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24385 (SIG*): Do not allow.
24386 [XPG3] (si_*): Likewise.
24387 [XPG3] (SI_*): Likewise.
24388 [XPG3 || XPG4] (sigev_*): Likewise.
24389 [XPG3 || XPG4] (SIGEV_*): Likewise.
24390 [XPG3 || XPG4] (sival_*): Likewise.
24391 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24392 [POSIX || XPG3] (BUS_*): Likewise.
24393 [POSIX || XPG3] (CLD_*): Likewise.
24394 [POSIX || XPG3] (FPE_*): Likewise.
24395 [POSIX || XPG3] (ILL_*): Likewise.
24396 [POSIX || XPG3] (POLL_*): Likewise.
24397 [POSIX || XPG3] (SEGV_*): Likewise.
24398 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24399 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24400 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24401 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24402 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24403 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24404 Specify type and value.
24405 (TVERSLEN): Likewise.
24406 (REGTYPE): Likewise.
24407 (AREGTYPE): Likewise.
24408 (LNKTYPE): Likewise.
24409 (SYMTYPE): Likewise.
24410 (CHRTYPE): Likewise.
24411 (BLKTYPE): Likewise.
24412 (DIRTYPE): Likewise.
24413 (FIFOTYPE): Likewise.
24414 (CONTTYPE): Likewise.
24415 (TSUID): Likewise.
24416 (TSGID): Likewise.
24417 (TSVTX): Likewise.
24418 (TUREAD): Likewise.
24419 (TUWRITE): Likewise.
24420 (TUEXEC): Likewise.
24421 (TGREAD): Likewise.
24422 (TGWRITE): Likewise.
24423 (TGEXEC): Likewise.
24424 (TOREAD): Likewise.
24425 (TOWRITE): Likewise.
24426 (TOEXEC): Likewise.
24427 [POSIX] (TSVTX): Expect constant.
24428
24429 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24430
24431 * Makefile (tests): Change dependencies to ....
24432 (tests-special): ... additions to this variable.
24433 (tests): Depend on $(tests-special).
24434 * Makerules (check-abi-list): New variable.
24435 (check-abi): Depend on $(check-abi-list).
24436 [$(subdir) = elf] (tests-special): Add
24437 $(objpfx)check-abi-libc.out.
24438 [$(build-shared) = yes && subdir] (tests-special): Add
24439 $(check-abi-list).
24440 [$(build-shared) = yes && subdir] (tests): Do not depend on
24441 check-abi.
24442 * Rules (tests): Depend on $(tests-special).
24443 (xtests): Depend on $(xtests-special).
24444 * catgets/Makefile (tests): Change dependencies to ....
24445 (tests-special): ... additions to this variable.
24446 * conform/Makefile (tests): Change dependencies to ....
24447 (tests-special): ... additions to this variable.
24448 * elf/Makefile (tests): Change dependencies to ....
24449 (tests-special): ... additions to this variable.
24450 * grp/Makefile (tests): Change dependencies to ....
24451 (tests-special): ... additions to this variable.
24452 * iconv/Makefile (xtests): Change dependencies to ....
24453 (xtests-special): ... additions to this variable.
24454 * iconvdata/Makefile (tests): Change dependencies to ....
24455 (tests-special): ... additions to this variable.
24456 * intl/Makefile (tests): Change dependencies to ....
24457 (tests-special): ... additions to this variable. Also add
24458 $(objpfx)tst-gettext.out.
24459 * io/Makefile (tests): Change dependencies to ....
24460 (tests-special): ... additions to this variable.
24461 * libio/Makefile (tests): Change dependencies to ....
24462 (tests-special): ... additions to this variable.
24463 * malloc/Makefile (tests): Change dependencies to ....
24464 (tests-special): ... additions to this variable.
24465 * misc/Makefile (tests): Change dependencies to ....
24466 (tests-special): ... additions to this variable.
24467 * nptl/Makefile (tests): Change dependencies to ....
24468 (tests-special): ... additions to this variable.
24469 * nptl_db/Makefile (tests): Change dependencies to ....
24470 (tests-special): ... additions to this variable.
24471 * posix/Makefile (tests): Change dependencies to ....
24472 (tests-special): ... additions to this variable.
24473 (xtests): Change dependencies to ....
24474 (xtests-special): ... additions to this variable.
24475 * resolv/Makefile (tests): Change dependencies to ....
24476 (tests-special): ... additions to this variable.
24477 (xtests): Change dependencies to ....
24478 (xtests-special): ... additions to this variable.
24479 * stdio-common/Makefile (tests): Change dependencies to ....
24480 (tests-special): ... additions to this variable.
24481 (do-tst-unbputc): Remove target.
24482 (do-tst-printf): Likewise.
24483 * stdlib/Makefile (tests): Change dependencies to ....
24484 (tests-special): ... additions to this variable.
24485 * string/Makefile (tests): Change dependencies to ....
24486 (tests-special): ... additions to this variable.
24487 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24488 (tests-special): ... additions to this variable.
24489
24490 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24491 whole file.
24492 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24493 whole file.
24494 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24495 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24496
24497 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24498 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24499 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24500 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24501 * conform/data/libgen.h-data [XPG3]: Likewise.
24502 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24503 * conform/data/ndbm.h-data [XPG3]: Likewise.
24504 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24505 * conform/data/netdb.h-data [XPG3]: Likewise.
24506 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24507 * conform/data/poll.h-data [XPG3]: Likewise.
24508 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24509 * conform/data/strings.h-data [XPG3]: Likewise.
24510 * conform/data/stropts.h-data [XPG3]: Likewise.
24511 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24512 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24513 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24514 Likewise.
24515 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24516 * conform/data/sys/time.h-data [XPG3]: Likewise.
24517 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24518 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24519 * conform/data/sys/un.h-data [XPG3]: Likewise.
24520 * conform/data/syslog.h-data [XPG3]: Likewise.
24521 * conform/data/ucontext.h-data [XPG3]: Likewise.
24522 * conform/data/utmpx.h-data [XPG3]: Likewise.
24523 * conform/data/varargs.h-data [UNIX98]: Enable file.
24524
24525 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24526
24527 * math/libm-test.inc (struct test_f_f_data): Move expected results
24528 into structure for each rounding mode.
24529 (struct test_ff_f_data): Likewise.
24530 (struct test_ff_f_data_nexttoward): Likewise.
24531 (struct test_fi_f_data): Likewise.
24532 (struct test_fl_f_data): Likewise.
24533 (struct test_if_f_data): Likewise.
24534 (struct test_fff_f_data): Likewise.
24535 (struct test_c_f_data): Likewise.
24536 (struct test_f_f1_data): Likewise.
24537 (struct test_fF_f1_data): Likewise.
24538 (struct test_ffI_f1_data): Likewise.
24539 (struct test_c_c_data): Likewise.
24540 (struct test_cc_c_data): Likewise.
24541 (struct test_f_i_data): Likewise.
24542 (struct test_ff_i_data): Likewise.
24543 (struct test_f_l_data): Likewise.
24544 (struct test_f_L_data): Likewise.
24545 (struct test_fFF_11_data): Likewise.
24546 (RM_): New macro.
24547 (RM_FE_DOWNWARD): Likewise.
24548 (RM_FE_TONEAREST): Likewise.
24549 (RM_FE_TOWARDZERO): Likewise.
24550 (RM_FE_UPWARD): Likewise.
24551 (RUN_TEST_LOOP_f_f): Update references to expected results.
24552 (RUN_TEST_LOOP_2_f): Likewise.
24553 (RUN_TEST_LOOP_fff_f): Likewise.
24554 (RUN_TEST_LOOP_c_f): Likewise.
24555 (RUN_TEST_LOOP_f_f1): Likewise.
24556 (RUN_TEST_LOOP_fF_f1): Likewise.
24557 (RUN_TEST_LOOP_fI_f1): Likewise.
24558 (RUN_TEST_LOOP_ffI_f1): Likewise.
24559 (RUN_TEST_LOOP_c_c): Likewise.
24560 (RUN_TEST_LOOP_cc_c): Likewise.
24561 (RUN_TEST_LOOP_f_i): Likewise.
24562 (RUN_TEST_LOOP_f_i_tg): Likewise.
24563 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24564 (RUN_TEST_LOOP_f_b): Likewise.
24565 (RUN_TEST_LOOP_f_b_tg): Likewise.
24566 (RUN_TEST_LOOP_f_l): Likewise.
24567 (RUN_TEST_LOOP_f_L): Likewise.
24568 (RUN_TEST_LOOP_fFF_11): Likewise.
24569 * math/gen-libm-test.pl (parse_args): Output four copies of
24570 expected results for each test.
24571
24572 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24573 (__ASSUME_UTIMES): Remove.
24574 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24575 (__ASSUME_UTIMES): Likewise.
24576
24577 * math/gen-auto-libm-tests.c: Update comment on output format.
24578 (output_for_one_input_case): Generate before-rounding and
24579 after-rounding information as conditions on output flags not
24580 floating-point format.
24581 * math/auto-libm-test-out: Regenerated.
24582 * math/gen-libm-test.pl (cond_value): New function.
24583 (or_cond_value): Use cond_value.
24584 (generate_testfile): Handle conditional exceptions.
24585
24586 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24587
24588 * math/libm-test.inc (max_valid_error): New variable.
24589 (init_max_error): Take new argument specifying whether function
24590 results are exactly determined. Set max_valid_error and bound
24591 other variables for errors based on this argument.
24592 (set_max_error): Do not record results above max_valid_error.
24593 (check_float_internal): Only accept errors of up to 0.5ulps if
24594 also at most max_valid_error.
24595 (START): Take new argument EXACT and pass it to init_max_error.
24596 (acos_test): Update call to START.
24597 (acos_test_tonearest): Likewise.
24598 (acos_test_towardzero): Likewise.
24599 (acos_test_downward): Likewise.
24600 (acos_test_upward): Likewise.
24601 (acosh_test): Likewise.
24602 (asin_test): Likewise.
24603 (asin_test_tonearest): Likewise.
24604 (asin_test_towardzero): Likewise.
24605 (asin_test_downward): Likewise.
24606 (asin_test_upward): Likewise.
24607 (asinh_test): Likewise.
24608 (atan_test): Likewise.
24609 (atanh_test): Likewise.
24610 (atan2_test): Likewise.
24611 (cabs_test): Likewise.
24612 (cacos_test): Likewise.
24613 (cacosh_test): Likewise.
24614 (carg_test): Likewise.
24615 (casin_test): Likewise.
24616 (casinh_test): Likewise.
24617 (catan_test): Likewise.
24618 (catanh_test): Likewise.
24619 (cbrt_test): Likewise.
24620 (ccos_test): Likewise.
24621 (ccosh_test): Likewise.
24622 (ceil_test): Likewise.
24623 (cexp_test): Likewise.
24624 (cimag_test): Likewise.
24625 (clog_test): Likewise.
24626 (clog10_test): Likewise.
24627 (conj_test): Likewise.
24628 (copysign_test): Likewise.
24629 (cos_test): Likewise.
24630 (cos_test_tonearest): Likewise.
24631 (cos_test_towardzero): Likewise.
24632 (cos_test_downward): Likewise.
24633 (cos_test_upward): Likewise.
24634 (cosh_test): Likewise.
24635 (cosh_test_tonearest): Likewise.
24636 (cosh_test_towardzero): Likewise.
24637 (cosh_test_downward): Likewise.
24638 (cosh_test_upward): Likewise.
24639 (cpow_test): Likewise.
24640 (cproj_test): Likewise.
24641 (creal_test): Likewise.
24642 (csin_test): Likewise.
24643 (csinh_test): Likewise.
24644 (csqrt_test): Likewise.
24645 (ctan_test): Likewise.
24646 (ctan_test_tonearest): Likewise.
24647 (ctan_test_towardzero): Likewise.
24648 (ctan_test_downward): Likewise.
24649 (ctan_test_upward): Likewise.
24650 (ctanh_test): Likewise.
24651 (ctanh_test_tonearest): Likewise.
24652 (ctanh_test_towardzero): Likewise.
24653 (ctanh_test_downward): Likewise.
24654 (ctanh_test_upward): Likewise.
24655 (erf_test): Likewise.
24656 (erfc_test): Likewise.
24657 (exp_test): Likewise.
24658 (exp_test_tonearest): Likewise.
24659 (exp_test_towardzero): Likewise.
24660 (exp_test_downward): Likewise.
24661 (exp_test_upward): Likewise.
24662 (exp10_test): Likewise.
24663 (exp10_test_tonearest): Likewise.
24664 (exp10_test_towardzero): Likewise.
24665 (exp10_test_downward): Likewise.
24666 (exp10_test_upward): Likewise.
24667 (pow10_test): Likewise.
24668 (exp2_test): Likewise.
24669 (expm1_test): Likewise.
24670 (expm1_test_tonearest): Likewise.
24671 (expm1_test_towardzero): Likewise.
24672 (expm1_test_downward): Likewise.
24673 (expm1_test_upward): Likewise.
24674 (fabs_test): Likewise.
24675 (fdim_test): Likewise.
24676 (floor_test): Likewise.
24677 (fma_test): Likewise.
24678 (fma_test_towardzero): Likewise.
24679 (fma_test_downward): Likewise.
24680 (fma_test_upward): Likewise.
24681 (fmax_test): Likewise.
24682 (fmin_test): Likewise.
24683 (fmod_test): Likewise.
24684 (fpclassify_test): Likewise.
24685 (frexp_test): Likewise.
24686 (hypot_test): Likewise.
24687 (ilogb_test): Likewise.
24688 (isfinite_test): Likewise.
24689 (finite_test): Likewise.
24690 (isgreater_test): Likewise.
24691 (isgreaterequal_test): Likewise.
24692 (isinf_test): Likewise.
24693 (isless_test): Likewise.
24694 (islessequal_test): Likewise.
24695 (islessgreater_test): Likewise.
24696 (isnan_test): Likewise.
24697 (isnormal_test): Likewise.
24698 (issignaling_test): Likewise.
24699 (isunordered_test): Likewise.
24700 (j0_test): Likewise.
24701 (j1_test): Likewise.
24702 (jn_test): Likewise.
24703 (ldexp_test): Likewise.
24704 (lgamma_test): Likewise.
24705 (gamma_test): Likewise.
24706 (lrint_test): Likewise.
24707 (lrint_test_tonearest): Likewise.
24708 (lrint_test_towardzero): Likewise.
24709 (lrint_test_downward): Likewise.
24710 (lrint_test_upward): Likewise.
24711 (llrint_test): Likewise.
24712 (llrint_test_tonearest): Likewise.
24713 (llrint_test_towardzero): Likewise.
24714 (llrint_test_downward): Likewise.
24715 (llrint_test_upward): Likewise.
24716 (log_test): Likewise.
24717 (log10_test): Likewise.
24718 (log1p_test): Likewise.
24719 (log2_test): Likewise.
24720 (logb_test): Likewise.
24721 (logb_test_downward): Likewise.
24722 (lround_test): Likewise.
24723 (llround_test): Likewise.
24724 (modf_test): Likewise.
24725 (nearbyint_test): Likewise.
24726 (nextafter_test): Likewise.
24727 (nexttoward_test): Likewise.
24728 (pow_test): Likewise.
24729 (pow_test_tonearest): Likewise.
24730 (pow_test_towardzero): Likewise.
24731 (pow_test_downward): Likewise.
24732 (pow_test_upward): Likewise.
24733 (remainder_test): Likewise.
24734 (drem_test): Likewise.
24735 (remainder_test_tonearest): Likewise.
24736 (drem_test_tonearest): Likewise.
24737 (remainder_test_towardzero): Likewise.
24738 (drem_test_towardzero): Likewise.
24739 (remainder_test_downward): Likewise.
24740 (drem_test_downward): Likewise.
24741 (remainder_test_upward): Likewise.
24742 (drem_test_upward): Likewise.
24743 (remquo_test): Likewise.
24744 (rint_test): Likewise.
24745 (rint_test_tonearest): Likewise.
24746 (rint_test_towardzero): Likewise.
24747 (rint_test_downward): Likewise.
24748 (rint_test_upward): Likewise.
24749 (round_test): Likewise.
24750 (scalb_test): Likewise.
24751 (scalbn_test): Likewise.
24752 (scalbln_test): Likewise.
24753 (signbit_test): Likewise.
24754 (sin_test): Likewise.
24755 (sin_test_tonearest): Likewise.
24756 (sin_test_towardzero): Likewise.
24757 (sin_test_downward): Likewise.
24758 (sin_test_upward): Likewise.
24759 (sincos_test): Likewise.
24760 (sinh_test): Likewise.
24761 (sinh_test_tonearest): Likewise.
24762 (sinh_test_towardzero): Likewise.
24763 (sinh_test_downward): Likewise.
24764 (sinh_test_upward): Likewise.
24765 (sqrt_test): Likewise.
24766 (sqrt_test_tonearest): Likewise.
24767 (sqrt_test_towardzero): Likewise.
24768 (sqrt_test_downward): Likewise.
24769 (sqrt_test_upward): Likewise.
24770 (tan_test): Likewise.
24771 (tan_test_tonearest): Likewise.
24772 (tan_test_towardzero): Likewise.
24773 (tan_test_downward): Likewise.
24774 (tan_test_upward): Likewise.
24775 (tanh_test): Likewise.
24776 (tgamma_test): Likewise.
24777 (trunc_test): Likewise.
24778 (y0_test): Likewise.
24779 (y1_test): Likewise.
24780 (yn_test): Likewise.
24781 (significand_test): Likewise.
24782
24783 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24784 individual tests in comment.
24785 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24786 (prev_max_error): New variable.
24787 (prev_real_max_error): Likewise.
24788 (prev_imag_max_error): Likewise.
24789 (compare_ulp_data): Don't refer to test names in comment.
24790 (find_test_ulps): Remove function.
24791 (find_function_ulps): Likewise.
24792 (find_complex_function_ulps): Likewise.
24793 (init_max_error): Take function name as argument. Look up ulps
24794 for that function.
24795 (print_ulps): Remove function.
24796 (print_max_error): Use prev_max_error instead of calling
24797 find_function_ulps.
24798 (print_complex_max_error): Use prev_real_max_error and
24799 prev_imag_max_error instead of calling find_complex_function_ulps.
24800 (check_float_internal): Take max_ulp parameter instead of calling
24801 find_test_ulps. Don't call print_ulps.
24802 (check_float): Update call to check_float_internal.
24803 (check_complex): Update calls to check_float_internal.
24804 (START): Pass argument to init_max_error.
24805 * math/gen-libm-test.pl (%results): Don't include "kind"
24806 information.
24807 (parse_ulps): Don't handle ulps of individual tests.
24808 (print_ulps_file): Likewise.
24809 (output_ulps): Likewise.
24810 * math/README.libm-test: Update.
24811 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24812 individual tests.
24813 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24814 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24815 * sysdeps/arm/libm-test-ulps: Likewise.
24816 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24817 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24818 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24819 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24820 * sysdeps/microblaze/libm-test-ulps: Likewise.
24821 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24822 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24823 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24824 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24825 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24826 * sysdeps/sh/libm-test-ulps: Likewise.
24827 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24828 * sysdeps/tile/libm-test-ulps: Likewise.
24829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24830
24831 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24832
24833 * math/libm-test.inc (print_complex_max_error): Check separately
24834 whether real and imaginary errors are within allowed range and
24835 pass 0 to print_complex_function_ulps instead of value within
24836 allowed range.
24837
24838 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24839
24840 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24841 formatting.
24842 (get_handles_fopen): Likewise.
24843 (do_write_test): Likewise.
24844
24845 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24846
24847 * libio/fileops.c (do_ftell): Use cached offset when
24848 available.
24849 * libio/iofwide.c (do_ftell_wide): Likewise.
24850 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24851 _IO_file_attach.
24852 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24853
24854 [BZ #16532]
24855 * libio/libioP.h (get_file_offset): New function.
24856 * libio/fileops.c (get_file_offset): Likewise.
24857 (do_ftell): Likewise.
24858 (_IO_new_file_seekoff): Split out ftell logic.
24859 * libio/wfileops.c (do_ftell_wide): Likewise.
24860 (_IO_wfile_seekoff): Split out ftell logic.
24861 * libio/tst-ftell-active-handler.c: New test case.
24862 * libio/Makefile (tests): Add it.
24863
24864 2014-03-03 Roland McGrath <roland@hack.frob.com>
24865
24866 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24867 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24868
24869 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24870
24871 [BZ #16639]
24872 * nscd/connections.c (nscd_init): Call do_exit.
24873 (start_threads): Call do_exit and notify_parent.
24874 (begin_drop_privileges): Call do_exit.
24875 (finish_drop_privileges): Likewise.
24876 * nscd/selinux.c (preserve_capabilities): Likewise.
24877 (install_real_capabilities): Likewise.
24878 (nscd_selinux_enabled): Likewise.
24879 (avc_create_thread): Likewise.
24880 (avc_alloc_lock): Likewise.
24881 (nscd_avc_init): Likewise.
24882 * nscd/nscd.c (parent_fd): New static variable.
24883 (main): Create a pipe between parent and child processes.
24884 Skip closing parent_fd.
24885 (monitor_child): New function.
24886 (do_exit): Likewise.
24887 (notify_parent): Likewise.
24888 * nscd/nscd.h (notify_parent): Likewise.
24889 (do_exit): Likewise.
24890
24891 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24892
24893 * malloc/malloc.c (__libc_calloc): Revert last change.
24894
24895 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24896
24897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24898
24899 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24900
24901 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24903 implementation.
24904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24905 (__libc_ifunc_impl_list): Likewise.
24906 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24907 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24908 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24909 * string/strrchr.c: Define STRRCHR.
24910
24911 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
24912
24913 * benchtest/bench-strtok.c (simple_strtok): Delete.
24914 (strtok_string): Use as benchmark.
24915 * string/strtok (STRTOK): New macro.
24916
24917 2014-02-28 Carlos O'Donell <carlos@redhat.com>
24918
24919 * manual/threads.texi: Add header and standard comments to all
24920 functions.
24921
24922 * elf/dl-lookup.c (check_match): New function.
24923 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24924 (do_lookup_x): Remove nested function check_match. Use non-nested
24925 function check_match.
24926
24927 2014-02-28 Roland McGrath <roland@hack.frob.com>
24928
24929 * csu/Makefile (generated, before-compile): Use += rather than =.
24930 * catgets/Makefile (generated, generated-dirs): Likewise.
24931 * debug/Makefile (generated): Likewise.
24932 * dlfcn/Makefile (generated): Likewise.
24933 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24934 * iconvdata/Makefile (before-compile, generated): Likewise.
24935 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24936 * libio/Makefile (generated): Likewise.
24937 * malloc/Makefile (generated): Likewise.
24938 * manual/Makefile (generated, generated-dirs): Likewise.
24939 * misc/Makefile (generated): Likewise.
24940 * posix/Makefile (generated): Likewise.
24941 * resolv/Makefile (generated): Likewise.
24942 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24943 * timezone/Makefile (generated, generated-dirs): Likewise.
24944
24945 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24946
24947 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24948
24949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24950 power8 implementation.
24951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24952 file: POWER8 llround ifunc implementation.
24953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24954 (__lllround): Add POWER8 implementation.
24955 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24956 POWER8 llround implementation.
24957
24958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24959 power8 implementation.
24960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24961 file: POWER8 llrint ifunc implementation.
24962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24963 Add POWER8 implementation.
24964 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24965 POWER8 llrint implementation.
24966
24967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24968 power8 implementation.
24969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24970 file: POWER8 finite ifunc implementation.
24971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24972 Add POWER8 implementation.
24973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24974 Likewise.
24975 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24976 POWER8 finite implementation.
24977 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24978
24979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24980 power8 implementation.
24981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24982 file: POWER8 isinf ifunc implementation.
24983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24984 POWER8 implementation.
24985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24986 Likewise.
24987 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24988 isinf implementation.
24989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24990
24991 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24992 (INIT_ARCH): Add hwcap2 initialization.
24993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24994 power8 implementation.
24995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24996 file: POWER8 isnan ifunc implementation.
24997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24998 POWER8 implementation.
24999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25000 Likewise.
25001 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25002 isnan implementation.
25003 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25004
25005 2014-02-27 Joey Ye <joey.ye@arm.com>
25006
25007 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25008 (_FP_NANFRAC_Q): Set to zero.
25009
25010 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25011
25012 [BZ #16623]
25013 * math/auto-libm-test-in: New test inputs.
25014 * math/auto-libm-test-out: Regenerate.
25015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25016 and DA.
25017 (__cos): Likewise.
25018 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25019
25020 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25021
25022 * scripts/evaluate-test.sh: Take new argument indicating whether
25023 failure is expected.
25024 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25025 indicating whether failure is expected.
25026 * conform/Makefile (test-xfail-run-conformtest): New variable.
25027 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25028 level.
25029 * posix/Makefile (test-xfail-annexc): New variable.
25030 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25031
25032 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25033
25034 * argp/Makefile: Include Makeconfig immediately after defining
25035 subdir.
25036 * assert/Makefile: Likewise.
25037 * benchtests/Makefile: Likewise.
25038 * catgets/Makefile: Likewise.
25039 * conform/Makefile: Likewise.
25040 * crypt/Makefile: Likewise.
25041 * csu/Makefile: Likewise.
25042 (all): Remove target.
25043 * ctype/Makefile: Include Makeconfig immediately after defining
25044 subdir.
25045 * debug/Makefile: Likewise.
25046 * dirent/Makefile: Likewise.
25047 * dlfcn/Makefile: Likewise.
25048 * gmon/Makefile: Likewise.
25049 * gnulib/Makefile: Likewise.
25050 * grp/Makefile: Likewise.
25051 * gshadow/Makefile: Likewise.
25052 * hesiod/Makefile: Likewise.
25053 * hurd/Makefile: Likewise.
25054 (all): Remove target.
25055 * iconvdata/Makefile: Include Makeconfig immediately after
25056 defining subdir.
25057 * inet/Makefile: Likewise.
25058 * intl/Makefile: Likewise.
25059 * io/Makefile: Likewise.
25060 * libio/Makefile: Likewise.
25061 (all): Remove target.
25062 * locale/Makefile: Include Makeconfig immediately after defining
25063 subdir.
25064 * login/Makefile: Likewise.
25065 * mach/Makefile: Likewise.
25066 (all): Remove target.
25067 * malloc/Makefile: Include Makeconfig immediately after defining
25068 subdir.
25069 (all): Remove target.
25070 * manual/Makefile: Include Makeconfig immediately after defining
25071 subdir.
25072 * math/Makefile: Likewise.
25073 * misc/Makefile: Likewise.
25074 * nis/Makefile: Likewise.
25075 * nss/Makefile: Likewise.
25076 * po/Makefile: Likewise.
25077 (all): Remove target.
25078 * posix/Makefile: Include Makeconfig immediately after defining
25079 subdir.
25080 * pwd/Makefile: Likewise.
25081 * resolv/Makefile: Likewise.
25082 * resource/Makefile: Likewise.
25083 * rt/Makefile: Likewise.
25084 * setjmp/Makefile: Likewise.
25085 * shadow/Makefile: Likewise.
25086 * signal/Makefile: Likewise.
25087 * socket/Makefile: Likewise.
25088 * soft-fp/Makefile: Likewise.
25089 * stdio-common/Makefile: Likewise.
25090 * stdlib/Makefile: Likewise.
25091 * streams/Makefile: Likewise.
25092 * string/Makefile: Likewise.
25093 * sunrpc/Makefile: Likewise.
25094 (all): Remove target.
25095 * sysvipc/Makefile: Include Makeconfig immediately after defining
25096 subdir.
25097 * termios/Makefile: Likewise.
25098 * time/Makefile: Likewise.
25099 * timezone/Makefile: Likewise.
25100 (all): Remove target.
25101 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25102 subdir.
25103 * wctype/Makefile: Likewise.
25104
25105 2014-02-26 Steve Ellcey <sellcey@mips.com>
25106
25107 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25108 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25109 (libc_feholdexcept_setround_mips): Ditto.
25110 (libc_feholdsetround): New.
25111 (libc_feholdsetroundf): New.
25112 (libc_feholdsetroundl): New.
25113 (libc_feupdateenv_test_mips): New.
25114 (libc_feupdateenv_test): New.
25115 (libc_feupdateenv_testf): New.
25116 (libc_feupdateenv_testl): New.
25117 (libc_feresetround): New.
25118 (libc_feresetroundf): New.
25119 (libc_feresetroundl): New.
25120 (libc_fetestexcept_mips): New.
25121 (libc_fetestexcept): New.
25122 (libc_fetestexceptf): New.
25123 (libc_fetestexceptl): New.
25124 (HAVE_RM_CTX): New.
25125 (libc_feholdexcept_setround_mips_ctx): New.
25126 (libc_feholdexcept_setround_ctx): New.
25127 (libc_feholdexcept_setroundf_ctx): New.
25128 (libc_feholdexcept_setroundl_ctx): New.
25129 (libc_fesetenv_mips_ctx): New.
25130 (libc_fesetenv_ctx): New.
25131 (libc_fesetenv_ctxf): New.
25132 (libc_fesetenv_ctxl): New.
25133 (libc_feupdateenv_mips_ctx): New.
25134 (libc_feupdateenv_ctx): New.
25135 (libc_feupdateenvf_ctx): New.
25136 (libc_feupdateenvl_ctx): New.
25137 (libc_feholdsetround_mips_ctx): New.
25138 (libc_feholdsetround_ctx): New.
25139 (libc_feholdsetroundf_ctx): New.
25140 (libc_feholdsetroundl_ctx): New.
25141 (libc_feresetround_mips_ctx): New.
25142 (libc_feresetround_ctx): New.
25143 (libc_feresetroundf_ctx): New.
25144 (libc_feresetroundl_ctx): New.
25145
25146 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25147
25148 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25149
25150 * manual/ipc.texi: New file.
25151 * manual/Makefile (chapters): Add ipc.
25152 * manual/job.texi: Add "Inter-Process Communication" to next.
25153 * manual/process.texi: Add "Inter-Process Communication" to prev.
25154
25155 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25156
25157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25158
25159 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25160
25161 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25162
25163 * manual/arith.texi: Fix spaces after sentences.
25164 * manual/charset.texi: Likewise.
25165 * manual/errno.texi: Likewise.
25166 * manual/install.texi: Likewise.
25167 * manual/llio.texi: Likewise.
25168 * manual/locale.texi: Likewise.
25169 * manual/maint.texi: Likewise.
25170 * manual/math.texi: Likewise.
25171 * manual/memory.texi: Likewise.
25172 * manual/message.texi: Likewise.
25173 * manual/probes.texi: Likewise.
25174 * manual/resource.texi: Likewise.
25175 * manual/signal.texi: Likewise.
25176 * manual/socket.texi: Likewise.
25177 * manual/stdio.texi: Likewise.
25178 * manual/string.texi: Likewise.
25179 * manual/time.texi: Likewise.
25180 * manual/users.texi: Likewise.
25181
25182 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25183
25184 [BZ #16632]
25185 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25186 _DEFAULT_SOURCE is defined.
25187
25188 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25189 Carlos O'Donell <carlos@redhat.com>
25190
25191 [BZ #16613]
25192 * elf/dl-tls.c (_dl_count_modids): New function.
25193 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25194 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25195 audit library and increment generation counter.
25196 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25197 * elf/tst-audit9.c: New file.
25198 * elf/tst-auditmod9a.c: New file.
25199 * elf/tst-auditmod9b.c: New file.
25200 * elf/Makefile: Add rules to build and run tst-audit9.
25201
25202 2014-02-25 Florian Weimer <fweimer@redhat.com>
25203
25204 [BZ #15347]
25205 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25206
25207 2014-02-25 Will Newton <will.newton@linaro.org>
25208
25209 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25210 (__longjmp): Restore sp and lr before restoring callee
25211 saved registers. Add longjmp and longjmp_target
25212 SystemTap probe point.
25213 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25214 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25215 Define to zero to match jmpbuf layout.
25216 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25217 (__sigsetjmp): Save sp and lr before saving callee
25218 saved registers. Add setjmp SystemTap probe point.
25219
25220 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25221
25222 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25223
25224 2014-02-24 Andreas Schwab <schwab@suse.de>
25225
25226 [BZ #15804]
25227 * elf/pldd.c (wait_for_ptrace_stop): New function.
25228 (main): Call it after attaching.
25229
25230 2014-02-22 Roland McGrath <roland@hack.frob.com>
25231
25232 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25233 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25234 Versions files is now verboten.
25235 * hurd/Versions (libc: GLIBC_2.0):
25236 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25237 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25238 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25239 * mach/Versions: Likewise.
25240
25241 * csu/Versions: Remove unused %include.
25242 * resolv/Versions: Likewise.
25243
25244 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25245
25246 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25247 ($(objpfx)check-local-headers.out): Likewise.
25248 ($(objpfx)begin-end-check.out): Likewise.
25249 * Makerules (check-abi-%.out): Likewise.
25250 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25251 ($(objpfx)test2.cat): Likewise.
25252 ($(objpfx)de/libc.cat): Likewise.
25253 ($(objpfx)test-gencat.out): Likewise.
25254 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25255 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25256 ($(objpfx)noload-mem): Likewise.
25257 ($(objpfx)tst-pathopt.out): Likewise.
25258 ($(objpfx)tst-rtld-load-self.out): Likewise.
25259 ($(objpfx)tst-array1-cmp.out): Likewise.
25260 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25261 ($(objpfx)tst-array2-cmp.out): Likewise.
25262 ($(objpfx)tst-array3-cmp.out): Likewise.
25263 ($(objpfx)tst-array4-cmp.out): Likewise.
25264 ($(objpfx)tst-array5-cmp.out): Likewise.
25265 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25266 ($(objpfx)check-textrel.out): Likewise.
25267 ($(objpfx)check-execstack.out): Likewise.
25268 ($(objpfx)check-localplt.out): Likewise.
25269 ($(objpfx)order2-cmp.out): Likewise.
25270 ($(objpfx)tst-leaks1-mem): Likewise.
25271 ($(objpfx)tst-leaks1-static-mem): Likewise.
25272 ($(objpfx)tst-initorder-cmp.out): Likewise.
25273 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25274 ($(objpfx)tst-unused-dep.out): Likewise.
25275 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25276 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25277 * iconv/Makefile (test-iconvconfig): Likewise.
25278 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25279 ($(objpfx)iconv-test.out): Likewise.
25280 ($(objpfx)tst-tables.out): Likewise.
25281 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25282 ($(objpfx)tst-gettext.out): Likewise.
25283 ($(objpfx)tst-translit.out): Likewise.
25284 ($(objpfx)tst-gettext2.out): Likewise.
25285 ($(objpfx)tst-gettext4.out): Likewise.
25286 ($(objpfx)tst-gettext6.out): Likewise.
25287 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25288 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25289 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25290 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25291 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25292 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25293 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25294 ($(objpfx)wordexp-tst.out): Likewise.
25295 ($(objpfx)annexc.out): Likewise.
25296 ($(objpfx)tst-fnmatch-mem): Likewise.
25297 ($(objpfx)bug-regex2-mem): Likewise.
25298 ($(objpfx)bug-regex14-mem): Likewise.
25299 ($(objpfx)bug-regex21-mem): Likewise.
25300 ($(objpfx)bug-regex31-mem): Likewise.
25301 ($(objpfx)tst-vfork3-mem): Likewise.
25302 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25303 ($(objpfx)tst-pcre-mem): Likewise.
25304 ($(objpfx)tst-boost-mem): Likewise.
25305 ($(objpfx)tst-getconf.out): Likewise.
25306 ($(objpfx)bug-ga2-mem): Likewise.
25307 ($(objpfx)bug-glob2-mem): Likewise.
25308 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25309 ($(objpfx)mtrace-tst-leaks2): Likewise.
25310 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25311 ($(objpfx)tst-printf.out): Likewise.
25312 ($(objpfx)tst-setvbuf1.out): Likewise.
25313 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25314 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25315 ($(objpfx)tst-fmtmsg.out): Likewise.
25316 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25317 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25318
25319 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25320 * bits/sigaction.h [__USE_MISC]: Likewise.
25321 * bits/waitstatus.h: Update #endif comments.
25322 * ctype/ctype.h: Likewise.
25323 * dirent/dirent.h: Likewise.
25324 [__USE_MISC]: Remove redundant conditionals.
25325 * grp/grp.h: Update #endif comments.
25326 [__USE_GNU]: Remove redundant conditionals.
25327 [__USE_MISC]: Likewise.
25328 * inet/netinet/in.h [__USE_GNU]: Likewise.
25329 * io/sys/stat.h [__USE_MISC]: Likewise.
25330 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25331 * libio/bits/stdio.h: Update #endif comments.
25332 [__USE_MISC]: Remove redundant conditionals.
25333 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25334 * libio/stdio.h: Update #endif comments.
25335 [__USE_MISC]: Remove redundant conditionals.
25336 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25337 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25338 * math/math.h: Update #else and #endif comments.
25339 [__USE_MISC]: Remove redundant conditionals.
25340 * misc/sys/uio.h: Update #endif comments.
25341 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25342 * posix/glob.h [__USE_MISC]: Likewise.
25343 * posix/sys/types.h: Update #endif comments.
25344 [__USE_MISC]: Remove redundant conditionals.
25345 * posix/sys/wait.h: Update #endif comments.
25346 [__USE_MISC]: Remove redundant conditionals.
25347 * posix/unistd.h: Update #endif comments.
25348 [__USE_MISC]: Remove redundant conditionals.
25349 * pwd/pwd.h [__USE_GNU]: Likewise.
25350 [__USE_MISC]: Likewise.
25351 * resolv/netdb.h [__USE_GNU]: Likewise.
25352 * signal/signal.h: Update #endif comments.
25353 [__USE_MISC]: Remove redundant conditionals.
25354 * stdlib/stdlib.h: Update #else and #endif comments.
25355 [__USE_MISC]: Remove redundant conditionals.
25356 [__USE_GNU]: Likewise.
25357 * string/bits/string2.h [__USE_MISC]: Likewise.
25358 * string/string.h: Update #endif comments.
25359 [__USE_MISC]: Remove redundant conditionals.
25360 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25361 Likewise.
25362 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25363 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25364 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25365 Likewise.
25366 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25367 Likewise.
25368 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25369 comments.
25370 [__USE_MISC]: Remove redundant conditionals.
25371 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25372 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25373 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25374 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25375 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25376 Likewise.
25377 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25378 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25379 Likewise.
25380 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25381 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25382 Likewise.
25383 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25384 Likewise.
25385 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25386 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25387 Likewise.
25388 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25389 Likewise.
25390 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25391 * sysdeps/x86/bits/string.h: Update #endif comments.
25392 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25393 conditionals.
25394 * time/sys/time.h: Update #endif comments.
25395 * time/time.h: Likewise.
25396 [__USE_MISC]: Remove redundant conditionals.
25397
25398 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25399
25400 [BZ #16600]
25401 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25402
25403 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25404
25405 * Versions.def (librt): Add GLIBC_2.17.
25406
25407 2014-02-21 Adam Conrad <adconrad@0c3.net>
25408
25409 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25410 synonym for _SYS_AUXV_H to allow direct inclusion.
25411 * sysdeps/sparc/bits/hwcap.h: Likewise.
25412 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25413 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25414 * sysdeps/sparc/sysdep.h: Likewise.
25415
25416 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25417
25418 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25419
25420 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25421
25422 * benchtests/bench-strrchr.c: Print length instead of position.
25423
25424 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25425
25426 [BZ #16611]
25427 * sysdeps/unix/sysv/linux/kernel-features.h
25428 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25429 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25430 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25431 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25432 Likewise.
25433 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25434 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25435 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25436 (__ASSUME_SENDMMSG): Define instead of using previous
25437 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25438 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25439 (__ASSUME_SENDMMSG_SYSCALL): Define.
25440 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25441 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25442 Likewise.
25443 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25444 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25445 Likewise.
25446 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25447 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25448 Likewise.
25449 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25450 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25451 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25452 [__ASSUME_SENDMMSG]: Change conditionals to
25453 [__ASSUME_SENDMMSG_SOCKETCALL].
25454 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25455 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25456 Define.
25457 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25458 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25459 Likewise.
25460 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25461 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25462 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25463 [!__ASSUME_SENDMMSG]: Change conditional to
25464 [!__ASSUME_SENDMMSG_SOCKETCALL].
25465 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25466 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25467 Define.
25468
25469 [BZ #16610]
25470 * sysdeps/unix/sysv/linux/kernel-features.h
25471 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25472 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25473 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25474 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25475 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25476 [__i386__ || __sparc__]
25477 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25478 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25479 (__ASSUME_RECVMMSG): Define instead of using previous
25480 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25481 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25482 (__ASSUME_RECVMMSG_SYSCALL): Define.
25483 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25484 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25485 Likewise.
25486 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25487 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25488 Likewise.
25489 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25490 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25491 Likewise.
25492 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25493 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25494 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25495 [__ASSUME_RECVMMSG]: Change condition to
25496 [__ASSUME_RECVMMSG_SOCKETCALL].
25497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25498 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25499 Define.
25500 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25501 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25503 Likewise.
25504 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25505 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25506 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25507 [!__ASSUME_RECVMMSG]: Change condition to
25508 [!__ASSUME_RECVMMSG_SOCKETCALL].
25509 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25510 (__ASSUME_RECVMMSG_SYSCALL): Define.
25511
25512 [BZ #16609]
25513 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25514 __powerpc__ || __s390__ || __sh__ || __sparc__]
25515 (__ASSUME_SOCKETCALL): Define.
25516 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25517 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25518 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25519 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25520 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25521 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25522 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25523 (__ASSUME_ACCEPT4): Define instead of using previous
25524 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25525 __powerpc__ || __sparc__ || __s390__)] condition.
25526 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25527 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25528 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25529 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25530 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25531 [!__ASSUME_ACCEPT4]: Change condition to
25532 [!__ASSUME_ACCEPT4_SOCKETCALL].
25533 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25534 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25535 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25536 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25537 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25538 __ASSUME_ACCEPT4_SYSCALL.
25539 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25540 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25542 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25543 __ASSUME_ACCEPT4_SYSCALL.
25544 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25545 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25546 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25547 [__ASSUME_ACCEPT4]: Change condition to
25548 [__ASSUME_ACCEPT4_SOCKETCALL].
25549 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25550 (__ASSUME_SOCKETCALL): Define.
25551 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25552 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25553 (__ASSUME_SOCKETCALL): Define.
25554 (__ASSUME_ACCEPT4): Remove.
25555 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25556 Define.
25557 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25558 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25559 Likewise.
25560 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25561 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25562
25563 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25564 macro.
25565 (HWCAP_ARM_LPAE): Likewise.
25566 (HWCAP_ARM_EVTSTRM): Likewise.
25567 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25568 Add vpfd32, lpae and evtstrm.
25569 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25570 Increase to 22.
25571
25572 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25573
25574 * math/auto-libm-test-in: Add tests of clog10.
25575 * math/auto-libm-test-out: Regenerated.
25576 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25577 * sysdeps/i386/fpu/libm-test-ulps: Update.
25578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25579
25580 2014-02-18 Andreas Schwab <schwab@suse.de>
25581
25582 [BZ #16574]
25583 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25584 Store non-zero if the second buffer was newly allocated.
25585 (send_dg): Likewise.
25586 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25587 to send_vc and send_dg.
25588 (res_nsend): Pass NULL for ansp2_malloced.
25589 * resolv/res_query.c (__libc_res_nquery): Add parameter
25590 answerp2_malloced and pass it down to __libc_res_nsend.
25591 (res_nquery): Pass additional NULL to __libc_res_nquery.
25592 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25593 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25594 second answer buffer if answerp2_malloced was set.
25595 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25596 (__libc_res_nquerydomain): Add parameter
25597 answerp2_malloced and pass it down to __libc_res_nquery.
25598 (res_nquerydomain): Pass additional NULL to
25599 __libc_res_nquerydomain.
25600 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25601 additional NULL to __libc_res_nsend and __libc_res_nquery.
25602 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25603 additional NULL to __libc_res_nsearch.
25604 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25605 parameter of __libc_res_nsearch to check for separately allocated
25606 second buffer.
25607 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25608 __libc_res_nquery.
25609 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25610 additional NULL to __libc_res_nquery.
25611 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25612 __libc_res_nsearch.
25613 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25614 * include/resolv.h: Update prototypes of __libc_res_nquery,
25615 __libc_res_nsearch, __libc_res_nsend.
25616
25617 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25618
25619 * math/auto-libm-test-in: Add tests of fma.
25620 * math/auto-libm-test-out: Regenerated.
25621 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25622 (fma_towardzero_test_data): Likewise.
25623 (fma_downward_test_data): Likewise.
25624 (fma_upward_test_data): Likewise.
25625 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25626 mpc_mode.
25627 (rounding_modes): Add values for new field.
25628 (func_calc_method): Add value mpfr_fff_f.
25629 (func_calc_desc): Add mpfr_fff_f union field.
25630 (test_function): Add field exact_args.
25631 (FUNC): Add macro argument EXACT_ARGS.
25632 (FUNC_mpfr_f_f): Update call to FUNC.
25633 (FUNC_mpfr_f_f): Likewise.
25634 (FUNC_mpfr_ff_f): Likewise.
25635 (FUNC_mpfr_if_f): Likewise.
25636 (FUNC_mpc_c_f): Likewise.
25637 (FUNC_mpc_c_c): Likewise.
25638 (test_functions): Add fma. Update calls to FUNC.
25639 (handle_input_arg): Add argument exact_args.
25640 (add_test): Update call to handle_input_arg.
25641 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25642 (output_for_one_input_case): Update call to calc_generic_results.
25643 Recalculate exact zero results in each rounding mode.
25644
25645 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25646 non-negative before setting low bit.
25647 * math/auto-libm-test-in: Mark one asin test possibly having
25648 spurious underflow.
25649 * math/auto-libm-test-out: Regenerated.
25650 * sysdeps/i386/fpu/libm-test-ulps: Update.
25651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25652
25653 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25654
25655 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25656 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25657 ports/sysdeps/unix/sysv/linux/microblaze.
25658 * README: Add missing listing for microblaze*-*-linux-gnu.
25659
25660 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25661
25662 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25663 duplicate code
25664
25665 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25666
25667 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25668 * sysdeps/unix/sysv/linux/ia64: Move directory from
25669 ports/sysdeps/unix/sysv/linux/ia64.
25670 * README: Update listing for ia64-*-linux-gnu.
25671
25672 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25673 Joseph Myers <joseph@codesourcery.com>
25674
25675 * Makeconfig (test-name): New variable.
25676 (evaluate-test): Likewise.
25677 * Makerules (do-test-clean): Remove .test-result files.
25678 (common-mostlyclean): Likewise.
25679 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25680 * scripts/evaluate-test.sh: New file.
25681
25682 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25683
25684 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25685 separate $(objpfx)tst-fopenloc-cmp.out and
25686 $(objpfx)tst-fopenloc-mem.out targets.
25687 (tests): Update dependencies.
25688 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25689 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25690 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25691 (tst-rxspencer-no-utf8-ARGS): New variable.
25692 (tst-rxspencer-no-utf8-ENV): Likewise.
25693 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25694 instead of $(objpfx)tst-rxspencer-mem.
25695 ($(objpfx)tst-rxspencer-mem): Change target to
25696 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25697 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25698 * posix/tst-rxspencer-no-utf8.c: New file.
25699
25700 * elf/Makefile ($(objpfx)order.out): Remove rule.
25701 [$(run-built-tests) = yes] (tests): Depend on
25702 $(objpfx)order-cmp.out.
25703 ($(objpfx)order-cmp.out): New rule.
25704 [$(run-built-tests) = yes] (tests): Depend on
25705 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25706 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25707 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25708 $(objpfx)tst-array5-static-cmp.out.
25709 ($(objpfx)tst-array1.out): Remove rule.
25710 ($(objpfx)tst-array1-cmp.out): New rule.
25711 ($(objpfx)tst-array1-static.out): Remove rule.
25712 ($(objpfx)tst-array1-static-cmp.out): New rule.
25713 ($(objpfx)tst-array2.out): Remove rule.
25714 ($(objpfx)tst-array2-cmp.out): New rule.
25715 ($(objpfx)tst-array3.out): Remove rule.
25716 ($(objpfx)tst-array3-cmp.out): New rule.
25717 ($(objpfx)tst-array4.out): Remove rule.
25718 ($(objpfx)tst-array4-cmp.out): New rule.
25719 ($(objpfx)tst-array5.out): Remove rule.
25720 ($(objpfx)tst-array5-cmp.out): New rule.
25721 ($(objpfx)tst-array5-static.out): Remove rule.
25722 ($(objpfx)tst-array5-static-cmp.out): New rule.
25723 [$(run-built-tests) = yes] (tests): Depend on
25724 $(objpfx)order2-cmp.out.
25725 ($(objpfx)order2.out): Remove rule.
25726 ($(objpfx)order2-cmp.out): New rule.
25727 ($(objpfx)tst-initorder.out): Remove rule.
25728 [$(run-built-tests) = yes] (tests): Depend on
25729 $(objpfx)tst-initorder-cmp.out.
25730 ($(objpfx)tst-initorder-cmp.out): New rule.
25731 ($(objpfx)tst-initorder2.out): Remove rule.
25732 [$(run-built-tests) = yes] (tests): Depend on
25733 $(objpfx)tst-initorder2-cmp.out.
25734 ($(objpfx)tst-initorder2-cmp.out): New rule.
25735 [$(run-built-tests) = yes] (tests): Depend on
25736 $(objpfx)tst-unused-dep-cmp.out.
25737 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25738 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25739 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25740 on $(objpfx)tst-setvbuf1-cmp.out.
25741 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25742 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25743 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25744 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25745 ($(objpfx)tst-svc.out): Remove rule.
25746 ($(objpfx)tst-svc-cmp.out): New rule.
25747
25748 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25749
25750 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25751 * ctype/ctype.h [__USE_MISC]: Likewise.
25752 * dirent/dirent.h [__USE_MISC]: Likewise.
25753 * grp/grp.h [__USE_MISC]: Likewise.
25754 * io/fcntl.h [__USE_MISC]: Likewise.
25755 * io/sys/stat.h [__USE_MISC]: Likewise.
25756 * libio/stdio.h [__USE_MISC]: Likewise.
25757 * posix/unistd.h [__USE_MISC]: Likewise.
25758 * pwd/pwd.h [__USE_MISC]: Likewise.
25759 * stdlib.h [__USE_MISC]: Likewise.
25760 * string/bits/string2.h [__USE_MISC]: Likewise.
25761 * string/string.h [__USE_MISC]: Likewise.
25762 * time/time.h [__USE_MISC]: Likewise.
25763
25764 2014-02-13 Andreas Schwab <schwab@suse.de>
25765
25766 [BZ #16574]
25767 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25768 second answer buffer if it was separately allocated.
25769
25770 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25771
25772 * sysdeps/mips/math-tests.h: Include <features.h>.
25773 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25774 (ROUNDING_TESTS_long_double): Do not define.
25775 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25776 (EXCEPTION_TESTS_long_double): Likewise.
25777 * sysdeps/mips/mips64/libm-test-ulps: Update.
25778
25779 * include/features.h (__USE_BSD): Remove macro definitions.
25780 (__USE_SVID): Likewise.
25781 (_BSD_SOURCE): Likewise.
25782 (_SVID_SOURCE): Likewise.
25783 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25784 from definition of _DEFAULT_SOURCE.
25785 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25786 [_DEFAULT_SOURCE].
25787 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25788 * bits/mman.h [__USE_BSD]: Likewise.
25789 * bits/termios.h [__USE_BSD]: Likewise.
25790 * bits/waitstatus.h [__USE_BSD]: Likewise.
25791 * ctype/ctype.h [__USE_SVID]: Likewise.
25792 * dirent/dirent.h [__USE_BSD]: Likewise.
25793 * grp/grp.h [__USE_SVID]: Likewise.
25794 [__USE_BSD]: Likewise.
25795 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25796 * io/fcntl.h [__USE_BSD]: Likewise.
25797 * io/ftw.h [__USE_BSD]: Likewise.
25798 * io/sys/stat.h [__USE_BSD]: Likewise.
25799 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25800 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25801 * libio/stdio.h [__USE_SVID]: Likewise.
25802 [__USE_BSD]: Likewise.
25803 * math/math.h [__USE_SVID]: Likewise.
25804 [__USE_BSD]: Likewise.
25805 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25806 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25807 * misc/search.h [__USE_SVID]: Likewise.
25808 * misc/sys/mman.h [__USE_BSD]: Likewise.
25809 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25810 * misc/sys/uio.h [__USE_BSD]: Likewise.
25811 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25812 * posix/glob.h [__USE_BSD]: Likewise.
25813 * posix/regex.h [__USE_BSD]: Likewise.
25814 * posix/sys/types.h [__USE_BSD]: Likewise.
25815 [__USE_SVID]: Likewise.
25816 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25817 * posix/sys/wait.h [__USE_BSD]: Likewise.
25818 [__USE_SVID]: Likewise.
25819 * posix/unistd.h [__USE_BSD]: Likewise.
25820 [__USE_SVID]: Likewise.
25821 * pwd/pwd.h [__USE_SVID]: Likewise.
25822 * resolv/netdb.h [__USE_BSD]: Likewise.
25823 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25824 * signal/signal.h [__USE_BSD]: Likewise.
25825 [__USE_SVID]: Likewise.
25826 * socket/sys/socket.h [__USE_BSD]: Likewise.
25827 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25828 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25829 [__USE_SVID]: Likewise.
25830 * string/bits/string2.h [__USE_BSD]: Likewise.
25831 [__USE_SVID]: Likewise.
25832 * string/bits/string3.h [__USE_BSD]: Likewise.
25833 * string/endian.h [__USE_BSD]: Likewise.
25834 * string/string.h [__USE_SVID]: Likewise.
25835 [__USE_BSD]: Likewise.
25836 * string/strings.h [__USE_BSD]: Likewise.
25837 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25838 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25839 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25840 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25841 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25842 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25843 Likewise.
25844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25845 Likewise.
25846 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25847 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25848 Likewise.
25849 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25850 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25851 Likewise.
25852 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25853 Likewise.
25854 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25855 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25856 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25857 Likewise.
25858 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25859 Likewise.
25860 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25861 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25862 * termios/termios.h [__USE_BSD]: Likewise.
25863 * time/sys/time.h [__USE_BSD]: Likewise.
25864 * time/time.h [__USE_BSD]: Likewise.
25865 [__USE_SVID]: Likewise.
25866
25867 * Makefile (subdir_targets): Remove subdir_lint.out.
25868
25869 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25870 (do-tst-printf): Likewise.
25871 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25872 $(objpfx)tst-printf.out.
25873
25874 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25875
25876 * Makerules (check-abi-%): Change target to
25877 $(objpfx)check-abi-%.out.
25878 (check-abi target): Update dependencies.
25879 (check-abi-pattern variable): Redirect output of diff to $@.
25880 (check-abi variable): Likewise.
25881 * elf/Makefile (check-abi): Update dependencies.
25882
25883 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25884 unused.
25885 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25886 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25887 subnormal range.
25888 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25889 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25890 value has largest subnormal exponent.
25891 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25892 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25893 * sysdeps/aarch64/soft-fp/sfp-machine.h
25894 (_FP_TININESS_AFTER_ROUNDING): New macro.
25895 * sysdeps/alpha/soft-fp/sfp-machine.h
25896 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25897 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25898 Likewise.
25899 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25900 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25901 * sysdeps/mips/soft-fp/sfp-machine.h
25902 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25903 * sysdeps/powerpc/soft-fp/sfp-machine.h
25904 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25905 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25906 Likewise.
25907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25908 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25909 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25910 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25911 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25912 Likewise.
25913
25914 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
25915
25916 [BZ #16545]
25917 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25918 model 1.
25919
25920 2014-02-12 Richard Henderson <rth@redhat.com>
25921
25922 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25923 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25924 * sysdeps/unix/sysv/linux/alpha: Move directory from
25925 ports/sysdeps/unix/sysv/linux/alpha.
25926 * README: Update listing for alpha-*-linux-gnu.
25927
25928 2014-02-11 Joseph Myers <joseph@codesourcery.com>
25929
25930 * include/features.h: Update comment documenting feature test
25931 macros.
25932 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25933 _DEFAULT_SOURCE.
25934 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25935 (_SVID_SOURCE): Likewise.
25936 (_DEFAULT_SOURCE): Update description of default features.
25937 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25938 with _GNU_SOURCE.
25939 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25940 (S_ISVTX): Likewise.
25941 * manual/math.texi (Mathematical Constants): Likewise.
25942 * manual/signal.texi (Interrupted Primitives): Likewise.
25943 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25944 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25945 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25946 Don't refer to _SVID_SOURCE in warning text.
25947
25948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25949
25950 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25951 already defined.
25952 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25953 * sysdeps/mips/dl-lookup.c: Remove.
25954 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25955
25956 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25957
25958 [BZ #16447]
25959 * math/auto-libm-test-in: Add testcase for expl.
25960 * math/auto-libm-test-out: Regenerate.
25961 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25962 calculation of unsafe.
25963 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25964
25965 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
25966
25967 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25968 * sysdeps/unix/sysv/linux/aarch64: Move directory from
25969 ports/sysdeps/unix/sysv/linux/aarch64.
25970 * README: Update listing for aarch64*-*-linux-gnu.
25971
25972 2014-02-11 Will Newton <will.newton@linaro.org>
25973
25974 * manual/probes.texi (Mathematical Function Probes): Use
25975 "triggered" instead of "hit".
25976
25977 * manual/probes.texi (Internal Probes): Add documentation
25978 of setjmp, longjmp and longjmp_target probes.
25979
25980 * include/stap-probe.h: Add comment about probe argument
25981 format.
25982
25983 * malloc/mtrace.c (attribute_hidden): Remove unused macro
25984 definition. (tr_where, tr_freehook, tr_mallochook,
25985 tr_reallochook, tr_memalignhook): Use ANSI protoype.
25986
25987 2014-02-11 David S. Miller <davem@davemloft.net>
25988
25989 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25990 processing int_tests.
25991
25992 2014-02-10 Joseph Myers <joseph@codesourcery.com>
25993
25994 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25995 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25996 * sysdeps/unix/sysv/linux/mips: Move directory from
25997 ports/sysdeps/unix/sysv/linux/mips.
25998 * README: Update listing for mips-*-linux-gnu and
25999 mips64-*-linux-gnu.
26000
26001 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26002
26003 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26004 * sysdeps/unix/sysv/linux/m68k: Move directory from
26005 ports/sysdeps/unix/sysv/linux/m68k.
26006 * README: Update listing for m68k-*-linux-gnu.
26007
26008 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26009
26010 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26011 * sysdeps/unix/sysv/linux/generic: Move directory from
26012 ports/sysdeps/unix/sysv/linux/generic.
26013 * sysdeps/unix/sysv/linux/tile: Move directory from
26014 ports/sysdeps/unix/sysv/linux/tile.
26015 * README: Update listing for tile*-*-linux-gnu.
26016
26017 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26018
26019 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26020 __builtin_expect.
26021 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26022 * catgets/open_catalog.c (__open_catalog): Likewise.
26023 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26024 * debug/confstr_chk.c: Likewise.
26025 * debug/fread_chk.c (__fread_chk): Likewise.
26026 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26027 * debug/getgroups_chk.c: Likewise.
26028 * debug/mbsnrtowcs_chk.c: Likewise.
26029 * debug/mbsrtowcs_chk.c: Likewise.
26030 * debug/mbstowcs_chk.c: Likewise.
26031 * debug/memcpy_chk.c: Likewise.
26032 * debug/memmove_chk.c: Likewise.
26033 * debug/mempcpy_chk.c: Likewise.
26034 * debug/memset_chk.c: Likewise.
26035 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26036 * debug/strcat_chk.c (__strcat_chk): Likewise.
26037 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26038 * debug/strncat_chk.c (__strncat_chk): Likewise.
26039 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26040 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26041 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26042 * debug/wcpncpy_chk.c: Likewise.
26043 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26044 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26045 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26046 * debug/wcsncpy_chk.c: Likewise.
26047 * debug/wcsnrtombs_chk.c: Likewise.
26048 * debug/wcsrtombs_chk.c: Likewise.
26049 * debug/wcstombs_chk.c: Likewise.
26050 * debug/wmemcpy_chk.c: Likewise.
26051 * debug/wmemmove_chk.c: Likewise.
26052 * debug/wmempcpy_chk.c: Likewise.
26053 * debug/wmemset_chk.c: Likewise.
26054 * dirent/scandirat.c (SCANDIRAT): Likewise.
26055 * dlfcn/dladdr1.c (dladdr1): Likewise.
26056 * dlfcn/dladdr.c (dladdr): Likewise.
26057 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26058 * dlfcn/dlerror.c (__dlerror): Likewise.
26059 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26060 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26061 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26062 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26063 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26064 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26065 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26066 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26067 Likewise.
26068 * elf/dl-conflict.c: Likewise.
26069 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26070 * elf/dl-dst.h: Likewise.
26071 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26072 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26073 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26074 * elf/dl-init.c (call_init, _dl_init): Likewise.
26075 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26076 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26077 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26078 Likewise.
26079 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26080 Likewise.
26081 * elf/dl-minimal.c (__libc_memalign): Likewise.
26082 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26083 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26084 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26085 * elf/dl-sym.c (do_sym): Likewise.
26086 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26087 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26088 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26089 * elf/dl-writev.h (_dl_writev): Likewise.
26090 * elf/ldconfig.c (search_dir): Likewise.
26091 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26092 (dl_main): Likewise.
26093 * elf/setup-vdso.h (setup_vdso): Likewise.
26094 * grp/compat-initgroups.c (compat_call): Likewise.
26095 * grp/fgetgrent.c (fgetgrent): Likewise.
26096 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26097 * grp/putgrent.c (putgrent): Likewise.
26098 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26099 Likewise.
26100 * hurd/hurdinit.c: Likewise.
26101 * iconvdata/8bit-gap.c (struct): Likewise.
26102 * iconvdata/ansi_x3.110.c : Likewise.
26103 * iconvdata/big5.c : Likewise.
26104 * iconvdata/big5hkscs.c : Likewise.
26105 * iconvdata/cp1255.c: Likewise.
26106 * iconvdata/cp1258.c : Likewise.
26107 * iconvdata/cp932.c : Likewise.
26108 * iconvdata/euc-cn.c: Likewise.
26109 * iconvdata/euc-jisx0213.c : Likewise.
26110 * iconvdata/euc-jp.c: Likewise.
26111 * iconvdata/euc-jp-ms.c : Likewise.
26112 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26113 * iconvdata/gb18030.c : Likewise.
26114 * iconvdata/gbbig5.c (const): Likewise.
26115 * iconvdata/gbgbk.c: Likewise.
26116 * iconvdata/gbk.c : Likewise.
26117 * iconvdata/ibm1364.c : Likewise.
26118 * iconvdata/ibm930.c : Likewise.
26119 * iconvdata/ibm932.c: Likewise.
26120 * iconvdata/ibm933.c : Likewise.
26121 * iconvdata/ibm935.c : Likewise.
26122 * iconvdata/ibm937.c : Likewise.
26123 * iconvdata/ibm939.c : Likewise.
26124 * iconvdata/ibm943.c: Likewise.
26125 * iconvdata/iso_11548-1.c: Likewise.
26126 * iconvdata/iso-2022-cn.c : Likewise.
26127 * iconvdata/iso-2022-cn-ext.c : Likewise.
26128 * iconvdata/iso-2022-jp-3.c: Likewise.
26129 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26130 * iconvdata/iso-2022-kr.c : Likewise.
26131 * iconvdata/iso646.c (gconv_end): Likewise.
26132 * iconvdata/iso_6937-2.c : Likewise.
26133 * iconvdata/iso_6937.c : Likewise.
26134 * iconvdata/iso8859-1.c: Likewise.
26135 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26136 * iconvdata/shift_jisx0213.c : Likewise.
26137 * iconvdata/sjis.c : Likewise.
26138 * iconvdata/t.61.c : Likewise.
26139 * iconvdata/tcvn5712-1.c : Likewise.
26140 * iconvdata/tscii.c: Likewise.
26141 * iconvdata/uhc.c : Likewise.
26142 * iconvdata/unicode.c (gconv_end): Likewise.
26143 * iconvdata/utf-16.c (gconv_end): Likewise.
26144 * iconvdata/utf-32.c (gconv_end): Likewise.
26145 * iconvdata/utf-7.c (base64): Likewise.
26146 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26147 * iconv/gconv_close.c (__gconv_close): Likewise.
26148 * iconv/gconv_open.c (__gconv_open): Likewise.
26149 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26150 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26151 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26152 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26153 (ucs4le_internal_loop_single): Likewise.
26154 * iconv/iconv.c (iconv): Likewise.
26155 * iconv/iconv_close.c: Likewise.
26156 * iconv/loop.c (SINGLE): Likewise.
26157 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26158 * include/atomic.h: Likewise.
26159 * inet/inet6_option.c (option_alloc): Likewise.
26160 * intl/bindtextdom.c (set_binding_values): Likewise.
26161 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26162 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26163 * intl/localealias.c (read_alias_file): Likewise.
26164 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26165 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26166 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26167 * libio/fmemopen.c (fmemopen): Likewise.
26168 * libio/iofgets.c (_IO_fgets): Likewise.
26169 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26170 * libio/iofgetws.c (fgetws): Likewise.
26171 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26172 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26173 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26174 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26175 * locale/findlocale.c (_nl_find_locale): Likewise.
26176 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26177 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26178 Likewise.
26179 * locale/setlocale.c (setlocale): Likewise.
26180 * login/programs/pt_chown.c (main): Likewise.
26181 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26182 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26183 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26184 (mmap, mmap64, mremap, munmap): Likewise.
26185 * math/e_exp2l.c: Likewise.
26186 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26187 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26188 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26189 * math/s_catan.c (__catan): Likewise.
26190 * math/s_catanf.c (__catanf): Likewise.
26191 * math/s_catanh.c (__catanh): Likewise.
26192 * math/s_catanhf.c (__catanhf): Likewise.
26193 * math/s_catanhl.c (__catanhl): Likewise.
26194 * math/s_catanl.c (__catanl): Likewise.
26195 * math/s_ccosh.c (__ccosh): Likewise.
26196 * math/s_ccoshf.c (__ccoshf): Likewise.
26197 * math/s_ccoshl.c (__ccoshl): Likewise.
26198 * math/s_cexp.c (__cexp): Likewise.
26199 * math/s_cexpf.c (__cexpf): Likewise.
26200 * math/s_cexpl.c (__cexpl): Likewise.
26201 * math/s_clog10.c (__clog10): Likewise.
26202 * math/s_clog10f.c (__clog10f): Likewise.
26203 * math/s_clog10l.c (__clog10l): Likewise.
26204 * math/s_clog.c (__clog): Likewise.
26205 * math/s_clogf.c (__clogf): Likewise.
26206 * math/s_clogl.c (__clogl): Likewise.
26207 * math/s_csin.c (__csin): Likewise.
26208 * math/s_csinf.c (__csinf): Likewise.
26209 * math/s_csinh.c (__csinh): Likewise.
26210 * math/s_csinhf.c (__csinhf): Likewise.
26211 * math/s_csinhl.c (__csinhl): Likewise.
26212 * math/s_csinl.c (__csinl): Likewise.
26213 * math/s_csqrt.c (__csqrt): Likewise.
26214 * math/s_csqrtf.c (__csqrtf): Likewise.
26215 * math/s_csqrtl.c (__csqrtl): Likewise.
26216 * math/s_ctan.c (__ctan): Likewise.
26217 * math/s_ctanf.c (__ctanf): Likewise.
26218 * math/s_ctanh.c (__ctanh): Likewise.
26219 * math/s_ctanhf.c (__ctanhf): Likewise.
26220 * math/s_ctanhl.c (__ctanhl): Likewise.
26221 * math/s_ctanl.c (__ctanl): Likewise.
26222 * math/w_pow.c: Likewise.
26223 * math/w_powf.c: Likewise.
26224 * math/w_powl.c: Likewise.
26225 * math/w_scalb.c (sysv_scalb): Likewise.
26226 * math/w_scalbf.c (sysv_scalbf): Likewise.
26227 * math/w_scalbl.c (sysv_scalbl): Likewise.
26228 * misc/error.c (error_tail): Likewise.
26229 * misc/pselect.c (__pselect): Likewise.
26230 * nis/nis_callback.c (__nis_create_callback): Likewise.
26231 * nis/nis_call.c (__nisfind_server): Likewise.
26232 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26233 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26234 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26235 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26236 * nis/nis_lookup.c (nis_lookup): Likewise.
26237 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26238 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26239 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26240 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26241 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26242 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26243 * nis/nss_compat/compat-initgroups.c (add_group)
26244 (internal_getgrent_r): Likewise.
26245 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26246 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26247 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26248 (internal_getspnam_r): Likewise.
26249 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26250 (_nss_nis_getaliasbyname_r): Likewise.
26251 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26252 (_nss_nis_getntohost_r): Likewise.
26253 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26254 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26255 (_nss_nis_getgrgid_r): Likewise.
26256 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26257 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26258 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26259 (_nss_nis_gethostbyname4_r): Likewise.
26260 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26261 (initgroups_netid): Likewise.
26262 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26263 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26264 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26265 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26266 (_nss_nis_getprotobynumber_r): Likewise.
26267 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26268 (_nss_nis_getsecretkey): Likewise.
26269 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26270 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26271 (_nss_nis_getpwuid_r): Likewise.
26272 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26273 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26274 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26275 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26276 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26277 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26278 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26279 Likewise.
26280 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26281 (_nss_nisplus_getntohost_r): Likewise.
26282 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26283 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26284 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26285 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26286 Likewise.
26287 * nis/nss_nisplus/nisplus-initgroups.c
26288 (_nss_nisplus_initgroups_dyn): Likewise.
26289 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26290 (_nss_nisplus_getnetbyaddr_r): Likewise.
26291 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26292 (_nss_nisplus_getprotobynumber_r): Likewise.
26293 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26294 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26295 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26296 Likewise.
26297 * nis/nss_nisplus/nisplus-service.c
26298 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26299 (_nss_nisplus_getservbyport_r): Likewise.
26300 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26301 (_nss_nisplus_getspnam_r): Likewise.
26302 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26303 Likewise.
26304 * nscd/aicache.c (addhstaiX): Likewise.
26305 * nscd/cache.c (cache_search, prune_cache): Likewise.
26306 * nscd/connections.c (register_traced_file, send_ro_fd)
26307 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26308 (main_loop_epoll): Likewise.
26309 * nscd/grpcache.c (addgrbyX): Likewise.
26310 * nscd/hstcache.c (addhstbyX): Likewise.
26311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26312 * nscd/mem.c (gc, mempool_alloc): Likewise.
26313 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26314 (addinnetgrX): Likewise.
26315 * nscd/nscd-client.h (__nscd_acquire_maplock)
26316 (__nscd_drop_map_ref): Likewise.
26317 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26318 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26319 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26320 Likewise.
26321 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26322 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26323 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26324 (__nscd_get_map_ref): Likewise.
26325 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26326 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26327 Likewise.
26328 * nscd/pwdcache.c (addpwbyX): Likewise.
26329 * nscd/selinux.c (preserve_capabilities): Likewise.
26330 * nscd/servicescache.c (addservbyX): Likewise.
26331 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26332 * posix/fnmatch.c (fnmatch): Likewise.
26333 * posix/getopt.c (_getopt_internal_r): Likewise.
26334 * posix/glob.c (glob, glob_in_dir): Likewise.
26335 * posix/wordexp.c (exec_comm_child): Likewise.
26336 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26337 (getanswer_r, gaih_getanswer_slice): Likewise.
26338 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26339 * resolv/res_init.c: Likewise.
26340 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26341 * resolv/res_query.c (__libc_res_nquery): Likewise.
26342 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26343 Likewise.
26344 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26345 * stdio-common/perror.c (perror): Likewise.
26346 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26347 * stdio-common/tmpnam.c (tmpnam): Likewise.
26348 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26349 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26350 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26351 Likewise.
26352 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26353 * stdlib/putenv.c (putenv): Likewise.
26354 * stdlib/setenv.c (__add_to_environ): Likewise.
26355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26356 * stdlib/strtol_l.c (INTERNAL): Likewise.
26357 * string/memmem.c (memmem): Likewise.
26358 * string/strerror.c (strerror): Likewise.
26359 * string/strnlen.c (__strnlen): Likewise.
26360 * string/test-memmem.c (simple_memmem): Likewise.
26361 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26362 * sunrpc/pm_getport.c (__get_socket): Likewise.
26363 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26364 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26365 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26366 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26367 Likewise.
26368 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26369 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26370 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26371 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26372 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26373 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26374 Likewise.
26375 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26376 Likewise.
26377 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26378 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26380 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26381 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26383 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26385 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26386 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26387 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26388 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26389 Likewise.
26390 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26391 Likewise.
26392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26393 Likewise.
26394 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26396 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26397 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26398 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26399 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26400 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26402 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26404 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26406 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26407 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26410 Likewise.
26411 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26412 Likewise.
26413 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26414 Likewise.
26415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26416 Likewise.
26417 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26419 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26420 Likewise.
26421 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26422 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26423 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26424 * sysdeps/posix/sleep.c: Likewise.
26425 * sysdeps/posix/tempname.c: Likewise.
26426 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26427 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26428 Likewise.
26429 * sysdeps/powerpc/powerpc32/dl-machine.h
26430 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26431 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26433 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26434 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26435 Likewise.
26436 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26437 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26438 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26439 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26440 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26441 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26442 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26443 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26444 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26445 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26447 (elf_machine_lazy_rel): Likewise.
26448 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26450 (elf_machine_lazy_rel): Likewise.
26451 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26452 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26453 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26454 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26455 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26456 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26457 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26459 Likewise.
26460 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26461 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26462 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26463 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26464 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26465 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26466 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26467 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26468 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26469 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26470 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26471 Likewise.
26472 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26473 (__posix_fallocate64_l64): Likewise.
26474 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26475 (posix_fallocate): Likewise.
26476 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26477 Likewise.
26478 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26479 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26480 (getifaddrs_internal): Likewise.
26481 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26482 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26483 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26484 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26485 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26486 (__posix_fallocate64_l64): Likewise.
26487 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26488 Likewise.
26489 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26490 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26491 (__get_clockfreq): Likewise.
26492 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26493 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26494 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26497 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26498 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26499 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26500 Likewise.
26501 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26502 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26503 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26504 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26505 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26506 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26507 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26508 Likewise.
26509 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26510 (posix_fallocate): Likewise.
26511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26512 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26513 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26514 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26515 (elf_machine_rela, elf_machine_rela_relative)
26516 (elf_machine_lazy_rel): Likewise.
26517 * time/asctime.c (asctime_internal): Likewise.
26518 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26519 * time/tzset.c (__tzset_parse_tz): Likewise.
26520 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26521 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26522 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26523 * wcsmbs/wcsmbsload.h: Likewise.
26524
26525 [BZ #15894]
26526 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26527
26528 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26529 (arena_get2): Remove THREAD_STATS conditionals.
26530 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26531 (__malloc_stats, int): Likewise.
26532
26533 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26534
26535 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26536 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26537
26538 * manual/setjmp.texi: Fix typos/grammar errors.
26539
26540 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26541 Only return early when n is <= 0. Delete unused return statement.
26542
26543 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26544 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26545 * debug/tst-longjmp_chk3.c: New file.
26546
26547 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26548 (test_main): Replace code with set_fortify_handler call.
26549 * debug/test-strcpy_chk.c: Likewise.
26550 * debug/tst-chk1.c: Likewise.
26551 * debug/tst-longjmp_chk.c: Likewise.
26552 * test-skeleton.c: Include fcntl.h & paths.h
26553 (set_fortify_handler): Define.
26554
26555 * debug/tst-longjmp_chk.c: Add header comment and include
26556 ../test-skeleton.c.
26557 (do_test): Mark static.
26558 (TEST_FUNCTION): Define.
26559
26560 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26561 (IP_PMTUDISC_INTERFACE): Likewise.
26562 (IP_MULTICAST_IF): Likewise.
26563 (IP_MULTICAST_TTL): Likewise.
26564 (IP_MULTICAST_LOOP): Likewise.
26565 (IP_ADD_MEMBERSHIP): Likewise.
26566 (IP_DROP_MEMBERSHIP): Likewise.
26567 (IP_UNBLOCK_SOURCE): Likewise.
26568 (IP_BLOCK_SOURCE): Likewise.
26569 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26570 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26571 (IP_MSFILTER): Likewise.
26572 (MCAST_JOIN_GROUP): Likewise.
26573 (MCAST_BLOCK_SOURCE): Likewise.
26574 (MCAST_UNBLOCK_SOURCE): Likewise.
26575 (MCAST_LEAVE_GROUP): Likewise.
26576 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26577 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26578 (MCAST_MSFILTER): Likewise.
26579 (IP_MULTICAST_ALL): Likewise.
26580 (IP_UNICAST_IF): Likewise.
26581
26582 * timezone/Makefile: Delete $(have-ksh) check.
26583 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26584 * timezone/tzselect.ksh: Add +x mode bits.
26585
26586 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26587 (ANON_INODE_FS_MAGIC): Likewise.
26588 (BDEVFS_MAGIC): Likewise.
26589 (BINFMTFS_MAGIC): Likewise.
26590 (BTRFS_TEST_MAGIC): Likewise.
26591 (CRAMFS_MAGIC_WEND): Likewise.
26592 (DEBUGFS_MAGIC): Likewise.
26593 (ECRYPTFS_SUPER_MAGIC): Likewise.
26594 (EXT3_SUPER_MAGIC): Likewise.
26595 (EXT4_SUPER_MAGIC): Likewise.
26596 (FUTEXFS_SUPER_MAGIC): Likewise.
26597 (HOSTFS_SUPER_MAGIC): Likewise.
26598 (HUGETLBFS_MAGIC): Likewise.
26599 (MINIX3_SUPER_MAGIC): Likewise.
26600 (MTD_INODE_FS_MAGIC): Likewise.
26601 (NILFS_SUPER_MAGIC): Likewise.
26602 (OPENPROM_SUPER_MAGIC): Likewise.
26603 (PIPEFS_MAGIC): Likewise.
26604 (PSTOREFS_MAGIC): Likewise.
26605 (QNX6_SUPER_MAGIC): Likewise.
26606 (RAMFS_MAGIC): Likewise.
26607 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26608 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26609 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26610 (SECURITYFS_MAGIC): Likewise.
26611 (SELINUX_MAGIC): Likewise.
26612 (SMACK_MAGIC): Likewise.
26613 (SOCKFS_MAGIC): Likewise.
26614 (SQUASHFS_MAGIC): Likewise.
26615 (STACK_END_MAGIC): Likewise.
26616 (TMPFS_MAGIC): Likewise.
26617 (USBDEVICE_SUPER_MAGIC): Likewise.
26618 (V9FS_MAGIC): Likewise.
26619 (XENFS_SUPER_MAGIC): Likewise.
26620 (CRAMFS_MAGIC): Fix typo in comment.
26621 (EXT2_SUPER_MAGIC): Update comment.
26622 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26623
26624 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26625
26626 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26627 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26628 * sysdeps/unix/sysv/linux/arm: Move directory from
26629 ports/sysdeps/unix/sysv/linux/arm.
26630 * README: Update listing for arm-*-linux-gnueabi.
26631
26632 * README: Remove mention of am33.
26633
26634 2014-02-07 Roland McGrath <roland@hack.frob.com>
26635
26636 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26637 than the comma operator, to avoid "rhs of comma has no effect"
26638 compiler warnings.
26639 (__sigfillset, __sigandset, __sigorset): Likewise.
26640 * include/signal.h (__sigemptyset): Likewise.
26641 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26642
26643 2014-02-07 Allan McRae <allan@archlinux.org>
26644
26645 * version.h (RELEASE): Set to "development".
26646 (VERSION): Set to "2.19.90"
26647 * NEWS: Add 2.20 section.
26648
26649 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26650
26651 [BZ #16529]
26652 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26653
26654 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26655
26656 * manual/contrib.texi: Update entry for Carlos O'Donell,
26657 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26658
26659 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26660
26661 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26662
26663 * sysdeps/unix/sysv/linux/kernel-features.h
26664 [__LINUX_KERNEL_VERSION >= 0x020621]
26665 (__ASSUME_PROC_PID_TASK_COMM): Define.
26666
26667 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26668
26669 [BZ #16398]
26670 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26671 conversion when destination buffer does not have enough space.
26672 * libio/tst-ftell-partial-wide.c: New test case.
26673 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26674
26675 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26676 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26677 Leonard and Allan McRae.
26678
26679 2014-02-04 David S. Miller <davem@davemloft.net>
26680
26681 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26682 32-bit.
26683
26684 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26685
26686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26687 New file
26688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26689 New file
26690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26691 New file.
26692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26693 New file.
26694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26695 New file.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26697 New file.
26698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26699 New file.
26700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26701 New file.
26702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26703 New file.
26704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26705 New file.
26706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26707 New file.
26708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26709 New file.
26710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26711 New file.
26712
26713 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26714
26715 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26716 * shlib-versions: Likewise.
26717
26718 2014-02-04 Roland McGrath <roland@hack.frob.com>
26719 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26720
26721 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26722 (abilist-pattern): New variable, set to %-le.abilist.
26723
26724 * Makerules (abilist-pattern): New variable.
26725 (vpath): Use $(abilist-pattern) in place of %.abilist.
26726 (check-abi-% pattern rule): Likewise.
26727 (check-abi, update-abi): Likewise.
26728
26729 2014-02-04 Eric Wong <normalperson@yhbt.net>
26730
26731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26732
26733 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26734
26735 * manual/startup.texi: Add next, previous, and top entries for
26736 the `Program Arguments' and `Environment Variables' nodes.
26737
26738 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26739
26740 * manual/macros.texi: Add comments before MTASC-safety macros.
26741
26742 * manual/users.texi: Document MTASC-safety properties.
26743
26744 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26745 (pthread_getspecific, pthread_setspecific): Format with
26746 @deftypefun, and add @safety note.
26747 * manual/signal.texi: Move comments that analyze the above
26748 functions to their home place.
26749
26750 2014-02-03 Allan McRae <allan@archlinux.org>
26751
26752 * po/sl.po: Update Slovenian translation from translation project.
26753
26754 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26755
26756 * manual/time.texi (timegm): Add missing blank after @c.
26757 Reported by Joseph Myers <joseph@codesourcery.com>.
26758
26759 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26760
26761 * manual/check-safety.sh: New.
26762 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26763
26764 * manual/terminal.texi: Document MTASC-safety properties.
26765
26766 * manual/filesys.texi: Document MTASC-safety properties.
26767
26768 * manual/errno.texi: Document MTASC-safety properties.
26769
26770 * manual/intro.texi: Document safety identifiers and
26771 conditionals.
26772
26773 * manual/string.texi (wcstok): Fix prototype.
26774 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26775
26776 * manual/time.texi: Document MTASC-safety properties.
26777
26778 * manual/string.texi: Document MTASC-safety properties.
26779
26780 * manual/threads.texi: Document MTASC-safety properties.
26781
26782 * manual/stdio.texi: Document MTASC-safety properties.
26783
26784 * manual/syslog.texi: Document MTASC-safety properties.
26785
26786 * manual/sysinfo.texi: Document MTASC-safety properties.
26787
26788 * manual/startup.texi: Document MTASC-safety properties.
26789
26790 * manual/socket.texi: Document MTASC-safety properties.
26791
26792 * manual/signal.texi: Document MTASC-safety properties.
26793
26794 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26795
26796 * manual/setjmp.texi: Document MTASC-safety properties.
26797
26798 * manual/search.texi: Document MTASC-safety properties.
26799
26800 * manual/resource.texi: Document MTASC-safety properties.
26801
26802 * manual/process.texi: Document MTASC-safety properties.
26803
26804 * manual/platform.texi: Document MTASC-safety properties.
26805
26806 * manual/pipe.texi: Document MTASC-safety properties.
26807
26808 * manual/pattern.texi: Document MTASC-safety properties.
26809
26810 * manual/message.texi: Document MTASC-safety properties.
26811
26812 [BZ #12751]
26813 * manual/memory.texi: Document MTASC-safety properties.
26814
26815 * manual/math.texi: Document MTASC-safety properties.
26816
26817 * manual/locale.texi: Document MTASC-safety properties.
26818
26819 * manual/llio.texi: Document MTASC-safety properties.
26820
26821 * manual/libdl.texi: New.
26822
26823 * manual/lang.texi: Document MTASC-safety properties.
26824
26825 * manual/job.texi: Document MTASC-safety properties.
26826
26827 * manual/getopt.texi: Document MTASC-safety properties.
26828
26829 * manual/ctype.texi: Document MTASC-safety properties.
26830
26831 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26832
26833 [BZ #16046]
26834 * csu/libc-tls.c (static_map): Remove variable.
26835 (__libc_setup_tls): Use main executable's link map for TLS data.
26836 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26837 casing for LM_ID_BASE and GL(dl_nns).
26838 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26839 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26840 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26841 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26842 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26843 member.
26844 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26845 l_phnum members.
26846
26847 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26848
26849 * manual/debug.texi: Document MTASC-safety properties.
26850
26851 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26852
26853 [BZ #16510]
26854 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26855 of __x86_64__ when disabling x87 inline functions.
26856
26857 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26858
26859 * manual/charset.texi: Document MTASC-safety properties.
26860
26861 * manual/crypt.texi: Document MTASC-safety properties.
26862
26863 * manual/conf.texi: Document MTASC-safety properties.
26864
26865 * manual/arith.texi: Document MTASC-safety properties.
26866
26867 * manual/argp.texi: Document MTASC-safety properties.
26868
26869 * manual/macros.texi: Introduce macros to document multi
26870 thread, asynchronous signal and asynchronous cancellation
26871 safety properties.
26872 * manual/intro.texi: Introduce the properties themselves.
26873
26874 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26875
26876 * sysdeps/sh/sh4/Makefile: New file.
26877
26878 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26879
26880 * math/gen-libm-test.pl ($srcdir): New variable.
26881 ($auto_input): Use it.
26882
26883 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26884
26885 [BZ #16506]
26886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26887 access beyond array bounds when parsing netgroups file.
26888
26889 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26890 the old buffer before realloc.
26891
26892 2014-01-27 Allan McRae <allan@archlinux.org>
26893
26894 * po/fr.po: Update French translation from translation project.
26895
26896 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26897
26898 * sysdeps/sh/libm-test-ulps: Regenerate.
26899
26900 2014-01-24 David S. Miller <davem@davemloft.net>
26901
26902 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26903
26904 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26905
26906 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26907 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26908
26909 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26910
26911 [BZ #16474]
26912 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26913 string pointers after reallocation.
26914
26915 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26916
26917 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26918 __SH4A__ instead of __SH_FPU_ANY__.
26919
26920 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26921
26922 * sysdeps/sh/fpu_control.h: New file.
26923 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26924 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26925 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26926 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26927 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26928 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26929 * sysdeps/sh/sys/ucontext.h: Remove.
26930 * sysdeps/sh/sys: Remove directory.
26931
26932 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26933
26934 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26935 s390/sys/ucontext.h.
26936 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26937 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26938
26939 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26940
26941 [BZ #15605]
26942 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26943
26944 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26945
26946 [BZ#16431]
26947 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26948 Adjust the vDSO correctly for internal calls.
26949 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26950
26951 2014-01-20 Allan McRae <allan@archlinux.org>
26952
26953 * po/ca.po: Update Catalan translation from translation project.
26954
26955 2014-01-16 Mike Frysinger <vapier@gentoo.org>
26956
26957 * sysdeps/s390/sotruss-lib.c: New file.
26958
26959 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26960
26961 [BZ#16430]
26962 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26963 (__GI___gettimeofday): Alias for a different internal symbol to avoid
26964 local calls issues by not having a PLT stub required for IFUNC calls.
26965 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26966
26967 2014-01-16 Joseph Myers <joseph@codesourcery.com>
26968
26969 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26970 * math/test-fpucw-static.c: Likewise.
26971
26972 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26973
26974 [BZ #16453]
26975 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26976
26977 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26978
26979 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26980 implementation for powerpc.
26981
26982 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
26983
26984 [BZ #14782]
26985 * sysdeps/posix/system.c (__libc_system): Do not enable
26986 asynchronous cancellation.
26987
26988 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26989
26990 [BZ #16427]
26991 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26992 handling only for numbers special also in the IEEE case.
26993
26994 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26995
26996 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26997
26998 2014-01-11 Allan McRae <allan@archlinux.org>
26999
27000 * po/bg.po: Update Bulgarian translation from translation project.
27001
27002 * po/de.po: Update German translation from translation project.
27003
27004 2014-01-10 Roland McGrath <roland@hack.frob.com>
27005
27006 * sysdeps/generic/gcc-compat.h: New file.
27007
27008 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27009
27010 * benchtests/asin-inputs: Correct slow inputs.
27011 * benchtests/acos-inputs: Likewise.
27012
27013 2014-01-10 Allan McRae <allan@archlinux.org>
27014
27015 * po:sv.po: Update Swedish translation from translation project.
27016
27017 * po/vi.po: Update Vietnamese translation from translation project.
27018
27019 * po/eo.po: Update Esperanto translation from translation project.
27020
27021 * po/cs.po: Update Czech translation from translation project.
27022
27023 * po/nl.po: Update Dutch translation from translation project.
27024
27025 * po/pl.po: Update Polish translation from translation project.
27026
27027 * po/ru.po: Update Russian translation from translation project.
27028
27029 * po/uk.po: Update Ukrainian translation from translation project.
27030
27031 2014-01-08 Brooks Moses <bmoses@google.com>
27032
27033 * elf/dl-load.c: Fix comment typo.
27034
27035 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27036
27037 * po/header.pot: Rename to...
27038 * po/pot.header: ... this.
27039 * po/Makefile: Use pot.header.
27040
27041 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27042 Maxim Kuvyrkov <maxim@kugelworks.com>
27043
27044 [BZ #16394]
27045 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27046 SRC and DEST against LEN.
27047
27048 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27049
27050 [BZ #16414]
27051 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27052 implementation.
27053 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27054
27055 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27056
27057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27058
27059 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27060
27061 [BZ #16408]
27062 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27063 for large positive arguments.
27064
27065 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27066
27067 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27068
27069 * math/auto-libm-test-in: Mark various tests with
27070 xfail-rounding:ldbl-128ibm.
27071 * math/auto-libm-test-out: Regenerated.
27072
27073 [BZ #16407]
27074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27075 Increase overflow threshold.
27076
27077 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27078
27079 [BZ #14286]
27080 * stdio-common/vfprintf.c: Check for integer overflow.
27081
27082 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27083
27084 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27085 the first argument and return value of __tls_get_addr_internal.
27086
27087 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27088
27089 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27090 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27091
27092 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27093
27094 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27095 * sysdeps/s390/rtld-global-offsets.sym: New file.
27096 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27097 GLIBC_2.19 symbol.
27098 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27099 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27100 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27101 ... this.
27102 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27103 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27104 ... this.
27105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27106 Regenerate.
27107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27108 Regenerate.
27109 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27110 halfs of GPRs for high_gprs contexts.
27111 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27112 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27113 field.
27114 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27115 uc_flags field.
27116 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27117 64 bit versions:
27118 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27119 for high GPRs (uc_high_gprs) and for future extensions
27120 (__reserved).
27121 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27122 for future extensions (__reserved).
27123 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27124 64 bit versions:
27125 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27126 SC_HIGHGPRS offset definition.
27127 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27128 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27129
27130 * Versions.def: Add GLIBC_2.19 for libpthread.
27131 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27132 siglongjmp for libpthread with GLIBC_2.19 symver.
27133 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27134 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27135 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27136 * sysdeps/s390/__longjmp.c: New file.
27137 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27138 * sysdeps/s390/longjmp.c: New file.
27139 * sysdeps/s390/setjmp.S: New file.
27140 * sysdeps/s390/sigjmp.S: New file.
27141 * sysdeps/s390/v1-longjmp.c: New file.
27142 * sysdeps/s390/v1-setjmp.h: New file.
27143 * sysdeps/s390/v1-sigjmp.c: New file.
27144 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27145 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27146 GLIBC_2.19 version.
27147 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27148 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27149 versioned symbols for ____longjmp_chk.
27150 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27151 Likewise.
27152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27153 Regenerate.
27154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27155 Regenerate.
27156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27157 Regenerate.
27158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27159 Regenerate.
27160 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27161 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27162 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27163 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27164 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27165 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27166 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27167 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27168 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27169 * sysdeps/s390/rtld-__longjmp.c: New file.
27170 * sysdeps/s390/rtld-setjmp.S: New file.
27171
27172 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27173
27174 [BZ #16400]
27175 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27176 Return -__logl (x) for small positive arguments without evaluating
27177 a polynomial.
27178
27179 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27180
27181 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27182 Rename to ...
27183 (__ptrace_peeksiginfo_args): ... this.
27184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27187
27188 2014-01-06 Allan McRae <allan@archlinux.org>
27189
27190 * inet/netinet/in.h: Fix typo in comment.
27191
27192 2014-01-05 Andreas Jaeger <aj@suse.de>
27193
27194 * sysdeps/i386/fpu/libm-test-ulps: Update.
27195
27196 2014-01-05 Allan McRae <allan@archlinux.org>
27197
27198 * po/libc.pot: Regenerated.
27199
27200 * malloc/memusagestat.c: Fix gettext call formatting.
27201
27202 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27203
27204 * nscd/nscd.c: Improve usage() output.
27205
27206 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27207
27208 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27209 * sysdeps/unix/sysv/linux/configure: Regenerated.
27210 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27211 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27212
27213 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27214
27215 [BZ #16390]
27216 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27217 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27218
27219 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27220
27221 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27222 extra tokens at end of #undef directive.
27223 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27224 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27226
27227 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27228
27229 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27230
27231 * math/auto-libm-test-in: Mark various tests with
27232 xfail-rounding:ldbl-128ibm.
27233 * math/auto-libm-test-out: Regenerated.
27234
27235 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27236
27237 [BZ #16386]
27238 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27239 numbers with subnormal high part when calculating exponent.
27240
27241 [BZ #16385]
27242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27243 fabs.
27244
27245 [BZ #16384]
27246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27247 M_LN2l.
27248 (__ieee754_acoshl): Use __log1pl not __log1p.
27249
27250 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27251
27252 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27253 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27254 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27255 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27256 (reused_arena, arena_get2): Convert to GNU style.
27257 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27258 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27259 (memalign_check, __malloc_set_state): Likewise.
27260 * malloc/mallocbug.c (main): Likewise.
27261 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27262 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27263 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27264 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27265 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27266 (__posix_memalign, malloc_info): Likewise.
27267 * malloc/malloc.h: Likewise.
27268 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27269 (mallochook, memalignhook, reallochook, mabort): Likewise.
27270 * malloc/mcheck.h: Likewise.
27271 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27272 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27273 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27274 * malloc/morecore.c (__default_morecore): Likewise.
27275 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27276 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27277 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27278 (print_and_abort): Likewise.
27279 * malloc/obstack.h: Likewise.
27280 * malloc/set-freeres.c (__libc_freeres): Likewise.
27281 * malloc/tst-mallocstate.c (main): Likewise.
27282 * malloc/tst-mtrace.c (main): Likewise.
27283 * malloc/tst-realloc.c (do_test): Likewise.
27284
27285 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27286
27287 [BZ #16366]
27288 * nscd/netgroupcache.c (do_notfound): New function.
27289 (addgetnetgrentX): Use it.
27290
27291 [BZ # 16365]
27292 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27293 NSS_STATUS_NOTFOUND.
27294
27295 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27296
27297 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27299
27300 2014-01-01 Allan McRae <allan@archlinux.org>
27301
27302 * scripts/update-copyrights: Update configure input file suffix.
27303
27304 * NEWS: Update copyright year.
27305 * catgets/gencat.c: Likewise.
27306 * csu/version.c: Likewise.
27307 * debug/catchsegv.sh: Likewise.
27308 * debug/pcprofiledump.c: Likewise.
27309 * debug/xtrace.sh: Likewise.
27310 * elf/ldconfig.c: Likewise.
27311 * elf/ldd.bash.in: Likewise.
27312 * elf/pldd.c: Likewise.
27313 * elf/sotruss.ksh: Likewise.
27314 * elf/sprof.c: Likewise.
27315 * iconv/iconv_prog.c: Likewise.
27316 * iconv/iconvconfig.c: Likewise.
27317 * locale/programs/locale.c: Likewise.
27318 * locale/programs/localedef.c: Likewise.
27319 * login/programs/pt_chown.c: Likewise.
27320 * malloc/memusage.sh: Likewise.
27321 * malloc/memusagestat.c: Likewise.
27322 * malloc/mtrace.pl: Likewise.
27323 * manual/libc.texinfo: Likewise.
27324 * nscd/nscd.c: Likewise.
27325 * nss/getent.c: Likewise.
27326 * nss/makedb.c: Likewise.
27327 * posix/getconf.c: Likewise.
27328 * scripts/test-installation.pl: Likewise.
27329
27330 * All files with FSF copyright notices: Update copyright dates
27331 using scripts/update-copyrights.
27332 * intl/plural.c: Regenerated.
27333 * locale/programs/charmap-kw.h: Likewise.
27334 * locale/programs/locfile-kw.h: Likewise.
27335
27336 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27337
27338 * sysdeps/unix/sysv/linux/configure: Regenerated.
27339 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27340 the linux/fanotify.h header.
27341 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27342 HAVE_LINUX_FANOTIFY_H is defined.
27343
27344 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27345
27346 * benchtests/cos-inputs: New inputs.
27347 * benchtests/sin-inputs: Likewise.
27348
27349 * benchtests/atan-inputs: New inputs. Fix name of multiple
27350 precision fallback inputs.
27351
27352 * benchtests/atanh-inputs: New inputs.
27353 * benchtests/tanh-inputs: Likewise.
27354
27355 * benchtests/acosh-inputs: New inputs.
27356 * benchtests/asinh-inputs: Likewise.
27357
27358 * benchtests/cosh-inputs: New inputs.
27359 * benchtests/sinh-inputs: Likewise.
27360
27361 * benchtests/acos-inputs: Add more inputs.
27362 * benchtests/asin-inputs: Likewise.
27363
27364 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27365
27366 [BZ #16375]
27367 * manual/arith.texi: Fix spelling.
27368 * manual/charset.texi: Likewise.
27369 * manual/errno.texi: Likewise.
27370 * manual/filesys.texi: Likewise.
27371 * manual/lang.texi: Likewise.
27372 * manual/llio.texi: Likewise.
27373 * manual/locale.texi: Likewise.
27374 * manual/message.texi: Likewise.
27375 * manual/resource.texi: Likewise.
27376 * manual/search.texi: Likewise.
27377 * manual/setjmp.texi: Likewise.
27378 * manual/stdio.texi: Likewise.
27379 * manual/string.texi: Likewise.
27380 * manual/sysinfo.texi: Likewise.
27381 * manual/time.texi: Likewise.
27382
27383 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27384
27385 * po/sl.po: New file.
27386
27387 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27388
27389 * .gitignore: Add core/.gdbinit/.gdb_history.
27390
27391 2013-12-27 Allan McRae <allan@archlinux.org>
27392
27393 [BZ #16369]
27394 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27395 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27396
27397 2013-12-24 Brooks Moses <bmoses@google.com>
27398
27399 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27400 all compilers that claim C++98 compliance, not just GCC.
27401 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27402 Likewise.
27403
27404 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27405
27406 * NEWS: Restore accidentally deleted bug-fix entries.
27407
27408 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27409 Ondřej Bílka <neleai@seznam.cz>
27410
27411 [BZ #15073]
27412 * malloc/malloc.c (_int_free): Perform sanity check only if we
27413 have_lock.
27414
27415 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27416
27417 [BZ #12986]
27418 * manual/stdio.texi (String Input Conversions): Clarify that character
27419 classes are not supported.
27420
27421 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27422
27423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27424
27425 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27426
27427 [BZ #16337]
27428 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27429 Calculate results for small negative arguments directly rather
27430 than using reflection formula with special underflow handling.
27431
27432 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27433 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27434 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27435 (fchflags): Likewise.
27436 (revoke): Likewise.
27437 (setlogin): Likewise.
27438 (sigaltstack): Likewise.
27439 (wait4): Likewise.
27440 (sigblock): Remove.
27441 (sigsetmask): Likewise.
27442 (wait3): Likewise.
27443 (waitpid): Likewise.
27444 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27445 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27446 file.
27447 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27448 * sysdeps/unix/bsd/Makefile: ... here.
27449 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27450 * sysdeps/unix/bsd/Versions: ... here.
27451 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27452 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27453 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27454 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27455 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27456 * sysdeps/unix/bsd/sigblock.c: ... here.
27457 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27458 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27459 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27460 * sysdeps/unix/bsd/sigvec.c: ... here.
27461 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27462 * sysdeps/unix/bsd/tcdrain.c: ... here.
27463 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27464 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27465 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27466 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27467 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27468 * sysdeps/unix/bsd/wait.c: ... here.
27469 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27470 * sysdeps/unix/bsd/wait3.c: ... here.
27471 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27472 * sysdeps/unix/bsd/waitpid.c: ... here.
27473
27474 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27475
27476 [BZ #16356]
27477 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27478 round-to-nearest for [!USE_AS_EXPM1L].
27479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27480 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27481 more tests of exp and exp10. Expect some exp10 tests to miss
27482 exceptions or fail in directed rounding modes.
27483 * math/auto-libm-test-out: Regenerated.
27484 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27485 (exp10_test_tonearest): New function.
27486 (exp10_towardzero_test_data): New array.
27487 (exp10_test_towardzero): New function.
27488 (exp10_downward_test_data): New array.
27489 (exp10_test_downward): New function.
27490 (exp10_upward_test_data): New array.
27491 (exp10_test_upward): New function.
27492 (main): Call the new functions.
27493 * sysdeps/i386/fpu/libm-test-ulps: Update.
27494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27495
27496 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27497
27498 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27499 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27500 * math/auto-libm-test-out: Regenerated.
27501 * math/libm-test.inc (acosh_test_data): Add more tests.
27502 (atanh_test_data): Likewise.
27503 (ceil_test_data): Likewise.
27504 (copysign_test_data): Likewise.
27505 * sysdeps/i386/fpu/libm-test-ulps: Update.
27506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27507
27508 * timezone/checktab.awk: Update from tzcode 2013i.
27509 * timezone/private.h: Likewise.
27510 * timezone/scheck.c: Likewise.
27511 * timezone/tzfile.h: Likewise.
27512 * timezone/tzselect.ksh: Likewise.
27513 * timezone/zdump.c: Likewise.
27514 * timezone/zic.c: Likewise.
27515
27516 * math/auto-libm-test-in: Add tests of cpow.
27517 * math/auto-libm-test-out: Regenerated.
27518 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27519 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27520 mpc_cc_c.
27521 (func_calc_desc): Add mpc_cc_c union field.
27522 (test_functions): Add cpow.
27523 (special_fill_2pi): New function.
27524 (special_real_inputs): Add 2pi.
27525 (calc_generic_results): Handle mpc_cc_c.
27526 * sysdeps/i386/fpu/libm-test-ulps: Update.
27527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27528
27529 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27530 csqrt, ctan and ctanh.
27531 * math/auto-libm-test-out: Regenerated.
27532 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27533 (TEST_COND_x86): Likewise.
27534 (ccos_test_data): Use AUTO_TESTS_c_c.
27535 (ccosh_test_data): Likewise.
27536 (cexp_test_data): Likewise.
27537 (clog_test_data): Likewise.
27538 (csqrt_test_data): Likewise.
27539 (ctan_test_data): Likewise.
27540 (ctan_tonearest_test_data): Likewise.
27541 (ctan_towardzero_test_data): Likewise.
27542 (ctan_downward_test_data): Likewise.
27543 (ctan_upward_test_data): Likewise.
27544 (ctanh_test_data): Likewise.
27545 (ctanh_tonearest_test_data): Likewise.
27546 (ctanh_towardzero_test_data): Likewise.
27547 (ctanh_downward_test_data): Likewise.
27548 (ctanh_upward_test_data): Likewise.
27549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27550 mpc_c_c.
27551 (func_calc_desc): Add mpc_c_c union field.
27552 (FUNC_mpc_c_c): New macro.
27553 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27554 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27555 ctanh.
27556 (special_fill_min_subnorm_p120): New function.
27557 (special_real_inputs): Add min_subnorm_p120.
27558 (calc_generic_results): Handle mpc_c_c.
27559 * sysdeps/i386/fpu/libm-test-ulps: Update.
27560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27561
27562 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27563
27564 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27565 (do_sin_slow): New functions.
27566 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27567 (cslow2, csloww1, csloww2): Use the new functions.
27568
27569 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27570 Use M to change sign of result instead of X. Assume X is
27571 positive.
27572 (csloww1): Likewise.
27573 (__sin): Adjust.
27574 (__cos): Adjust.
27575
27576 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27577 arguments A and DA.
27578 (__sin): Adjust.
27579 (__cos): Likewise.
27580
27581 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27582 (__cos): Likewise.
27583 (sloww1): Don't adjust sign of DX.
27584 (csloww1): Likewise.
27585 (sloww2): Use X directly and don't adjust sign of DX.
27586 (csloww2): Likewise.
27587
27588 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27589
27590 * math/auto-libm-test-in: Add tests of cabs and carg.
27591 * math/auto-libm-test-out: Regenerated.
27592 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27593 (carg_test_data): Likewise.
27594 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27595 mpc_c_f.
27596 (func_calc_desc): Add mpc_c_f union field.
27597 (test_functions): Add cabs and carg.
27598 (calc_generic_results): Handle mpc_c_f.
27599
27600 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27601 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27602 as a macro and a compat symbol.
27603 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27604 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27605 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27606 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27607 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27608 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27609 not use .hidden.
27610 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27611 Likewise.
27612 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27613 Likewise.
27614 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27615 Likewise.
27616 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27617 Likewise.
27618 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27619 Likewise.
27620 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27621 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27622 from GLIBC_2.3.2.
27623
27624 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27625
27626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27627
27628 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27629
27630 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27631 trailing whitespace removed.
27632 * scripts/config.guess: Update to version 2013-11-29.
27633 * scripts/config.sub: Update to version 2013-10-01.
27634
27635 * math/auto-libm-test-in: Add tests of sincos.
27636 * math/auto-libm-test-out: Regenerated.
27637 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27638 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27639 mpfr_f_11.
27640 (func_calc_desc): Add mpfr_f_11 union field.
27641 (test_functions): Add sincos.
27642 (calc_generic_results): Handle mpfr_f_11.
27643 * sysdeps/i386/fpu/libm-test-ulps: Update.
27644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27645
27646 2013-12-19 Andreas Schwab <schwab@suse.de>
27647
27648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27649 CALL_MCOUNT.
27650 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27651 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27652 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27653
27654 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27655
27656 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27657 * sysdeps/i386/fpu/libm-test-ulps: Update.
27658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27659
27660 [BZ #16293]
27661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27662 round-to-nearest mode when using frndint.
27663 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27664 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27665 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27666 Likewise.
27667 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27668 sinh test to fail.
27669 * math/auto-libm-test-out: Regenerated.
27670 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27671 (TEST_COND_x86): Likewise.
27672 (expm1_tonearest_test_data): New array.
27673 (expm1_test_tonearest): New function.
27674 (expm1_towardzero_test_data): New array.
27675 (expm1_test_towardzero): New function.
27676 (expm1_downward_test_data): New array.
27677 (expm1_test_downward): New function.
27678 (expm1_upward_test_data): New array.
27679 (expm1_test_upward): New function.
27680 (main): Run the new test functions.
27681 * sysdeps/i386/fpu/libm-test-ulps: Update.
27682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27683
27684 * include/features.h: Update comment documenting feature test
27685 macros. Mention _DEFAULT_SOURCE in comment.
27686 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27687 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27688 _BSD_SOURCE and _SVID_SOURCE.
27689 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27690 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27691 !_SVID_SOURCE]: Likewise.
27692 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27693 (__USE_POSIX_IMPLICITLY): Define.
27694 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27695 (_POSIX_SOURCE): Undefine and redefine.
27696 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27697 (_POSIX_C_SOURCE): Likewise.
27698 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27699 (Feature Test Macros): Update documentation of default features.
27700
27701 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27702
27703 * benchtests/Makefile: Add bench-strtok.
27704 * benchtests/bench-strtok.c: New file: strtok benchtest.
27705
27706 2013-12-19 Allan McRae <allan@archlinux.org>
27707
27708 * manual/install.texi: Suppress menu for plain text output.
27709 * INSTALL: Regenerated.
27710
27711 2013-12-18 Brooks Moses <bmoses@google.com>
27712
27713 [BZ #15846]
27714 * misc/getauxval.c: Include errno.h.
27715 (__getauxval): Set errno to ENOENT if the requested type is not
27716 found.
27717 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27718 don't declare with __attribute_const__.
27719 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27720 * manual/startup.texi: Document that getauxval sets errno.
27721
27722 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27723
27724 * math/auto-libm-test-in: Add tests of jn and yn.
27725 * math/auto-libm-test-out: Regenerated.
27726 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27727 (yn_test_data): Likewise.
27728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27729 mpfr_if_f.
27730 (func_calc_desc): Add mpfr_if_f union field.
27731 (FUNC_mpfr_if_f): New macro.
27732 (test_functions): Add jn and yn.
27733 (calc_generic_results): Assert type of second input for
27734 mpfr_ff_f. Handle mpfr_if_f.
27735 (output_for_one_input_case): Disable all checking for arguments
27736 fitting floating-point types in case of an integer argument.
27737 * sysdeps/i386/fpu/libm-test-ulps: Update.
27738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27739
27740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27741 Don't expect fegetround reference in libm.so.
27742
27743 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27744
27745 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27746 $(config-cflags-nofma).
27747
27748 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27749
27750 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27751 * math/auto-libm-test-out: Regenerated.
27752
27753 [BZ #16338]
27754 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27755 to determine exponent and adjust argument to have exponent of -1.
27756 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27757 log2.
27758 * math/auto-libm-test-out: Regenerated.
27759 * sysdeps/i386/fpu/libm-test-ulps: Update.
27760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27761
27762 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27763
27764 * manual/probes.texi: Remove cases when per-thread arenas are
27765 disabled.
27766
27767 2013-12-18 Andreas Schwab <schwab@suse.de>
27768
27769 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27770 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27771 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27772 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27773 * sysdeps/i386/i686/multiarch/Makefile: Update.
27774 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27775
27776 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27777
27778 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27779 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27780
27781 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27782
27783 [BZ #15968]
27784 Support TZ transition times < 00:00:00.
27785 This is needed for version-3 tz-format files; it supports time
27786 stamps past 2037 for America/Godthab (the only entry in the tz
27787 database for which this change is relevant).
27788 * manual/time.texi (TZ Variable): Document transition times
27789 from -167:59:59 through -00:00:01.
27790 * time/tzset.c (tz_rule): Time of day is now signed.
27791 (__tzset_parse_tz): Parse negative time of day.
27792
27793 Document TZ transition times >= 25:00:00.
27794 * manual/time.texi (TZ Variable): Document transition times from
27795 25:00:00 through 167:59:59. These are already supported, and this
27796 support will help with version-3 tz-format files.
27797
27798 * manual/time.texi (TZ Variable): Modernize North America example
27799 to reflect current (i.e., 2007-and-later) daylight saving rules.
27800
27801 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27802
27803 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27804
27805 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27806 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27809 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27810 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27811 * sysdeps/unix/bsd/clock.c: Likewise.
27812 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27813 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27814 * sysdeps/unix/bsd/init-posix.c: Likewise.
27815 * sysdeps/unix/bsd/poll.c: Likewise.
27816 * sysdeps/unix/bsd/ptsname.c: Likewise.
27817 * sysdeps/unix/bsd/seekdir.c: Likewise.
27818 * sysdeps/unix/bsd/setegid.c: Likewise.
27819 * sysdeps/unix/bsd/seteuid.c: Likewise.
27820 * sysdeps/unix/bsd/setgid.c: Likewise.
27821 * sysdeps/unix/bsd/setrgid.c: Likewise.
27822 * sysdeps/unix/bsd/setruid.c: Likewise.
27823 * sysdeps/unix/bsd/setsid.c: Likewise.
27824 * sysdeps/unix/bsd/setuid.c: Likewise.
27825 * sysdeps/unix/bsd/sigaction.c: Likewise.
27826 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27827 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27828 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27829 * sysdeps/unix/bsd/telldir.c: Likewise.
27830 * sysdeps/unix/bsd/times.c: Likewise.
27831 * sysdeps/unix/bsd/usleep.c: Likewise.
27832
27833 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27834 ($(objpfx)libbsd-compat.a): Remove rule.
27835
27836 * include/features.h (__FAVOR_BSD): Do not define.
27837 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27838 features conflicting with POSIX.
27839 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27840 (_BSD_SOURCE): Remove description of not being a subset of other
27841 feature test macros.
27842 * manual/job.texi (getpgrp): Do not document BSD version.
27843 (getpgid): Do not document by reference to BSD getpgrp.
27844 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27845 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27846 * signal/signal.h [__FAVOR_BSD]: Likewise.
27847 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27848 instead of making contents conditional on [__FAVOR_BSD].
27849 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27850
27851 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27852
27853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27854
27855 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27856
27857 [BZ #16314]
27858 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27859 values below 2**-450, not 2**-500.
27860 * math/auto-libm-test-in: Don't allow spurious underflow from
27861 hypot.
27862 * math/auto-libm-test-out: Regenerated.
27863
27864 [BZ #16316]
27865 [BZ #16330]
27866 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27867 values of ha and hb and sort them after adjusting subnormal
27868 arguments.
27869 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27870 Likewise.
27871 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27872 values of ea and eb and sort them after adjusting subnormal
27873 arguments.
27874 * math/auto-libm-test-in: Do not expect some hypot tests of
27875 subnormals to fail. Add more hypot tests.
27876 * math/auto-libm-test-out: Regenerated.
27877
27878 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27879
27880 [BZ #13304]
27881 * sysdeps/sh/s_fma.c: New file.
27882 * sysdeps/sh/s_fmaf.c: New file.
27883 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27884 version.
27885 * sysdeps/sh/Implies: Add sh/soft-fp.
27886
27887 2013-12-16 Roland McGrath <roland@hack.frob.com>
27888
27889 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27890 level of indirection to members `objname', `errstring', `malloced'.
27891 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27892 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27893 it as the __longjmp argument (just pass 1 instead).
27894 (_dl_catch_error): Initialize C with argument pointers and address of
27895 volatile local ERRCODE rather than copying values out of C at return.
27896
27897 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27898
27899 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27900 * math/auto-libm-test-out: Regenerated.
27901 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27902 (hypot_test_data): Likewise.
27903 (pow_test_data): Likewise.
27904 (pow_tonearest_test_data): Likewise.
27905 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27906 mpfr_ff_f.
27907 (func_calc_desc): Add mpfr_ff_f union field.
27908 (FUNC_mpfr_ff_f): New macro.
27909 (test_functions): Add atan2, hypot and pow.
27910 (special_fill_min): New function.
27911 (special_fill_minus_min): Likewise.
27912 (special_fill_min_subnorm): Likewise.
27913 (special_fill_minus_min_subnorm): Likewise.
27914 (special_real_inputs): Add min, -min, min_subnorm and
27915 -min_subnorm.
27916 (calc_generic_results): Handle mpfr_ff_f.
27917 * sysdeps/i386/fpu/libm-test-ulps: Update.
27918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27919
27920 2013-12-16 Will Newton <will.newton@linaro.org>
27921
27922 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27923 (Aligned Memory Blocks): Add documentation for aligned_alloc
27924 and suggest it as an alternative to posix_memalign.
27925 (Hooks for Malloc): Document __memalign_hook is also called
27926 for aligned_alloc. (Summary of Malloc): Add summary for
27927 aligned alloc. Document __memalign_hook is also called
27928 for aligned_alloc.
27929
27930 2013-12-16 Will Newton <will.newton@linaro.org>
27931
27932 * manual/memory.texi (Malloc Examples): Clarify default
27933 alignment documentation. Suggest posix_memalign rather
27934 than memalign or valloc.
27935 (Aligned Memory Blocks): Remove suggestion to use memalign
27936 or valloc. Remove obsolete comment about BSD.
27937 Document memalign errno values and mark the function obsolete.
27938 Document posix_memalign returned error codes. Mark valloc
27939 as obsolete. (Hooks for Malloc): __memalign_hook is also
27940 called for posix_memalign and valloc.
27941 (Summary of Malloc): Add posix_memalign to function summary.
27942 __memalign_hook is also called for posix_memalign and valloc.
27943
27944 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27945
27946 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27947 TAYLOR_SIN.
27948 (__sin): Adjust.
27949 (__cos): Likewise.
27950 (sloww): Use mynumber union. Expand ternary operator into
27951 if-else statements.
27952 (cslow): use mynumber union.
27953
27954 2013-12-16 Allan McRae <allan@archlinux.org>
27955
27956 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27957 * configure: Regenerated.
27958
27959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27960
27961 [BZ #14120]
27962 * configure.ac: Added --enable-maintainer-mode. Check for
27963 autoconf when enabled.
27964 * configure: Regenerated.
27965
27966 * nscd/nscd.service: New file.
27967 * nscd/nscd.tmpfiles: New file.
27968
27969 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
27970
27971 [BZ #12100]
27972 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27973 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27974 * sysdeps/x86_64/multiarch/strstr.c: ... here.
27975 (strstr): Add __strstr_sse2_unaligned ifunc.
27976 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27977 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27978 (strcasestr): Remove __strcasestr_sse42 ifunc.
27979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27982
27983 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27984
27985 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27986 * sysdeps/sh/bits/fenv.h: ... here.
27987 * sysdeps/sh/sh4/fpu/bits: Remove directory.
27988
27989 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27990
27991 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27992
27993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27994 hypotf multiarch implementations.
27995 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27996 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27997 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27998 multiarch hypot for PPC64.
27999 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28002 multiarch hypotf for PPC64.
28003
28004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28005 modff multiarch implementations.
28006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28009 multiarch modf for PPC64.
28010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28013 multiarch modff for PPC64.
28014
28015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28016 and logl multiarch implementations.
28017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28020 multiarch logb for PPC64.
28021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28024 multiarch logb for PPC64.
28025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28028 multiarch logb for PPC64.
28029
28030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28031 isinff multiarch implementation.
28032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28033 file.
28034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28036 multiarch isinf for PPC64.
28037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28038 file.
28039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28040 multiarch isinff for PPC64.
28041
28042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28043 finitef multiarch implementation.
28044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28045 file.
28046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28048 multiarch finite for PPC64.
28049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28050 file.
28051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28052 multiarch finitef for PPC64.
28053
28054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28055 lrint multiarch implementation.
28056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28057 file.
28058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28060 multiarch llrint for PPC64.
28061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28062 multiarch lrint for PPC64.
28063
28064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28065 copysignf multiarch implementation.
28066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28067 file.
28068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28069 file.
28070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28071 multiarch copysign for PPC64.
28072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28073 multiarch copysignf for PPC64.
28074
28075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28076 multiarch implementation.
28077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28078 file.
28079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28080 file.
28081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28082 file.
28083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28084 file.
28085 multiarch llround for PPC64.
28086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28087 multiarch trunc for PPC64.
28088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28089 multiarch truncf for PPC64.
28090
28091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28092 multiarch implementation.
28093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28094 file.
28095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28096 file.
28097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28098 file.
28099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28100 file.
28101 multiarch llround for PPC64.
28102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28103 multiarch round for PPC64.
28104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28105 multiarch roundf for PPC64.
28106
28107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28108 multiarch implementation.
28109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28110 file.
28111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28112 file.
28113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28114 file.
28115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28116 file.
28117 multiarch llround for PPC64.
28118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28119 multiarch floor for PPC64.
28120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28121 multiarch floorf for PPC64.
28122
28123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28124 multiarch implementation.
28125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28126 file.
28127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28128 file.
28129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28130 file.
28131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28132 file.
28133 multiarch llround for PPC64.
28134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28135 multiarch ceil for PPC64.
28136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28137 multiarch ceilf for PPC64.
28138
28139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28140 multiarch implementation.
28141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28142 file.
28143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28144 file.
28145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28146 file.
28147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28148 multiarch llround for PPC64.
28149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28150 multiarch lround for PPC64.
28151
28152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28153 multiarch implementation.
28154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28157 file.
28158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28161 multiarch isnan for PPC64.
28162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28163 multiarch isnanf for PPC64.
28164
28165 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28166 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28167 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28168 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28169 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28171
28172 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28173 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28176
28177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28178 multiarch implementations.
28179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28180 (__libc_ifunc_impl_list): Likewise.
28181 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28182 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28183 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28184 multiarch stpcpy for PPC64.
28185
28186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28187 multiarch implementations.
28188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28189 (__libc_ifunc_impl_list): Likewise.
28190 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28191 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28192 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28193 multiarch strcpy for PPC64.
28194
28195 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28196 redefine function name.
28197 (_wordcopy_fwd_dest_aligned): Likewise.
28198 (_wordcopy_bwd_aligned): Likewise.
28199 (_wordcopy_bwd_dest_aligned): Likewise.
28200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28201 multiarch implementations.
28202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28203 (__libc_ifunc_impl_list): Likewise.
28204 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28205 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28206 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28207 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28208 multiarch wcscpy for PPC64.
28209
28210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28211 multiarch implementations.
28212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28213 (__libc_ifunc_impl_list): Likewise.
28214 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28215 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28216 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28217 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28218 multiarch wcscpy for PPC64.
28219
28220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28221 multiarch implementations.
28222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28223 (__libc_ifunc_impl_list): Likewise.
28224 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28225 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28226 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28227 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28228 multiarch wcsrchr for PPC64.
28229
28230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28231 multiarch implementations.
28232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28233 (__libc_ifunc_impl_list): Likewise.
28234 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28235 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28236 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28237 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28238 multiarch wcschr for PPC64.
28239
28240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28241 multiarch implementations.
28242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28243 (__libc_ifunc_impl_list): Likewise.
28244 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28245 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28246 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28247 multiarch strchrnul for PPC64.
28248
28249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28250 implementations.
28251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28252 (__libc_ifunc_impl_list): Likewise.
28253 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28254 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28255 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28256 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28257 strchr for PPC64.
28258
28259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28260 implementations.
28261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28262 (__libc_ifunc_impl_list): Likewise.
28263 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28264 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28265 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28266 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28267 strncmp for PPC64.
28268
28269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28270 multiarch implementations.
28271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28272 (__libc_ifunc_impl_list): Likewise.
28273 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28274 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28275 strncasecmp for PPC64.
28276 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28277 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28278 multiarch strncasecmp_l for PPC64.
28279
28280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28281 multiarch implementations.
28282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28283 (__libc_ifunc_impl_list): Likewise.
28284 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28285 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28286 multiarch strcasecmp for PPC64.
28287 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28288 file.
28289 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28290 multiarch strcasecmp_l for PPC64.
28291
28292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28293 implementations.
28294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28295 (__libc_ifunc_impl_list): Likewise.
28296 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28297 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28298 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28299 strnlen for PPC64.
28300
28301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28302 implementations.
28303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28304 (__libc_ifunc_impl_list): Likewise.
28305 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28306 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28307 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28308 strlen for PPC64.
28309
28310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28311 implementations.
28312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28313 (__libc_ifunc_impl_list): Likewise.
28314 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28315 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28316 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28317 rawmemrchr for PPC64.
28318
28319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28320 implementation.
28321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28322 (__libc_ifunc_impl_list): Likewise.
28323 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28324 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28325 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28326 memrchr for PPC64.
28327
28328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28329 implementation.
28330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28331 (__libc_ifunc_impl_list): Likewise.
28332 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28333 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28334 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28335 memchr for PPC64.
28336
28337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28338 implementation.
28339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28340 (__libc_ifunc_impl_list): Likewise.
28341 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28342 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28343 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28344 mempcpy for PPC64.
28345
28346 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28347 avoid cretion of __bzero symbol.
28348 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28349 Likewise.
28350 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28351 Likewise.
28352 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28353 Likewise.
28354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28355 multiarch implementations.
28356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28357 (__libc_ifunc_impl_list): Likewise.
28358 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28359 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28360 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28361 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28362 bzero for PPC32.
28363 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28364 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28365 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28366 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28367 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28368 memset for PPC64.
28369 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28370
28371 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28373 implementations.
28374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28375 (__libc_ifunc_impl_list): Likewise.
28376 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28377 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28378 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28379 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28380 memcmp for PPC64.
28381
28382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28383 multiarch for POWER/PPC64.
28384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28385 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28386 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28388 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28389 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28390 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28391 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28392 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28393 memcpy for PPC64.
28394
28395 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28396 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28397 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28398 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28399 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28400 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28401 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28402 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28403 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28404 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28405 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28406 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28407 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28408 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28409 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28417
28418 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28419
28420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28421
28422 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28423
28424 * benchtests/Makefile (bench): Add exp2 and log2.
28425 (LDLIBS-bench-exp2): Add -lm.
28426 (LDLIBS-bench-log2): Likewise.
28427 * benchtests/exp2-inputs: New inputs file.
28428 * benchtests/log2-inputs: New inputs file.
28429 * benchtests/log-inputs: Add new inputs.
28430 * benchtests/tan-inputs: Likewise.
28431
28432 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28433
28434 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28435 definition...
28436 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28437 (csloww2): ... from here.
28438
28439 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28440 instead of structures.
28441 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28442 (POLYNOMIAL): Likewise.
28443 (TAYLOR_SLOW): Likewise.
28444 (__sin): Likewise.
28445 (__cos): Likewise.
28446 (slow1): Likewise.
28447 (slow2): Likewise.
28448 (sloww): Likewise.
28449 (sloww1); Likewise.
28450 (sloww2): Likewise.
28451 (bsloww1): Likewise.
28452 (bsloww2): Likewise.
28453 (cslow2): Likewise.
28454 (csloww): Likewise.
28455 (csloww1): Likewise.
28456 (csloww2): Likewise.
28457
28458 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28459
28460 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28461 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28462 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28463 * malloc/hooks.c (realloc_check): Likewise.
28464
28465 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28466 * malloc/arena.c: Remove PER_THREAD conditional.
28467 [!PER_THREAD]: Remove code.
28468 (ptmalloc_unlock_all2): Likewise.
28469 (ptmalloc_init): Likewise.
28470 (_int_new_arena): Likewise.
28471 (arena_get2): Likewise.
28472 * malloc/hooks.c (__malloc_get_state): Likewise.
28473 (__malloc_set_state): Likewise.
28474 * malloc/malloc.c: Likewise.
28475 (struct malloc_state): Likewise.
28476 (struct malloc_par): Likewise.
28477 (__libc_realloc): Likewise.
28478 (__libc_mallopt): Likewise.
28479
28480 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28481
28482 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28483
28484 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28485
28486 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28487 macro to a function. Check for zero perturb_byte.
28488 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28489
28490 * malloc/malloc.c: (force_reg): Remove.
28491 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28492 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28493 force_reg by atomic_forced_read.
28494 * malloc/arena.c (ptmalloc_init): Likewise.
28495 * malloc/hooks.c (top_check): Likewise.
28496
28497 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28498
28499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28500
28501 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28502
28503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28504
28505 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28506
28507 * math/auto-libm-test-in: Add tests of lgamma.
28508 * math/auto-libm-test-out: Regenerated.
28509 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28510 (M_LOG_2_SQRT_PIl): Likewise.
28511 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28512 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28513 mpfr_f_f1.
28514 (func_calc_desc): Add mpfr_f_f1 union field.
28515 (ARGS1): New macro.
28516 (ARGS2): Likewise.
28517 (ARGS3): Likewise.
28518 (ARGS4): Likewise.
28519 (RET1): Likewise.
28520 (RET2): Likewise.
28521 (CALC): Likewise.
28522 (FUNC): Likewise.
28523 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28524 (test_functions): Add lgamma.
28525 (calc_generic_results): Handle mpfr_f_f1.
28526 * sysdeps/i386/fpu/libm-test-ulps: Update.
28527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28528
28529 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28530
28531 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28532 __mpn_add_n for PowerPC64/POWER7.
28533 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28534 __mpn_sub_n for PowerPC64/POWER7.
28535
28536 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28537 __mpn_addmul_1 for PowerPC64.
28538 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28539 __mpn_submul_1 for PowerPC64.
28540 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28541 for PowerPC64.
28542 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28543 for PowerPC64.
28544
28545 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28546
28547 [BZ #15089]
28548 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28549
28550 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28551
28552 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28553
28554 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28555 add multiarch folders.
28556 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28557 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28558 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28559 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28560 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28561 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28562 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28563 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28564 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28565 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28566 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28573
28574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28575 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28577 New file.
28578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28579 New file.
28580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28581 multiarch __ieee754_hypot for PowerPC32.
28582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28583 New file.
28584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28585 New file.
28586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28587 multiarch __ieee754_hypotf for PowerPC32.
28588
28589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28590 long_double_symbol only if __logbl is defined.
28591 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28592 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28593 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28594 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28596 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28597 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28598 path for implementation.
28599 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28602 logb, and logbl multiarch implementations for PowerPC32.
28603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28604 file.
28605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28606 file.
28607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28608 multiarch logb for PowerPC32.
28609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28610 file.
28611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28612 file.
28613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28614 multiarch logbf for PowerPC32.
28615 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28617 file.
28618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28619 multiarch logbl implementation for PowerPC32.
28620
28621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28622 and modff multiarch implementations.
28623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28624 New file.
28625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28626 New file.
28627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28628 multiarch modf for PowerPC32.
28629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28630 New file.
28631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28632 New file.
28633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28634 multiarch modff for PowerPC32.
28635
28636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28637 and lrintf multiarch implementations.
28638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28639 New file.
28640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28641 New file.
28642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28643 multiarch lrint for PowerPC32.
28644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28645 file: multiarch lrintf for PowerPC32.
28646
28647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28648 and lroundf multiarch implementations.
28649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28650 New file.
28651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28652 New file.
28653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28654 New file.
28655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28656 multiarch lround for PowerPC32.
28657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28658 file: multiarch lroundf for PowerPC32.
28659
28660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28661 copysign and copysignf multiarch implementations.
28662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28663 New file.
28664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28665 New file.
28666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28667 file: multiarch copysign for PowerPC32.
28668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28669 file: multiarch copysignf for PowerPC32.
28670
28671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28672 and truncf multiarch implementations.
28673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28674 New file.
28675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28676 file.
28677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28678 multiarch trunc for PowerPC32.
28679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28680 New file.
28681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28682 New file.
28683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28684 multiarch truncf for PowerPC32.
28685
28686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28687 and roundf multiarch implementations.
28688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28689 New file.
28690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28691 file.
28692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28693 multiarch round for PowerPC32.
28694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28695 New file.
28696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28697 New file.
28698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28699 multiarch roundf for PowerPC32.
28700
28701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28702 and floorf multiarch implementations.
28703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28704 New file.
28705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28706 file.
28707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28708 multiarch floor for PowerPC32.
28709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28710 New file.
28711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28712 New file.
28713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28714 multiarch floorf for PowerPC32.
28715
28716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28717 and ceilf multiarch implementations.
28718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28719 New file.
28720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28721 file.
28722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28723 multiarch ceil for PowerPC32.
28724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28725 New file.
28726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28727 file.
28728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28729 multiarch ceilf for PowerPC32.
28730
28731 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28732 is defined.
28733 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28734 FINITEF is defined.
28735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28736 and finitef multiarch implementations.
28737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28738 New file.
28739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28740 file.
28741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28742 multiarch finite for PowerPC32.
28743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28744 New file.
28745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28746 file: multiarch finitef for PowerPC32.
28747
28748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28749 and isinff multiarch implementations.
28750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28751 file.
28752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28753 file.
28754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28755 multiarch isinf for PowerPC32.
28756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28757 New file.
28758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28759 multiarch isinff for PowerPC32.
28760
28761 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28762 alias when __isnan is defined.
28763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28764 and isnanf multiarch implementations.
28765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28766 file.
28767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28768 file.
28769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28770 file.
28771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28772 file.
28773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28774 multiarch isnan for PowerPC32.
28775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28776 New file.
28777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28778 New file.
28779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28780 multiarch isnanf for PowerPC32.
28781
28782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28783 and sqrtf multiarch implementations.
28784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28785 file.
28786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28787 file.
28788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28789 multiarch sqrt for PowerPC32.
28790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28791 file.
28792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28793 file.
28794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28795 multiarch sqrtf for PowerPC32.
28796
28797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28798 and llroundf multiarch implementations.
28799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28800 New file.
28801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28802 New file.
28803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28804 New file.
28805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28806 file: multiarch llround for PowerPC32.
28807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28808 file: multiarch llroundf for PowerPC32.
28809
28810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28811 multiarch PowerPC32 fpu implementations.
28812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28813 New file.
28814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28815 New file.
28816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28817 multiarch llrint for PowerPC32.
28818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28819 New file.
28820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28821 New file.
28822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28823 file.
28824
28825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28826
28827 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28828 file.
28829 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28830 file.
28831 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28832 file.
28833 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28834 multiarch wordcopy for PPC32.
28835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28836 wordcopy objects.
28837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28838 (__libc_ifunc_impl_list): Likewise.
28839 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28840 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28841 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28842 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28843 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28844 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28845
28846 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28848 file.
28849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28850 file.
28851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28852 file.
28853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28854 multiarch wcscpy for PPC32.
28855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28856 multiarch objects.
28857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28858 (__libc_ifunc_impl_list): Likewise.
28859 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28860 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28861 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28862 sysdeps/powerpc/power6/wcscpy.c.
28863
28864 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28866 file.
28867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28868 file.
28869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28870 file.
28871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28872 multiarch wcsrchr for PPC32.
28873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28874 multiarch objects.
28875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28876 (__libc_ifunc_impl_list): Likewise.
28877 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28878 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28879 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28880 sysdeps/powerpc/power6/wcsrchr.c.
28881
28882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28883 file.
28884 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28885 file.
28886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28888 multiarch wcschr for PPc32.
28889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28890 multiarch objects.
28891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28892 (__libc_ifunc_impl_list): Likewise.
28893 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28894 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28895 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28896 sysdeps/powerpc/power6/wcschr.c.
28897
28898 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28899 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28900 file.
28901 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28902 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28903 file: multiarch strchr for PPC32.
28904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28905 multiarch objects.
28906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28907 (__libc_ifunc_impl_list): Likewise.
28908
28909 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28910 name.
28911 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28912 file.
28913 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28914 file.
28915 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28916 multiarch strchrnul for PPC32.
28917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28918 multiarch objects.
28919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28920 (__libc_ifunc_impl_list): Likewise.
28921
28922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28923 file.
28924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28925 multiarch strncasecmp for PPC32.
28926 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28927 file.
28928 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28929 multiarch strncasecmp_l for PPC32.
28930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28931 strncasecmp multiarch objects.
28932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28933 (__libc_ifunc_impl_list): Likewise.
28934
28935 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28936 file.
28937 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28938 multiarch strncasecmp for PPC32.
28939 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28940 New file.
28941 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28942 multiarch strcasecmp_l for PPC32.
28943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28944 multiarch objects.
28945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28946 (__libc_ifunc_impl_list): Likewise.
28947
28948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28949 file.
28950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28951 file.
28952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28953 multiarch strncmp for PPC32.
28954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28955 multiarch objects.
28956 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28957 (__libc_ifunc_impl_list): Likewise.
28958
28959 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28960 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28961 file.
28962 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28963 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28965 multiarch objects.
28966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28967 (__libc_ifunc_impl_list): Likewise.
28968
28969 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28970 file.
28971 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28972 file.
28973 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28975 multiarch objects.
28976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28977 (__libc_ifunc_impl_list): Likewise.
28978
28979 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28980 file.
28981 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28982 file.
28983 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28984 multiarch rawmemchr for PPC32.
28985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28986 multiarch objects.
28987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28988 (__libc_ifunc_impl_list): Likewise.
28989
28990 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28991 file.
28992 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28993 file.
28994 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28995 file: memrchr multiarch for PPC32.
28996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28997 multiarch objects.
28998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28999 (__libc_ifunc_impl_list): Likewise.
29000
29001 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29002 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29003 file.
29004 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29005 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29006 multiarch memchr for PPC32.
29007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29008 multiarch objects.
29009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29010 (__libc_ifunc_impl_list): Likewise.
29011
29012 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29013 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29014 file.
29015 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29016 file.
29017 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29018 file: multiarch mempcpy for PPC32.
29019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29020 multiarch objects.
29021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29022 (__libc_ifunc_impl_list): Likewise.
29023
29024 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29025 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29026 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29027 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29028 multiarch bzero for PPC32.
29029 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29030 file.
29031 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29032 file.
29033 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29034 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29035 file: multiarch memset for PPC32.
29036 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29038 memset multiarch objects.
29039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29040 (__libc_ifunc_impl_list): Likewise.
29041
29042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29043 file.
29044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29046 memcmp for PPC32.
29047 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29049 multiarch objects.
29050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29051 (__libc_ifunc_impl_list): Likewise.
29052
29053 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29054 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29055 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29056 file.
29057 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29058 file.
29059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29060 file.
29061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29062 multiarch memcpy for PPC32.
29063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29064 multiarch objects.
29065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29066 (__libc_ifunc_impl_list): Likewise.
29067
29068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29069 support multiarch for POWER/PPC32.
29070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29071 Likewise.
29072 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29074 Implies file to make multiarch folder appers before the fpu and
29075 default folder for power4 configuration.
29076
29077 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29078
29079 * scripts/bench.pl: Append volatile keyword to type.
29080
29081 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29082
29083 * sysdeps/sh/sotruss-lib.c: New file.
29084 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29085
29086 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29087
29088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29089
29090 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29091
29092 [BZ #6810]
29093 * math/w_tgamma.c: Include <errno.h>.
29094 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29095 * math/w_tgammaf.c: Include <errno.h>.
29096 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29097 * math/w_tgammal.c: Include <errno.h>.
29098 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29099 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29100 underflow. Add more tgamma tests.
29101 * math/auto-libm-test-out: Regenerated.
29102 * sysdeps/i386/fpu/libm-test-ulps: Update.
29103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29104
29105 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29106 sin, sinh, tan, tanh, tgamma, y0 and y1.
29107 * math/auto-libm-test-out: Regenerated.
29108 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29109 (TEST_COND_x86): Likewise.
29110 (M_E2l): Remove macro.
29111 (M_E3l): Likewise.
29112 (M_2_SQRT_PIl): Likewise.
29113 (M_SQRT_PIl): Likewise.
29114 (M_1_DIV_El): Likewise.
29115 (log_test_data): Use AUTO_TESTS_f_f.
29116 (log10_test_data): Likewise.
29117 (log1p_test_data): Likewise.
29118 (log2_test_data): Likewise.
29119 (sin_test_data): Likewise.
29120 (sin_tonearest_test_data): Likewise.
29121 (sin_towardzero_test_data): Likewise.
29122 (sin_downward_test_data): Likewise.
29123 (sin_upward_test_data): Likewise.
29124 (sinh_test_data): Likewise.
29125 (sinh_tonearest_test_data): Likewise.
29126 (sinh_towardzero_test_data): Likewise.
29127 (sinh_downward_test_data): Likewise.
29128 (sinh_upward_test_data): Likewise.
29129 (tan_test_data): Likewise.
29130 (tan_tonearest_test_data): Likewise.
29131 (tan_towardzero_test_data): Likewise.
29132 (tan_downward_test_data): Likewise.
29133 (tan_upward_test_data): Likewise.
29134 (tanh_test_data): Likewise.
29135 (tgamma_test_data): Likewise.
29136 (y0_test_data): Likewise.
29137 (y1_test_data): Likewise.
29138 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29139 (special_real_inputs): Add pi/4.
29140 * sysdeps/i386/fpu/libm-test-ulps: Update.
29141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29142
29143 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29144
29145 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29146 "longjmp_target" static probes.
29147 (__longjmp): Rename to __longjmp_symbol.
29148 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29149 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29150 on which longjmp to generate.
29151 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29152 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29153 probe.
29154 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29155 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29156 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29157 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29158 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29159 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29161 __longjmp_symbol based on which __longjmp to generate.
29162 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29163 probe.
29164 (setjmp): Rename to setjmp_symbol.
29165 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29166 (_setjmp): Rename to _setjmp_symbol.
29167 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29168 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29169 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29170 which setjmp to generate.
29171 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29172 "longjmp_target" static probes.
29173
29174 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29175
29176 * benchtests/README: Add note about output arguments.
29177 * benchtests/bench-sincos.c: Remove file.
29178 * benchtests/sincos-inputs: New file.
29179 * scripts/bench.pl: Identify output arguments and define
29180 static variables for them.
29181
29182 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29183
29184 [BZ #15941]
29185 * Makefile (INSTALL): Add install-plain.texi as the primary
29186 dependency.
29187 * manual/install-plain.texi: New file.
29188 * manual/install.texi: Include node directive only for
29189 non-plaintext output.
29190
29191 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29192
29193 * stdlib/longlong.h: Update from GCC.
29194
29195 [BZ #6807]
29196 [BZ #15901]
29197 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29198 * math/w_j0f.c (y0f): Likewise.
29199 * math/w_j0l.c (__y0l): Likewise.
29200 * math/w_j1.c (y1): Likewise.
29201 * math/w_j1f.c (y1f): Likewise.
29202 * math/w_j1l.c (__y1l): Likewise
29203 * math/w_jn.c (yn): Likewise.
29204 * math/w_jnf.c (ynf): Likewise.
29205 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29206 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29207 value for Bessel function domain errors outside _SVID_ mode.
29208 Adjust sign of return value for yn (negative integer, 0).
29209 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29210 by zero in return for negative x and set sign appropriately for
29211 negative n.
29212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29213 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29214 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29215 expectations in error cases.
29216 (y1_test_data): Likewise.
29217 (yn_test_data): Likewise.
29218 * sysdeps/i386/fpu/libm-test-ulps: Update.
29219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29220
29221 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29222
29223 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29224 "64" to "64-v1". Add "64-v2".
29225 (abi-64-options): Rename to ...
29226 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29227 (abi-64-condition): Rename to ...
29228 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29229 (abi-64-ld-soname): Rename to ...
29230 (abi-64-v1-ld-soname): ... this.
29231 (abi-64-v2-options): Define.
29232 (abi-64-v2-condition): Likewise.
29233 (abi-64-v2-ld-soname): Likewise.
29234 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29235 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29239
29240 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29241 Alan Modra <amodra@gmail.com>
29242
29243 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29244 New versions for use with the ELFv2 ABI.
29245 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29246 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29247 declaration.
29248 (struct La_ppc64v2_retval): Likewise.
29249 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29250 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29251 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29252 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29253 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29254 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29255 Do not save or restore CR.
29256 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29257 (_dl_profile_resolve): Do no save or restore CR. Support extended
29258 return values for ELFv2 ABI. Fix location of FPR return registers.
29259 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29260 updated values for _CALL_ELF == 2.
29261 (La_regs, La_retval, int_retval): Likewise.
29262
29263 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29264
29265 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29266 (FRAME_MIN_SIZE_PARM): Likewise.
29267 (FRAME_BACKCHAIN): Likewise.
29268 (FRAME_CR_SAVE): Likewise.
29269 (FRAME_LR_SAVE): Likewise.
29270 (FRAME_TOC_SAVE): Likewise.
29271 (FRAME_PARM_SAVE): Likewise.
29272 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29273 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29274 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29275 (call_mcount_parm_offset): New macro.
29276 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29277 (PROF): Use symbolic stack frame offsets.
29278 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29279 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29280 Redefine in terms of FRAME_MIN_SIZE.
29281 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29282 (_dl_profile_resolve): Likewise. Update comment.
29283 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29284 symbols stack frame offsets.
29285 (__sigsetjmp): Likewise.
29286 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29287 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29288 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29289 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29290
29291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29292 (FRAME_BACKCHAIN): Remove.
29293 (FRAME_CR_SAVE): Likewise.
29294 (FRAME_LR_SAVE): Likewise.
29295 (FRAME_COMPILER_DW): Likewise.
29296 (FRAME_LINKER_DW): Likewise.
29297 (FRAME_TOC_SAVE): Likewise.
29298 (FRAME_PARM_SAVE): Likewise.
29299 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29300 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29301 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29303 (CHECK_SP): Use symbolic stack frame offsets.
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29305 zone" instead of caller's parameter save area for temp storage.
29306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29307 Likewise. Also, use symbolic stack frame offsets.
29308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29309 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29310 our own stack frame instead of the caller's.
29311 (__socket): Use symbolic stack frame offsets.
29312
29313 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29314 Alan Modra <amodra@gmail.com>
29315
29316 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29317 Define.
29318 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29319 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29320 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29321 New function.
29322 (elf_machine_fixup_plt): Call it.
29323 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29324 reloc arguments.
29325 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29326 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29327 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29328 r2 before calling target.
29329
29330 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29331 Alan Modra <amodra@gmail.com>
29332
29333 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29334 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29335 versions of macros to support ELFv2 ABI.
29336 (LOCALENTRY): New macro.
29337 (ENTRY, EALIGN): Use it.
29338 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29339 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29340 fall through into ENTRY entry point.
29341 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29342 Only define if _CALL_ELF != 2.
29343
29344 (elf_machine_matches_host): Verify ABI version matches.
29345 (RTLD_START): Use LOCALENTRY.
29346 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29347 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29348 (PLT_ENTRY_WORDS): New macro.
29349 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29350 (elf_machine_runtime_setup): Support ELFv2 ABI.
29351 (elf_machine_fixup_plt): Likewise.
29352 (elf_machine_plt_conflict): Likewise.
29353 (resolve_ifunc): Likewise.
29354 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29355 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29356 Likewise.
29357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29358 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29360 (makecontext): Support ELFv2 ABI.
29361 * elf/elf.h (EF_PPC64_ABI): Define.
29362
29363 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29364
29365 * sysdeps/powerpc/powerpc64/sysdep.h
29366 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29367 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29368 (ENTRY) [ASSEMBLER]: ... but instead here ...
29369 (EALIGN) [ASSEMBLER]: ... and here.
29370 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29371 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29372 (ENTRY_2) [!ASSEMBLER]: Use it.
29373 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29374 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29375 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29376 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29377 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29379 Use PPC64_LOAD_FUNCPTR.
29380
29381 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29382
29383 2013-12-04 Alan Modra <amodra@gmail.com>
29384
29385 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29386 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29387 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29388 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29389
29390 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29391 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29392 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29393 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29394 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29395 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29396
29397 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29398
29399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29400 (__makecontext): Fix incorrect CFI when backtracing out of
29401 context created via makecontext.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29403 (__setcontext): Fix incorrect CFI during switch to new context.
29404 (__novec_setcontext): Likewise.
29405
29406 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29407
29408 [BZ #4772]
29409 * time/strptime_l.c (__strptime_internal): Allow modifiers
29410 in strptime.
29411 * time/tst-strptime.c (day_tests): Add testcase.
29412
29413 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29414
29415 * scripts/bench.pl: Skip over blank lines.
29416
29417 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29418
29419 [BZ #926]
29420 * manual/time.texi (Calendar Time): Clarify what timezone functions
29421 use.
29422
29423 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29424
29425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29426
29427 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29428
29429 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29430 implementation.
29431 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29432 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29433 * debug/memset_chk.c (__memset_chk): Likewise.
29434 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29435 * debug/strncpy_chk.c: Likewise.
29436
29437 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29438
29439 [BZ #15268]
29440 [BZ #15425]
29441 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29442 (__ieee754_exp): For possibly underflowing results, check size of
29443 result and force underflow exception if required.
29444 * math/auto-libm-test-in: Add more tests of exp.
29445 * math/auto-libm-test-out: Regenerated.
29446 * sysdeps/i386/fpu/libm-test-ulps: Update.
29447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29448
29449 [BZ #16283]
29450 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29451 * math/w_exp2f.c (__exp2f): Likewise.
29452 * math/w_exp2l.c (__exp2l): Likewise.
29453 * math/auto-libm-test-in: Do not allow missing errno on exp2
29454 underflow.
29455 * math/auto-libm-test-out: Regenerated.
29456
29457 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29458
29459 [BZ #16274]
29460 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29461 handle filename validation.
29462 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29463 (do_open): Delete.
29464
29465 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29466
29467 [BZ #6786]
29468 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29469 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29470 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29471 <float.h>.
29472 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29473 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29474 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29475 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29476 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29477 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29478 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29479 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29480 Add more erfc tests.
29481 * math/auto-libm-test-out: Regenerated.
29482 * sysdeps/i386/fpu/libm-test-ulps: Update.
29483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29484
29485 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29486 exp2, expm1, j0 and j1.
29487 * math/auto-libm-test-out: Regenerated.
29488 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29489 (erfc_test_data): Likewise.
29490 (exp_test_data): Likewise.
29491 (exp_tonearest_test_data): Likewise.
29492 (exp_towardzero_test_data): Likewise.
29493 (exp_downward_test_data): Likewise.
29494 (exp_upward_test_data): Likewise.
29495 (exp10_test_data): Likewise.
29496 (exp2_test_data): Likewise.
29497 (expm1_test_data): Likewise.
29498 (j0_test_data): Likewise.
29499 (j1_test_data): Likewise.
29500 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29501 (input_flag_type): Add flag_xfail_rounding.
29502 (input_flags): Add xfail-rounding.
29503 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29504 (output_for_one_input_case): Handle flag_xfail_rounding.
29505 * sysdeps/i386/fpu/libm-test-ulps: Update.
29506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29507
29508 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29509
29510 [BZ #16289]
29511 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29512 division by 0.
29513
29514 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29515
29516 [BZ #16195]
29517 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29518 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29519 (STAP_PROBE0): New macro.
29520 (STAP_PROBE1): Likewise.
29521 (STAP_PROBE2): Likewise.
29522 (STAP_PROBE3): Likewise.
29523 (STAP_PROBE4): Likewise.
29524
29525 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29526
29527 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29528
29529 2013-12-02 Steve Ellcey <sellcey@mips.com>
29530
29531 * benchtests/Makefile (bench): Add sqrt.
29532 (LDLIBS-bench-sqrt): New.
29533 * benchtests/sqrt-input: New.
29534
29535 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29536
29537 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29538 (GAIH_EAI): Likewise.
29539 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29540 (gaih_inet): Likewise.
29541 (getaddrinfo): Don't use GAIH_EAI.
29542
29543 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29544 (struct gaih): Remove definition.
29545
29546 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29547
29548 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29549 Use HERRNOP directly.
29550
29551 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29552
29553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29554
29555 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29556
29557 * math/gen-auto-libm-tests.c (test_functions): Add more
29558 single-argument functions.
29559 (special_fill_pi_2): New function.
29560 (special_fill_minus_pi_2): Likewise.
29561 (special_fill_pi_6): Likewise.
29562 (special_fill_minus_pi_6): Likewise.
29563 (special_fill_pi_3): Likewise.
29564 (special_fill_2pi_3): Likewise.
29565 (special_fill_e): Likewise.
29566 (special_fill_1_e): Likewise.
29567 (special_fill_e_minus_1): Likewise.
29568 (special_real_inputs): Add more special inputs.
29569 (output_for_one_input_case): Do not require ERANGE on underflow to
29570 zero if round-to-nearest result does not underflow to zero, unless
29571 exact results required.
29572 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29573 atan, atanh, cbrt, cos and cosh.
29574 * math/auto-libm-test-out: Regenerated.
29575 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29576 (acos_tonearest_test_data): Likewise.
29577 (acos_towardzero_test_data): Likewise.
29578 (acos_downward_test_data): Likewise.
29579 (acos_upward_test_data): Likewise.
29580 (acosh_test_data): Likewise.
29581 (asin_test_data): Likewise.
29582 (asin_tonearest_test_data): Likewise.
29583 (asin_towardzero_test_data): Likewise.
29584 (asin_upward_test_data): Likewise.
29585 (asinh_test_data): Likewise.
29586 (atan_test_data): Likewise.
29587 (atanh_test_data): Likewise.
29588 (cbrt_test_data): Likewise.
29589 (cos_test_data): Likewise.
29590 (cos_tonearest_test_data): Likewise.
29591 (cos_towardzero_test_data): Likewise.
29592 (cos_downward_test_data): Likewise.
29593 (cos_upward_test_data): Likewise.
29594 (cosh_test_data): Likewise.
29595 (cosh_tonearest_test_data): Likewise.
29596 (cosh_towardzero_test_data): Likewise.
29597 (cosh_downward_test_data): Likewise.
29598 (cosh_upward_test_data): Likewise.
29599 * sysdeps/i386/fpu/libm-test-ulps: Update.
29600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29601
29602 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29603
29604 [BZ #6787]
29605 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29606 * math/w_exp10f.c (__exp10f): Likewise.
29607 * math/w_exp10l.c (__exp10l): Likewise.
29608 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29609 errno settings in existing tests.
29610
29611 [BZ #14032]
29612 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29613 precision control set to double precision.
29614 * sysdeps/i386/fpu/w_sqrt.c: New file.
29615 * math/auto-libm-test-in: Add more tests.
29616 * math/auto-libm-test-out: Update.
29617
29618 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29619 (sqrt_test_tonearest): New function.
29620 (sqrt_towardzero_test_data): New variable.
29621 (sqrt_test_towardzero): New function.
29622 (sqrt_downward_test_data): New variable.
29623 (sqrt_test_downward): New function.
29624 (sqrt_upward_test_data): New variable.
29625 (sqrt_test_upward): New function.
29626 (main): Call the new functions.
29627
29628 * math/gen-auto-libm-tests.c: New file.
29629 * math/auto-libm-test-in: Likewise.
29630 * math/auto-libm-test-out: New generated file.
29631 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29632 variables.
29633 (%beautify): Add generated representations of zero.
29634 (top level): Set $auto_input and call parse_auto_input.
29635 (beautify): Remove trailing "f" from hex float constants.
29636 (parse_args): Handle XFAIL_TEST.
29637 (convert_condition): New function.
29638 (or_value): Likewise.
29639 (or_cond_value): Likewise.
29640 (generate_testfile): Handle AUTO_TESTS_* lines.
29641 (parse_auto_input): New function.
29642 * math/libm-test.inc (XFAIL_TEST): New macro.
29643 (ERRNO_UNCHANGED): Update value.
29644 (ERRNO_EDOM): Likewise.
29645 (ERRNO_ERANGE): Likewise.
29646 (IGNORE_RESULT): Likewise.
29647 (TEST_COND_flt_32): New macro.
29648 (TEST_COND_dbl_64): Likewise.
29649 (TEST_COND_ldbl_96_intel): Likewise.
29650 (TEST_COND_ldbl_96_m68k): Likewise.
29651 (TEST_COND_ldbl_128): Likewise.
29652 (TEST_COND_ldbl_128ibm): Likewise.
29653 (TEST_COND_long32): Likewise.
29654 (TEST_COND_long64): Likewise.
29655 (TEST_COND_before_rounding): Likewise.
29656 (TEST_COND_after_rounding): Likewise.
29657 (enable_test): Handle XFAIL_TEST flag.
29658 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29659 with finite results.
29660 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29661 auto-libm-test-out.
29662
29663 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29664 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29665
29666 [BZ #16214]
29667 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29668 __tls_get_addr_internal instead of __tls_get_offset in order to
29669 avoid GOT pointer dependency. Make rtld export
29670 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29671 __tls_get_addr since we are a __tls_get_offset platform.
29672 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29673 GOT pointer being set up before.
29674 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29675
29676 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29677
29678 * manual/math.texi (Errors in Math Functions): Document accuracy
29679 goals.
29680
29681 [BZ #15004]
29682 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29683 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29684 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29685 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29686 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29687 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29688 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29689 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29690 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29691 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29692 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29693 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29694 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29695 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29696 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29697 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29698
29699 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29700 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29701 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29702 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29703 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29704 Likewise.
29705 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29706 Likewise.
29707 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29708 Likewise.
29709 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29710 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29711 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29712 atomic-feupdateenv and flt-rounds.
29713 * sysdeps/powerpc/nofpu/Versions (libc): Add
29714 __atomic_feholdexcept, __atomic_feclearexcept,
29715 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29716 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29717 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29718 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29719 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29720 here.
29721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29722 Update.
29723
29724 * manual/arith.texi (FP Exceptions): Document that exceptions may
29725 not be raised when matherr is used.
29726 (Math Error Reporting): Document overflow in directed rounding
29727 modes. Document that errno may not be set when finite values are
29728 returned on overflow. Document intent to set errno on underflow
29729 only for underflow to zero.
29730
29731 [BZ #16271]
29732 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29733 round-to-nearest then adjust result for other rounding modes.
29734 * include/fenv.h (fegetround): Use libm_hidden_proto.
29735 * math/fegetround.c (fegetround): Use libm_hidden_def.
29736 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29737 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29738 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29739 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29740 Likewise.
29741 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29742 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29743 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29744 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29745
29746 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29747
29748 [BZ #16077]
29749 * nss/Versions (libnss_files): Add
29750 _nss_files_gethostbyname3_r.
29751 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29752 New function.
29753 (HOST_DB_LOOKUP): Remove macro.
29754 (_nss_files_gethostbyname_r): Implement function without the
29755 HOST_DB_LOOKUP macro.
29756 (_nss_files_gethostbyname2_r): Likewise.
29757
29758 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29759
29760 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29761
29762 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29763
29764 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29765 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29766 warning.
29767
29768 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29769
29770 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29771 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29772 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29773 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29774 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29775 __fe_nomask_env_priv and attribute_hidden.
29776 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29777 (libc_feupdateenv_test_ppc): Likewise.
29778 (libc_feresetround_ppc): Likewise.
29779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29780 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29781 compat_symbol macro.
29782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29783 (__fe_nomask_env): Likewise.
29784 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29785
29786 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29787
29788 * string/Makefile: Remove ifunc tests.
29789 * string/test-string.h: Define TEST_IFUNC.
29790 * string/test-bcopy-ifunc.c: Remove.
29791 * string/test-bzero-ifunc.c: Likewise.
29792 * string/test-memccpy-ifunc.c: Likewise.
29793 * string/test-memchr-ifunc.c: Likewise.
29794 * string/test-memcmp-ifunc.c: Likewise.
29795 * string/test-memcpy-ifunc.c: Likewise.
29796 * string/test-memmem-ifunc.c: Likewise.
29797 * string/test-memmove-ifunc.c: Likewise.
29798 * string/test-mempcpy-ifunc.c: Likewise.
29799 * string/test-memrchr-ifunc.c: Likewise.
29800 * string/test-memset-ifunc.c: Likewise.
29801 * string/test-rawmemchr-ifunc.c: Likewise.
29802 * string/test-stpcpy-ifunc.c: Likewise.
29803 * string/test-stpncpy-ifunc.c: Likewise.
29804 * string/test-strcasecmp-ifunc.c: Likewise.
29805 * string/test-strcasestr-ifunc.c: Likewise.
29806 * string/test-strcat-ifunc.c: Likewise.
29807 * string/test-strchr-ifunc.c: Likewise.
29808 * string/test-strchrnul-ifunc.c: Likewise.
29809 * string/test-strcmp-ifunc.c: Likewise.
29810 * string/test-strcpy-ifunc.c: Likewise.
29811 * string/test-strcspn-ifunc.c: Likewise.
29812 * string/test-strlen-ifunc.c: Likewise.
29813 * string/test-strncasecmp-ifunc.c: Likewise.
29814 * string/test-strncat-ifunc.c: Likewise.
29815 * string/test-strncmp-ifunc.c: Likewise.
29816 * string/test-strncpy-ifunc.c: Likewise.
29817 * string/test-strnlen-ifunc.c: Likewise.
29818 * string/test-strpbrk-ifunc.c: Likewise.
29819 * string/test-strrchr-ifunc.c: Likewise.
29820 * string/test-strspn-ifunc.c: Likewise.
29821 * string/test-strstr-ifunc.c: Likewise.
29822
29823 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29824
29825 * benchtests/Makefile: Remove ifunc tests.
29826 * benchtests/bench-string.h: Define TEST_IFUNC.
29827 * benchtests/bench-bcopy-ifunc.c: Remove.
29828 * benchtests/bench-bzero-ifunc.c: Likewise.
29829 * benchtests/bench-memccpy-ifunc.c: Likewise.
29830 * benchtests/bench-memchr-ifunc.c: Likewise.
29831 * benchtests/bench-memcmp-ifunc.c: Likewise.
29832 * benchtests/bench-memcpy-ifunc.c: Likewise.
29833 * benchtests/bench-memmem-ifunc.c: Likewise.
29834 * benchtests/bench-memmove-ifunc.c: Likewise.
29835 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29836 * benchtests/bench-memrchr-ifunc.c: Likewise.
29837 * benchtests/bench-memset-ifunc.c: Likewise.
29838 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29839 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29840 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29841 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29842 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29843 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29844 * benchtests/bench-strcat-ifunc.c: Likewise.
29845 * benchtests/bench-strchr-ifunc.c: Likewise.
29846 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29847 * benchtests/bench-strcmp-ifunc.c: Likewise.
29848 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29849 * benchtests/bench-strcpy-ifunc.c: Likewise.
29850 * benchtests/bench-strcspn-ifunc.c: Likewise.
29851 * benchtests/bench-strlen-ifunc.c: Likewise.
29852 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29853 * benchtests/bench-strncat-ifunc.c: Likewise.
29854 * benchtests/bench-strncmp-ifunc.c: Likewise.
29855 * benchtests/bench-strncpy-ifunc.c: Likewise.
29856 * benchtests/bench-strnlen-ifunc.c: Likewise.
29857 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29858 * benchtests/bench-strrchr-ifunc.c: Likewise.
29859 * benchtests/bench-strsep-ifunc.c: Likewise.
29860 * benchtests/bench-strspn-ifunc.c: Likewise.
29861 * benchtests/bench-strstr-ifunc.c: Likewise.
29862
29863 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29864
29865 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29866
29867 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29868
29869 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29870 * rt/aio.h: Likewise.
29871 * sysdeps/gnu/bits/utmp.h: Likewise.
29872 * sysdeps/gnu/bits/utmpx.h: Likewise.
29873 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29874 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29875 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29876 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29877 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29878 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29879 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29880 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29881 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29882 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29883 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29884 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29885 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29887 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29888 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29889 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29890 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29891 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29892 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29893 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29894 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29895 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29896 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29897 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29899 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29900 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29901 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29902 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29903 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29904 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29905 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29906 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29907 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29908 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29909 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29910 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29911 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29912 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29913 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29914 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29915
29916 2013-11-25 Carlos O'Donell <carlos@redhat.com>
29917
29918 [BZ #16245]
29919 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29920 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29921
29922 2013-11-25 Joseph Myers <joseph@codesourcery.com>
29923
29924 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29925 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29926 Likewise.
29927
29928 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29929
29930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29931 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29932 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29933 (__fesetround): Remove define.
29934 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29935 rounding and exceptions handling.
29936 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29937 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29938 (__fe_nomask_env): Likewise.
29939 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29940 __fegetround instead of fegetround.
29941 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29942 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29943
29944 2013-11-21 Roland McGrath <roland@hack.frob.com>
29945
29946 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29947 it's there.
29948
29949 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29950
29951 2013-11-21 Meador Inge <meadori@codesourcery.com>
29952
29953 [BZ #11157]
29954 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29955 (encrypt_r): Likewise.
29956 * malloc/obstack.h (obstack_free): Likewise.
29957 * posix/unistd.h (encrypt): Likewise.
29958
29959 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
29960
29961 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29962 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29963 DL_CALL_DT_FINI() that call the functions directly.
29964 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29965 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29966 * elf/dl-fini.c: Likewise.
29967
29968 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
29969
29970 * malloc/hooks.c (memalign_check): Add alignment rounding.
29971 * malloc/malloc.c (_mid_memalign): New function.
29972 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29973 Implement by calling _mid_memalign.
29974 * manual/probes.texi (Memory Allocation Probes): Remove
29975 memory_valloc_retry and memory_pvalloc_retry.
29976
29977 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29978
29979 * locale/programs/locarchive.c (open_archive): Add const
29980 qualifier to ARCHIVEFNAME and copy default fname to
29981 DEFAULT_FNAME.
29982
29983 [BZ #15601]
29984 * libio/tst-widetext.input: Rename Oriya to Odia.
29985 * locale/iso-639.def: Likewise.
29986
29987 * manual/probes.texi (Mathematical Function Probes): Add
29988 documentation for sin, cos, asin and acos probes.
29989 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29990 (__sin32): Add slowasin probe.
29991 (__cos32): Add slowacos probe.
29992 (__mpsin): Add slowsin probe.
29993 (__mpcos): Add slowcos probe.
29994
29995 2013-11-19 Joseph Myers <joseph@codesourcery.com>
29996
29997 [BZ #15483]
29998 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29999 thread-local __sim_exceptions_thread and global
30000 __sim_exceptions_global.
30001 (__sim_disabled_exceptions): Change to thread-local
30002 __sim_disabled_exceptions_thread and global
30003 __sim_disabled_exceptions_global.
30004 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30005 and global __sim_round_mode_global.
30006 (__simulate_exceptions): Use thread-local floating-point state and
30007 set global state from it as needed.
30008 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30009 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30010 __sim_round_mode_thread.
30011 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30012 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30013 and global __sim_exceptions_global.
30014 (__sim_disabled_exceptions): Change to thread-local
30015 __sim_disabled_exceptions_thread and global
30016 __sim_disabled_exceptions_global.
30017 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30018 and global __sim_round_mode_global.
30019 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30020 (SIM_SET_GLOBAL): Likewise.
30021 * sysdeps/powerpc/soft-fp/sfp-machine.h
30022 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30023 __sim_round_mode_thread.
30024 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30025 __sim_disabled_exceptions_thread.
30026 (__sim_exceptions): Change to __sim_exceptions_thread.
30027 (__sim_disabled_exceptions): Change to
30028 __sim_disabled_exceptions_thread.
30029 (__sim_round_mode): Change to __sim_round_mode_thread.
30030 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30031 thread-local floating-point state and set global state from it as
30032 needed.
30033 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30034 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30035 (__sim_disabled_exceptions): Remove extern declaration.
30036 (feenableexcept): Use thread-local floating-point state and set
30037 global state from it as needed.
30038 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30039 extern declaration.
30040 (__sim_disabled_exceptions): Likewise.
30041 (__sim_round_mode): Likewise.
30042 (__fegetenv): Use thread-local floating-point state.
30043 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30044 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30045 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30046 floating-point state and set global state from it as needed.
30047 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30048 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30049 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30050 Likewise.
30051 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30052 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30053 Likewise.
30054 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30055 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30056 Use __sim_round_mode_thread.
30057 * math/test-fenv-tls.c: New file.
30058 * math/Makefile (tests): Add test-fenv-tls.
30059 ($(objpfx)test-fenv-tls): Depend on
30060 $(common-objpfx)nptl/libpthread.so.
30061
30062 2013-11-19 Andreas Schwab <schwab@suse.de>
30063
30064 * locale/programs/locale.c (show_info): Decode wordarray elements.
30065 * locale/categories.def (LC_MONETARY): Add element for
30066 _NL_MONETARY_CRNCYSTR.
30067 * locale/C-monetary.c (conversion_rate): New variable.
30068 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30069 element.
30070
30071 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30072
30073 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30074 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30075
30076 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30077
30078 * elf/Makefile (tst-auxv): New test.
30079 * elf/tst-auxv.c: New
30080 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30081
30082 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30083
30084 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30085 (hidden_proto): Caller changed.
30086 (hidden_tls_proto): New macro.
30087 (libc_hidden_tls_proto): Likewise.
30088 (rtld_hidden_tls_proto): Likewise.
30089 (libm_hidden_tls_proto): Likewise.
30090 (libresolv_hidden_tls_proto): Likewise.
30091 (librt_hidden_tls_proto): Likewise.
30092 (libdl_hidden_tls_proto): Likewise.
30093 (libnss_files_hidden_tls_proto): Likewise.
30094 (libnsl_hidden_tls_proto): Likewise.
30095 (libnss_nisplus_hidden_tls_proto): Likewise.
30096 (libutil_hidden_tls_proto): Likewise.
30097
30098 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30099
30100 [BZ #10253]
30101 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30102 (decompose_rpath): Defer expansion to fillin_rpath.
30103 (_dl_init_paths): Pass linkmap to fillin_rpath.
30104
30105 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30106
30107 * benchtests/Makefile: Add strsep.
30108 * benchtests/bench-strsep.c: New file: strsep benchtest.
30109 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30110
30111 2013-11-18 Andreas Schwab <schwab@suse.de>
30112
30113 * locale/programs/locale.c (show_info) [case byte]: Check for
30114 '\377' instead of '\177'.
30115 * locale/C-monetary.c (not_available): Always use "\377".
30116 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30117 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30118 detect unavailable sign_posn locale elements.
30119 * locale/localeconv.c (__localeconv): For grouping and
30120 mon_grouping handle "\177" and "\377" like no grouping.
30121 (INT_ELEM): New macro. Use it to set all numeric members.
30122 * locale/programs/ld-monetary.c (monetary_read)
30123 <tok_mon_grouping>: Normalize single -1 to the empty string.
30124 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30125 Likewise.
30126
30127 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30128
30129 [BZ #16055]
30130 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30131 when we match (nil).
30132 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30133
30134 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30135
30136 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30137 (NO_TEST_INLINE): Update value.
30138 (ERRNO_UNCHANGED): Likewise.
30139 (ERRNO_EDOM): Likewise.
30140 (ERRNO_ERANGE): Likewise.
30141 (IGNORE_RESULT): Likewise.
30142 (check_float_internal): Check signs of NaN results if
30143 TEST_NAN_SIGN used.
30144 (check_complex): Pass TEST_NAN_SIGN flag through to second
30145 check_float_internal call.
30146 (copysign_test_data): Add tests with quiet NaNs as second
30147 argument. Use TEST_NAN_SIGN.
30148 (fabs_test_data): Add test of negative quiet NaN argument. Use
30149 TEST_NAN_SIGN.
30150 (signbit_test_data): Add tests of quiet NaN argument.
30151 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30152
30153 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30154 $ignore_result.
30155 (parse_args): Handle function results specified as IGNORE.
30156 * math/libm-test.inc (IGNORE_RESULT): New macro.
30157 (check_float_internal): Do not check numerical result if flag
30158 IGNORE_RESULT set.
30159 (check_complex): Pass through IGNORE_RESULT to second
30160 check_float_internal call.
30161 (check_int): Do not check numerical result if flag IGNORE_RESULT
30162 set.
30163 (check_long): Likewise.
30164 (check_bool): Likewise.
30165 (check_longlong): Likewise.
30166 (lrint_test_data): Add tests of infinite and NaN arguments.
30167 (lrint_tonearest_test_data): Likewise.
30168 (lrint_towardzero_test_data): Likewise.
30169 (lrint_downward_test_data): Likewise.
30170 (lrint_upward_test_data): Likewise.
30171 (llrint_test_data): Likewise.
30172 (llrint_tonearest_test_data): Likewise.
30173 (llrint_towardzero_test_data): Likewise.
30174 (llrint_downward_test_data): Likewise.
30175 (llrint_upward_test_data): Likewise.
30176 (lround_test_data): Likewise.
30177 (llround_test_data): Likewise.
30178
30179 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30180 (ERRNO_UNCHANGED): Update value.
30181 (ERRNO_EDOM): Likewise.
30182 (ERRNO_ERANGE): Likewise.
30183 (NO_TEST_INLINE_FLOAT): New macro.
30184 (NO_TEST_INLINE_DOUBLE): Likewise.
30185 (enable_test): New function.
30186 (RUN_TEST_f_f): Check enable_test before running test.
30187 (RUN_TEST_2_f): Likewise.
30188 (RUN_TEST_fff_f): Likewise.
30189 (RUN_TEST_c_f): Likewise.
30190 (RUN_TEST_f_f1): Likewise.
30191 (RUN_TEST_fF_f1): Likewise.
30192 (RUN_TEST_fI_f1): Likewise.
30193 (RUN_TEST_ffI_f1): Likewise.
30194 (RUN_TEST_c_c): Likewise.
30195 (RUN_TEST_cc_c): Likewise.
30196 (RUN_TEST_f_i): Likewise.
30197 (RUN_TEST_f_i_tg): Likewise.
30198 (RUN_TEST_ff_i_tg): Likewise.
30199 (RUN_TEST_f_b): Likewise.
30200 (RUN_TEST_f_b_tg): Likewise.
30201 (RUN_TEST_f_l): Likewise.
30202 (RUN_TEST_f_L): Likewise.
30203 (RUN_TEST_fFF_11): Likewise.
30204 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30205 conditionals.
30206 (cosh_test_data): Likewise.
30207 (exp_test_data): Likewise.
30208 (expm1_test_data): Likewise.
30209 (hypot_test_data): Likewise.
30210 (pow_test_data): Likewise.
30211 (sinh_test_data): Likewise.
30212 (tanh_test_data): Likewise.
30213 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30214 flags argument.
30215
30216 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30217 tests with quiet NaN input and output.
30218 (acosh_test_data): Likewise.
30219 (asin_test_data): Likewise.
30220 (asinh_test_data): Likewise.
30221 (atan_test_data): Likewise.
30222 (atanh_test_data): Likewise.
30223 (atan2_test_data): Likewise.
30224 (cbrt_test_data): Likewise.
30225 (cos_test_data): Likewise.
30226 (cosh_test_data): Likewise.
30227 (erf_test_data): Likewise.
30228 (erfc_test_data): Likewise.
30229 (exp_test_data): Likewise.
30230 (exp10_test_data): Likewise.
30231 (exp2_test_data): Likewise.
30232 (expm1_test_data): Likewise.
30233 (hypot_test_data): Likewise.
30234 (j0_test_data): Likewise.
30235 (j1_test_data): Likewise.
30236 (jn_test_data): Likewise.
30237 (lgamma_test_data): Likewise.
30238 (log_test_data): Likewise.
30239 (log10_test_data): Likewise.
30240 (log1p_test_data): Likewise.
30241 (log2_test_data): Likewise.
30242 (pow_test_data): Likewise.
30243 (scalb_test_data): Likewise.
30244 (sin_test_data): Likewise.
30245 (sincos_test_data): Likewise.
30246 (sinh_test_data): Likewise.
30247 (tan_test_data): Likewise.
30248 (tanh_test_data): Likewise.
30249 (tgamma_test_data): Likewise.
30250 (y0_test_data): Likewise.
30251 (y1_test_data): Likewise.
30252 (yn_test_data): Likewise.
30253
30254 [BZ #16167]
30255 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30256 argument being NaN and avoid computations with second argument in
30257 that case.
30258 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30259 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30260 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30261
30262 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30263
30264 * locale/iso-639.def: Add Chitwani Tharu (the).
30265
30266 2013-11-14 Andreas Schwab <schwab@suse.de>
30267
30268 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30269 word instead of empty string.
30270
30271 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30272
30273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30274 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30276 (__fe_nomask_env): Likewise.
30277
30278 2013-11-13 Steve Ellcey <sellcey@mips.com>
30279
30280 * benchtests/bench-timing.h: Include time.h.
30281
30282 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30283
30284 [BZ #15997]
30285 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30286 to 3.4.0 for x32.
30287 * sysdeps/unix/sysv/linux/configure: Regenerated.
30288
30289 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30290
30291 [BZ #16151]
30292 * stdlib/strtod_l.c (round_and_return): Do not consider
30293 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30294 exponent one less than half the least subnormal exponent.
30295 * stdlib/test-strtod-round-data: Add more tests.
30296 * stdlib/tst-strtod-round.c (tests): Regenerated.
30297
30298 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30299
30300 [BZ #14143]
30301 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30302 (__fe_mask_env): Likewise.
30303 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30304 libm_hidden_proto and add function prototype.
30305 (__fe_mask_env): Add function prototype.
30306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30307 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30309 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30311 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30312
30313 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30314
30315 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30316 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30317
30318 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30319
30320 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30321 of htab_find_slot().
30322
30323 2013-11-11 David S. Miller <davem@davemloft.net>
30324
30325 [BZ #16150]
30326 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30327 symbol in the non-vis3 case in static builds.
30328 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30329 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30330 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30331 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30332
30333 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30334
30335 [BZ #387]
30336 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30337 it is empty.
30338
30339 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30340
30341 * benchtests/Makefile: Add bench-strtod.
30342 * benchtests/bench-strtod.c: New file: strtod benchtest
30343
30344 2013-11-11 Andreas Schwab <schwab@suse.de>
30345
30346 [BZ #16153]
30347 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30348 terminating NUL in key length.
30349
30350 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30351
30352 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30353 Add artificial ODP entry for vDSO symbol for PPC64.
30354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30355 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30356
30357 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30358
30359 [BZ #15374]
30360 * nss/getent.c (services_keys): Recognize services starting with digit.
30361
30362 2013-11-06 David S. Miller <davem@davemloft.net>
30363
30364 [BZ #15985]
30365 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30366 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30367
30368 2013-11-06 Will Newton <will.newton@linaro.org>
30369
30370 * manual/memory.texi (Malloc Examples): Remove register
30371 keyword from examples.
30372
30373 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30374
30375 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30376
30377 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30378
30379 [BZ #6981]
30380 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30381 depending on [__GCC_IEC_559 > 0].
30382 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30383 depending on [__GCC_IEC_559_COMPLEX > 0].
30384
30385 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30386
30387 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30388 to iso-639.def.
30389
30390 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30391
30392 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30393
30394 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30395
30396 [BZ #16112]
30397 * malloc/malloc (malloc_info): Do not handle first bin as
30398 special case.
30399
30400 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30401
30402 * locale/iso-639.def: Add Central Nahuatl (nhn).
30403
30404 2013-11-01 Bruno Haible <bruno@clisp.org>
30405
30406 [BZ #7003]
30407 * manual/math.texi (BSD Random): Specify range upper bound as
30408 in POSIX.
30409
30410 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30411
30412 * locale/iso-639.def: Add Meadow Mari (mhr).
30413
30414 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30415
30416 [BZ #14752], [BZ #15763]
30417 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30418 Validate name.
30419 * rt/tst_shm.c: Add test for escaping directory.
30420
30421 2013-10-31 Andreas Schwab <schwab@suse.de>
30422
30423 [BZ #15917]
30424 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30425 followed by 'x' as part of digit sequence.
30426 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30427
30428 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30429
30430 [BZ #16037]
30431 * configure.ac: allow GNU Make 4.0 and greater.
30432 * configure: Regenerated.
30433
30434 2013-10-30 Will Newton <will.newton@linaro.org>
30435
30436 [BZ #16038]
30437 * malloc/hooks.c (memalign_check): Limit alignment to the
30438 maximum representable power of two.
30439 * malloc/malloc.c (__libc_memalign): Likewise.
30440 * malloc/tst-memalign.c (do_test): Add test for very
30441 large alignment values.
30442 * malloc/tst-posix_memalign.c (do_test): Likewise.
30443
30444 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30445
30446 [BZ #11087]
30447 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30448 (munmap_chunk): Likewise.
30449 (mremap_chunk): Likewise.
30450
30451 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30452
30453 [BZ #15799]
30454 * stdlib/div.c (div): Remove obsolete code.
30455 * stdlib/ldiv.c (ldiv): Likewise.
30456 * stdlib/lldiv.c (lldiv): Likewise.
30457
30458 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30459
30460 [BZ #16071]
30461 * nss/nss_files/files-XXX.c (get_contents_ret): New
30462 enumerator.
30463 (get_contents): New function.
30464 (internal_getent): Use it. Expand size of LINEBUFLEN.
30465
30466 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30467
30468 * configure.in: Moved to ...
30469 * configure.ac: ... here. Change reference to configure.in
30470 to configure.ac.
30471 * sysdeps/arm/preconfigure.ac: ... here.
30472 configure.in to configure.ac.
30473 * sysdeps/gnu/configure.in: Moved to ...
30474 * sysdeps/gnu/configure.ac: ... here.
30475 * sysdeps/i386/configure.in: Moved to ...
30476 * sysdeps/i386/configure.ac: ... here.
30477 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30478 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30479 * sysdeps/mach/configure.in: Moved to ...
30480 * sysdeps/mach/configure.ac: ... here.
30481 * sysdeps/mach/hurd/configure.in: Moved to ...
30482 * sysdeps/mach/hurd/configure.ac: ... here.
30483 * sysdeps/powerpc/configure.in: Moved to ...
30484 * sysdeps/powerpc/configure.ac: ... here.
30485 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30486 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30487 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30488 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30489 * sysdeps/s390/s390-32/configure.in: Moved to ...
30490 * sysdeps/s390/s390-32/configure.ac: ... here.
30491 * sysdeps/s390/s390-64/configure.in: Moved to ...
30492 * sysdeps/s390/s390-64/configure.ac: ... here.
30493 * sysdeps/sh/configure.in: Moved to ...
30494 * sysdeps/sh/configure.ac: ... here.
30495 * sysdeps/sparc/configure.in: Moved to ...
30496 * sysdeps/sparc/configure.ac: ... here.
30497 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30498 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30499 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30500 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30501 * sysdeps/x86_64/configure.in: Moved to ...
30502 * sysdeps/x86_64/configure.ac: ... here.
30503 * sysdeps/x86_64/preconfigure.in: Moved to ...
30504 * sysdeps/x86_64/preconfigure.ac: ... here.
30505 * aclocal.m4: Change reference to configure.in to configure.ac.
30506 * config.h.in: Likewise.
30507 * manual/install.texi: Likewise.
30508 * manual/maint.texi: Likewise.
30509 * Makefile: Likewise.
30510 * malloc/Makefile: Likewise.
30511 * nscd/Makefile: Likewise.
30512 * Makeconfig: Change reference to configure.in and
30513 preconfigure.in to configure.ac and preconfigure.ac
30514 respectively.
30515 * INSTALL: Regenerated.
30516 * configure: Likewise.
30517 * sysdeps/gnu/configure: Likewise.
30518 * sysdeps/i386/configure: Likewise.
30519 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30520 * sysdeps/mach/configure: Likewise.
30521 * sysdeps/mach/hurd/configure: Likewise.
30522 * sysdeps/powerpc/configure: Likewise.
30523 * sysdeps/powerpc/powerpc32/configure: Likewise.
30524 * sysdeps/powerpc/powerpc64/configure: Likewise.
30525 * sysdeps/s390/s390-32/configure: Likewise.
30526 * sysdeps/s390/s390-64/configure: Likewise.
30527 * sysdeps/sh/configure: Likewise.
30528 * sysdeps/sparc/configure: Likewise.
30529 * sysdeps/unix/sysv/linux/configure: Likewise.
30530 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30531 * sysdeps/x86_64/configure: Likewise.
30532 * sysdeps/x86_64/preconfigure: Likewise.
30533
30534 2013-10-29 Andreas Schwab <schwab@suse.de>
30535
30536 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30537
30538 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30539
30540 * benchtests/pow-inputs: Add new inputs.
30541
30542 * benchtests/exp-inputs: Add new inputs.
30543
30544 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30545 conditional check for return value.
30546 (__cos32): Likewise.
30547
30548 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30549
30550 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30551 to provide a boost for large inputs with word alignment.
30552 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30553 implementation based on optimized PPC64 strcpy.
30554 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30555 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30556 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30557 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30558
30559 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30560
30561 [BZ #2801]
30562 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30563
30564 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30565
30566 [BZ #14876]
30567 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30568 * time/tst-strptime.c (day_tests): Add testcase.
30569
30570 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30571
30572 [BZ #14029]
30573 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30574
30575 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30576
30577 [BZ #16074]
30578 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30579 MAP_FAILED on error.
30580
30581 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30582
30583 [BZ #16072]
30584 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30585 heap for large requests.
30586
30587 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30588
30589 [BZ #9954]
30590 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30591 result if the result has no associated interface.
30592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30593 interface for all 127.X.Y.Z addresses.
30594
30595 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30596
30597 * locale/iso-639.def: Add Ligurian (lij)
30598
30599 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30600
30601 [BZ #15825]
30602 * sunrpc/rpc_main.c: Document rpcgen -5.
30603
30604 2013-10-19 Michael Stahl <mstahl@redhat.com>
30605
30606 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30607
30608 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30609
30610 [BZ #10278]
30611 * posix/glob.c: Match only directories when trailing slash is present.
30612 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30613 (main): Add testcase.
30614
30615 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30616
30617 [BZ #15670]
30618 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30619
30620 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30621
30622 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30623 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30624 AUTH_DES and cindex for FIPS 140-2.
30625 (DES Encryption): Add cindex FIPS 46-3.
30626
30627 * locale/locarchive.h (struct locarhandle): Add fname.
30628 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30629 if an optional argument was specified to --list-archive,
30630 otherwise NULL.
30631 * locale/programs/locarchive.c (show_archive_content): Take new
30632 argument fname and pass it via ah.fname to open_archive.
30633 * locale/programs/localedef.h: Update decl.
30634 (open_archive): If AH->fname is non-null, open that file
30635 rather than the default file name, and don't ignore ENOENT.
30636 (create_archive): Set AH.fname to NULL.
30637 (delete_locales_from_archive): Likewise.
30638 (add_locales_to_archive): Likewise.
30639 * locale/programs/locfile.c (write_all_categories): Likewise.
30640
30641 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30642 Aldy Hernandez <aldyh@redhat.com>
30643
30644 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30645 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30646 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30647 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30648 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30649 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30650 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30651 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30652 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30653 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30654 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30655 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30656 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30657 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30658 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30659 Likewise.
30660 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30661 Likewise.
30662 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30663 Likewise.
30664 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30665 Likewise.
30666 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30667 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30668 Likewise.
30669 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30670 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30671 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30672 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30673 Likewise.
30674 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30675 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30676 * sysdeps/powerpc/preconfigure: Likewise.
30677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30678 Likewise.
30679 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30680 Replace contents of file by #include of <fenv_libc.h>.
30681 * sysdeps/powerpc/soft-fp/sfp-machine.h
30682 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30683 and <sys/prctl.h>.
30684 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30691 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30692 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30694 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30695 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30697 Allow copysignl PLT reference to be missing.
30698
30699 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30700 Joseph Myers <joseph@codesourcery.com
30701
30702 [BZ #15948]
30703 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30704 single character.
30705 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30706
30707 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30708
30709 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30710 * elf/tst-tls1.c: Likewise.
30711 * elf/tst-tls10.h: Likewise.
30712 * elf/tst-tls14.c: Likewise.
30713 * elf/tst-tls2.c: Likewise.
30714 * elf/tst-tls3.c: Likewise.
30715 * elf/tst-tls4.c: Likewise.
30716 * elf/tst-tls5.c: Likewise.
30717 * elf/tst-tls6.c: Likewise.
30718 * elf/tst-tls7.c: Likewise.
30719 * elf/tst-tls8.c: Likewise.
30720 * elf/tst-tls9.c: Likewise.
30721 * elf/tst-tlsmod1.c: Likewise.
30722 * elf/tst-tlsmod13.c: Likewise.
30723 * elf/tst-tlsmod13a.c: Likewise.
30724 * elf/tst-tlsmod14a.c: Likewise.
30725 * elf/tst-tlsmod16a.c: Likewise.
30726 * elf/tst-tlsmod16b.c: Likewise.
30727 * elf/tst-tlsmod2.c: Likewise.
30728 * elf/tst-tlsmod3.c: Likewise.
30729 * elf/tst-tlsmod4.c: Likewise.
30730 * elf/tst-tlsmod5.c: Likewise.
30731 * elf/tst-tlsmod6.c: Likewise.
30732
30733 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30734
30735 [BZ #12486]
30736 * malloc/malloc.c: remove checks for statistics.
30737
30738 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30739
30740 [BZ #15277]
30741 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30742 * inet/tst-network.c: Add testcase.
30743
30744 2013-10-17 Andreas Schwab <schwab@suse.de>
30745
30746 [BZ #15218]
30747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30748 to determine canonical name.
30749
30750 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30751
30752 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30753 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30754 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30755 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30757 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30758 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30759 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30762 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30763 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30764 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30765 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30766 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30769 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30775 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30776 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30777 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30779 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30780 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30781 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30782 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30790 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30792 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30793 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30794 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30795 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30796 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30797 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30798 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30799 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30800 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30801 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30802 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30803 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30804 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30805 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30807 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30808 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30809 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30810
30811 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30812
30813 [BZ #16041]
30814 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30815 make result into a quiet NaN.
30816
30817 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30818
30819 * soft-fp/adddf3.c: Fix horizontal whitespace.
30820 * soft-fp/addsf3.c: Likewise.
30821 * soft-fp/addtf3.c: Likewise.
30822 * soft-fp/divdf3.c: Likewise.
30823 * soft-fp/divsf3.c: Likewise.
30824 * soft-fp/divtf3.c: Likewise.
30825 * soft-fp/double.h: Likewise.
30826 * soft-fp/eqdf2.c: Likewise.
30827 * soft-fp/eqsf2.c: Likewise.
30828 * soft-fp/eqtf2.c: Likewise.
30829 * soft-fp/extenddftf2.c: Likewise.
30830 * soft-fp/extended.h: Likewise.
30831 * soft-fp/extendsfdf2.c: Likewise.
30832 * soft-fp/extendsftf2.c: Likewise.
30833 * soft-fp/extendxftf2.c: Likewise.
30834 * soft-fp/fixdfdi.c: Likewise.
30835 * soft-fp/fixdfsi.c: Likewise.
30836 * soft-fp/fixdfti.c: Likewise.
30837 * soft-fp/fixsfdi.c: Likewise.
30838 * soft-fp/fixsfsi.c: Likewise.
30839 * soft-fp/fixsfti.c: Likewise.
30840 * soft-fp/fixtfdi.c: Likewise.
30841 * soft-fp/fixtfsi.c: Likewise.
30842 * soft-fp/fixtfti.c: Likewise.
30843 * soft-fp/fixunsdfdi.c: Likewise.
30844 * soft-fp/fixunsdfsi.c: Likewise.
30845 * soft-fp/fixunsdfti.c: Likewise.
30846 * soft-fp/fixunssfdi.c: Likewise.
30847 * soft-fp/fixunssfsi.c: Likewise.
30848 * soft-fp/fixunssfti.c: Likewise.
30849 * soft-fp/fixunstfdi.c: Likewise.
30850 * soft-fp/fixunstfsi.c: Likewise.
30851 * soft-fp/fixunstfti.c: Likewise.
30852 * soft-fp/floatdidf.c: Likewise.
30853 * soft-fp/floatdisf.c: Likewise.
30854 * soft-fp/floatditf.c: Likewise.
30855 * soft-fp/floatsidf.c: Likewise.
30856 * soft-fp/floatsisf.c: Likewise.
30857 * soft-fp/floatsitf.c: Likewise.
30858 * soft-fp/floattidf.c: Likewise.
30859 * soft-fp/floattisf.c: Likewise.
30860 * soft-fp/floattitf.c: Likewise.
30861 * soft-fp/floatundidf.c: Likewise.
30862 * soft-fp/floatundisf.c: Likewise.
30863 * soft-fp/floatunditf.c: Likewise.
30864 * soft-fp/floatunsidf.c: Likewise.
30865 * soft-fp/floatunsisf.c: Likewise.
30866 * soft-fp/floatunsitf.c: Likewise.
30867 * soft-fp/floatuntidf.c: Likewise.
30868 * soft-fp/floatuntisf.c: Likewise.
30869 * soft-fp/floatuntitf.c: Likewise.
30870 * soft-fp/fmadf4.c: Likewise.
30871 * soft-fp/fmasf4.c: Likewise.
30872 * soft-fp/fmatf4.c: Likewise.
30873 * soft-fp/gedf2.c: Likewise.
30874 * soft-fp/gesf2.c: Likewise.
30875 * soft-fp/getf2.c: Likewise.
30876 * soft-fp/ledf2.c: Likewise.
30877 * soft-fp/lesf2.c: Likewise.
30878 * soft-fp/letf2.c: Likewise.
30879 * soft-fp/muldf3.c: Likewise.
30880 * soft-fp/mulsf3.c: Likewise.
30881 * soft-fp/multf3.c: Likewise.
30882 * soft-fp/negdf2.c: Likewise.
30883 * soft-fp/negsf2.c: Likewise.
30884 * soft-fp/negtf2.c: Likewise.
30885 * soft-fp/op-1.h: Likewise.
30886 * soft-fp/op-2.h: Likewise.
30887 * soft-fp/op-4.h: Likewise.
30888 * soft-fp/op-8.h: Likewise.
30889 * soft-fp/op-common.h: Likewise.
30890 * soft-fp/quad.h: Likewise.
30891 * soft-fp/single.h: Likewise.
30892 * soft-fp/soft-fp.h: Likewise.
30893 * soft-fp/sqrtdf2.c: Likewise.
30894 * soft-fp/sqrtsf2.c: Likewise.
30895 * soft-fp/sqrttf2.c: Likewise.
30896 * soft-fp/subdf3.c: Likewise.
30897 * soft-fp/subsf3.c: Likewise.
30898 * soft-fp/subtf3.c: Likewise.
30899 * soft-fp/truncdfsf2.c: Likewise.
30900 * soft-fp/trunctfdf2.c: Likewise.
30901 * soft-fp/trunctfsf2.c: Likewise.
30902 * soft-fp/trunctfxf2.c: Likewise.
30903 * soft-fp/unorddf2.c: Likewise.
30904 * soft-fp/unordsf2.c: Likewise.
30905 * soft-fp/unordtf2.c: Likewise.
30906
30907 2013-10-15 Joseph Myers <joseph@codesourcery.com>
30908
30909 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30910 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30911
30912 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
30913
30914 * elf/dl-libc.c: Clear initfini list after freeing.
30915
30916 2013-10-14 Joseph Myers <joseph@codesourcery.com>
30917
30918 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30919 * soft-fp/addsf3.c: Likewise.
30920 * soft-fp/addtf3.c: Likewise.
30921 * soft-fp/divdf3.c: Likewise.
30922 * soft-fp/divsf3.c: Likewise.
30923 * soft-fp/divtf3.c: Likewise.
30924 * soft-fp/double.h: Likewise.
30925 * soft-fp/eqdf2.c: Likewise.
30926 * soft-fp/eqsf2.c: Likewise.
30927 * soft-fp/eqtf2.c: Likewise.
30928 * soft-fp/extenddftf2.c: Likewise.
30929 * soft-fp/extended.h: Likewise.
30930 * soft-fp/extendsfdf2.c: Likewise.
30931 * soft-fp/extendsftf2.c: Likewise.
30932 * soft-fp/extendxftf2.c: Likewise.
30933 * soft-fp/fixdfdi.c: Likewise.
30934 * soft-fp/fixdfsi.c: Likewise.
30935 * soft-fp/fixdfti.c: Likewise.
30936 * soft-fp/fixsfdi.c: Likewise.
30937 * soft-fp/fixsfsi.c: Likewise.
30938 * soft-fp/fixsfti.c: Likewise.
30939 * soft-fp/fixtfdi.c: Likewise.
30940 * soft-fp/fixtfsi.c: Likewise.
30941 * soft-fp/fixtfti.c: Likewise.
30942 * soft-fp/fixunsdfdi.c: Likewise.
30943 * soft-fp/fixunsdfsi.c: Likewise.
30944 * soft-fp/fixunsdfti.c: Likewise.
30945 * soft-fp/fixunssfdi.c: Likewise.
30946 * soft-fp/fixunssfsi.c: Likewise.
30947 * soft-fp/fixunssfti.c: Likewise.
30948 * soft-fp/fixunstfdi.c: Likewise.
30949 * soft-fp/fixunstfsi.c: Likewise.
30950 * soft-fp/fixunstfti.c: Likewise.
30951 * soft-fp/floatdidf.c: Likewise.
30952 * soft-fp/floatdisf.c: Likewise.
30953 * soft-fp/floatditf.c: Likewise.
30954 * soft-fp/floatsidf.c: Likewise.
30955 * soft-fp/floatsisf.c: Likewise.
30956 * soft-fp/floatsitf.c: Likewise.
30957 * soft-fp/floattidf.c: Likewise.
30958 * soft-fp/floattisf.c: Likewise.
30959 * soft-fp/floattitf.c: Likewise.
30960 * soft-fp/floatundidf.c: Likewise.
30961 * soft-fp/floatundisf.c: Likewise.
30962 * soft-fp/floatunsidf.c: Likewise.
30963 * soft-fp/floatunsisf.c: Likewise.
30964 * soft-fp/floatuntidf.c: Likewise.
30965 * soft-fp/floatuntisf.c: Likewise.
30966 * soft-fp/floatuntitf.c: Likewise.
30967 * soft-fp/fmadf4.c: Likewise.
30968 * soft-fp/fmasf4.c: Likewise.
30969 * soft-fp/fmatf4.c: Likewise.
30970 * soft-fp/gedf2.c: Likewise.
30971 * soft-fp/gesf2.c: Likewise.
30972 * soft-fp/getf2.c: Likewise.
30973 * soft-fp/ledf2.c: Likewise.
30974 * soft-fp/lesf2.c: Likewise.
30975 * soft-fp/letf2.c: Likewise.
30976 * soft-fp/muldf3.c: Likewise.
30977 * soft-fp/mulsf3.c: Likewise.
30978 * soft-fp/multf3.c: Likewise.
30979 * soft-fp/negdf2.c: Likewise.
30980 * soft-fp/negsf2.c: Likewise.
30981 * soft-fp/negtf2.c: Likewise.
30982 * soft-fp/op-1.h: Likewise.
30983 * soft-fp/op-2.h: Likewise.
30984 * soft-fp/op-4.h: Likewise.
30985 * soft-fp/op-8.h: Likewise.
30986 * soft-fp/op-common.h: Likewise.
30987 * soft-fp/quad.h: Likewise.
30988 * soft-fp/single.h: Likewise.
30989 * soft-fp/soft-fp.h: Likewise.
30990 * soft-fp/sqrtdf2.c: Likewise.
30991 * soft-fp/sqrtsf2.c: Likewise.
30992 * soft-fp/sqrttf2.c: Likewise.
30993 * soft-fp/subdf3.c: Likewise.
30994 * soft-fp/subsf3.c: Likewise.
30995 * soft-fp/subtf3.c: Likewise.
30996 * soft-fp/truncdfsf2.c: Likewise.
30997 * soft-fp/trunctfdf2.c: Likewise.
30998 * soft-fp/trunctfsf2.c: Likewise.
30999 * soft-fp/trunctfxf2.c: Likewise.
31000 * soft-fp/unorddf2.c: Likewise.
31001 * soft-fp/unordsf2.c: Likewise.
31002 * soft-fp/unordtf2.c: Likewise.
31003
31004 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31005
31006 [BZ #15672]
31007 * misc/error.c (error_tail): Fix possible buffer overflow.
31008
31009 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31010
31011 [BZ #13028]
31012 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31013 address.
31014
31015 2013-10-14 P. J. McDermott <pj@pehjota.net>
31016
31017 [BZ #832]
31018 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31019 testing pipefail option.
31020
31021 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31022
31023 * soft-fp/double.h: Indent preprocessor directives inside #if.
31024 * soft-fp/extended.h: Likewise.
31025 * soft-fp/op-2.h: Likewise.
31026 * soft-fp/op-4.h: Likewise.
31027 * soft-fp/op-common.h: Likewise.
31028 * soft-fp/quad.h: Likewise.
31029 * soft-fp/single.h: Likewise.
31030 * soft-fp/soft-fp.h: Likewise.
31031
31032 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31033
31034 * iconv/iconv_prog.c: Fix typos.
31035 * stdio-common/psiginfo-data.h: Likewise.
31036
31037 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31038
31039 [BZ #15764]
31040 * locale/setlocale.c: Fix typo.
31041
31042 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31043
31044 [BZ #16036]
31045 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31046 signaling NaN arguments.
31047 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31048 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31049
31050 [BZ #14910]
31051 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31052 unordered operands.
31053 * soft-fp/gesf2.c (__gesf2): Likewise.
31054 * soft-fp/getf2.c (__getf2): Likewise.
31055 * soft-fp/ledf2.c (__ledf2): Likewise.
31056 * soft-fp/lesf2.c (__lesf2): Likewise.
31057 * soft-fp/letf2.c (__letf2): Likewise.
31058
31059 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31060 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31061 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31062 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31063 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31064 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31065 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31066 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31067 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31068 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31069 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31070 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31071 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31072 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31073 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31074 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31075 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31076 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31077 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31078 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31079 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31080 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31081 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31082 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31083 * soft-fp/floattidf.c (__floattidf): Likewise.
31084 * soft-fp/floattisf.c (__floattisf): Likewise.
31085 * soft-fp/floattitf.c (__floattitf): Likewise.
31086 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31087 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31088 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31089 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31090 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31091 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31092 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31093 * soft-fp/gesf2.c (__gesf2): Likewise.
31094 * soft-fp/getf2.c (__getf2): Likewise.
31095 * soft-fp/ledf2.c (__ledf2): Likewise.
31096 * soft-fp/lesf2.c (__lesf2): Likewise.
31097 * soft-fp/letf2.c (__letf2): Likewise.
31098
31099 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31100 Undefine and redefine.
31101 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31102 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31103 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31104 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31105 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31106 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31107 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31108 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31109 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31110 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31111 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31112 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31113 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31114 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31115 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31116
31117 [BZ #16032]
31118 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31119 without decrementing exponent if mantissa >= that for the
31120 denominator, not >.
31121 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31122 denominator, not >. Decrement exponent in < case instead of
31123 incrementing in >= case.
31124 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31125 without decrementing exponent if mantissa >= that for the
31126 denominator, not >.
31127
31128 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31129 computing saturated result for unsigned overflow.
31130
31131 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31132 Jeff Law <law@redhat.com>
31133
31134 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31135 (atan2Mp): Add systemtap probe marker.
31136 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31137 (__ieee754_log): Add systemtap probe marker.
31138 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31139 (atanMp): Add systemtap probe marker.
31140 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31141 (tanMp): Add systemtap probe marker.
31142 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31143 (__slowexp): Add systemtap probe marker.
31144 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31145 (__slowpow): Add systemtap probe marker.
31146 * manual/probes.texi: Document probes.
31147
31148 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31149
31150 [BZ #15362]
31151 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31152 written.
31153 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31154 written.
31155 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31156 written to buffer but not flushed.
31157 * libio/iofwrite_u.c: Likewise.
31158 * libio/iopadn.c: Return bytes returned even if EOF was
31159 encountered.
31160 * libio/iowpadn.c: Likewise.
31161 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31162 if _IO_padn does not write the whole buffer.
31163 [!COMPILE_WPRINTF] (PAD): Likewise.
31164
31165 2013-10-10 David S. Miller <davem@davemloft.net>
31166
31167 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31168 directory block.
31169
31170 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31171
31172 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31173 instead of FSF address.
31174 * soft-fp/fixdfti.c: Likewise.
31175 * soft-fp/fixsfti.c: Likewise.
31176 * soft-fp/fixtfti.c: Likewise.
31177 * soft-fp/fixunsdfti.c: Likewise.
31178 * soft-fp/fixunssfti.c: Likewise.
31179 * soft-fp/fixunstfti.c: Likewise.
31180 * soft-fp/floattidf.c: Likewise.
31181 * soft-fp/floattisf.c: Likewise.
31182 * soft-fp/floattitf.c: Likewise.
31183 * soft-fp/floatuntidf.c: Likewise.
31184 * soft-fp/floatuntisf.c: Likewise.
31185 * soft-fp/floatuntitf.c: Likewise.
31186 * soft-fp/trunctfxf2.c: Likewise.
31187
31188 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31189 * soft-fp/fixdfti.c: Likewise.
31190 * soft-fp/fixsfti.c: Likewise.
31191 * soft-fp/fixtfti.c: Likewise.
31192 * soft-fp/fixunsdfti.c: Likewise.
31193 * soft-fp/fixunssfti.c: Likewise.
31194 * soft-fp/fixunstfti.c: Likewise.
31195 * soft-fp/floattidf.c: Likewise.
31196 * soft-fp/floattisf.c: Likewise.
31197 * soft-fp/floattitf.c: Likewise.
31198 * soft-fp/floatuntidf.c: Likewise.
31199 * soft-fp/floatuntisf.c: Likewise.
31200 * soft-fp/floatuntitf.c: Likewise.
31201 * soft-fp/trunctfxf2.c: Likewise.
31202
31203 2013-10-10 David S. Miller <davem@davemloft.net>
31204
31205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31206
31207 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31208
31209 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31210 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31211 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31212 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31213 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31214 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31215 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31216
31217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31218 for NaNs before doing comparisons on argument.
31219 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31220 Likewise.
31221
31222 2013-10-10 Will Newton <will.newton@linaro.org>
31223
31224 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31225 passed to _int_memalign does not overflow.
31226
31227 2013-10-10 Torvald Riegel <triegel@redhat.com>
31228
31229 * scripts/bench.pl: Add include-sources directive.
31230 * benchtests/README: Update documentation.
31231
31232 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31233
31234 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31235 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31236 instead of FP_INIT_ROUNDMODE.
31237 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31238 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31239
31240 [BZ #16034]
31241 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31242 copy class of input value.
31243 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31244 not handle exceptions.
31245 * soft-fp/negsf2.c (__negsf2): Likewise.
31246 * soft-fp/negtf2.c (__negtf2): Likewise.
31247 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31248
31249 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31250
31251 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31252 semicolon. From Linux kernel.
31253
31254 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31255
31256 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31257
31258 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31259
31260 [BZ #156]
31261 * manual/socket.texi: Added statement about buffer
31262 for gethostbyname2_r.
31263
31264 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31265
31266 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31267 Use .p2align directive instead, throughout.
31268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31269 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31270 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31271 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31272 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31273 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31274 * sysdeps/x86_64/strchr.S: Likewise.
31275 * sysdeps/x86_64/strrchr.S: Likewise.
31276
31277 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31278
31279 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31280
31281 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31282
31283 * sysdeps/generic/math_private.h (__mpsin1): Remove
31284 declaration.
31285 (__mpcos1): Likewise.
31286 (__mpsin): New argument __range_reduce.
31287 (__mpcos): Likewise.
31288 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31289 (slow): Use __mpsin and __mpcos.
31290 (slow1): Likewise.
31291 (slow2): Likewise.
31292 (sloww): Likewise.
31293 (sloww1): Likewise.
31294 (sloww2): Likewise.
31295 (bsloww): Likewise.
31296 (bsloww1): Likewise.
31297 (bsloww2): Likewise.
31298 (cslow2): Likewise.
31299 (csloww): Likewise.
31300 (csloww1): Likewise.
31301 (csloww2): Likewise.
31302 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31303 range_reduce. Merge in __mpsin1.
31304 (__mpcos): Likewise.
31305 (__mpsin1): Remove.
31306 (__mpcos1): Likewise.
31307
31308 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31309
31310 * locale/loadlocale.c (_nl_intern_locale_data): Use
31311 LOCFILE_ALIGNED_P.
31312 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31313 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31314 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31315 obstack data is appropriately aligned.
31316 (obstack_int32_grow_fast): Likewise.
31317 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31318 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31319 (add_locale_uint32_array): Likewise.
31320
31321 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31322
31323 * benchtests/Makefile: Remove ARGLIST and RET variables.
31324 ($(objpfx)bench-%.c): Pass only function name to the script.
31325 * benchtests/README: Update documentation.
31326 * benchtests/acos-inputs: Add new directives.
31327 * benchtests/acosh-inputs: Likewise.
31328 * benchtests/asin-inputs: Likewise.
31329 * benchtests/asinh-inputs: Likewise.
31330 * benchtests/atan-inputs: Likewise.
31331 * benchtests/atanh-inputs: Likewise.
31332 * benchtests/cos-inputs: Likewise.
31333 * benchtests/cosh-inputs: Likewise.
31334 * benchtests/exp-inputs: Likewise.
31335 * benchtests/log-inputs: Likewise.
31336 * benchtests/pow-inputs: Likewise.
31337 * benchtests/rint-inputs: Likewise.
31338 * benchtests/sin-inputs: Likewise.
31339 * benchtests/sinh-inputs: Likewise.
31340 * benchtests/tan-inputs: Likewise.
31341 * benchtests/tanh-inputs: Likewise.
31342 * scripts/bench.pl: Add support for new directives.
31343
31344 2013-10-07 Alan Modra <amodra@gmail.com>
31345
31346 * README: Fix careless merge.
31347
31348 2013-10-05 Alan Modra <amodra@gmail.com>
31349
31350 * NEWS: Mention powerpc64le support and bugs fixed.
31351 * README: Both big-endian and little-endian powerpc64 supported.
31352
31353 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31354
31355 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31356 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31357 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31358 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31359
31360 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31361
31362 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31363 match prototype.
31364
31365 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31366
31367 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31368 Move -mhard-float appending from
31369 ports/sysdeps/powerpc/powerpc32/Makefile.
31370 [$(with-fp) = yes] (ASFLAGS): Likewise.
31371 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31372 * sysdeps/powerpc/nofpu: Move directory from
31373 ports/sysdeps/powerpc/nofpu.
31374 * sysdeps/powerpc/soft-fp: Move directory from
31375 ports/sysdeps/powerpc/soft-fp.
31376 * sysdeps/powerpc/powerpc32/405: Move directory from
31377 ports/sysdeps/powerpc/powerpc32/405.
31378 * sysdeps/powerpc/powerpc32/440: Move directory from
31379 ports/sysdeps/powerpc/powerpc32/440.
31380 * sysdeps/powerpc/powerpc32/464: Move directory from
31381 ports/sysdeps/powerpc/powerpc32/464.
31382 * sysdeps/powerpc/powerpc32/476: Move directory from
31383 ports/sysdeps/powerpc/powerpc32/476.
31384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31385 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31387 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31389 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31391 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31393 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31394 * README: Update for powerpc-*-linux-gnu software floating point
31395 support in libc.
31396
31397 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31398 case to powerpc/powerpc32*.
31399 * sysdeps/unix/sysv/linux/configure: Regenerated.
31400
31401 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31402 (_FPU_MASK_OM): Define as 0x04.
31403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31405 0x00c10080.
31406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31407 0x0000003c.
31408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31409
31410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31411 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31412 getcontext_e500.
31413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31414 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31415 setcontext_e500.
31416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31417 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31418 and setcontext_e500.
31419
31420 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31421
31422 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31423
31424 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31425
31426 * manual/threads.texi (Default Thread Attributes): Fix typo.
31427
31428 2013-10-04 Will Newton <will.newton@linaro.org>
31429
31430 * malloc/Makefile: Add tst-memalign.
31431 * malloc/tst-memalign.c: New file.
31432
31433 * malloc/tst-posix_memalign.c: Add comments.
31434 (do_test): Add comments and call free on all potentially
31435 allocated pointers. Add space after cast.
31436
31437 * malloc/tst-pvalloc.c: Add comments.
31438 (do_test): Add comments and call free on all potentially
31439 allocated pointers. Remove duplicate check for NULL pointer.
31440 Add space after cast.
31441
31442 * malloc/tst-valloc.c: Add comments.
31443 (do_test): Add comments and call free on all potentially
31444 allocated pointers. Remove duplicate check for NULL pointer.
31445 Add space after cast.
31446
31447 2013-10-04 Alan Modra <amodra@gmail.com>
31448
31449 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31450 Use stdint types in rather than __attribute__((mode())).
31451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31452
31453 2013-10-04 Alan Modra <amodra@gmail.com>
31454
31455 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31456 Correct handling of unaligned relocs for little-endian.
31457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31458
31459 2013-10-04 Alan Modra <amodra@gmail.com>
31460
31461 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31462 * configure: Regenerate.
31463 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31464 * shlib-versions: Likewise.
31465
31466 2013-10-04 Alan Modra <amodra@gmail.com>
31467
31468 * string/tester.c (test_memrchr): Increment reported test cycle.
31469
31470 2013-10-04 Alan Modra <amodra@gmail.com>
31471
31472 * string/test-memcpy.c (do_one_test): When reporting errors, print
31473 string address and don't overrun end of string.
31474
31475 2013-10-04 Alan Modra <amodra@gmail.com>
31476
31477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31478 insrdi. Make better use of reg selection to speed exit slightly.
31479 Schedule entry path a little better. Remove useless "are we done"
31480 checks on entry to main loop. Handle wrapping around zero address.
31481 Correct main loop count. Handle single left-over word from main
31482 loop inline rather than by using loop_small. Remove extra word
31483 case in loop_small caused by wrong loop count. Add little-endian
31484 support.
31485 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31487 cache hint.
31488 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31489 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31490 support. Avoid rlwimi.
31491 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31492
31493 2013-10-04 Alan Modra <amodra@gmail.com>
31494
31495 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31496 insrdi. Formatting.
31497 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31498 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31499 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31500 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31501 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31502 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31503
31504 2013-10-04 Alan Modra <amodra@gmail.com>
31505
31506 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31507 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31508 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31509 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31510 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31511 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31513 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31514 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31515 use of regs. Use power7 mtocrf. Tidy function tails.
31516
31517 2013-10-04 Alan Modra <amodra@gmail.com>
31518
31519 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31520 Formatting. Consistently use rXXX register defines or rN defines.
31521 Use early exit labels that avoid restoring unused non-volatile regs.
31522 Make cr field use more consistent with rWORDn compares. Rename
31523 regs used as shift registers for unaligned loop, using rN defines
31524 for short lifetime/multiple use regs.
31525 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31526 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31527 addi 1,1,64 to pop stack frame. Simplify return value code.
31528 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31529
31530 2013-10-04 Alan Modra <amodra@gmail.com>
31531
31532 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31533 support. Correct typos, formatting. Optimize tail. Use insrdi
31534 rather than rlwimi.
31535 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31536 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31537 little-endian support. Correct typos.
31538 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31539 rather than rlwimi.
31540 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31541 in loop and entry code to keep "and." results.
31542 (strchr): Add little-endian support. Comment. Move cntlzd
31543 earlier in tail.
31544 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31545
31546 2013-10-04 Alan Modra <amodra@gmail.com>
31547
31548 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31549 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31550 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31551 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31552
31553 2013-10-04 Alan Modra <amodra@gmail.com>
31554
31555 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31556 (rTMP): Define as r11.
31557 (strcmp): Add little-endian support. Optimise tail.
31558 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31559 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31560 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31561 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31562 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31564 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31565
31566 2013-10-04 Alan Modra <amodra@gmail.com>
31567
31568 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31569 little-endian support. Remove unnecessary "are we done" tests.
31570 Handle "s" wrapping around zero and extremely large "size".
31571 Correct main loop count. Handle single left-over word from main
31572 loop inline rather than by using small_loop. Correct comments.
31573 Delete "zero" tail, use "end_max" instead.
31574 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31575
31576 2013-10-04 Alan Modra <amodra@gmail.com>
31577
31578 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31579 support. Don't branch over align.
31580 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31581 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31582 support. Rearrange tmp reg use to suit. Comment.
31583 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31584
31585 2013-10-04 Alan Modra <amodra@gmail.com>
31586
31587 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31588
31589 2013-10-04 Alan Modra <amodra@gmail.com>
31590
31591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31592 conditional form of branch and link when obtaining pc.
31593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31594
31595 2013-10-04 Alan Modra <amodra@gmail.com>
31596
31597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31598 HIWORD/LOWORD.
31599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31601
31602 2013-10-04 Alan Modra <amodra@gmail.com>
31603
31604 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31605 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31606 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31607 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31608 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31609 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31610 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31611 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31612 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31613 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31614
31615 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31616 Alistair Popple <alistair@ozlabs.au.ibm.com>
31617 Alan Modra <amodra@gmail.com>
31618
31619 [BZ #15723]
31620 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31621 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31622 _dl_hwcap access for little-endian.
31623 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31624 destroy vmx regs when saving unaligned.
31625 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31626 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31627 destroy vmx regs when saving unaligned.
31628
31629 2013-10-04 Alan Modra <amodra@gmail.com>
31630
31631 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31632 Don't use a union to pack hi/low value.
31633
31634 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31635
31636 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31637 for little-endian.
31638 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31640 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31641 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31642 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31643
31644 2013-10-04 Alan Modra <amodra@gmail.com>
31645
31646 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31647 constants to usual value for .cst8 section, and remove redundant
31648 high address load.
31649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31650 constant for 0x1p52. Load little-endian words of double from
31651 correct stack offsets.
31652
31653 2013-10-04 Alan Modra <amodra@gmail.com>
31654
31655 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31656 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31657 words of double from correct stack offsets.
31658 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31659 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31660 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31661 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31663 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31665 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31666 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31667 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31669 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31670 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31671 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31672 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31673 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31674 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31675
31676 2013-10-04 Alan Modra <amodra@gmail.com>
31677
31678 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31679 64-bit int/double union.
31680 (_FPU_SETCW): Likewise.
31681 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31682 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31683
31684 2013-10-04 Alan Modra <amodra@gmail.com>
31685
31686 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31687 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31688
31689 2013-10-04 Alan Modra <amodra@gmail.com>
31690
31691 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31692 use vector int constants.
31693 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31694
31695 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31696
31697 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31698 array with long long.
31699 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31700 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31701 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31702 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31703 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31704 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31705 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31706 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31707 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31708 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31709 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31710 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31711 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31712
31713 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31714
31715 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31716 (__signbit): Likewise. Correct for little-endian.
31717 (__signbitl): Call __signbit.
31718 (lrint): Correct for little-endian.
31719 (lrintf): Call lrint.
31720
31721 2013-10-04 Alan Modra <amodra@gmail.com>
31722
31723 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31724 union 32-bit int array member with 64-bit int array.
31725 (t515, tm256): Double rather than long double.
31726 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31727
31728 2013-10-04 Alan Modra <amodra@gmail.com>
31729
31730 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31731 Delete.
31732 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31733 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31734 version of math_ldbl.h.
31735
31736 2013-10-04 Alan Modra <amodra@gmail.com>
31737
31738 [BZ #15734], [BZ #15735]
31739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31740 all uses of ieee875 long double macros and unions. Simplify test
31741 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31742 ldbl_extract_mantissa value for ix,iy exponents. Properly
31743 normalize after ldbl_extract_mantissa, and don't add hidden bit
31744 already handled. Don't treat low word of ieee854 mantissa like
31745 low word of IBM long double and mask off bit when testing for
31746 zero.
31747 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31748 all uses of ieee875 long double macros and unions. Simplify tests
31749 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31750 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31751 two1022, instead use their values. Recognise that tests for large
31752 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31753 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31754 Rewrite all uses of ieee875 long double macros and unions. Simplify
31755 test for 0.0L and nan. Correct negation.
31756 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31757 ieee875 long double macros and unions. Correct output for large
31758 magnitude x. Correct absolute value calculation.
31759 (__erfcl): Likewise.
31760 * math/libm-test.inc: Add tests for errors discovered in IBM long
31761 double versions of fmodl, remainderl, erfl and erfcl.
31762
31763 2013-10-04 Alan Modra <amodra@gmail.com>
31764
31765 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31766 all uses of ieee854 long double macros and unions. Simplify tests
31767 for long doubles that are fully specified by the high double.
31768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31769 Likewise.
31770 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31771 Remove dead code too.
31772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31773 (__ieee754_ynl): Likewise.
31774 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31777 Remove dead code too.
31778 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31779 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31780 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31781 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31782 Simplify.
31783 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31784 Simplify.
31785 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31786 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31787 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31788 Comment on variable precision.
31789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31791 Likewise.
31792 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31795 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31796 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31797
31798 2013-10-04 Alan Modra <amodra@gmail.com>
31799
31800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31801 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31802 all uses of ieee854 long double macros and unions.
31803 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31805 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31806 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31807 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31809 Likewise.
31810 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31811 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31812 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31813 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31814 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31815 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31816 Simplify sign and nan test too.
31817 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31818 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31819 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31820 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31821 Likewise.
31822 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31823 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31824 Likewise.
31825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31826 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31827 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31828 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31829 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31831
31832 2013-10-04 Alan Modra <amodra@gmail.com>
31833
31834 * stdio-common/printf_size.c (__printf_size): Don't use
31835 union ieee854_long_double in fpnum union.
31836 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31837 signbit macro to retrieve sign from long double.
31838 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31839 retrieve sign from long double.
31840 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31841 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31842 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31843 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31844 * math/test-misc.c (main): Don't use union ieee854_long_double.
31845
31846 2013-10-04 Alan Modra <amodra@gmail.com>
31847
31848 [BZ #15680]
31849 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31850 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31851 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31852 calculation. Remove unnecessary test for denormal exponent.
31853 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31854 Correct handling of denormals. Avoid undefined shift behaviour.
31855 Correct normalisation of low mantissa when low double is denormal.
31856 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31857 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31858 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31859 Correct normalisation of low mantissa. Test for overflow of high
31860 mantissa and normalise.
31861 (ldbl_nearbyint): Use more readable constant for two52.
31862 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31863 (__mpn_construct_long_double): Fix test for overflow of high
31864 mantissa and correct normalisation. Avoid undefined shift.
31865
31866 2013-10-04 Alan Modra <amodra@gmail.com>
31867
31868 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31869 (union ibm_extended_long_double): Define as an array of ieee754_double.
31870 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31871 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31872 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31873 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31874 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31875 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31877 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31878 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31879 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31880 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31881
31882 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31883
31884 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31885 page size instead of calling getpagesize.
31886
31887 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31888 (LOCFILE_ALIGN_MASK): Likewise.
31889 (LOCFILE_ALIGN_UP): Likewise.
31890 (LOCFILE_ALIGNED_P): Likewise.
31891 * locale/programs/ld-collate.c (collate_output): Use the new
31892 macros instead of __alignof__ (int32_t).
31893 * locale/weight.h (findidx): Likewise.
31894
31895 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31896
31897 [BZ #431]
31898 * manual/string.texi: Fix strncat and wcsncat.
31899
31900 2013-10-03 Brooks Moses <bmoses@google.com>
31901
31902 [BZ #15915]
31903 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31904 * Makerules: ...here, and adjust associated comments.
31905
31906 2013-10-02 Will Newton <will.newton@linaro.org>
31907
31908 * malloc/Makefile: Add tst-pvalloc.
31909 * malloc/tst-pvalloc.c: New file.
31910
31911 2013-10-02 Will Newton <will.newton@linaro.org>
31912
31913 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31914 improve test coverage.
31915
31916 2013-10-02 Will Newton <will.newton@linaro.org>
31917
31918 * malloc/Makefile: Add tst-posix_memalign.
31919 * malloc/tst-posix_memalign.c: New file.
31920
31921 2013-10-01 Eric Blake <eblake@redhat.com>
31922
31923 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31924 Use __THROWNL rather than __THROW on static functions.
31925
31926 2013-09-30 Petr Machata <pmachata@redhat.com>
31927
31928 * elf/elf.h (R_AARCH64_ABS16): New macro.
31929 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31930 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31931 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31932 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31933 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31934 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31935 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31936 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31937 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31938 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31939 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31940 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31941 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31942 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31943 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31944 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31945 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31946 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31947 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31948 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31949 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31950 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31951 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31952 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31953 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31954 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31955 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31956 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31957 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31958 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31959 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31960 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31961 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31962 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31963 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31964 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31965 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31966 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31967 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31968 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31969 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31970 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31971 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31972 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31973 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31974 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31975 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31976 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31977 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31978 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31979 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31980 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31981 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31982 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31983 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31984 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31985 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31986 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31987 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31988 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31989 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31990 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31991 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31992 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31993 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31994 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31995 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31996 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31997 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31998 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31999 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32000 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32001 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32002 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32003 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32004 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32005 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32006 (R_AARCH64_TLSDESC_LDR): Likewise.
32007 (R_AARCH64_TLSDESC_ADD): Likewise.
32008 (R_AARCH64_TLSDESC_CALL): Likewise.
32009
32010 2013-09-30 Andreas Schwab <schwab@suse.de>
32011
32012 [BZ #15048]
32013 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32014 the nss database lookup.
32015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32017
32018 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32019
32020 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32021
32022 2013-09-28 P. J. McDermott <pj@pehjota.net>
32023
32024 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32025 ${Bash-specific parameter/pattern/string} parameter expansion.
32026 * sysdeps/unix/make-syscalls.sh: Likewise.
32027
32028 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32029
32030 * sysdeps/sh/stackguard-macros.h: New file.
32031
32032 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32033
32034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32036 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32037 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32038 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32039 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32040
32041 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32042
32043 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32044 Fix thread ID register.
32045
32046 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32047
32048 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32049 [POSIX || UNIX98]: Require rather than permitting all symbols from
32050 <time.h>.
32051 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32052 element of struct sched_param.
32053 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32054 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32055 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32056 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32057 constant.
32058
32059 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32060
32061 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32062 argument calculation.
32063
32064 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32065
32066 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32067 Expect macro.
32068 [POSIX] (pthread_attr_t): Do not require type.
32069 [POSIX] (pthread_cond_t): Likewise.
32070 [POSIX] (pthread_condattr_t): Likewise.
32071 [POSIX] (pthread_key_t): Likewise.
32072 [POSIX] (pthread_mutex_t): Likewise.
32073 [POSIX] (pthread_mutexattr_t): Likewise.
32074 [POSIX] (pthread_once_t): Likewise.
32075 [POSIX] (pthread_t): Likewise.
32076 [POSIX-based standards] (pthread_atfork): Expect function.
32077
32078 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32079 Richard Sandiford <richard@codesourcery.com>
32080
32081 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32082 (swap_endianness_p): New extern variable.
32083 (set_big_endian): New inline function.
32084 (maybe_swap_uint32): Likewise.
32085 (maybe_swap_uint32_array): Likewise.
32086 (maybe_swap_uint32_obstack): Likewise.
32087 * locale/programs/locfile.c: Include <stdbool.h>.
32088 (swap_endianness_p): New variable.
32089 (add_locale_uint32): Call maybe_swap_uint32.
32090 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32091 (write_locale_data): Call maybe_swap_uint32_array.
32092 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32093 maybe_swap_uint32.
32094 (obstack_int32_grow_fast): Likewise.
32095 (output_weightwc): Call maybe_swap_uint32_obstack.
32096 (collate_output): Likewise.
32097 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32098 (OPT_LITTLE_ENDIAN): Likewise.
32099 (options): Add --little-endian and --big-endian options.
32100 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32101 * locale/programs/locarchive.c: Include "locfile.h".
32102 (GET): New macro.
32103 (SET): Likewise.
32104 (INC): Likewise.
32105 (create_archive): Use the new macros to access fields of
32106 structures directly mapped from or written to locale archives.
32107 (oldlocrecentcmp): Likewise.
32108 (enlarge_archive): Likewise.
32109 (insert_name): Likewise.
32110 (add_alias): Likewise.
32111 (add_locale): Likewise.
32112 (delete_locales_from_archive): Likewise.
32113 (show_archive_content): Likewise.
32114 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32115 locale data.
32116
32117 2013-09-24 Roland McGrath <roland@hack.frob.com>
32118
32119 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32120 http://www.gnu.org/doc/freemanuals.texi.
32121 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32122
32123 2013-09-24 Will Newton <will.newton@linaro.org>
32124
32125 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32126 macro.
32127
32128 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32129
32130 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32131 unsigned char.
32132
32133 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32134
32135 * manual/threads.texi (POSIX Threads): Fix a typo.
32136
32137 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32138
32139 [BZ #14547]
32140 * string/tst-strcoll-overflow.c: New test case.
32141 * string/Makefile (xtests): Add tst-strcoll-overflow.
32142 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32143 cache if string sizes may cause integer overflow.
32144
32145 [BZ #14547]
32146 * string/strcoll_l.c (coll_seq): New members rule, idx,
32147 save_idx and back_us.
32148 (get_next_seq_nocache): New function.
32149 (do_compare_nocache): New function.
32150 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32151 when malloc fails.
32152
32153 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32154
32155 [BZ #15754]
32156 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32157 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32158 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32159
32160 [BZ #15754]
32161 * elf/Makefile (tests): Add tst-ptrguard1.
32162 (tests-static): Add tst-ptrguard1-static.
32163 (tst-ptrguard1-ARGS): Define.
32164 (tst-ptrguard1-static-ARGS): Define.
32165 * elf/tst-ptrguard1.c: New file.
32166 * elf/tst-ptrguard1-static.c: New file.
32167 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32168 * sysdeps/i386/stackguard-macros.h: Likewise.
32169 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32170 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32171 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32172 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32173 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32174 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32175
32176 2013-09-23 Hector Marco <hecmargi@upv.es>
32177 Ismael Ripoll <iripoll@disca.upv.es>
32178 Carlos O'Donell <carlos@redhat.com>
32179
32180 [BZ #15754]
32181 * sysdeps/generic/stackguard-macros.h: Define
32182 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32183 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32184 Define __pointer_chk_guard_local.
32185 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32186 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32187
32188 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32189
32190 [BZ #15859]
32191 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32192
32193 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32194
32195 * include/string.h (__ffs): Declare as hidden.
32196 * string/ffs.c (__ffs): Define as hidden.
32197 * sysdeps/i386/ffs.c (__ffs): Likewise.
32198 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32199 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32200 * sysdeps/s390/ffs.c (__ffs): Likewise.
32201 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32202
32203 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32204
32205 * NEWS: Mention malloc probes.
32206
32207 * malloc/arena.c (new_heap): New memory_heap_new probe.
32208 (grow_heap): New memory_heap_more probe.
32209 (shrink_heap): New memory_heap_less probe.
32210 (heap_trim): New memory_heap_free probe.
32211 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32212 (systrim): New memory_sbrk_less probe.
32213 * manual/probes.texi: Document them.
32214
32215 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32216 * manual/probes.texi: Document it.
32217
32218 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32219 (__libc_realloc): Add memory_realloc_retry probe.
32220 (__libc_memalign): Add memory_memalign_retry probe.
32221 (__libc_valloc): Add memory_valloc_retry probe.
32222 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32223 (__libc_calloc): Add memory_calloc_retry probe.
32224 * manual/probes.texi: Document them.
32225
32226 * malloc/arena.c (get_free_list): Add probe
32227 memory_arena_reuse_free_list.
32228 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32229 and memory_arena_reuse.
32230 (arena_get2) [!PER_THREAD]: Likewise.
32231 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32232 memory_arena_reuse_realloc.
32233 * manual/probes.texi: Document them.
32234
32235 * malloc/malloc.c (__libc_free): Add
32236 memory_mallopt_free_dyn_thresholds probe.
32237 (__libc_mallopt): Add multiple memory_mallopt probes.
32238 * manual/probes.texi: Document them.
32239
32240 * malloc/malloc.c: Include stap-probe.h.
32241 (__libc_mallopt): Add memory_mallopt probe.
32242 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32243 * manual/probes.texi: New.
32244 * manual/Makefile (chapters): Add probes.
32245 * manual/threads.texi: Set next node.
32246
32247 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32248
32249 [BZ #15963, #13985]
32250 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32251 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32252 Add `Chinese' to `nan' entry name.
32253
32254 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32255
32256 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32257 (POLYNOMIAL): Likewise.
32258 (TAYLOR_SINCOS): Likewise.
32259 (TAYLOR_SLOW): Likewise.
32260 (__sin): Use TAYLOR_SINCOS.
32261 (__cos): Likewise.
32262 (slow): Use TAYLOR_SLOW.
32263 (sloww): Likewise.
32264 (bsloww): Likewise.
32265 (csloww): Likewise.
32266
32267 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32268
32269 * stdlib/strtod_l.c: Fix buffer overrun.
32270
32271 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32272
32273 * benchtests/Makefile (bench): Add sincos.
32274 * benchtests/bench-sincos.c: New file.
32275
32276 * math/libm-test.inc (cos_test_data): New test inputs.
32277 (sin_test_data): Likewise.
32278
32279 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32280 macro.
32281 (__sin): Use it.
32282 (__cos): Likewise.
32283 (slow1): Likewise.
32284 (slow2): Likewise.
32285 (sloww1): Likewise.
32286 (sloww2): Likewise.
32287 (bsloww1): Likewise.
32288 (bsloww2): Likewise.
32289 (cslow2): Likewise.
32290 (csloww1): Likewise.
32291 (csloww2): Likewise.
32292
32293 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32294 function.
32295 (__sin): Use it.
32296 (__cos): Likewise.
32297
32298 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32299 gotos.
32300 (__cos): Likewise.
32301
32302 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32303
32304 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32305 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32306 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32307 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32308 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32309 * elf/cache.c (print_entry): Handle the new cache flags.
32310
32311 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32312 Aldy Hernandez <aldyh@redhat.com>
32313
32314 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32315 Change condition to [_SOFT_FLOAT].
32316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32328 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32331 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32332 declaration.
32333
32334 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32335
32336 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32337 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32338 (__longjmp): Use LOAD_GP to load saved GPRs.
32339 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32340 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32341 (__sigsetjmp): Use SAVE_GP to save GPRs.
32342
32343 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32344 Do not append -msoft-float.
32345 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32346
32347 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32348
32349 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32350
32351 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32352
32353 [BZ #15966]
32354 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32355 (_FPU_GETCW): Use initial "__" on variable and field names but not
32356 on macro parameter name.
32357 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32358 parentheses around reference to macro parameter.
32359
32360 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32361
32362 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32363 prototype.
32364 (ctype_startup): Use uint32_t in cast and sizeof for
32365 ctype->charnames.
32366
32367 2013-09-11 Jia Liu <proljc@gmail.com>
32368
32369 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32370 __daddr_t_defined.
32371 [__FreeBSD__]: Likewise.
32372
32373 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32374
32375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32376 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32377 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32378 (strchr): Remove __strchr_sse42 ifunc selection.
32379 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32380 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32381
32382 2013-09-11 Will Newton <will.newton@linaro.org>
32383
32384 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32385 parameter to RES. Remove hardcoded 1000 value.
32386 * benchtests/bench-skeleton.c (main): Pass RES parameter
32387 to TIMING_INIT and multiply result by 1000.
32388
32389 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32390
32391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32392
32393 2013-09-11 Andreas Schwab <schwab@suse.de>
32394
32395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32396 if not defined.
32397 (O_TMPFILE) [__USE_GNU]: Define.
32398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32399 Define.
32400
32401 2013-09-11 Will Newton <will.newton@linaro.org>
32402
32403 [BZ #15857]
32404 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32405 does not overflow.
32406
32407 2013-09-11 Will Newton <will.newton@linaro.org>
32408
32409 [BZ #15856]
32410 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32411 does not overflow.
32412
32413 2013-09-11 Will Newton <will.newton@linaro.org>
32414
32415 [BZ #15855]
32416 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32417 does not overflow.
32418
32419 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32420
32421 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32422 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32423 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32424 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32425 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32426
32427 2013-09-10 Allan McRae <allan@archlinux.org>
32428
32429 [BZ #15748]
32430 * manual/arith.texi (Parsing of Floats): Clarify
32431 cross-reference.
32432
32433 [BZ #15849]
32434 * manual/install.texi (Running make install): Mention
32435 --enable-pt-chown.
32436 * INSTALL: Regenerated.
32437
32438 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32439
32440 * csu/init-first.c (_init): Remove the !SHARED condition around
32441 FPU control word initialization.
32442 * elf/dl-support.c (_dl_fpu_control): New variable.
32443 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32444 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32445 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32446 * math/test-fpucw-static.c: New file.
32447 * math/test-fpucw-ieee.c: New file.
32448 * math/test-fpucw-ieee-static.c: New file.
32449 * math/Makefile (tests): Add `test-fpucw-ieee' and
32450 `$(tests-static)'.
32451 (tests-static): New variable.
32452 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32453 dependency to...
32454 [($(build-shared),yes)]
32455 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32456 ... this.
32457 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32458 New dependency.
32459
32460 2013-09-09 Allan McRae <allan@archlinux.org>
32461
32462 [BZ #15939]
32463 * manual/string.texi (Collation Functions): Fix typo in
32464 strcoll example.
32465 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32466
32467 [BZ #15893]
32468 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32469
32470 [BZ #15892]
32471 * libio/memstream.c (open_memstream): Fix memory leak.
32472 * libio/wmemstream.c (open_wmemstream): Likewise.
32473
32474 [BZ #15895]
32475 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32476
32477 2013-09-09 Will Newton <will.newton@linaro.org>
32478
32479 * malloc/Makefile: Add tst-realloc to tests.
32480 * malloc/tst-realloc.c: New file.
32481
32482 2013-09-09 Allan McRae <allan@archlinux.org>
32483
32484 [BZ #15844]
32485 * COPYING: Update from GNU website to fix FSF address.
32486 * COPYING.LIB: Likewise.
32487
32488 2013-09-06 David S. Miller <davem@davemloft.net>
32489
32490 * po/zh_TW.po: Update Chinese (traditional) translation from
32491 translation project.
32492
32493 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32494 Joseph Myers <joseph@codesourcery.com>
32495
32496 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32497 "localeinfo.h".
32498 (obstack_chunk_alloc): New macro.
32499 (obstack_chunk_free): Likewise.
32500 (record_offset): New function.
32501 (init_locale_data): Likewise.
32502 (align_locale_data): Likewise.
32503 (add_locale_empty): Likewise.
32504 (add_locale_raw_data): Likewise.
32505 (add_locale_raw_obstack): Likewise.
32506 (add_locale_string): Likewise.
32507 (add_locale_wstring): Likewise.
32508 (add_locale_uint32): Likewise.
32509 (add_locale_uint32_array): Likewise.
32510 (add_locale_char): Likewise.
32511 (start_locale_structure): Likewise.
32512 (end_locale_structure): Likewise.
32513 (start_locale_prelude): Likewise.
32514 (end_locale_prelude): Likewise.
32515 (write_locale_data): Take locale_file structure rather than an
32516 iovec.
32517 * locale/programs/locfile.h: Include "obstack.h".
32518 (struct locale_file): Change to store locale file contents instead
32519 of header.
32520 (init_locale_data): New prototype.
32521 (align_locale_data): Likewise.
32522 (add_locale_empty): Likewise.
32523 (add_locale_raw_data): Likewise.
32524 (add_locale_raw_obstack): Likewise.
32525 (add_locale_string): Likewise.
32526 (add_locale_wstring): Likewise.
32527 (add_locale_uint32): Likewise.
32528 (add_locale_uint32_array): Likewise.
32529 (add_locale_char): Likewise.
32530 (start_locale_structure): Likewise.
32531 (end_locale_structure): Likewise.
32532 (start_locale_prelude): Likewise.
32533 (end_locale_prelude): Likewise.
32534 (write_locale_data): Update prototype.
32535 * locale/programs/3level.h (struct TABLE): Remove result field.
32536 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32537 Use new locale_file interface.
32538 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32539 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32540 * locale/programs/ld-address.c (address_output): Use new
32541 locale_file interface.
32542 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32543 NO_ADD_LOCALE.
32544 (collate_finish): Don't call collseq_table_finalize.
32545 (collate_output): Use new locale_file interface.
32546 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32547 in file.
32548 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32549 (TABLE): Move defines earlier in file.
32550 (ELEMENT): Likewise.
32551 (DEFAULT): Likewise.
32552 (wctrans_table_add): Move macro and inline function earlier in
32553 file.
32554 (struct wctype_table): Move type earlier in file.
32555 (add_locale_wctype_table): New static prototype.
32556 (struct locale_ctype_t): Use logical types instead of struct iovec
32557 pointers for members.
32558 (ctype_output): Use new locale_file interface.
32559 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32560 new locale_file interface.
32561 (allocate_arrays): Update for use of new locale_file interface.
32562 * locale/programs/ld-identification.c (identification_output): Use
32563 new locale_file interface.
32564 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32565 * locale/programs/ld-messages.c (messages_output): Likewise.
32566 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32567 * locale/programs/ld-name.c (name_output): Likewise.
32568 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32569 * locale/programs/ld-paper.c (paper_output): Likewise.
32570 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32571 * locale/programs/ld-time.c (time_output): Likewise.
32572
32573 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32574
32575 * benchtests/Makefile: Add memrchr benchmark.
32576 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32577 benchmark as memrchr.
32578 * benchtests/bench-memrchr-ifunc.c: New file.
32579 * benchtests/bench-memrchr.c: New file.
32580
32581 2013-09-06 Will Newton <will.newton@linaro.org>
32582
32583 * benchtests/Makefile (string-bench): Add memcpy.
32584
32585 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32586 Cong Wang <amwang@redhat.com>
32587
32588 [BZ #15850]
32589 * sysdeps/unix/sysv/linux/bits/in.h
32590 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32591 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32592 before __USE_KERNEL_IPV6_DEFS uses.
32593 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32594 IPPROTO_BEETPH.
32595 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32596 sockaddr_in6, or ipv6_mreq.
32597
32598 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32599
32600 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32601 memory access for final bytes in some large inputs.
32602 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32603
32604 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32605
32606 * string/test-memrchr.c: New file.
32607 * string/test-memrchr-ifunc.c: New file.
32608 * string/Makefile: Add new memrchr testcase.
32609
32610 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32611
32612 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32613 fanotify_init returns EPERM.
32614
32615 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32616
32617 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32618 errors.
32619 (top level): Treat second token from macro or constant entries for
32620 allowed headers as allowed.
32621 * include/complex.h: Condition internal declarations on
32622 [!_ISOMAC].
32623 * include/fenv.h: Condition include of <stdbool.h> and internal
32624 declarations on [!_ISOMAC].
32625
32626 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32627
32628 [BZ #15923]
32629 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32630
32631 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32632
32633 * configure.in (--enable-versioning): Remove configure option.
32634 (libc_cv_asm_symver_directive): Remove configure test.
32635 (libc_cv_ld_version_script_option): Likewise.
32636 (VERSIONING): Remove variable and AC_SUBST.
32637 (DO_VERSIONING): Remove AC_DEFINE.
32638 * configure: Regenerated.
32639 * config.h.in (DO_VERSIONING): Remove macro.
32640 * Makerules [$(versioning) = yes]: Change conditionals to
32641 [$(build-shared) = yes].
32642 * config.make.in (versioning): Remove variable.
32643 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32644 [$(build-shared) = yes].
32645 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32646 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32647 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32648 [$(build-shared) = yes].
32649 * extra-lib.mk [$(versioning) = yes]: Likewise.
32650 * hurd/Makefile [$(versioning) = yes]: Likewise.
32651 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32652 [SHARED].
32653 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32654 [SHARED].
32655 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32656 [SHARED && !NO_HIDDEN].
32657 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32658 [SHARED].
32659 [SHARED && DO_VERSIONING]: Likewise..
32660 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32661 [$(build-shared) = yes].
32662 * manual/install.texi (--disable-versioning): Remove
32663 documentation.
32664 * INSTALL: Regenerated.
32665 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32666 to [SHARED].
32667 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32668 [$(build-shared) = yes].
32669 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32670 * sysdeps/i386/i686/multiarch/strstr-c.c
32671 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32672 [SHARED && !NO_HIDDEN].
32673 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32674 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32675 * sysdeps/powerpc/powerpc32/dl-machine.c
32676 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32677 * sysdeps/powerpc/powerpc32/sysdep.h
32678 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32679 to [SHARED && PIC && !NO_HIDDEN].
32680 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32681 conditional to [SHARED].
32682
32683 2013-09-04 Will Newton <will.newton@linaro.org>
32684
32685 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32686 * benchtests/bench-string.h: Include bench-timing.h instead
32687 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32688 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32689 call to HP_TIMING_DIFF_INIT.
32690 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32691 instead of hp-timing.h macros.
32692 * benchtests/bench-memchr.c: Likewise.
32693 * benchtests/bench-memcmp.c: Likewise.
32694 * benchtests/bench-memcpy.c: Likewise.
32695 * benchtests/bench-memmem.c: Likewise.
32696 * benchtests/bench-memmove.c: Likewise.
32697 * benchtests/bench-memset.c: Likewise.
32698 * benchtests/bench-rawmemchr.c: Likewise.
32699 * benchtests/bench-strcasecmp.c: Likewise.
32700 * benchtests/bench-strcasestr.c: Likewise.
32701 * benchtests/bench-strcat.c: Likewise.
32702 * benchtests/bench-strchr.c: Likewise.
32703 * benchtests/bench-strcmp.c: Likewise.
32704 * benchtests/bench-strcpy.c: Likewise.
32705 * benchtests/bench-strcpy_chk.c: Likewise.
32706 * benchtests/bench-strlen.c: Likewise.
32707 * benchtests/bench-strncasecmp.c: Likewise.
32708 * benchtests/bench-strncat.c: Likewise.
32709 * benchtests/bench-strncmp.c: Likewise.
32710 * benchtests/bench-strncpy.c: Likewise.
32711 * benchtests/bench-strnlen.c: Likewise.
32712 * benchtests/bench-strpbrk.c: Likewise.
32713 * benchtests/bench-strrchr.c: Likewise.
32714 * benchtests/bench-strspn.c: Likewise.
32715 * benchtests/bench-strstr.c: Likewise.
32716
32717 2013-09-04 Will Newton <will.newton@linaro.org>
32718
32719 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32720
32721 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32722
32723 [BZ #15427]
32724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32725 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32726 * math/libm-test.inc (lgamma_test_data): Add more tests.
32727 * sysdeps/i386/fpu/libm-test-ulps: Update.
32728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32729
32730 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32731
32732 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32734 Add ifunc.
32735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32736 Add strcmp-sse2-unaligned
32737 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32738
32739 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32740
32741 * Versions.def (libc): Add GLIBC_2.19.
32742
32743 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32744
32745 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32746 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32747
32748 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32749
32750 [BZ #14155]
32751 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32752 intermediate calculations in recurrence.
32753 (__ieee754_ynf): Likewise.
32754 * math/libm-test.inc (jn_test_data): Do not allow spurious
32755 underflow exception. Add more tests.
32756 (yn_test_data): Add more tests.
32757 * sysdeps/i386/fpu/libm-test-ulps: Update.
32758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32759
32760 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32761
32762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32763
32764 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32765
32766 * csu/init-first.c: Fix then/than typos.
32767 * locale/programs/ld-collate.c: Likewise.
32768 * locale/programs/linereader.h: Likewise.
32769 * manual/charset.texi: Likewise.
32770 * manual/filesys.texi: Likewise.
32771 * manual/stdio.texi: Likewise.
32772 * manual/string.texi: Likewise.
32773 * stdlib/fmtmsg.c: Likewise.
32774 * sysdeps/i386/stpncpy.S: Likewise.
32775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32776 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32777 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32778 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32779
32780 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32781
32782 * elf/dl-open.c: Fix typos.
32783 * iconvdata/gbbig5.c: Likewise.
32784 * iconvdata/iso-2022-jp.c: Likewise.
32785 * iconv/gconv_int.h: Likewise.
32786 * iconv/loop.c: Likewise.
32787 * nis/rpcsvc/nis.h: Likewise.
32788 * resolv/ns_name.c: Likewise.
32789 * stdio-common/vfscanf.c: Likewise.
32790 * streams/stropts.h: Likewise.
32791 * sunrpc/rpc_thread.c: Likewise.
32792 * sysdeps/i386/strpbrk.S: Likewise.
32793 * sysdeps/ieee754/k_standard.c: Likewise.
32794 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32796 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32797 * sysdeps/mach/hurd/profil.c: Likewise.
32798 * sysdeps/s390/dl-procinfo.h: Likewise.
32799 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32800 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32801 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32802 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32804
32805 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32806
32807 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32809
32810 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32811
32812 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32813 aix specific files.
32814 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32815 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32816 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32817 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32818 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32819 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32820 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32821 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32822
32823 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32824 Roland McGrath <roland@hack.frob.com>
32825
32826 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32827 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32828
32829 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32830
32831 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32832 __executable_start symbol instead of _start.
32833
32834 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32835
32836 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32837 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32838 Move macros to...
32839 * sysdeps/gnu/ldsodefs.h: ... this new file.
32840
32841 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32842 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32843 instead of ELFOSABI_LINUX.
32844
32845 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32846 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32847 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32848 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32849 Likewise.
32850 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32851 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32852 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32853 Likewise.
32854 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32855 (ibm_extended_long_double): Add ieee_nan member.
32856 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32857 (do_test): New function.
32858
32859 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32860 TEST_TRUNC.
32861 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32862 functions, renamed from truncdfsf_test, trunctfsf_test,
32863 trunctfdf_test.
32864 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32865 functions.
32866 (do_test): Run all these.
32867
32868 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32869
32870 * argp/argp-help.c: Fix typos.
32871 * argp/argp-parse.c: Likewise.
32872 * debug/backtracesyms.c: Likewise.
32873 * elf/elf.h: Likewise.
32874 * malloc/malloc.c: Likewise.
32875 * nis/nis_print.c: Likewise.
32876 * resolv/res_comp.c: Likewise.
32877 * stdlib/stdlib.h: Likewise.
32878 * sunrpc/clnt_tcp.c: Likewise.
32879 * sunrpc/clnt_udp.c: Likewise.
32880 * sunrpc/clnt_unix.c: Likewise.
32881 * sysdeps/unix/bsd/ptsname.c: Likewise.
32882 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32885 Likewise.
32886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32887 Likewise.
32888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32889 Likewise.
32890 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32891
32892 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32893
32894 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32896
32897 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32898
32899 [BZ #15897]
32900 * dlfcn/Makefile (tests): Add bug-dl-leaf.
32901 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32902 ($(objpfx)bug-dl-leaf): New rule.
32903 ($(objpfx)bug-dl-leaf.so): Likewise.
32904 ($(objpfx)bug-dl-leaf.out): Likewise.
32905 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32906 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32907 * dlfcn/bug-dl-leaf.c: New test.
32908 * dlfcn/bug-dl-leaf-lib.c: Likewise.
32909 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32910 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32911 (dlclose): Likewise.
32912 (dlmopen): Likewise.
32913
32914 2013-08-27 Roland McGrath <roland@hack.frob.com>
32915
32916 * include/netdb.h [!_ISOMAC]:
32917 Don't include <tls.h>.
32918 (h_errno, __libc_h_errno): Move declaration and macros out of
32919 [_LIBC_REENTRANT].
32920
32921 * include/resolv.h [_RESOLV_H_]:
32922 Don't include <tls.h>.
32923 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32924 * resolv/res_libc.c: Don't include <tls.h>.
32925 (_res): Use __attribute__ ((nocommon)) in place of
32926 __attribute__ ((section (".bss"))).
32927
32928 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32929 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32930
32931 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32932
32933 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32934 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32935
32936 * resolv/res_mkquery.c: Include <sys/time.h>.
32937
32938 * inet/ifreq.c: Moved to ...
32939 * sysdeps/unix/ifreq.c: ... here.
32940 * inet/ifreq.c: New file, true stub version.
32941
32942 * socket/sa_len.c: New file.
32943 * socket/Makefile (aux): Add it.
32944 * sysdeps/unix/sysv/linux/Makefile
32945 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32946 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32947 and #include <socket/sa_len.c>.
32948 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32949 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32950
32951 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32952 * bits/socket.h: ... here.
32953
32954 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32955 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32956 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32957
32958 2013-08-27 Andreas Schwab <schwab@suse.de>
32959
32960 [BZ #15736]
32961 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32962 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32963 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32964 * string/test-strcasecmp.c (test_main): Run tests in several
32965 locales.
32966 * string/test-strncasecmp.c (test_main): Likewise.
32967
32968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32969 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32970 to __strcasecmp_nonascii and __strncasecmp_nonascii.
32971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32972 (__strncasecmp_ssse3) [PIC]: Likewise.
32973
32974 2013-08-26 Roland McGrath <roland@hack.frob.com>
32975
32976 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32977
32978 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32979 instead of explicitly declaring xdecrypt.
32980 * nis/nss_nis/nis-publickey.c: Likewise.
32981
32982 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32983
32984 [BZ #15890]
32985 * nscd/aicache.c: Include res_hconf.h.
32986 (addhstaiX): Initialize res_hconf.
32987
32988 2013-08-26 Andreas Schwab <schwab@suse.de>
32989
32990 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32991 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32992
32993 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32994
32995 * nscd/aicache.c (addhstaiX): Fix indentation.
32996
32997 2013-08-25 Mike Frysinger <vapier@gentoo.org>
32998
32999 * configure.ac: Quote $build_pt_chown test.
33000 * configure: Regenerated.
33001
33002 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33003
33004 [BZ #15532]
33005 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33006 * math/s_cexpf.c (__cexpf): Likewise.
33007 * math/s_cexpl.c (__cexpl): Likewise.
33008 * math/libm-test.inc (cexp_test_data): Correct expected return
33009 value for NaN + i0. Add another test.
33010
33011 2013-08-22 David S. Miller <davem@davemloft.net>
33012
33013 * po/ca.po: Update Catalan translation from translation project.
33014 * po/uk.po: Add Ukrainian translations from translation project.
33015
33016 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33017
33018 [BZ #15797]
33019 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33020 is infinite, not alongside NaN test.
33021 * math/s_fdimf.c (__fdimf): Likewise.
33022 * math/s_fdiml.c (__fdiml): Likewise.
33023 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33024 errno is unchanged.
33025
33026 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33027
33028 * argp/argp-help.c: Fix typos.
33029 * crypt/speeds.c: Likewise.
33030 * csu/check_fds.c: Likewise.
33031 * elf/dl-load.c: Likewise.
33032 * elf/dl-open.c: Likewise.
33033 * elf/reldep3.c: Likewise.
33034 * elf/reldep.c: Likewise.
33035 * elf/sprof.c: Likewise.
33036 * iconv/iconv_charmap.c: Likewise.
33037 * iconv/skeleton.c: Likewise.
33038 * iconv/strtab.c: Likewise.
33039 * io/lockf64.c: Likewise.
33040 * libio/libioP.h: Likewise.
33041 * resolv/gai_notify.c: Likewise.
33042 * resolv/ns_name.c: Likewise.
33043 * resolv/ns_samedomain.c: Likewise.
33044 * resolv/res_send.c: Likewise.
33045 * stdlib/random.c: Likewise.
33046 * sunrpc/rpc/xdr.h: Likewise.
33047 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33049 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33050 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33051 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33052 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33055 * sysdeps/mach/hurd/check_fds.c: Likewise.
33056 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33057 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33058 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33059 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33061 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33062 * sysdeps/pthread/aio_notify.c: Likewise.
33063 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33064 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33065 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33067 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33068
33069 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33070
33071 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33072 version if bit_Slow_SSE4_2 is set.
33073 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33074 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33075
33076 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33077
33078 [BZ #15867]
33079 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33080 trampoline stack frame information.
33081 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33082 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33083 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33084 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33085 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33086 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33087 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33088 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33089 sa_flags value.
33090 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33091 interrupting a syscall and set with option SA_SIGINFO.
33092
33093 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33094
33095 [BZ #15531]
33096 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33097 argument is infinite.
33098 * math/s_cprojf.c (__cprojf): Likewise.
33099 * math/s_cprojl.c (__cprojl): Likewise.
33100 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33101 * math/libm-test.inc (cproj_test_data): Add more tests.
33102
33103 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33104
33105 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33106 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33107 size. Use __ffs to determine corresponding shift.
33108
33109 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33110 Roland McGrath <roland@hack.frob.com>
33111
33112 * Makefile (INSTALL): Remove trailing blank lines from output of
33113 makeinfo.
33114
33115 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33116
33117 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33118 Align 32 bit compat elf_greg to 8 bytes.
33119
33120 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33121
33122 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33123
33124 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33125
33126 * string/strcoll_l.c (coll_seq): New structure.
33127 (get_next_seq_cached): New function.
33128 (get_next_seq): New function.
33129 (do_compare): New function.
33130 (STRCOLL): Use GNU style definition. Simplify implementation
33131 by using get_next_seq, get_next_seq_cached and do_compare.
33132
33133 2013-08-16 Florian Weimer <fweimer@redhat.com>
33134
33135 [BZ #14699]
33136 CVE-2013-4237
33137 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33138 member.
33139 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33140 member.
33141 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33142 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33143 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33144 conditional.
33145 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33146 GETDENTS_64BIT_ALIGNED.
33147 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33148 * manual/filesys.texi (Reading/Closing Directory): Document
33149 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33150 strongly.
33151 * manual/conf.texi (Limits for Files): Add portability note to
33152 NAME_MAX, PATH_MAX.
33153 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33154
33155 2013-08-13 Andreas Schwab <schwab@suse.de>
33156
33157 [BZ #15749]
33158 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33159 of fabs.
33160 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33161 LDBL_MAX_EXP >= 16384]: Add tests for it.
33162
33163 2013-08-12 David S. Miller <davem@davemloft.net>
33164
33165 * version.h (RELEASE): Set to "development".
33166 (VERSION): Set to "2.18.90".
33167 * NEWS: Add 2.19 section.
33168
33169 2013-08-03 David S. Miller <davem@davemloft.net>
33170
33171 * po/ko.po: Update Korean translation from translation project.
33172
33173 2013-08-01 David S. Miller <davem@davemloft.net>
33174
33175 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33176 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33177 Bilka.
33178
33179 2013-07-30 David S. Miller <davem@davemloft.net>
33180
33181 * po/fr.po: Update French translation from translation project.
33182
33183 2013-07-28 David S. Miller <davem@davemloft.net>
33184
33185 * po/cs.po: Update Czech translation from translation project.
33186
33187 * po/sv.po: Update Swedish translation from translation project.
33188
33189 2013-07-27 David S. Miller <davem@davemloft.net>
33190
33191 * po/eo.po: Update Esperanto translation from translation project.
33192
33193 * po/vi.po: Update Vietnamese translation from translation project.
33194
33195 * po/de.po: Update German translation from translation project.
33196
33197 2013-07-26 David S. Miller <davem@davemloft.net>
33198
33199 * po/bg.po: Update Bulgarian translation from translation project.
33200
33201 * po/nl.po: Update Dutch translation from translation project.
33202 * po/pl.po: Update Polish translation from translation project.
33203 * po/ru.po: Update Russian translation from translation project.
33204
33205 2013-07-24 David S. Miller <davem@davemloft.net>
33206
33207 * po/libc.pot: Update.
33208
33209 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33210
33211 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33212 variable page size.
33213 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33214 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33215 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33216
33217 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33218
33219 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33220
33221 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33222 Andreas Schwab <schwab@suse.de>
33223 Roland McGrath <roland@hack.frob.com>
33224 Joseph Myers <joseph@codesourcery.com>
33225 Carlos O'Donell <carlos@redhat.com>
33226
33227 [BZ #15755]
33228 * config.h.in: Define HAVE_PT_CHOWN.
33229 * config.make.in (build-pt-chown): New variable.
33230 * configure.in (--enable-pt_chown): New configure option.
33231 * configure: Regenerate.
33232 * login/Makefile: Include Makeconfig. Build pt_chown only if
33233 build-pt-chown is enabled.
33234 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33235 pt_chown to fix pty ownership.
33236 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33237 CLOSE_ALL_FDS.
33238 * manual/install.texi (Configuring and compiling): Mention
33239 --enable-pt_chown. Add @findex for grantpt.
33240 * INSTALL: Regenerate.
33241
33242 2013-07-20 David S. Miller <davem@davemloft.net>
33243
33244 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33245 difference between 32-bit and 64-bit.
33246
33247 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33248
33249 [BZ #15711]
33250 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33251 Avoid system header dependency with -ffreestanding.
33252 ($(objpfx)bits/syscall%d): Likewise.
33253
33254 2013-07-13 David S. Miller <davem@davemloft.net>
33255
33256 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33257 underflows from atanl/atan2l due to bug 15319.
33258 (casinh_test_data): Likewise.
33259
33260 2013-07-07 David S. Miller <davem@davemloft.net>
33261
33262 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33263
33264 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33265
33266 * sysdeps/i386/fpu/libm-test-ulps: Update.
33267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33268
33269 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33270
33271 * configure.in (--enable-lock-elision): Fix message text.
33272 * INSTALL: Regenerate.
33273 * configure: Regenerate.
33274
33275 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33276
33277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33278
33279 2013-07-03 Andreas Jaeger <aj@suse.de>
33280
33281 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33282 define.
33283 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33284 (ptrace_peeksiginfo_args): Add.
33285 (__ptrace_peeksiginfo_flags): Add.
33286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33289
33290 2013-07-03 Allan McRae <allan@archlinux.org>
33291
33292 * sysdeps/i386/fpu/libm-test-ulps: Update.
33293
33294 2013-07-02 David S. Miller <davem@davemloft.net>
33295
33296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33297
33298 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33299
33300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33301
33302 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33303
33304 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33306
33307 2013-07-02 Andi Kleen <ak@linux.intel.com>
33308
33309 * config.h.in (ENABLE_LOCK_ELISION): Add.
33310 * configure.in (--enable-lock-elision): Add option.
33311 * manual/install.texi: Document --enable lock elision.
33312 * configure: Regenerate
33313 * INSTALL: Regenerate.
33314
33315 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33316
33317 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33318 SSE4.2 strcasecmp for libc.a.
33319 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33320
33321 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33322
33323 [BZ #13304]
33324 * soft-fp/op-common.h (_FP_FMA): New macro.
33325 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33326 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33327 (_FP_MUL_MEAT_1_imm): ... here.
33328 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33329 (_FP_MUL_MEAT_1_wide): ... here.
33330 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33331 (_FP_MUL_MEAT_1_hard): ... here.
33332 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33333 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33334 (_FP_MUL_MEAT_2_wide): ... here.
33335 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33336 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33337 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33338 (_FP_MUL_MEAT_2_gmp): ... here.
33339 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33340 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33341 (_FP_MUL_MEAT_4_wide): ... here.
33342 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33343 (_FP_MUL_MEAT_4_gmp): ... here.
33344 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33345 (_FP_WFRACBITS_DW_S): Likewise.
33346 (_FP_WFRACXBITS_DW_S): Likewise.
33347 (_FP_HIGHBIT_DW_S): Likewise.
33348 (FP_FMA_S): Likewise.
33349 (_FP_FRAC_HIGH_DW_S): Likewise.
33350 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33351 (_FP_WFRACBITS_DW_D): Likewise.
33352 (_FP_WFRACXBITS_DW_D): Likewise.
33353 (_FP_HIGHBIT_DW_D): Likewise.
33354 (FP_FMA_D): Likewise.
33355 (_FP_FRAC_HIGH_DW_D): Likewise.
33356 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33357 (_FP_WFRACBITS_DW_E): Likewise.
33358 (_FP_WFRACXBITS_DW_E): Likewise.
33359 (_FP_HIGHBIT_DW_E): Likewise.
33360 (FP_FMA_E): Likewise.
33361 (_FP_FRAC_HIGH_DW_E): Likewise.
33362 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33363 (_FP_WFRACBITS_DW_Q): Likewise.
33364 (_FP_WFRACXBITS_DW_Q): Likewise.
33365 (_FP_HIGHBIT_DW_Q): Likewise.
33366 (FP_FMA_Q): Likewise.
33367 (_FP_FRAC_HIGH_DW_Q): Likewise.
33368 * soft-fp/fmasf4.c: New file.
33369 * soft-fp/fmadf4.c: Likewise.
33370 * soft-fp/fmatf4.c: Likewise.
33371
33372 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33373
33374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33375 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33376 Silvermont.
33377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33378 macro.
33379 (index_Slow_SSE4_2): Likewise.
33380 (index_Prefer_PMINUB_for_stringop): Likewise.
33381 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33382 bit_Slow_SSE4_2 is set.
33383 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33384 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33385
33386 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33387
33388 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33389 rtld_global._dl_hwcap2.
33390 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33391 POWER8.
33392 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33393 POWER8 feature descriptions defined in _dl_hwcap2.
33394 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33395 string handling for POWER8 feature bits.
33396 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33397 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33398 _dl_powerpc_cap_flags.
33399 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33400 * sysdeps/powerpc/rtld-global-offsets.sym
33401 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33402 _dl_hwcap2 in the rtld_global_ro structure.
33403
33404 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33405
33406 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33407 hardware capabilities in support of AT_HWCAP2.
33408 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33409 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33410 GLRO(dl_hwcap2).
33411 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33412 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33413 explicitly the unknown a_type display mechanism is used.
33414 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33415 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33416 struct member.
33417 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33418 to macro prototype for AT_HWCAP2 support.
33419 * sysdeps/i386/dl-procinfo.h: Likewise.
33420 * sysdeps/s390/dl-procinfo.h: Likewise.
33421 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33422 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33423 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33424 return -1 for unknown a_type display fallback.
33425 * sysdeps/sparc/dl-procinfo.h: Likewise.
33426 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33427 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33428
33429 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33430
33431 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33432 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33433
33434 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33435
33436 [BZ #12492]
33437 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33438 mprotect making __stack_prot writable.
33439
33440 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33441 Joseph Myers <joseph@codesourcery.com>
33442
33443 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33444 as being properly aligned.
33445
33446 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33447
33448 * dlfcn/modstatic5.c: New file.
33449 * dlfcn/tststatic5.c: New file.
33450 * dlfcn/Makefile (tests): Add tststatic5.
33451 (tests-static): Likewise.
33452 (modules-names): Add modstatic5.
33453 (tststatic5-ENV): New variable.
33454 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33455
33456 [BZ #15022]
33457 * elf/dl-support.c (_dl_main_map): New variable.
33458 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33459 (_dl_nns, _dl_load_adds): Set to 1.
33460 (_dl_initial_searchlist): Refer to _dl_main_map.
33461 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33462 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33463 call to _dl_get_origin.
33464 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33465 around call_map.
33466 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33467 * dlfcn/modstatic3.c: New file.
33468 * dlfcn/tststatic3.c: New file.
33469 * dlfcn/tststatic4.c: New file.
33470 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33471 (tests-static): Likewise.
33472 (modules-names): Add modstatic3.
33473 (tststatic3-ENV, tststatic4-ENV): New variables.
33474 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33475 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33476
33477 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33478
33479 * configure.in (CC): Require GCC version 4.4 or later.
33480 * configure: Regenerated.
33481 * manual/install.texi (Tools for Compilation): Update GCC version
33482 requirement.
33483 * INSTALL: Regenerated.
33484
33485 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33486
33487 [BZ #15674]
33488 * string/test-memcmp.c (check2): New.
33489 (main): Call check2.
33490
33491 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33492
33493 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33494
33495 [BZ #15022]
33496 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33497 over to...
33498 (dl_open_worker) [!SHARED]: ... here.
33499
33500 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33501
33502 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33503
33504 2013-06-25 Richard Henderson <rth@redhat.com>
33505
33506 * locale/programs/locarchive.c: Include <libc-internal.h>
33507
33508 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33509
33510 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33511 trailing whitespace removed.
33512
33513 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33514
33515 [BZ #10283]
33516 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33517 * locale/programs/locarchive.c: Include libc-mmap.h.
33518 (prepare_address_space): Take two new outputs (the mmap base and len).
33519 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33520 values.
33521 (create_archive): Declare new mmap base and len values for
33522 prepare_address_space, and store the result in ah.
33523 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33524 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33525 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33526 Declare new mmap base and len values for
33527 prepare_address_space, and store the result in new_ah.
33528 (open_archive): Declare new mmap base and len values for
33529 prepare_address_space, and store the result in ah.
33530 (close_archive): If ah->mmap_base is not NULL, use that and
33531 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33532 * sysdeps/generic/libc-mmap.h: New file.
33533
33534 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33535
33536 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33537 (ALIGN_UP): Likewise.
33538 (PTR_ALIGN_DOWN): Likewise.
33539 (PTR_ALIGN_UP): Likewise.
33540
33541 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33542
33543 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33544 entry mapped to PPC_PLATFORM_POWER8.
33545 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33546 POWER8.
33547 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33548 (_dl_string_platform): Add case for exporting platform position for
33549 POWER8.
33550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33551 search path to sysdeps/powerpc/powerpc32/power8 directory.
33552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33553 search path to sysdeps/powerpc/powerpc64/power8 directory.
33554 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33555 power7 directories.
33556 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33557 power7 directories.
33558
33559 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33560
33561 * INSTALL: Regenerate.
33562
33563 * nscd/connections.c (nscd_init): Fix comment.
33564
33565 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33566
33567 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33568
33569 [BZ #15667]
33570 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33571 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33572
33573 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33574
33575 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33576 DL_DST_REQ_STATIC.
33577 (DL_DST_REQ_STATIC): Remove macro.
33578
33579 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33580
33581 [BZ #7006]
33582 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33583 with a shift of 0 bits.
33584
33585 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33586
33587 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33588 $(tststatic-ENV).
33589
33590 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33591
33592 [BZ #15655]
33593 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33594
33595 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33596
33597 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33598 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33599 accepts -fno-tree-loop-distribute-patterns.
33600 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33601 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33602 recursive call.
33603 * string/memset.c (memset): Likewise.
33604 * string/test-memmove.c (simple_memmove): Disable loop transformation
33605 to library calls.
33606 * string/test-memset.c (simple_memset): Likewise.
33607 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33608 * benchtests/bench-memset.c (simple_memset): Likewise.
33609 * configure: Regenerated.
33610
33611 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33612
33613 * math/test-misc.c (main): Ignore fesetround failure when failures
33614 of subsequent rounding tests would be ignored.
33615
33616 [BZ #15654]
33617 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33618 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33619 * math/fegetenv.c (__fegetenv): Return 0.
33620 * math/fegetexcept.c (fegetexcept): Return 0.
33621 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33622 FE_TONEAREST.
33623 * math/feholdexcpt.c (feholdexcept): Return 0.
33624 * math/fesetenv.c (__fesetenv): Return 0.
33625 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33626 argument FE_TONEAREST.
33627 * math/feupdateenv.c (__feupdateenv): Return 0.
33628 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33629
33630 2013-06-18 Roland McGrath <roland@hack.frob.com>
33631
33632 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33633 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33634 ($(objpfx)rtld-%.os rules): Use them.
33635
33636 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33637
33638 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33639 fields.
33640
33641 2013-06-17 Roland McGrath <roland@hack.frob.com>
33642
33643 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33644 length of target pattern, then descending length of dependency pattern.
33645 * configure.in (AWK): Require gawk 3.1.2 or newer.
33646 * manual/install.texi (Tools for Compilation): Say that we do.
33647 * configure: Regenerated.
33648
33649 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33650 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33651 * scripts/sysd-rules.awk: ... this new script.
33652 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33653 than a glob-style pattern.
33654
33655 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33656
33657 * math/test-misc.c (main): Do not treat incorrectly rounded
33658 conversions as failure unless ROUNDING_TESTS passes.
33659
33660 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33661
33662 [BZ #15631]
33663 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33664 restore exception state around main square root computation, then
33665 check for inexactness explicitly.
33666
33667 * math/libm-test.inc (fma_test_data): Add another test.
33668
33669 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33670
33671 * manual/threads.texi (Non-POSIX Extensions): New document
33672 node. Document pthread_getattr_default_np and
33673 pthread_setattr_default_np.
33674
33675 * Versions.def (libpthread): Add GLIBC_2.18.
33676 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33678 Likewise.
33679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33680 Likewise.
33681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33682 Likewise.
33683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33684 Likewise.
33685 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33686 Likewise.
33687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33688 Likewise.
33689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33690 Likewise.
33691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33692 Likewise.
33693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33694 Likewise.
33695
33696 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33697
33698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33699 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33700
33701 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33702 H.J. Lu <hjl.tools@gmail.com>
33703
33704 [BZ #15627]
33705 * sysdeps/x86_64/rtld-memset.c: Remove file.
33706 * sysdeps/x86_64/rtld-memset.S: New file.
33707
33708 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33709
33710 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33711 (test_in_one_mode): Take arguments for whether the rounding mode
33712 is supported for each floating-point type.
33713 (do_test): Pass new arguments to test_in_one_mode using
33714 ROUNDING_TESTS.
33715
33716 2013-06-13 Roland McGrath <roland@hack.frob.com>
33717
33718 * posix/tst-waitid.c (do_test): Distinguish different instances of
33719 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33720 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33721 before entering the kernel for waitpid.
33722
33723 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33724
33725 * NEWS: Fix note on clock function precision. Text by Roland
33726 McGrath.
33727
33728 2013-06-13 Roland McGrath <roland@hack.frob.com>
33729
33730 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33731 it into place only when and if the sanity check passes.
33732
33733 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33734
33735 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33736 output for whether conversion result is exact. Take argument
33737 indicating whether type is IBM long double.
33738 (round_for_all): Change need_exact field to ibm_ld.
33739 * stdlib/tst-strtod-round.c (struct exactness): New type.
33740 (struct test): Change bool ld_ok field to struct exactness exact.
33741 (TEST): Update all definitions for change to field.
33742 (tests): Regenerate array contents.
33743 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33744 field value. Check for IBM long double here.
33745 (do_test): Update calls to test_in_one_mode.
33746
33747 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33748
33749 [BZ #12515]
33750 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33751 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33752
33753 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33754
33755 [BZ #15605]
33756 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33757 generated by the compiler on loop optimizations.
33758 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33759 general definitions.
33760
33761 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33762
33763 * math/bug-nextafter.c: Include <math-tests.h>.
33764 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33765 the relevant type.
33766 * math/bug-nexttoward.c: Include <math-tests.h>.
33767 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33768 the relevant type.
33769 * math/test-misc.c: Include <math-tests.h>.
33770 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33771 the relevant type.
33772
33773 2013-06-12 Andreas Jaeger <aj@suse.de>
33774
33775 * po/ia.po: Update Interlingua translation from translation
33776 project.
33777
33778 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33779
33780 * include/fenv.h: Include stdbool.h.
33781 (struct rm_ctx): New structure.
33782 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33783 Define macro.
33784 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33785 (SET_RESTORE_ROUNDF): Likewise.
33786 (SET_RESTORE_ROUNDL): Likewise.
33787 (SET_RESTORE_ROUND_NOEX): Likewise.
33788 (SET_RESTORE_ROUND_NOEXF): Likewise.
33789 (SET_RESTORE_ROUND_NOEXL): Likewise.
33790 (SET_RESTORE_ROUND_53BIT): Likewise.
33791 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33792 (libc_feresetround_noexf_ctx): Likewise.
33793 (libc_feresetround_noexl_ctx): Likewise.
33794 (libc_feholdsetround_53bit_ctx): Likewise.
33795 (libc_feresetround_53bit_ctx): Likewise.
33796 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33797 (libc_feholdexcept_setround_sse_ctx): New function.
33798 (libc_fesetenv_sse_ctx): Likewise.
33799 (libc_feupdateenv_sse_ctx): Likewise.
33800 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33801 (libc_feholdexcept_setround_387_ctx): Likewise.
33802 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33803 (libc_feholdsetround_387_prec_ctx): Likewise.
33804 (libc_feholdsetround_387_ctx): Likewise.
33805 (libc_feholdsetround_387_53bit_ctx): Likewise.
33806 (libc_feholdsetround_sse_ctx): Likewise.
33807 (libc_feresetround_sse_ctx): Likewise.
33808 (libc_feresetround_387_ctx): Likewise.
33809 (libc_feupdateenv_387_ctx): Likewise.
33810 (libc_feholdexcept_setroundf_ctx): Define macro.
33811 (libc_fesetenvf_ctx): Likewise.
33812 (libc_feupdateenvf_ctx): Likewise.
33813 (libc_feholdsetroundf_ctx): Likewise.
33814 (libc_feresetroundf_ctx): Likewise.
33815 (libc_feholdexcept_setround_ctx): Likewise.
33816 (libc_fesetenv_ctx): Likewise.
33817 (libc_feupdateenv_ctx): Likewise.
33818 (libc_feholdsetround_ctx): Likewise.
33819 (libc_feresetround_ctx): Likewise.
33820 (libc_feholdexcept_setroundl_ctx): Likewise.
33821 (libc_feupdateenvl_ctx): Likewise.
33822 (libc_feholdsetroundl_ctx): Likewise.
33823 (libc_feresetroundl_ctx): Likewise.
33824 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33825 (libc_feresetround_53bit_ctx): Likewise.
33826
33827 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33828
33829 * locale/iso-639.def: Convert to UTF-8.
33830
33831 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33832
33833 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33834 (EXCEPTION_TESTS_double): Likewise.
33835 (EXCEPTION_TESTS_long_double): Likewise.
33836 (EXCEPTION_TESTS): Likewise.
33837 * math/libm-test.inc (test_exceptions): Only test exceptions if
33838 EXCEPTION_TESTS (FLOAT).
33839
33840 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33841
33842 * benchtests/Makefile (string-bench): Add strcpy_chk and
33843 stpcpy_chk.
33844 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33845 * benchtests/bench-stpcpy_chk.c: New file.
33846 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33847 * benchtests/bench-strcpy_chk.c: New file.
33848 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33849 code.
33850 (do_test): Likewise.
33851
33852 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33853
33854 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33855 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33856 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33857 with tabs where appropriate.
33858 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33859 dl-procinfo.h.
33860 [PPC_PLATFORM_PPC440]: Likewise.
33861 [PPC_PLATFORM_PPC464]: Likewise.
33862 [PPC_PLATFORM_PPC476]: Likewise.
33863 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33864 ppc464, and ppc476 platform strings merging from ports/
33865 dl-procinfo.h.
33866
33867 2013-06-11 Andreas Schwab <schwab@suse.de>
33868
33869 [BZ #14991]
33870 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33871 (from_ucs4_idx): Regenerate.
33872 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33873 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33874 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33875 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33876 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33877 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33878 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33879 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33880 from FROM_LOOP and TO_LOOP specific macros.
33881 (BODY): Handle combining characters.
33882 * iconvdata/BIG5HKSCS.irreversible: Update.
33883 * iconvdata/BIG5HKSCS.precomposed: New file.
33884 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33885 characters.
33886 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33887
33888 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33889
33890 * include/sys/time.h: Fix indentation and add copyright header.
33891
33892 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33893 (do_test): Likewise.
33894 * string/test-memchr.c (do_one_test): Likewise.
33895 (do_test): Likewise.
33896 * string/test-memcmp.c (do_one_test): Likewise.
33897 (do_test): Likewise.
33898 * string/test-memcpy.c (do_one_test): Likewise.
33899 (do_test): Likewise.
33900 * string/test-memmem.c (do_one_test): Likewise.
33901 (do_test): Likewise.
33902 (do_random_tests): Likewise.
33903 * string/test-memmove.c (do_one_test): Likewise.
33904 (do_test): Likewise.
33905 * string/test-memset.c (do_one_test): Likewise.
33906 (do_test): Likewise.
33907 * string/test-rawmemchr.c (do_one_test): Likewise.
33908 (do_test): Likewise.
33909 * string/test-strcasecmp.c (do_one_test): Likewise.
33910 (do_test): Likewise.
33911 * string/test-strcasestr.c (do_one_test): Likewise.
33912 (do_test): Likewise.
33913 * string/test-strcat.c (do_one_test): Likewise.
33914 (do_test): Likewise.
33915 * string/test-strchr.c (do_one_test): Likewise.
33916 (do_test): Likewise.
33917 * string/test-strcmp.c (do_one_test): Likewise.
33918 (do_test): Likewise.
33919 * string/test-strcpy.c (do_one_test): Likewise.
33920 (do_test): Likewise.
33921 * string/test-string.h: Likewise.
33922 (test_init): Likewise.
33923 * string/test-strlen.c (do_one_test): Likewise.
33924 (do_test): Likewise.
33925 * string/test-strncasecmp.c (do_one_test): Likewise.
33926 (do_test): Likewise.
33927 * string/test-strncat.c (do_one_test): Likewise.
33928 (do_test): Likewise.
33929 * string/test-strncmp.c (do_one_test): Likewise.
33930 (do_test_limit): Likewise.
33931 (do_test): Likewise.
33932 * string/test-strncpy.c (do_one_test): Likewise.
33933 (do_test): Likewise.
33934 * string/test-strnlen.c (do_one_test): Likewise.
33935 (do_test): Likewise.
33936 * string/test-strpbrk.c (do_one_test): Likewise.
33937 (do_test): Likewise.
33938 * string/test-strrchr.c (do_one_test): Likewise.
33939 (do_test): Likewise.
33940 * string/test-strspn.c (do_one_test): Likewise.
33941 (do_test): Likewise.
33942 * string/test-strstr.c (do_one_test): Likewise.
33943 (do_test): Likewise.
33944
33945 * benchtests/Makefile (string-bench): Add string benchmarks.
33946 * benchtests/bench-bcopy-ifunc.c: New file.
33947 * benchtests/bench-bcopy.c: New file.
33948 * benchtests/bench-bzero-ifunc.c: New file.
33949 * benchtests/bench-bzero.c: New file.
33950 * benchtests/bench-memccpy-ifunc.c: New file.
33951 * benchtests/bench-memccpy.c: New file.
33952 * benchtests/bench-memchr-ifunc.c: New file.
33953 * benchtests/bench-memchr.c: New file.
33954 * benchtests/bench-memcmp-ifunc.c: New file.
33955 * benchtests/bench-memcmp.c: New file.
33956 * benchtests/bench-memmem-ifunc.c: New file.
33957 * benchtests/bench-memmem.c: New file.
33958 * benchtests/bench-memmove-ifunc.c: New file.
33959 * benchtests/bench-memmove.c: New file.
33960 * benchtests/bench-mempcpy-ifunc.c: New file.
33961 * benchtests/bench-mempcpy.c: New file.
33962 * benchtests/bench-memset-ifunc.c: New file.
33963 * benchtests/bench-memset.c: New file.
33964 * benchtests/bench-rawmemchr-ifunc.c: New file.
33965 * benchtests/bench-rawmemchr.c: New file.
33966 * benchtests/bench-stpcpy-ifunc.c: New file.
33967 * benchtests/bench-stpcpy.c: New file.
33968 * benchtests/bench-stpncpy-ifunc.c: New file.
33969 * benchtests/bench-stpncpy.c: New file.
33970 * benchtests/bench-strcasecmp-ifunc.c: New file.
33971 * benchtests/bench-strcasecmp.c: New file.
33972 * benchtests/bench-strcasestr-ifunc.c: New file.
33973 * benchtests/bench-strcasestr.c: New file.
33974 * benchtests/bench-strcat-ifunc.c: New file.
33975 * benchtests/bench-strcat.c: New file.
33976 * benchtests/bench-strchr-ifunc.c: New file.
33977 * benchtests/bench-strchr.c: New file.
33978 * benchtests/bench-strchrnul-ifunc.c: New file.
33979 * benchtests/bench-strchrnul.c: New file.
33980 * benchtests/bench-strcmp-ifunc.c: New file.
33981 * benchtests/bench-strcmp.c: New file.
33982 * benchtests/bench-strcpy-ifunc.c: New file.
33983 * benchtests/bench-strcpy.c: New file.
33984 * benchtests/bench-strcspn-ifunc.c: New file.
33985 * benchtests/bench-strcspn.c: New file.
33986 * benchtests/bench-strlen-ifunc.c: New file.
33987 * benchtests/bench-strlen.c: New file.
33988 * benchtests/bench-strncasecmp-ifunc.c: New file.
33989 * benchtests/bench-strncasecmp.c: New file.
33990 * benchtests/bench-strncat-ifunc.c: New file.
33991 * benchtests/bench-strncat.c: New file.
33992 * benchtests/bench-strncmp-ifunc.c: New file.
33993 * benchtests/bench-strncmp.c: New file.
33994 * benchtests/bench-strncpy-ifunc.c: New file.
33995 * benchtests/bench-strncpy.c: New file.
33996 * benchtests/bench-strnlen-ifunc.c: New file.
33997 * benchtests/bench-strnlen.c: New file.
33998 * benchtests/bench-strpbrk-ifunc.c: New file.
33999 * benchtests/bench-strpbrk.c: New file.
34000 * benchtests/bench-strrchr-ifunc.c: New file.
34001 * benchtests/bench-strrchr.c: New file.
34002 * benchtests/bench-strspn-ifunc.c: New file.
34003 * benchtests/bench-strspn.c: New file.
34004 * benchtests/bench-strstr-ifunc.c: New file.
34005 * benchtests/bench-strstr.c: New file.
34006
34007 * benchtests/Makefile: Disable parallel execution of targets.
34008 (string-bench): Add memcpy.
34009 (benchset): New variable to store a list of benchmark sets.
34010 (bench-func): Renamed from bench.
34011 (bench-set): New target.
34012 (bench): Depend on bench-func and bench-set.
34013 * benchtests/README: Add section on benchmark sets.
34014 * benchtests/bench-memcpy-ifunc.c: New file.
34015 * benchtests/bench-memcpy.c: New file.
34016 * benchtests/bench-string.h: New file.
34017
34018 2013-06-11 Andreas Schwab <schwab@suse.de>
34019
34020 [BZ #15577]
34021 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34022 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34023 values in the triple.
34024 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34025 terminator in the group key.
34026
34027 2013-06-11 Andreas Jaeger <aj@suse.de>
34028
34029 * po/zh_TW.po: Update Chinese (traditional) translation from
34030 translation project.
34031
34032 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34033
34034 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34035 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34036 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34037 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34038 (clock_getcpuclockid): Likewise.
34039 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34040 Add weak_alias and libc_hidden_def.
34041 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34042 * rt/clock_gettime.c (clock_gettime): Rename to
34043 __clock_gettime. Add weak_alias and libc_hidden_def.
34044 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34045 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34046 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34047 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34048 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34049 Likewise.
34050 * rt/clock_settime.c (clock_settime): Rename to
34051 __clock_settime. Add weak_alias and libc_hidden_def.
34052 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34053
34054 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34055
34056 * mach/err_boot.sub: Remove trailing whitespace.
34057 * mach/err_ipc.sub: Likewise.
34058 * mach/err_mach.sub: Likewise.
34059
34060 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34061 (ROUNDING_TESTS_double): Likewise.
34062 (ROUNDING_TESTS_long_double): Likewise.
34063 (ROUNDING_TESTS): Likewise.
34064 * math/libm-test.inc: Include <math-tests.h>.
34065 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34066 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34067 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34068 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34069
34070 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34071
34072 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34073 of assigning.
34074
34075 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34076
34077 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34078 otherwise empty TRANS lines.
34079 * sysdeps/gnu/errlist.c: Regenerated.
34080
34081 * catgets/gencat.c (error_print): Use (void) in function
34082 definition.
34083 * crypt/crypt_util.c (__init_des): Likewise.
34084 * crypt/speeds.c (Stop): Likewise.
34085 (main): Likewise.
34086 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34087 * inet/ruserpass.c (token): Likewise.
34088 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34089 * intl/localealias.c (extend_alias_table): Likewise.
34090 * intl/plural-exp.c (init_germanic_plural): Likewise.
34091 * libio/fcloseall.c (__fcloseall): Likewise.
34092 * libio/genops.c (_IO_flush_all): Likewise.
34093 (_IO_flush_all_linebuffered): Likewise.
34094 (_IO_cleanup): Likewise.
34095 (_IO_iter_begin): Likewise.
34096 (_IO_iter_end): Likewise.
34097 (_IO_list_lock): Likewise.
34098 (_IO_list_unlock): Likewise.
34099 (_IO_list_resetlock): Likewise.
34100 * libio/getchar.c (getchar): Likewise.
34101 * libio/getchar_u.c (getchar_unlocked): Likewise.
34102 * libio/getwchar.c (getwchar): Likewise.
34103 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34104 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34105 * login/getpt.c (__getpt): Likewise.
34106 * login/tst-utmp.c (main): Likewise.
34107 * malloc/hooks.c (__malloc_check_init): Likewise.
34108 * malloc/malloc.c (__malloc_stats): Likewise.
34109 * malloc/mtrace.c (tr_break): Likewise.
34110 (mtrace): Likewise.
34111 (muntrace): Likewise.
34112 * misc/fstab.c (endfsent): Likewise.
34113 * misc/getclktck.c (__getclktck): Likewise.
34114 * misc/getdtsz.c (__getdtablesize): Likewise.
34115 * misc/gethostid.c (gethostid): Likewise.
34116 * misc/getpagesize.c (__getpagesize): Likewise.
34117 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34118 (__get_nprocs): Likewise.
34119 (__get_phys_pages): Likewise.
34120 (__get_avphys_pages): Likewise.
34121 * misc/getttyent.c (getttyent): Likewise.
34122 (setttyent): Likewise.
34123 (endttyent): Likewise.
34124 * misc/getusershell.c (getusershell): Likewise.
34125 (endusershell): Likewise.
34126 (setusershell): Likewise.
34127 (initshells): Likewise.
34128 * misc/hsearch.c (__hdestroy): Likewise.
34129 * misc/sync.c (sync): Likewise.
34130 * misc/syslog.c (closelog_internal): Likewise.
34131 (closelog): Likewise.
34132 * misc/ttyslot.c (ttyslot): Likewise.
34133 * misc/vhangup.c (vhangup): Likewise.
34134 * posix/fork.c (__fork): Likewise.
34135 * posix/getegid.c (__getegid): Likewise.
34136 * posix/geteuid.c (__geteuid): Likewise.
34137 * posix/getgid.c (__getgid): Likewise.
34138 * posix/getpid.c (__getpid): Likewise.
34139 * posix/getppid.c (__getppid): Likewise.
34140 * posix/getuid.c (__getuid): Likewise.
34141 * posix/pause.c (pause): Likewise.
34142 * posix/setpgrp.c (setpgrp): Likewise.
34143 * posix/setsid.c (__setsid): Likewise.
34144 * posix/test-vfork.c (noop): Likewise.
34145 * resolv/gethnamaddr.c (_endhtent): Likewise.
34146 (_gethtent): Likewise.
34147 (ht_endhostent): Likewise.
34148 (gethostent): Likewise.
34149 (dns_service): Likewise.
34150 * stdlib/drand48.c (drand48): Likewise.
34151 * stdlib/lrand48.c (lrand48): Likewise.
34152 * stdlib/mrand48.c (mrand48): Likewise.
34153 * stdlib/rand.c (rand): Likewise.
34154 * stdlib/random.c (__random): Likewise.
34155 * stdlib/setenv.c (clearenv): Likewise.
34156 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34157 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34158 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34159 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34160 (__get_nprocs): Likewise.
34161 (__get_phys_pages): Likewise.
34162 (__get_avphys_pages): Likewise.
34163 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34164 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34165 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34166 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34167 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34168 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34169 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34170 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34171 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34172 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34173 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34174 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34175 * sysdeps/posix/clock.c (clock): Likewise.
34176 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34177 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34178 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34179 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34180 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34182 (__get_nprocs_conf): Likewise.
34183 (__get_phys_pages): Likewise.
34184 (__get_avphys_pages): Likewise.
34185 * time/clock.c (clock): Likewise.
34186 * time/tzset.c (__tzname_max): Likewise.
34187
34188 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34189
34190 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34191 (__bswap_32): Do not use "register".
34192 * crypt/crypt.c (_ufc_doit_r): Likewise.
34193 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34194 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34195 * gmon/gmon.c (__monstartup): Likewise.
34196 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34197 * hurd/hurdmalloc.c (more_memory): Likewise.
34198 (malloc): Likewise.
34199 (free): Likewise.
34200 (realloc): Likewise.
34201 (malloc_fork_prepare): Likewise.
34202 (malloc_fork_parent): Likewise.
34203 (malloc_fork_child): Likewise.
34204 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34205 (_svcauth_des): Likewise.
34206 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34207 * inet/inet_net.c (inet_network): Likewise.
34208 * inet/inet_netof.c (inet_netof): Likewise.
34209 * inet/rcmd.c (__validuser2_sa): Likewise.
34210 * io/fts.c (fts_open): Likewise.
34211 (fts_load): Likewise.
34212 (fts_close): Likewise.
34213 (fts_read): Likewise.
34214 (fts_children): Likewise.
34215 (fts_build): Likewise.
34216 (fts_stat): Likewise.
34217 (fts_sort): Likewise.
34218 (fts_alloc): Likewise.
34219 (fts_lfree): Likewise.
34220 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34221 (_IO_file_xsgetn): Likewise.
34222 (_IO_file_xsgetn_mmap): Likewise.
34223 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34224 (_IO_cookie_write): Likewise.
34225 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34226 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34227 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34228 * malloc/obstack.c (_obstack_begin): Likewise.
34229 (_obstack_begin_1): Likewise.
34230 (_obstack_newchunk): Likewise.
34231 (_obstack_allocated_p): Likewise.
34232 (obstack_free): Likewise.
34233 (_obstack_memory_used): Likewise.
34234 * misc/getttyent.c (getttynam): Likewise.
34235 (getttyent): Likewise.
34236 (skip): Likewise.
34237 (value): Likewise.
34238 * misc/getusershell.c (initshells): Likewise.
34239 * misc/syslog.c (__vsyslog_chk): Likewise.
34240 * misc/ttyslot.c (ttyslot): Likewise.
34241 * nis/nis_hash.c (__nis_hash): Likewise.
34242 * posix/fnmatch_loop.c (FCT): Likewise.
34243 * posix/getconf.c (print_all): Likewise.
34244 (main): Likewise.
34245 * posix/getopt.c (exchange): Likewise.
34246 * posix/glob.c (globfree): Likewise.
34247 (prefix_array): Likewise.
34248 (__glob_pattern_type): Likewise.
34249 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34250 (NS_GET32): Likewise.
34251 (NS_PUT16): Likewise.
34252 (NS_PUT32): Likewise.
34253 * resolv/gethnamaddr.c (getanswer): Likewise.
34254 (gethostbyname2): Likewise.
34255 (gethostbyaddr): Likewise.
34256 (_gethtent): Likewise.
34257 (_gethtbyname2): Likewise.
34258 (_gethtbyaddr): Likewise.
34259 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34260 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34261 * resolv/res_init.c (__res_vinit): Likewise.
34262 (net_mask): Likewise.
34263 * resolv/res_mkquery.c (outchar): Likewise.
34264 (PRINT): Likewise.
34265 * stdio-common/printf_fp.c (outchar): Likewise.
34266 (PRINT): Likewise.
34267 * stdio-common/printf_fphex.c (outchar): Likewise.
34268 (PRINT): Likewise.
34269 * stdio-common/printf_size.c (outchar): Likewise.
34270 (PRINT): Likewise.
34271 * stdio-common/test_rdwr.c (main): Likewise.
34272 * stdio-common/tfformat.c (matches): Likewise.
34273 * stdio-common/vfprintf.c (outchar): Likewise.
34274 (printf_unknown): Likewise.
34275 (buffered_vfprintf): Likewise.
34276 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34277 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34278 (ReadFile): Likewise.
34279 * stdlib/qsort.c (SWAP): Likewise.
34280 (_quicksort): Likewise.
34281 * stdlib/setenv.c (__add_to_environ): Likewise.
34282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34283 * stdlib/strtol_l.c (__strtol_l): Likewise.
34284 * stdlib/tst-strtod.c (main): Likewise.
34285 * stdlib/tst-strtol.c (main): Likewise.
34286 * stdlib/tst-strtoll.c (main): Likewise.
34287 * string/bits/string2.h (__strcmp_cc): Likewise.
34288 (__strcmp_cg): Likewise.
34289 (__strcspn_c1): Likewise.
34290 (__strcspn_c2): Likewise.
34291 (__strcspn_c3): Likewise.
34292 (__strspn_c1): Likewise.
34293 (__strspn_c2): Likewise.
34294 (__strspn_c3): Likewise.
34295 (__strsep_1c): Likewise.
34296 (__strsep_2c): Likewise.
34297 (__strsep_3c): Likewise.
34298 * string/memccpy.c (__memccpy): Likewise.
34299 * string/stpcpy.c (__stpcpy): Likewise.
34300 * string/strcmp.c (strcmp): Likewise.
34301 * string/strrchr.c (strrchr): Likewise.
34302 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34303 Likewise.
34304 * sysdeps/mach/hurd/getcwd.c
34305 (_hurd_canonicalize_directory_name_internal): Likewise.
34306 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34307 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34308 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34309 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34310 Likewise, in both definitions.
34311 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34312 definitions.
34313 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34314 64] (__bswap_64): Likewise.
34315 * time/test_time.c (main): Likewise.
34316 * time/tzfile.c (__tzfile_read): Likewise.
34317 (__tzfile_compute): Likewise.
34318 * time/tzset.c (__tzset_parse_tz): Likewise.
34319 (tzset_internal): Likewise.
34320 (compute_change): Likewise.
34321 * wcsmbs/wcscat.c (__wcscat): Likewise.
34322 * wcsmbs/wcschr.c (wcschr): Likewise.
34323 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34324 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34325 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34326 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34327 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34328 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34329 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34330 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34331 * wcsmbs/wmemset.c (wmemset): Likewise.
34332
34333 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34334
34335 * scripts/config.guess: Update to version 2013-05-16.
34336 * scripts/config.sub: Update to version 2013-04-24.
34337 * scripts/install-sh: Update to version 2011-11-20.07.
34338 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34339 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34340
34341 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34342
34343 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34344 * elf/sln.c: Likewise.
34345 * hurd/hurd/ioctl.h: Likewise.
34346 * hurd/hurdmalloc.c: Likewise.
34347 * hurd/xattr.c: Likewise.
34348 * include/shlib-compat.h: Likewise.
34349 * inet/ruserpass.c: Likewise.
34350 * libio/iofgets_u.c: Likewise.
34351 * libio/iofgetws_u.c: Likewise.
34352 * locale/programs/ld-identification.c: Likewise.
34353 * locale/programs/ld-time.c: Likewise.
34354 * mach/msg-destroy.c: Likewise.
34355 * nss/nss_files/files-netgrp.c: Likewise.
34356 * resolv/res_data.c: Likewise.
34357 * soft-fp/op-1.h: Likewise.
34358 * soft-fp/op-2.h: Likewise.
34359 * soft-fp/op-4.h: Likewise.
34360 * soft-fp/op-common.h: Likewise.
34361 * stdio-common/printf_fphex.c: Likewise.
34362 * stdlib/strtod_l.c: Likewise.
34363 * sunrpc/rpc/clnt.h: Likewise.
34364 * sysdeps/generic/framestate.c: Likewise.
34365 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34366 * sysdeps/i386/bsd-setjmp.S: Likewise.
34367 * sysdeps/i386/__longjmp.S: Likewise.
34368 * sysdeps/i386/setjmp.S: Likewise.
34369 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34370 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34371 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34372 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34374 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34375 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34378 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34379 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34380 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34381 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34382 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34383 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34385 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34386 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34387 * sysdeps/ieee754/support.c: Likewise.
34388 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34389 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34390 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34391 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34392 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34393 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34394 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34395 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34396 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34397 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34398 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34399 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34400 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34401 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34402 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34403 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34404 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34406
34407 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34408
34409 * posix/transbug.c: Remove executable mode.
34410
34411 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34412
34413 * crypt/speeds.c: Remove trailing whitespace.
34414 * dlfcn/default.c: Likewise.
34415 * elf/ifuncdep2.c: Likewise.
34416 * elf/ifuncmain1.c: Likewise.
34417 * elf/ifuncmain1vis.c: Likewise.
34418 * elf/testobj.h: Likewise.
34419 * elf/tst-stackguard1.c: Likewise.
34420 * gmon/sys/gmon.h: Likewise.
34421 * hurd/hurdmsg.c: Likewise.
34422 * hurd/new-fd.c: Likewise.
34423 * hurd/ports-get.c: Likewise.
34424 * iconvdata/ibm1008_420.c: Likewise.
34425 * inet/tst-getni1.c: Likewise.
34426 * inet/tst-getni2.c: Likewise.
34427 * libio/ioungetc.c: Likewise.
34428 * libio/wfiledoalloc.c: Likewise.
34429 * manual/libm-err-tab.pl: Likewise.
34430 * math/w_dremf.c: Likewise.
34431 * misc/ftruncate.c: Likewise.
34432 * posix/bug-glob2.c: Likewise.
34433 * posix/tst-pcre.c: Likewise.
34434 * posix/wait4.c: Likewise.
34435 * resolv/README: Likewise.
34436 * resolv/res_debug.h: Likewise.
34437 * resolv/tst-inet_ntop.c: Likewise.
34438 * setjmp/bug269-setjmp.c: Likewise.
34439 * soft-fp/extended.h: Likewise.
34440 * soft-fp/op-1.h: Likewise.
34441 * soft-fp/op-2.h: Likewise.
34442 * soft-fp/op-4.h: Likewise.
34443 * soft-fp/op-8.h: Likewise.
34444 * soft-fp/testit.c: Likewise.
34445 * stdio-common/bug16.c: Likewise.
34446 * stdlib/random.c: Likewise.
34447 * sunrpc/rpcsvc/rquota.x: Likewise.
34448 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34449 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34451 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34452 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34453 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34454 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34455 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34457 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34458 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34477 * sysdeps/ieee754/s_lib_version.c: Likewise.
34478 * sysdeps/mach/hurd/check_fds.c: Likewise.
34479 * sysdeps/mach/hurd/getsockname.c: Likewise.
34480 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34481 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34482 * sysdeps/powerpc/bits/link.h: Likewise.
34483 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34484 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34485 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34486 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34487 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34488 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34489 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34490 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34491 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34492 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34493 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34494 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34495 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34496 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34497 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34498 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34499 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34501 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34502 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34503 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34504 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34505 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34506 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34507 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34509 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34510 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34511 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34513 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34515 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34517 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34518 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34519 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34520 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34521 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34522 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34523 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34524 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34525 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34526 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34527 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34528 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34529 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34530 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34531 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34532 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34535 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34537 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34538 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34539 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34540 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34542 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34543 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34544 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34545 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34546 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34547 * sysdeps/powerpc/sysdep.h: Likewise.
34548 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34549 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34550 * sysdeps/sh/dl-trampoline.S: Likewise.
34551 * sysdeps/sh/memset.S: Likewise.
34552 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34553 * sysdeps/sh/strlen.S: Likewise.
34554 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34555 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34556 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34557 * sysdeps/sparc/sparc32/rem.S: Likewise.
34558 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34559 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34560 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34561 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34562 * sysdeps/sparc/sparc32/urem.S: Likewise.
34563 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34564 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34565 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34566 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34567 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34568 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34569 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34570 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34571 * sysdeps/unix/bsd/times.c: Likewise.
34572 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34573 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34577 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34578 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34579 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34580 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34581 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34582 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34583 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34584 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34585 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34586 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34587 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34588 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34589 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34590 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34591 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34592 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34593 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34594 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34595 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34596 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34597 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34598 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34599 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34600 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34601 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34602 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34603 * sysdeps/x86_64/strcspn.S: Likewise.
34604
34605 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34606
34607 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34608 generated file. Regenerate properly from gen-translit.pl.
34609 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34610 locale/C-translit.h.
34611
34612 2013-06-05 Andreas Schwab <schwab@suse.de>
34613
34614 [BZ #15100]
34615 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34616 week as 6 instead of -1.
34617 * time/tst-strptime.c (day_tests): Add test case.
34618
34619 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34620
34621 * sysdeps/generic/math_private.h
34622 (libc_feholdexcept_setround_53bit): Replace with
34623 libc_feholdsetround_53bit.
34624 (libc_feupdateenv_53bit): Replace with
34625 libc_feresetround_53bit.
34626 (SET_RESTORE_ROUND_53BIT): Adjust.
34627
34628 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34629
34630 * string/test-strchrnul.c: Add copyright header.
34631
34632 * posix/tst-getaddrinfo4.c: Increase test timeout.
34633
34634 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34635
34636 [BZ #15536]
34637 * math/libm-test.inc (MAX_EXP): Remove
34638 (MIN_EXP): Define.
34639 (ulp): Use MIN_EXP - MANT_DIG.
34640 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34641
34642 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34643
34644 * po/be.po: Revert last change.
34645 * po/zh_CN.po: Likewise.
34646 * po/header.pot: Likewise.
34647
34648 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34649
34650 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34651 link-libc-deps to empty as target-specific variable.
34652 * Makerules (link-libc-args): New variable.
34653 (libc-for-link): Likewise.
34654 (link-libc-deps): Likewise.
34655 (lib%.so): Depend on $(link-libc-deps). Link with
34656 $(link-libc-args).
34657 (build-module): Link with $(link-libc-args).
34658 (build-module-asneeded): Likewise.
34659 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34660 list of objects.
34661 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34662 target-specific variable.
34663 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34664 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34665 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34666 libc.
34667 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34668 libc and ld.so.
34669 ($(objpfx)libpcprofile.so): Likewise.
34670 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34671 libc_nonshared.a.
34672 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34673 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34674 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34675 $(link-libc-deps).
34676 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34677 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34678 * login/Makefile ($(objpfx)libutil.so): Likewise.
34679 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34680 * math/Makefile ($(objpfx)libm.so): Likewise.
34681 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34682 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34683 variable instead of depending directly on libc.
34684 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34685 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34686 $(link-libc-deps).
34687 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34688 libc.
34689 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34690 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34691 ($(objpfx)libanl.so): Likewise.
34692 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34693 ld.so.
34694 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34695 $(link-libc-deps).
34696 * sysdeps/i386/fpu/Makefile: Remove file.
34697 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34698 ($(objpfx)libm.so): Remove dependency on ld.so.
34699
34700 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34701
34702 [BZ # 15553]
34703 * nis/yp_xdr.c (XDRMAXNAME): Define.
34704 (XDRMAXRECORD): Define.
34705 (xdr_domainname): Use XDRMAXNAME.
34706 (xdr_mapname): Likewise.
34707 (xdr_peername): Likewise.
34708 (xdr_keydat): Use XDRMAXRECORD.
34709 (xdr_valdat): Likewise.
34710
34711 2013-05-30 Jeff Law <law@redhat.com>
34712
34713 [BZ #14256]
34714 * manual/errno.texi (ESTALE): Update to account for more than
34715 just NFS file systems.
34716 * sysdeps/gnu/errlist.c: Regenerated.
34717
34718 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34719
34720 [BZ #15465]
34721 * elf/Makefile (tests): Add tst-null-argv.
34722 (modules-names): Add tst-null-argv-lib.
34723 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34724 (tst-null-argv-ENV): Set environment for tst-null-argv.
34725 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34726 (RTLD_PROGNAME): New macro.
34727 * elf/tst-null-argv.c: New test case.
34728 * elf/tst-null-argv-lib.c: Library for test case.
34729 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34730 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34731 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34732 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34733 * elf/dl-init.c (call_init): Likewise.
34734 (_dl_init): Likewise.
34735 * elf/dl-load.c (print_search_path): Likewise.
34736 (_dl_map_object): Likewise.
34737 * elf/dl-lookup.c (do_lookup_x): Likewise.
34738 (add_dependency): Likewise.
34739 (_dl_lookup_symbol_x): Likewise.
34740 (_dl_debug_bindings): Likewise.
34741 * elf/dl-open.c (_dl_show_scope): Likewise.
34742 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34743 * elf/dl-version.c (match_symbol): Likewise.
34744 (_dl_check_map_versions): Likewise.
34745 * elf/rtld.c (dl_main): Likewise.
34746 (print_unresolved): Use RTLD_PROGNAME.
34747 (print_missing_version): Likewise.
34748 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34749 (elf_machine_rela): Likewise.
34750 * sysdeps/powerpc/powerpc32/dl-machine.c
34751 (__process_machine_rela): Likewise.
34752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34753 Likewise.
34754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34755 Likewise.
34756 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34757 Likewise.
34758 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34759 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34760 Likewise.
34761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34762 Likewise.
34763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34764
34765 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34766
34767 * po/be.po: Add descriptive title.
34768 * po/zh_CN.po: Likewise.
34769 * po/header.pot: Likewise.
34770
34771 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34772
34773 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34774 error message.
34775 (enlarge_archive): Likewise.
34776
34777 2013-05-28 Ben North <ben@redfrontdoor.org>
34778
34779 * manual/arith.texi (frexp): It is the magnitude of the return
34780 value which lies in [0.5, 1), not the return value itself.
34781
34782 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34783
34784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34785
34786 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34787
34788 * stdio-common/bug26.c (main): Correct fscanf template.
34789
34790 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34791 declare _dl_skip_args.
34792
34793 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34794 Don't declare.
34795
34796 * manual/platform.texi: Add missing @end deftypefun.
34797
34798 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34799
34800 [BZ #15529]
34801 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34802 bit of mantissa of 2^16382.
34803 * math/libm-test.inc (hypot_test_data): Add more tests.
34804
34805 * math/libm-test.inc: Add drem and pow10 to list of tested
34806 functions.
34807 (pow10_test): New function.
34808 (drem_test): Likewise.
34809 (drem_test_tonearest): Likewise.
34810 (drem_test_towardzero): Likewise.
34811 (drem_test_downward): Likewise.
34812 (drem_test_upward): Likewise.
34813 (main): Call the new functions.
34814
34815 * math/libm-test.inc (finite_test_data): Remove.
34816 (finite_test): Run tests from isfinite_test_data.
34817 (gamma_test_data): Remove.
34818 (gamma_test): Run tests from lgamma_test_data.
34819 * sysdeps/i386/fpu/libm-test-ulps: Update.
34820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34821
34822 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34823
34824 * manual/platform.texi: Add PowerPC PPR function set documentation.
34825 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34826 implementation.
34827
34828 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34829
34830 * math/libm-test.inc (MAX_EXP): Define.
34831 (ULPDIFF): Define.
34832 (ulp): New function.
34833 (check_float_internal): Use ULPDIFF.
34834 (cpow_test): Disable failing test.
34835 (check_ulp): Test ulp() implemetnation.
34836 (main): Call check_ulp before starting tests.
34837
34838 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34839
34840 * math/gen-libm-test.pl (generate_testfile): Do not handle
34841 START_DATA and END_DATA.
34842 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34843 END_DATA.
34844 (acos_tonearest_test_data): Likewise.
34845 (acos_towardzero_test_data): Likewise.
34846 (acos_downward_test_data): Likewise.
34847 (acos_upward_test_data): Likewise.
34848 (acosh_test_data): Likewise.
34849 (asin_test_data): Likewise.
34850 (asin_tonearest_test_data): Likewise.
34851 (asin_towardzero_test_data): Likewise.
34852 (asin_downward_test_data): Likewise.
34853 (asin_upward_test_data): Likewise.
34854 (asinh_test_data): Likewise.
34855 (atan_test_data): Likewise.
34856 (atanh_test_data): Likewise.
34857 (atan2_test_data): Likewise.
34858 (cabs_test_data): Likewise.
34859 (cacos_test_data): Likewise.
34860 (cacosh_test_data): Likewise.
34861 (carg_test_data): Likewise.
34862 (casin_test_data): Likewise.
34863 (casinh_test_data): Likewise.
34864 (catan_test_data): Likewise.
34865 (catanh_test_data): Likewise.
34866 (cbrt_test_data): Likewise.
34867 (ccos_test_data): Likewise.
34868 (ccosh_test_data): Likewise.
34869 (ceil_test_data): Likewise.
34870 (cexp_test_data): Likewise.
34871 (cimag_test_data): Likewise.
34872 (clog_test_data): Likewise.
34873 (clog10_test_data): Likewise.
34874 (conj_test_data): Likewise.
34875 (copysign_test_data): Likewise.
34876 (cos_test_data): Likewise.
34877 (cos_tonearest_test_data): Likewise.
34878 (cos_towardzero_test_data): Likewise.
34879 (cos_downward_test_data): Likewise.
34880 (cos_upward_test_data): Likewise.
34881 (cosh_test_data): Likewise.
34882 (cosh_tonearest_test_data): Likewise.
34883 (cosh_towardzero_test_data): Likewise.
34884 (cosh_downward_test_data): Likewise.
34885 (cosh_upward_test_data): Likewise.
34886 (cpow_test_data): Likewise.
34887 (cproj_test_data): Likewise.
34888 (creal_test_data): Likewise.
34889 (csin_test_data): Likewise.
34890 (csinh_test_data): Likewise.
34891 (csqrt_test_data): Likewise.
34892 (ctan_test_data): Likewise.
34893 (ctan_tonearest_test_data): Likewise.
34894 (ctan_towardzero_test_data): Likewise.
34895 (ctan_downward_test_data): Likewise.
34896 (ctan_upward_test_data): Likewise.
34897 (ctanh_test_data): Likewise.
34898 (ctanh_tonearest_test_data): Likewise.
34899 (ctanh_towardzero_test_data): Likewise.
34900 (ctanh_downward_test_data): Likewise.
34901 (ctanh_upward_test_data): Likewise.
34902 (erf_test_data): Likewise.
34903 (erfc_test_data): Likewise.
34904 (exp_test_data): Likewise.
34905 (exp_tonearest_test_data): Likewise.
34906 (exp_towardzero_test_data): Likewise.
34907 (exp_downward_test_data): Likewise.
34908 (exp_upward_test_data): Likewise.
34909 (exp10_test_data): Likewise.
34910 (exp2_test_data): Likewise.
34911 (expm1_test_data): Likewise.
34912 (fabs_test_data): Likewise.
34913 (fdim_test_data): Likewise.
34914 (finite_test_data): Likewise.
34915 (floor_test_data): Likewise.
34916 (fma_test_data): Likewise.
34917 (fma_towardzero_test_data): Likewise.
34918 (fma_downward_test_data): Likewise.
34919 (fma_upward_test_data): Likewise.
34920 (fmax_test_data): Likewise.
34921 (fmin_test_data): Likewise.
34922 (fmod_test_data): Likewise.
34923 (fpclassify_test_data): Likewise.
34924 (frexp_test_data): Likewise.
34925 (gamma_test_data): Likewise.
34926 (hypot_test_data): Likewise.
34927 (ilogb_test_data): Likewise.
34928 (isfinite_test_data): Likewise.
34929 (isgreater_test_data): Likewise.
34930 (isgreaterequal_test_data): Likewise.
34931 (isinf_test_data): Likewise.
34932 (isless_test_data): Likewise.
34933 (islessequal_test_data): Likewise.
34934 (islessgreater_test_data): Likewise.
34935 (isnan_test_data): Likewise.
34936 (isnormal_test_data): Likewise.
34937 (issignaling_test_data): Likewise.
34938 (isunordered_test_data): Likewise.
34939 (j0_test_data): Likewise.
34940 (j1_test_data): Likewise.
34941 (jn_test_data): Likewise.
34942 (ldexp_test_data): Likewise.
34943 (lgamma_test_data): Likewise.
34944 (lrint_test_data): Likewise.
34945 (lrint_tonearest_test_data): Likewise.
34946 (lrint_towardzero_test_data): Likewise.
34947 (lrint_downward_test_data): Likewise.
34948 (lrint_upward_test_data): Likewise.
34949 (llrint_test_data): Likewise.
34950 (llrint_tonearest_test_data): Likewise.
34951 (llrint_towardzero_test_data): Likewise.
34952 (llrint_downward_test_data): Likewise.
34953 (llrint_upward_test_data): Likewise.
34954 (log_test_data): Likewise.
34955 (log10_test_data): Likewise.
34956 (log1p_test_data): Likewise.
34957 (log2_test_data): Likewise.
34958 (logb_test_data): Likewise.
34959 (logb_downward_test_data): Likewise.
34960 (lround_test_data): Likewise.
34961 (llround_test_data): Likewise.
34962 (modf_test_data): Likewise.
34963 (nearbyint_test_data): Likewise.
34964 (nextafter_test_data): Likewise.
34965 (nexttoward_test_data): Likewise.
34966 (pow_test_data): Likewise.
34967 (pow_tonearest_test_data): Likewise.
34968 (pow_towardzero_test_data): Likewise.
34969 (pow_downward_test_data): Likewise.
34970 (pow_upward_test_data): Likewise.
34971 (remainder_test_data): Likewise.
34972 (remainder_tonearest_test_data): Likewise.
34973 (remainder_towardzero_test_data): Likewise.
34974 (remainder_downward_test_data): Likewise.
34975 (remainder_upward_test_data): Likewise.
34976 (remquo_test_data): Likewise.
34977 (rint_test_data): Likewise.
34978 (rint_tonearest_test_data): Likewise.
34979 (rint_towardzero_test_data): Likewise.
34980 (rint_downward_test_data): Likewise.
34981 (rint_upward_test_data): Likewise.
34982 (round_test_data): Likewise.
34983 (scalb_test_data): Likewise.
34984 (scalbn_test_data): Likewise.
34985 (scalbln_test_data): Likewise.
34986 (signbit_test_data): Likewise.
34987 (sin_test_data): Likewise.
34988 (sin_tonearest_test_data): Likewise.
34989 (sin_towardzero_test_data): Likewise.
34990 (sin_downward_test_data): Likewise.
34991 (sin_upward_test_data): Likewise.
34992 (sincos_test_data): Likewise.
34993 (sinh_test_data): Likewise.
34994 (sinh_tonearest_test_data): Likewise.
34995 (sinh_towardzero_test_data): Likewise.
34996 (sinh_downward_test_data): Likewise.
34997 (sinh_upward_test_data): Likewise.
34998 (sqrt_test_data): Likewise.
34999 (tan_test_data): Likewise.
35000 (tan_tonearest_test_data): Likewise.
35001 (tan_towardzero_test_data): Likewise.
35002 (tan_downward_test_data): Likewise.
35003 (tan_upward_test_data): Likewise.
35004 (tanh_test_data): Likewise.
35005 (tgamma_test_data): Likewise.
35006 (trunc_test_data): Likewise.
35007 (y0_test_data): Likewise.
35008 (y1_test_data): Likewise.
35009 (yn_test_data): Likewise.
35010 (significand_test_data): Likewise.
35011
35012 * math/gen-libm-test.pl (@functions): Remove variable.
35013 (generate_testfile): Don't handle START and END lines.
35014 * math/libm-test.inc (START): New macro.
35015 (END): Likewise.
35016 (END_COMPLEX): Likewise.
35017 (acos_test): Use END macro without arguments.
35018 (acos_test_tonearest): Likewise.
35019 (acos_test_towardzero): Likewise.
35020 (acos_test_downward): Likewise.
35021 (acos_test_upward): Likewise.
35022 (acosh_test): Likewise.
35023 (asin_test): Likewise.
35024 (asin_test_tonearest): Likewise.
35025 (asin_test_towardzero): Likewise.
35026 (asin_test_downward): Likewise.
35027 (asin_test_upward): Likewise.
35028 (asinh_test): Likewise.
35029 (atan_test): Likewise.
35030 (atanh_test): Likewise.
35031 (atan2_test): Likewise.
35032 (cabs_test): Likewise.
35033 (cacos_test): Use END_COMPLEX macro without arguments.
35034 (cacosh_test): Likewise.
35035 (carg_test): Use END macro without arguments.
35036 (casin_test): Use END_COMPLEX macro without arguments.
35037 (casinh_test): Likewise.
35038 (catan_test): Likewise.
35039 (catanh_test): Likewise.
35040 (cbrt_test): Use END macro without arguments.
35041 (ccos_test): Use END_COMPLEX macro without arguments.
35042 (ccosh_test): Likewise.
35043 (ceil_test): Use END macro without arguments.
35044 (cexp_test): Use END_COMPLEX macro without arguments.
35045 (cimag_test): Use END macro without arguments.
35046 (clog_test): Use END_COMPLEX macro without arguments.
35047 (clog10_test): Likewise.
35048 (conj_test): Likewise.
35049 (copysign_test): Use END macro without arguments.
35050 (cos_test): Likewise.
35051 (cos_test_tonearest): Likewise.
35052 (cos_test_towardzero): Likewise.
35053 (cos_test_downward): Likewise.
35054 (cos_test_upward): Likewise.
35055 (cosh_test): Likewise.
35056 (cosh_test_tonearest): Likewise.
35057 (cosh_test_towardzero): Likewise.
35058 (cosh_test_downward): Likewise.
35059 (cosh_test_upward): Likewise.
35060 (cpow_test): Use END_COMPLEX macro without arguments.
35061 (cproj_test): Likewise.
35062 (creal_test): Use END macro without arguments.
35063 (csin_test): Use END_COMPLEX macro without arguments.
35064 (csinh_test): Likewise.
35065 (csqrt_test): Likewise.
35066 (ctan_test): Likewise.
35067 (ctan_test_tonearest): Likewise.
35068 (ctan_test_towardzero): Likewise.
35069 (ctan_test_downward): Likewise.
35070 (ctan_test_upward): Likewise.
35071 (ctanh_test): Likewise.
35072 (ctanh_test_tonearest): Likewise.
35073 (ctanh_test_towardzero): Likewise.
35074 (ctanh_test_downward): Likewise.
35075 (ctanh_test_upward): Likewise.
35076 (erf_test): Use END macro without arguments.
35077 (erfc_test): Likewise.
35078 (exp_test): Likewise.
35079 (exp_test_tonearest): Likewise.
35080 (exp_test_towardzero): Likewise.
35081 (exp_test_downward): Likewise.
35082 (exp_test_upward): Likewise.
35083 (exp10_test): Likewise.
35084 (exp2_test): Likewise.
35085 (expm1_test): Likewise.
35086 (fabs_test): Likewise.
35087 (fdim_test): Likewise.
35088 (finite_test): Likewise.
35089 (floor_test): Likewise.
35090 (fma_test): Likewise.
35091 (fma_test_towardzero): Likewise.
35092 (fma_test_downward): Likewise.
35093 (fma_test_upward): Likewise.
35094 (fmax_test): Likewise.
35095 (fmin_test): Likewise.
35096 (fmod_test): Likewise.
35097 (fpclassify_test): Likewise.
35098 (frexp_test): Likewise.
35099 (gamma_test): Likewise.
35100 (hypot_test): Likewise.
35101 (ilogb_test): Likewise.
35102 (isfinite_test): Likewise.
35103 (isgreater_test): Likewise.
35104 (isgreaterequal_test): Likewise.
35105 (isinf_test): Likewise.
35106 (isless_test): Likewise.
35107 (islessequal_test): Likewise.
35108 (islessgreater_test): Likewise.
35109 (isnan_test): Likewise.
35110 (isnormal_test): Likewise.
35111 (issignaling_test): Likewise.
35112 (isunordered_test): Likewise.
35113 (j0_test): Likewise.
35114 (j1_test): Likewise.
35115 (jn_test): Likewise.
35116 (ldexp_test): Likewise.
35117 (lgamma_test): Likewise.
35118 (lrint_test): Likewise.
35119 (lrint_test_tonearest): Likewise.
35120 (lrint_test_towardzero): Likewise.
35121 (lrint_test_downward): Likewise.
35122 (lrint_test_upward): Likewise.
35123 (llrint_test): Likewise.
35124 (llrint_test_tonearest): Likewise.
35125 (llrint_test_towardzero): Likewise.
35126 (llrint_test_downward): Likewise.
35127 (llrint_test_upward): Likewise.
35128 (log_test): Likewise.
35129 (log10_test): Likewise.
35130 (log1p_test): Likewise.
35131 (log2_test): Likewise.
35132 (logb_test): Likewise.
35133 (logb_test_downward): Likewise.
35134 (lround_test): Likewise.
35135 (llround_test): Likewise.
35136 (modf_test): Likewise.
35137 (nearbyint_test): Likewise.
35138 (nextafter_test): Likewise.
35139 (nexttoward_test): Likewise.
35140 (pow_test): Likewise.
35141 (pow_test_tonearest): Likewise.
35142 (pow_test_towardzero): Likewise.
35143 (pow_test_downward): Likewise.
35144 (pow_test_upward): Likewise.
35145 (remainder_test): Likewise.
35146 (remainder_test_tonearest): Likewise.
35147 (remainder_test_towardzero): Likewise.
35148 (remainder_test_downward): Likewise.
35149 (remainder_test_upward): Likewise.
35150 (remquo_test): Likewise.
35151 (rint_test): Likewise.
35152 (rint_test_tonearest): Likewise.
35153 (rint_test_towardzero): Likewise.
35154 (rint_test_downward): Likewise.
35155 (rint_test_upward): Likewise.
35156 (round_test): Likewise.
35157 (scalb_test): Likewise.
35158 (scalbn_test): Likewise.
35159 (scalbln_test): Likewise.
35160 (signbit_test): Likewise.
35161 (sin_test): Likewise.
35162 (sin_test_tonearest): Likewise.
35163 (sin_test_towardzero): Likewise.
35164 (sin_test_downward): Likewise.
35165 (sin_test_upward): Likewise.
35166 (sincos_test): Likewise.
35167 (sinh_test): Likewise.
35168 (sinh_test_tonearest): Likewise.
35169 (sinh_test_towardzero): Likewise.
35170 (sinh_test_downward): Likewise.
35171 (sinh_test_upward): Likewise.
35172 (sqrt_test): Likewise.
35173 (tan_test): Likewise.
35174 (tan_test_tonearest): Likewise.
35175 (tan_test_towardzero): Likewise.
35176 (tan_test_downward): Likewise.
35177 (tan_test_upward): Likewise.
35178 (tanh_test): Likewise.
35179 (tgamma_test): Likewise.
35180 (trunc_test): Likewise.
35181 (y0_test): Likewise.
35182 (y1_test): Likewise.
35183 (yn_test): Likewise.
35184 (significand_test): Likewise.
35185
35186 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35187
35188 [BZ #15381]
35189 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35190
35191 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35192
35193 [BZ #14894]
35194 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35195 __ppc_mdoio and __ppc_mdoom.
35196 * manual/platform.texi: Document new functions __ppc_yield,
35197 __ppc_mdoio and __ppc_mdoom.
35198
35199 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35200
35201 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35202 (main): Mention "tls" pseudo-hwcap is legacy.
35203 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35204
35205 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35206
35207 * math/gen-libm-test.pl (parse_args): Output only string of
35208 arguments as text for test name, not full call or descriptions of
35209 tests for extra outputs.
35210 (generate_testfile): Do not pass function name to parse_args.
35211 Generate this_func variable from START.
35212 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35213 field to arg_str.
35214 (struct test_ff_f_data): Likewise.
35215 (test_ff_f_data_nexttoward): Likewise.
35216 (struct test_fi_f_data): Likewise.
35217 (struct test_fl_f_data): Likewise.
35218 (struct test_if_f_data): Likewise.
35219 (struct test_fff_f_data): Likewise.
35220 (struct test_c_f_data): Likewise.
35221 (struct test_f_f1_data): Likewise. Remove field extra_name.
35222 (struct test_fF_f1_data): Likewise.
35223 (struct test_ffI_f1_data): Likewise.
35224 (struct test_c_c_data): Rename test_name field to arg_str.
35225 (struct test_cc_c_data): Likewise.
35226 (struct test_f_i_data): Likewise.
35227 (struct test_ff_i_data): Likewise.
35228 (struct test_f_l_data): Likewise.
35229 (struct test_f_L_data): Likewise.
35230 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35231 and extra2_name.
35232 (COMMON_TEST_SETUP): New macro.
35233 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35234 (COMMON_TEST_CLEANUP): Likewise.
35235 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35236 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35237 macros.
35238 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35239 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35240 macros.
35241 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35242 (RUN_TEST_fff_f): Take argument string. Call new setup and
35243 cleanup macros.
35244 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35245 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35246 macros.
35247 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35248 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35249 macros.
35250 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35251 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35252 cleanup macros.
35253 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35254 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35255 cleanup macros.
35256 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35257 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35258 cleanup macros.
35259 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35260 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35261 macros.
35262 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35263 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35264 macros.
35265 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35266 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35267 macros.
35268 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35269 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35270 cleanup macros.
35271 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35272 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35273 cleanup macros.
35274 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35275 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35276 macros.
35277 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35278 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35279 cleanup macros.
35280 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35281 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35282 macros.
35283 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35284 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35285 macros.
35286 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35287 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35288 cleanup macros.
35289 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35290
35291 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35292
35293 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35294 to _sifields.sigfault.
35295 (si_addr_lsb): Define new macro.
35296 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35298 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35299
35300 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35301
35302 [BZ #15441]
35303 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35304 returns -1.
35305 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35306 null return -1.
35307 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35308 loading the domain.
35309
35310 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35311
35312 * math/gen-libm-test.pl (parse_args): Do not include expected
35313 result in test name.
35314 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35316 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35317 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35318 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35320
35321 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35322
35323 * benchtests/Makefile: Sort function entries.
35324
35325 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35326 tanh, asinh, acosh, atanh.
35327 * benchtests/acos-inputs: New file.
35328 * benchtests/acosh-inputs: New file.
35329 * benchtests/asin-inputs: New file.
35330 * benchtests/asinh-inputs: New file.
35331 * benchtests/atanh-inputs: New file.
35332 * benchtests/cosh-inputs: New file.
35333 * benchtests/log-inputs: New file.
35334 * benchtests/sinh-inputs: New file.
35335 * benchtests/tanh-inputs: New file.
35336
35337 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35338
35339 [BZ #15339]
35340 * posix/tst-getaddrinfo4.c: New test.
35341 * posix/Makefile (tests): Add it.
35342
35343 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35344
35345 [BZ #15339]
35346 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35347 when no services were used.
35348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35349 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35350
35351 2013-05-21 Andreas Schwab <schwab@suse.de>
35352
35353 [BZ #15014]
35354 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35355 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35356 successful.
35357 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35358 redundant variable declarations and reallocation of buffer when
35359 parsing as IPv6 address. Always set NSS status when called from
35360 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35361 buffer too small. Correct computation of needed size.
35362 * nss/Makefile (tests): Add test-digits-dots.
35363 * nss/test-digits-dots.c: New test.
35364
35365 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35366
35367 * benchtests/Makefile: Remove instructions for adding
35368 benchmark tests.
35369 * benchtests/README: New file to explain how to execute and
35370 enhance the benchmark tests.
35371
35372 2013-05-21 Andreas Schwab <schwab@suse.de>
35373
35374 [BZ #15493]
35375 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35376 * setjmp/tst-sigsetjmp.c: New test.
35377
35378 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35379
35380 * sysdeps/x86_64/memset.S (memset): New implementation.
35381 (__bzero): Likewise.
35382 (__memset_tail): New function.
35383
35384 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35385
35386 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35387 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35388 __memcpy_sse2_unaligned ifunc selection.
35389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35390 Add memcpy-sse2-unaligned.S.
35391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35392 Add: __memcpy_sse2_unaligned.
35393
35394 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35395
35396 [BZ #15490]
35397 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35398 math_force_eval before restoring floating-point envrionment.
35399 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35401 Likewise.
35402 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35403 <math_private.h>.
35404 (__nearbyintl): Use math_force_eval before restoring
35405 floating-point environment.
35406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35407
35408 * math/gen-libm-test.pl (special_functions): Remove.
35409 (parse_args): Don't handle TEST_extra. Handle functions with no
35410 return value.
35411 * math/libm-test.inc (struct test_sincos_data): Replace with
35412 struct test_fFF_11_data.
35413 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35414 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35415 (sincos_test_data): Change element type to struct
35416 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35417 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35418 RUN_TEST_LOOP_sincos.
35419 * math/README.libm-test: Don't mention special handling of
35420 individual functions.
35421 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35424 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35427
35428 * math/gen-libm-test.pl (get_variable): Remove function.
35429 (parse_args): Don't show pointer parameters to call in test
35430 names. Use "extra output N" in test names for extra outputs
35431 rather than naming variables.
35432
35433 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35434
35435 [BZ #15488]
35436 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35437 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35438 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35439 double tests.
35440 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35441 disable.
35442 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35443 check_long_double.
35444
35445 * math/gen-libm-test.pl (@tests): Remove variable.
35446 ($count): Likewise.
35447 (new_test): Remove function.
35448 (show_exceptions): New function.
35449 (special_functions): Use show_exceptions instead of new_test.
35450 (parse_args): Likewise.
35451 (generate_testfile): Pass only function name in generated call to
35452 print_max_error or print_complex_max_error.
35453 (get_ulps): Do not handle complex tests specially.
35454 (output_test): Rename to ...
35455 (get_all_ulps_for_test): ... this. Return a string rather than
35456 printing to a file. Require ulps to be present.
35457 (output_ulps): Generate arrays rather than #defines.
35458 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35459 (struct ulp_data): New type.
35460 (BUILD_COMPLEX_ULP): Remove macro.
35461 (compare_ulp_data): New function.
35462 (find_ulps): Likewise.
35463 (find_test_ulps): Likewise.
35464 (find_function_ulps): Likewise.
35465 (find_complex_function_ulps): Likewise.
35466 (print_max_error): Determine allowed ulps using
35467 find_function_ulps.
35468 (print_complex_max_error): Determine allowed ulps using
35469 find_complex_function_ulps.
35470 (check_float_internal): Determine max ulps using find_test_ulps.
35471 (check_float): Do not take max_ulp parameter. Update call to
35472 check_float_internal.
35473 (check_complex): Likewise.
35474 (check_int): Do not take max_ulp parameter.
35475 (check_long): Likewise.
35476 (check_bool): Likewise.
35477 (check_longlong): Likewise.
35478 (struct test_f_f_data): Remove max_ulp field.
35479 (struct test_ff_f_data): Likewise.
35480 (struct test_ff_f_data_nexttoward): Likewise.
35481 (struct test_fi_f_data): Likewise.
35482 (struct test_fl_f_data): Likewise.
35483 (struct test_if_f_data): Likewise.
35484 (struct test_fff_f_data): Likewise.
35485 (struct test_c_f_data): Likewise.
35486 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35487 (struct test_fF_f1_data): Likewise.
35488 (struct test_ffI_f1_data): Likewise.
35489 (struct test_c_c_data): Remove max_ulp field.
35490 (struct test_cc_c_data): Likewise.
35491 (struct test_f_i_data): Likewise.
35492 (struct test_ff_i_data): Likewise.
35493 (struct test_f_l_data): Likewise.
35494 (struct test_f_L_data): Likewise.
35495 (struct test_sincos_data): Likewise.
35496 (RUN_TEST_f_f): Do not handle ulps.
35497 (RUN_TEST_LOOP_f_f): Likewise.
35498 (RUN_TEST_2_f): Likewise.
35499 (RUN_TEST_LOOP_2_f): Likewise.
35500 (RUN_TEST_fff_f): Likewise.
35501 (RUN_TEST_LOOP_fff_f): Likewise.
35502 (RUN_TEST_c_f): Likewise.
35503 (RUN_TEST_LOOP_c_f): Likewise.
35504 (RUN_TEST_f_f1): Likewise.
35505 (RUN_TEST_LOOP_f_f1): Likewise.
35506 (RUN_TEST_fF_f1): Likewise.
35507 (RUN_TEST_LOOP_fF_f1): Likewise.
35508 (RUN_TEST_fI_f1): Likewise.
35509 (RUN_TEST_LOOP_fI_f1): Likewise.
35510 (RUN_TEST_ffI_f1): Likewise.
35511 (RUN_TEST_LOOP_ffI_f1): Likewise.
35512 (RUN_TEST_c_c): Likewise.
35513 (RUN_TEST_LOOP_c_c): Likewise.
35514 (RUN_TEST_cc_c): Likewise.
35515 (RUN_TEST_LOOP_cc_c): Likewise.
35516 (RUN_TEST_f_i): Likewise.
35517 (RUN_TEST_LOOP_f_i): Likewise.
35518 (RUN_TEST_f_i_tg): Likewise.
35519 (RUN_TEST_LOOP_f_i_tg): Likewise.
35520 (RUN_TEST_ff_i_tg): Likewise.
35521 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35522 (RUN_TEST_f_b): Likewise.
35523 (RUN_TEST_LOOP_f_b): Likewise.
35524 (RUN_TEST_f_b_tg): Likewise.
35525 (RUN_TEST_LOOP_f_b_tg): Likewise.
35526 (RUN_TEST_f_l): Likewise.
35527 (RUN_TEST_LOOP_f_l): Likewise.
35528 (RUN_TEST_f_L): Likewise.
35529 (RUN_TEST_LOOP_f_L): Likewise.
35530 (RUN_TEST_sincos): Likewise.
35531 (RUN_TEST_LOOP_sincos): Likewise.
35532
35533 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35534
35535 [BZ #15480]
35536 [BZ #15485]
35537 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35538 main case of finite arguments, set rounding mode to FE_TONEAREST
35539 and discard exceptions.
35540 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35541 exceptions.
35542 (remainder_tonearest_test_data): New variable.
35543 (remainder_test_tonearest): New function.
35544 (remainder_towardzero_test_data): New variable.
35545 (remainder_test_towardzero): New function.
35546 (remainder_downward_test_data): New variable.
35547 (remainder_test_downward): New function.
35548 (remainder_upward_test_data): New variable.
35549 (remainder_test_upward): New function.
35550 (main): Call the new test functions.
35551
35552 * math/libm-test.inc (struct test_f_f1_data): Remove field
35553 extra_init.
35554 (struct test_fF_f1_data): Likewise.
35555 (struct test_ffI_f1_data): Likewise.
35556 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35557 based on value of EXTRA_EXPECTED.
35558 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35559 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35560 EXTRA_VAR based on value of EXTRA_EXPECTED.
35561 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35562 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35563 EXTRA_VAR based on value of EXTRA_EXPECTED.
35564 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35565 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35566 EXTRA_VAR based on value of EXTRA_EXPECTED.
35567 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35568 * math/gen-libm-test.pl (parse_args): Don't output initializers
35569 for extra output values.
35570
35571 * math/libm-test.inc (check_int): Expect result to be exactly
35572 equal to expected value and do not handle ulps.
35573 (check_long): Likewise.
35574 (check_longlong): Likewise.
35575
35576 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35577 exceptions.
35578 (cimag_test_data): Likewise.
35579 (conj_test_data): Likewise.
35580 (copysign_test_data): Likewise.
35581 (cproj_test_data): Likewise.
35582 (creal_test_data): Likewise.
35583 (fabs_test_data): Likewise.
35584 (fdim_test_data): Likewise.
35585 (finite_test_data): Likewise.
35586 (floor_test_data): Likewise.
35587 (fmax_test_data): Likewise.
35588 (fmin_test_data): Likewise.
35589 (fmod_test_data): Likewise.
35590 (fpclassify_test_data): Likewise.
35591 (frexp_test_data): Likewise.
35592 (ilogb_test_data): Likewise.
35593 (isfinite_test_data): Likewise.
35594 (isgreater_test_data): Likewise.
35595 (isgreaterequal_test_data): Likewise.
35596 (isinf_test_data): Likewise.
35597 (isless_test_data): Likewise.
35598 (islessequal_test_data): Likewise.
35599 (islessgreater_test_data): Likewise.
35600 (isnan_test_data): Likewise.
35601 (isnormal_test_data): Likewise.
35602 (issignaling_test_data): Likewise.
35603 (isunordered_test_data): Likewise.
35604 (ldexp_test_data): Likewise.
35605 (lrint_test_data): Likewise.
35606 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35607 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35608 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35609 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35610 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35611 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35612 test input.
35613 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35614 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35615 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35616 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35617 that test input.
35618 (lrint_downward_test_data): Test for "inexact" exceptions.
35619 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35620 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35621 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35622 test input.
35623 (lrint_upward_test_data): Test for "inexact" exceptions.
35624 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35625 test input.
35626 (llrint_test_data): Test for "inexact" exceptions.
35627 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35628 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35629 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35630 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35631 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35632 (llrint_downward_test_data): Test for "inexact" exceptions.
35633 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35634 (llrint_upward_test_data): Test for "inexact" exceptions.
35635 (logb_test_data): Likewise.
35636 (logb_downward_test_data): Likewise.
35637 (nextafter_test_data): Likewise.
35638 (nexttoward_test_data): Likewise.
35639 (remainder_test_data): Likewise.
35640 (remquo_test_data): Likewise.
35641 (scalbn_test_data): Likewise.
35642 (scalbln_test_data): Likewise.
35643 (signbit_test_data): Likewise.
35644 (sqrt_test_data): Likewise.
35645 (significand_test_data): Likewise.
35646
35647 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35648
35649 [BZ #15424]
35650 * benchtests/bench-modf.c (struct args): Mark arg0 as
35651 volatile.
35652 * scripts/bench.pl: Mark members of struct args as volatile.
35653
35654 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35655
35656 [BZ # 15497]
35657 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35658 negative infinity on POWER6 or lower.
35659 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35660
35661 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35662
35663 [BZ #15442]
35664 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35665 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35666 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35667 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35668 (_FP_SETQNAN): New macro.
35669 (_FP_SETQNAN_SEMIRAW): Likewise.
35670 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35671 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35672 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35673 (FP_EXTEND): Use _FP_FRAC_SNANP.
35674 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35675 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35676 into account.
35677 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35678 New macro.
35679 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35680 Likewise.
35681
35682 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35683
35684 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35685 with DIVIDE_BY_ZERO_EXCEPTION.
35686 (gamma_test_data): Likewise.
35687 (lgamma_test_data): Likewise.
35688 (log_test_data): Likewise.
35689 (log10_test_data): Likewise.
35690 (log2_test_data): Likewise.
35691 (tgamma_test_data): Likewise.
35692
35693 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35694 (acos_test_tonearest): Likewise.
35695 (acos_test_towardzero): Likewise.
35696 (acos_test_downward): Likewise.
35697 (acos_test_upward): Likewise.
35698 (acosh_test): Likewise.
35699 (asin_test): Likewise.
35700 (asin_test_tonearest): Likewise.
35701 (asin_test_towardzero): Likewise.
35702 (asin_test_downward): Likewise.
35703 (asin_test_upward): Likewise.
35704 (asinh_test): Likewise.
35705 (atan_test): Likewise.
35706 (atanh_test): Likewise.
35707 (atan2_test): Likewise.
35708 (cabs_test): Likewise.
35709 (cacos_test): Likewise.
35710 (cacosh_test): Likewise.
35711 (casin_test): Likewise.
35712 (casinh_test): Likewise.
35713 (catan_test): Likewise.
35714 (catanh_test): Likewise.
35715 (cbrt_test): Likewise.
35716 (ccos_test): Likewise.
35717 (ccosh_test): Likewise.
35718 (cexp_test): Likewise.
35719 (clog_test): Likewise.
35720 (clog10_test): Likewise.
35721 (cos_test): Likewise.
35722 (cos_test_tonearest): Likewise.
35723 (cos_test_towardzero): Likewise.
35724 (cos_test_downward): Likewise.
35725 (cos_test_upward): Likewise.
35726 (cosh_test): Likewise.
35727 (cosh_test_tonearest): Likewise.
35728 (cosh_test_towardzero): Likewise.
35729 (cosh_test_downward): Likewise.
35730 (cosh_test_upward): Likewise.
35731 (cpow_test): Likewise.
35732 (csin_test): Likewise.
35733 (csinh_test): Likewise.
35734 (csqrt_test): Likewise.
35735 (ctan_test): Likewise.
35736 (ctan_test_tonearest): Likewise.
35737 (ctan_test_towardzero): Likewise.
35738 (ctan_test_downward): Likewise.
35739 (ctan_test_upward): Likewise.
35740 (ctanh_test): Likewise.
35741 (ctanh_test_tonearest): Likewise.
35742 (ctanh_test_towardzero): Likewise.
35743 (ctanh_test_downward): Likewise.
35744 (ctanh_test_upward): Likewise.
35745 (erf_test): Likewise.
35746 (erfc_test): Likewise.
35747 (exp_test): Likewise.
35748 (exp_test_tonearest): Likewise.
35749 (exp_test_towardzero): Likewise.
35750 (exp_test_downward): Likewise.
35751 (exp_test_upward): Likewise.
35752 (exp10_test): Likewise.
35753 (exp2_test): Likewise.
35754 (expm1_test): Likewise.
35755 (fmod_test): Likewise.
35756 (gamma_test): Likewise.
35757 (hypot_test): Likewise.
35758 (j0_test): Likewise.
35759 (j1_test): Likewise.
35760 (jn_test): Likewise.
35761 (lgamma_test): Likewise.
35762 (log_test): Likewise.
35763 (log10_test): Likewise.
35764 (log1p_test): Likewise.
35765 (log2_test): Likewise.
35766 (logb_test_downward): Likewise.
35767 (pow_test): Likewise.
35768 (pow_test_tonearest): Likewise.
35769 (pow_test_towardzero): Likewise.
35770 (pow_test_downward): Likewise.
35771 (pow_test_upward): Likewise.
35772 (remainder_test): Likewise.
35773 (remquo_test): Likewise.
35774 (sin_test): Likewise.
35775 (sin_test_tonearest): Likewise.
35776 (sin_test_towardzero): Likewise.
35777 (sin_test_downward): Likewise.
35778 (sin_test_upward): Likewise.
35779 (sincos_test): Likewise.
35780 (sinh_test): Likewise.
35781 (sinh_test_tonearest): Likewise.
35782 (sinh_test_towardzero): Likewise.
35783 (sinh_test_downward): Likewise.
35784 (sinh_test_upward): Likewise.
35785 (sqrt_test): Likewise.
35786 (tan_test): Likewise.
35787 (tan_test_tonearest): Likewise.
35788 (tan_test_towardzero): Likewise.
35789 (tan_test_downward): Likewise.
35790 (tan_test_upward): Likewise.
35791 (tanh_test): Likewise.
35792 (tgamma_test): Likewise.
35793 (y0_test): Likewise.
35794 (y1_test): Likewise.
35795 (yn_test): Likewise.
35796
35797 * math/gen-libm-test.pl (adjust_arg): Remove function.
35798 (special_function): Remove argument $in_func. Only handle
35799 generating output for tables of tests, not inside functions.
35800 (parse_args): Likewise.
35801 (generate_testfile): Remove variable $in_func. Update call to
35802 parse_args.
35803 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35804 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35805 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35806 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35807 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35808 (MAX_VALUE_INIT): Rename macro to max_value.
35809 (MIN_VALUE_INIT): Rename macro to min_value.
35810 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35811 (plus_zero): Remove variable.
35812 (minus_zero): Likewise.
35813 (plus_infty): Likewise.
35814 (minus_infty): Likewise.
35815 (qnan_value): Likewise.
35816 (max_value): Likewise.
35817 (min_value): Likewise.
35818 (min_subnorm_value): Likewise.
35819
35820 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35821
35822 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35823 uint64_t or uint32_t usage.
35824 * crypt/sha256-block.c: Likewise.
35825 * crypt/sha256-crypt.c: Likewise.
35826 * crypt/sha256.c: Likewise.
35827 * crypt/sha512-block.c: Likewise.
35828 * crypt/sha512-crypt.c: Likewise.
35829 * crypt/sha512.c: Likewise.
35830 * debug/backtrace-tst.c: Likewise.
35831 * debug/pcprofiledump.c: Likewise.
35832 * elf/cache.c: Likewise.
35833 * elf/dl-cache.c: Likewise.
35834 * elf/dl-misc.c: Likewise.
35835 * elf/dl-profile.c: Likewise.
35836 * elf/dl-support.c: Likewise.
35837 * elf/ldconfig.c: Likewise.
35838 * elf/sprof.c: Likewise.
35839 * iconv/dummy-repertoire.c: Likewise.
35840 * iconv/iconv_charmap.c: Likewise.
35841 * iconv/skeleton.c: Likewise.
35842 * iconvdata/8bit-generic.c: Likewise.
35843 * iconvdata/cp737.h: Likewise.
35844 * iconvdata/cp775.h: Likewise.
35845 * iconvdata/ibm1008.h: Likewise.
35846 * iconvdata/ibm1025.h: Likewise.
35847 * iconvdata/ibm1046.h: Likewise.
35848 * iconvdata/ibm1097.h: Likewise.
35849 * iconvdata/ibm1112.h: Likewise.
35850 * iconvdata/ibm1122.h: Likewise.
35851 * iconvdata/ibm1123.h: Likewise.
35852 * iconvdata/ibm1124.h: Likewise.
35853 * iconvdata/ibm1129.h: Likewise.
35854 * iconvdata/ibm1130.h: Likewise.
35855 * iconvdata/ibm1132.h: Likewise.
35856 * iconvdata/ibm1133.h: Likewise.
35857 * iconvdata/ibm1137.h: Likewise.
35858 * iconvdata/ibm1140.h: Likewise.
35859 * iconvdata/ibm1141.h: Likewise.
35860 * iconvdata/ibm1142.h: Likewise.
35861 * iconvdata/ibm1143.h: Likewise.
35862 * iconvdata/ibm1144.h: Likewise.
35863 * iconvdata/ibm1145.h: Likewise.
35864 * iconvdata/ibm1146.h: Likewise.
35865 * iconvdata/ibm1147.h: Likewise.
35866 * iconvdata/ibm1148.h: Likewise.
35867 * iconvdata/ibm1149.h: Likewise.
35868 * iconvdata/ibm1153.h: Likewise.
35869 * iconvdata/ibm1154.h: Likewise.
35870 * iconvdata/ibm1155.h: Likewise.
35871 * iconvdata/ibm1156.h: Likewise.
35872 * iconvdata/ibm1157.h: Likewise.
35873 * iconvdata/ibm1158.h: Likewise.
35874 * iconvdata/ibm1160.h: Likewise.
35875 * iconvdata/ibm1161.h: Likewise.
35876 * iconvdata/ibm1162.h: Likewise.
35877 * iconvdata/ibm1163.h: Likewise.
35878 * iconvdata/ibm1164.h: Likewise.
35879 * iconvdata/ibm1166.h: Likewise.
35880 * iconvdata/ibm1167.h: Likewise.
35881 * iconvdata/ibm12712.h: Likewise.
35882 * iconvdata/ibm1390.h: Likewise.
35883 * iconvdata/ibm1399.h: Likewise.
35884 * iconvdata/ibm16804.h: Likewise.
35885 * iconvdata/ibm4517.h: Likewise.
35886 * iconvdata/ibm4899.h: Likewise.
35887 * iconvdata/ibm4909.h: Likewise.
35888 * iconvdata/ibm4971.h: Likewise.
35889 * iconvdata/ibm5347.h: Likewise.
35890 * iconvdata/ibm803.h: Likewise.
35891 * iconvdata/ibm856.h: Likewise.
35892 * iconvdata/ibm901.h: Likewise.
35893 * iconvdata/ibm902.h: Likewise.
35894 * iconvdata/ibm9030.h: Likewise.
35895 * iconvdata/ibm9066.h: Likewise.
35896 * iconvdata/ibm921.h: Likewise.
35897 * iconvdata/ibm922.h: Likewise.
35898 * iconvdata/ibm9448.h: Likewise.
35899 * iconvdata/isiri-3342.h: Likewise.
35900 * iconvdata/jis0201.h: Likewise.
35901 * include/link.h: Likewise.
35902 * include/netdb.h: Likewise.
35903 * inet/check_native.c: Likewise.
35904 * inet/check_pf.c: Likewise.
35905 * inet/getipv4sourcefilter.c: Likewise.
35906 * inet/getnameinfo.c: Likewise.
35907 * inet/getsourcefilter.c: Likewise.
35908 * inet/htonl.c: Likewise.
35909 * inet/setipv4sourcefilter.c: Likewise.
35910 * inet/setsourcefilter.c: Likewise.
35911 * inet/test-inet6_opt.c: Likewise.
35912 * inet/tst-network.c: Likewise.
35913 * locale/C-collate.c: Likewise.
35914 * locale/C-ctype.c: Likewise.
35915 * locale/C-time.c: Likewise.
35916 * locale/C-translit.h: Likewise.
35917 * locale/loadarchive.c: Likewise.
35918 * locale/programs/3level.h: Likewise.
35919 * locale/programs/charmap.c: Likewise.
35920 * locale/programs/charmap.h: Likewise.
35921 * locale/programs/ld-address.c: Likewise.
35922 * locale/programs/ld-collate.c: Likewise.
35923 * locale/programs/ld-ctype.c: Likewise.
35924 * locale/programs/ld-identification.c: Likewise.
35925 * locale/programs/ld-measurement.c: Likewise.
35926 * locale/programs/ld-messages.c: Likewise.
35927 * locale/programs/ld-monetary.c: Likewise.
35928 * locale/programs/ld-name.c: Likewise.
35929 * locale/programs/ld-numeric.c: Likewise.
35930 * locale/programs/ld-paper.c: Likewise.
35931 * locale/programs/ld-telephone.c: Likewise.
35932 * locale/programs/ld-time.c: Likewise.
35933 * locale/programs/linereader.c: Likewise.
35934 * locale/programs/locale.c: Likewise.
35935 * locale/programs/locarchive.c: Likewise.
35936 * locale/programs/locfile.h: Likewise.
35937 * locale/programs/repertoire.c: Likewise.
35938 * locale/programs/simple-hash.c: Likewise.
35939 * locale/programs/simple-hash.h: Likewise.
35940 * malloc/memusage.c: Likewise.
35941 * malloc/memusagestat.c: Likewise.
35942 * nis/nis_defaults.c: Likewise.
35943 * nis/nis_hash.c: Likewise.
35944 * nis/nis_print.c: Likewise.
35945 * nis/nis_xdr.c: Likewise.
35946 * nscd/connections.c: Likewise.
35947 * nscd/hstcache.c: Likewise.
35948 * nscd/nscd_gethst_r.c: Likewise.
35949 * nscd/nscd_getserv_r.c: Likewise.
35950 * nscd/nscd_helper.c: Likewise.
35951 * nscd/servicescache.c: Likewise.
35952 * nss/makedb.c: Likewise.
35953 * nss/nss_db/db-XXX.c: Likewise.
35954 * nss/nss_db/db-initgroups.c: Likewise.
35955 * nss/nss_db/db-netgrp.c: Likewise.
35956 * nss/nss_files/files-network.c: Likewise.
35957 * nss/nss_files/files-parse.c: Likewise.
35958 * posix/bug-regex5.c: Likewise.
35959 * posix/fnmatch_loop.c: Likewise.
35960 * posix/regcomp.c: Likewise.
35961 * posix/regexec.c: Likewise.
35962 * posix/tst-rfc3484-2.c: Likewise.
35963 * posix/tst-rfc3484-3.c: Likewise.
35964 * posix/tst-rfc3484.c: Likewise.
35965 * resolv/nss_dns/dns-canon.c: Likewise.
35966 * resolv/nss_dns/dns-network.c: Likewise.
35967 * resolv/res_init.c: Likewise.
35968 * resolv/res_mkquery.c: Likewise.
35969 * resolv/tst-aton.c: Likewise.
35970 * stdlib/cxa_atexit.c: Likewise.
35971 * stdlib/cxa_finalize.c: Likewise.
35972 * stdlib/gen-fpioconst.c: Likewise.
35973 * stdlib/strtol_l.c: Likewise.
35974 * string/tst-endian.c: Likewise.
35975 * sunrpc/auth_des.c: Likewise.
35976 * sunrpc/clnt_udp.c: Likewise.
35977 * sunrpc/rtime.c: Likewise.
35978 * sunrpc/svcauth_des.c: Likewise.
35979 * sunrpc/xdr.c: Likewise.
35980 * sunrpc/xdr_intXX_t.c: Likewise.
35981 * sunrpc/xdr_rec.c: Likewise.
35982 * sysdeps/generic/ldconfig.h: Likewise.
35983 * sysdeps/generic/ldsodefs.h: Likewise.
35984 * sysdeps/generic/memusage.h: Likewise.
35985 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35987 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35989 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35991 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35993 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35994 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35995 * sysdeps/posix/getaddrinfo.c: Likewise.
35996 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35997 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35998 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35999 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36000 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36001 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36002 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36003 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36004 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36005 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36006 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36007 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36008 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36009 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36010 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36011 * sysdeps/x86_64/dl-tls.h: Likewise.
36012 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36013 * time/alt_digit.c: Likewise.
36014 * time/era.c: Likewise.
36015 * wcsmbs/tst-c16c32-1.c: Likewise.
36016
36017 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36018
36019 * math/libm-test.inc (struct test_sincos_data): New type.
36020 (RUN_TEST_LOOP_sincos): New macro.
36021 (sincos_test_data): New variable.
36022 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36023
36024 2013-05-16 Richard Henderson <rth@redhat.com>
36025
36026 * math/atest-exp2.c (LIMB64): New macro.
36027 (CONSTSZ): New macro.
36028 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36029 (hexdig): Move ...
36030 (print_mpn_fp): ... to function scope.
36031 (read_mpn_hex): Remove.
36032 (get_log2): Remove.
36033 (exp2_mpn): Use mp_log2.
36034 (main): Use mp_exp1.
36035
36036 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36037
36038 * math/libm-test.inc: Remove comment about not testing "inexact"
36039 exceptions.
36040 (INEXACT_EXCEPTION): New macro.
36041 (NO_INEXACT_EXCEPTION): Likewise.
36042 (INVALID_EXCEPTION_OK): Update value.
36043 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36044 (OVERFLOW_EXCEPTION_OK): Likewise.
36045 (UNDERFLOW_EXCEPTION_OK): Likewise.
36046 (IGNORE_ZERO_INF_SIGN): Likewise.
36047 (ERRNO_UNCHANGED): Likewise.
36048 (ERRNO_EDOM): Likewise.
36049 (ERRNO_ERANGE): Likewise.
36050 (test_exceptions): Handle testing "inexact" exceptions.
36051 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36052 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36053 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36054 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36055 INEXACT_EXCEPTION.
36056 (rint_towardzero_test_data): Likewise.
36057 (rint_downward_test_data): Likewise.
36058 (rint_upward_test_data): Likewise.
36059
36060 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36061 with OVERFLOW_EXCEPTION.
36062 (exp10_test_data): Likewise.
36063 (exp2_test_data): Likewise.
36064 (expm1_test_data): Likewise.
36065 (lgamma_test_data): Likewise.
36066 (pow_test_data): Likewise.
36067 (tgamma_test_data): Likewise.
36068 (yn_test_data): Remove duplicate test of overflow.
36069
36070 * math/libm-test.inc (struct test_cc_c_data): New type.
36071 (RUN_TEST_LOOP_cc_c): New macro.
36072 (cpow_test_data): New variable.
36073 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36074
36075 * math/libm-test.inc (struct test_f_L_data): New type.
36076 (RUN_TEST_LOOP_f_L): New macro.
36077 (llrint_test_data): New variable.
36078 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36079 (llrint_tonearest_test_data): New variable.
36080 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36081 (llrint_towardzero_test_data): New variable.
36082 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36083 (llrint_downward_test_data): New variable.
36084 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36085 (llrint_upward_test_data): New variable.
36086 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36087 (llround_test_data): New variable.
36088 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36089
36090 2013-05-13 Peter Collingbourne <pcc@google.com>
36091
36092 * math/atest-exp2.c (get_log2): Remove const attribute.
36093
36094 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36095
36096 * math/libm-test.inc (struct test_f_l_data): New type.
36097 (RUN_TEST_LOOP_f_l): New macro.
36098 (lrint_test_data): New variable.
36099 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36100 (lrint_tonearest_test_data): New variable.
36101 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36102 (lrint_towardzero_test_data): New variable.
36103 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36104 (lrint_downward_test_data): New variable.
36105 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36106 (lrint_upward_test_data): New variable.
36107 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36108 (lround_test_data): New variable.
36109 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36110
36111 2013-05-15 Peter Collingbourne <pcc@google.com>
36112
36113 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36114 (EXTRACT_WORDS64) Use where appropriate.
36115 (INSERT_WORDS64) Likewise.
36116
36117 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36118 constraints with x constraints.
36119 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36120
36121 * malloc/obstack.c (_obstack_compat): Add initializer.
36122
36123 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36124
36125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36126 si_trapno and add si_addr_lsb to _sifields.sigfault.
36127 (si_trapno): Remove macro.
36128 (si_addr_lsb): Define new macro.
36129 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36130
36131 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36132
36133 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36134 instead of TEST_f_l.
36135 (llrint_test_tonearest): Likewise.
36136 (llrint_test_towardzero): Likewise.
36137 (llrint_test_downward): Likewise.
36138 (llrint_test_upward): Likewise.
36139 (llround_test): Likewise.
36140
36141 * math/libm-test.inc (struct test_f_i_data): Add comment.
36142 (RUN_TEST_LOOP_f_b): New macro.
36143 (RUN_TEST_LOOP_f_b_tg): Likewise.
36144 (finite_test_data): New variable.
36145 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36146 (isfinite_test_data): New variable.
36147 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36148 (isinf_test_data): New variable.
36149 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36150 (isnan_test_data): New variable.
36151 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36152 (isnormal_test_data): New variable.
36153 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36154 (issignaling_test_data): New variable.
36155 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36156 (signbit_test_data): New variable.
36157 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36158
36159 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36160 with INVALID_EXCEPTION.
36161 (acosh_test_data): Likewise.
36162 (asin_test_data): Likewise.
36163 (atanh_test_data): Likewise.
36164 (fmod_test_data): Likewise.
36165 (log_test_data): Likewise.
36166 (log10_test_data): Likewise.
36167 (log2_test_data): Likewise.
36168 (pow_test_data): Likewise.
36169 (sqrt_test_data): Likewise.
36170 (y0_test_data): Likewise.
36171 (y1_test_data): Likewise.
36172 (yn_test_data): Likewise.
36173
36174 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36175 function contents.
36176
36177 * math/libm-test.inc (struct test_ff_i_data): New type.
36178 (RUN_TEST_LOOP_ff_i_tg): New macro.
36179 (isgreater_test_data): New variable.
36180 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36181 (isgreaterequal_test_data): New variable.
36182 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36183 (isless_test_data): New variable.
36184 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36185 (islessequal_test_data): New variable.
36186 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36187 (islessgreater_test_data): New variable.
36188 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36189 (isunordered_test_data): New variable.
36190 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36191
36192 2013-05-14 David S. Miller <davem@davemloft.net>
36193
36194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36195
36196 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36197
36198 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36199
36200 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36201 extra_test to int.
36202 (struct test_f_i_data): Change type of max_ulp to int.
36203
36204 * math/libm-test.inc (test_ffI_f1_data): New type.
36205 (RUN_TEST_LOOP_ffI_f1): New macro.
36206 (remquo_test_data): New variable.
36207 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36208
36209 * setjmp/tst-setjmp-fp.c: New file.
36210 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36211 (link-libm): New variable.
36212 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36213
36214 * math/libm-test.inc (struct test_f_i_data): New type.
36215 (RUN_TEST_LOOP_f_i): New macro.
36216 (RUN_TEST_LOOP_f_i_tg): Likewise.
36217 (fpclassify_test_data): New variable.
36218 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36219 (ilogb_test_data): New variable.
36220 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36221
36222 * math/libm-test.inc (scalbln_test): Correct function name in END
36223 call.
36224
36225 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36226 (RUN_TEST_LOOP_fI_f1): New macro.
36227 (frexp_test_data): New variable.
36228 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36229
36230 * math/libm-test.inc (struct test_fF_f1_data): New type.
36231 (RUN_TEST_LOOP_fF_f1): New macro.
36232 (modf_test_data): New variable.
36233 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36234
36235 * math/libm-test.inc (struct test_f_f1_data): New type.
36236 (RUN_TEST_LOOP_f_f1): New macro.
36237 (gamma_test_data): New variable.
36238 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36239 (lgamma_test_data): New variable.
36240 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36241
36242 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36243
36244 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36245 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36246 (main): Comment "tls" pseudo-hwcap.
36247
36248 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36249
36250 * math/libm-test.inc (struct test_fl_f_data): New type.
36251 (RUN_TEST_LOOP_fl_f): New variable.
36252 (scalbln_test_data): New variable.
36253 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36254
36255 * math/libm-test.inc (struct test_fi_f_data): New type.
36256 (RUN_TEST_LOOP_fi_f): New macro.
36257 (ldexp_test_data): New variable.
36258 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36259 (scalbn_test_data): New variable.
36260 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36261
36262 * math/libm-test.inc (struct test_c_f_data): New type.
36263 (RUN_TEST_LOOP_c_f): New macro.
36264 (cabs_test_data): New variable.
36265 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36266 (carg_test_data): New variable.
36267 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36268 (cimag_test_data): New variable.
36269 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36270 (creal_test_data): New variable.
36271 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36272
36273 * math/libm-test.inc (struct test_if_f_data): New type.
36274 (RUN_TEST_LOOP_if_f): New macro.
36275 (jn_test_data): New variable.
36276 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36277 (yn_test_data): New variable.
36278 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36279
36280 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36281
36282 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36283
36284 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36285 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36286
36287 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36288
36289 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36290 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36291 (bench-deps): Add bench-timing.h.
36292 * benchtests-bench-skeleton.c: Include bench-timing.h.
36293 (main): Use TIMING_* macros instead of clock_gettime.
36294 * benchtests/bench-timing.h: New file.
36295
36296 [BZ #14582]
36297 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36298 Renamed from _LIB_VERSION.
36299 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36300
36301 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36302
36303 * math/libm-test.inc (struct test_fff_f_data): New type.
36304 (RUN_TEST_LOOP_fff_f): New macro.
36305 (fma_test_data): New variable.
36306 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36307 (fma_towardzero_test_data): New variable.
36308 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36309 (fma_downward_test_data): New variable.
36310 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36311 (fma_upward_test_data): New variable.
36312 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36313
36314 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36315 (struct test_c_c_data): New type.
36316 (RUN_TEST_LOOP_c_c): New macro.
36317 (cacos_test_data): New variable.
36318 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36319 (cacosh_test_data): New variable.
36320 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36321 (casin_test_data): New variable.
36322 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36323 (casinh_test_data): New variable.
36324 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36325 (catan_test_data): New variable.
36326 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36327 (catanh_test_data): New variable.
36328 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36329 (ccos_test_data): New variable.
36330 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36331 (ccosh_test_data): New variable.
36332 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36333 (cexp_test_data): New variable.
36334 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36335 (clog_test_data): New variable.
36336 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36337 (clog10_test_data): New variable.
36338 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36339 (conj_test_data): New variable.
36340 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36341 (cproj_test_data): New variable.
36342 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36343 (csin_test_data): New variable.
36344 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36345 (csinh_test_data): New variable.
36346 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36347 (csqrt_test_data): New variable.
36348 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36349 (ctan_test_data): New variable.
36350 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36351 (ctan_tonearest_test_data): New variable.
36352 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36353 (ctan_towardzero_test_data): New variable.
36354 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36355 (ctan_downward_test_data): New variable.
36356 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36357 (ctan_upward_test_data): New variable.
36358 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36359 (ctanh_test_data): New variable.
36360 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36361 (ctanh_tonearest_test_data): New variable.
36362 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36363 (ctanh_towardzero_test_data): New variable.
36364 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36365 (ctanh_downward_test_data): New variable.
36366 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36367 (ctanh_upward_test_data): New variable.
36368 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36369 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36370 of BUILD_COMPLEX.
36371
36372 * math/libm-test.inc (struct test_ff_f_data): New type.
36373 (struct test_ff_f_data_nexttoward): Likewise.
36374 (RUN_TEST_LOOP_2_f): New macro.
36375 (RUN_TEST_LOOP_ff_f): Likewise.
36376 (atan2_test_data): New variable.
36377 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36378 (copysign_test_data): New variable.
36379 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36380 (fdim_test_data): New variable.
36381 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36382 (fmax_test_data): New variable.
36383 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36384 (fmin_test_data): New variable.
36385 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36386 (fmod_test_data): New variable.
36387 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36388 (hypot_test_data): New variable.
36389 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36390 (nextafter_test_data): New variable.
36391 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36392 (nexttoward_test_data): New variable.
36393 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36394 (pow_test_data): New variable.
36395 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36396 (pow_tonearest_test_data): New variable.
36397 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36398 (pow_towardzero_test_data): New variable.
36399 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36400 (pow_downward_test_data): New variable.
36401 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36402 (pow_upward_test_data): New variable.
36403 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36404 (remainder_test_data): New variable.
36405 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36406 (scalb_test_data): New variable.
36407 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36408 * sysdeps/i386/fpu/libm-test-ulps: Update.
36409
36410 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36411
36412 * math/libm-test.inc (fma_test): Use max_value instead of local
36413 variable fltmax.
36414 (nextafter_test): Likewise.
36415
36416 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36417 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36418 (acos_downward_test_data): New variable.
36419 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36420 (acos_upward_test_data): New variable.
36421 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36422 (acosh_test_data): New variable.
36423 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36424 (asin_test_data): New variable.
36425 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36426 (asin_tonearest_test_data): New variable.
36427 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36428 (asin_towardzero_test_data): New variable.
36429 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36430 (asin_downward_test_data): New variable.
36431 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36432 (asin_upward_test_data): New variable.
36433 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36434 (asinh_test_data): New variable.
36435 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36436 (atan_test_data): New variable.
36437 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36438 (atanh_test_data): New variable.
36439 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36440 (cbrt_test_data): New variable.
36441 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36442 (ceil_test_data): New variable.
36443 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36444 (cos_test_data): New variable.
36445 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36446 (cos_tonearest_test_data): New variable.
36447 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36448 (cos_towardzero_test_data): New variable.
36449 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36450 (cos_downward_test_data): New variable.
36451 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36452 (cos_upward_test_data): New variable.
36453 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36454 (cosh_test_data): New variable.
36455 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36456 (cosh_tonearest_test_data): New variable.
36457 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36458 (cosh_towardzero_test_data): New variable.
36459 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36460 (cosh_downward_test_data): New variable.
36461 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36462 (cosh_upward_test_data): New variable.
36463 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36464 (erf_test_data): New variable.
36465 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36466 (erfc_test_data): New variable.
36467 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36468 (exp_test_data): New variable.
36469 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36470 (exp_tonearest_test_data): New variable.
36471 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36472 (exp_towardzero_test_data): New variable.
36473 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36474 (exp_downward_test_data): New variable.
36475 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36476 (exp_upward_test_data): New variable.
36477 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36478 (exp10_test_data): New variable.
36479 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36480 (exp2_test_data): New variable.
36481 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36482 (expm1_test_data): New variable.
36483 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36484 (fabs_test_data): New variable.
36485 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36486 (floor_test_data): New variable.
36487 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36488 (j0_test_data): New variable.
36489 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36490 (j1_test_data): New variable.
36491 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36492 (log_test_data): New variable.
36493 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36494 (log10_test_data): New variable.
36495 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36496 (log1p_test_data): New variable.
36497 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36498 (log2_test_data): New variable.
36499 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36500 (logb_test_data): New variable.
36501 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36502 (logb_downward_test_data): New variable.
36503 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36504 (nearbyint_test_data): New variable.
36505 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36506 (rint_test_data): New variable.
36507 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36508 (rint_tonearest_test_data): New variable.
36509 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36510 (rint_towardzero_test_data): New variable.
36511 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36512 (rint_downward_test_data): New variable.
36513 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36514 (rint_upward_test_data): New variable.
36515 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36516 (round_test_data): New variable.
36517 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36518 (sin_test_data): New variable.
36519 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36520 (sin_tonearest_test_data): New variable.
36521 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36522 (sin_towardzero_test_data): New variable.
36523 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36524 (sin_downward_test_data): New variable.
36525 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36526 (sin_upward_test_data): New variable.
36527 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36528 (sinh_test_data): New variable.
36529 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36530 (sinh_tonearest_test_data): New variable.
36531 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36532 (sinh_towardzero_test_data): New variable.
36533 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36534 (sinh_downward_test_data): New variable.
36535 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36536 (sinh_upward_test_data): New variable.
36537 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36538 (sqrt_test_data): New variable.
36539 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36540 (tan_test_data): New variable.
36541 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36542 (tan_tonearest_test_data): New variable.
36543 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36544 (tan_towardzero_test_data): New variable.
36545 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36546 (tan_downward_test_data): New variable.
36547 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36548 (tan_upward_test_data): New variable.
36549 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36550 (tanh_test_data): New variable.
36551 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36552 (tgamma_test_data): New variable.
36553 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36554 (trunc_test_data): New variable.
36555 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36556 (y0_test_data): New variable.
36557 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36558 (y1_test_data): New variable.
36559 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36560 (significand_test_data): New variable.
36561 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36562
36563 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36564
36565 [BZ #12387]
36566 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36567
36568 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36569
36570 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36571
36572 2013-05-10 Andreas Jaeger <aj@suse.de>
36573
36574 [BZ #15448]
36575 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36576 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36577
36578 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36579
36580 * math/gen-libm-test.pl (adjust_arg): New function.
36581 (special_functions): Handle generating output in both functions
36582 and arrays.
36583 (parse_args): Likewise.
36584 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36585 $in_func argument to parse_args.
36586 * math/libm-test.inc (struct test_f_f_data): New type.
36587 (IF_ROUND_INIT_): New macro.
36588 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36589 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36590 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36591 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36592 (ROUND_RESTORE_): Likewise.
36593 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36594 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36595 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36596 (ROUND_RESTORE_FE_UPWARD): Likewise.
36597 (RUN_TEST_LOOP_f_f): New macro.
36598 (acos_test_data): New variable.
36599 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36600 (acos_tonearest_test_data): New variable.
36601 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36602
36603 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36604
36605 * benchtests/bench-skeleton.c (startup): Fix coding style.
36606
36607 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36608
36609 [BZ #6809]
36610 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36611 negative infinity argument.
36612 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36613 negative infinity argument.
36614 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36615 negative infinity argument.
36616 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36617 domain errors.
36618
36619 2013-05-10 Florian Weimer <fweimer@redhat.com>
36620
36621 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36622 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36623 * iconv/iconv_prog.c (main): Likewise.
36624 * locale/programs/charmap-dir.c (charmap_readdir)
36625 (fopen_uncompressed): Likewise.
36626 * locale/programs/locfile.c (siblings_uncached)
36627 (write_locale_data): Use lstat64 instead of lstat.
36628 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36629 stat.
36630
36631 2013-05-10 Andreas Jaeger <aj@suse.de>
36632
36633 [BZ #15395]
36634 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36635 localization.
36636 Include <locale.h>.
36637
36638 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36639
36640 * elf/dl-close.c (_dl_close_worker): Add comments.
36641
36642 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36643
36644 [BZ #15359]
36645 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36646 high part of pi/2.
36647 (__ieee754_rem_pio2l): Update comments.
36648
36649 [BZ #15429]
36650 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36651 high part of pi/2.
36652 (__ieee754_rem_pio2l): Update comments.
36653
36654 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36655 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36656
36657 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36658 M_PI_4l.
36659
36660 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36661 (M_PI_34_LOG10El): Likewise.
36662 (M_PI2_LOG10El): Likewise.
36663 (M_PI4_LOG10El): Likewise.
36664 (M_PI_LOG10El): Likewise.
36665
36666 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36667
36668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36669
36670 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36671
36672 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36673 (MINUS_ZERO_INIT): Likewise.
36674 (PLUS_INFTY_INIT): Likewise.
36675 (MINUS_INFTY_INIT): Likewise.
36676 (QNAN_VALUE_INIT): Likewise.
36677 (MAX_VALUE_INIT): Likewise.
36678 (MIN_VALUE_INIT): Likewise.
36679 (MIN_SUBNORM_VALUE_INIT): Likewise.
36680 (plus_zero): Initialize with PLUS_ZERO_INIT.
36681 (minus_zero): Initialize with MINUS_ZERO_INIT.
36682 (plus_infty): Initialize with PLUS_INFTY_INIT.
36683 (minus_infty): Initialize with MINUS_INFTY_INIT.
36684 (qnan_value): Initialize with QNAN_VALUE_INIT.
36685 (max_value): Initialize with MAX_VALUE_INIT.
36686 (min_value): Initialize with MIN_VALUE_INIT.
36687 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36688
36689 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36690 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36691 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36692 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36693
36694 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36695 (RUN_TEST_2_f): Likewise.
36696 (RUN_TEST_ff_f): Likewise.
36697 (RUN_TEST_fi_f): Likewise.
36698 (RUN_TEST_fl_f): Likewise.
36699 (RUN_TEST_fff_f): Likewise.
36700 (RUN_TEST_c_f): Likewise.
36701 (RUN_TEST_f_f1): Likewise.
36702 (RUN_TEST_fF_f1): Likewise.
36703 (RUN_TEST_fI_f1): Likewise.
36704 (RUN_TEST_ffI_f1): Likewise.
36705 (RUN_TEST_c_c): Likewise.
36706 (RUN_TEST_cc_c): Likewise.
36707 (RUN_TEST_f_i): Likewise.
36708 (RUN_TEST_f_i_tg): Likewise.
36709 (RUN_TEST_ff_i_tg): Likewise.
36710 (RUN_TEST_f_b): Likewise.
36711 (RUN_TEST_f_b_tg): Likewise.
36712 (RUN_TEST_f_l): Likewise.
36713 (RUN_TEST_f_L): Likewise.
36714 (RUN_TEST_sincos): Likewise.
36715 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36716 whether to show exceptions. Do not include ");\n" in return
36717 value.
36718 (special_functions): Output call to RUN_TEST_sincos instead of
36719 check_float calls. Update calls to new_test.
36720 (parse_args): Output call to single RUN_TEST_* macro instead of
36721 check_* calls and other assignments. Update calls to new_test.
36722
36723 [BZ #2546]
36724 [BZ #2560]
36725 [BZ #5159]
36726 [BZ #15426]
36727 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36728 input to result for tgamma overflow.
36729 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36730 (gamma_coeff): New variable.
36731 (NCOEFF): New macro.
36732 (gamma_positive): New function.
36733 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36734 underflow here. Use gamma_positive instead of exp (lgamma) for
36735 other arguments.
36736 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36737 (gamma_coeff): New variable.
36738 (NCOEFF): New macro.
36739 (gammaf_positive): New function.
36740 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36741 underflow here. Use gamma_positive instead of exp (lgamma) for
36742 other arguments.
36743 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36744 (gamma_coeff): New variable.
36745 (NCOEFF): New macro.
36746 (gammal_positive): New function.
36747 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36748 underflow here. Use gamma_positive instead of exp (lgamma) for
36749 other arguments.
36750 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36751 (gamma_coeff): New variable.
36752 (NCOEFF): New macro.
36753 (gammal_positive): New function.
36754 (__ieee754_gammal_r): Handle positive infinity, overflow and
36755 underflow here. Handle NaN the same as positive infinity. Remove
36756 check x < 0xffffffff for negative integers. Use gamma_positive
36757 instead of exp (lgamma) for other arguments.
36758 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36759 (gamma_coeff): New variable.
36760 (NCOEFF): New macro.
36761 (gammal_positive): New function.
36762 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36763 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36764 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36766 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36767 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36768 * sysdeps/generic/math_private.h (__gamma_productf): New
36769 prototype.
36770 (__gamma_product): Likewise.
36771 (__gamma_productl): Likewise.
36772 * math/Makefile (libm-calls): Add gamma_product.
36773 * math/libm-test.inc (tgamma_test): Add more tests.
36774 * sysdeps/i386/fpu/libm-test-ulps: Update.
36775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36776
36777 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36778
36779 * benchtests/bench-skeleton.c (main): Preheat CPU.
36780
36781 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36782
36783 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36784
36785 2013-05-07 Roland McGrath <roland@hack.frob.com>
36786
36787 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36788 and _dl_skip_args_internal.
36789
36790 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36791
36792 * manual/message.texi (Message Translation): Talk about users.
36793 Message to key mapping impacts design.
36794
36795 2013-05-06 Roland McGrath <roland@hack.frob.com>
36796
36797 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36798
36799 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36800
36801 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36802 * sysdeps/wordsize-64/glob64.c: ... here.
36803
36804 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36805 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36806 New macros.
36807
36808 * debug/getlogin_r_chk.c: Moved to ...
36809 * login/getlogin_r_chk.c: ... here.
36810 * debug/Makefile (routines): Move getlogin_r_chk to ...
36811 * login/Makefile (routines): ... here.
36812 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36813 * login/Versions (libc: GLIBC_2.4): ... here.
36814
36815 * io/poll.c (__poll): Renamed from poll.
36816 Add libc_hidden_def.
36817 (poll): Define as weak alias.
36818
36819 * debug/ptsname_r_chk.c: Moved to ...
36820 * login/ptsname_r_chk.c: ... here.
36821 * debug/Makefile (routines): Move ptsname_r_chk to ...
36822 * login/Makefile (routines): ... here.
36823 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36824 * login/Versions (libc: GLIBC_2.4): ... here.
36825
36826 * posix/getlogin.c: Moved to ...
36827 * login/getlogin.c: ... here.
36828 * posix/getlogin_r.c: Moved to ...
36829 * login/getlogin_r.c: ... here.
36830 * posix/getlogin_r.c: Moved to ...
36831 * login/getlogin_r.c: ... here.
36832 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36833 * login/Makefile (routines): ... here.
36834 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36835 * login/Versions (libc: GLIBC_2.0): ... here.
36836
36837 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36838 (setrlimit): Define as weak alias.
36839
36840 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36841 Call __ names for open, ftruncate, and close.
36842 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36843 (truncate): Define as weak alias.
36844
36845 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36846
36847 * math/gen-libm-test.pl (parse_args): Initialize x before each
36848 test of frexp, modf and remquo.
36849
36850 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36851 test signgam value.
36852
36853 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36854
36855 [BZ #15418]
36856 [BZ #15419]
36857 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36858 internal tests.
36859 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36860
36861 2013-05-06 Roland McGrath <roland@hack.frob.com>
36862
36863 * elf/dl-writev.h: New file.
36864 * elf/dl-misc.c: Include it.
36865 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36866 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36867
36868 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36869
36870 * math/libm-test.inc (noXFails): Remove variable.
36871 (noXPasses): Likewise.
36872 (BUILD_COMPLEX_INT): Remove macro.
36873 (print_screen): Remove xfail argument.
36874 (print_screen_max_error): Likewise.
36875 (update_stats): Likewise.
36876 (print_max_error): Likewise. Update calls to other affected
36877 functions.
36878 (print_complex_max_error): Likewise.
36879 (test_single_exception): Update calls to print_screen.
36880 (test_single_errno): Likewise.
36881 (check_float_internal): Remove xfail argument. Update calls to
36882 other affected functions.
36883 (check_float): Likewise.
36884 (check_complex): Likewise.
36885 (check_int): Likewise.
36886 (check_long): Likewise.
36887 (check_bool): Likewise.
36888 (check_longlong): Likewise.
36889 (main): Don't print noXFails and noXPasses.
36890 * math/gen-libm-test.pl (top level): Don't mention expected
36891 failure handling in comment.
36892 (new_test): Don't handle expected failures.
36893 (parse_args): Don't mention expected failure handling in comment.
36894 (generate_testfile): Don't handle expected failures.
36895 (parse_ulps): Likewise.
36896 (print_ulps_file): Likewise.
36897 (get_failure): Remove function.
36898 (output_test): Don't handle expected failures.
36899 * make/README.libm-test: Don't mention expected failure handling.
36900
36901 * math/libm-test.inc (plus_zero): Make const. Add initializer.
36902 (minus_zero): Likewise.
36903 (plus_infty): Likewise.
36904 (minus_infty): Likewise.
36905 (qnan_value): Likewise.
36906 (max_value): Likewise.
36907 (min_value): Likewise.
36908 (min_subnorm_value): Likewise.
36909 (initialize): Do not initialize those variables dynamically.
36910
36911 2013-05-03 Roland McGrath <roland@hack.frob.com>
36912
36913 * io/open.c (__open_2): Moved to ...
36914 * io/open_2.c: ... this new file.
36915 * io/open64.c (__open64_2): Moved to ...
36916 * io/open64_2.c: ... this new file.
36917 * io/openat.c (__openat_2): Moved to ...
36918 * io/openat_2.c: ... this new file.
36919 * io/openat64.c (__openat64_2): Moved to ...
36920 * io/openat64_2.c: ... this new file.
36921 * io/Makefile (routines): Add them.
36922 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36923 * sysdeps/unix/sysv/linux/open_2.c: File removed.
36924 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36925 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36926 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36927 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36928 (__openat64): Add hidden_ver.
36929 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36930 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36931
36932 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36933 Separately conditionalize setting of GLRO(dl_sysinfo) so
36934 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36935 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36936
36937 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36938
36939 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36940 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36941 definition.
36942 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36943 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36944 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36945 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36946 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36947
36948 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36949
36950 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36951 test signgam value.
36952
36953 * math/libm-test.inc (hypot_test): Do not use
36954 IGNORE_ZERO_INF_SIGN.
36955
36956 2013-05-03 Andreas Jaeger <aj@suse.de>
36957
36958 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36959 Linux 3.9.
36960 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36961 (PF_MAX): Adjust for VSOCK change.
36962
36963 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36964
36965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36966
36967 2013-05-02 Carlos O'Donell <carlos@redhat.com>
36968
36969 [BZ #15264]
36970 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36971 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36972 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36973
36974 2013-05-02 David S. Miller <davem@davemloft.net>
36975
36976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36977
36978 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
36979
36980 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36981
36982 2013-05-01 Roland McGrath <roland@hack.frob.com>
36983
36984 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36985
36986 2013-05-01 Richard Smith <richard@metafoo.co.uk>
36987
36988 [BZ #14952]
36989 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36990 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36991 Use __attribute__ ((__gnu_inline__)).
36992 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36993 Don't use __attribute__ ((__gnu_inline__)).
36994
36995 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36996
36997 [BZ #15423]
36998 * math/s_catan.c (__catan): Handle small real or imaginary part of
36999 input specially to avoid spurious underflow.
37000 * math/s_catanf.c (__catanf): Likewise.
37001 * math/s_catanh.c (__catanh): Likewise.
37002 * math/s_catanhf.c (__catanhf): Likewise.
37003 * math/s_catanhl.c (__catanhl): Likewise.
37004 * math/s_catanl.c (__catanl): Likewise.
37005 * math/libm-test.inc (catan_test): Add more tests.
37006 (catanh_test): Likewise.
37007 * sysdeps/i386/fpu/libm-test-ulps: Update.
37008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37009
37010 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37011
37012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37013
37014 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37015
37016 [BZ #15416]
37017 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37018 accurately for denominator in atan2.
37019 * math/s_catanf.c (__catanf): Likewise.
37020 * math/s_catanh.c (__catanh): Likewise.
37021 * math/s_catanhf.c (__catanhf): Likewise.
37022 * math/s_catanhl.c (__catanhl): Likewise.
37023 * math/s_catanl.c (__catanl): Likewise.
37024 * math/libm-test.inc (catan_test): Add more tests.
37025 (catanh_test): Likewise.
37026 * sysdeps/i386/fpu/libm-test-ulps: Update.
37027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37028
37029 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37030
37031 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37032
37033 * benchtests/Makefile (bench): Remove slow benchmarks.
37034 * benchtests/atan-inputs: Add slow benchmark inputs.
37035 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37036 (BENCH_FUNC): Accept variant offset.
37037 (VARIANT): Define.
37038 * benchtests/bench-skeleton.c (main): Run benchmark for each
37039 variant.
37040 * benchtests/cos-inputs: Add slow benchmark inputs.
37041 * benchtests/exp-inputs: Likewise.
37042 * benchtests/pow-inputs: Likewise.
37043 * benchtests/sin-inputs: Likewise.
37044 * benchtests/slowatan-inputs: Remove.
37045 * benchtests/slowatan.c: Remove.
37046 * benchtests/slowcos-inputs: Remove.
37047 * benchtests/slowcos.c: Remove.
37048 * benchtests/slowexp-inputs: Remove.
37049 * benchtests/slowexp.c: Remove.
37050 * benchtests/slowpow-inputs: Remove.
37051 * benchtests/slowpow.c: Remove.
37052 * benchtests/slowsin-inputs: Remove.
37053 * benchtests/slowsin.c: Remove.
37054 * benchtests/slowtan-inputs: Remove.
37055 * benchtests/slowtan.c: Remove.
37056 * benchtests/tan-inputs: Add slow benchmark inputs.
37057 * scripts/bench.pl: Parse comments and directives.
37058
37059 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37060 in CPPFLAGS.
37061 ($(objpfx)bench-%.c): Remove *-ITER.
37062 * benchtests/bench-modf.c: Remove definition of ITER.
37063 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37064 (main): Loop for DURATION seconds instead of fixed number of
37065 iterations.
37066 * scripts/bench.pl: Don't expect iterations in parameters.
37067
37068 2013-04-29 Roland McGrath <roland@hack.frob.com>
37069
37070 * io/fchdir.c (__fchdir): Renamed from fchdir.
37071 (fchdir): Define as weak alias.
37072
37073 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37074
37075 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37076 (ERRNO_EDOM): Likewise.
37077 (ERRNO_ERANGE): Likewise.
37078 (noErrnoTests): New variable.
37079 (init_max_error): Set errno to 0.
37080 (test_single_errno): New function.
37081 (test_errno): Likewise.
37082 (check_float_internal): Call test_errno. Set errno to 0.
37083 (check_complex): Refer to errno tests in comment.
37084 (check_int): Call test_errno. Set errno to 0.
37085 (check_long): Likewise.
37086 (check_bool): Likewise.
37087 (check_longlong): Likewise.
37088 (cos_test): Use ERRNO_* flags for errno tests instead of
37089 check_int.
37090 (expm1_test): Likewise.
37091 (fmod_test): Likewise.
37092 (ilogb_test): Likewise.
37093 (lgamma_test): Likewise.
37094 (pow_test): Likewise.
37095 (remainder_test): Likewise.
37096 (sin_test): Likewise.
37097 (tan_test): Likewise.
37098 (yn_test): Likewise.
37099 (initialize): Set errno to 0.
37100 (main): Print number of errno tests.
37101 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37102
37103 2013-04-29 Andreas Jaeger <aj@suse.de>
37104
37105 [BZ #15084]
37106 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37107 and RES_USEVC.
37108
37109 [BZ #15085]
37110 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37111 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37112 unimplemented.
37113
37114 [BZ #15380]
37115 * stdlib/random.c (__initstate): Return NULL if
37116 __initstate fails.
37117
37118 [BZ #15086]
37119 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37120 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37121 RES_SNGLKUPREOP.
37122
37123 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37124
37125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37126
37127 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37128
37129 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37130 of individual tests.
37131 (casin_test): Likewise.
37132 (casinh_test): Likewise.
37133
37134 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37135
37136 [BZ #15409]
37137 * math/s_catan.c (__catan): Handle arguments with large real or
37138 imaginary part separately without squaring.
37139 * math/s_catanf.c (__catanf): Likewise.
37140 * math/s_catanh.c (__catanh): Likewise.
37141 * math/s_catanhf.c (__catanhf): Likewise.
37142 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37143 and redefine.
37144 (__catanhl): Handle arguments with large real or imaginary part
37145 separately without squaring.
37146 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37147 and redefine.
37148 (__catanl): Handle arguments with large real or imaginary part
37149 separately without squaring.
37150 * math/libm-test.inc (catan_test): Add more tests.
37151 (catanh_test): Likewise.
37152 * sysdeps/i386/fpu/libm-test-ulps: Update.
37153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37154
37155 2013-04-27 Andreas Jaeger <aj@suse.de>
37156
37157 [BZ #15007]
37158 * stdlib/stdlib.h: Update guards for qecvt.
37159 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37160 <stdlib.h>.
37161
37162 2013-04-27 Allan McRae <allan@archlinux.org>
37163
37164 * sysdeps/i386/fpu/libm-test-ulps: Update.
37165
37166 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37167
37168 [BZ #15406]
37169 * math/s_catan.c: Include <float.h>.
37170 (__catan): Ensure underflow exception occurs for underflowed
37171 result.
37172 * math/s_catanf.c: Include <float.h>.
37173 (__catanf): Ensure underflow exception occurs for underflowed
37174 result.
37175 * math/s_catanh.c: Include <float.h>.
37176 (__catanh): Ensure underflow exception occurs for underflowed
37177 result.
37178 * math/s_catanhf.c: Include <float.h>.
37179 (__catanhf): Ensure underflow exception occurs for underflowed
37180 result.
37181 * math/s_catanhl.c: Include <float.h>.
37182 (__catanhl): Ensure underflow exception occurs for underflowed
37183 result.
37184 * math/s_catanl.c: Include <float.h>.
37185 (__catanl): Ensure underflow exception occurs for underflowed
37186 result.
37187 * math/libm-test.inc (catan_test): Add more tests.
37188 (catanh_test): Likewise.
37189
37190 [BZ #15405]
37191 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37192 underflowed result.
37193 * math/s_ccoshf.c (__ccoshf): Likewise.
37194 * math/s_ccoshl.c (__ccoshl): Likewise.
37195 * math/s_csin.c (__csin): Likewise.
37196 * math/s_csinf.c (__csinf): Likewise.
37197 * math/s_csinh.c (__csinh): Likewise.
37198 * math/s_csinhf.c (__csinhf): Likewise.
37199 * math/s_csinhl.c (__csinhl): Likewise.
37200 * math/s_csinl.c (__csinl): Likewise.
37201 * math/libm-test.inc (ccos_test): Add more tests.
37202 (ccosh_test): Likewise.
37203 (csin_test): Likewise.
37204 (csinh_test): Likewise.
37205
37206 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37207
37208 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37209 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37210 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37211 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37212 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37213 powerpc/power5+/fpu folders.
37214 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37215
37216
37217 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37218
37219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37220
37221 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37222
37223 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37224 additions to variable.
37225 [$(config-machine) = x86_64] (modules-names): Likewise.
37226 ($(objpfx)tst-audit3): Remove dependency.
37227 ($(objpfx)tst-audit3.out): Likewise.
37228 ($(objpfx)tst-audit4): Likewise.
37229 ($(objpfx)tst-audit4.out): Likewise.
37230 ($(objpfx)tst-audit5): Likewise.
37231 ($(objpfx)tst-audit5.out): Likewise.
37232 ($(objpfx)tst-audit6): Likewise.
37233 ($(objpfx)tst-audit6.out): Likewise.
37234 ($(objpfx)tst-audit7): Likewise.
37235 ($(objpfx)tst-audit7.out): Likewise.
37236 (tst-audit3-ENV): Remove variable.
37237 (tst-audit4-ENV): Likewise.
37238 (tst-audit5-ENV): Likewise.
37239 (tst-audit6-ENV): Likewise.
37240 (tst-audit7-ENV): Likewise.
37241 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37242 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37243 addition to variable.
37244 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37245 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37246 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37247 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37248 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37249 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37250 tst-audit3, tst-audit4 and tst-audit5.
37251 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37252 tst-audit6 and tst-audit7.
37253 [$(subdir) = elf] (modules-names): Add audit modules for those
37254 tests.
37255 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37256 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37257 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37258 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37259 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37260 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37261 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37262 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37263 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37264 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37265 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37266 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37267 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37268 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37269 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37270 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37271 Likewise.
37272 [$(subdir) = elf && $(config-cflags-avx) = yes]
37273 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37274 [$(subdir) = elf && $(config-cflags-avx) = yes]
37275 (CFLAGS-tst-auditmod4a.c): Likewise.
37276 [$(subdir) = elf && $(config-cflags-avx) = yes]
37277 (CFLAGS-tst-auditmod4b.c): Likewise.
37278 [$(subdir) = elf && $(config-cflags-avx) = yes]
37279 (CFLAGS-tst-auditmod6b.c): Likewise.
37280 [$(subdir) = elf && $(config-cflags-avx) = yes]
37281 (CFLAGS-tst-auditmod6c.c): Likewise.
37282 [$(subdir) = elf && $(config-cflags-avx) = yes]
37283 (CFLAGS-tst-auditmod7b.c): Likewise.
37284 * elf/tst-audit3.c: Move to ...
37285 * sysdeps/x86_64/tst-audit3.c: ... here.
37286 * elf/tst-audit4.c: Move to ...
37287 * sysdeps/x86_64/tst-audit4.c: ... here.
37288 * elf/tst-audit5.c: Move to ...
37289 * sysdeps/x86_64/tst-audit5.c: ... here.
37290 * elf/tst-audit6.c: Move to ...
37291 * sysdeps/x86_64/tst-audit6.c: ... here.
37292 * elf/tst-audit7.c: Move to ...
37293 * sysdeps/x86_64/tst-audit7.c: ... here.
37294 * elf/tst-auditmod3a.c: Move to ...
37295 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37296 * elf/tst-auditmod3b.c: Move to ...
37297 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37298 * elf/tst-auditmod4a.c: Move to ...
37299 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37300 * elf/tst-auditmod4b.c: Move to ...
37301 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37302 * elf/tst-auditmod5a.c: Move to ...
37303 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37304 * elf/tst-auditmod5b.c: Move to ...
37305 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37306 * elf/tst-auditmod6a.c: Move to ...
37307 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37308 * elf/tst-auditmod6b.c: Move to ...
37309 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37310 * elf/tst-auditmod6c.c: Move to ...
37311 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37312 * elf/tst-auditmod7a.c: Move to ...
37313 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37314 * elf/tst-auditmod7b.c: Move to ...
37315 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37316
37317 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37318
37319 [BZ #15366]
37320 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37321 define unconditionally.
37322 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37323 define unconditionally.
37324 (INT8_C, INT16_C, etc.): Likewise.
37325
37326 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37327
37328 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37329 __ehdr_start with hidden visibility.
37330
37331 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37332
37333 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37334
37335 * math/libm-test.inc (cos_test): Use accurate hex constants.
37336 (sincost_test): Likewise.
37337
37338 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37339
37340 * math/libm-test.inc (catan_test): Add more tests.
37341 (catanh_test): Likewise.
37342
37343 * math/s_catanf.c (__catanf): Use suffixed floating-point
37344 constants.
37345 * math/s_catanhf.c (__catanhf): Likewise.
37346 * math/s_catanhl.c (__catanhl): Likewise.
37347 * math/s_catanl.c (__catanl): Likewise.
37348
37349 [BZ #15394]
37350 * math/s_catan.c (__catan): Calculate imaginary part of result
37351 with log1p not log unless computing log of number close to 0.
37352 * math/s_catanf.c (__catanf): Likewise.
37353 * math/s_catanl.c (__catanl): Likewise.
37354 * math/s_catanh.c (__catanh): Calculate real part of result with
37355 log1p not log unless computing log of number close to 0.
37356 * math/s_catanhf.c (__catanhf): Likewise.
37357 * math/s_catanhl.c (__catanhl): Likewise.
37358 * math/libm-test.inc (catan_test): Add more tests.
37359 (catanh_test): Likewise.
37360 * sysdeps/i386/fpu/libm-test-ulps: Update.
37361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37362
37363 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37364
37365 * benchtests/Makefile: Mention files in which fast and slow
37366 paths of math functions are implemented.
37367
37368 2013-04-23 Roland McGrath <roland@hack.frob.com>
37369
37370 * sysdeps/posix/timespec_get.c: New file.
37371
37372 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37373
37374 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37375 POWER.
37376 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37377 for POWER.
37378 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37379 powerpc/power5/fpu folders.
37380 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37381 * benchtests/Makefile: Add modf testcase.
37382 * benchtests/bench-modf.c: New file: Benchmark test for mo
37383
37384 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37385
37386 [BZ #14888]
37387 * time/Makefile (tests): Add tst-strptime-whitespace.
37388 * time/strptime_l.c (get_number): Use ISSPACE.
37389 (__strptime_internal): Likewise.
37390 * time/tst-strptime-whitespace.c: New test case.
37391
37392 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37393
37394 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37395 member.
37396 (_nss_files_init): Set it here.
37397
37398 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37399
37400 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37401 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37402 unsigned.
37403
37404 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37405
37406 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37407
37408 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37409
37410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37411 size just once.
37412
37413 2013-04-21 David S. Miller <davem@davemloft.net>
37414
37415 * po/ru.po: Update Russion translation from translation project.
37416
37417 2013-04-17 Adam Conrad <adconrad@0c3.net>
37418
37419 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37420 and setfsgid.
37421
37422 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37423
37424 * configure.in: Remove i386 configure warning. Remove i386 case.
37425 * configure: Regenerate.
37426 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37427 Add example to error message.
37428 * sysdeps/i386/configure: Regenerate.
37429
37430 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37431
37432 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37433 slowtan.
37434 * benchtests/cos-inputs: New file.
37435 * benchtests/slowcos-inputs: New file.
37436 * benchtests/slowcos.c: New file.
37437 * benchtests/slowtan-inputs: New file.
37438 * benchtests/slowtan.c: New file.
37439 * benchtests/tan-inputs: New file.
37440
37441 2013-04-16 Roland McGrath <roland@hack.frob.com>
37442
37443 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37444 considered kosher.
37445
37446 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37447
37448 * benchtests/Makefile: Include cppflags-iterator.mk to add
37449 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37450
37451 * Makefile.in (bench-clean): New target.
37452 * benchtests/Makefile (bench-clean): Likewise.
37453
37454 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37455
37456 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37457
37458 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37459
37460 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37461
37462 2013-04-15 Andreas Schwab <schwab@suse.de>
37463
37464 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37466 * nscd/pwdcache.c (cache_addpw): Likewise.
37467 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37468 more than recsize.
37469
37470 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37471
37472 * benchtests/Makefile (bench): Write all output to
37473 bench-out.tmp together.
37474
37475 2013-04-15 Andreas Schwab <schwab@suse.de>
37476
37477 * nscd/nscd.c (main): Don't fork again after closing files.
37478
37479 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37480
37481 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37482
37483 * benchtests/Rules (bench-deps): Collect dependencies into a
37484 single variable. Add Makefile to dependencies.
37485 ($(objpfx)bench-%.c): Depend on bench-deps.
37486
37487 2013-04-12 Roland McGrath <roland@hack.frob.com>
37488 Xavier Roche <roche+kml2@exalead.com>
37489
37490 [BZ #15361]
37491 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37492 just that it's a file descriptor.
37493 * manual/llio.texi (Synchronizing AIO Operations): Update description
37494 for EBADF error from aio_fsync.
37495
37496 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37497
37498 * Rules (bench): Move target definition...
37499 * benchtests/Makefile: ... here.
37500
37501 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37502
37503 * math/libm-test.inc (cos_test): Fix PI/2 test.
37504 (sincos_test): Likewise.
37505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37506 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37507
37508 2013-04-11 Andreas Schwab <schwab@suse.de>
37509
37510 [BZ #13988]
37511 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37512 accept exponent character only when digits were seen.
37513 * stdio-common/Makefile (tests): Add bug26.
37514 * stdio-common/bug26.c: New file.
37515
37516 [BZ #14293]
37517 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37518 non-freeable.
37519
37520 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37521
37522 * Makeconfig (rtld-prefix): Define built linker prefix.
37523 * Rules (run-bench): Use it.
37524 * math/Makefile (run-regen-ulps): Likewise.
37525
37526 * Rules (bench): Remove eval.
37527
37528 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37529 Roland McGrath <roland@hack.frob.com>
37530 Ondrej Bilka <neleai@seznam.cz>
37531
37532 [BZ #15346]
37533 * time/getdate.c: Include ctype.h and alloca.h.
37534 (__getdate_r): Trim leading and trailing spaces of input.
37535 * time/tst-getdate.c (tests): Add tests with leading and
37536 trailing spaces.
37537
37538 2013-04-08 Roland McGrath <roland@hack.frob.com>
37539
37540 [BZ #14280]
37541 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37542 when computing value.
37543
37544 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37545
37546 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37547 Use testrun.sh to run libm tests.
37548
37549 [BZ #15309]
37550 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37551
37552 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37553
37554 [BZ #15264]
37555 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37556
37557 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37558
37559 * Makefile.in (regen-ulps): New target.
37560 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37561 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37562 [ifneq (no,$(PERL)] (regen-ulps): New target.
37563 [ifeq (no,$(PERL)] (regen-ulps): New target.
37564 * math/libm-test.inc (ulps_file_name): Define.
37565 (output_dir): New variable.
37566 (options): Add "output-dir" option.
37567 (parse_opt): Handle 'o' case.
37568 (main): If output_dir is non-NULL use it as a prefix
37569 otherwise use "".
37570 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37571
37572 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37573
37574 [BZ #10060, #10062]
37575 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37576 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37577 fail configure if __sync_val_compare_and_swap is not inlined.
37578 * sysdeps/i386/configure: Regenerate.
37579 * configure.in: Build for i686 when configured for i386.
37580 * configure: Regenerate.
37581 * README: Remove i386 reference.
37582
37583 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37584
37585 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37586 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37587
37588 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37589
37590 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37591 (lmsnanval): New variables.
37592 (F): Add conversion tests.
37593 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37594 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37595
37596 * stdio-common/tstdiomisc.c (F): Properly collect individual
37597 tests' results.
37598
37599 [BZ #14686, #15336]
37600 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37601 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37602 Instead, use input NaN values or generate a qNaN by arithmetic
37603 operation. Also fix bugs to comply with the standard.
37604 * math/libm-test.inc (remainder_test): Add more tests.
37605
37606 [BZ #15335, #15342]
37607 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37609 input NaN values or generate a qNaN by arithmetic operation.
37610
37611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37612 unreachable code.
37613
37614 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37615 definitions.
37616
37617 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37618
37619 [BZ #14478]
37620 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37621 underflowed result.
37622 * math/s_cexpf.c (__cexpf): Likewise.
37623 * math/s_cexpl.c (__cexpl): Likewise.
37624 * math/libm-test.inc (cexp_test): Add more tests.
37625
37626 2013-04-03 Andreas Schwab <schwab@suse.de>
37627
37628 [BZ #15330]
37629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37630 order arrays from heap if bigger than alloca cutoff.
37631
37632 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37633
37634 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37635 (SNAN_TESTS_double): Refer to GCC PR56831.
37636 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37637 GCC PR56828.
37638
37639 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37640
37641 * Rules (bench): Move bench.out after the run is complete.
37642
37643 * Rules (bench): Echo currently running benchmark.
37644
37645 * benchtests/Makefile (bench): Add atan and slowatan.
37646 * benchtests/atan-inputs: New file.
37647 * benchtests/slowatan-inputs: New file.
37648 * benchtests/slowatan.c: New file.
37649
37650 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37652 its value.
37653
37654 [BZ #15305]
37655 * sysdeps/unix/sysv/linux/kernel-features.h
37656 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37657 __ASSUME_XFS_RESTRICTED_CHOWN.
37658 * sysdeps/unix/sysv/linux/pathconf.c
37659 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37660 Save and restore errno.
37661
37662 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37663
37664 [BZ #15327]
37665 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37666 arguments using __kernel_casinh.
37667 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37668 arguments using __kernel_casinhf.
37669 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37670 arguments using __kernel_casinhl.
37671 * math/libm-test.inc (cacosh_test): Add more tests.
37672 * sysdeps/i386/fpu/libm-test-ulps: Update.
37673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37674
37675 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37676
37677 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37678 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37679
37680 * bench/Makefile (bench): Add sin and slowsin.
37681 * benchtests/sin-inputs: New file.
37682 * benchtests/slowsin-inputs: New file.
37683 * benchtests/slowsin.c: New file.
37684
37685 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37686 (bench): Add slowexp and slowpow.
37687 (exp-ITER): Increase iterations.
37688 (pow-ITER): Likewise.
37689 * benchtests/exp-inputs: Change input.
37690 * benchtests/pow-inputs: Likewise.
37691 * benchtests/slowexp-inputs: New file.
37692 * benchtests/slowexp.c: New file.
37693 * benchtests/slowpow-inputs: New file.
37694 * benchtests/slowpow.c: New file.
37695
37696 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37697
37698 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37699 instructions.
37700 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37701 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37702 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37703 * benchtests/Makefile: Add rint benchtest.
37704 * benchtests/rint-inputs: Input for rint benchtest.
37705
37706 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37707
37708 * Versions.def (libm): Add GLIBC_2.18.
37709 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37710 hidden libm prototypes.
37711 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37712 * math/Makefile (libm-calls): Add s_issignaling.
37713 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37714 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37715 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37716 declaration.
37717 * math/math.h [__USE_GNU] (issignaling): New macro.
37718 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37719 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37721 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37724 * manual/arith.texi (issignaling): New section.
37725 * manual/libm-err-tab.pl (@all_functions): Update comment.
37726 * math/gen-libm-test.pl (parse_args): Apply special handling for
37727 issignaling.
37728 * math/libm-test.inc (print_float, issignaling_test): New
37729 functions.
37730 (check_float_internal): Add issignaling checks.
37731 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37732 default definition.
37733 * sysdeps/powerpc/math-tests.h: New file.
37734 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37735 tests.
37736 * math/test-snan.c (TEST_FUNC): Likewise.
37737
37738 2013-03-30 David S. Miller <davem@davemloft.net>
37739
37740 * po/de.po: Update from translation team.
37741
37742 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37743
37744 [BZ #10357]
37745 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37746 imaginary part less than 1.0 and real part less than 0.5
37747 specially.
37748 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37749 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37750 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37751 (cacos_test): Add more tests.
37752 (casin_test): Likewise.
37753 (casinh_test): Likewise.
37754 * sysdeps/i386/fpu/libm-test-ulps: Update.
37755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37756
37757 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37758
37759 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37760 ONE with its value.
37761
37762 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37763 (__pow_mp): Replace ONE and MONE with their values.
37764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37765 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37766 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37767 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37768 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37769 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37770
37771 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37772
37773 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37774 (__pow_mp): Replace ZERO and MZERO with their values.
37775 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37776 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37777 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37779 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37780 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37781 (__sqr): Likewise.
37782
37783 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37784
37785 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37786
37787 2013-03-28 Roland McGrath <roland@hack.frob.com>
37788
37789 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37790 Declare with __attribute__ ((weak)).
37791 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37792 Call __call_tls_dtors only if it's not NULL.
37793
37794 2013-03-28 Roland McGrath <roland@hack.frob.com>
37795
37796 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37797 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37798 magic __ehdr_start linker symbol if it's defined.
37799 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37800 them up here if it was already done.
37801
37802 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37803 (_dl_aux_init): Use const in cast when setting it.
37804 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37805 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37806 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37807
37808 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37809 Declare them here.
37810 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37811 * csu/libc-tls.c: Nor here.
37812 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37813
37814 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37815 (__libc_message): Never call vsyslog.
37816
37817 2013-03-28 Alan Modra <amodra@gmail.com>
37818
37819 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37820 Define as empty.
37821 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37822 Likewise.
37823
37824 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37825
37826 [BZ #15214]
37827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37828 underflow.
37829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37830
37831 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37832
37833 [BZ #15304]
37834 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37835 Don't add gid passed as argument.
37836
37837 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37838
37839 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37840
37841 [BZ #15307]
37842 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37843 imaginary part between 1.0 and 1.5 and real part less than 0.5
37844 specially.
37845 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37846 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37847 * math/libm-test.inc (cacos_test): Add more tests.
37848 (casin_test): Likewise.
37849 (casinh_test): Likewise.
37850 * sysdeps/i386/fpu/libm-test-ulps: Update.
37851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37852
37853 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37854
37855 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37856 constants.
37857 (norm): Likewise.
37858 (denorm): Likewise.
37859 (__dbl_mp): Likewise.
37860 (add_magnitudes): Likewise.
37861 (sub_magnitudes): Likewise.
37862 (__add): Likewise.
37863 (__sub): Likewise.
37864 (__mul): Likewise.
37865 (__sqr): Likewise.
37866 (__inv): Likewise.
37867 (__dvd): Likewise.
37868
37869 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37870 commented code.
37871 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37872 (__dubcos): Likewise.
37873 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37874 (__ieee754_acos): Likewise.
37875 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37877 (__exp1): Likewise.
37878 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37880 (log1): Likewise.
37881 (my_log2): Likewise.
37882 (checkint): Likewise.
37883 * sysdeps/ieee754/dbl-64/e_remainder.c
37884 (__ieee754_remainder): Likewise.
37885 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37887 (bsloww): Likewise.
37888 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37889
37890 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37891 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37892 MANTISSA_STORE_T to store computations on mantissa. Use
37893 macros for rounding and division.
37894 (denorm): Likewise.
37895 (__dbl_mp): Likewise.
37896 (add_magnitudes): Likewise.
37897 (sub_magnitudes): Likewise.
37898 (__mul): Likewise.
37899 (__sqr): Likewise.
37900 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37901 powers of two in terms of TWOPOW macro.
37902 (mp_no): Make type of mantissa as MANTISSA_T.
37903 [!RADIXI]: Define RADIXI.
37904 [!TWO52]: Define TWO52.
37905 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37906
37907 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37908
37909 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37910 llroundl symbol when building for PPC32.
37911
37912 2013-03-24 Mark H Weaver <mhw@netris.org>
37913
37914 * manual/arith.texi (Normalization Functions): Fix prototypes for
37915 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37916
37917 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37918
37919 [BZ #13889]
37920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37921 high value to check if expl overflow.
37922 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37923 to check for underflow and overflow.
37924 * math/libm-test.inc: Add exp test.
37925
37926 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
37927
37928 [BZ #11120]
37929 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37930 with NOT_IN_libc.
37931
37932 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37933
37934 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37935 symbol.
37936
37937 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37938
37939 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37940 wrap blocks consisting of several statements.
37941
37942 * sysdeps/generic/math-tests.h: New file.
37943 * sysdeps/i386/fpu/math-tests.h: Likewise.
37944 * math/test-snan.c: Include it.
37945 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37946
37947 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37948
37949 [BZ #15285]
37950 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37951 (__ieee754_j0l): Do not improve calculations using cos of twice
37952 input for inputs above LDBL_MAX / 2.0L.
37953 (__ieee754_y0l): Likewise.
37954 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37955 (__ieee754_j1l): Do not improve calculations using cos of twice
37956 input for inputs above LDBL_MAX / 2.0L.
37957 (__ieee754_y1l): Likewise.
37958 * math/libm-test.inc (j0_test): Add another test.
37959 (j1_test): Likewise.
37960 (y0_test): Likewise.
37961 (y1_test): Likewise.
37962 * sysdeps/i386/fpu/libm-test-ulps: Update.
37963
37964 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37965
37966 * Rules ($(objpfx)bench-%.c): Include code from a C source
37967 file.
37968
37969 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37970
37971 [BZ #15287]
37972 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37973 imaginary part 1.0 and real part less than 0.5 specially.
37974 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37975 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37976 * math/libm-test.inc (cacos_test): Add more tests.
37977 (casin_test): Likewise.
37978 (casinh_test): Likewise.
37979 * sysdeps/i386/fpu/libm-test-ulps: Update.
37980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37981
37982 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37983
37984 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37985 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37986
37987 2013-03-20 Joseph Myers <joseph@codesourcery.com>
37988
37989 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37990 * config.make.in (config-cflags-sse4): Remove variable.
37991 (config-cflags-avx): Likewise.
37992 (config-cflags-sse2avx): Likewise.
37993 (config-cflags-novzeroupper): Likewise.
37994 (config-asflags-i686): Likewise.
37995 (have-mfma4): Likewise.
37996 (have-as-vis3): Likewise.
37997 (MIG): Likewise.
37998 * configure.in (MIG): Do not AC_SUBST.
37999 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38000 (libc_cv_cc_sse4): Do not AC_SUBST.
38001 (libc_cv_cc_avx): Likewise.
38002 (libc_cv_cc_sse2avx): Likewise.
38003 (libc_cv_cc_novzeroupper): Likewise.
38004 (libc_cv_cc_fma4): Likewise.
38005 (libc_cv_as_i686): Likewise.
38006 (libc_cv_sparc_as_vis3): Likewise.
38007 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38008 LIBC_CONFIG_VAR.
38009 (config-asflags-i686): Likewise.
38010 (config-cflags-avx): Likewise.
38011 (config-cflags-sse2avx): Likewise.
38012 (have-mfma4): Likewise.
38013 (config-cflags-novzeroupper): Likewise.
38014 * sysdeps/mach/configure.in (MIG): Likewise.
38015 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38016 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38017 LIBC_CONFIG_VAR.
38018 (config-cflags-avx): Likewise.
38019 (config-cflags-sse2avx): Likewise.
38020 (have-mfma4): Likewise.
38021 (config-cflags-novzeroupper): Likewise.
38022 * configure: Regenerated.
38023 * sysdeps/i386/configure: Likewise.
38024 * sysdeps/mach/configure: Likewise.
38025 * sysdeps/sparc/configure: Likewise.
38026 * sysdeps/x86_64/configure: Likewise.
38027
38028 2013-03-20 Roland McGrath <roland@hack.frob.com>
38029
38030 [BZ #14812]
38031 * locale/programs/localedef.c (options): Put N_ translation marker
38032 on argument names, not just descriptions.
38033
38034 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38035
38036 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38037
38038 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38039
38040 [BZ #14176]
38041 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38042
38043 2013-03-19 Roland McGrath <roland@hack.frob.com>
38044
38045 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38046 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38047 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38048 [!BEFORE_ABORT] (before_abort): New function.
38049 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38050 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38051 (writev_for_fatal): New function.
38052 (WRITEV_FOR_FATAL): New macro; call that.
38053 (backtrace_and_maps): New function.
38054 (BEFORE_ABORT): New macro; call that.
38055 (struct str_list): Type removed.
38056 (__libc_message, __libc_fatal): Functions removed.
38057 Include <sysdeps/posix/libc_fatal.c> instead.
38058
38059 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38060
38061 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38062 constants.
38063 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38064 double constants.
38065
38066 2013-03-19 Andreas Schwab <schwab@suse.de>
38067
38068 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38069 * sysdeps/gnu/configure: Regenerate.
38070
38071 * configure.in: Substitute libc_cv_rtlddir.
38072 * configure: Regenerate.
38073 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38074 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38075 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38076 * elf/Makefile (install-others, CFLAGS-interp.c)
38077 (ldso_install, common-ldd-rewrite): Likewise.
38078 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38079 $(inst_slibdir)/$(rtld-installed-name).
38080 * scripts/rellns-sh: Add -p option.
38081 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38082 for source.
38083
38084 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38085
38086 * manual/nptl.texi: Renamed to ...
38087 * manual/threads.texi: ... this.
38088 * manual/Makefile (chapters): Update.
38089
38090 2013-03-18 Roland McGrath <roland@hack.frob.com>
38091
38092 [BZ #14812]
38093 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38094 on argument names, not just descriptions.
38095 * malloc/memusagestat.c (options): Likewise.
38096 * nss/getent.c (options): Likewise.
38097
38098 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38099
38100 [BZ #14812]
38101 * iconv/iconv_prog.c (options): Put N_ translation marker
38102 on argument names, not just descriptions.
38103 * iconv/iconvconfig.c (options): Likewise.
38104
38105 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38106
38107 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38108 implementation which is faster on all x86_64 architectures.
38109 Tested on AMD, Intel Nehalem, SNB, IVB.
38110 * sysdeps/x86_64/strnlen.S: Likewise.
38111
38112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38113 Remove all multiarch strlen and strnlen versions.
38114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38115 Remove strlen and strnlen related parts.
38116
38117 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38118 Inline strlen part.
38119 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38120
38121 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38122 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38123 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38124 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38125 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38126 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38127
38128 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38129
38130 * manual/memory.texi (Malloc Tunable Parameters):
38131 Sort parameters alphabetically. Add comments for missing entries.
38132
38133 2013-03-17 David S. Miller <davem@davemloft.net>
38134
38135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38136
38137 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38138
38139 [BZ #15283]
38140 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38141 for arguments at most half maximum finite value.
38142 * math/libm-test.inc (j0_test): Add more tests.
38143 (j1_test): Likewise.
38144 (y0_test): Likewise.
38145 (y1_test): Likewise.
38146 * sysdeps/i386/fpu/libm-test-ulps: Update.
38147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38148
38149 [BZ #14155]
38150 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38151 1 / x and functions P and Q for arguments above 0x1p256L.
38152 (__ieee754_y0l): Likewise.
38153 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38154 (__ieee754_y1l): Likewise.
38155 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38156 (j1_test): Likewise.
38157 (y0_test): Likewise.
38158 (y1_test): Likewise.
38159
38160 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38161
38162 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38163 variable.
38164
38165 2013-03-15 Roland McGrath <roland@hack.frob.com>
38166
38167 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38168 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38169 zero since it's initialized to EXEC_PAGESIZE.
38170
38171 * sysdeps/unix/sysv/linux/ldsodefs.h
38172 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38173 * sysdeps/generic/ldsodefs.h: ... here.
38174
38175 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38176
38177 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38178
38179 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38180 math/test-snan.c.
38181 * math/test-snan.c: Renamed from
38182 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38183 * math/Makefile (tests): Add test-snan.
38184 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38185 test-powerpc-snan.
38186
38187 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38188 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38189 functions.
38190 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38191 __builtin_nan family of functions.
38192 * math/libm-test.inc (initialize): Initialize qnan_value with
38193 __builtin_nan family of functions.
38194 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38195 Remove variables.
38196 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38197 Remove functions.
38198 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38199 storage class. Initialize qNaN_var and sNaN_var with
38200 __builtin_nan and __builtin_nans families of functions,
38201 respectively.
38202
38203 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38204 (sqrt_test): Remove duplicate test with qNaN input.
38205 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38206 (round_test, signbit_test, significand_test): Note missing +/-Inf
38207 as well as qNaN tests.
38208
38209 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38210 qNaN_var. Fix a few strings, too.
38211 * math/libm-test.inc (nan_value): Rename to qnan_value.
38212 * math/gen-libm-test.pl (%beautify): Adjust to that.
38213 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38214 * math/test-misc.c (main): Likewise.
38215 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38216 to __qnan_bytes, and __qnan_union, respectively.
38217 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38218 Likewise.
38219 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38220 and lqnanval, respectively.
38221 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38222 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38223 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38224 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38225
38226 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38227 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38228 doubles.
38229
38230 * math/test-misc.c (main): Fix copy'n'pastos.
38231 * misc/tst-efgcvt.c (special): Likewise.
38232
38233 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38234 Remove declarations.
38235
38236 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38237
38238 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38239 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38240 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38241 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38242
38243 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38244
38245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38246 macro to return vdso values correctly in IFUNC implementations.
38247 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38248 Optimization by using IFUNC.
38249
38250 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38251 Richard Henderson <rth@redhat.com>
38252 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38253
38254 * Makefile.in (bench): New target.
38255 * NEWS: Mention the benchmark framework.
38256 * Rules (bench): Likewise.
38257 (binaries-bench): Generate binaries for functions to
38258 benchmark.
38259 * benchtests/Makefile: New makefile for benchmark tests.
38260 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38261 programs.
38262 * benchtests/exp-inputs: New input file for EXP function.
38263 * benchtests/pow-inputs: New input file for POW function.
38264 * scripts/bench.pl: New script to generate source files for
38265 benchmark programs.
38266
38267 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38268
38269 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38270 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38271 computations on mantissa. Use macros for rounding and
38272 division.
38273 (denorm): Likewise.
38274 (__dbl_mp): Likewise.
38275 (add_magnitudes): Likewise.
38276 (sub_magnitudes): Likewise.
38277 (__mul): Likewise.
38278 (__sqr): Likewise.
38279 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38280 powers of two in terms of TWOPOW macro.
38281 (mp_no): Make type of mantissa as MANTISSA_T.
38282 [!RADIXI]: Define RADIXI.
38283 [!TWO52]: Define TWO52.
38284 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38285
38286 * manual/nptl.texi (cindex): Modify threads to pthreads.
38287
38288 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38289
38290 * sysdeps/x86_64/preconfigure: Regenerated.
38291
38292 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38293
38294 [BZ #14155]
38295 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38296 0x1p28 and above.
38297 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38298 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38299 0x1p28 and above.
38300 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38301 * math/libm-test.inc (j0_test): Do not allow one spurious
38302 underflow exception.
38303 (y1_test): Likewise.
38304
38305 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38306
38307 * manual/Makefile (chapters): Add nptl.
38308 * manual/debug.texi (Debugging Support): Add link to Threads
38309 chapter.
38310 * manual/nptl.texi: New file.
38311
38312 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38313
38314 2013-03-14 Petr Baudis <pasky@ucw.cz>
38315
38316 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38317 for non-NULL pointer before the memory validity test. Pointed
38318 out by Holger Brunck <holger.brunck@keymile.com>.
38319
38320 2013-03-13 Andreas Schwab <schwab@suse.de>
38321
38322 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38323 instead of .os.
38324
38325 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38326
38327 * timezone/zic.c: Update from tzcode 2013b.
38328
38329 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38330
38331 * manual/install.texi (Configuring and compiling):
38332 Mention i686 and i586.
38333 * INSTALL: Regenerate.
38334
38335 2013-03-12 Roland McGrath <roland@hack.frob.com>
38336
38337 * sysdeps/init_array/elf-init.c: New file.
38338 * csu/elf-init.c
38339 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38340 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38341
38342 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38343 __gmon_start__ as global, but as static with a .preinit_array pointer.
38344 * sysdeps/init_array/gmon-start.c: New file. Use that.
38345 * sysdeps/init_array/crti.S: New file, empty except for comments.
38346 * sysdeps/init_array/crtn.S: Likewise.
38347
38348 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38349
38350 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38351 definining bcopy.
38352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38353 Remove Prefer_SSE_for_memop.
38354 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38355 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38356 HAS_PREFER_SSE_FOR_MEMOP.
38357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38358 memset-x86-64.
38359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38360 Remove bzero, memset ifunc support.
38361 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38362 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38363 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38364 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38365
38366 2013-03-11 Andreas Schwab <schwab@suse.de>
38367
38368 [BZ #15234]
38369 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38370 by SHLIB_COMPAT.
38371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38372 (GLIBC_2.16): Remove pthread_atfork.
38373
38374 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38375
38376 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38377 (ptestcases.h): Likewise.
38378
38379 2013-03-08 Roland McGrath <roland@hack.frob.com>
38380
38381 * Makeconfig ($(common-objpfx)config.status): Depend on
38382 sysdeps/*/preconfigure{,.in} too.
38383
38384 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38385
38386 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38387 (__free_hook): Use void * instead of __malloc_ptr_t.
38388 (__malloc_hook): Likewise.
38389 (__realloc_hook): Likewise.
38390 (__memalign_hook): Likewise.
38391 (__after_morecore_hook): Likewise.
38392 * malloc/arena.c (save_malloc_hook): Likewise.
38393 (save_free_hook): Likewise.
38394 * malloc/hooks.c (malloc_hook_ini): Likewise.
38395 (realloc_hook_ini): Likewise.
38396 (memalign_hook_ini): Likewise.
38397 * malloc/malloc.c (malloc_hook_ini): Likewise.
38398 (realloc_hook_ini): Likewise.
38399 (memalign_hook_ini): Likewise.
38400 (__free_hook): Likewise.
38401 (__malloc_hook): Likewise.
38402 (__realloc_hook): Likewise.
38403 (__memalign_hook): Likewise.
38404 (__libc_malloc): Likewise.
38405 (__libc_free): Likewise.
38406 (__libc_realloc): Likewise.
38407 (__libc_memalign): Likewise.
38408 (__libc_valloc): Likewise.
38409 (__libc_pvalloc): Likewise.
38410 (__libc_calloc): Likewise.
38411 (__posix_memalign): Likewise.
38412 * malloc/morecore.c (__sbrk): Likewise.
38413 (__default_morecore): Likewise.
38414
38415 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38416
38417 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38418 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38419 __malloc_ptrdiff_t.
38420
38421 * malloc/malloc.h (__malloc_size_t): Remove macro.
38422 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38423 __malloc_size_t.
38424 (old_memalign_hook): Likewise.
38425 (old_realloc_hook): Likewise.
38426 (struct hdr): Likewise.
38427 (flood): Likewise.
38428 (mallochook): Likewise.
38429 (memalignhook): Likewise.
38430 (reallochook): Likewise.
38431 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38432 (tr_old_realloc_hook): Likewise.
38433 (tr_old_memalign_hook): Likewise.
38434 (tr_mallochook): Likewise.
38435 (tr_reallochook): Likewise.
38436 (tr_memalignhook): Likewise.
38437
38438 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38439
38440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38441 default_ldbl_pack and using as default implementation.
38442 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38443 implementation.
38444 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38445 redundant definition.
38446 (ldbl_insert_mantissa): Likewise.
38447 (ldbl_canonicalize): Likewise.
38448 (ldbl_nearbyint): Likewise.
38449 (ldbl_pack): Rename to ldbl_pack_ppc.
38450 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38451 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38452 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38453
38454 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38455
38456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38457 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38458 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38459 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38462 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38463 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38464
38465 2013-03-07 Andreas Jaeger <aj@suse.de>
38466
38467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38468 bits/mman-linux.h.
38469
38470 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38471
38472 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38473 Include mpa.h and declare __MPEXP.
38474 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38475 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38476 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38477 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38478 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38479 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38480 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38481
38482 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38483 (__slowpow): Use long double EXPL and LOGL functions to
38484 compute POW.
38485 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38486 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38487 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38488 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38489 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38490 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38491
38492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38493 intermediate variable to calculate exponent.
38494 (__sqr): Likewise.
38495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38496 Likewise.
38497 (__sqr): Likewise.
38498
38499 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38500 [!NO__SQR]: Define __sqr.
38501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38502 and NO__SQR. Remove all code except __mul and __sqr. Include
38503 sysdeps/ieee754/dbl-64/mpa.c.
38504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38505
38506 [BZ #12723]
38507 * posix/Makefile (tests): Add tst-pathconf.
38508 * posix/tst-pathconf.c: New test case.
38509 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38510 _PC_PIPE_BUF.
38511 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38512
38513 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38514
38515 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38516
38517 2013-03-06 Andreas Jaeger <aj@suse.de>
38518
38519 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38520 definition via __MAP_ANONYMOUS.
38521
38522 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38523 it's not part of Linux headers.
38524
38525 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38526 (MAP_HUGE_MASK): Define.
38527
38528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38529 Define.
38530 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38531 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38532 Define.
38533 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38534 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38535 Define.
38536 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38537 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38538 Define.
38539 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38540
38541 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38542 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38543 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38544 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38545 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38546 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38547
38548 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38549 Handle f2fs.
38550
38551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38552 Handle f2fs and efivarfs.
38553
38554 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38555 f2fs.
38556
38557 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38558 (EFIVARFS_MAGIC): Add.
38559 (F2FS_LINK_MAX): Add.
38560
38561 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38562
38563 * stdio-common/vfprintf.c: Replace __builtin_expect with
38564 __glibc_unlikely.
38565
38566 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38567
38568 [BZ #13550]
38569 * sysdeps/generic/bp-sym.h: Remove file.
38570 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38571 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38572 <bp-sym.h> and <bp-asm.h>.
38573 (__longjmp): Don't use BP_SYM.
38574 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38575 and <bp-asm.h>.
38576 (memcpy): Don't use BP_SYM.
38577 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38578 <bp-sym.h> and <bp-asm.h>.
38579 (memcpy): Don't use BP_SYM.
38580 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38581 <bp-asm.h>.
38582 (memcpy): Don't use BP_SYM.
38583 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38584 <bp-asm.h>.
38585 (memset): Don't use BP_SYM.
38586 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38587 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38588 (__bzero): Don't use BP_SYM.
38589 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38590 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38591 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38592 <bp-sym.h> and <bp-asm.h>.
38593 (memcmp): Don't use BP_SYM. Remove comment about bounded
38594 pointers.
38595 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38596 <bp-sym.h> and <bp-asm.h>.
38597 (memcpy): Don't use BP_SYM.
38598 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38599 <bp-sym.h> and <bp-asm.h>.
38600 (memset): Don't use BP_SYM.
38601 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38602 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38603 (__bzero): Don't use BP_SYM.
38604 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38605 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38606 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38607 <bp-sym.h> and <bp-asm.h>.
38608 (strncmp): Don't use BP_SYM. Remove comment about bounded
38609 pointers.
38610 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38611 <bp-sym.h> and <bp-asm.h>.
38612 (memcpy): Don't use BP_SYM.
38613 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38614 <bp-sym.h> and <bp-asm.h>.
38615 (memset): Don't use BP_SYM.
38616 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38617 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38618 (__bzero): Don't use BP_SYM.
38619 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38620 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38621 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38622 <bp-sym.h> and <bp-asm.h>.
38623 (__memchr): Don't use BP_SYM.
38624 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38625 <bp-sym.h> and <bp-asm.h>.
38626 (memcmp): Don't use BP_SYM. Remove comment about bounded
38627 pointers.
38628 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38629 <bp-sym.h> and <bp-asm.h>.
38630 (memcpy): Don't use BP_SYM.
38631 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38632 <bp-sym.h> and <bp-asm.h>.
38633 (__mempcpy): Don't use BP_SYM.
38634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38635 <bp-sym.h> and <bp-asm.h>.
38636 (__memrchr): Don't use BP_SYM.
38637 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38638 <bp-sym.h> and <bp-asm.h>.
38639 (memset): Don't use BP_SYM.
38640 (__bzero): Likewise.
38641 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38642 <bp-sym.h> and <bp-asm.h>.
38643 (__rawmemchr): Don't use BP_SYM.
38644 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38645 <bp-sym.h> and <bp-asm.h>.
38646 (__STRCMP): Don't use BP_SYM.
38647 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38648 <bp-sym.h> and <bp-asm.h>.
38649 (strchr): Don't use BP_SYM.
38650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38651 <bp-sym.h> and <bp-asm.h>.
38652 (__strchrnul): Don't use BP_SYM.
38653 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38654 <bp-sym.h> and <bp-asm.h>.
38655 (strlen): Don't use BP_SYM.
38656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38657 <bp-sym.h> and <bp-asm.h>.
38658 (strncmp): Don't use BP_SYM. Remove comment about bounded
38659 pointers.
38660 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38661 <bp-sym.h> and <bp-asm.h>.
38662 (__strnlen): Don't use BP_SYM.
38663 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38664 <bp-sym.h> and <bp-asm.h>.
38665 (__GI__setjmp): Don't use BP_SYM.
38666 (_setjmp): Likewise.
38667 (__sigsetjmp): Likewise.
38668 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38669 (L(start_addresses)): Don't use BP_SYM.
38670 (_start): Likewise.
38671 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38672 <bp-asm.h>.
38673 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38674 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38675 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38676 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38677 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38678 <bp-asm.h>.
38679 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38680 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38681 about bounded pointers.
38682 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38683 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38684 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38685 <bp-asm.h>.
38686 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38687 about bounded pointers. Remove GKM FIXME comments.
38688 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38689 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38690 <bp-asm.h>.
38691 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38692 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38693 Remove GKM FIXME comments.
38694 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38695 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38696 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38697 <bp-asm.h>.
38698 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38699 about bounded pointers. Remove GKM FIXME comment.
38700 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38701 and <bp-asm.h>.
38702 (strncmp): Don't use BP_SYM. Remove comment about bounded
38703 pointers.
38704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38705 <bp-sym.h> and <bp-asm.h>.
38706 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38708 <bp-sym.h> and <bp-asm.h>.
38709 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38710 comment.
38711
38712 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38713
38714 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38715 call free(NULL).
38716
38717 2013-03-05 David S. Miller <davem@davemloft.net>
38718
38719 * po/es.po: Update from translation team.
38720
38721 2013-03-05 Andreas Jaeger <aj@suse.de>
38722
38723 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38724 <bits/mman-linux.h>.
38725 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38726 is fine.
38727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38728 <bits/mman-linux.h> to end of file.
38729 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38730 is fine.
38731 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38732 <bits/mman-linux.h> to end of file.
38733 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38734 is fine.
38735 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38736 <bits/mman-linux.h> to end of file.
38737
38738 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38739 (MCL_CURRENT, MCL_FUTURE): Define here.
38740
38741 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38742
38743 [BZ #15232]
38744 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38745 attribute_hidden.
38746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38747
38748 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38749
38750 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38751 fourth parameter needed for rt_sigprocmask syscall.
38752 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38753 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38754 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38755 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38756 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38757 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38758
38759 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38760
38761 [BZ #13550]
38762 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38763 comment about bounded pointers.
38764 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38765 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38766
38767 2013-03-04 Andreas Jaeger <aj@suse.de>
38768
38769 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38770 common definitions.
38771
38772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38773 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38774 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38776 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38778
38779 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38780
38781 [BZ #15055]
38782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38783 __ieee754_sqrl instead of __sqrl.
38784
38785 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38786
38787 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38788 * sysdeps/powerpc/fpu_control.h: ... here.
38789 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38790 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38791 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38792 * sysdeps/powerpc/bits/mathinline.h: ... here.
38793
38794 2013-03-01 Roland McGrath <roland@hack.frob.com>
38795
38796 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38797 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38798 to just [NEED_DL_SYSINFO_DSO].
38799 * elf/dl-support.c: Likewise.
38800 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38801 * elf/rtld.c (dl_main): Likewise.
38802 * elf/setup-vdso.h (setup_vdso): Likewise.
38803 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38804 * sysdeps/unix/sysv/linux/dl-sysdep.c
38805 (_dl_discover_osversion): Likewise.
38806
38807 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38808
38809 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38810 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38811
38812 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38813
38814 * NEWS: Mention libm performance improvements and non-x86 PI
38815 futex support.
38816
38817 * csu/libc-start.c (__pthread_initialize_minimal): Change
38818 function arguments.
38819 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38820
38821 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38822
38823 [BZ #13550]
38824 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38825 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38826 <bp-sym.h> and <bp-asm.h>.
38827 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38829 and <bp-asm.h>.
38830 (memcpy): Don't use BP_SYM.
38831 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38832 <bp-asm.h>.
38833 (__mpn_add_n): Don't use BP_SYM.
38834 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38835 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38836 and <bp-asm.h>.
38837 (__mpn_addmul_1): Don't use BP_SYM.
38838 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38839 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38840 <bp-sym.h>.
38841 (_setjmp): Don't use BP_SYM.
38842 (__novmx_setjmp): Likewise.
38843 (__GI__setjmp): Likewise.
38844 (__vmx_setjmp): Likewise.
38845 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38846 <bp-sym.h>.
38847 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38848 (__bzero): Don't use BP_SYM.
38849 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38850 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38851 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38852 <bp-sym.h> and <bp-asm.h>.
38853 (memcpy): Don't use BP_SYM.
38854 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38855 <bp-sym.h> and <bp-asm.h>.
38856 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38857 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38858 <bp-sym.h> and <bp-asm.h>.
38859 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38860 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38861 <bp-asm.h>.
38862 (__mpn_lshift): Don't use BP_SYM.
38863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38864 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38865 <bp-asm.h>.
38866 (memset): Don't use BP_SYM.
38867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38869 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38870 <bp-asm.h>.
38871 (__mpn_mul_1): Don't use BP_SYM.
38872 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38874 <bp-sym.h> and <bp-asm.h>.
38875 (memcmp): Don't use BP_SYM.
38876 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38877 <bp-sym.h> and <bp-asm.h>.
38878 (memcpy): Don't use BP_SYM.
38879 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38880 <bp-sym.h> and <bp-asm.h>.
38881 (memset): Don't use BP_SYM.
38882 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38883 <bp-sym.h> and <bp-asm.h>.
38884 (strncmp): Don't use BP_SYM.
38885 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38886 <bp-sym.h> and <bp-asm.h>.
38887 (memcpy): Don't use BP_SYM.
38888 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38889 <bp-sym.h> and <bp-asm.h>.
38890 (memset): Don't use BP_SYM.
38891 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38892 <bp-sym.h> and <bp-asm.h>.
38893 (__memchr): Don't use BP_SYM.
38894 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38895 <bp-sym.h> and <bp-asm.h>.
38896 (memcmp): Don't use BP_SYM.
38897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38898 <bp-sym.h> and <bp-asm.h>.
38899 (memcpy): Don't use BP_SYM.
38900 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38901 <bp-sym.h> and <bp-asm.h>.
38902 (__mempcpy): Don't use BP_SYM.
38903 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38904 <bp-sym.h> and <bp-asm.h>.
38905 (__memrchr): Don't use BP_SYM.
38906 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38907 <bp-sym.h> and <bp-asm.h>.
38908 (memset): Don't use BP_SYM.
38909 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38910 <bp-sym.h> and <bp-asm.h>.
38911 (__rawmemchr): Don't use BP_SYM.
38912 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38913 <bp-sym.h> and <bp-asm.h>.
38914 (__STRCMP): Don't use BP_SYM.
38915 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38916 <bp-sym.h> and <bp-asm.h>.
38917 (strchr): Don't use BP_SYM.
38918 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38919 <bp-sym.h> and <bp-asm.h>.
38920 (__strchrnul): Don't use BP_SYM.
38921 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38922 <bp-sym.h> and <bp-asm.h>.
38923 (strlen): Don't use BP_SYM.
38924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38925 <bp-sym.h> and <bp-asm.h>.
38926 (strncmp): Don't use BP_SYM.
38927 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38928 <bp-sym.h> and <bp-asm.h>.
38929 (__strnlen): Don't use BP_SYM.
38930 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38931 <bp-asm.h>.
38932 (__mpn_rshift): Don't use BP_SYM.
38933 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38934 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38935 <bp-sym.h> and <bp-asm.h>.
38936 (__sigsetjmp): Don't use BP_SYM.
38937 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38938 (L(start_addresses)): Don't use BP_SYM.
38939 (_start): Likewise.
38940 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38941 <bp-asm.h>.
38942 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38943 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38944 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38945 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38946 <bp-asm.h>.
38947 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38948 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38949 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38950 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38951 <bp-asm.h>.
38952 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38953 comments.
38954 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38955 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38956 <bp-asm.h>.
38957 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
38958 FIXME comments.
38959 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38960 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38961 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38962 <bp-asm.h>.
38963 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38964 comment.
38965 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38966 and <bp-asm.h>.
38967 (strncmp): Don't use BP_SYM,
38968 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38969 <bp-asm.h>.
38970 (__mpn_sub_n): Don't use BP_SYM.
38971 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38972 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38973 and <bp-asm.h>.
38974 (__mpn_submul_1): Don't use BP_SYM.
38975 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38977 <bp-sym.h> and <bp-asm.h>.
38978 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38980 <bp-sym.h> and <bp-asm.h>.
38981 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38982 comment.
38983
38984 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38985
38986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38987 Use ZK to minimize writes to Z.
38988 (sub_magnitudes): Simplify code a bit.
38989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38990 Use ZK to minimize writes to Z.
38991 (sub_magnitudes): Simplify code a bit.
38992
38993 2013-02-27 Roland McGrath <roland@hack.frob.com>
38994
38995 * csu/gmon-start.c: Add special exception to license text.
38996
38997 2013-02-27 Richard Henderson <rth@redhat.com>
38998
38999 * scripts/config.guess: Update from config.git.
39000 * scripts/config.sub: Likewise.
39001
39002 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39003
39004 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39005
39006 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39007
39008 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39009
39010 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39011
39012 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39013
39014 2013-02-26 Roland McGrath <roland@hack.frob.com>
39015
39016 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39017 [$(build-shared = yes].
39018
39019 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39020
39021 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39022 (__mul): Reduce iterations for calculating mantissa.
39023
39024 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39025 MPTWO.
39026 (__mpranred): Likewise.
39027
39028 [BZ #15160]
39029 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39030 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39031
39032 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39033
39034 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39035 Define __attribute__.
39036
39037 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39038
39039 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39040 unused.
39041 * posix/regex_internal.h (__attribute): Remove.
39042 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39043 (re_string_context_at): Likewise.
39044 (bitset_not): Use __attribute__ and mark function as possibly
39045 unused.
39046 (bitset_merge): Likewise.
39047 (bitset_mask): Likewise.
39048 (re_string_char_size_at): Likewise.
39049 (re_string_wchar_at): Likewise.
39050 (re_string_elem_size_at): Likewise.
39051
39052 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39053
39054 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39055 code.
39056 (cc32): Likewise.
39057
39058 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39059 (__acr): Likewise.
39060 (__cpy): Likewise.
39061 (norm): Likewise.
39062 (denorm): Likewise.
39063 (__dbl_mp): Likewise.
39064 (add_magnitudes): Likewise.
39065 (sub_magnitudes): Likewise.
39066 (__mul): Likewise.
39067 (__inv): Likewise.
39068
39069 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39070 style.
39071
39072 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39073 style.
39074
39075 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39076 code.
39077
39078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39079 up changes with default code.
39080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39081 Likewise.
39082
39083 2013-02-24 Allan McRae <allan@archlinux.org>
39084
39085 * manual/socket.texi (The Internet Namespace): Order menu items
39086 to match that in the file.
39087
39088 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39089 node listing of the info page menu.
39090
39091 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39092
39093 [BZ #13550]
39094 * sysdeps/i386/bp-asm.h: Remove file.
39095 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39096 (PARMS): Do not use macros from bp-asm.h.
39097 (S1): Likewise.
39098 (S2): Likewise.
39099 (SIZE): Likewise.
39100 (__mpn_add_n): Do not use BP_SYM
39101 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39102 "bp-asm.h".
39103 (PARMS): Do not use macros from bp-asm.h.
39104 (S1): Likewise.
39105 (SIZE): Likewise.
39106 (__mpn_addmul_1): Do not use BP_SYM
39107 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39108 "bp-asm.h".
39109 (PARMS): Do not use macros from bp-asm.h.
39110 (SIGMSK): Likewise.
39111 (_setjmp): Likewise. Do not use BP_SYM.
39112 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39113 "bp-asm.h".
39114 (PARMS): Do not use macros from bp-asm.h.
39115 (SIGMSK): Likewise.
39116 (setjmp): Likewise. Do not use BP_SYM.
39117 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39118 "bp-asm.h".
39119 (PARMS): Do not use macros from bp-asm.h.
39120 (__frexp): Do not use BP_SYM.
39121 (frexp): Likewise.
39122 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39123 "bp-asm.h".
39124 (PARMS): Do not use macros from bp-asm.h.
39125 (__frexpf): Do not use BP_SYM.
39126 (frexpf): Likewise.
39127 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39128 "bp-asm.h".
39129 (PARMS): Do not use macros from bp-asm.h.
39130 (__frexpl): Do not use BP_SYM.
39131 (frexpl): Likewise.
39132 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39133 "bp-asm.h".
39134 (PARMS): Do not use macros from bp-asm.h.
39135 (__remquo): Do not use BP_SYM.
39136 (remquo): Likewise.
39137 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39138 "bp-asm.h".
39139 (PARMS): Do not use macros from bp-asm.h.
39140 (__remquof): Do not use BP_SYM.
39141 (remquof): Likewise.
39142 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39143 "bp-asm.h".
39144 (PARMS): Do not use macros from bp-asm.h.
39145 (__remquol): Do not use BP_SYM.
39146 (remquol): Likewise.
39147 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39148 "bp-asm.h".
39149 (PARMS): Do not use macros from bp-asm.h.
39150 (DEST): Likewise.
39151 (SRC): Likewise.
39152 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39153 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39154 "bp-asm.h".
39155 (PARMS): Do not use macros from bp-asm.h.
39156 (strlen): Do not use BP_SYM.
39157 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39158 "bp-asm.h".
39159 (PARMS): Do not use macros from bp-asm.h.
39160 (S1): Likewise.
39161 (S2): Likewise.
39162 (SIZE): Likewise.
39163 (__mpn_add_n): Do not use BP_SYM.
39164 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39165 "bp-asm.h".
39166 (PARMS): Do not use macros from bp-asm.h.
39167 (S1): Likewise.
39168 (SIZE): Likewise.
39169 (__mpn_addmul_1): Do not use BP_SYM.
39170 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39171 weak_alias.
39172 (bzero): Likewise.
39173 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39174 "bp-asm.h".
39175 (PARMS): Do not use macros from bp-asm.h.
39176 (S): Likewise.
39177 (SIZE): Likewise.
39178 (__mpn_lshift): Do not use BP_SYM.
39179 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39180 "bp-asm.h".
39181 (PARMS): Do not use macros from bp-asm.h.
39182 (DEST): Likewise.
39183 (SRC): Likewise.
39184 (LEN): Likewise.
39185 (memcpy): Likewise. Do not use BP_SYM.
39186 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39187 libc_hidden_def and weak_alias.
39188 (mempcpy): Do not use BP_SYM in weak_alias.
39189 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39190 "bp-asm.h".
39191 (PARMS): Do not use macros from bp-asm.h.
39192 (DEST): Likewise.
39193 (LEN): Likewise.
39194 [!BZERO_P] (CHR): Likewise.
39195 (memset): Likewise. Do not use BP_SYM.
39196 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39197 "bp-asm.h".
39198 (PARMS): Do not use macros from bp-asm.h.
39199 (S1): Likewise.
39200 (SIZE): Likewise.
39201 (__mpn_mul_1): Do not use BP_SYM.
39202 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39203 "bp-asm.h".
39204 (PARMS): Do not use macros from bp-asm.h.
39205 (S): Likewise.
39206 (SIZE): Likewise.
39207 (__mpn_rshift): Do not use BP_SYM.
39208 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39209 "bp-asm.h".
39210 (PARMS): Do not use macros from bp-asm.h.
39211 (STR): Likewise.
39212 (CHR): Likewise.
39213 (strchr): Likewise. Do not use BP_SYM.
39214 (index): Do not use BP_SYM in weak_alias.
39215 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39216 "bp-asm.h".
39217 (PARMS): Do not use macros from bp-asm.h.
39218 (DEST): Likewise.
39219 (SRC): Likewise.
39220 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39221 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39222 "bp-asm.h".
39223 (PARMS): Do not use macros from bp-asm.h.
39224 (strlen): Do not use BP_SYM.
39225 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39226 "bp-asm.h".
39227 (PARMS): Do not use macros from bp-asm.h.
39228 (S1): Likewise.
39229 (S2): Likewise.
39230 (SIZE): Likewise.
39231 (__mpn_sub_n): Do not use BP_SYM.
39232 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39233 "bp-asm.h".
39234 (PARMS): Do not use macros from bp-asm.h.
39235 (S1): Likewise.
39236 (SIZE): Likewise.
39237 (__mpn_submul_1): Do not use BP_SYM.
39238 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39239 "bp-asm.h".
39240 (PARMS): Do not use macros from bp-asm.h.
39241 (S1): Likewise.
39242 (S2): Likewise.
39243 (SIZE): Likewise.
39244 (__mpn_add_n): Do not use BP_SYM.
39245 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39246 weak_alias.
39247 (bzero): Likewise.
39248 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39249 "bp-asm.h".
39250 (PARMS): Do not use macros from bp-asm.h.
39251 (BLK2): Likewise.
39252 (LEN): Likewise.
39253 (memcmp): Do not use BP_SYM.
39254 (bcmp): Do not use BP_SYM in weak_alias.
39255 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39256 "bp-asm.h".
39257 (PARMS): Do not use macros from bp-asm.h.
39258 (DEST): Likewise.
39259 (SRC): Likewise.
39260 (LEN): Likewise.
39261 (memcpy): Likewise. Do not use BP_SYM.
39262 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39263 "bp-asm.h".
39264 (PARMS): Do not use macros from bp-asm.h.
39265 (DEST): Likewise.
39266 (SRC): Likewise.
39267 (LEN): Likewise.
39268 (memmove): Likewise. Do not use BP_SYM.
39269 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39270 "bp-asm.h".
39271 (PARMS): Do not use macros from bp-asm.h.
39272 (DEST): Likewise.
39273 (SRC): Likewise.
39274 (LEN): Likewise.
39275 (__mempcpy): Likewise. Do not use BP_SYM.
39276 (mempcpy): Do not use BP_SYM in weak_alias.
39277 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39278 "bp-asm.h".
39279 (PARMS): Do not use macros from bp-asm.h.
39280 (DEST): Likewise.
39281 (LEN): Likewise.
39282 [!BZERO_P] (CHR): Likewise.
39283 (memset): Likewise. Do not use BP_SYM.
39284 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39285 "bp-asm.h".
39286 (PARMS): Do not use macros from bp-asm.h.
39287 (STR2): Likewise.
39288 (strcmp): Do not use BP_SYM.
39289 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39290 "bp-asm.h".
39291 (PARMS): Do not use macros from bp-asm.h.
39292 (STR): Likewise.
39293 (DELIM): Likewise.
39294 [USE_AS_STRTOK_R] (SAVE): Likewise.
39295 (FUNCTION): Likewise. Do not use BP_SYM.
39296 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39297 aliases.
39298 (strtok_r): Likewise.
39299 (__GI___strtok_r): Likewise.
39300 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39301 (PARMS): Do not use macros from bp-asm.h.
39302 (S): Likewise.
39303 (SIZE): Likewise.
39304 (__mpn_lshift): Do not use BP_SYM.
39305 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39306 (PARMS): Do not use macros from bp-asm.h.
39307 (STR): Likewise.
39308 (CHR): Likewise.
39309 (__memchr): Do not use BP_SYM.
39310 (memchr): Do not use BP_SYM in weak_alias.
39311 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39312 (PARMS): Do not use macros from bp-asm.h.
39313 (BLK2): Likewise.
39314 (LEN): Likewise.
39315 (memcmp): Do not use BP_SYM.
39316 (bcmp): Do not use BP_SYM in weak_alias.
39317 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39318 (PARMS): Do not use macros from bp-asm.h.
39319 (S1): Likewise.
39320 (SIZE): Likewise.
39321 (__mpn_mul_1): Do not use BP_SYM.
39322 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39323 "bp-asm.h".
39324 (PARMS): Do not use macros from bp-asm.h.
39325 (STR): Likewise.
39326 (CHR): Likewise.
39327 (__rawmemchr): Do not use BP_SYM.
39328 (rawmemchr): Do not use BP_SYM in weak_alias.
39329 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39330 (PARMS): Do not use macros from bp-asm.h.
39331 (S): Likewise.
39332 (SIZE): Likewise.
39333 (__mpn_rshift): Do not use BP_SYM.
39334 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39335 (PARMS): Do not use macros from bp-asm.h.
39336 (SIGMSK): Likewise.
39337 (__sigsetjmp): Likewise. Do not use BP_SYM.
39338 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39339 (_start): Do not use BP_SYM.
39340 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39341 (PARMS): Do not use macros from bp-asm.h.
39342 (DEST): Likewise.
39343 (SRC): Likewise.
39344 (__stpcpy): Likewise. Do not use BP_SYM.
39345 (stpcpy): Do not use BP_SYM in weak_alias.
39346 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39347 "bp-asm.h".
39348 (PARMS): Do not use macros from bp-asm.h.
39349 (DEST): Likewise.
39350 (SRC): Likewise.
39351 (LEN): Likewise.
39352 (__stpncpy): Likewise. Do not use BP_SYM.
39353 (stpncpy): Do not use BP_SYM in weak_alias.
39354 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39355 (PARMS): Do not use macros from bp-asm.h.
39356 (STR): Likewise.
39357 (CHR): Likewise.
39358 (strchr): Likewise. Do not use BP_SYM.
39359 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39360 "bp-asm.h".
39361 (PARMS): Do not use macros from bp-asm.h.
39362 (STR): Likewise.
39363 (CHR): Likewise.
39364 (__strchrnul): Likewise. Do not use BP_SYM.
39365 (strchrnul): Do not use BP_SYM in weak_alias.
39366 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39367 "bp-asm.h".
39368 (PARMS): Do not use macros from bp-asm.h.
39369 (STOP): Likewise.
39370 (strcspn): Do not use BP_SYM.
39371 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39372 "bp-asm.h".
39373 (PARMS): Do not use macros from bp-asm.h.
39374 (STR): Likewise.
39375 (STOP): Likewise.
39376 (strpbrk): Likewise. Do not use BP_SYM.
39377 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39378 "bp-asm.h".
39379 (PARMS): Do not use macros from bp-asm.h.
39380 (STR): Likewise.
39381 (CHR): Likewise.
39382 (strrchr): Likewise. Do not use BP_SYM.
39383 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39384 (PARMS): Do not use macros from bp-asm.h.
39385 (SKIP): Likewise.
39386 (strspn): Do not use BP_SYM.
39387 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39388 (PARMS): Do not use macros from bp-asm.h.
39389 (STR): Likewise.
39390 (DELIM): Likewise.
39391 (SAVE): Likewise.
39392 (FUNCTION): Likewise. Do not use BP_SYM.
39393 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39394 aliases.
39395 (strtok_r): Likewise.
39396 (__GI___strtok_r): Likewise.
39397 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39398 (PARMS): Do not use macros from bp-asm.h.
39399 (S1): Likewise.
39400 (S2): Likewise.
39401 (SIZE): Likewise.
39402 (__mpn_sub_n): Do not use BP_SYM.
39403 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39404 "bp-asm.h".
39405 (PARMS): Do not use macros from bp-asm.h.
39406 (S1): Likewise.
39407 (SIZE): Likewise.
39408 (__mpn_submul_1): Do not use BP_SYM.
39409 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39410 <bp-sym.h>.
39411 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39412 and <bp-asm.h>.
39413 (PARMS): Do not use macros from bp-asm.h.
39414 (FLAGS): Likewise.
39415 (PTID): Likewise.
39416 (TLS): Likewise.
39417 (CTID): Likewise.
39418 (__clone): Do not use BP_SYM.
39419 (clone): Do not use BP_SYM in weak_alias.
39420 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39421 and <bp-asm.h>.
39422 (PARMS): Do not use macros from bp-asm.h.
39423 (LEN): Likewise.
39424 (__mmap64): Do not use BP_SYM.
39425 (mmap64): Do not use BP_SYM in weak_alias.
39426 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39427 <bp-sym.h> and <bp-asm.h>.
39428 (PARMS): Do not use macros from bp-asm.h.
39429 (__posix_fadvise64_l64): Do not use BP_SYM.
39430 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39431 (PARMS): Do not use macros from bp-asm.h.
39432 (NSOPS): Likewise.
39433 (semtimedop): Do not use BP_SYM.
39434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39435 and <bp-asm.h>.
39436
39437 2013-02-21 Allan McRae <allan@archlinux.org>
39438
39439 * manual/message.texi (Charset conversion in gettext):
39440 Move @end statement to beginning of line.
39441
39442 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39443
39444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39445 static.
39446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39447 Likewise.
39448
39449 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39450 (denorm): Likewise.
39451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39453
39454 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39455
39456 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39457 tail-call to the resolved function if pltexit isn't needed.
39458
39459 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39460
39461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39462 or Y being zero as being unlikely.
39463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39464 Likewise.
39465
39466 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39467
39468 * manual/nss.texi (System Databases and Name Service Switch):
39469 Remove frobnicate @pxref.
39470
39471 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39472
39473 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39474 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39475
39476 2013-02-20 Petr Machata <pmachata@redhat.com>
39477
39478 * elf/elf.h (R_ARM_TARGET1): New macro.
39479 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39480 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39481 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39482 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39483 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39484 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39485 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39486 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39487 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39488 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39489 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39490 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39491 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39492 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39493 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39494 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39495 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39496 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39497 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39498 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39499 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39500 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39501 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39502 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39503 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39504 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39505 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39506 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39507 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39508 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39509 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39510 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39511 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39512 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39513 (R_ARM_THM_GOT_BREL12): Likewise.
39514 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39515 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39516 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39517 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39518 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39519 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39520 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39521 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39522 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39523
39524 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39525
39526 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39527 __attribute_used__ to __attribute__ ((unused)).
39528
39529 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39530
39531 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39532 powerpc mpa.c.
39533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39534 comment formatting.
39535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39536
39537 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39538
39539 [BZ #13550]
39540 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39541 Remove macro.
39542 (ENTER): Remove both macro definitions.
39543 (LEAVE): Likewise.
39544 (CHECK_BOUNDS_LOW): Likewise.
39545 (CHECK_BOUNDS_HIGH): Likewise.
39546 (CHECK_BOUNDS_BOTH): Likewise.
39547 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39548 (RETURN_BOUNDED_POINTER): Likewise.
39549 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39550 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39551 (POP_ERRNO_LOCATION_RETURN): Likewise.
39552 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39553 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39554 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39555 macros.
39556 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39557 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39558 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39559 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39560 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39561 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39562 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39563 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39564 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39565 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39566 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39567 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39568 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39569 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39570 removed macros.
39571 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39572 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39573 macros.
39574 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39575 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39576 * sysdeps/i386/i586/memset.S (memset): Likewise.
39577 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39578 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39579 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39580 macros.
39581 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39582 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39583 Change uses of L(2) to L(out).
39584 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39585 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39586 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39587 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39588 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39589 removed macros.
39590 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39591 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39592 macros.
39593 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39594 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39595 (RETURN): Do not use macro LEAVE.
39596 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39597 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39598 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39599 * sysdeps/i386/i686/memset.S (memset): Likewise.
39600 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39601 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39602 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39603 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39604 Likewise.
39605 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39606 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39607 L(1_2) and L(1_3) into L(1).
39608 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39609 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39610 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39611 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39612 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39613 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39614 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39615 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39616 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39617 macros.
39618 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39619 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39620 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39621 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39622 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39623 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39624 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39625 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39626 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39627 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39628 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39629 * sysdeps/i386/strspn.S (strspn): Likewise.
39630 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39631 conditional code.
39632 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39633 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39634 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39635 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39636 L(1_3) into L(1_1).
39637 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39638 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39639 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39640 macros.
39641 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39642
39643 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39644
39645 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39646 macro.
39647
39648 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39649
39650 * math/atest-exp.c (exp_mpn): Remove ROUND.
39651 * math/atest-exp2.c (exp_mpn): Likewise.
39652 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39653
39654 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39655 * stdlib/tst-tls-atexit-lib.c: Likewise.
39656 * stdlib/tst-tls-atexit.c: Likewise.
39657
39658 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39659
39660 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39661 and __attribute_alloc_size__.
39662
39663 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39664
39665 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39666 __attribute_alloc_size__.
39667 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39668 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39669
39670 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39671
39672 * include/programs/xmalloc.h: New file.
39673 * catgets/gencat.c: Include it.
39674 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39675 * elf/pldd.c: Likewise.
39676 * iconv/iconv_charmap.c: Likewise.
39677 * iconv/iconvconfig.c: Likewise.
39678 * iconv/strtab.c: Likewise.
39679 * locale/programs/locale.c: Likewise.
39680 * locale/programs/localedef.h: Likewise.
39681 * locale/programs/simple-hash.c: Likewise.
39682 * nscd/nscd.h: Likewise.
39683 * nss/makedb.c: Likewise.
39684 * sysdeps/generic/ldconfig.h: Likewise.
39685
39686 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39687
39688 * Versions.def: Add GLIBC_2.18.
39689 * include/link.h (struct link_map): New member l_tls_dtor_count.
39690 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39691 (__call_tls_dtors): Likewise.
39692 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39693 __cxa_thread_atexit_impl.
39694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39695 Likewise.
39696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39697 Likewise.
39698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39699 Likewise.
39700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39701 Likewise.
39702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39704 Likewise.
39705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39706 Likewise.
39707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39709 Likewise.
39710 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39711 (tests): Add test case tst-tls-atexit.
39712 (modules-names): Add shared library for tst-tls-atexit.
39713 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39714 (GLIBC_PRIVATE): Add __call_tls_dtors.
39715 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39716 for libstdc++.
39717 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39718 * stdlib/tst-tls-atexit.c: New test case.
39719 * stdlib/tst-tls-atexit-lib.c: New test case.
39720
39721 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39722
39723 * elf/Versions (ld): Add _dl_find_dso_for_object.
39724 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39725 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39726 (dl_open_worker): Use _dl_find_dso_for_object.
39727 * elf/dl-sym.c (do_sym): Likewise.
39728 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39729
39730 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39731
39732 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39733 Syntactic changes only.
39734 (_dl_runtime_profile): Do a tail-call to the resolved function.
39735
39736 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39737
39738 [BZ #13550]
39739 * sysdeps/x86_64/bp-asm.h: Remove file.
39740 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39741 <bp-sym.h> and <bp-asm.h>.
39742 (__clone): Do not use BP_SYM.
39743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39744 <bp-sym.h> and <bp-asm.h>.
39745 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39746 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39747 "bp-asm.h".
39748 (_setjmp): Do not use BP_SYM.
39749 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39750 "bp-asm.h".
39751 (setjmp): Do not use BP_SYM.
39752 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39753 libc_hidden_def.
39754 (mempcpy): Do not use BP_SYM in weak_alias.
39755 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39756 "bp-asm.h".
39757 (strchr): Do not use BP_SYM.
39758 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39759 "bp-asm.h".
39760 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39761 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39762 (_start): Do not use BP_SYM.
39763 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39764 "bp-asm.h".
39765 (strcat): Do not use BP_SYM.
39766 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39767 "bp-asm.h".
39768 (STRCMP): Do not use BP_SYM.
39769 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39770 "bp-asm.h".
39771 (STRCPY): Do not use BP_SYM.
39772 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39773 "bp-asm.h".
39774 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39775 "bp-asm.h".
39776 (FUNCTION): Do not use BP_SYM.
39777 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39778 weak_alias.
39779 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39780
39781 2013-02-17 Andreas Jaeger <aj@suse.de>
39782
39783 * time/Versions: Sort entries.
39784 * string/Versions: Likewise.
39785 * resolv/Versions: Likewise.
39786 * posix/Versions: Likewise.
39787 * iconv/Versions: Likewise.
39788 * elf/Versions: Likewise.
39789 * wcsmbs/Versions: Likewise.
39790
39791 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39792
39793 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39794 loop termination condition.
39795
39796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39797 variable to calculate EZ.
39798 (__sqr): Likewise.
39799
39800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39801 the lower precision input.
39802
39803 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39804
39805 [BZ #13550]
39806 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39807 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39808 (run-via-rtld-prefix): Do not handle %-bp tests.
39809 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39810 (all-object-suffixes): Remove .ob.
39811 (bppfx): Remove variable.
39812 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39813 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39814 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39815 [$(build-bounded) = yes] (libtype.ob): Likewise.
39816 * Makerules (elide-routines.ob): Remove variable.
39817 (do-tests-clean): Do not handle *-bp.out.
39818 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39819 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39820 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39821 (tests): Do not include $(tests-bp.out).
39822 (xtests): Do not include $(xtests-bp.out).
39823 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39824 [$(build-bounded) = yes] ($(addprefix
39825 $(objpfx),$(binaries-bounded))): Remove rule.
39826 ($(objpfx)%-bp.out): Remove rule.
39827 * config.make.in (build-bounded): Remove variable.
39828 * crypt/Makefile [$(build-bounded) = yes]
39829 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39830 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39831 append to variable.
39832 [$(build-bounded) = yes] (install-lib): Likewise.
39833 [$(build-bounded) = yes] (generated): Likewise.
39834 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39835 Remove rule.
39836 * intl/Makefile [$(build-bounded) = yes]
39837 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39838 * math/Makefile [$(build-bounded) = yes]
39839 ($(tests:%=$(objpfx)%-bp): Likewise.
39840 * misc/Makefile [$(build-bounded) = yes]
39841 ($(objpfx)tst-tsearch-bp): Likewise.
39842 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39843 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39844 Remove dependency.
39845 * string/Makefile (o-objects.ob): Remove variable.
39846 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39847 (CFLAGS-.ob): Remove variable.
39848 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39849 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39850 both definitions of variable.
39851 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39852 (ASFLAGS-.ob): Remove variable.
39853
39854 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39855
39856 [BZ #13550]
39857 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39858 Remove __BOUNDED_POINTERS__ from condition.
39859 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39860 * string/bits/string2.h [!__NO_STRING_INLINES &&
39861 !__BOUNDED_POINTERS__]: Likewise.
39862 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39863 Likewise.
39864 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39865 Remove conditional code.
39866 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39867 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39868 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39869 condition.
39870
39871 [BZ #13550]
39872 * csu/libc-start.c: Do not include <bp-sym.h>.
39873 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39874 * elf/dl-open.c: Do not include <bp-sym.h>.
39875 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39876 * math/fegetenv.c: Do not include <bp-sym.h>.
39877 (fegetenv): Do not use BP_SYM in versioned symbols.
39878 * nptl/sysdeps/pthread/bits/libc-lockP.h
39879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39880 <bp-sym.h>.
39881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39882 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39884 (__pthread_mutex_destroy): Likewise.
39885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39886 (__pthread_mutex_lock): Likewise.
39887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39888 (__pthread_mutex_trylock): Likewise.
39889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39890 (__pthread_mutex_unlock): Likewise.
39891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39892 (__pthread_mutexattr_init): Likewise.
39893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39894 (__pthread_mutexattr_destroy): Likewise.
39895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39896 (__pthread_mutexattr_settype): Likewise.
39897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39898 (__pthread_rwlock_init): Likewise.
39899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39900 (__pthread_rwlock_destroy): Likewise.
39901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39902 (__pthread_rwlock_rdlock): Likewise.
39903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39904 (__pthread_rwlock_tryrdlock): Likewise.
39905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39906 (__pthread_rwlock_wrlock): Likewise.
39907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39908 (__pthread_rwlock_trywrlock): Likewise.
39909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39910 (__pthread_rwlock_unlock): Likewise.
39911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39912 (__pthread_key_create): Likewise.
39913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39914 (__pthread_setspecific): Likewise.
39915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39916 (__pthread_getspecific): Likewise.
39917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39918 Likewise.
39919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39920 (_pthread_cleanup_push_defer): Likewise.
39921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39922 (_pthread_cleanup_pop_restore): Likewise.
39923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39924 (pthread_setcancelstate): Likewise.
39925 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39926 <bp-sym.h>.
39927 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39928 (memchr): Do not use BP_SYM in weak_alias.
39929 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39930 (fegetenv): Do not use BP_SYM in versioned symbols.
39931 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39932 (fesetenv): Do not use BP_SYM in versioned symbols.
39933 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39934 (feupdateenv): Do not use BP_SYM in versioned symbols.
39935 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39936 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39937 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39938 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39939 (open64): Do not use BP_SYM in weak_alias.
39940 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39941 (fegetenv): Do not use BP_SYM in versioned symbols.
39942 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39943 (fesetenv): Do not use BP_SYM in versioned symbols.
39944 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39945 (feupdateenv): Do not use BP_SYM in versioned symbols.
39946 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39947 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39948 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39949 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39950 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39951 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39952 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39953 <bp-sym.h>.
39954 (__libc_start_main): Do not use BP_SYM.
39955
39956 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39957
39958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39959 redundant return line.
39960 (norm): Likewise.
39961 (denorm): Likewise.
39962 (dbl_mp): Likewise.
39963 (sub_magnitudes): Likewise.
39964 (__add): Likewise.
39965 (__sub): Likewise.
39966 (__mul): Likewise.
39967 (__inv): Likewise.
39968 (__dvd): Likewise.
39969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39970 (norm): Likewise.
39971 (denorm): Likewise.
39972 (dbl_mp): Likewise.
39973 (sub_magnitudes): Likewise.
39974 (__add): Likewise.
39975 (__sub): Likewise.
39976 (__mul): Likewise.
39977 (__inv): Likewise.
39978 (__dvd): Likewise.
39979
39980 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39981 instead of __mul.
39982 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39983 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39984 (cc32): Likewise.
39985
39986 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39987 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39989 of __mul for squares.
39990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39991 function
39992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39993 Likewise.
39994 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39995 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39996
39997 2013-02-13 Joseph Myers <joseph@codesourcery.com>
39998
39999 [BZ #13550]
40000 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40001 code.
40002 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40003 prototype or function definition. Rename ubp_* variables and
40004 parameters. Remove argv definitions conditional on
40005 [__BOUNDED_POINTERS__].
40006 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40007 * elf/dl-runtime.c (_dl_fixup): Likewise.
40008 * include/set-hooks.h (RUN_HOOK): Likewise.
40009 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40010 definition.
40011 * string/strcpy.c (strcpy): Do not use __unbounded.
40012 * sysdeps/generic/frame.h (struct layout): Likewise.
40013 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40014 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40015 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40016 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40017 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40018 (__backtrace): Likewise.
40019 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40020 use __ptrvalue.
40021 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40022 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40023 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40024 Likewise.
40025 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40026 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40027 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40028 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40029 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40030 Do not use __unbounded.
40031 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40032 Rename __unboundedrlimits parameter to rlimits in prototype.
40033 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40034 Do not use __unbounded.
40035 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40036 not use __ptrvalue.
40037 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40038 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40039 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40040 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40041 __ptrvalue or __unbounded.
40042 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40043 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40044 use __unbounded.
40045 (__new_msgctl): Do not use __ptrvalue.
40046 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40047 __unbounded.
40048 (__libc_msgrcv): Do not use __ptrvalue.
40049 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40050 startup_info): Do not use __unbounded.
40051 (__libc_start_main): Likewise. Rename ubp_* variables and
40052 parameters. Remove argv definitions conditional on
40053 [__BOUNDED_POINTERS__].
40054 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40055 __ptrvalue.
40056 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40057 use __unbounded.
40058 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40059 or __ptrvalue.
40060 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40061 use __unbounded.
40062 (__new_shmctl): Do not use __ptrvalue.
40063 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40064 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40065 Likewise.
40066 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40068 (__libc_sigaction): Likewise.
40069 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40070 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40071 Likewise.
40072 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40073
40074 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40075
40076 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40077
40078 * string/mempcpy.c: Implement by calling memcpy.
40079
40080 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40081
40082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40083
40084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40085 evaluation.
40086
40087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40088 values in the mantissa.
40089
40090 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40091 minimize writes to Z.
40092 (sub_magnitudes): Simplify code a bit.
40093
40094 2013-02-12 Roland McGrath <roland@hack.frob.com>
40095
40096 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40097 from the message. The linker prefixes all warnings with that already.
40098
40099 2013-02-12 Andreas Schwab <schwab@suse.de>
40100
40101 [BZ #15078]
40102 * posix/regexec.c (extend_buffers): Add parameter min_len.
40103 (check_matching): Pass minimum needed length.
40104 (clean_state_log_if_needed): Likewise.
40105 (get_subexp): Likewise.
40106 * posix/Makefile (tests): Add bug-regex34.
40107 (bug-regex34-ENV): Define.
40108 * posix/bug-regex34.c: New file.
40109
40110 [BZ #11561]
40111 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40112 elements compare against the byte sequence of it, not its name.
40113 * posix/Makefile (tests): Add bug-regex35.
40114 (bug-regex35-ENV): Define.
40115 * posix/bug-regex35.c: New file.
40116
40117 2013-02-11 Tom de Vries <tom@codesourcery.com>
40118
40119 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40120 comment.
40121 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40122 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40123 (CHECK_EOL): Add undef.
40124
40125 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40126
40127 * bits/stdlib-bsearch.h: New file.
40128 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40129 * stdlib/stdlib.h: Likewise.
40130
40131 2013-02-11 Roland McGrath <roland@hack.frob.com>
40132
40133 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40134 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40135 declaration.
40136 * manual/search.texi (Array Search Function): Add missing const in
40137 lfind prototype.
40138 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40139 declaration to use rlim_t.
40140 (Basic Scheduling Functions): Remove erroneous const from
40141 sched_getparam prototype. Remove erroneous * from
40142 sched_get_priority_max and sched_get_priority_min prototypes.
40143 (Resource Usage): Fix summary @comment on vtimes to refer to
40144 sys/vtimes.h rather than vtimes.h.
40145 Add missing *s in vtimes prototype.
40146 (Limits on Resources): Fix ulimit prototype to return long int.
40147 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40148 prototypes to use long int rather than double.
40149 (BSD Random): Fix initstate and setstate to use char *, not void *.
40150 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40151 prototype to make second argument 'struct aiocb64 *const[]'.
40152 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40153 (Status of AIO Operations): Remove erroneous const in aio_return and
40154 aio_return64 prototypes.
40155 (Synchronizing I/O): Fix sync prototype to return void.
40156 * manual/startup.texi (Suboptions): Remove an erroneous const in
40157 getsubopt prototype.
40158 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40159 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40160 use size_t rather than int.
40161 (Scanning All Users): Likewise for getpwent_r.
40162 (Setting Groups): Add missing const to setgroups prototype.
40163 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40164 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40165 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40166 'const void *' rather than 'const char *'.
40167 (Host Address Functions): Likewise for inet_ntop.
40168 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40169 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40170 ssize_t for return value.
40171 (Sending Data): Likewise for send, sendto, sendmsg.
40172 (Socket Option Functions): Add a missing const in setsockopt prototype.
40173 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40174 use wchar_t for the argument.
40175 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40176 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40177 take no arguments.
40178 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40179 double/float/long double for second argument.
40180 Fix return types of significand, significandf, significandl.
40181 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40182 argument in fchmod prototype.
40183 (File Owner): Use uid_t and gid_t in fchown prototype.
40184 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40185 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40186 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40187 use 'const struct dirent **' as argument types to CMP function pointer
40188 argument.
40189 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40190 (File Times): Fix summary magic @comment for struct utimbuf and utime
40191 to refer to utime.h, not time.h.
40192 * manual/string.texi (Argz Functions): Add missing const in
40193 argz_extract and argz_next prototypes.
40194 (Finding Tokens in a String): Likewise for basename.
40195 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40196 (Copying and Concatenation): Fix typo in wmemmove prototype.
40197 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40198 (Signal Stack): Remove erroneous const in sigstack prototype.
40199 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40200 prototype.
40201 (Simple Calendar Time): Likewise for stime.
40202 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40203 prototype.
40204 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40205 say sys/sysctl.h instead.
40206 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40207 and vsyslog prototypes.
40208
40209 2013-02-11 Tom de Vries <tom@codesourcery.com>
40210
40211 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40212 Remove.
40213
40214 2013-02-11 Roland McGrath <roland@hack.frob.com>
40215
40216 * misc/sys/mman.h: Fix typo in mremap comment.
40217
40218 2013-02-08 Roland McGrath <roland@hack.frob.com>
40219
40220 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40221 the '\0' terminator.
40222
40223 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40224
40225 [BZ #13550]
40226 * debug/segfault.c: Don't include <bp-checks.h>.
40227 * sysdeps/generic/bp-checks.h: Remove file.
40228 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40229 (__GETDENTS): Don't use CHECK_N.
40230 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40231 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40232 (__getgroups): Don't use CHECK_N.
40233 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40234 (setgroups): Don't use CHECK_N.
40235 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40236 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40237 (__libc_msgrcv): Don't use CHECK_N.
40238 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40239 (__libc_msgsnd): Don't use CHECK_N.
40240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40241 <bp-checks.h>.
40242 (__libc_pread): Don't use CHECK_N.
40243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40244 include <bp-checks.h>.
40245 (__libc_pread64): Don't use CHECK_N.
40246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40247 include <bp-checks.h>.
40248 (__libc_pwrite): Don't use CHECK_N.
40249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40250 include <bp-checks.h>.
40251 (__libc_pwrite64): Don't use CHECK_N.
40252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40253 <bp-checks.h>.
40254 (__libc_pread): Don't use CHECK_N.
40255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40256 include <bp-checks.h>.
40257 (__libc_pread64): Don't use CHECK_N.
40258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40259 include <bp-checks.h>.
40260 (__libc_pwrite): Don't use CHECK_N.
40261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40262 include <bp-checks.h>.
40263 (__libc_pwrite64): Don't use CHECK_N.
40264 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40265 (do_pread): Don't use CHECK_N.
40266 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40267 (do_pread64): Don't use CHECK_N.
40268 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40269 (do_pwrite): Don't use CHECK_N.
40270 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40271 (do_pwrite64): Don't use CHECK_N.
40272 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40273 (__libc_readv): Don't use CHECK_N.
40274 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40275 (semop): Don't use CHECK_N.
40276 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40277 <bp-checks.h>.
40278 (semtimedop): Don't use CHECK_N.
40279 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40280 (__libc_pread): Don't use CHECK_N.
40281 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40282 <bp-checks.h>.
40283 (__libc_pread64): Don't use CHECK_N.
40284 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40285 <bp-checks.h>.
40286 (__libc_pwrite): Don't use CHECK_N.
40287 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40288 <bp-checks.h>.
40289 (__libc_pwrite64): Don't use CHECK_N.
40290 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40291 <bp-checks.h>.
40292 (__libc_msgrcv): Don't use CHECK_N.
40293 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40294 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40295 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40296 (__libc_writev): Don't use CHECK_N.
40297
40298 2013-02-08 Roland McGrath <roland@hack.frob.com>
40299
40300 * string/strcpy.c: Removed unused variable.
40301
40302 * Makeconfig (+sysdep-includes): Define with := rather than =.
40303 Use an existing include/ subdir of each sysdeps dir before it.
40304
40305 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40306
40307 * nscd/connection.c (register_traced_file): Comment function.
40308 [HAVE_INOTIFY] (union __inev): Define.
40309 [HAVE_INOTIFY] (inotify_check_files): New function.
40310 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40311 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40312 clear_db_cache.
40313 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40314
40315 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40316
40317 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40318 loaded if not already and that a failure is permanent.
40319
40320 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40321
40322 [BZ #15006]
40323 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40324 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40325
40326 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40327
40328 [BZ #13550]
40329 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40330 (CHECK_1_NULL_OK): Likewise.
40331 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40332 (__fxstat): Do not use CHECK_1.
40333 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40334 <bp-checks.h>.
40335 (___fxstat64): Do not use CHECK_1.
40336 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40337 <bp-checks.h>.
40338 (__fxstatat): Do not use CHECK_1.
40339 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40340 <bp-checks.h>.
40341 (__fxstatat64): Do not use CHECK_1.
40342 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40343 <bp-checks.h>.
40344 (__fxstat): Do not use CHECK_1.
40345 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40346 <bp-checks.h>.
40347 (__fxstatat): Do not use CHECK_1.
40348 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40349 <bp-checks.h>.
40350 (__getresgid): Do not use CHECK_1.
40351 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40352 <bp-checks.h>.
40353 (__getresuid): Do not use CHECK_1.
40354 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40355 <bp-checks.h>.
40356 (__lxstat): Do not use CHECK_1.
40357 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40358 <bp-checks.h>.
40359 (__old_msgctl): Do not use CHECK_1.
40360 (__new_msgctl): Likewise.
40361 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40362 <bp-checks.h>.
40363 (__new_setrlimit): Do not use CHECK_1.
40364 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40365 <bp-checks.h>.
40366 (__old_shmctl): Do not use CHECK_1.
40367 (__new_shmctl): Likewise.
40368 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40369 <bp-checks.h>.
40370 (__xstat): Do not use CHECK_1.
40371 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40372 (__lxstat): Do not use CHECK_1.
40373 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40374 <bp-checks.h>.
40375 (___lxstat64): Do not use CHECK_1.
40376 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40377 (__old_msgctl): Do not use CHECK_1.
40378 (__new_msgctl): Likewise.
40379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40380 <bp-checks.h>.
40381 (__gettimeofday): Do not use CHECK_1.
40382 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40383 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40384 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40385 <bp-checks.h>.
40386 (__gettimeofday): Do not use CHECK_1.
40387 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40388 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40389 (__new_shmctl): Do not use CHECK_1.
40390 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40391 <bp-checks.h>.
40392 (do_sigtimedwait): Do not use CHECK_1.
40393 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40394 <bp-checks.h>.
40395 (do_sigwaitinfo): Do not use CHECK_1.
40396 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40397 <bp-checks.h>.
40398 (msgctl): Do not use CHECK_1.
40399 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40400 <bp-checks.h>.
40401 (shmctl): Do not use CHECK_1.
40402 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40403 (ustat): Do not use CHECK_1.
40404 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40405 <bp-checks.h>.
40406 (__fxstat): Do not use CHECK_1.
40407 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40408 <bp-checks.h>.
40409 (__fxstatat): Do not use CHECK_1.
40410 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40411 <bp-checks.h>.
40412 (__lxstat): Do not use CHECK_1.
40413 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40414 <bp-checks.h>.
40415 (__xstat): Do not use CHECK_1.
40416 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40417 (__xstat): Do not use CHECK_1.
40418 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40419 (___xstat64): Do not use CHECK_1.
40420
40421 [BZ #13550]
40422 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40423 definitions.
40424 (CHECK_BOUNDS_HIGH): Likewise.
40425 * string/strcpy.c: Do not include <bp-checks.h>.
40426 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40427
40428 2013-02-07 Roland McGrath <roland@hack.frob.com>
40429
40430 * nscd/nscd-client.h (__nscd_drop_map_ref):
40431 Add __attribute__ ((unused)).
40432 * nis/nss-nisplus.h (niserr2nss): Likewise.
40433
40434 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40435 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40436
40437 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40438 Remove inline keyword.
40439 * include/rounding-mode.h (round_away): Likewise.
40440 * libio/wfileops.c (adjust_wide_data): Likewise.
40441 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40442 (__m128i_strloadu_tolower): Likewise.
40443 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40444 (__m128i_strloadu_tolower): Likewise.
40445 * time/mktime.c (ydhms_diff): Likewise.
40446 * locale/elem-hash.h (elem_hash): Likewise.
40447 * locale/setlocale.c (setdata): Likewise.
40448 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40449 (re_string_wchar_at): Likewise.
40450 (bitset_not, bitset_merge, bitset_mask): Likewise.
40451 [!(__GNUC__ > 3)] (inline): Remove macro.
40452 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40453 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40454 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40455 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40456 * string/memcmp.c (memcmp_bytes): Likewise.
40457 * locale/programs/locarchive.c (compute_hashval): Likewise.
40458 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40459 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40460 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40461 * nss/getent.c (print_rpc, print_protocols): Likewise.
40462 (print_passwd, print_group, print_aliases): Likewise.
40463 * nis/nss-nisplus.h (niserr2nss): Likewise.
40464 * nscd/connections.c (restart_p): Likewise.
40465 Change return type to bool.
40466
40467 2013-02-05 Roland McGrath <roland@hack.frob.com>
40468
40469 * Makeconfig (all-Depend-files): Add existing
40470 $(sorted-subdirs:=/Depend) files.
40471 (all-subdirs): Remove nss.
40472 * sysdeps/unix/inet/Subdirs: Add it here instead.
40473 * hesiod/Depend: New file.
40474
40475 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40476 instead of calling alloca.
40477
40478 * io/lseek.c (__lseek): Rename to __libc_lseek.
40479 Define __lseek as an alias.
40480
40481 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40482
40483 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40484
40485 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40486 else clause and remove check for non-standard endianness.
40487
40488 2013-02-04 David S. Miller <davem@davemloft.net>
40489
40490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40491
40492 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40493
40494 [BZ #13550]
40495 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40496 (__ubp_memchr): Remove prototype.
40497 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40498 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40499 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40500 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40501 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40502 Remove alias.
40503 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40504 (__ubp_memchr): Likewise.
40505 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40506 (__ubp_memchr): Likewise.
40507 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40508 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40509 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40510 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40511 CHECK_STRING.
40512 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40513 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40514 (__getcwd): Do not use CHECK_STRING.
40515 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40516 <bp-checks.h>.
40517 (__real_chown): Do not use CHECK_STRING.
40518 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40519 <bp-checks.h>.
40520 (fchownat): Do not use CHECK_STRING.
40521 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40522 CHECK_STRING.
40523 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40524 <bp-checks.h>.
40525 (__lchown): Do not use CHECK_STRING.
40526 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40527 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40528 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40529 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40531 include <bp-checks.h>.
40532 (truncate64): Do not use CHECK_STRING.
40533 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40534 <bp-checks.h>.
40535 (__real_chown): Do not use CHECK_STRING.
40536 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40537 <bp-checks.h>.
40538 (__lchown): Do not use CHECK_STRING.
40539 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40540 <bp-checks.h>.
40541 (__chown): Do not use CHECK_STRING.
40542 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40543 <bp-checks.h>.
40544 (truncate64): Do not use CHECK_STRING.
40545 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40546 Likewise.
40547 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40548 (__xmknod): Do not use CHECK_STRING.
40549 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40550 <bp-checks.h>.
40551 (__xmknodat): Do not use CHECK_STRING.
40552 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40553 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40554
40555 2013-02-04 Andreas Schwab <schwab@suse.de>
40556
40557 [BZ #14142]
40558 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40559 * include/netdb.h: Likewise for h_errno.
40560 * elf/tst-stackguard1.c: Include <tls.h>.
40561
40562 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40563
40564 * elf/link.h (struct link_map): Extend the l_addr comment.
40565 * include/link.h (struct link_map): Likewise.
40566
40567 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40568
40569 [BZ #13550]
40570 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40571 (BOUNDED_1): Remove macro.
40572 * debug/backtrace.c: Don't include <bp-checks.h>.
40573 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40574 (__backtrace): Likewise.
40575 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40576 <bp-checks.h>.
40577 (__backtrace): Don't use BOUNDED_1.
40578 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40579 <bp-checks.h>.
40580 (__backtrace): Don't use BOUNDED_1.
40581 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40582 (__backtrace): Don't use BOUNDED_1.
40583 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40584 (shmat): Don't use BOUNDED_N.
40585
40586 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40587
40588 [BZ #13550]
40589 * sysdeps/generic/bp-start.h: Remove file.
40590 * csu/libc-start.c: Don't include <bp-start.h>.
40591 (LIBC_START_MAIN): Set up __environ directly instead of using
40592 INIT_ARGV_and_ENVIRON.
40593 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40594 <bp-start.h>.
40595
40596 [BZ #13550]
40597 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40598 definitions.
40599 (CHECK_FCNTL): Likewise.
40600 (CHECK_N_PAGES): Likewise.
40601
40602 [BZ #13550]
40603 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40604 definitions.
40605 (CHECK_SIGSET_NULL_OK): Likewise.
40606 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40607 <bp-checks.h>.
40608 (sigpending): Don't use CHECK_SIGSET.
40609 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40610 <bp-checks.h>.
40611 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40612 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40613 <bp-checks.h>.
40614 (do_sigsuspend): Don't use CHECK_SIGSET.
40615 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40616 use CHECK_SIGSET.
40617 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40618 (do_sigwait): Don't use CHECK_SIGSET.
40619 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40620 use CHECK_SIGSET.
40621 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40622 include <bp-checks.h>.
40623 (sigpending): Don't use CHECK_SIGSET.
40624 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40625 include <bp-checks.h>.
40626 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40627 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40628 <bp-checks.h>.
40629 (sigpending): Don't use CHECK_SIGSET.
40630 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40631 <bp-checks.h>.
40632 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40633
40634 [BZ #13550]
40635 * sysdeps/generic/bp-semctl.h: Remove file.
40636 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40637 <bp-checks.h> and <bp-semctl.h>.
40638 (__old_semctl): Don't use CHECK_SEMCTL.
40639 (__new_semctl): Likewise.
40640 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40641 and <bp-semctl.h>.
40642 (__old_semctl): Don't use CHECK_SEMCTL.
40643 (__new_semctl): Likewise.
40644 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40645 <bp-checks.h> and <bp-semctl.h>.
40646 (__old_semctl): Don't use CHECK_SEMCTL.
40647 (__new_semctl): Likewise.
40648 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40649 <bp-checks.h> and <bp-semctl.h>.
40650 (semctl): Don't use CHECK_SEMCTL.
40651
40652 [BZ #13550]
40653 * Makerules (elide-bp-thunks): Remove variable.
40654 (elide-routines.oS): Don't use $(elide-bp-thunks).
40655 (elide-routines.os): Likewise.
40656 (elide-routines.o): Likewise.
40657 (elide-routines.op): Likewise.
40658 (elide-routines.og): Likewise.
40659 (objects): Don't use $(bp-thunks).
40660 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40661 include.
40662 (common-generated): Do not add s-proto-bp.d.
40663 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40664 (int): Likewise.
40665 (typ): Likewise.
40666 Do not generate makefile rules for bounded-pointer thunks.
40667 * sysdeps/generic/bp-thunks.h: Remove file.
40668 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40669 * sysdeps/unix/s-proto-bp.S: Likewise.
40670
40671 [BZ #15062]
40672 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40673 parts of result separately when argument is not close to line from
40674 -i to i and one part of argument is small.
40675 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40676 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40677 * math/libm-test.inc (cacos_test): Add more tests.
40678 (casin_test): Likewise.
40679 (casinh_test): Likewise.
40680 * sysdeps/i386/fpu/libm-test-ulps: Update.
40681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40682
40683 2013-01-31 David S. Miller <davem@davemloft.net>
40684
40685 * po/de.po: Update from translation team.
40686
40687 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40688
40689 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40690
40691 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40692
40693 * configure.in (_AC_PROG_CC_C89): New definition.
40694 * configure: Regenerate.
40695
40696 * configure.in (AC_PROG_CPP): New definition.
40697 * configure: Regenerate.
40698
40699 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40700
40701 * debug/tst-backtrace.h: New file.
40702 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40703 (ret): Remove variable.
40704 (x): Likewise.
40705 (FAIL): Remove macro.
40706 (NO_INLINE): Likewise.
40707 (fn1): Use match function instead of strstr.
40708 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40709 (ret): Remove variable.
40710 (x): Likewise.
40711 (FAIL): Remove macro.
40712 (NO_INLINE): Likewise.
40713 (fn): Use match function instead of strstr.
40714 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40715 (ret): Remove variable.
40716 (x): Likewise.
40717 (FAIL): Remove macro.
40718 (NO_INLINE): Likewise.
40719 (handle_signal): Use match function instead of strstr.
40720 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40721 (ret): Remove variable.
40722 (x): Likewise.
40723 (FAIL): Remove macro.
40724 (NO_INLINE): Likewise.
40725 (handle_signal): Use match function instead of strstr.
40726
40727 2013-01-23 Roland McGrath <roland@hack.frob.com>
40728
40729 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40730
40731 2013-01-23 David S. Miller <davem@davemloft.net>
40732
40733 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40734 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40735 argument of CAS if possible.
40736 * sysdeps/sparc/sparc64/bits/atomic.h
40737 (__arch_compare_and_exchange_val_32_acq): Likewise.
40738 (__arch_compare_and_exchange_val_64_acq): Likewise.
40739
40740 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40741
40742 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40743 * sysdeps/posix/ulimit.c: ... this.
40744 Include <limits.h>.
40745 * sysdeps/unix/bsd/ulimit.c: Remove file.
40746
40747 2013-01-23 Adam Conrad <adconrad@0c3.net>
40748
40749 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40750 (LDFLAGS-tst-array5): Likewise.
40751
40752 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40753
40754 [BZ #15036]
40755 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40756 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40757 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40758 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40759
40760 2013-01-21 David S. Miller <davem@davemloft.net>
40761
40762 * sysdeps/sparc/backtrace.c: New file.
40763 * sysdeps/sparc/sparc32/backtrace.h: New file.
40764 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40765 * sysdeps/sparc/sparc64/backtrace.h: New file.
40766 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40767 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40768 -funwind-tables.
40769
40770 2013-01-21 Andreas Schwab <schwab@suse.de>
40771
40772 [BZ #15020]
40773 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40774 closed its stdout.
40775
40776 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40777
40778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40779 "mpa2.h".
40780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40781
40782 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40783 Mark Mitchell <mark@codesourcery.com>
40784 Tom de Vries <tom@codesourcery.com>
40785 Paul Pluzhnikov <ppluzhnikov@google.com>
40786
40787 * debug/tst-backtrace2.c: New file.
40788 * debug/tst-backtrace3.c: Likewise.
40789 * debug/tst-backtrace4.c: Likewise.
40790 * debug/tst-backtrace5.c: Likewise.
40791 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40792 (CFLAGS-tst-backtrace3.c): Likewise.
40793 (CFLAGS-tst-backtrace4.c): Likewise.
40794 (CFLAGS-tst-backtrace5.c): Likewise.
40795 (LDFLAGS-tst-backtrace2): Likewise.
40796 (LDFLAGS-tst-backtrace3): Likewise.
40797 (LDFLAGS-tst-backtrace4): Likewise.
40798 (LDFLAGS-tst-backtrace5): Likewise.
40799 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40800 tst-backtrace4 and tst-backtrace5.
40801
40802 2013-01-18 Anton Blanchard <anton@samba.org>
40803 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40804
40805 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40806 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40807 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40808 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40810 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40811 "+r" and remove output regs list as redundant. Add explicit inline
40812 asm to specify register of return val to work around compiler codegen
40813 bug. Remove (int) cast on return value. Add return type parameter to
40814 use in macro so that this macro does not truncate return value for
40815 64-bit values.
40816 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40817 pass to INTERNAL_VSYSCALL_NCS.
40818 (INLINE_VSYSCALL): Add 'long int' as return type to
40819 INTERNAL_VSYSCALL_NCS macro invocation.
40820 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40821 INTERNAL_VSYSCALL_NCS macro invocation.
40822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40823
40824 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40825
40826 [BZ #14496]
40827 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40828 Fix application of SIMD FP exception mask.
40829
40830 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40831 mp_no from a power of two.
40832 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40833 __mpexp_twomm1. Use __pow_mp.
40834
40835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40836 multiplication.
40837
40838 2013-01-17 David S. Miller <davem@davemloft.net>
40839
40840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40841
40842 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40843
40844 [BZ #15023]
40845 * include/complex.h: Condition contents on [!_COMPLEX_H].
40846 (__kernel_casinhf): New prototype.
40847 (__kernel_casinh): Likewise.
40848 (__kernel_casinhl): Likewise.
40849 * math/Makefile (libm_calls): Add k_casinh.
40850 * math/k_casinh.c: New file.
40851 * math/k_casinhf.c: Likewise.
40852 * math/k_casinhl.c: Likewise.
40853 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40854 finite nonzero arguments.
40855 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40856 finite nonzero arguments.
40857 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40858 finite nonzero arguments.
40859 * math/s_casinh.c: Do not include <float.h>.
40860 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40861 * math/s_casinhf.c: Do not include <float.h>.
40862 (__casinhf): Move code for finite nonzero arguments to
40863 k_casinhf.c.
40864 * math/s_casinhl.c: Do not include <float.h>.
40865 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40866 redefine.
40867 (__casinhl): Move code for finite nonzero arguments to
40868 k_casinhl.c.
40869 * math/libm-test.inc (cacos_test): Add more tests.
40870 * sysdeps/i386/fpu/libm-test-ulps: Update.
40871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40872
40873 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40874
40875 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40876 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40877 [!HAVE_MREMAP]: Remove [defined linux] case.
40878 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40879
40880 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40881
40882 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40883
40884 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40885
40886 * elf/elf.h (R_386_SIZE32): New relocation.
40887 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40888 R_386_SIZE32.
40889 (elf_machine_rela): Likewise.
40890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40891 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40892
40893 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40894
40895 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40896 (FP_FAST_FMA): Do not define.
40897 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40898 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40899 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40900 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40901 !_SOFT_FLOAT]: Likewise.
40902 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40903 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40904 value.
40905 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40906 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40908 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40909 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40910 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40911 file.
40912
40913 2013-01-16 Andreas Schwab <schwab@suse.de>
40914
40915 [BZ #14327]
40916 * include/stdlib.h (__mktemp): Add declaration.
40917 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40918 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40919
40920 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40921
40922 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40923 definitions.
40924 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40925 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40926 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40927 definitions here.
40928 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40929 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40930 definitions.
40931 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40932 and ONE.
40933 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40934 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40935 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40936 definitions.
40937 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40938 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40939 definitions.
40940 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40941
40942 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40943
40944 2013-01-15 David S. Miller <davem@davemloft.net>
40945
40946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40947 trunc{,f} to libm-sysdep_routes.
40948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40950 file.
40951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40953 file.
40954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40955 file.
40956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40958 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40959 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40960 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40961 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40962 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40963 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40964
40965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40966 nearbyint{,f} to libm-sysdep_routes.
40967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40969 New file.
40970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40971 file.
40972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40973 New file.
40974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40975 file.
40976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40978 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40979 file.
40980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40981 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40982 file.
40983 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40984 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40985 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40986
40987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40988 libc_feholdexcept and libc_fesetenv.
40989
40990 2013-01-15 Mike Frysinger <vapier@gentoo.org>
40991
40992 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40993
40994 2013-01-14 David S. Miller <davem@davemloft.net>
40995
40996 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40997 (SPARC_ASM_VIS2_IFUNC): Likewise.
40998 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41000 use of 'siam' instruction.
41001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41002 Likewise.
41003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41004 Likewise.
41005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41006 Likewise.
41007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41012 file.
41013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41014 file.
41015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41016 file.
41017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41018 file.
41019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41024 new VIS2 routines.
41025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41028 Likewise.
41029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41034 routines to libm-sysdep_routines.
41035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41036
41037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41038 fdim/fdimf to libm-sysdep_routines.
41039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41040 file.
41041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41043 file.
41044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41047 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41048 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41049 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41050 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41051
41052 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41053
41054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41055 to optimize copies.
41056
41057 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41060
41061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41062 local variable MPTWO.
41063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41064 Likewise.
41065
41066 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41067
41068 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41069 GLOB_NOESCAPE.
41070
41071 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41072
41073 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41074
41075 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41076
41077 * manual/pattern.texi (glob_t): Document gl_flags.
41078 (glob64_t): Likewise.
41079
41080 2013-01-11 David S. Miller <davem@davemloft.net>
41081
41082 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41083 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41084 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41085 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41086 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41087 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41088 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41089 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41090 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41091 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41092 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41093 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41094 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41095
41096 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41097 sparc V9 rather than using V8 code.
41098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41100
41101 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41102 Move to...
41103 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41104 Here.
41105
41106 2013-01-11 Roland McGrath <roland@hack.frob.com>
41107
41108 [BZ #14941]
41109 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41110 not in the main loop.
41111 * configure: Regenerated.
41112
41113 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41114
41115 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41116 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41117 to just #else.
41118 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41119 [!__GLIBC_HAVE_LONG_LONG] case.
41120 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41121 condition to just #else.
41122 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41123 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41124 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41125 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41126 unconditional.
41127 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41128 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41129 #elif condition to just #else.
41130 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41131 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41132 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41133 #elif condition to just #else.
41134
41135 2013-01-11 Steve Ellcey <sellcey@mips.com>
41136
41137 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41138 (EF_MIPS_ARCH_64): Fix value.
41139 (EF_MIPS_ARCH_32R2): New.
41140 (EF_MIPS_ARCH_64R2): New.
41141
41142 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41143
41144 * Makeconfig (+link-pie-before-libc): New.
41145 (+link-pie-after-libc): Likewise.
41146 (+link-pie-tests): Likewise.
41147 (+link-pie): Rewritten.
41148 (link-before-libc): Remove $(config-LDFLAGS).
41149 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41150 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41151 (config-LDFLAGS): Renamed to ...
41152 (rtld-LDFLAGS): This.
41153 (rtld-tests-LDFLAGS): New macro.
41154 (link-libc-rpath-link): Likewise.
41155 (link-libc-tests-rpath-link): Likewise.
41156 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41157 (link-libc): Prepand $(link-libc-rpath-link).
41158 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41159 (test-program-prefix): New macro.
41160 (test-via-rtld-prefix): Likewise.
41161 (test-program-cmd): Likewise.
41162 (host-test-program-cmd): Likewise.
41163 * Makefile ($(common-objpfx)testrun.sh): Replace
41164 $(run-program-prefix) with $(test-program-prefix).
41165 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41166 $(rtld-LDFLAGS).
41167 ($(common-objpfx)shlib.lds): Likewise.
41168 (build-module-helper): Likewise.
41169 ($(common-objpfx)format.lds): Likewise.
41170 * Rules (binaries-pie-tests): New.
41171 (binaries-pie-notests): Likewise.
41172 (binaries-pie): Rewritten.
41173 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41174 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41175 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41176 (make-test-out): Replace $(host-built-program-cmd) with
41177 $(host-test-program-cmd).
41178 * config.make.in (build-hardcoded-path-in-tests): New variable.
41179 * configure.in (--enable-hardcoded-path-in-tests): New configure
41180 option.
41181 (hardcoded_path_in_tests): New AC_SUBST.
41182 * configure: Regenerated.
41183 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41184 $(built-program-cmd) with $(test-program-cmd).
41185 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41186 (test_program_cmd): This.
41187 * elf/Makefile ($(objpfx)order.out): Run test with
41188 $(test-program-prefix).
41189 ($(objpfx)order2.out): Likewise.
41190 ($(objpfx)tst-initorder.out): Likewise.
41191 ($(objpfx)tst-initorder2.out): Likewise.
41192 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41193 $(test-program-cmd).
41194 ($(objpfx)tst-array1-static.out): Likewise.
41195 ($(objpfx)tst-array2.out): Likewise.
41196 ($(objpfx)tst-array3.out): Likewise.
41197 ($(objpfx)tst-array4.out): Likewise.
41198 ($(objpfx)tst-array5.out): Likewise.
41199 ($(objpfx)tst-array5-static.out): Likewise.
41200 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41201 $(test-program-cmd).
41202 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41203 $(run-program-prefix) with $(test-program-prefix).
41204 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41205 (test_program_prefix): This.
41206 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41207 $(run-program-prefix) with $(test-program-prefix).
41208 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41209 (test_program_prefix): This.
41210 * iconvdata/tst-tables.sh: Likewise.
41211 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41212 $(run-program-prefix) with $(test-program-prefix).
41213 ($(objpfx)tst-translit.out): Likewise.
41214 ($(objpfx)tst-gettext2.out): Likewise.
41215 ($(objpfx)tst-gettext4.out): Likewise.
41216 ($(objpfx)tst-gettext6.out): Likewise.
41217 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41218 (test_program_prefix): This.
41219 * intl/tst-gettext2.sh: Likewise.
41220 * intl/tst-gettext4.sh Likewise.
41221 * intl/tst-gettext6.sh: Likewise.
41222 * intl/tst-translit.sh: Likewise.
41223 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41224 with $(test-program-cmd).
41225 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41226 $(run-program-prefix) with $(test-program-prefix).
41227 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41228 (test_program_prefix): This.
41229 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41230 $(run-program-prefix) with $(test-program-prefix).
41231 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41232 (test_program_prefix): This.
41233 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41234 * posix/Makefile ($(objpfx)globtest.out): Replace
41235 $(run-via-rtld-prefix) and $(test-wrapper) with
41236 $(test-program-prefix) and $(test-via-rtld-prefix).
41237 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41238 $(test-program-prefix).
41239 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41240 $(host-test-program-cmd).
41241 (tst-spawn-ARGS): Likewise.
41242 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41243 $(test-program-prefix).
41244 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41245 (test_via_rtld_prefix): This.
41246 (test_wrapper): Renamed to ...
41247 (test_program_prefix): This.
41248 (run_program_prefix): Replaced by test_program_prefix.
41249 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41250 (test_program_prefix): This.
41251 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41252 with $(host-test-program-cmd).
41253 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41254 $(run-program-prefix) with $(test-program-prefix).
41255 ($(objpfx)tst-printf.out): Likewise.
41256 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41257 $(test-program-cmd).
41258 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41259 (test_program_prefix): This.
41260 * stdio-common/tst-unbputc.sh: Likewise.
41261 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41262 $(run-program-prefix) with $(test-program-prefix).
41263 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41264 (test_program_prefix): This.
41265 * string/Makefile ($(objpfx)tst-svc.out): Replace
41266 $(built-program-cmd) with $(test-program-cmd).
41267
41268 2013-01-11 Andreas Jaeger <aj@suse.de>
41269
41270 [BZ #15003]
41271 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41272 value. Sync with Linux 3.7.
41273
41274 2013-01-10 David S. Miller <davem@davemloft.net>
41275
41276 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41277 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41278 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41279
41280 2013-01-10 Roland McGrath <roland@hack.frob.com>
41281
41282 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41283 never set.
41284 * configure: Regenerated.
41285
41286 2013-01-10 David S. Miller <davem@davemloft.net>
41287
41288 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41289 sparc V9 rather than using V8 code.
41290 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41291 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41292
41293 2013-01-10 Roland McGrath <roland@hack.frob.com>
41294
41295 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41296 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41297 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41298 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41299 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41300 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41301 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41302 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41303 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41304 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41305 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41306 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41307 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41308 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41309 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41310 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41311 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41312 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41313 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41314 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41315 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41316 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41317 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41318 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41319 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41320 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41321 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41322
41323 2013-01-10 David S. Miller <davem@davemloft.net>
41324
41325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41326
41327 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41328
41329 * posix/Makefile (tests-static): New variable.
41330 (tests): Add $(tests-static).
41331 (tst-exec-static-ARGS): New variable.
41332 (tst-spawn-static-ARGS): Likewise.
41333 * posix/tst-exec-static.c: New file.
41334 * posix/tst-spawn-static.c: Likewise.
41335 * posix/tst-exec.c: Support run directly.
41336 * posix/tst-spawn.c: Likewise.
41337
41338 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41339
41340 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41341 long.
41342 * math/bits/mathcalls.h (llrint): Likewise.
41343 (llround): Likewise.
41344 * stdlib/stdlib.h (struct drand48_data): Likewise.
41345 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41346 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41347 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41348 Likewise.
41349 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41350 Likewise.
41351 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41352 (elf_greg_t): Likewise.
41353 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41354 (__jmp_buf): Likewise.
41355 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41356 definitions.
41357 (llrint): Likewise, for all definitions.
41358 (llrintl): Likewise.
41359
41360 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41361 Remove [__GNUC__] condition.
41362 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41363 condition to just [__USE_ISOC99].
41364 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41365
41366 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41367
41368 [BZ #14200]
41369 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41370 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41371 defined.
41372 (_POSIX_V6_ILP32_OFF32): Likewise.
41373 (_XBS5_ILP32_OFF32): Likewise.
41374 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41375 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41376
41377 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41378
41379 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41380
41381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41382 doubles __mpexp_twomm1. Adjust usage.
41383 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41384 Remove.
41385
41386 2013-01-10 Andreas Schwab <schwab@suse.de>
41387
41388 [BZ #14964]
41389 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41390 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41391
41392 2013-01-09 David S. Miller <davem@davemloft.net>
41393
41394 [BZ #15003]
41395 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41396 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41397 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41398 (TCP_FASTOPEN): Define.
41399 (tcp_repair_opt): New structure.
41400 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41401 enum values.
41402 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41403 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41404 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41405 (tcp_cookie_transactions): New structure.
41406
41407 2013-01-09 Anton Blanchard <anton@samba.org>
41408
41409 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41410 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41411 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41412 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41413
41414 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41415
41416 * include/features.h (__USE_ANSI): Remove.
41417
41418 2013-01-09 Roland McGrath <roland@hack.frob.com>
41419
41420 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41421
41422 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41423
41424 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41425
41426 * sysdeps/s390/fpu/libm-test-ulps: Update.
41427
41428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41429
41430 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41431 (__acr): Likewise.
41432 (__cpy): Likewise.
41433 (norm): Likewise.
41434 (denorm): Likewise.
41435 (__mp_dbl): Likewise.
41436 (__dbl_mp): Likewise.
41437 (add_magnitudes): Likewise.
41438 (sub_magnitudes): Likewise.
41439 (__add): Likewise.
41440 (__sub): Likewise.
41441 (__mul): Likewise.
41442 (__inv): Likewise.
41443 (__dvd): Likewise.
41444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41445 (__acr): Likewise.
41446 (__cpy): Likewise.
41447 (norm): Likewise.
41448 (denorm): Likewise.
41449 (__mp_dbl): Likewise.
41450 (__dbl_mp): Likewise.
41451 (add_magnitudes): Likewise.
41452 (sub_magnitudes): Likewise.
41453 (__add): Likewise.
41454 (__sub): Likewise.
41455 (__mul): Likewise.
41456 (__inv): Likewise.
41457 (__dvd): Likewise.
41458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41459 (__acr): Likewise.
41460 (__cpy): Likewise.
41461 (norm): Likewise.
41462 (denorm): Likewise.
41463 (__mp_dbl): Likewise.
41464 (__dbl_mp): Likewise.
41465 (add_magnitudes): Likewise.
41466 (sub_magnitudes): Likewise.
41467 (__add): Likewise.
41468 (__sub): Likewise.
41469 (__mul): Likewise.
41470 (__inv): Likewise.
41471 (__dvd): Likewise.
41472
41473 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41474
41475 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41476 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41477 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41478 2 && __USE_EXTERN_INLINES]: Likewise.
41479
41480 2013-01-08 Andreas Jaeger <aj@suse.de>
41481
41482 [BZ# 14985]
41483 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41484 Remove.
41485 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41486 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41487
41488 2013-01-07 Anton Blanchard <anton@samba.org>
41489
41490 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41491 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41492 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41493 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41494 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41495 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41496 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41497 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41499 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41500 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41501 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41502 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41503 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41504 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41505 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41506 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41507 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41508 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41509 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41510 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41511 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41512 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41513 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41514 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41515 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41516 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41517 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41518 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41519 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41520 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41522 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41523 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41524 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41525 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41526 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41527 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41528 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41530 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41531 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41532 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41533
41534 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41535
41536 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41537 (__MALLOC_PMT): Likewise.
41538 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41539 [__GNUC__], only on [_LIBC].
41540 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41541 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41542 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41543 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41544 forward declaration.
41545 (realloc_hook_ini): Likewise.
41546 (memalign_hook_ini): Likewise.
41547 (__libc_memalign): Do not use __MALLOC_PMT in variable
41548 declaration.
41549 (__libc_valloc): Likewise.
41550 (__libc_pvalloc): Likewise.
41551 (__libc_calloc): Likewise.
41552 (__posix_memalign): Likewise.
41553
41554 [BZ #14996]
41555 * math/s_casinh.c: Include <float.h>.
41556 (__casinh): Do not do computation with squaring and square root
41557 for large arguments.
41558 * math/s_casinhf.c: Include <float.h>.
41559 (__casinhf): Do not do computation with squaring and square root
41560 for large arguments.
41561 * math/s_casinhl.c: Include <float.h>.
41562 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41563 (__casinhl): Do not do computation with squaring and square root
41564 for large arguments.
41565 * math/libm-test.inc (casin_test): Add more tests.
41566 (casinh_test): Likewise.
41567 * sysdeps/i386/fpu/libm-test-ulps: Update.
41568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41569
41570 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41571
41572 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41573 (__x86_64_raw_data_cache_size): Likewise.
41574 (__x86_64_data_cache_size_half): Likewise.
41575 (__x86_64_raw_data_cache_size_half): Likewise.
41576 (__x86_64_shared_cache_size): Likewise.
41577 (__x86_64_raw_shared_cache_size): Likewise.
41578 (__x86_64_shared_cache_size_half): Likewise.
41579 (__x86_64_raw_shared_cache_size_half): Likewise.
41580 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41581 to ...
41582 (__x86_data_cache_size): This.
41583 (__x86_64_raw_data_cache_size): Renamed to ...
41584 (__x86_raw_data_cache_size): This.
41585 (__x86_64_data_cache_size_half): Renamed to ...
41586 (__x86_data_cache_size_half): This.
41587 (__x86_64_raw_data_cache_size_half): Renamed to ...
41588 (__x86_raw_data_cache_size_half): This.
41589 (__x86_64_shared_cache_size): Renamed to ...
41590 (__x86_shared_cache_size): This.
41591 (__x86_64_raw_shared_cache_size): Renamed to ...
41592 (__x86_raw_shared_cache_size): This.
41593 (__x86_64_shared_cache_size_half): Renamed to ...
41594 (__x86_shared_cache_size_half): This.
41595 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41596 (__x86_raw_shared_cache_size_half): This.
41597 * sysdeps/x86_64/memcpy.S: Updated.
41598 * sysdeps/x86_64/memset.S: Likewise.
41599 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41600 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41601 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41602
41603 2013-01-04 David S. Miller <davem@davemloft.net>
41604
41605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41606
41607 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41608
41609 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41610 1 to avoid redefinition warning.
41611 (__USE_GNU): Don't define.
41612 (init_signaling_nan): Protoize.
41613
41614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41615
41616 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41617
41618 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41620 (__cpymn): Likewise.
41621 (norm): Remove commented code.
41622 (denorm): Likewise.
41623 (__mp_dbl): Likewise.
41624 (__inv): Likewise.
41625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41626 (__cpymn): Likewise.
41627 (norm): Remove commented code.
41628 (denorm): Likewise.
41629 (__mp_dbl): Likewise.
41630 (__inv): Likewise.
41631
41632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41633 mp_no value for 1.0 and 2.0.
41634 (norm): Use RADIXI instead of radixi.d.
41635 (denorm): Likewise.
41636 (__mul): Use 0.0 instead of zero.d.
41637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41638 mp_no value for 1.0 and 2.0.
41639 (norm): Use RADIXI instead of radixi.d.
41640 (denorm): Likewise.
41641 (__mul): Use 0.0 instead of zero.d.
41642
41643 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41644
41645 [BZ #14994]
41646 * math/s_casinh.c (__casinh): Reduce finite argument to first
41647 quadrant then set signs of results at the end.
41648 * math/s_casinhf.c (__casinhf): Likewise.
41649 * math/s_casinhl.c (__casinhl): Likewise.
41650 * math/libm-test.inc (casin_test): Add more tests.
41651 (casinh_test): Likewise.
41652 * sysdeps/i386/fpu/libm-test-ulps: Update.
41653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41654
41655 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41656
41657 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41658
41659 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41660
41661 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41662 declarations.
41663 (denorm): Likewise.
41664 (__mp_dbl): Likewise.
41665 (__inv): Likewise.
41666
41667 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41668 and adjust the header comment.
41669
41670 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41671 variable name from declaration.
41672
41673 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41674
41675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41676 Initialize COMMON_CPUID_INDEX_7 element.
41677 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41678 (CPUID_RTM): Likewise.
41679 (HAS_RTM): Likewise.
41680 (COMMON_CPUID_INDEX_7): New enum.
41681
41682 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41683
41684 [BZ #14981]
41685 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41686 size is zero, record memory as freed.
41687
41688 2013-01-03 Andreas Jaeger <aj@suse.de>
41689
41690 * po/ia.po: Add new Interlingua translation.
41691
41692 2012-01-03 Allan McRae <allan@archlinux.org>
41693
41694 * locale/programs/localedef.c: Fix description of '--posix' flag.
41695
41696 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41697
41698 * NEWS: Update dates in second copyright notice.
41699 * README: Update copyright dates in example.
41700 * manual/libc.texinfo: Update copyright dates.
41701 * scripts/test-installation.pl: Update copyright date in --version
41702 output.
41703
41704 * hurd/ctty-input.c: Fix copyright notice formatting.
41705 * hurd/ctty-output.c: Likewise.
41706 * hurd/dtable.c: Likewise.
41707 * hurd/hurd-raise.c: Likewise.
41708 * hurd/hurdprio.c: Likewise.
41709 * hurd/msgportdemux.c: Likewise.
41710 * misc/sys/file.h: Likewise.
41711 * misc/sys/ioctl.h: Likewise.
41712 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41713 * sysdeps/mach/hurd/chdir.c: Likewise.
41714 * sysdeps/mach/hurd/fchdir.c: Likewise.
41715 * sysdeps/mach/hurd/rename.c: Likewise.
41716 * sysdeps/mach/hurd/rmdir.c: Likewise.
41717 * sysdeps/mach/hurd/seekdir.c: Likewise.
41718 * sysdeps/mach/hurd/setsid.c: Likewise.
41719 * sysdeps/posix/wait3.c: Likewise.
41720
41721 * All files with FSF copyright notices: Update copyright dates
41722 using scripts/update-copyrights.
41723 * intl/plural.c: Regenerated.
41724 * locale/programs/charmap-kw.h: Likewise.
41725 * locale/programs/locfile-kw.h: Likewise.
41726
41727 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41728
41729 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41730 four values.
41731
41732 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41733 calculation loop and add branch prediction.
41734
41735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41736 check access beyond bounds of m1np.
41737
41738 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41739 MPTWO.
41740 (__inv): Remove local variable MPTWO to use the global
41741 constant.
41742 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41743 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41744 variable MPTWO.
41745 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41746 MP3HALFS static const.
41747
41748 2013-01-01 David S. Miller <davem@davemloft.net>
41749
41750 * po/ca.po: Update from translation team.
41751
41752 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41753
41754 * scripts/update-copyrights: New file.
41755 * Makeconfig: Reformat copyright notice.
41756 * ctype/ctype.h: Likewise.
41757 * debug/swprintf_chk.c: Likewise.
41758 * elf/dl-cache.c: Likewise.
41759 * elf/dl-debug.c: Likewise.
41760 * elf/dl-object.c: Likewise.
41761 * grp/initgroups.c: Likewise.
41762 * hurd/Makefile: Likewise.
41763 * hurd/hurd/signal.h: Likewise.
41764 * hurd/hurdfault.c: Likewise.
41765 * hurd/hurdioctl.c: Likewise.
41766 * hurd/hurdlookup.c: Likewise.
41767 * hurd/intr-msg.c: Likewise.
41768 * iconv/gconv_open.c: Likewise.
41769 * libio/swprintf.c: Likewise.
41770 * locale/lc-ctype.c: Likewise.
41771 * locale/nl_langinfo.c: Likewise.
41772 * mach/Machrules: Likewise.
41773 * mach/Makefile: Likewise.
41774 * malloc/obstack.h: Likewise.
41775 * manual/Makefile: Likewise.
41776 * manual/tsort.awk: Likewise.
41777 * misc/bits/stab.def: Likewise.
41778 * nis/nis_print_group_entry.c: Likewise.
41779 * nis/nis_table.c: Likewise.
41780 * nis/nss_compat/compat-pwd.c: Likewise.
41781 * nis/nss_compat/compat-spwd.c: Likewise.
41782 * po/Makefile: Likewise.
41783 * posix/fnmatch.c: Likewise.
41784 * posix/regex.h: Likewise.
41785 * resolv/Makefile: Likewise.
41786 * resolv/nss_dns/dns-network.c: Likewise.
41787 * resolv/res_hconf.c: Likewise.
41788 * scripts/gen-sorted.awk: Likewise.
41789 * soft-fp/soft-fp.h: Likewise.
41790 * stdio-common/printf.h: Likewise.
41791 * stdlib/monetary.h: Likewise.
41792 * stdlib/random.c: Likewise.
41793 * stdlib/random_r.c: Likewise.
41794 * sysdeps/generic/Makefile: Likewise.
41795 * sysdeps/gnu/Makefile: Likewise.
41796 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41798 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41799 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41800 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41803 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41804 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41805 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41806 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41807 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41808 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41809 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41810 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41811 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41812 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41814 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41815 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41816 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41817 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41818 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41819 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41820 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41821 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41822 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41823 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41824 * sysdeps/mach/hurd/errnos.awk: Likewise.
41825 * sysdeps/mach/hurd/fork.c: Likewise.
41826 * sysdeps/mach/hurd/getcwd.c: Likewise.
41827 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41828 * sysdeps/mach/hurd/mmap.c: Likewise.
41829 * sysdeps/mach/hurd/utimes.c: Likewise.
41830 * sysdeps/mach/hurd/xmknod.c: Likewise.
41831 * sysdeps/posix/profil.c: Likewise.
41832 * sysdeps/posix/readdir_r.c: Likewise.
41833 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41834 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41835 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41836 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41838 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41839 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41840 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41844 * sysdeps/pthread/lio_listio.c: Likewise.
41845 * sysdeps/sparc/dl-procinfo.h: Likewise.
41846 * sysdeps/unix/i386/sysdep.S: Likewise.
41847 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41848 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41849 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41850 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41852 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41853 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41854 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41855 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41856 * sysdeps/wordsize-32/divdi3.c: Likewise.
41857 * time/sys/time.h: Likewise.
41858 * wcsmbs/Makefile: Likewise.
41859
41860 2013-01-01 David S. Miller <davem@davemloft.net>
41861
41862 * po/fr.po: Update from translation team.
41863
41864 * catgets/gencat.c: Update copyright year.
41865 * csu/version.c: Likewise.
41866 * debug/catchsegv.sh: Likewise.
41867 * debug/pcprofiledump.c: Likewise.
41868 * debug/xtrace.sh: Likewise.
41869 * elf/ldconfig.c: Likewise.
41870 * elf/ldd.bash.in: Likewise.
41871 * elf/pldd.c: Likewise.
41872 * elf/sotruss.ksh: Likewise.
41873 * elf/sprof.c: Likewise.
41874 * iconv/iconv_prog.c: Likewise.
41875 * iconv/iconvconfig.c: Likewise.
41876 * locale/programs/locale.c: Likewise.
41877 * locale/programs/localedef.c: Likewise.
41878 * login/programs/pt_chown.c: Likewise.
41879 * malloc/memusage.sh: Likewise.
41880 * malloc/memusagestat.c: Likewise.
41881 * malloc/mtrace.pl: Likewise.
41882 * nscd/nscd.c: Likewise.
41883 * nss/getent.c: Likewise.
41884 * nss/makedb.c: Likewise.
41885 * posix/getconf.c: Likewise.
41886
41887 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41888
41889 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41890 numbers.
41891
41892 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41893
41894 * math/bits/mathcalls.h (modf): Use __nonnull.
41895
41896 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41897
41898 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41899 (split): Use macro CN instead of the bare value.
41900 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41901 could be used.
41902 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41903 instead of the bare value.
41904 (power1): Likewise.
41905
41906 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41907
41908 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41909 __ATAN_TWOM.
41910 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41911
41912 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41913 their values.
41914 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41915 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41916 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41917 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41918
41919 2012-12-28 Andreas Jaeger <aj@suse.de>
41920
41921 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
41922 values are from Linux 3.7.
41923
41924 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41925 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
41926
41927 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41928
41929 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41930 TRUE case.
41931
41932 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41933 (norm): Likewise.
41934 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41935 variables with preprocessor constants.
41936 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41937 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41938 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41939
41940 2012-12-27 Bruno Haible <bruno@clisp.org>
41941
41942 [BZ #14317]
41943 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41944 only if needed.
41945
41946 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41947
41948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41949 and use variable directly.
41950 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41951
41952 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41953 MPONE.
41954 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41956 variable MPONE.
41957 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41958 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41959 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41960 include directive. Remove local variable MPONE.
41961 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41962 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41964
41965 2012-12-25 David S. Miller <davem@davemloft.net>
41966
41967 * version.h (RELEASE): Set to "development".
41968 (VERSION): Set to "2.17.90".
41969 * NEWS: Add 2.18 section.
41970
41971 2012-12-21 David S. Miller <davem@davemloft.net>
41972
41973 * po/hr.po: Update from translation team.
41974
41975 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41976
41977 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41978
41979 2012-12-19 Steve Ellcey <sellcey@mips.com>
41980
41981 * NEWS: Mention new memcpy for MIPS.
41982
41983 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41984
41985 * manual/contrib.texi (Contributors): Spelling correction.
41986
41987 2012-12-15 David S. Miller <davem@davemloft.net>
41988
41989 * po/ru.po: Update from translation team.
41990
41991 2012-12-13 David S. Miller <davem@davemloft.net>
41992
41993 * NEWS: Mention IFUNC testsuite enhancements.
41994
41995 * po/pl.po: Update from translation team.
41996 * po/bg.po: Likewise.
41997
41998 * manual/contrib.texi (Contributors): Update entries for Hongjiu
41999 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42000
42001 2012-12-11 David S. Miller <davem@davemloft.net>
42002
42003 * po/sv.po: Update from translation team.
42004
42005 * po/vi.po: Update from translation team.
42006
42007 * po/cs.po: Update from translation team.
42008
42009 * po/de.po: Update from translation team.
42010 * po/eo.po: Likewise.
42011 * po/nl.po: Likewise.
42012
42013 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42014
42015 [BZ #14246]
42016 * manual/argp.texi (Argp Helper Functions): Move node to follow
42017 Argp Parsing State.
42018
42019 [BZ #14872]
42020 * manual/conf.texi (Limits on File System Capacity): Mention if
42021 terminating null is included in the max size.
42022
42023 2012-12-10 Andreas Jaeger <aj@suse.de>
42024
42025 * po/cs.po: Update from translation team.
42026
42027 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42028
42029 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42030 void pointer and cast to uintptr_t.
42031 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42032 path.
42033 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42034 * sysdeps/s390/s390-64/memset.S: Likewise.
42035
42036 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42037
42038 [BZ #14833]
42039 * menual/message.texi (Message Translation): Fix typos.
42040 (Helper programs for gettext): Likewise.
42041
42042 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42043
42044 [BZ #14898]
42045 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42046 Change to -1.
42047
42048 2012-12-07 David S. Miller <davem@davemloft.net>
42049
42050 * po/libc.pot: Update.
42051
42052 2012-12-07 Richard Henderson <rth@redhat.com>
42053
42054 [BZ #10114]
42055 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42056 normal/normal case to before the switch.
42057 (_FP_DIV): Likewise.
42058
42059 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42060 Mike Frysinger <vapier@gentoo.org>
42061
42062 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42063 check for __NR_fadvise64_64.
42064
42065 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42066
42067 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42068 0, not just to plain "0" as a statement.
42069 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42070 with cw.
42071
42072 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42073
42074 * NEWS: Use sourceware.org in Bugzilla URL.
42075
42076 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42077
42078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42079 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42080
42081 * stdio-common/tst-put-error.c (do_test): Add newline to the
42082 padded test to ensure flush.
42083
42084 2012-12-05 Jeff Law <law@redhat.com>
42085
42086 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42087
42088 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42089
42090 * README: Don't refer to ports add-on as distributed separately.
42091 Mention AArch64 in list of systems supported in the ports add-on.
42092
42093 * LICENSES: Add more non-FSF copyright and license notices.
42094
42095 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42096 ((unused)).
42097
42098 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42099
42100 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42101 10000 as width of padded output.
42102
42103 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42104
42105 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42106
42107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42108 variable LX with __attribute__ ((unused)).
42109 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42110 Likewise.
42111 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42113 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42114 with __attribute__ ((unused)).
42115
42116 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42117
42118 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42119
42120 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42121
42122 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42123 (CFLAGS-nldbl-acos.c): New variable.
42124 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42125 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42126 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42127 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42128 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42129 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42130 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42131 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42132 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42133 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42134 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42135 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42136 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42137 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42138 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42139 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42140 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42141 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42142 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42143 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42144 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42145 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42146 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42147 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42148 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42149 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42150 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42151 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42152 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42153 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42154 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42155 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42156 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42157 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42158 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42159 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42160 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42161 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42162 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42163 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42164 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42165 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42166 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42167 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42168 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42169 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42170 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42171 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42172 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42173 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42174 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42175 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42176 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42177 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42178 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42179 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42180 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42181 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42182 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42183 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42184 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42185 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42186 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42187 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42188 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42189 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42190 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42191 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42192 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42193 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42194 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42195 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42196 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42197 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42198 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42199 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42200 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42201 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42202 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42203 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42204 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42205 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42206 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42207 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42208 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42209 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42210 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42211 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42212 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42213 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42214 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42215 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42216 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42217 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42218 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42219 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42220 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42221
42222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42223 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42224
42225 [BZ #14914]
42226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42227 whole low double instead of just low 47 bits when splitting values
42228 into two parts.
42229
42230 2012-12-03 Allan McRae <allan@archlinux.org>
42231
42232 * manual/stdio.texi (Predefined Printf Handlers): Remove
42233 @hsep and @vsep usage.
42234
42235 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42236
42237 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42238 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42239
42240 2012-12-03 Jeff Law <law@redhat.com>
42241
42242 * time/sys/time.h (settimeofday): Do not mark TV argument
42243 as __nonnull.
42244
42245 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42246
42247 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42248 when currently writing and seek to current position when not.
42249 * libio/Makefile (tests): Remove bug-fclose1.
42250 * libio/bug-fclose1.c: Delete.
42251
42252 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42253
42254 * manual/arith.texi (feenableexcept): Fix typo.
42255 (fedisableexcept): Likewise.
42256
42257 2012-11-30 Roland McGrath <roland@hack.frob.com>
42258
42259 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42260 second, differently-typed declaration, rather than a cast.
42261
42262 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42263
42264 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42265 * include/rpc/svc.h: ... here.
42266
42267 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42268
42269 [BZ #13013]
42270 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42271 depending n and resplen2 to catch cases where answer
42272 equals answerp2.
42273
42274 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42275
42276 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42277 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42278
42279 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42280
42281 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42282
42283 2012-11-29 Roland McGrath <roland@hack.frob.com>
42284
42285 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42286
42287 2012-11-28 Jeff Law <law@redhat.com>
42288
42289 [BZ #13761]
42290 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42291 dataset_temporary. Track alloca usage into alloca_used.
42292 If dataset is large allocate and release it via malloc/free.
42293
42294 2012-06-04 Florian Weimer <fweimer@redhat.com>
42295
42296 [BZ #14197]
42297 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42298
42299 2012-11-28 David S. Miller <davem@davemloft.net>
42300
42301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42302
42303 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42304
42305 [BZ #14803]
42306 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42307 of pi/2 rounded to nearest to 64 bits.
42308 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42309 nearest to 64 bits.
42310 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42311 bits.
42312
42313 2012-11-28 Jeff Law <law@redhat.com>
42314 Martin Osvald <mosvald@redhat.com>
42315
42316 [BZ #14889]
42317 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42318 * sunrpc/svc.c: Include time.h.
42319 (__svc_accept_failed): New function.
42320 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42321 any reason other than EINTR, call __svc_accept_failed.
42322 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42323 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42324
42325 2012-11-28 Andreas Schwab <schwab@suse.de>
42326
42327 * scripts/abilist.awk: Also handle indirect functions in .opd
42328 section.
42329
42330 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42331
42332 [BZ #13881]
42333 * sysdeps/x86/fpu/powl_helper.c: New file.
42334 * sysdeps/x86/fpu/Makefile: Likewise.
42335 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42336 (p3): New object.
42337 (__ieee754_powl): Use __powl_helper for finite arguments except
42338 integer exponents below 8.
42339 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42340 (p3): New object.
42341 (__ieee754_powl): Use __powl_helper for finite arguments except
42342 integer exponents below 8.
42343 * math/libm-test.inc (pow_test): Add more tests and enable some
42344 previously disabled tests.
42345 * sysdeps/i386/fpu/libm-test-ulps: Update.
42346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42347
42348 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42349 Carlos O'Donell <carlos_odonell@mentor.com>
42350
42351 * nss/makedb.c (is_prime): Assert that input is odd and greater
42352 than 4. Note that fact in a comment too.
42353 (next_prime): Add 4 to input.
42354
42355 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42356
42357 [BZ #11741]
42358 * libio/Makefile (tests): Add test case tst-fwrite-error.
42359 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42360 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42361 * libio/tst-fwrite-error.c: New test case.
42362
42363 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42364
42365 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42366 before casting to void *.
42367 * include/libc-internal.h (__pointer_type): New macro.
42368 (__integer_if_pointer_type_sub): Likewise.
42369 (__integer_if_pointer_type): Likewise.
42370 (cast_to_integer): Likewise.
42371 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42372 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42373 before casting to atomic64_t.
42374 (atomic_exchange_acq): Likewise.
42375 (__arch_exchange_and_add_body): Likewise.
42376 (__arch_add_body): Likewise.
42377 (atomic_add_negative): Likewise.
42378 (atomic_add_zero): Likewise.
42379
42380 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42381
42382 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42383 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42384 (add_fdes): Likewise.
42385 (linear_search_fdes): Likewise.
42386 (binary_search_unencoded_fdes): Likewise.
42387
42388 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42389
42390 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42391
42392 2012-11-24 Adam Conrad <adconrad@0c3.net>
42393
42394 * configure.in: Autodetect C++ header directories.
42395 * configure: Regenerated.
42396
42397 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42398
42399 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42400
42401 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42402
42403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42404
42405 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42406
42407 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42408 LDBL_MANT_DIG == 106]: Disable some tests.
42409 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42410 Likewise.
42411 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42412 Likewise.
42413
42414 [BZ #14871]
42415 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42416 input for small inputs. Return +/- pi/2 for large inputs.
42417 * math/libm-test.inc (atan_test): Add more tests.
42418
42419 * sysdeps/generic/unwind-dw2-fde-glibc.c
42420 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42421 __attribute__ ((unused)).
42422
42423 [BZ #14645]
42424 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42425 x * y if x and y are nonzero and z is zero.
42426
42427 [BZ #14811]
42428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42429 nonzero exponents with absolute value below 0x1p-117 to +/-
42430 0x1p-117.
42431
42432 [BZ #14869]
42433 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42434 up arguments below 2**-450, not just those below 2**-500.
42435 * math/libm-test.inc (hypot_test): Add another test.
42436
42437 [BZ #14868]
42438 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42439 Return a+b for ratio over 2**120, not 2**60.
42440 * math/libm-test.inc (hypot_test): Add another test.
42441
42442 * math/libm-test.inc (clog_test): Use
42443 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42444 (clog10_test): Likewise.
42445
42446 [BZ #6778]
42447 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42448
42449 2012-11-22 Andreas Schwab <schwab@suse.de>
42450
42451 * sysdeps/i386/fpu/libm-test-ulps: Update.
42452
42453 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42454
42455 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42456 printf output with newline.
42457
42458 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42459
42460 [BZ #14865]
42461 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42462 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42463 -z nodlopen, -z initfirst and -z execstack support.
42464 * configure: Regenerated.
42465
42466 * elf/elf.h (DF_1_NODIRECT): New macro.
42467 (DF_1_IGNMULDEF): Likewise.
42468 (DF_1_NOKSYMS): Likewise.
42469 (DF_1_NOHDR): Likewise.
42470 (DF_1_EDITED): Likewise.
42471 (DF_1_NORELOC): Likewise.
42472 (DF_1_SYMINTPOSE): Likewise.
42473 (DF_1_GLOBAUDIT): Likewise.
42474 (DF_1_SINGLETON): Likewise.
42475 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42476 DT_1_SUPPORTED_MASK bits.
42477 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42478
42479 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42480
42481 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42482
42483 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42484
42485 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42486 macro.
42487
42488 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42489 (sendmmsg): Move declarations...
42490 * socket/sys/socket.h: ... here.
42491 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42492 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42493 include it from...
42494 * socket/recvmmsg.c: ... this new file.
42495 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42496 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42497 definition of __sendmmsg hidden.
42498 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42499 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42500 Move ENOSYS stub into and include it from...
42501 * socket/sendmmsg.c: ... this new file.
42502 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42503 (sysdep_routines): Move recvmmsg and sendmmsg...
42504 * socket/Makefile (routines): ... here.
42505 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42506 (GLIBC_PRIVATE): Add __sendmmsg.
42507 * include/sys/socket.h (__sendmmsg): Add declarations.
42508 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42509 sendmmsg.
42510
42511 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42512
42513 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42514 variable I1 with __attribute__ ((unused)).
42515 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42516
42517 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42518
42519 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42520 DUMMY variables with __attribute__ ((unused)).
42521
42522 * bits/byteswap.h: Include <bits/types.h>.
42523 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42524
42525 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42526
42527 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42528 string_t. Do not manually set errno.
42529 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42530 length with __strnlen. Make sure to both set errno and return it on
42531 failure.
42532
42533 2012-11-19 David S. Miller <davem@davemloft.net>
42534
42535 With help from Joseph Myers.
42536 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42537 very large arguments properly.
42538 * math/libm-test.inc (atan_test): New tests.
42539 (atan2_test): New tests.
42540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42542
42543 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42544
42545 [BZ #14856]
42546 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42547 Define to 3.
42548
42549 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42550 [POSIX] (EADDRNOTAVAIL): Likewise.
42551 [POSIX] (EAFNOSUPPORT): Likewise.
42552 [POSIX] (EALREADY): Likewise.
42553 [POSIX] (ECONNABORTED): Likewise.
42554 [POSIX] (ECONNREFUSED): Likewise.
42555 [POSIX] (ECONNRESET): Likewise.
42556 [POSIX] (EDESTADDRREQ): Likewise.
42557 [POSIX] (EDQUOT): Likewise.
42558 [POSIX] (EHOSTUNREACH): Likewise.
42559 [POSIX] (EIDRM): Likewise.
42560 [POSIX] (EISCONN): Likewise.
42561 [POSIX] (ELOOP): Likewise.
42562 [POSIX] (EMULTIHOP): Likewise.
42563 [POSIX] (ENETDOWN): Likewise.
42564 [POSIX] (ENETUNREACH): Likewise.
42565 [POSIX] (ENOBUFS): Likewise.
42566 [POSIX] (ENODATA): Likewise.
42567 [POSIX] (ENOLINK): Likewise.
42568 [POSIX] (ENOMSG): Likewise.
42569 [POSIX] (ENOPROTOOPT): Likewise.
42570 [POSIX] (ENOSR): Likewise.
42571 [POSIX] (ENOSTR): Likewise.
42572 [POSIX] (ENOTCONN): Likewise.
42573 [POSIX] (ENOTSOCK): Likewise.
42574 [POSIX] (EOPNOTSUPP): Likewise.
42575 [POSIX] (EOVERFLOW): Likewise.
42576 [POSIX] (EPROTO): Likewise.
42577 [POSIX] (EPROTONOSUPPORT): Likewise.
42578 [POSIX] (EPROTOTYPE): Likewise.
42579 [POSIX] (ESTALE): Likewise.
42580 [POSIX] (ETIME): Likewise.
42581 [POSIX] (ETXTBSY): Likewise.
42582 [POSIX] (EWOULDBLOCK): Likewise.
42583 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42584 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42585 [POSIX] (SEEK_CUR): Likewise.
42586 [POSIX] (SEEK_END): Likewise.
42587 [POSIX || UNIX98] (mode_t): Do not require.
42588 [POSIX] (off_t): Likewise.
42589 [POSIX] (pid_t): Likewise.
42590 [POSIX] (sys/stat.h): Do not allow header.
42591 [POSIX] (unistd.h): Likewise.
42592 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42593 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42594 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42595 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42596 require.
42597 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42598 sigevent): Specify elements.
42599 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42600 entry.
42601 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42602 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42603
42604 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42605 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42606 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42607 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42608 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42609 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42610 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42611 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42612 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42613 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42614 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42615 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42616 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42617 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42618 Likewise.
42619 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42620 Likewise.
42621 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42622 Likewise.
42623 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42624 Likewise.
42625 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42626 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42627 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42628 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42629 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42630 Specify lower bound on value.
42631 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42632 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42633 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42634 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42635 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42636 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42637 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42638 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42639 value.
42640 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42641 as optional.
42642 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42643 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42644 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42645 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42646 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42647 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42648 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42649 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42650 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42651 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42652 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42653 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42654 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42655 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42656 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42657 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42658 entry.
42659 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42660 optional.
42661 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42662 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42663 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42664 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42665 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42666 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42667 Likewise.
42668 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42669 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42670 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42671 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42672 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42673 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42674 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42675 as optional.
42676 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42677 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42680 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42681 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42682 specify as optional.
42683 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42685 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42686 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42687 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42688 [XPG3] (NL_LANGMAX): Likewise.
42689 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42690 [POSIX || XPG3] (NL_NMAX): Likewise.
42691 [POSIX || XPG3] (NL_SETMAX): Likewise.
42692 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42693 [XPG3] (NZERO): Likewise.
42694 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42695 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42696 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42697 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42698 (REG_ERANGE): Expect.
42699 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42700 optional-constant.
42701 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42702 Use (void) in prototype.
42703 [POSIX] (*_t): Allow.
42704 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42705 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42706 (WRDE_BADVAL): Expect.
42707
42708 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42709 expect.
42710 [XPG3 || XPG4] (O_RSYNC): Likewise.
42711 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42712 Likewise.
42713 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42714 [XPG3 || XPG4] (sigqueue): Likewise.
42715 [XPG3 || XPG4] (sigtimedwait): Likewise.
42716 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42717 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42718 [XPG3 || XPG4] (vsnprintf): Likewise.
42719 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42720 Likewise.
42721 [XPG3 || XPG4] (blksize_t): Likewise.
42722 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42723 Likewise.
42724 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42725 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42726 [XPG3 || XPG4] (struct itimerspec): Likewise.
42727 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42728 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42729 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42730 [XPG3 || XPG4] (clockid_t): Likewise.
42731 [XPG3 || XPG4] (timer_t): Likewise.
42732 [XPG3 || XPG4] (clock_getres): Likewise.
42733 [XPG3 || XPG4] (clock_gettime): Likewise.
42734 [XPG3 || XPG4] (clock_settime): Likewise.
42735 [XPG3 || XPG4] (nanosleep): Likewise.
42736 [XPG3 || XPG4] (timer_create): Likewise.
42737 [XPG3 || XPG4] (timer_delete): Likewise.
42738 [XPG3 || XPG4] (timer_gettime): Likewise.
42739 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42740 [XPG3 || XPG4] (timer_settime): Likewise.
42741 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42742 [XPG3 || XPG4] (getlogin_r): Likewise.
42743 [XPG3 || XPG4] (pread): Likewise.
42744 [XPG3 || XPG4] (pthread_atfork): Likewise.
42745 [XPG3 || XPG4] (pwrite): Likewise.
42746
42747 [BZ #14835]
42748 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42749 <bits/siginfo.h>.
42750
42751 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42752
42753 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42754 finalizing MALLSTREAM.
42755
42756 * sysdeps/mach/hurd/syncfs.c: New file.
42757
42758 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42759
42760 [BZ #14719]
42761 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42762 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42763 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42764 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42765 (_nss_dns_gethostbyname4_r): Likewise.
42766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42767 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42768
42769 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42770
42771 [BZ #13763]
42772 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42773
42774 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42775
42776 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42777 * elf/cache.c (print_entry): Print ",AArch64" for
42778 FLAG_AARCH64_LIB64
42779
42780 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42781 * elf/cache.c (print_entry): Print ",hard-float" for
42782 FLAG_ARM_LIBHF.
42783
42784 2012-11-18 David S. Miller <davem@davemloft.net>
42785
42786 With help from Joseph Myers.
42787 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42788 cutoff to 2**-13.
42789 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42790 cutoff to 2**-25.
42791 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42792 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42793 small.
42794 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42795 * math/libm-test.inc (y0_test): New tests.
42796 (y1_test): New tests.
42797 * sysdeps/i386/fpu/libm-test-ulps: Update.
42798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42800
42801 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42802
42803 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42804 64-bit targets.
42805 * configure: Regenerated.
42806
42807 2012-11-17 David S. Miller <davem@davemloft.net>
42808
42809 [BZ #14811]
42810 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42811 nonzero exponents with absolute value below 0x1p-128 to +/-
42812 0x1p-128.
42813
42814 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42815
42816 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42817
42818 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42819
42820 * posix/getconf-speclist.c: New file.
42821 * posix/posix-envs.def: Likewise.
42822 * posix/confstr.c (START_ENV_GROUP): New macro.
42823 (END_ENV_GROUP): Likewise.
42824 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42825 (KNOWN_PRESENT_ENV_STRING): Likewise.
42826 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42827 (UNKNOWN_ENVIRONMENT): Likewise.
42828 (confstr): Include posix-envs.def instead of handling
42829 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42830 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42831 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42832 (END_ENV_GROUP): Likewise.
42833 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42834 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42835 (UNKNOWN_ENVIRONMENT): Likewise.
42836 (__sysconf): Include posix-envs.def instead of handling associated
42837 cases directly here.
42838 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42839 preprocessing getconf-speclist.c rather than running getconf or
42840 generating empty file.
42841
42842 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42843
42844 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42845
42846 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42847
42848 [BZ #14672]
42849 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42850
42851 2012-11-16 David S. Miller <davem@davemloft.net>
42852
42853 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42854 smaller than LDBL_EPSILON/2.0L, just return xm1.
42855
42856 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42857
42858 * elf/tst-array1.c (init): Set constructor priority to 1000.
42859 (fini): Set destructor priority to 1000.
42860 * elf/tst-array2dep.c: Likewise.
42861
42862 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42863
42864 [BZ #11741]
42865 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42866 (_IO_new_file_xsputn): Also return EOF if none of the input
42867 data was written when overflow failed.
42868 * libio/iopadn.c (_IO_padn): Likewise.
42869 * libio/iowpadn.c (_IO_wpadn): Likewise.
42870 * stdio-common/tst-put-error.c: Add copyright notice.
42871 (do_test): Add case for printing padded string.
42872 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42873 _IO_padn returned error.
42874 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42875 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42876 return EOF.
42877
42878 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42879
42880 * libio/libioP.h: Add comment note that the references to C++
42881 bits are now obsolete.
42882
42883 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42884
42885 * math/libm-test.inc (check_complex): Use asprintf.
42886
42887 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42888
42889 * debug/pcprofiledump.c (print_version): Update copyright year.
42890 * malloc/memusagestat.c (print_version): Likewise.
42891
42892 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42893
42894 [BZ #14831]
42895 * elf/Makefile (tests): Add tst-audit8.
42896 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42897 ($(objpfx)tst-audit8.out): New target.
42898 (tst-audit8-ENV): New variable.
42899 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42900 audit if l_reloc_result is NULL.
42901 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42902 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42903 * elf/tst-audit8.c: New file.
42904
42905 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42906
42907 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42908 * misc/Makefile (CFLAGS-select.c): Define.
42909 * posix/Makefile (CFLAGS-pause.c): Define.
42910
42911 2012-11-13 David S. Miller <davem@davemloft.net>
42912
42913 * crypt/Makefile: Move test targets after toplevel Rules
42914 inclusion. Grab any necessary sysdep routines when linking.
42915 * crypt/md5.c (md5_process_block): Remove define, we will always
42916 name it __md5_process_block.
42917 (md5_finish_ctx): Update md5_process_block call.
42918 (md5_stream): Likewise.
42919 (md5_process_bytes): Likewise.
42920 (md5_process_block): Rename to __md5_process_block and move to ...
42921 * crypt/md5-block.c: ... here.
42922 * crypt/sha256.c (sha256_process_block): Move to ...
42923 * crypt/sha256-block.c: ... here.
42924 * crypt/sha512.c (sha512_process_block): Move to ...
42925 * crypt/sha512-block.c: ... here.
42926 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42927 path.
42928 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42929 * sysdeps/sparc/sparc64/multiarch/Makefile
42930 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42931 crypt subdir.
42932 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42933 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42934 multiarch changes.
42935 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42936 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42937 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42938 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42939 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42940 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42941 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42942 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42943 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42944 file.
42945 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42946 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42947 file.
42948 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42949
42950 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42951
42952 * timezone/tzselect.ksh: Update from tzcode git revision
42953 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42954 * timezone/zdump.c: Likewise.
42955 * timezone/zic.c: Likewise.
42956 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42957 in TZVERSION setting, not $(PKGVERSION).
42958 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
42959 REPORT_BUGS_TO settings.
42960
42961 [BZ #14838]
42962 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42963 macro.
42964
42965 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42966
42967 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42968 detection to immediately after _FP_ROUND().
42969 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42970 bits are 0.
42971
42972 2012-11-11 David S. Miller <davem@davemloft.net>
42973
42974 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42975 inttypes.h
42976 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42977 __close rather than their public counterparts.
42978
42979 2012-11-10 Joseph Myers <joseph@codesourcery.com>
42980
42981 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42982 file.
42983 [UNIX98] (sem_timedwait): Do not expect.
42984 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42985 [XPG4 || UNIX98] (sockatmark): Do not expect.
42986 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42987 (clock_getcpuclockid): Do not expect.
42988 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42989 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42990 Do not expect.
42991 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42992 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42993 [UNIX98] (vwscanf): Likewise.
42994 [UNIX98] (vswscanf): Likewise.
42995
42996 2012-11-09 Joseph Myers <joseph@codesourcery.com>
42997
42998 * timezone/version.h: Remove file.
42999 * timezone/README: Do not refer to version.h.
43000 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43001 $(objpfx)version.h.
43002 ($(objpfx)zdump.o): Likewise.
43003 ($(objpfx)version.h): New target.
43004
43005 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43006 2012i.
43007 * timezone/README: Don't mention modification to tzselect.ksh.
43008 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43009 work on unmodified tzselect.ksh. Substitute version numbers in
43010 tzselect.ksh.
43011
43012 * Makefile (format-me): Remove.
43013 (INSTALL): Adjust indentation. Use commands directly instead of
43014 using $(format-me).
43015
43016 * aclocal.m4 (ACX_PKGVERSION): New macro.
43017 (ACX_BUGURL): Likewise.
43018 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43019 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43020 (REPORT_BUGS_TO): Likewise.
43021 * configure: Regenerated.
43022 * config.h.in (PKGVERSION): New macro.
43023 (REPORT_BUGS_TO): Likewise.
43024 * config.make.in (PKGVERSION): New variable.
43025 (PKGVERSION_TEXI): Likewise.
43026 (REPORT_BUGS_TO): Likewise.
43027 (REPORT_BUGS_TEXI): Likewise.
43028 * Makefile (format-me): Use -I$(common-objpfx)manual.
43029 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43030 ($(common-objpfx)manual/%): New target.
43031 (manual/%): Remove target.
43032 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43033 (print_version): Use PKGVERSION.
43034 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43035 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43036 and REPORT_BUGS_TO.
43037 ($(objpfx)xtrace): Likewise.
43038 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43039 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43040 (print_version): Use PKGVERSION.
43041 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43042 (do_version): Use PKGVERSION.
43043 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43044 REPORT_BUGS_TO.
43045 (common-ldd-rewrite): Likewise.
43046 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43047 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43048 (print_version): Use PKGVERSION.
43049 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43050 * elf/pldd.c (argp_program_bug_address): Remove variable.
43051 (more_help): New function.
43052 (argp): Use more_help.
43053 (print_version): Use PKGVERSION.
43054 * elf/sln.c (main): Use PKGVERSION.
43055 (usage): Use REPORT_BUGS_TO.
43056 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43057 (top level): Use PKGVERSION.
43058 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43059 (print_version): Use PKGVERSION.
43060 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43061 (print_version): Use PKGVERSION.
43062 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43063 (print_version): Use PKGVERSION.
43064 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43065 (print_version): Use PKGVERSION.
43066 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43067 (print_version): Use PKGVERSION.
43068 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43069 (print_version): Use PKGVERSION.
43070 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43071 and BUGURL.
43072 ($(objpfx)memusage): Likewise.
43073 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43074 (do_version): Use PKGVERSION.
43075 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43076 (print_version): Use PKGVERSION.
43077 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43078 ($PKGVERSION): New variable.
43079 ($REPORT_BUGS_TO): Likewise.
43080 (usage): Use $REPORT_BUGS_TO.
43081 (top level): Use $PKGVERSION.
43082 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43083 ($(objpfx)pkgvers.texi): New rule.
43084 ($(objpfx)stamp-pkgvers): Likewise.
43085 * manual/install.texi: Include pkgvers.texi.
43086 (--with-pkgversion): Document new configure option.
43087 (--with-bugurl): Likewise.
43088 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43089 than necessarily for this particular distribution. Use
43090 REPORT_BUGS_TO for where to report bugs.
43091 * INSTALL: Regenerated.
43092 * manual/libc.texinfo: Include pkgvers.texi.
43093 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43094 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43095 (print_version): Use PKGVERSION.
43096 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43097 (print_version): Use PKGVERSION.
43098 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43099 (print_version): Use PKGVERSION.
43100 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43101 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43102 macro.
43103 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43104 (print_version): Use PKGVERSION.
43105 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43106 (print_version): Use PKGVERSION.
43107 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43108 and PKGVERSION.
43109
43110 * timezone/checktab.awk: Update from tzcode 2012i.
43111 * timezone/ialloc.c: Likewise.
43112 * timezone/private.h: Likewise.
43113 * timezone/scheck.c: Likewise.
43114 * timezone/tzfile.h: Likewise.
43115 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43116 (TZVERSION): Hardcode tzcode version number.
43117 * timezone/zdump.c: Update from tzcode 2012i.
43118 * timezone/zic.c: Likewise.
43119 * timezone/version.h: New file.
43120 * timezone/README: Describe version.h. Update upstream location.
43121
43122 [BZ #14824]
43123 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43124 (mktemp): Enable declaration.
43125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43129 Likewise.
43130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43131 Likewise.
43132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43133 Likewise.
43134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43135 Likewise.
43136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43137 Likewise.
43138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43139 Likewise.
43140
43141 [BZ #14821]
43142 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43143 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43144 for copies of such integer values.
43145 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43146 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43147
43148 2012-11-09 Andreas Jaeger <aj@suse.de>
43149
43150 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43151 definitions and declarations that are provided by
43152 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43153
43154 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43155
43156 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43157 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43158 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43159 definition.
43160
43161 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43162
43163 * elf/elf.h: Update comment before AArch64 relocations.
43164
43165 2012-11-07 David S. Miller <davem@davemloft.net>
43166
43167 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43168 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43169 (__start_context): Declare.
43170 (__makecontext_ret): Delete.
43171 (__makecontext): Hook up __start_context instead of
43172 __makecontext_ret.
43173 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43174 (sysdep_routines): Add __start_context when in stdlib.
43175
43176 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43177
43178 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43179 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43180 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43181 hardcoded "nm".
43182 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43183 (READELF): New variable. Use it instead of hardcoded "readelf".
43184
43185 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43186
43187 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43188 * sysdeps/x86/Makefile: Here.
43189 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43190 * sysdeps/x86/tst-xmmymm.sh: This.
43191
43192 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43193
43194 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43195 expectations.
43196 [UNIX98] (pthread_barrier_t): Do not expect.
43197 [UNIX98] (pthread_barrierattr_t): Likewise.
43198 [UNIX98] (pthread_spinlock_t): Likewise.
43199 [UNIX98] (pthread_barrier_destroy): Likewise.
43200 [UNIX98] (pthread_barrier_init): Likewise.
43201 [UNIX98] (pthread_barrier_wait): Likewise.
43202 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43203 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43204 [UNIX98] (pthread_barrierattr_init): Likewise.
43205 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43206 [UNIX98] (pthread_getcpuclockid): Likewise.
43207 [UNIX98] (pthread_mutex_timedlock): Likewise.
43208 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43209 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43210 [UNIX98] (pthread_sigmask): Likewise.
43211 [UNIX98] (pthread_spin_destroy): Likewise.
43212 [UNIX98] (pthread_spin_init): Likewise.
43213 [UNIX98] (pthread_spin_lock): Likewise.
43214 [UNIX98] (pthread_spin_trylock): Likewise.
43215 [UNIX98] (pthread_spin_unlock): Likewise.
43216 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43217 Do not expect.
43218 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43219 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43220 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43221 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43222 [XPG3 || XPG4] (pthread_key_t): Likewise.
43223 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43224 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43225 [XPG3 || XPG4] (pthread_once_t): Likewise.
43226 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43227 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43228 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43229 [XPG3 || XPG4] (pthread_t): Likewise.
43230
43231 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43232 not expect.
43233 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43234
43235 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43236 Change function return type to int.
43237
43238 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43239 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43240 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43241 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43242 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43243 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43244 [!POSIX] (posix_madvise): Likewise.
43245 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43246 && !UNIX98].
43247 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43248 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43249 (mode_t): Likewise.
43250 (posix_mem_offset): Likewise.
43251 (posix_typed_mem_get_info): Likewise.
43252 (posix_typed_mem_open): Likewise.
43253
43254 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43255 Change condition to [XOPEN2K8].
43256
43257 * conform/conformtest.pl: Preprocess allow-header data with -x c
43258 instead of from stdin.
43259 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43260 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43261 [C99-based standards] (cerfc): Likewise.
43262 [C99-based standards] (cexp2): Likewise.
43263 [C99-based standards] (cexpm1): Likewise.
43264 [C99-based standards] (clog10): Likewise.
43265 [C99-based standards] (clog1p): Likewise.
43266 [C99-based standards] (clog2): Likewise.
43267 [C99-based standards] (clgamma): Likewise.
43268 [C99-based standards] (ctgamma): Likewise.
43269 [C99-based standards] (cerff): Likewise.
43270 [C99-based standards] (cerfcf): Likewise.
43271 [C99-based standards] (cexp2f): Likewise.
43272 [C99-based standards] (cexpm1f): Likewise.
43273 [C99-based standards] (clog10f): Likewise.
43274 [C99-based standards] (clog1pf): Likewise.
43275 [C99-based standards] (clog2f): Likewise.
43276 [C99-based standards] (clgammaf): Likewise.
43277 [C99-based standards] (ctgammaf): Likewise.
43278 [C99-based standards] (cerfl): Likewise.
43279 [C99-based standards] (cerfcl): Likewise.
43280 [C99-based standards] (cexp2l): Likewise.
43281 [C99-based standards] (cexpm1l): Likewise.
43282 [C99-based standards] (clog10l): Likewise.
43283 [C99-based standards] (clog1pl): Likewise.
43284 [C99-based standards] (clog2l): Likewise.
43285 [C99-based standards] (clgammal): Likewise.
43286 [C99-based standards] (ctgammal): Likewise.
43287 * conform/data/inttypes.h-data [C99-based standards]: Include
43288 stdint.h-data. Remove all expectations for stdint.h contents.
43289 [C99-based standards] (PRI*): Do not allow.
43290 [C99-based standards] (SCN*): Likewise.
43291 [C99-based standards] (*_t): Likewise.
43292 [C99-based-standards] (PRId8): Expect macro.
43293 [C99-based-standards] (PRIi8): Likewise.
43294 [C99-based-standards] (PRIo8): Likewise.
43295 [C99-based-standards] (PRIu8): Likewise.
43296 [C99-based-standards] (PRIx8): Likewise.
43297 [C99-based-standards] (PRIX8): Likewise.
43298 [C99-based-standards] (SCNd8): Likewise.
43299 [C99-based-standards] (SCNi8): Likewise.
43300 [C99-based-standards] (SCNo8): Likewise.
43301 [C99-based-standards] (SCNu8): Likewise.
43302 [C99-based-standards] (SCNx8): Likewise.
43303 [C99-based-standards] (PRIdLEAST8): Likewise.
43304 [C99-based-standards] (PRIiLEAST8): Likewise.
43305 [C99-based-standards] (PRIoLEAST8): Likewise.
43306 [C99-based-standards] (PRIuLEAST8): Likewise.
43307 [C99-based-standards] (PRIxLEAST8): Likewise.
43308 [C99-based-standards] (PRIXLEAST8): Likewise.
43309 [C99-based-standards] (SCNdLEAST8): Likewise.
43310 [C99-based-standards] (SCNiLEAST8): Likewise.
43311 [C99-based-standards] (SCNoLEAST8): Likewise.
43312 [C99-based-standards] (SCNuLEAST8): Likewise.
43313 [C99-based-standards] (SCNxLEAST8): Likewise.
43314 [C99-based-standards] (PRIdFAST8): Likewise.
43315 [C99-based-standards] (PRIiFAST8): Likewise.
43316 [C99-based-standards] (PRIoFAST8): Likewise.
43317 [C99-based-standards] (PRIuFAST8): Likewise.
43318 [C99-based-standards] (PRIxFAST8): Likewise.
43319 [C99-based-standards] (PRIXFAST8): Likewise.
43320 [C99-based-standards] (SCNdFAST8): Likewise.
43321 [C99-based-standards] (SCNiFAST8): Likewise.
43322 [C99-based-standards] (SCNoFAST8): Likewise.
43323 [C99-based-standards] (SCNuFAST8): Likewise.
43324 [C99-based-standards] (SCNxFAST8): Likewise.
43325 [C99-based-standards] (PRId16): Likewise.
43326 [C99-based-standards] (PRIi16): Likewise.
43327 [C99-based-standards] (PRIo16): Likewise.
43328 [C99-based-standards] (PRIu16): Likewise.
43329 [C99-based-standards] (PRIx16): Likewise.
43330 [C99-based-standards] (PRIX16): Likewise.
43331 [C99-based-standards] (SCNd16): Likewise.
43332 [C99-based-standards] (SCNi16): Likewise.
43333 [C99-based-standards] (SCNo16): Likewise.
43334 [C99-based-standards] (SCNu16): Likewise.
43335 [C99-based-standards] (SCNx16): Likewise.
43336 [C99-based-standards] (PRIdLEAST16): Likewise.
43337 [C99-based-standards] (PRIiLEAST16): Likewise.
43338 [C99-based-standards] (PRIoLEAST16): Likewise.
43339 [C99-based-standards] (PRIuLEAST16): Likewise.
43340 [C99-based-standards] (PRIxLEAST16): Likewise.
43341 [C99-based-standards] (PRIXLEAST16): Likewise.
43342 [C99-based-standards] (SCNdLEAST16): Likewise.
43343 [C99-based-standards] (SCNiLEAST16): Likewise.
43344 [C99-based-standards] (SCNoLEAST16): Likewise.
43345 [C99-based-standards] (SCNuLEAST16): Likewise.
43346 [C99-based-standards] (SCNxLEAST16): Likewise.
43347 [C99-based-standards] (PRIdFAST16): Likewise.
43348 [C99-based-standards] (PRIiFAST16): Likewise.
43349 [C99-based-standards] (PRIoFAST16): Likewise.
43350 [C99-based-standards] (PRIuFAST16): Likewise.
43351 [C99-based-standards] (PRIxFAST16): Likewise.
43352 [C99-based-standards] (PRIXFAST16): Likewise.
43353 [C99-based-standards] (SCNdFAST16): Likewise.
43354 [C99-based-standards] (SCNiFAST16): Likewise.
43355 [C99-based-standards] (SCNoFAST16): Likewise.
43356 [C99-based-standards] (SCNuFAST16): Likewise.
43357 [C99-based-standards] (SCNxFAST16): Likewise.
43358 [C99-based-standards] (PRId32): Likewise.
43359 [C99-based-standards] (PRIi32): Likewise.
43360 [C99-based-standards] (PRIo32): Likewise.
43361 [C99-based-standards] (PRIu32): Likewise.
43362 [C99-based-standards] (PRIx32): Likewise.
43363 [C99-based-standards] (PRIX32): Likewise.
43364 [C99-based-standards] (SCNd32): Likewise.
43365 [C99-based-standards] (SCNi32): Likewise.
43366 [C99-based-standards] (SCNo32): Likewise.
43367 [C99-based-standards] (SCNu32): Likewise.
43368 [C99-based-standards] (SCNx32): Likewise.
43369 [C99-based-standards] (PRIdLEAST32): Likewise.
43370 [C99-based-standards] (PRIiLEAST32): Likewise.
43371 [C99-based-standards] (PRIoLEAST32): Likewise.
43372 [C99-based-standards] (PRIuLEAST32): Likewise.
43373 [C99-based-standards] (PRIxLEAST32): Likewise.
43374 [C99-based-standards] (PRIXLEAST32): Likewise.
43375 [C99-based-standards] (SCNdLEAST32): Likewise.
43376 [C99-based-standards] (SCNiLEAST32): Likewise.
43377 [C99-based-standards] (SCNoLEAST32): Likewise.
43378 [C99-based-standards] (SCNuLEAST32): Likewise.
43379 [C99-based-standards] (SCNxLEAST32): Likewise.
43380 [C99-based-standards] (PRIdFAST32): Likewise.
43381 [C99-based-standards] (PRIiFAST32): Likewise.
43382 [C99-based-standards] (PRIoFAST32): Likewise.
43383 [C99-based-standards] (PRIuFAST32): Likewise.
43384 [C99-based-standards] (PRIxFAST32): Likewise.
43385 [C99-based-standards] (PRIXFAST32): Likewise.
43386 [C99-based-standards] (SCNdFAST32): Likewise.
43387 [C99-based-standards] (SCNiFAST32): Likewise.
43388 [C99-based-standards] (SCNoFAST32): Likewise.
43389 [C99-based-standards] (SCNuFAST32): Likewise.
43390 [C99-based-standards] (SCNxFAST32): Likewise.
43391 [C99-based-standards] (PRId64): Likewise.
43392 [C99-based-standards] (PRIi64): Likewise.
43393 [C99-based-standards] (PRIo64): Likewise.
43394 [C99-based-standards] (PRIu64): Likewise.
43395 [C99-based-standards] (PRIx64): Likewise.
43396 [C99-based-standards] (PRIX64): Likewise.
43397 [C99-based-standards] (SCNd64): Likewise.
43398 [C99-based-standards] (SCNi64): Likewise.
43399 [C99-based-standards] (SCNo64): Likewise.
43400 [C99-based-standards] (SCNu64): Likewise.
43401 [C99-based-standards] (SCNx64): Likewise.
43402 [C99-based-standards] (PRIdLEAST64): Likewise.
43403 [C99-based-standards] (PRIiLEAST64): Likewise.
43404 [C99-based-standards] (PRIoLEAST64): Likewise.
43405 [C99-based-standards] (PRIuLEAST64): Likewise.
43406 [C99-based-standards] (PRIxLEAST64): Likewise.
43407 [C99-based-standards] (PRIXLEAST64): Likewise.
43408 [C99-based-standards] (SCNdLEAST64): Likewise.
43409 [C99-based-standards] (SCNiLEAST64): Likewise.
43410 [C99-based-standards] (SCNoLEAST64): Likewise.
43411 [C99-based-standards] (SCNuLEAST64): Likewise.
43412 [C99-based-standards] (SCNxLEAST64): Likewise.
43413 [C99-based-standards] (PRIdFAST64): Likewise.
43414 [C99-based-standards] (PRIiFAST64): Likewise.
43415 [C99-based-standards] (PRIoFAST64): Likewise.
43416 [C99-based-standards] (PRIuFAST64): Likewise.
43417 [C99-based-standards] (PRIxFAST64): Likewise.
43418 [C99-based-standards] (PRIXFAST64): Likewise.
43419 [C99-based-standards] (SCNdFAST64): Likewise.
43420 [C99-based-standards] (SCNiFAST64): Likewise.
43421 [C99-based-standards] (SCNoFAST64): Likewise.
43422 [C99-based-standards] (SCNuFAST64): Likewise.
43423 [C99-based-standards] (SCNxFAST64): Likewise.
43424 [C99-based-standards] (PRIdMAX): Likewise.
43425 [C99-based-standards] (PRIiMAX): Likewise.
43426 [C99-based-standards] (PRIoMAX): Likewise.
43427 [C99-based-standards] (PRIuMAX): Likewise.
43428 [C99-based-standards] (PRIxMAX): Likewise.
43429 [C99-based-standards] (PRIXMAX): Likewise.
43430 [C99-based-standards] (SCNdMAX): Likewise.
43431 [C99-based-standards] (SCNiMAX): Likewise.
43432 [C99-based-standards] (SCNoMAX): Likewise.
43433 [C99-based-standards] (SCNuMAX): Likewise.
43434 [C99-based-standards] (SCNxMAX): Likewise.
43435 [C99-based-standards] (PRIdPTR): Likewise.
43436 [C99-based-standards] (PRIiPTR): Likewise.
43437 [C99-based-standards] (PRIoPTR): Likewise.
43438 [C99-based-standards] (PRIuPTR): Likewise.
43439 [C99-based-standards] (PRIxPTR): Likewise.
43440 [C99-based-standards] (PRIXPTR): Likewise.
43441 [C99-based-standards] (SCNdPTR): Likewise.
43442 [C99-based-standards] (SCNiPTR): Likewise.
43443 [C99-based-standards] (SCNoPTR): Likewise.
43444 [C99-based-standards] (SCNuPTR): Likewise.
43445 [C99-based-standards] (SCNxPTR): Likewise.
43446 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43447 allow.
43448 * conform/data/stdint.h-data: Update comments to clarify
43449 requirements.
43450 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43451 type.
43452 [C99-based standards] (INT8_MAX): Likewise.
43453 [C99-based standards] (INT16_MIN): Likewise.
43454 [C99-based standards] (INT16_MAX): Likewise.
43455 [C99-based standards] (INT32_MIN): Likewise.
43456 [C99-based standards] (INT32_MAX): Likewise.
43457 [C99-based standards] (INT64_MIN): Likewise.
43458 [C99-based standards] (INT64_MAX): Likewise.
43459 [C99-based standards] (UINT8_MAX): Likewise.
43460 [C99-based standards] (UINT16_MAX): Likewise.
43461 [C99-based standards] (UINT32_MAX): Likewise.
43462 [C99-based standards] (UINT64_MAX): Likewise.
43463 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43464 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43465 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43466 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43467 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43468 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43469 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43470 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43471 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43472 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43473 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43474 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43475 [C99-based standards] (INT_FAST8_MIN): Likewise.
43476 [C99-based standards] (INT_FAST8_MAX): Likewise.
43477 [C99-based standards] (INT_FAST16_MIN): Likewise.
43478 [C99-based standards] (INT_FAST16_MAX): Likewise.
43479 [C99-based standards] (INT_FAST32_MIN): Likewise.
43480 [C99-based standards] (INT_FAST32_MAX): Likewise.
43481 [C99-based standards] (INT_FAST64_MIN): Likewise.
43482 [C99-based standards] (INT_FAST64_MAX): Likewise.
43483 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43484 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43485 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43486 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43487 [C99-based standards] (INTPTR_MIN): Likewise.
43488 [C99-based standards] (INTPTR_MAX): Likewise.
43489 [C99-based standards] (UINTPTR_MAX): Likewise.
43490 [C99-based standards] (INTMAX_MIN): Likewise.
43491 [C99-based standards] (INTMAX_MAX): Likewise.
43492 [C99-based standards] (UINTMAX_MAX): Likewise.
43493 [C99-based standards] (PTRDIFF_MIN): Likewise.
43494 [C99-based standards] (PTRDIFF_MAX): Likewise.
43495 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43496 [C99-based standards] (SIZE_MAX): Likewise.
43497 [C99-based standards] (WCHAR_MAX): Likewise.
43498 [C99-based standards] (WINT_MAX): Likewise.
43499 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43500 constraint on value.
43501 [C99-based standards] (WCHAR_MIN): Likewise.
43502 [C99-based standards] (WINT_MIN): Likewise.
43503 [C99-based standards] (*_t): Allow.
43504 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43505 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43506 Include math.h-data and complex.h-data. Remove all expectations
43507 of math.h and complex.h contents.
43508 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43509 at end of line.
43510 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43511 (struct tm): Expect tag.
43512 [C99-based-standards] (wcstof): Expect function.
43513 [C99-based-standards] (wcstold): Likewise.
43514 [C99-based-standards] (wcstoll): Likewise.
43515 [C99-based-standards] (wcstoull): Likewise.
43516 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43517 macro-int-constant. Specify type.
43518 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43519 constraint on value.
43520 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43521 Specify type.
43522 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43523 Specify value.
43524 [ISO C standards]: Do not allow headers.
43525 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43526 wcs[abcdefghijklmnopqrstuvwxyz]*.
43527 [ISO C standards] (*_t): Do not allow.
43528 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43529 Expect function.
43530 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43531 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43532 Specify type.
43533 [ISO C standards]: Do not allow headers.
43534 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43535 is[abcdefghijklmnopqrstuvwxyz]*.
43536 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43537 to[abcdefghijklmnopqrstuvwxyz]*.
43538 [ISO C standards] (*_t): Do not allow.
43539 * conform/data/stdalign.h-data: New file.
43540 * conform/data/stdbool.h-data: Likewise.
43541 * conform/data/stdnoreturn.h-data: Likewise.
43542
43543 2012-11-07 Roland McGrath <roland@hack.frob.com>
43544
43545 [BZ #14815]
43546 * manual/filesys.texi (Directory Entries): Typo fix.
43547 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43548
43549 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43550
43551 * elf/elf.h (EM_AARCH64): New macro.
43552 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43553 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43554 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43555 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43556 (R_AARCH64_TLSDESC): Likewise.
43557 (NT_ARM_TLS): Likewise.
43558 (NT_ARM_HW_BREAK): Likewise.
43559 (NT_ARM_HW_WATCH): Likewise.
43560
43561 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43562
43563 [BZ #14811]
43564 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43565 (__ieee754_powl): Saturate nonzero exponents with absolute value
43566 below 0x1p-79 to +/- 0x1p-79.
43567 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43568 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43569 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43570 nonzero exponents with absolute value below 0x1p-32 to +/-
43571 0x1p-32.
43572 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43573 (__ieee754_powl): Saturate nonzero exponents with absolute value
43574 below 0x1p-79 to +/- 0x1p-79.
43575 * math/libm-test.inc (pow_test): Add more tests.
43576
43577 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43578
43579 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43580 _dl_s390_cap_flags with kernel. Increase string length.
43581 (_dl_s390_platforms): Add z196 and zEC12.
43582
43583 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43584
43585 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43586 Change XOPEN21K to XOPEN2K.
43587
43588 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43589
43590 * string/memmove.c: Use memcpy when possible.
43591
43592 2012-11-06 Andreas Jaeger <aj@suse.de>
43593
43594 * po/eo.po: Update from translation team.
43595
43596 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43597
43598 [BZ #14793]
43599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43600 exponent and small x and y exponents, scale x or y up. Increase
43601 by 2 the exponent used in scaling up.
43602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43603 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43604 * math/libm-test.inc (fma_test): Add more tests.
43605 (fma_test_towardzero): Likewise.
43606 (fma_test_downward): Likewise.
43607 (fma_test_upward): Likewise.
43608
43609 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43610
43611 [BZ #14805]
43612 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43613 fenv_t *.
43614
43615 [BZ #14801]
43616 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43617 namespace for names of struct fields.
43618 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43619 fenv_t fields.
43620 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43621 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43622
43623 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43624
43625 [BZ #3665]
43626 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43627
43628 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43629
43630 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43631 PTR_DEMANGLE.
43632
43633 [BZ #5246]
43634 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43635 PTR_DEMANGLE.
43636
43637 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43638
43639 [BZ #14797]
43640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43641 definitely overflow as x * y not x * y + z.
43642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43643 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43644 * math/libm-test.inc (fma_test): Add more tests.
43645 (fma_test_towardzero): Likewise.
43646 (fma_test_downward): Likewise.
43647 (fma_test_upward): Likewise.
43648
43649 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43650
43651 [BZ #157]
43652
43653 * include/stub-tag.h: Remove file.
43654 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43655 '#include' of it.
43656 * manual/maint.texi (Porting): Don't reference it.
43657 * Makerules ($(objpfx)stubs): Likewise.
43658 * dirent/closedir.c: Don't include <stub-tag.h>.
43659 * dirent/dirfd.c: Likewise.
43660 * dirent/fdopendir.c: Likewise.
43661 * dirent/getdents.c: Likewise.
43662 * dirent/getdents64.c: Likewise.
43663 * dirent/opendir.c: Likewise.
43664 * dirent/readdir.c: Likewise.
43665 * dirent/readdir64.c: Likewise.
43666 * dirent/readdir64_r.c: Likewise.
43667 * dirent/readdir_r.c: Likewise.
43668 * dirent/rewinddir.c: Likewise.
43669 * dirent/seekdir.c: Likewise.
43670 * dirent/telldir.c: Likewise.
43671 * gmon/profil.c: Likewise.
43672 * grp/setgroups.c: Likewise.
43673 * inet/if_index.c: Likewise.
43674 * io/access.c: Likewise.
43675 * io/chdir.c: Likewise.
43676 * io/chmod.c: Likewise.
43677 * io/chown.c: Likewise.
43678 * io/close.c: Likewise.
43679 * io/dup.c: Likewise.
43680 * io/dup2.c: Likewise.
43681 * io/dup3.c: Likewise.
43682 * io/euidaccess.c: Likewise.
43683 * io/faccessat.c: Likewise.
43684 * io/fchdir.c: Likewise.
43685 * io/fchmod.c: Likewise.
43686 * io/fchmodat.c: Likewise.
43687 * io/fchown.c: Likewise.
43688 * io/fchownat.c: Likewise.
43689 * io/fcntl.c: Likewise.
43690 * io/flock.c: Likewise.
43691 * io/fstatfs.c: Likewise.
43692 * io/fstatfs64.c: Likewise.
43693 * io/fstatvfs.c: Likewise.
43694 * io/fstatvfs64.c: Likewise.
43695 * io/futimens.c: Likewise.
43696 * io/fxstat.c: Likewise.
43697 * io/fxstat64.c: Likewise.
43698 * io/fxstatat.c: Likewise.
43699 * io/fxstatat64.c: Likewise.
43700 * io/getcwd.c: Likewise.
43701 * io/isatty.c: Likewise.
43702 * io/lchmod.c: Likewise.
43703 * io/lchown.c: Likewise.
43704 * io/link.c: Likewise.
43705 * io/linkat.c: Likewise.
43706 * io/lseek.c: Likewise.
43707 * io/lseek64.c: Likewise.
43708 * io/lxstat64.c: Likewise.
43709 * io/mkdir.c: Likewise.
43710 * io/mkdirat.c: Likewise.
43711 * io/mkfifo.c: Likewise.
43712 * io/mkfifoat.c: Likewise.
43713 * io/open.c: Likewise.
43714 * io/open64.c: Likewise.
43715 * io/openat.c: Likewise.
43716 * io/openat64.c: Likewise.
43717 * io/pipe.c: Likewise.
43718 * io/pipe2.c: Likewise.
43719 * io/poll.c: Likewise.
43720 * io/posix_fadvise.c: Likewise.
43721 * io/posix_fadvise64.c: Likewise.
43722 * io/posix_fallocate.c: Likewise.
43723 * io/posix_fallocate64.c: Likewise.
43724 * io/read.c: Likewise.
43725 * io/readlink.c: Likewise.
43726 * io/readlinkat.c: Likewise.
43727 * io/rmdir.c: Likewise.
43728 * io/sendfile.c: Likewise.
43729 * io/sendfile64.c: Likewise.
43730 * io/statfs.c: Likewise.
43731 * io/statfs64.c: Likewise.
43732 * io/statvfs.c: Likewise.
43733 * io/statvfs64.c: Likewise.
43734 * io/symlink.c: Likewise.
43735 * io/symlinkat.c: Likewise.
43736 * io/ttyname.c: Likewise.
43737 * io/ttyname_r.c: Likewise.
43738 * io/umask.c: Likewise.
43739 * io/unlink.c: Likewise.
43740 * io/unlinkat.c: Likewise.
43741 * io/utime.c: Likewise.
43742 * io/utimensat.c: Likewise.
43743 * io/write.c: Likewise.
43744 * io/xmknod.c: Likewise.
43745 * io/xmknodat.c: Likewise.
43746 * io/xstat.c: Likewise.
43747 * io/xstat64.c: Likewise.
43748 * login/getpt.c: Likewise.
43749 * login/grantpt.c: Likewise.
43750 * login/unlockpt.c: Likewise.
43751 * math/e_acoshl.c: Likewise.
43752 * math/e_acosl.c: Likewise.
43753 * math/e_asinl.c: Likewise.
43754 * math/e_atan2l.c: Likewise.
43755 * math/e_atanhl.c: Likewise.
43756 * math/e_coshl.c: Likewise.
43757 * math/e_expl.c: Likewise.
43758 * math/e_fmodl.c: Likewise.
43759 * math/e_gammal_r.c: Likewise.
43760 * math/e_hypotl.c: Likewise.
43761 * math/e_j0l.c: Likewise.
43762 * math/e_j1l.c: Likewise.
43763 * math/e_jnl.c: Likewise.
43764 * math/e_lgammal_r.c: Likewise.
43765 * math/e_log10l.c: Likewise.
43766 * math/e_log2l.c: Likewise.
43767 * math/e_logl.c: Likewise.
43768 * math/e_powl.c: Likewise.
43769 * math/e_rem_pio2l.c: Likewise.
43770 * math/e_sinhl.c: Likewise.
43771 * math/e_sqrtl.c: Likewise.
43772 * math/fclrexcpt.c: Likewise.
43773 * math/fedisblxcpt.c: Likewise.
43774 * math/feenablxcpt.c: Likewise.
43775 * math/fegetenv.c: Likewise.
43776 * math/fegetexcept.c: Likewise.
43777 * math/fegetround.c: Likewise.
43778 * math/feholdexcpt.c: Likewise.
43779 * math/fesetenv.c: Likewise.
43780 * math/fesetround.c: Likewise.
43781 * math/feupdateenv.c: Likewise.
43782 * math/fgetexcptflg.c: Likewise.
43783 * math/fraiseexcpt.c: Likewise.
43784 * math/fsetexcptflg.c: Likewise.
43785 * math/ftestexcept.c: Likewise.
43786 * math/k_cosl.c: Likewise.
43787 * math/k_rem_pio2l.c: Likewise.
43788 * math/k_sinl.c: Likewise.
43789 * math/k_tanl.c: Likewise.
43790 * math/s_asinhl.c: Likewise.
43791 * math/s_atanl.c: Likewise.
43792 * math/s_cbrtl.c: Likewise.
43793 * math/s_erfl.c: Likewise.
43794 * math/s_expm1l.c: Likewise.
43795 * math/s_log1pl.c: Likewise.
43796 * math/s_tanhl.c: Likewise.
43797 * misc/acct.c: Likewise.
43798 * misc/brk.c: Likewise.
43799 * misc/chflags.c: Likewise.
43800 * misc/chroot.c: Likewise.
43801 * misc/fchflags.c: Likewise.
43802 * misc/fgetxattr.c: Likewise.
43803 * misc/flistxattr.c: Likewise.
43804 * misc/fremovexattr.c: Likewise.
43805 * misc/fsetxattr.c: Likewise.
43806 * misc/fsync.c: Likewise.
43807 * misc/ftruncate.c: Likewise.
43808 * misc/futimes.c: Likewise.
43809 * misc/futimesat.c: Likewise.
43810 * misc/getdomain.c: Likewise.
43811 * misc/getdtsz.c: Likewise.
43812 * misc/gethostid.c: Likewise.
43813 * misc/gethostname.c: Likewise.
43814 * misc/getloadavg.c: Likewise.
43815 * misc/getpagesize.c: Likewise.
43816 * misc/getsysstats.c: Likewise.
43817 * misc/getxattr.c: Likewise.
43818 * misc/gtty.c: Likewise.
43819 * misc/ioctl.c: Likewise.
43820 * misc/lgetxattr.c: Likewise.
43821 * misc/listxattr.c: Likewise.
43822 * misc/llistxattr.c: Likewise.
43823 * misc/lremovexattr.c: Likewise.
43824 * misc/lsetxattr.c: Likewise.
43825 * misc/lutimes.c: Likewise.
43826 * misc/madvise.c: Likewise.
43827 * misc/mincore.c: Likewise.
43828 * misc/mlock.c: Likewise.
43829 * misc/mlockall.c: Likewise.
43830 * misc/mmap.c: Likewise.
43831 * misc/mprotect.c: Likewise.
43832 * misc/msync.c: Likewise.
43833 * misc/munlock.c: Likewise.
43834 * misc/munlockall.c: Likewise.
43835 * misc/munmap.c: Likewise.
43836 * misc/preadv.c: Likewise.
43837 * misc/preadv64.c: Likewise.
43838 * misc/ptrace.c: Likewise.
43839 * misc/pwritev.c: Likewise.
43840 * misc/pwritev64.c: Likewise.
43841 * misc/readv.c: Likewise.
43842 * misc/reboot.c: Likewise.
43843 * misc/remap_file_pages.c: Likewise.
43844 * misc/removexattr.c: Likewise.
43845 * misc/revoke.c: Likewise.
43846 * misc/select.c: Likewise.
43847 * misc/setdomain.c: Likewise.
43848 * misc/setegid.c: Likewise.
43849 * misc/seteuid.c: Likewise.
43850 * misc/sethostid.c: Likewise.
43851 * misc/sethostname.c: Likewise.
43852 * misc/setregid.c: Likewise.
43853 * misc/setreuid.c: Likewise.
43854 * misc/setxattr.c: Likewise.
43855 * misc/sstk.c: Likewise.
43856 * misc/stty.c: Likewise.
43857 * misc/swapoff.c: Likewise.
43858 * misc/swapon.c: Likewise.
43859 * misc/sync.c: Likewise.
43860 * misc/syncfs.c: Likewise.
43861 * misc/syscall.c: Likewise.
43862 * misc/truncate.c: Likewise.
43863 * misc/ualarm.c: Likewise.
43864 * misc/usleep.c: Likewise.
43865 * misc/ustat.c: Likewise.
43866 * misc/utimes.c: Likewise.
43867 * misc/vhangup.c: Likewise.
43868 * misc/writev.c: Likewise.
43869 * posix/_exit.c: Likewise.
43870 * posix/alarm.c: Likewise.
43871 * posix/execve.c: Likewise.
43872 * posix/fexecve.c: Likewise.
43873 * posix/fork.c: Likewise.
43874 * posix/fpathconf.c: Likewise.
43875 * posix/getaddrinfo.c: Likewise.
43876 * posix/getegid.c: Likewise.
43877 * posix/geteuid.c: Likewise.
43878 * posix/getgid.c: Likewise.
43879 * posix/getgroups.c: Likewise.
43880 * posix/getlogin.c: Likewise.
43881 * posix/getlogin_r.c: Likewise.
43882 * posix/getpgid.c: Likewise.
43883 * posix/getpid.c: Likewise.
43884 * posix/getppid.c: Likewise.
43885 * posix/getresgid.c: Likewise.
43886 * posix/getresuid.c: Likewise.
43887 * posix/getsid.c: Likewise.
43888 * posix/getuid.c: Likewise.
43889 * posix/glob64.c: Likewise.
43890 * posix/nanosleep.c: Likewise.
43891 * posix/pathconf.c: Likewise.
43892 * posix/pause.c: Likewise.
43893 * posix/posix_madvise.c: Likewise.
43894 * posix/pread.c: Likewise.
43895 * posix/pread64.c: Likewise.
43896 * posix/pwrite.c: Likewise.
43897 * posix/pwrite64.c: Likewise.
43898 * posix/sched_getaffinity.c: Likewise.
43899 * posix/sched_getp.c: Likewise.
43900 * posix/sched_gets.c: Likewise.
43901 * posix/sched_primax.c: Likewise.
43902 * posix/sched_primin.c: Likewise.
43903 * posix/sched_rr_gi.c: Likewise.
43904 * posix/sched_setaffinity.c: Likewise.
43905 * posix/sched_setp.c: Likewise.
43906 * posix/sched_sets.c: Likewise.
43907 * posix/sched_yield.c: Likewise.
43908 * posix/setgid.c: Likewise.
43909 * posix/setlogin.c: Likewise.
43910 * posix/setpgid.c: Likewise.
43911 * posix/setresgid.c: Likewise.
43912 * posix/setresuid.c: Likewise.
43913 * posix/setsid.c: Likewise.
43914 * posix/setuid.c: Likewise.
43915 * posix/sleep.c: Likewise.
43916 * posix/spawni.c: Likewise.
43917 * posix/sysconf.c: Likewise.
43918 * posix/times.c: Likewise.
43919 * posix/wait.c: Likewise.
43920 * posix/wait3.c: Likewise.
43921 * posix/wait4.c: Likewise.
43922 * posix/waitpid.c: Likewise.
43923 * resolv/gai_sigqueue.c: Likewise.
43924 * resource/getpriority.c: Likewise.
43925 * resource/getrlimit.c: Likewise.
43926 * resource/getrusage.c: Likewise.
43927 * resource/nice.c: Likewise.
43928 * resource/setpriority.c: Likewise.
43929 * resource/setrlimit.c: Likewise.
43930 * resource/ulimit.c: Likewise.
43931 * rt/aio_cancel.c: Likewise.
43932 * rt/aio_fsync.c: Likewise.
43933 * rt/aio_read.c: Likewise.
43934 * rt/aio_sigqueue.c: Likewise.
43935 * rt/aio_suspend.c: Likewise.
43936 * rt/aio_write.c: Likewise.
43937 * rt/clock_getres.c: Likewise.
43938 * rt/clock_gettime.c: Likewise.
43939 * rt/clock_nanosleep.c: Likewise.
43940 * rt/clock_settime.c: Likewise.
43941 * rt/lio_listio.c: Likewise.
43942 * rt/mq_close.c: Likewise.
43943 * rt/mq_getattr.c: Likewise.
43944 * rt/mq_notify.c: Likewise.
43945 * rt/mq_open.c: Likewise.
43946 * rt/mq_receive.c: Likewise.
43947 * rt/mq_send.c: Likewise.
43948 * rt/mq_setattr.c: Likewise.
43949 * rt/mq_timedreceive.c: Likewise.
43950 * rt/mq_timedsend.c: Likewise.
43951 * rt/mq_unlink.c: Likewise.
43952 * rt/shm_open.c: Likewise.
43953 * rt/shm_unlink.c: Likewise.
43954 * rt/timer_create.c: Likewise.
43955 * rt/timer_delete.c: Likewise.
43956 * rt/timer_getoverr.c: Likewise.
43957 * rt/timer_gettime.c: Likewise.
43958 * rt/timer_settime.c: Likewise.
43959 * setjmp/__longjmp.c: Likewise.
43960 * setjmp/setjmp.c: Likewise.
43961 * signal/kill.c: Likewise.
43962 * signal/killpg.c: Likewise.
43963 * signal/raise.c: Likewise.
43964 * signal/sigaction.c: Likewise.
43965 * signal/sigaltstack.c: Likewise.
43966 * signal/sigblock.c: Likewise.
43967 * signal/sigignore.c: Likewise.
43968 * signal/sigintr.c: Likewise.
43969 * signal/signal.c: Likewise.
43970 * signal/sigpause.c: Likewise.
43971 * signal/sigpending.c: Likewise.
43972 * signal/sigqueue.c: Likewise.
43973 * signal/sigreturn.c: Likewise.
43974 * signal/sigset.c: Likewise.
43975 * signal/sigsetmask.c: Likewise.
43976 * signal/sigstack.c: Likewise.
43977 * signal/sigsuspend.c: Likewise.
43978 * signal/sigtimedwait.c: Likewise.
43979 * signal/sigvec.c: Likewise.
43980 * signal/sigwait.c: Likewise.
43981 * signal/sigwaitinfo.c: Likewise.
43982 * signal/sysv_signal.c: Likewise.
43983 * socket/accept.c: Likewise.
43984 * socket/accept4.c: Likewise.
43985 * socket/bind.c: Likewise.
43986 * socket/connect.c: Likewise.
43987 * socket/getpeername.c: Likewise.
43988 * socket/getsockname.c: Likewise.
43989 * socket/getsockopt.c: Likewise.
43990 * socket/isfdtype.c: Likewise.
43991 * socket/listen.c: Likewise.
43992 * socket/recv.c: Likewise.
43993 * socket/recvfrom.c: Likewise.
43994 * socket/recvmsg.c: Likewise.
43995 * socket/send.c: Likewise.
43996 * socket/sendmsg.c: Likewise.
43997 * socket/sendto.c: Likewise.
43998 * socket/setsockopt.c: Likewise.
43999 * socket/shutdown.c: Likewise.
44000 * socket/sockatmark.c: Likewise.
44001 * socket/socket.c: Likewise.
44002 * socket/socketpair.c: Likewise.
44003 * stdio-common/ctermid.c: Likewise.
44004 * stdio-common/cuserid.c: Likewise.
44005 * stdio-common/remove.c: Likewise.
44006 * stdio-common/rename.c: Likewise.
44007 * stdio-common/renameat.c: Likewise.
44008 * stdio-common/tempname.c: Likewise.
44009 * stdlib/getcontext.c: Likewise.
44010 * stdlib/makecontext.c: Likewise.
44011 * stdlib/setcontext.c: Likewise.
44012 * stdlib/swapcontext.c: Likewise.
44013 * stdlib/system.c: Likewise.
44014 * streams/fattach.c: Likewise.
44015 * streams/fdetach.c: Likewise.
44016 * streams/getmsg.c: Likewise.
44017 * streams/getpmsg.c: Likewise.
44018 * streams/putmsg.c: Likewise.
44019 * streams/putpmsg.c: Likewise.
44020 * sysdeps/unix/bsd/getpt.c: Likewise.
44021 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44022 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44023 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44025 Likewise.
44026 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44027 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44028 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44029 * sysvipc/msgctl.c: Likewise.
44030 * sysvipc/msgget.c: Likewise.
44031 * sysvipc/msgrcv.c: Likewise.
44032 * sysvipc/msgsnd.c: Likewise.
44033 * sysvipc/semctl.c: Likewise.
44034 * sysvipc/semget.c: Likewise.
44035 * sysvipc/semop.c: Likewise.
44036 * sysvipc/semtimedop.c: Likewise.
44037 * sysvipc/shmat.c: Likewise.
44038 * sysvipc/shmctl.c: Likewise.
44039 * sysvipc/shmdt.c: Likewise.
44040 * sysvipc/shmget.c: Likewise.
44041 * termios/tcdrain.c: Likewise.
44042 * termios/tcflow.c: Likewise.
44043 * termios/tcflush.c: Likewise.
44044 * termios/tcgetattr.c: Likewise.
44045 * termios/tcgetpgrp.c: Likewise.
44046 * termios/tcsendbrk.c: Likewise.
44047 * termios/tcsetattr.c: Likewise.
44048 * termios/tcsetpgrp.c: Likewise.
44049 * time/adjtime.c: Likewise.
44050 * time/clock.c: Likewise.
44051 * time/getitimer.c: Likewise.
44052 * time/gettimeofday.c: Likewise.
44053 * time/setitimer.c: Likewise.
44054 * time/settimeofday.c: Likewise.
44055 * time/stime.c: Likewise.
44056 * time/time.c: Likewise.
44057
44058 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44059
44060 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44061 /usr/old/bin.
44062
44063 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44064 instead of spaces.
44065 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44066
44067 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44068
44069 [BZ #14796]
44070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44071 FE_TONEAREST before applying Dekker multiplication and Knuth
44072 addition. Clear inexact exceptions and check for exact zero
44073 results afterwards.
44074 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44075 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44076 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44077 * math/libm-test.inc (fma_test): Add more tests.
44078 (fma_test_towardzero): Likewise.
44079 (fma_test_downward): Likewise.
44080 (fma_test_upward): Likewise.
44081 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44082 function.
44083 (libc_fesetround): New macro.
44084 (libc_fesetroundf): Likewise.
44085 (libc_fesetroundl): Likewise.
44086 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44087 function.
44088 (libc_fesetround_387): Likewise.
44089 (libc_fesetroundf): New macro.
44090 (libc_fesetround): Likewise.
44091 (libc_fesetroundl): Likewise.
44092 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44093 function.
44094 (libc_fesetroundf): New macro.
44095 (libc_fesetround): Likewise.
44096 (libc_fesetroundl): Likewise.
44097 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44098 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44099 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44100 libm_hidden_ver.
44101 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44102 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44103 libm_hidden_def.
44104 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44105 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44106 libm_hidden_ver.
44107 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44108 libm_hidden_def.
44109
44110 [BZ #3439]
44111 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44112 integer constant usable in #if and use that to give value to enum
44113 constant.
44114 (FE_DIVBYZERO): Likewise.
44115 (FE_UNDERFLOW): Likewise.
44116 (FE_OVERFLOW): Likewise.
44117 (FE_INVALID): Likewise.
44118 (FE_INVALID_SNAN): Likewise.
44119 (FE_INVALID_ISI): Likewise.
44120 (FE_INVALID_IDI): Likewise.
44121 (FE_INVALID_ZDZ): Likewise.
44122 (FE_INVALID_IMZ): Likewise.
44123 (FE_INVALID_COMPARE): Likewise.
44124 (FE_INVALID_SOFTWARE): Likewise.
44125 (FE_INVALID_SQRT): Likewise.
44126 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44127 (FE_TONEAREST): Likewise.
44128 (FE_TOWARDZERO): Likewise.
44129 (FE_UPWARD): Likewise.
44130 (FE_DOWNWARD): Likewise.
44131 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44132 (FE_DIVBYZERO): Likewise.
44133 (FE_OVERFLOW): Likewise.
44134 (FE_UNDERFLOW): Likewise.
44135 (FE_INEXACT): Likewise.
44136 (FE_TONEAREST): Likewise.
44137 (FE_DOWNWARD): Likewise.
44138 (FE_UPWARD): Likewise.
44139 (FE_TOWARDZERO): Likewise.
44140 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44141 (FE_UNDERFLOW): Likewise.
44142 (FE_OVERFLOW): Likewise.
44143 (FE_DIVBYZERO): Likewise.
44144 (FE_INVALID): Likewise.
44145 (FE_TONEAREST): Likewise.
44146 (FE_TOWARDZERO): Likewise.
44147 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44148 (FE_OVERFLOW): Likewise.
44149 (FE_UNDERFLOW): Likewise.
44150 (FE_DIVBYZERO): Likewise.
44151 (FE_INEXACT): Likewise.
44152 (FE_TONEAREST): Likewise.
44153 (FE_TOWARDZERO): Likewise.
44154 (FE_UPWARD): Likewise.
44155 (FE_DOWNWARD): Likewise.
44156 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44157 (FE_DIVBYZERO): Likewise.
44158 (FE_OVERFLOW): Likewise.
44159 (FE_UNDERFLOW): Likewise.
44160 (FE_INEXACT): Likewise.
44161 (FE_TONEAREST): Likewise.
44162 (FE_DOWNWARD): Likewise.
44163 (FE_UPWARD): Likewise.
44164 (FE_TOWARDZERO): Likewise.
44165
44166 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44167
44168 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44169
44170 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44171
44172 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44173 commands. Quote $PWD.
44174 (blacklist_exports): Don't use remove_newlines. Replace "declare
44175 -x" by "export".
44176 (remove_newlines): Remove.
44177
44178 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44179
44180 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44181 * stdlib/stdlib.h (atof): Moved to ...
44182 * include/bits/stdlib-float.h: Here. New file.
44183 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44184 * stdlib/bits/stdlib-float.h: New file.
44185 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44186 -mno-sse -mno-mmx.
44187 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44188 <xmmintrin.h>.
44189
44190 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44191
44192 * conform/conformtest.pl (@headers): Add fenv.h.
44193 * conform/data/fenv.h-data: New file.
44194 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44195 include of <math/fenv.h>.
44196
44197 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44198 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44199 && !UNIX98]. Enables tests for XOPEN2K8.
44200 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44201 POSIX2008]: Likewise.
44202
44203 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44204 (struct rusage): Do not expect type or its members.
44205
44206 [BZ #3439]
44207 * math/math.h (FP_NAN): Define macro to integer constant usable in
44208 #if and use that to give value to enum constant.
44209 (FP_INFINITE): Likewise.
44210 (FP_ZERO): Likewise.
44211 (FP_SUBNORMAL): Likewise.
44212 (FP_NORMAL): Likewise.
44213
44214 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44215
44216 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44217 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44218 arguments.
44219
44220 2012-11-02 Roland McGrath <roland@hack.frob.com>
44221
44222 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44223 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44224 autoconf-time if not.
44225 * configure.in: Remove AC_PREREQ.
44226
44227 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44228
44229 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44230 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44231 of the internal implementation.
44232
44233 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44234
44235 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44236 except include of <misc/sys/syslog.h>.
44237
44238 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44239
44240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44241 function returns with a NULL context exit with zero.
44242
44243 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44244
44245 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44246
44247 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44248
44249 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44250 (run_program_cmd): This.
44251 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44252 (tst_langinfo): New variable. Use it.
44253
44254 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44255
44256 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44257 floating point opcodes.
44258
44259 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44260
44261 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44262 variable.
44263
44264 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44265
44266 * sysdeps/mach/hurd/powerpc: Remove directory.
44267 * sysdeps/mach/powerpc: Likewise.
44268
44269 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44270
44271 * scripts/check-local-headers.sh: Ignore c++ headers.
44272
44273 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44274
44275 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44276 __libc_cleanup_region_start argument.
44277
44278 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44279
44280 [BZ #14784]
44281 [BZ #14785]
44282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44283 x * y using scaling, not as x * y + z.
44284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44286 * math/libm-test.inc (fma_test): Add more tests.
44287 (fma_test_towardzero): Likewise.
44288 (fma_test_downward): Likewise.
44289 (fma_test_upward): Likewise.
44290
44291 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44292
44293 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44294
44295 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44296
44297 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44298 New variable.
44299
44300 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44301
44302 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44303
44304 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44305
44306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44307 Fix sort order.
44308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44309 Likewise.
44310
44311 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44312
44313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44314 Fix the order of the list for glibc 2.17.
44315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44316 Likewise.
44317
44318 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44319
44320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44321
44322 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44323
44324 [BZ #14610]
44325 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44326 for low part of x being zero before using __atanl (y).
44327 * math/libm-test.inc (atan2_test): Add another test.
44328
44329 * manual/install.texi (Configuring and compiling): Document
44330 general use of test-wrapper and test-wrapper-env.
44331 * INSTALL: Regenerated.
44332
44333 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44334 (__fma): Do not extract and scale down low bits on after-rounding
44335 systems when result rounded to normal precision would have normal
44336 exponent.
44337 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44338 (__fmal): Do not extract and scale down low bits on after-rounding
44339 systems when result rounded to normal precision would have normal
44340 exponent.
44341 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44342 (__fmal): Do not extract and scale down low bits on after-rounding
44343 systems when result rounded to normal precision would have normal
44344 exponent.
44345 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44346 macro.
44347 (fma_test): Add more tests.
44348 (fma_test_towardzero): Likewise.
44349 (fma_test_downward): Likewise.
44350 (fma_test_upward): Likewise.
44351
44352 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44353
44354 * sysdeps/i386/tininess.h: Renamed to ...
44355 * sysdeps/x86/tininess.h: This.
44356 * sysdeps/x86_64/tininess.h: Removed.
44357
44358 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44359
44360 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44361 input. Use $(build-program-cmd).
44362 ($(objpfx)tst-array1-static.out): Likewise.
44363 ($(objpfx)tst-array2.out): Likewise.
44364 ($(objpfx)tst-array3.out): Likewise.
44365 ($(objpfx)tst-array4.out): Likewise.
44366 ($(objpfx)tst-array5.out): Likewise.
44367 ($(objpfx)tst-array5-static.out): Likewise.
44368
44369 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44370
44371 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44372 if defined.
44373
44374 * nss/nsswitch.h (nss_interface_function): Provide new
44375 macro for use with NSS functions.
44376 * grp/initgroups.c: Use new macro.
44377 * nss/getXXbyYY.c: Likewise.
44378 * nss/getXXbyYY_r.c: Likewise.
44379 * nss/getXXent.c: Likewise.
44380 * nss/getXXent_r.c: Likewise.
44381 * sysdeps/posix/getaddrinfo.c: Likewise.
44382
44383 2012-10-30 Andreas Jaeger <aj@suse.de>
44384
44385 * po/ru.po: Update Russion translation from translation project.
44386
44387 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44388
44389 [BZ #14152]
44390 [BZ #14783]
44391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44392 result and shift together with sticky bit instead of replicating
44393 round-to-nearest rounding.
44394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44396 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44397 missing underflow exceptions.
44398 (fma_test_towardzero): Add more tests.
44399 (fma_test_downward): Likewise.
44400 (fma_test_upward): Likewise.
44401
44402 [BZ #14047]
44403 * sysdeps/generic/tininess.h: New file.
44404 * sysdeps/i386/tininess.h: Likewise.
44405 * sysdeps/sh/tininess.h: Likewise.
44406 * sysdeps/x86_64/tininess.h: Likewise.
44407 * stdlib/tst-strtod-underflow.c: Likewise.
44408 * stdlib/tst-tininess.c: Likewise.
44409 * stdlib/strtod_l.c: Include <tininess.h>.
44410 (round_and_return): Do not set errno for exact underflow cases.
44411 Force an underflow exception when setting errno for underflow.
44412 Determine underflow based on rounding to normal precision if
44413 TININESS_AFTER_ROUNDING.
44414 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44415 ERANGE for exact underflow cases.
44416 * stdlib/Makefile (tests): Add tst-tininess and
44417 tst-strtod-underflow.
44418 ($(objpfx)tst-tininess): Use $(link-libm).
44419 ($(objpfx)tst-strtod-underflow): Likewise.
44420
44421 2012-10-30 Andreas Jaeger <aj@suse.de>
44422
44423 [BZ#14767]
44424 * elf/Makefile (tests): Remove conditional for have-initfini-array
44425 since this is now always required and the variable does not exist
44426 anymore.
44427 (tests-static): Likewise.
44428 (modules-names): Likewise.
44429
44430 * po/eo.po: Add Esperanto translation from translation project.
44431
44432 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44433 merged with constructor/destructor.
44434 (init_array): Likewise.
44435 * elf/tst-array2dep.c (fini_array): Likewise.
44436 (init_array): Likewise.
44437
44438 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44439
44440 * manual/message.texi: Delete @cartouche tags.
44441
44442 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44443
44444 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44445 EOPNOTSUPP.
44446 * sysdeps/mach/hurd/fsync.c: Likewise.
44447
44448 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44449 [_POSIX_REALTIME_SIGNALS]: Change condition to
44450 [_POSIX_REALTIME_SIGNALS > 0].
44451
44452 2012-10-27 Andreas Jaeger <aj@suse.de>
44453
44454 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44455 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44457 [__WORDSIZE != 64]: Likewise.
44458
44459 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44460
44461 * iconvdata/tst-table.sh: Remove ${SHELL}.
44462 * iconvdata/tst-tables.sh: Likewise.
44463
44464 2012-10-25 David S. Miller <davem@davemloft.net>
44465
44466 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44467 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44468 of strtoull.
44469
44470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44471 ifunc-impl-list.c
44472 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44473 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44474 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44475 file.
44476
44477 2012-10-25 Roland McGrath <roland@hack.frob.com>
44478
44479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44480 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44481 __getdirentries.
44482
44483 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44484 Jim Blandy <jimb@codesourcery.com>
44485
44486 * scripts/cross-test-ssh.sh: New file.
44487 * manual/install.texi (Configuring and compiling): Document use of
44488 cross-test-ssh.sh.
44489 * INSTALL: Regenerated.
44490
44491 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44492
44493 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44494 EOPNOTSUPP.
44495
44496 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44497
44498 * Makeconfig (run-program-prefix): Fix comment.
44499
44500 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44501 Jim Blandy <jimb@codesourcery.com>
44502
44503 * Makeconfig (test-wrapper): New variable,
44504 (test-wrapper-env): Likewise.
44505 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44506 (run-built-tests): Define to yes.
44507 (run-program-prefix): Use $(test-wrapper).
44508 (built-program-cmd): Likewise.
44509 * Rules (make-test-out): Use $(test-wrapper-env) and
44510 $(host-built-program-cmd).
44511 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44512 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44513 tst-pathopt.sh.
44514 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44515 $(test-wrapper-env) to tst-rtld-load-self.sh.
44516 ($(objpfx)order2.out): Use $(test-wrapper).
44517 ($(objpfx)tst-initorder.out): Likewise.
44518 ($(objpfx)tst-initorder2.out): Likewise.
44519 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44520 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44521 (test_wrapper_env): New variable. Use it to run ld.so.
44522 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44523 Use it to run ld.so.
44524 (test_wrapper_env): Likewise.
44525 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44526 $(test-wrapper) to run-iconv-test.sh.
44527 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44528 (ICONV): Use $test_wrapper.
44529 * posix/Makefile ($(objpfx)globtest.out): Pass
44530 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44531 globtest.sh, not $(run-program-prefix).
44532 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44533 (test_wrapper): Likewise.
44534 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44535 set together with run_via_rtld_prefix.
44536 (run_program_prefix): Define in terms of test_wrapper and
44537 run_via_rtld_prefix.
44538
44539 2012-10-24 Roland McGrath <roland@hack.frob.com>
44540
44541 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44542 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44543 Targets removed.
44544
44545 [BZ #14743]
44546 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44547 Declare __clock_getres, __clock_gettime, __clock_settime,
44548 __clock_nanosleep, and __clock_getcpuclockid.
44549 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44550 Remove librt_hidden_def (clock_gettime).
44551 * sysdeps/unix/clock_gettime.c: Likewise.
44552 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44553 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44554 * rt/clock_getres.c: Define __clock_getres as an alias.
44555 * sysdeps/posix/clock_getres.c: Likewise.
44556 * rt/clock_settime.c: Define __clock_settime as an alias.
44557 * sysdeps/unix/clock_settime.c: Likewise.
44558 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44559 * sysdeps/unix/clock_nanosleep.c: Likewise.
44560 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44561 * rt/clock-compat.c: New file.
44562 * rt/Makefile (librt-routines): Add clock-compat and move
44563 $(clock-routines) to ...
44564 (routines): ... here, new variable.
44565 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44566 Don't add get_clockfreq here.
44567 * rt/Versions (libc: GLIBC_2.17): New version set.
44568 Add clock_* symbols here.
44569 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44570 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44571 (GLIBC_2.17): Add clock_* symbols.
44572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44576 Likewise.
44577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44578 Likewise.
44579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44583 * NEWS: Mention the move.
44584
44585 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44586 Use __open, __read, __close rather than their public counterparts.
44587 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44588 (__get_clockfreq_via_cpuinfo): Likewise.
44589 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44590 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44591
44592 * config.h.in (HAVE_IFUNC): New #undef.
44593 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44594 was successful.
44595 * configure: Regenerated.
44596
44597 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44598
44599 * configure.in: Move READELF check to start of file.
44600 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44601 libc_cv_asm_gnu_indirect_function in the process.
44602 * configure: Regenerated.
44603
44604 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44605
44606 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44607 send the output to /dev/null.
44608 (libc_cv_cc_with_libunwind): Likewise.
44609 (libc_cv_as_noexecstack): Likewise.
44610 * configure: Regenerate.
44611
44612 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44613
44614 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44615
44616 * posix/globtest.sh (TMPDIR): Do not set.
44617 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44618 (testout): Likewise.
44619
44620 2012-10-24 Andreas Jaeger <aj@suse.de>
44621
44622 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44623 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44624 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44625 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44626 posix_fadvise64, posix_fallocate64.
44627
44628 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44629 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44630 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44631 Likewise.
44632 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44633 Likewise.
44634 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44635
44636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44637 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44638 <bits/fcntl-linux.h>.
44639 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44640
44641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44642 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44643 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44644 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44645 [__WORDSIZE != 64]: Likewise.
44646
44647 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44648
44649 * Makeconfig (run-built-tests): New variable.
44650 * Rules [$(cross-compiling) = yes]: Change condition to
44651 [$(run-built-tests) = no].
44652 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44653 to [$(run-built-tests) = yes].
44654 * elf/Makefile [$(cross-compiling) = no]: Likewise
44655 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44656 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44657 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44658 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44659 * io/Makefile [$(cross-compiling) = no]: Likewise.
44660 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44661 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44662 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44663 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44664 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44665 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44666 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44667 * string/Makefile [$(cross-compiling) = no]: Likewise.
44668
44669 * posix/Makefile ($(objpfx)globtest.out): Pass
44670 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44671 $(rtld-installed-name).
44672 * posix/globtest.sh (elf_objpfx): Remove variable.
44673 (rtld_installed_name): Likewise.
44674 (library_path): Likewise.
44675 (run_program_prefix): New variable. Use for running globtest
44676 binary.
44677
44678 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44679 Joseph Myers <joseph@codesourcery.com>
44680
44681 * Makeconfig (host-built-program-cmd): New variable.
44682 * elf/Makefile (tst-stackguard1-ARGS): Use
44683 $(host-built-program-cmd).
44684 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44685 (tst-spawn-ARGS): Likewise.
44686 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44687
44688 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44689 Jim Blandy <jimb@codesourcery.com>
44690
44691 * Makeconfig (run-via-rtld-prefix): New variable.
44692 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44693 (built-program-cmd): Likewise.
44694
44695 2012-10-22 Andreas Jaeger <aj@suse.de>
44696
44697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44698 __O_RSYNC if it exists, otherwise to O_SYNC.
44699
44700 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44701 Joseph Myers <joseph@codesourcery.com>
44702
44703 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44704 /dev/null.
44705 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44706 from /dev/null
44707 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44708 /dev/null.
44709
44710 2012-10-22 Andreas Jaeger <aj@suse.de>
44711
44712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44713 Define always.
44714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44715
44716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44717 bits/fcntl-linux.h.
44718
44719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44720 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44721
44722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44723 to __O_LARGEFILE.
44724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44725 to __O_LARGEFILE.
44726
44727 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44728 Joseph Myers <joseph@codesourcery.com>
44729
44730 * config.make.in (NM): New variable.
44731
44732 2012-10-21 Andreas Jaeger <aj@suse.de>
44733
44734 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44735 definitions and declarations that are provided by
44736 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44737
44738 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44739
44740 [BZ #14683]
44741 * elf/Makefile (tests-static): Add tst-leaks1-static.
44742 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44743 ($(objpfx)tst-leaks1-static): New rule.
44744 ($(objpfx)tst-leaks1-static-mem): Likewise.
44745 (tst-leaks1-static-ENV): New macro.
44746 * elf/dl-open.c (dl_open_worker): Check the main application
44747 only if SHARED is defined.
44748 * elf/tst-leaks1-static.c: New file.
44749
44750 2012-10-20 Andreas Jaeger <aj@suse.de>
44751
44752 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44753 generic values for Linux.
44754 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44755 and declarations that are provided by <bits/fcntl-linux.h> and
44756 include <bits/fcntl-linux.h>.
44757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44759
44760 2012-10-20 Roland McGrath <roland@hack.frob.com>
44761
44762 * io/fcntl.h: Move include of <bits/types.h> to the top and
44763 include it unconditionally.
44764
44765 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44766
44767 * wcsmbs/Makefile (tests-ifunc): New variable.
44768 (tests): Add $(tests-ifunc).
44769 * wcsmbs/test-wcschr-ifunc.c: New file.
44770 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44771 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44772 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44773 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44774 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44775
44776 * string/Makefile (tests-ifunc): New variable.
44777 (tests): Add $(tests-ifunc).
44778 * string/test-memccpy.c (TEST_NAME): New macro.
44779 * string/test-memchr.c (TEST_NAME): Likewise.
44780 * string/test-memcmp.c (TEST_NAME): Likewise.
44781 * string/test-memcpy.c (TEST_NAME): Likewise.
44782 * string/test-memmem.c (TEST_NAME): Likewise.
44783 * string/test-memmove.c (TEST_NAME): Likewise.
44784 * string/test-memset.c (TEST_NAME): Likewise.
44785 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44786 * string/test-stpcpy.c (TEST_NAME): Likewise.
44787 * string/test-stpncpy.c (TEST_NAME): Likewise.
44788 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44789 * string/test-strcasestr.c (TEST_NAME): Likewise.
44790 * string/test-strcat.c (TEST_NAME): Likewise.
44791 * string/test-strchr.c (TEST_NAME): Likewise.
44792 * string/test-strcmp.c(TEST_NAME): Likewise.
44793 * string/test-strcpy.c (TEST_NAME): Likewise.
44794 * string/test-strcspn.c (TEST_NAME): Likewise.
44795 * string/test-strlen.c (TEST_NAME): Likewise.
44796 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44797 * string/test-strncmp.c (TEST_NAME): Likewise.
44798 * string/test-strncpy.c (TEST_NAME): Likewise.
44799 * string/test-strnlen.c (TEST_NAME): Likewise.
44800 * string/test-strpbrk.c (TEST_NAME): Likewise.
44801 * string/test-strrchr.c (TEST_NAME): Likewise.
44802 * string/test-strspn.c (TEST_NAME): Likewise.
44803 * string/test-strstr.c (TEST_NAME): Likewise.
44804 * string/test-bcopy-ifunc.c: New file.
44805 * string/test-bzero-ifunc.c: Likewise.
44806 * string/test-memccpy-ifunc.c: Likewise.
44807 * string/test-memchr-ifunc.c: Likewise.
44808 * string/test-memcmp-ifunc.c: Likewise.
44809 * string/test-memcpy-ifunc.c: Likewise.
44810 * string/test-memmem-ifunc.c: Likewise.
44811 * string/test-memmove-ifunc.c: Likewise.
44812 * string/test-mempcpy-ifunc.c: Likewise.
44813 * string/test-memset-ifunc.c: Likewise.
44814 * string/test-rawmemchr-ifunc.c: Likewise.
44815 * string/test-stpcpy-ifunc.c: Likewise.
44816 * string/test-stpncpy-ifunc.c: Likewise.
44817 * string/test-strcasecmp-ifunc.c: Likewise.
44818 * string/test-strcasestr-ifunc.c: Likewise.
44819 * string/test-strcat-ifunc.c: Likewise.
44820 * string/test-strchr-ifunc.c: Likewise.
44821 * string/test-strchrnul-ifunc.c: Likewise.
44822 * string/test-strcmp-ifunc.c: Likewise.
44823 * string/test-strcpy-ifunc.c: Likewise.
44824 * string/test-strcspn-ifunc.c: Likewise.
44825 * string/test-strlen-ifunc.c: Likewise.
44826 * string/test-strncasecmp-ifunc.c: Likewise.
44827 * string/test-strncat-ifunc.c: Likewise.
44828 * string/test-strncmp-ifunc.c: Likewise.
44829 * string/test-strncpy-ifunc.c: Likewise.
44830 * string/test-strnlen-ifunc.c: Likewise.
44831 * string/test-strpbrk-ifunc.c: Likewise.
44832 * string/test-strrchr-ifunc.c: Likewise.
44833 * string/test-strspn-ifunc.c: Likewise.
44834 * string/test-strstr-ifunc.c: Likewise.
44835
44836 * debug/Makefile (tests-ifunc): New variable.
44837 (tests): Add $(tests-ifunc).
44838 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44839 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44840 * debug/test-stpcpy_chk-ifunc.c: New file.
44841 * debug/test-strcpy_chk-ifunc.c: Likewise.
44842
44843 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44844
44845 [BZ #13601]
44846 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44847 header is not read in.
44848
44849 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44850
44851 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44852 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44853 directly. Pass built executable to script as
44854 $(built-program-cmd).
44855 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44856 $testprogram without using LD_LIBRARY_PATH and $ldso.
44857
44858 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44859 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44860 $(rtld-installed-name).
44861 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44862 (rtld_installed_name): Likewise.
44863 (library_path): Likewise.
44864 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44865 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44866 $(run-program-prefix) to tst-tables.sh.
44867 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44868 it to run tst-table-from and tst-table-to.
44869 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44870 Pass it to tst-table.sh.
44871 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44872 $(run-program-prefix) to tst-gettext.sh.
44873 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44874 tst-translit.sh.
44875 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44876 tst-gettext2.sh.
44877 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44878 to run tst-gettext.
44879 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44880 to run tst-gettext2.
44881 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44882 to run tst-translit.
44883 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44884 $(run-program-prefix) to tst-mtrace.sh.
44885 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44886 to run tst-mtrace.
44887 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44888 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44889 $(rtld-installed-name).
44890 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44891 (rtld_installed_name): Likewise.
44892 (run_program_prefix): New variable. Use it to run wordexp-test.
44893
44894 * Makeconfig (ARCH): Remove all definitions.
44895 (machine): Likewise.
44896 [ARCH]: Remove conditional code.
44897 [!objdir]: Give error.
44898 [!objdir] (objpfx): Remove.
44899 [!objdir] (common-objpfx): Likewise.
44900 [!objdir] (common-objdir): Likewise.
44901 * configure.in (config_makefile): Remove. Hardcode Makefile in
44902 AC_CONFIG_FILES call.
44903 * configure: Regenerated.
44904
44905 [BZ #13888]
44906 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44907 or TMPDIR.
44908 (testout): Likewise.
44909
44910 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44911 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44912 $(rtld-installed-name).
44913 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44914 (rtld_installed_name): Likwise.
44915 (runit): Remove function.
44916 (run_getconf): New variable, Use it for running getconf binary.
44917
44918 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
44919
44920 [BZ #14716]
44921 * string/test-memmem.c (check_result): New function.
44922 (do_one_test): Use it.
44923 (check1): New function.
44924 (test_main): Use it.
44925
44926 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44927
44928 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44929
44930 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44931
44932 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44933 (_G_LSEEK64): Likewise.
44934 (_G_MMAP64): Likewise.
44935 (_G_FSTAT64): Likewise.
44936 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44937 (_G_LSEEK64): Likewise.
44938 (_G_MMAP64): Likewise.
44939 (_G_FSTAT64): Likewise.
44940 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44941 unconditional. Call __mmap64 directly.
44942 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44943 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44944 __lseek64 directly.
44945 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44946 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44947 __mmap64 directly.
44948 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44949 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44950 __lseek64 directly.
44951 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44952 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44953 __lseek64 directly.
44954 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44955 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
44956 __lseek64 directly.
44957 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44958 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
44959 __fxstat64 directly.
44960 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44961 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44962 unconditional.
44963 (freopen64) [!_G_OPEN64]: Remove conditional code.
44964 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44965 unconditional.
44966 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44967 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44968 unconditional.
44969 (ftello64) [!_G_LSEEK64]: Remove conditional code.
44970 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44971 unconditional.
44972 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44973 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44974 unconditional.
44975 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44976 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44977 unconditional.
44978 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44979 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44980 unconditional.
44981 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44982 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44983 unconditional.
44984 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44985
44986 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44987
44988 [BZ #12140]
44989 * manual/memory.texi (Malloc Tunable Parameters): Add note
44990 about free list pointers overwriting some perturb bytes.
44991 Wording suggested by Roland McGrath.
44992
44993 2012-10-17 Joseph Myers <joseph@codesourcery.com>
44994
44995 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44996 (lgamma_test): Likewise.
44997 (tgamma_test): Likewise.
44998
44999 2012-10-16 Florian Weimer <fweimer@redhat.com>
45000
45001 [BZ #14700]
45002 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45003 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45004
45005 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45006
45007 * NEWS: Mention BZ #14716.
45008 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45009 when removing AVAILABLE1_USES_J macro.
45010
45011 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45012
45013 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45014 (__bswap_64): __uint64_t for unsigned 64-bit int.
45015
45016 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45017
45018 * include/string.h (memmem): Declare libc hidden alias.
45019 * string/memmem.c (memmem): Define libc hidden alias.
45020 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45021 __read, __close instead of open, read, close.
45022
45023 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45024
45025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45026 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45027 global and hidden.
45028 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45029 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45030 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45031 Likewise.
45032 (__rawmemchr_sse2): Likewise.
45033 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45034 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45035 (__strchr_sse2): Likewise.
45036 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45037 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45038 (__strcasecmp_sse2): Likewise.
45039 (__strncasecmp_sse2): Likewise.
45040 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45041 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45042 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45043 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45044 (__strrchr_sse2): Likewise.
45045 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45046 ifunc-impl-list.c.
45047 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45048 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45049 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45050 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45051 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45052 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45053 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45054 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45055 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45056 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45057 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45058 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45059 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45060 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45061 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45062 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45063 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45064 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45065 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45066 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45067 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45068 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45069 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45070 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45071 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45072 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45073 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45074 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45075 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45076 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45077
45078 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45079 global and hidden.
45080 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45081 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45082 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45083 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45084 Likewise.
45085 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45086 Likewise.
45087 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45088 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45089 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45090 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45091 ifunc-impl-list.c.
45092 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45093 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45094 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45095 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45096 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45097 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45098 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45099 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45100 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45101 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45102 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45103 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45104 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45105 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45106 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45107 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45108 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45109 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45110 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45111 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45112 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45113 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45114 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45115 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45116 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45117 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45118 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45119 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45120 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45121 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45122 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45123 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45124 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45125 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45126 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45127 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45128 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45129 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45130 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45131 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45132 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45133
45134 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45135 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45136 * include/ifunc-impl-list.h: New file.
45137 * misc/ifunc-impl-list.c: Likewise.
45138 * misc/Makefile (routines): Add ifunc-impl-list.
45139 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45140 * string/test-string.h: Include <ifunc-impl-list.h>.
45141 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45142 TEST_NAME]: New variables.
45143 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45144 are defined.
45145 (test_init): Call __libc_ifunc_impl_list to initialize
45146 func_list if TEST_IFUNC and TEST_NAME are defined.
45147
45148 * string/Makefile (strop-tests): Add bcopy and bzero.
45149 * string/test-bcopy.c: New file.
45150 * string/test-bzero.c: Likewise.
45151 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45152 defined.
45153 * string/test-memset.c: Support bzero test if TEST_BZERO is
45154 defined.
45155 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45156 __libc_memmove.
45157 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45158 __libc_memset.
45159 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45160 of memset.
45161
45162 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45163
45164 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45165 * configure: Regenerated.
45166
45167 * Makeconfig (+link-static-before-libc): Don't include
45168 $(link-static-libc).
45169
45170 * libio/libio.h (_IO_pos_t): Remove.
45171
45172 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45173
45174 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45175 McGrath.
45176
45177 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45178
45179 * crypt/crypt-entry.c: Include fips-private.h.
45180 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45181 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45182 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45183 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45184
45185 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45186
45187 * crypt/crypt-private.h: Include stdbool.h.
45188 (_ufc_setup_salt_r): Return bool.
45189 * crypt/crypt-entry.c: Include errno.h.
45190 (__crypt_r): Return NULL with EINVAL for bad salt.
45191 * crypt/crypt_util.c (bad_for_salt): New.
45192 (_ufc_setup_salt_r): Check that salt is long enough and within
45193 the specified alphabet.
45194 * crypt/badsalttest.c: New file.
45195 * crypt/Makefile (tests): Add it.
45196 ($(objpfx)badsalttest): New.
45197
45198 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45199
45200 * NEWS: Add entry for BZ #14602.
45201
45202 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45203
45204 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45205 type-generic.
45206 * math/libm-test.inc: Update comment listing what functions and
45207 macros are tested.
45208 (isgreater_test): New function.
45209 (isgreaterequal_test): Likewise.
45210 (isless_test): Likewise.
45211 (islessequal_test): Likewise.
45212 (islessgreater_test): Likewise.
45213 (isunordered_test): Likewise.
45214 (main): Call the new functions.
45215
45216 2012-10-09 Roland McGrath <roland@hack.frob.com>
45217
45218 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45219 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45220 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45221 * sysdeps/i386/configure: Regenerated.
45222 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45223 * sysdeps/mach/configure: Regenerated.
45224 * sysdeps/mach/hurd/configure: Regenerated.
45225 * sysdeps/powerpc/configure: Regenerated.
45226 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45227 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45228 * sysdeps/s390/s390-32/configure: Regenerated.
45229 * sysdeps/s390/s390-64/configure: Regenerated.
45230 * sysdeps/sh/configure: Regenerated.
45231 * sysdeps/sparc/configure: Regenerated.
45232 * sysdeps/unix/sysv/linux/configure: Regenerated.
45233 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45234 * sysdeps/x86_64/configure: Regenerated.
45235
45236 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45237 defined. Don't check if MAP is NULL.
45238
45239 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45240
45241 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45242 (_G_stat64): Likewise.
45243 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45244 (_G_stat64): Likewise.
45245 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45246 instead of struct _G_stat64.
45247 * libio/fileops.c (mmap_remap_check): Likewise.
45248 (decide_maybe_mmap): Likewise.
45249 (_IO_new_file_seekoff): Likewise.
45250 (_IO_file_stat): Likewise.
45251 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45252 _G_off64_t.
45253 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45254 instead of struct _G_stat64.
45255 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45256
45257 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45258
45259 [BZ #14602]
45260 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45261 Replace with ...
45262 (CHECK_EOL): New macro.
45263 (two_way_short_needle): Check beginning of haystack for EOL. Use
45264 CHECK_EOL.
45265 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45266 Replace with CHECK_EOL.
45267 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45268 Replace with CHECK_EOL.
45269
45270 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45271
45272 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45273 type-generic.
45274 * math/libm-test.inc: Update comment listing what functions and
45275 macros are tested.
45276 (finite_test): New function.
45277 (isinf_test): Likewise.
45278 (isnan_test): Likewise.
45279 (fpclassify_test): Test subnormal input.
45280 (isfinite_test): Likewise.
45281 (isnormal_test): Likewise.
45282 (main): Call the new functions.
45283
45284 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45285
45286 [BZ #14660]
45287 * Makerules (%.dynsym): Force C locale when running
45288 $(OBJDUMP) --dynamic-syms.
45289
45290 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45291
45292 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45293 <stdint.h>.
45294
45295 2012-10-06 David S. Miller <davem@davemloft.net>
45296
45297 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45298 upper 32-bits of the length value in %o2 since we use branch-on-register
45299 tests which consider the entire 64-bit register.
45300
45301 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45302
45303 * string/test-strstr.c (check2): Add a test for page boundary.
45304
45305 2012-10-05 David S. Miller <davem@davemloft.net>
45306
45307 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45308 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45309 file.
45310 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45311 sysdep_routines.
45312 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45313 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45314 and bzero when HWCAP_SPARC_CRYPTO is present.
45315
45316 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45317
45318 [BZ #14602]
45319 * string/test-strstr.c (check2): New function.
45320 (test_main): Call check2.
45321
45322 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45323 and bug-strchr1.
45324 * string/bug-strcasestr1.c (do_test): Moved to ...
45325 * string/test-strcasestr.c (check1): Here. New function.
45326 (do_one_test): Break out result checking code into ...
45327 (check_result): This. New function.
45328 (do_one_test): Call check_result.
45329 (test_main): Call check1.
45330 * string/bug-strchr1.c (do_test): Moved to ...
45331 * string/test-strchr.c (check1): Here. New function.
45332 (do_one_test): Break out result checking code into ...
45333 (check_result): This. New function.
45334 (do_one_test): Call check_result.
45335 (test_main): Call check1.
45336 * string/bug-strstr1.c (main): Moved to ...
45337 * string/test-strstr.c (check1): Here. New function.
45338 (do_one_test): Break out result checking code into ...
45339 (check_result): This. New function.
45340 (do_one_test): Call check_result.
45341 (test_main): Call check1.
45342 * string/bug-strcasestr1.c: Removed.
45343 * string/bug-strchr1.c: Likewise.
45344 * string/bug-strstr1.c: Likewise.
45345
45346 * elf/Makefile (dl-routines): Add hwcaps.
45347 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45348 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45349 (_dl_important_hwcaps): Moved to ...
45350 * elf/dl-hwcaps.c: Here. New file.
45351 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45352
45353 [BZ #14557]
45354 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45355 if IS_IN_rtld isn't defined.
45356
45357 * elf/dl-support.c (_dl_sysinfo_map): New.
45358 Include "get-dynamic-info.h" and "setup-vdso.h".
45359 (_dl_non_dynamic_init): Call setup_vdso.
45360 * elf/dynamic-link.h: Don't include <assert.h>.
45361 (elf_get_dynamic_info): Moved to ...
45362 * elf/get-dynamic-info.h: Here. New file.
45363 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45364 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45365 * elf/setup-vdso.h: Here. New file.
45366 * elf/rtld.c: Include "setup-vdso.h".
45367 (dl_main): Call setup_vdso.
45368
45369 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45370
45371 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45372 creal in comment listing functions tested. List finite, isinf,
45373 isnan, isless, islessequal, isgreater, isgreaterequal,
45374 islessgreater, isunordered, lgamma_r and pow10 as functions and
45375 macros not tested. Mention which functions not tested are aliases
45376 for other functions. Fix typo. Note that signs of NaNs are not
45377 tested.
45378
45379 * scripts/config.guess: Update from config.git.
45380 * scripts/config.sub: Likewise.
45381
45382 2012-10-04 Roland McGrath <roland@hack.frob.com>
45383
45384 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45385 * misc/madvise.c (madvise): Renamed to __madvise.
45386 Make madvise a weak alias.
45387 * include/sys/mman.h: Declare __madvise.
45388 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45389 * sysdeps/unix/syscalls.list
45390 (madvise): Make __madvise the strong name, and madvise a weak alias.
45391 * sysdeps/unix/sysv/linux/syscalls.list
45392 (madvise, mmap): Remove redundant entries.
45393 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45394 * malloc/malloc.c (mtrim): Likewise.
45395 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45396
45397 2012-10-03 Roland McGrath <roland@hack.frob.com>
45398
45399 * sysdeps/mach/hurd/dl-cache.c: File removed.
45400 * config.h.in (USE_LDCONFIG): New #undef.
45401 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45402 * configure: Regenerated.
45403 * elf/Makefile (dl-routines): Add dl-cache only under
45404 [$(use-ldconfig) = yes].
45405 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45406 cache on [USE_LDCONFIG].
45407 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45408 [USE_LDCONFIG].
45409 * elf/rtld.c (dl_main): Likewise.
45410
45411 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45412
45413 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45414 _SC_LEVEL4_CACHE_LINESIZE.
45415
45416 2012-10-03 Roland McGrath <roland@hack.frob.com>
45417
45418 * sysdeps/unix/bsd/confstr.h: File removed.
45419
45420 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45421
45422 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45423 sys/sdt-config.h.
45424
45425 2012-10-02 Roland McGrath <roland@hack.frob.com>
45426
45427 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45428 Make 'mapoff' field ElfW(Off) rather than off_t.
45429
45430 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45431
45432 * nscd/Makefile: Remove nscd-cflags and all its users.
45433 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45434 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45435
45436 [BZ #10631]
45437 * malloc.c (malloc_printerr): Clarify error message.
45438
45439 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45440
45441 [BZ #14648]
45442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45443 Set bit_FMA_Usable if FMA is supported.
45444 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45445 macro.
45446 (bit_FMA4_Usable): Updated.
45447 (index_FMA_Usable): New macro.
45448 (CPUID_FMA): Likewise
45449 (HAS_FMA): Defined with bit_FMA_Usable.
45450
45451 2012-10-01 Roland McGrath <roland@hack.frob.com>
45452
45453 * bits/types.h (__swblk_t): Type removed.
45454 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45455 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45456 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45457 (__SWBLK_T_TYPE): Likewise.
45458 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45459 (__SWBLK_T_TYPE): Likewise.
45460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45461 (__SWBLK_T_TYPE): Likewise.
45462 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45463 (__SWBLK_T_TYPE): Likewise.
45464
45465 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45466 Honza Horak <hhorak@redhat.com>
45467
45468 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45469 (xdr_mapname): Use YPMAXMAP as maxsize.
45470 (xdr_peername): Use YPMAXPEER as maxsize.
45471 (xdr_keydat): Use YPAXRECORD as maxsize.
45472 (xdr_valdat): Use YPMAXRECORD as maxsize.
45473
45474 2012-10-01 Roland McGrath <roland@hack.frob.com>
45475
45476 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45477
45478 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45479 * csu/init-first.c: ... here.
45480 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45481 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45482 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45483 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45484 * sysdeps/i386/init-first.c: File removed.
45485 * sysdeps/sh/init-first.c: File removed.
45486
45487 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45488
45489 [BZ #14645]
45490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45491 if x * y might underflow to zero and z is zero.
45492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45494 * math/libm-test.inc (min_subnorm_value): New variable.
45495 (fma_test): Add more tests.
45496 (fma_test_towardzero): Likewise.
45497 (fma_test_downward): Likewise
45498 (fma_test_upward): Likewise.
45499 (initialize): Set min_subnorm_value.
45500
45501 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45502
45503 [BZ #14638]
45504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45505 0 + 0.
45506 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45507 mode for addition resulting in exact zero.
45508 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45510 exact 0 + 0.
45511 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45513 * math/libm-test.inc (fma_test): Add more tests.
45514 (fma_test_towardzero): New function.
45515 (fma_test_downward): Likewise.
45516 (fma_test_upward): Likewise.
45517 (main): Call the new functions.
45518
45519 2012-09-28 David S. Miller <davem@davemloft.net>
45520
45521 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45522
45523 2012-09-28 Roland McGrath <roland@hack.frob.com>
45524
45525 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45526 instead of SIGALRM.
45527
45528 * sysdeps/gnu/_G_config.h: Moved to ...
45529 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45530 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45531 * sysdeps/generic/_G_config.h: ... here.
45532
45533 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45534
45535 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45536
45537 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45538 Conditionalize target on [libnss_test1.so-version].
45539
45540 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45541
45542 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45543 (elfobjdir): Move out of conditionals.
45544
45545 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45546 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45547 (__nss_lookup_function): Conditionalize label remove_from_tree on
45548 [!DO_STATIC_NSS || SHARED], matching its only use.
45549
45550 2012-09-28 David S. Miller <davem@davemloft.net>
45551
45552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45553 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45554 file.
45555 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45556 sysdep_routines.
45557 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45559 when HWCAP_SPARC_CRYPTO is present.
45560
45561 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45562
45563 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45564
45565 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45566
45567 [BZ #6530]
45568 * stdio-common/vfprintf.c (process_string_arg): Revert
45569 2000-07-22 change.
45570
45571 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45572
45573 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45574 for testcase.
45575 * stdio-common/tst-sprintf.c: Include <locale.h>
45576 (main): Test sprintf's handling of incomplete multibyte
45577 characters.
45578
45579 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45580
45581 * elf/dl-runtime.c (VERSYMIDX): Removed.
45582 * elf/dl-version.c (VERSYMIDX): Likewise.
45583 * elf/do-rel.h (VERSYMIDX): Likewise.
45584 (VALIDX): Likewise.
45585 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45586 * elf/rtld.c (VALIDX): Likewise.
45587 (ADDRIDX): Likewise.
45588 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45589 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45590 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45591 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45592 (VALIDX): Likewise.
45593 (ADDRIDX): Likewise.
45594
45595 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45596
45597 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45598
45599 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45600
45601 [BZ #11438]
45602 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45603 to global scope.
45604 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45605 addresses are in the same scope as 192.0.2/24.
45606 * posix/gai.conf: Document new scope table defaults.
45607
45608 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45609
45610 [BZ #5298]
45611 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45612 for ftell. Compute offsets from write pointers instead.
45613 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45614
45615 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45616
45617 [BZ #14543]
45618 * libio/Makefile (tests): New test case tst-fseek.
45619 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45620 combination works in wide mode.
45621 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45622 state when the external buffer state changes.
45623
45624 2012-09-27 David S. Miller <davem@davemloft.net>
45625
45626 [BZ #14376]
45627 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45628 pass reloc->r_addend in as the 'high' argument to
45629 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45630
45631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45632
45633 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45634
45635 * rt/tst-aio2.c: Include <pthread.h>.
45636 * rt/tst-aio3.c: Likewise.
45637
45638 2012-09-27 Steve Ellcey <sellcey@mips.com>
45639
45640 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45641
45642 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45643
45644 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45645 contents on [SHARED].
45646
45647 2012-09-26 Marek Polacek <polacek@redhat.com>
45648
45649 [BZ #14530]
45650 [BZ #13741]
45651 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45652 for C++ and GCC <4.3 as well as for non GCC compilers.
45653
45654 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45655
45656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45657
45658 2012-09-25 Roland McGrath <roland@hack.frob.com>
45659
45660 * Makefile.in (all, install): Declare with .PHONY.
45661 Reported by Michael Hope <michael.hope@linaro.org>.
45662
45663 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45664
45665 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45666 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45667 system header.
45668 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45669 Likewise.
45670 (sydep_routines): Add the new and the internal functions.
45671 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45672 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45674 (GLIBC_2.17): Add the new function.
45675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45676 (GLIBC_2.17): Likewise.
45677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45678 (GLIBC_2.17): Likewise.
45679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45680 (GLIBC_2.17): Likewise.
45681 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45682
45683 2012-09-25 Alan Modra <amodra@gmail.com>
45684
45685 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45686 Add release barrier before setting once_control to say
45687 initialisation is done. Add hints on lwarx. Use macro in
45688 place of isync.
45689 (clear_once_control): Add release barrier.
45690
45691 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45692
45693 [BZ #13629]
45694 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45695 specially.
45696 * math/s_clog10.c (__clog10): Likewise.
45697 * math/s_clog10f.c (__clog10f): Likewise.
45698 * math/s_clog10l.c (__clog10l): Likewise.
45699 * math/s_clogf.c (__clogf): Likewise.
45700 * math/s_clogl.c (__clogl): Likewise.
45701 * math/Makefile (libm-calls): Add x2y2m1.
45702 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45703 (__x2y2m1): Likewise.
45704 (__x2y2m1l): Likewise.
45705 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45706 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45707 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45708 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45709 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45710 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45711 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45712 * sysdeps/i386/fpu/libm-test-ulps: Update.
45713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45714
45715 [BZ #14621]
45716 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45717 int as type of variable DEPTH.
45718 (glob): Use size_t instead of int as type of variables NEWCOUNT
45719 and OLD_PATHC.
45720
45721 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45722
45723 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45724 Add s_sincosf-sse2.
45725 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45726 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45727 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45728 macros for using routine as __sincosf_ia32.
45729 Use macro for function declaration and weak_alias.
45730 * sysdeps/i386/fpu/libm-test-ulps: Update.
45731
45732 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45734
45735 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45736 subnormal argument.
45737 * math/s_cexpf.c (__cexpf): Likewise.
45738 * math/s_csinf.c (__csinf): Likewise.
45739 * math/s_csinhf.c (__csinhf): Likewise.
45740 * math/s_ctanf.c (__ctanf): Likewise.
45741 * math/s_ctanhf.c (__ctanhf): Likewise.
45742 * math/s_ccosh.c (__ccoshf): Likewise.
45743 * math/s_cexp.c (__cexpl): Likewise.
45744 * math/s_csin.c (__csin): Likewise.
45745 * math/s_csinh.c (__csinh): Likewise.
45746 * math/s_ctan.c (__ctan): Likewise.
45747 * math/s_ctanh.c (ctanh): Likewise.
45748 * math/s_ccoshl.c (__ccoshl): Likewise.
45749 * math/s_cexpl.c (__cexpl): Likewise.
45750 * math/s_csinl.c (__csinl): Likewise.
45751 * math/s_csinhl.c (__csinhl): Likewise.
45752 * math/s_ctanl.c (__ctanl): Likewise.
45753 * math/s_ctanhl.c (__ctanhl): Likewise.
45754
45755 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45756
45757 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45758 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45759 (_IO_off_t): Define to __off_t, not _G_off_t.
45760 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45761 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45762 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45763 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45764 type of __dummy and __dummy2 fields.
45765 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45766 (_G_ssize_t): Likewise.
45767 (_G_off_t): Likewise.
45768 (_G_pid_t): Likewise.
45769 (_G_uid_t): Likewise.
45770 (_G_wchar_t): Likewise.
45771 (_G_wint_t): Likewise.
45772 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45773 (_G_ssize_t): Likewise.
45774 (_G_off_t): Likewise.
45775 (_G_pid_t): Likewise.
45776 (_G_uid_t): Likewise.
45777 (_G_wchar_t): Likewise.
45778 (_G_wint_t): Likewise.
45779 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45780 (_G_ssize_t): Likewise.
45781 (_G_off_t): Likewise.
45782 (_G_pid_t): Likewise.
45783 (_G_uid_t): Likewise.
45784 (_G_wchar_t): Likewise.
45785 (_G_wint_t): Likewise.
45786
45787 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45788
45789 * malloc/arena.c: Include malloc-sysdep.h.
45790 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45791 is sufficient to shrink the heap or an unmap is needed.
45792 * sysdeps/generic/malloc-sysdep.h: New file. Define
45793 new function check_may_shrink_heap.
45794 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45795 new function check_may_shrink_heap.
45796
45797 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45798
45799 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45800 comments.
45801
45802 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45803
45804 * catgets/test-gencat.sh: Add "set -e".
45805 * elf/tst-pathopt.sh: Likewise.
45806 * grp/tst_fgetgrent.sh: Likewise.
45807 * iconvdata/run-iconv-test.sh: Likewise.
45808 * intl/tst-gettext.sh: Likewise.
45809 * intl/tst-gettext2.sh: Likewise.
45810 * intl/tst-gettext4.sh: Likewise.
45811 * intl/tst-gettext6.sh: Likewise.
45812 * intl/tst-translit.sh: Likewise.
45813 * io/ftwtest-sh: Likewise.
45814 * libio/test-freopen.sh: Likewise.
45815 * malloc/tst-mtrace.sh: Likewise.
45816 * posix/globtest.sh: Likewise.
45817 * posix/tst-getconf.sh: Likewise.
45818 * posix/wordexp-tst.sh: Likewise.
45819 * stdio-common/tst-printf.sh: Likewise.
45820 * stdio-common/tst-unbputc.sh: Likewise.
45821 * stdlib/tst-fmtmsg.sh: Likewise.
45822 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45823 * catgets/Makefile: Do not specify -e option when running
45824 testsuite shell scripts.
45825 * elf/Makefile: Likewise.
45826 * grp/Makefile: Likewise.
45827 * iconvdata/Makefile: Likewise.
45828 * intl/Makefile: Likewise.
45829 * io/Makefile: Likewise.
45830 * libio/Makefile: Likewise.
45831 * malloc/Makefile: Likewise.
45832 * posix/Makefile: Likewise.
45833 * stdio-common/Makefile: Likewise.
45834 * stdlib/Makefile: Likewise.
45835 * sysdeps/x86_64/Makefile: Likewise.
45836
45837 * io/ftwtest-sh: Add copyright header.
45838 * posix/globtest.sh: Likewise.
45839 * posix/tst-getconf.sh: Likewise.
45840 * posix/wordexp-tst.sh: Likewise.
45841 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45842
45843 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45844
45845 [BZ #13679]
45846 * Makeconfig (+link): Defined as $(+link-static) if
45847 $(build-shared) isn't yes.
45848 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45849 isn't yes.
45850 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45851
45852 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45853
45854 [BZ #14562]
45855 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45856 new chunk size with MALLOC_ALIGN_MASK.
45857
45858 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45859
45860 [BZ #5044]
45861 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45862 <rounding-mode.h>.
45863 (__printf_fphex): Determine rounding using get_rounding_mode and
45864 round_away.
45865 * stdio-common/tst-printf-round.c (struct hex_test): New
45866 structure.
45867 (hex_tests): New variable.
45868 (test_hex_in_one_mode): New function.
45869 (do_test): Also run tests for hex float output.
45870
45871 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45872
45873 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45874 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45875 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45876 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45877 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45878 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45879 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45880 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45881
45882 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45883
45884 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45885 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45886 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45887 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45888
45889 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45890
45891 [BZ #14579]
45892 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45893 mode only.
45894 * elf/tst-rtld-load-self.sh: New test.
45895 * elf/Makefile: Run it.
45896
45897 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45898
45899 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45900 (tst-writev-ENV): Remove.
45901 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45902
45903 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
45904
45905 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45906
45907 2012-09-17 Joseph Myers <joseph@codesourcery.com>
45908
45909 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45910 unconditional.
45911 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45912 Likewise.
45913 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45914 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45915 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45916 Likewise.
45917
45918 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
45919
45920 [BZ #14587]
45921 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45922 * config.make.in (have-cpp-asm-debuginfo): Removed.
45923 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45924 * configure: Regenerated.
45925
45926 2012-09-14 Joseph Myers <joseph@codesourcery.com>
45927
45928 [BZ #5044]
45929 * stdio-common/printf_fp.c: Include <stdbool.h> and
45930 <rounding-mode.h>.
45931 (___printf_fp): Determine rounding using get_rounding_mode and
45932 round_away.
45933 * stdio-common/tst-printf-round.c: New file.
45934 * stdio-common/Makefile (tests): Add tst-printf-round.
45935 (link-libm): New variable.
45936 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45937
45938 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45939
45940 [BZ #14576]
45941 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45942 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45943 Likewise.
45944 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45945 Likewise.
45946
45947 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45948
45949 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45950 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45951 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45952 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45953
45954 2012-09-12 Joseph Myers <joseph@codesourcery.com>
45955
45956 [BZ #14518]
45957 * include/rounding-mode.h: New file.
45958 * sysdeps/generic/get-rounding-mode.h: Likewise.
45959 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45960 * stdlib/strtod_l.c: Include <rounding-mode.h>.
45961 (MAX_VALUE): New macro.
45962 (MIN_VALUE): Likewise.
45963 (overflow_value): New function.
45964 (underflow_value): Likewise.
45965 (round_and_return): Use overflow_value and underflow_value to
45966 determine return values in overflow and underflow cases. Use
45967 round_away to determine rounding depending on rounding mode.
45968 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45969 determine return values in overflow and underflow cases.
45970 * stdlib/tst-strtod-round.c: Include <fenv.h>.
45971 (struct test_results): New structure.
45972 (struct test): Use struct test_results to store expected results
45973 for all rounding modes.
45974 (TEST): Include expected results for all rounding modes.
45975 (test_in_one_mode): New function.
45976 (do_test): Use test_in_one_mode to compute and check results.
45977 Check results for all rounding modes.
45978 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45979 $(link-libm).
45980
45981 2012-12-09 Allan McRae <allan@archlinux.org>
45982
45983 * sysdeps/i386/fpu/libm-test-ulps: Update
45984
45985 2012-09-11 Joseph Myers <joseph@codesourcery.com>
45986
45987 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45988 (_G_int32_t): Likewise.
45989 (_G_uint16_t): Likewise.
45990 (_G_uint32_t): Likewise.
45991 (_G_HAVE_BOOL): Likewise.
45992 (_G_HAVE_ATEXIT): Likewise.
45993 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45994 (_G_HAVE_IO_FILE_OPEN): Likewise.
45995 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45996 (_G_int32_t): Likewise.
45997 (_G_uint16_t): Likewise.
45998 (_G_uint32_t): Likewise.
45999 (_G_HAVE_BOOL): Likewise.
46000 (_G_HAVE_ATEXIT): Likewise.
46001 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46002 (_G_HAVE_IO_FILE_OPEN): Likewise.
46003 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46004 (_G_int32_t): Likewise.
46005 (_G_uint16_t): Likewise.
46006 (_G_uint32_t): Likewise.
46007 (_G_HAVE_BOOL): Likewise.
46008 (_G_HAVE_ATEXIT): Likewise.
46009 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46010 (_G_HAVE_IO_FILE_OPEN): Likewise.
46011
46012 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46013
46014 * csu/libc-tls.c: Update copyright years.
46015
46016 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46017
46018 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46019 [!_G_USING_THUNKS]: Remove conditional code.
46020 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46021 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46022
46023 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46024 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46025 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46026 (_G_VTABLE_LABEL_PREFIX): Likewise.
46027 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46028 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46029 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46030 (_G_VTABLE_LABEL_PREFIX): Likewise.
46031 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46032 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46033 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46034 (_G_VTABLE_LABEL_PREFIX): Likewise.
46035 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46036
46037 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46038
46039 * libio/Makefile: Include ../Makeconfig before tests.
46040 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46041 only if $(build-shared) is yes.
46042
46043 * iconv/gconv_db.c: Update copyright years.
46044
46045 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46046
46047 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46048 unwind info if defined PIC. Fix special cases description.
46049 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46050
46051 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46052 DP_HI_MASK entry.
46053 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46054
46055 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46056
46057 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46058
46059 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46060 is NULL.
46061
46062 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46063 (LDLIBS-tst-chk4): This.
46064 (LDFLAGS-tst-chk5): Renamed to ...
46065 (LDLIBS-tst-chk5): This.
46066 (LDFLAGS-tst-chk6): Renamed to ...
46067 (LDLIBS-tst-chk6): This.
46068 (LDFLAGS-tst-lfschk4): Renamed to ...
46069 (LDLIBS-tst-lfschk4): This.
46070 (LDFLAGS-tst-lfschk5): Renamed to ...
46071 (LDLIBS-tst-lfschk5): This.
46072 (LDFLAGS-tst-lfschk6): Renamed to ...
46073 (LDLIBS-tst-lfschk6): This.
46074
46075 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46076 on $(common-objpfx)soversions.mk.
46077
46078 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46079
46080 [BZ #10014]
46081 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46082 example host name.
46083
46084 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46085
46086 * malloc/arena.c (arena_get_retry): New function that gets
46087 another arena for the caller to try its request on.
46088 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46089 current arena cannot fulfill the request.
46090 (__libc_memalign): Likewise.
46091 (__libc_memalign): Likewise.
46092 (__libc_pvalloc): Likewise.
46093 (__libc_calloc): Likewise.
46094
46095 2012-09-05 John Tobey <john.tobey@gmail.com>
46096
46097 [BZ #13542]
46098 * manual/arith.texi (Operations on Complex): Fix description
46099 of carg branch cut.
46100
46101 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46102
46103 [BZ #10014]
46104 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46105 host name.
46106
46107 [BZ #10038]
46108 * manual/memory.texi (Memory): Make order of menu items match
46109 order of sections.
46110
46111 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46112
46113 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46114 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46115 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46116
46117 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46118
46119 * csu/libc-tls.c (static_dtv): Renamed to ...
46120 (_dl_static_dtv): This. Make it global.
46121 (_dl_initial_dtv): Removed.
46122 (__libc_setup_tls): Updated.
46123 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46124 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46125 DL_INITIAL_DTV.
46126
46127 2012-09-06 Petr Machata <pmachata@redhat.com>
46128
46129 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46130 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46131 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46132 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46133
46134 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46135
46136 [BZ #14545]
46137 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46138 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46139 freeing dtv[-1].
46140
46141 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46142
46143 [BZ #14544]
46144 * Makeconfig (link-static-before-libc): Replace $(+prector)
46145 with $(+prectorT).
46146 (link-static-after-libc): Replace $(+postctor) with
46147 $(+postctorT).
46148 (link-bounded): Replace $(+prector)/$(+postctor) with
46149 $(+prectorT)/$(+postctorT).
46150 (+prectorT): New macro.
46151 (+postctorT): Likewise.
46152
46153 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46154
46155 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46156 (round_str): Handle values above the maximum for IBM long double
46157 as inexact.
46158 * stdlib/tst-strtod-round.c (tests): Regenerated.
46159
46160 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46161
46162 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46163 assembler flag.
46164 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46165 zarch_nohighgprs around the zarch optimized routines.
46166 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46167 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46168 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46169 for zarch.
46170
46171 2012-09-05 David S. Miller <davem@davemloft.net>
46172
46173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46174
46175 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46176 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46177 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46178 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46179 entries.
46180
46181 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46182
46183 * malloc/arena.c: Fold copyright years.
46184 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46185
46186 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46187
46188 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46189
46190 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46191
46192 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46193
46194 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46195
46196 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46197 change internal state upon failure.
46198
46199 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46200
46201 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46202 * malloc/memusage.c (mmap): Likewise.
46203 (mmap64, mremap): Likewise. Adjust name in comment.
46204
46205 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46206
46207 * libio/fileops.c: Fix typos in comments.
46208 * libio/oldfileops.c: Likewise.
46209 * libio/wfileops.c: Likewise.
46210
46211 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46212
46213 [BZ #1349]
46214 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46215 (tst-malloc-usable-ENV): Set environment for test case.
46216 * malloc/hooks.c (malloc_check_get_size): New function to get
46217 requested size.
46218 * malloc/malloc.c (musable): Use malloc_check_get_size.
46219 * malloc/tst-malloc-usable.c: New test case.
46220
46221 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46222
46223 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46224
46225 2012-09-05 Allan McRae <allan@archlinux.org>
46226
46227 [BZ #13966]
46228 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46229 determine header location.
46230 * configure: Regenerated.
46231
46232 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46233
46234 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46235 float format.
46236 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46237 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46238 format.
46239 (test): Regenerate.
46240
46241 2012-09-04 David S. Miller <davem@davemloft.net>
46242
46243 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46244 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46245 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46246
46247 2012-09-04 Florian Weimer <fweimer@redhat.com>
46248
46249 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46250 failures.
46251
46252 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46253
46254 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46255
46256 [BZ #9914]
46257 * libio/iogetdelim.c: Include <limits.h>.
46258 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46259 + len + 1 would overflow.
46260
46261 2012-09-03 Andreas Jaeger <aj@suse.de>
46262
46263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46264 * sysdeps/i386/fpu/libm-test-ulps: Update.
46265
46266 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46267
46268 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46269 Add s_sinf-sse2, s_conf-sse2.
46270
46271 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46272 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46273 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46274 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46275
46276 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46277 for using routine as __sinf_ia32.
46278 Use macro for function declaration and weak_alias.
46279 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46280 for using routine as __cosf_ia32.
46281 Use macro for function declaration and weak_alias.
46282
46283 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46284 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46285
46286 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46287 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46289
46290 * math/libm-test.inc (cos_test): Add more test cases.
46291 (sin_test): Likewise.
46292 (sincos_test): Likewise.
46293
46294 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46295
46296 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46297 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46298 hidden.
46299 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46300
46301 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46302
46303 [BZ #14538]
46304 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46305 first element of the GOT.
46306 (elf_machine_load_address): Return the difference between
46307 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46308
46309 2012-09-01 Allan McRae <allan@archlinux.org>
46310
46311 [BZ #13412]
46312 * configure.in (AWK): Require gawk version 3.0 or later.
46313 * configure: Regenerated.
46314
46315 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46316
46317 * sysdeps/unix/sysv/linux/kernel-features.h
46318 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46319 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46320 [__NR_clock_getres]: Make code unconditional.
46321 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46322 (clock_getcpuclockid): Remove code left unreachable by removal of
46323 conditionals.
46324 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46325 code unconditional.
46326 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46327 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46328 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46329 Make code unconditional.
46330 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46331 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46332 * sysdeps/unix/sysv/linux/clock_settime.c
46333 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46334 conditional code.
46335 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46336 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46337
46338 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46339
46340 [BZ #14476]
46341 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46342 scripts/test-installation.pl.
46343
46344 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46345 and $ld_so_version if it is set.
46346
46347 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46348
46349 [BZ #14516]
46350 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46351 failure if reading from procfs failed.
46352 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46353
46354 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46355
46356 * sysdeps/unix/sysv/linux/kernel-features.h
46357 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46358 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46359 Remove conditional code.
46360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46361 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46362 Remove conditional code.
46363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46364 * sysdeps/unix/sysv/linux/i386/fxstat.c
46365 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46367 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46368 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46370 * sysdeps/unix/sysv/linux/i386/lxstat.c
46371 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46373 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46374 Remove conditional code.
46375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46376 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46377 Remove conditional code.
46378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46379 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46380 <kernel-features.h>.
46381 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46382 Remove.
46383 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46384 Remove conditional code.
46385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46386 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46387 Remove conditional.
46388
46389 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46390
46391 [BZ #5400]
46392 * NEWS: Add fixed bug number.
46393
46394 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46395
46396 [BZ #14519]
46397 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46398 underflowing exponent in case of negative sign.
46399 * stdlib/tst-strtod-round-data: Add more tests.
46400 * stdlib/tst-strtod-round.c (tests): Regenerated.
46401
46402 [BZ #3479]
46403 * stdlib/strtod_l.c (NDIG): Remove.
46404 (HEXNDIG): Likewise.
46405 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46406 smallest representable value.
46407 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46408 lie within an exact representation of 1/2 ulp of the result.
46409 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46410 unconditionally.
46411 (TENS_P9_IDX): Define unconditionally.
46412 (TENS_P9_SIZE): Likewise.
46413 (TENS_P10_IDX): Likewise.
46414 (TENS_P10_SIZE): Likewise.
46415 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46416 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46417 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46418 entries for 10^2^13 and 10^2^14.
46419 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46420 (TENS_P13_IDX): Define.
46421 (TENS_P13_SIZE): Likewise.
46422 (TENS_P14_IDX): Likewise.
46423 (TENS_P14_SIZE): Likewise.
46424 (_fpioconst_pow10): Change array size to
46425 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46426 unconditional.
46427 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46428 1024]: Add entries for 10^2^13 and 10^2^14.
46429 [LAST_POW10 > _LAST_POW10]: Remove #error.
46430 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46431 (_fpioconst_pow10): Change array size to
46432 FPIOCONST_POW10_ARRAY_SIZE.
46433 * stdlib/gen-fpioconst.c: New file.
46434 * stdlib/gen-tst-strtod-round.c: Likewise.
46435 * stdlib/tst-strtod-round-data: Likewise.
46436 * stdlib/tst-strtod-round.c: Likewise.
46437 * stdlib/Makefile (tests): Add tst-strtod-round.
46438
46439 [BZ #14459]
46440 * stdlib/strtod_l.c: Include <stdint.h>.
46441 (NDEBUG): Do not define.
46442 (round_and_return): Change EXPONENT parameter to type intmax_t.
46443 Rearrange calculations to avoid internal overflow possibilities.
46444 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46445 Rearrange calculations to avoid internal overflow possibilities.
46446 Assert that number fits inside MPNSIZE limbs.
46447 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46448 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46449 calculations and add assertions to avoid internal overflow
46450 possibilities. Add casts to avoid signed/unsigned operations.
46451 * stdlib/tst-strtod-overflow.c: New file.
46452 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46453
46454 2012-08-25 Marek Polacek <polacek@redhat.com>
46455
46456 * time/time.h: Fix some typos in comments.
46457
46458 2012-08-23 Roland McGrath <roland@hack.frob.com>
46459
46460 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46461 * posix/tst-rfc3484-2.c: Likewise.
46462 * posix/tst-rfc3484-3.c: Likewise.
46463
46464 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46465
46466 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46467 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46468
46469 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46470
46471 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46472 #include of fxstatat64.c.
46473
46474 2012-08-22 Roland McGrath <roland@hack.frob.com>
46475
46476 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46477 * shadow/getspent_r.c: Likewise.
46478 * shadow/getspnam.c: Likewise.
46479 * shadow/getspnam_r.c: Likewise.
46480 * gshadow/getsgent.c: Likewise.
46481 * gshadow/getsgent_r.c: Likewise.
46482 * gshadow/getsgnam.c: Likewise.
46483 * gshadow/getsgnam_r.c: Likewise.
46484 * inet/getnetbyad.c: Likewise.
46485 * inet/getnetbyad_r.c: Likewise.
46486 * inet/getnetbynm.c: Likewise.
46487 * inet/getnetbynm_r.c: Likewise.
46488 * inet/getnetent.c: Likewise.
46489 * inet/getnetent_r.c: Likewise.
46490 * inet/getproto.c: Likewise.
46491 * inet/getproto_r.c: Likewise.
46492 * inet/getprtent.c: Likewise.
46493 * inet/getprtent_r.c: Likewise.
46494 * inet/getprtname.c: Likewise.
46495 * inet/getprtname_r.c: Likewise.
46496 * inet/getrpcbyname.c: Likewise.
46497 * inet/getrpcbyname_r.c: Likewise.
46498 * inet/getrpcbynumber.c: Likewise.
46499 * inet/getrpcbynumber_r.c: Likewise.
46500 * inet/getrpcent.c: Likewise.
46501 * inet/getrpcent_r.c: Likewise.
46502 * inet/getaliasent.c: Likewise.
46503 * inet/getaliasent_r.c: Likewise.
46504 * inet/getaliasname.c: Likewise.
46505 * inet/getaliasname_r.c: Likewise.
46506 * nscd/getgrgid_r.c: Likewise.
46507 * nscd/getgrnam_r.c: Likewise.
46508 * nscd/gethstbyad_r.c: Likewise.
46509 * nscd/gethstbynm3_r.c: Likewise.
46510 * nscd/getpwnam_r.c: Likewise.
46511 * nscd/getpwuid_r.c: Likewise.
46512 * nscd/getsrvbynm_r.c: Likewise.
46513 * nscd/getsrvbypt_r.c: Likewise.
46514 * nscd/gai.c: Likewise.
46515
46516 * configure.in (build_nscd): New substituted variable, set
46517 by --disable-build-nscd and defaults to $use_nscd.
46518 * configure: Regenerated.
46519 * config.make.in (build-nscd): New substituted variable.
46520 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46521 Change conditional to require [$(build-nscd) = yes] as well.
46522 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46523
46524 [BZ# 13696]
46525 * configure.in (use_nscd): New substituted variable, set by
46526 --disable-nscd. If enabled, define USE_NSCD.
46527 * configure: Regenerated.
46528 * config.h.in: Add USE_NSCD.
46529 * config.make.in (use-nscd): New substituted variable.
46530 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46531 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46532 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46533 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46534 (CFLAGS-getgrnam_r.c): Likewise.
46535 (CFLAGS-initgroups.c): Likewise.
46536 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46537 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46538 Variables removed.
46539 * inet/getnetgrent_r.c
46540 (nscd_setnetgrent): New function, broken out of ...
46541 (setnetgrent): ... here. Call it.
46542 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46543 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46544 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46545 * nscd/Makefile (routines, aux): Move definitions after include of
46546 Makeconfig. Conditionalize on [$(use-nscd) != no].
46547 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46548 Conditionalize on [USE_NSCD].
46549 (is_nscd, nscd_init_cb): Likewise.
46550 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46551 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46552 * nss/nss_db/db-init.c: Likewise.
46553 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46554 [USE_NSCD].
46555 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46556 (make_request): Use it.
46557 (cache_valid_p): New function.
46558 (__check_pf): Use it.
46559 * NEWS: Add item for --disable-nscd.
46560
46561 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46562
46563 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46564 to support sed >= 4.2.1-20-ga9bf076.
46565 * configure: Regenerated.
46566
46567 2012-08-22 Roland McGrath <roland@hack.frob.com>
46568
46569 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46570 Conditionalize whole body on [IREL].
46571
46572 2012-08-22 Jeff Law <law@redhat.com>
46573
46574 [BZ #14505]
46575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46576 if the family is PF_UNSPEC.
46577
46578 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46579
46580 * Makerules (lib-version): Rename from V.
46581 (install-lib-nosubdir): Change V to lib-version.
46582
46583 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46584
46585 [BZ #14252]
46586 * powerpc32/power6/wcschr.c: New file.
46587 * powerpc32/power6/wcscpy.c: New file.
46588 * powerpc32/power6/wcsrchr.c: New file.
46589 * powerpc64/power6/wcschr.c: New file.
46590 * powerpc64/power6/wcscpy.c: New file.
46591 * powerpc64/power6/wcsrchr.c: New file.
46592
46593 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46594
46595 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46596 (two_way_short_needle): Use it.
46597 * string/strstr.c (AVAILABLE1_USES_J): Define.
46598 * string/strcasestr.c: Likewise.
46599
46600 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46601 array references.
46602 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46603
46604 [BZ #11607]
46605 * NEWS: Add an entry.
46606 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46607 define their defaults.
46608 (two_way_short_needle): Detect end-of-string on-the-fly.
46609 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46610 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46611 * string/bug-strcasestr1.c: New test.
46612 * string/Makefile: Run it.
46613
46614 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46615
46616 [BZ #11607]
46617 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46618 the first character.
46619
46620 2012-08-21 Roland McGrath <roland@hack.frob.com>
46621
46622 * csu/elf-init.c (__libc_csu_irel): Function removed.
46623 * csu/libc-start.c (apply_irel): New function.
46624 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46625
46626 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46627
46628 * sysdeps/unix/sysv/linux/kernel-features.h
46629 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46630 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46631 <kernel-features.h>.
46632 [__NR_fadvise64_64]: Make code unconditional.
46633 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46634 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46635 !__NR_fadvise64_64)]: Likewise.
46636 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46637 !__NR_fadvise64_64))]: Likewise.
46638 [__NR_fadvise64]: Make code unconditional.
46639 [!__NR_fadvise64]: Remove conditional code.
46640 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46641 <kernel-features.h>.
46642 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46643 unconditional.
46644 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46645 conditional code.
46646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46647 not include <kernel-features.h>.
46648 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46649 unconditional.
46650 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46651 conditional code.
46652 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46653 include <kernel-features.h>.
46654 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46655 unconditional.
46656 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46657 conditional code.
46658
46659 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46660
46661 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46662 slight instruction rearrangements per scrollpipe analysis.
46663 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46664
46665 2012-08-20 Roland McGrath <roland@hack.frob.com>
46666
46667 * manual/syslog.texi (syslog; vsyslog, closelog):
46668 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46669 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46670
46671 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46672 DSOCAPS to match condition on defining it.
46673
46674 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46675
46676 * sysdeps/unix/sysv/linux/kernel-features.h
46677 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46679 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46680 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46682 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46683 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46685 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46686 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46687
46688 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46689 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46690
46691 * sysdeps/unix/sysv/linux/kernel-features.h
46692 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46693 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46694 unconditional.
46695 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46696 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46697 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46698 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46699 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46700 Make code unconditional.
46701 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46702 (__mmap64) [!__NR_mmap2]: Likewise.
46703 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46704 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46705 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46706 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46707 [__NR_mmap2]: Make code unconditional.
46708 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46709 (__mmap64) [!__NR_mmap2]: Likewise.
46710
46711 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46712
46713 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46714
46715 2012-08-18 Andreas Jaeger <aj@suse.de>
46716
46717 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46718
46719 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46720
46721 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46722 * include/unistd.h (__have_sock_cloexec): Likewise.
46723 (__have_pipe2): Likewise.
46724 (__have_dup3): Likewise.
46725
46726 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46727
46728 [BZ #9685]
46729 * include/unistd.h (__have_pipe2): Change define into an extern int.
46730 (__have_dup3): Likewise.
46731 * socket/have_sock_cloexec.c: Include fcntl.h.
46732 (__have_pipe2): New variable.
46733 (__have_dup3): Likewise.
46734
46735 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46736
46737 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46738
46739 2012-08-17 Marek Polacek <polacek@redhat.com>
46740
46741 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46742 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46743
46744 2012-08-17 Roland McGrath <roland@hack.frob.com>
46745
46746 * configure.in: Add AC_SUBST for sysheaders.
46747 * configure: Regenerated.
46748 * config.make.in (sysheaders): New substituted variable.
46749
46750 * sysdeps/unix/mkfifo.c: Moved ...
46751 * sysdeps/posix/mkfifo.c: ... here.
46752 * sysdeps/unix/mkfifoat.c: Moved ...
46753 * sysdeps/posix/mkfifoat.c: ... here.
46754
46755 * sysdeps/unix/utime.c: Moved ...
46756 * sysdeps/posix/utime.c: ... here.
46757
46758 * sysdeps/unix/time.c: Moved ...
46759 * sysdeps/posix/time.c: ... here.
46760 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46761 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46762
46763 * sysdeps/unix/nice.c: Moved ...
46764 * sysdeps/posix/nice.c: ... here.
46765
46766 * sysdeps/unix/alarm.c: Moved ...
46767 * sysdeps/posix/alarm.c: ... here.
46768
46769 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46770
46771 2012-08-17 Jeff Law <law@redhat.com>
46772
46773 * intl/Makefile (codeset_mo): New variable.
46774 ($(codeset_mo)): New target.
46775 (tst-codeset.out): Depend on that. Remove explicit rule.
46776 (tst-gettext3.out, tst-gettext5.out): Likewise.
46777 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46778 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46779 * intl/tst-codeset.sh: Remove.
46780 * intl/tst-gettext3.sh: Likewise.
46781 * intl/tst-gettext5.sh: Likewise.
46782
46783 2012-08-17 Roland McGrath <roland@hack.frob.com>
46784
46785 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46786 * sysdeps/unix/syscalls.list: ... here.
46787
46788 * sysdeps/posix/getaddrinfo.c
46789 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46790 (gaiconf_init, gaiconf_reload): Use them.
46791 [!_STATBUF_ST_NSEC]
46792 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46793 Define using time_t rather than struct timespec.
46794
46795 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46796 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46797 Macros removed.
46798 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46799 [!NO_THREADS].
46800 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46801 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46802 Likewise.
46803
46804 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46805 __libc_cleanup_push argument.
46806
46807 * bits/param.h: New file.
46808 * misc/sys/param.h: New file.
46809 * include/sys/param.h: New file.
46810 * misc/Makefile (headers): Add bits/param.h.
46811 * sysdeps/generic/sys/param.h: File removed.
46812 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46813 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46814 * sysdeps/mach/hurd/bits/param.h: New file.
46815 * sysdeps/mach/hurd/sys/param.h: File removed.
46816
46817 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46818 last change.
46819
46820 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46821 [_IO_MTSAFE_IO].
46822 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46823 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46824 New macros.
46825
46826 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46827 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46828 rather than -D_IO_MTSAFE_IO conditionally.
46829 * stdio-common/Makefile (CPPFLAGS): Likewise.
46830 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46831 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46832 Use $(libio-mtsafe).
46833 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46834 of -D_IO_MTSAFE_IO.
46835 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46836 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46837 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46838 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46839 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46840 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46841 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46842 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46843 (CFLAGS-fread_u_chk.c): Likewise.
46844 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46845 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46846 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46847 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46848 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46849 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46850 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46851 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46852 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46853
46854 * libio/Makefile: Test [$(libc-reentrant) = yes]
46855 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46856
46857 * Makeconfig
46858 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46859 * sysdeps/pthread/configure: File removed.
46860 * sysdeps/pthread/Makeconfig: New file.
46861 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46862 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46863
46864 2012-08-16 Gary Benson <gbenson@redhat.com>
46865
46866 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46867 unmapping the first object in a namespace.
46868
46869 2012-08-16 Roland McGrath <roland@hack.frob.com>
46870
46871 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46872 (__internal_setnetgrent): ... this. Add internal_function to
46873 definition. Add libc_hidden_def.
46874 (setnetgrent): Update caller.
46875 (internal_endnetgrent): Renamed to ...
46876 (__internal_endnetgrent): ... this. Add internal_function to
46877 definition. Add libc_hidden_def.
46878 (endnetgrent): Update caller.
46879 (internal_getnetgrent_r): Renamed to ...
46880 (__internal_getnetgrent_r): ... this. Add internal_function to
46881 definition. Add libc_hidden_def.
46882 (__getnetgrent_r): Update caller.
46883 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46884
46885 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46886
46887 * stdlib/longlong.h: Update from GCC.
46888
46889 2012-08-16 Roland McGrath <roland@hack.frob.com>
46890
46891 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46892 on _QL, which is set by umul_ppmm but never used.
46893 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46894 variables, which are set by GMP macros but never used.
46895 * stdio-common/_itowa.c (_itowa): Likewise.
46896 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46897 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46898
46899 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
46900
46901 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46902 struct La_sh_regs is not constant.
46903 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46904 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46905 and struct La_sparc64_regs are not constant.
46906
46907 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46908
46909 * sysdeps/unix/sysv/linux/kernel-features.h
46910 (__ASSUME_POSIX_TIMERS): Remove.
46911 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46912 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46913 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46914 Make code unconditional.
46915 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46916 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46917 Make code unconditional.
46918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46919 * sysdeps/unix/sysv/linux/clock_nanosleep.c
46920 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46921 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46922 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46923 Make code unconditional.
46924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46925 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46926 (__libc_missing_posix_timers): Remove.
46927
46928 2012-08-15 Roland McGrath <roland@hack.frob.com>
46929
46930 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46931 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46932
46933 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46934
46935 * elf/dl-sym.c: Include <stdlib.h>.
46936
46937 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46938 constants, which avoids warnings in 32-bit builds.
46939
46940 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46941 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46942
46943 * misc/lseek.c: File moved to ...
46944 * io/lseek.c: ... here.
46945
46946 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46947
46948 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46949 shifting LEN more than 31 bits at once.
46950
46951 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46952
46953 [BZ #14195]
46954 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46955 segmentation fault for a case of two empty input strings.
46956 * string/test-strncasecmp.c (check1): Renamed to...
46957 (bz12205): ...this.
46958 (bz14195): Add new testcase for two empty input strings and N > 0.
46959 (test_main): Call new testcase, adapt for renamed function.
46960
46961 2012-08-15 Andreas Jaeger <aj@suse.de>
46962
46963 [BZ #14090]
46964 * crypt/md5test2.c: New test, based on test supplied by Serge
46965 Belyshev <belyshev@depni.sinp.msu.ru>.
46966 * crypt/Makefile (xtests): Add md5test-giant..
46967 * crypt/Makefile ($(objpfx)md5test-giant): Add.
46968
46969 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
46970
46971 [BZ #14090]
46972 * crypt/md5.c (md5_process_block): Don't assume the buffer
46973 length is less than 2**32.
46974 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46975 length is less than 2**64.
46976
46977 2012-08-15 Roland McGrath <roland@hack.frob.com>
46978
46979 * string/str-two-way.h: Include <sys/param.h>.
46980 (MAX): Macro removed.
46981
46982 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46983 Move #define and #undef of memmove to just before and after
46984 including <string.h>.
46985
46986 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46987 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46988 and after including <string.h>. Move declarations of
46989 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46990 to before #include "string/memmove.c".
46991
46992 * include/dirent.h: Declare __getdirentries.
46993
46994 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46995 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46996
46997 2012-08-14 Mike Frysinger <vapier@gentoo.org>
46998
46999 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47000 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47001 * sysdeps/i386/configure: Regenerated.
47002 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47003 STABS_CURRENT_FILE, and STABS_FUN.
47004 (END): Remove call to STABS_FUN_END.
47005 (STABS_CURRENT_FILE1): Delete.
47006 (STABS_CURRENT_FILE): Likewise.
47007 (STABS_FUN): Likewise.
47008 (STABS_FUN_END): Likewise.
47009 (STABS_FUN2): Likewise.
47010 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47011 * sysdeps/x86_64/configure: Regenerated.
47012
47013 2012-08-14 Roland McGrath <roland@hack.frob.com>
47014
47015 * elf/dl-open.c: Include <atomic.h>.
47016 * elf/dl-lookup.c: Likewise.
47017
47018 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47019
47020 * sysdeps/unix/sysv/linux/kernel-features.h
47021 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47022 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47023 unconditionally.
47024 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47025 unconditionally.
47026 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47027 condition on __ASSUME_CLONE_THREAD_FLAGS.
47028
47029 2012-08-14 Andreas Jaeger <aj@suse.de>
47030
47031 * sysdeps/i386/fpu/libm-test-ulps: Update.
47032
47033 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47034
47035 * include/atomic.h (atomic_exchange_and_add): Split into ...
47036 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47037 New atomic macros.
47038
47039 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47040
47041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47042
47043 2012-08-13 Jeff Law <law@redhat.com>
47044
47045 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47046 null byte in the output string.
47047
47048 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47049
47050 * sysdeps/unix/sysv/linux/kernel-features.h
47051 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47052 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47053 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47054 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47055 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47056 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47057 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47058
47059 2012-08-09 Jeff Law <law@redhat.com>
47060
47061 [BZ #13939]
47062 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47063 When avoid_arena is set, don't retry in the that arena. Pick the
47064 next one, whatever it might be.
47065 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47066 (arena_lock): Pass in new parameter to arena_get2.
47067 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47068 arena_get2.
47069 (__libc_malloc): Unify retrying after main arena failure with
47070 __libc_memalign version.
47071 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47072
47073 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47074
47075 [BZ #14166]
47076 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47077 to __redirect_strstr.
47078 (__strstr_sse42): Use typeof __redirect_strstr.
47079 (__strstr_ia32): Likewise.
47080 (__libc_strstr): New prototype.
47081 (strstr): Renamed to ...
47082 (__libc_strstr): This.
47083 (strstr): New strong alias of __libc_strstr.
47084 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47085 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47086 __redirect_time.
47087 Include <time.h>.
47088 (__libc_time): New prototype.
47089 (time_ifunc): Replace time with __libc_time.
47090 (time): New strong alias and hidden definition of __libc_time.
47091 (__GI_time): Remove strong alias.
47092 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47093 Include <stddef.h>.
47094 (memmove): Redefined to __redirect_memmove.
47095 (__memmove_sse2): Use typeof __redirect_memmove.
47096 (__memmove_ssse3): Likewise.
47097 (__memmove_ssse3_back): Likewise.
47098 (__libc_memmove): New prototype.
47099 (memmove): Renamed to ...
47100 (__libc_memmove): This.
47101 (memmove): New strong alias of __libc_memmove.
47102
47103 2012-08-08 Mark Salter <msalter@redhat.com>
47104
47105 * elf/elf.h
47106 (R_MN10300_TLS_GD): Define.
47107 (R_MN10300_TLS_LD): Likewise.
47108 (R_MN10300_TLS_LDO): Likewise.
47109 (R_MN10300_TLS_GOTIE): Likewise.
47110 (R_MN10300_TLS_IE): Likewise.
47111 (R_MN10300_TLS_LE): Likewise.
47112 (R_MN10300_TLS_DTPMOD): Likewise.
47113 (R_MN10300_TLS_DTPOFF): Likewise.
47114 (R_MN10300_TLS_TPOFF): Likewise.
47115 (R_MN10300_SYM_DIFF): Likewise.
47116 (R_MN10300_ALIGN): Likewise.
47117 (R_MN10300_NUM): Update.
47118
47119 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47120
47121 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47122 Remove.
47123
47124 2012-08-08 Roland McGrath <roland@hack.frob.com>
47125
47126 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47127
47128 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47129 sysdeps/unix -> sysdeps/posix move.
47130 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47131
47132 2012-08-07 Allan McRae <allan@archlinux.org>
47133
47134 [BZ #14303]
47135 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47136 (SUNOS_CPP): Likewise.
47137 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47138 not found.
47139 (open_input): Call CPP using execvp.
47140
47141 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47142
47143 * sysdeps/unix/sysv/linux/kernel-features.h
47144 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47145 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47146 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47147 (__ASSUME_WAITID_SYSCALL): Likewise.
47148 * sysdeps/unix/sysv/linux/dl-execstack.c
47149 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47150 code unconditional.
47151 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47152 conditional code.
47153 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47154 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47155 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47156 code.
47157 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47158 unconditional.
47159 [__ASSUME_WAITID_SYSCALL]: Likewise.
47160 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47161
47162 2012-08-07 Roland McGrath <roland@hack.frob.com>
47163
47164 * sysdeps/unix/closedir.c: Renamed to ...
47165 * sysdeps/posix/closedir.c: ... here.
47166 * sysdeps/unix/dirfd.c: Renamed to ...
47167 * sysdeps/posix/dirfd.c: ... here.
47168 * sysdeps/unix/dirstream.h: Renamed to ...
47169 * sysdeps/posix/dirstream.h: ... here.
47170 * sysdeps/unix/fdopendir.c: Renamed to ...
47171 * sysdeps/posix/fdopendir.c: ... here.
47172 * sysdeps/unix/opendir.c: Renamed to ...
47173 * sysdeps/posix/opendir.c: ... here.
47174 * sysdeps/unix/readdir.c: Renamed to ...
47175 * sysdeps/posix/readdir.c: ... here.
47176 * sysdeps/unix/readdir_r.c: Renamed to ...
47177 * sysdeps/posix/readdir_r.c: ... here.
47178 * sysdeps/unix/rewinddir.c: Renamed to ...
47179 * sysdeps/posix/rewinddir.c: ... here.
47180 * sysdeps/unix/seekdir.c: Renamed to ...
47181 * sysdeps/posix/seekdir.c: ... here.
47182 * sysdeps/unix/telldir.c: Renamed to ...
47183 * sysdeps/posix/telldir.c: ... here.
47184 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47185 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47186 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47187 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47188
47189 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47190 * bits/fcntl.h: ... here.
47191
47192 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47193 not 0.
47194 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47195 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47196 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47197 (struct flock): Move l_start, l_len to the beginning.
47198 Use __pid_t for l_pid.
47199 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47200 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47201 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47202 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47203 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47204 [__USE_LARGEFILE64] (struct flock64): New type.
47205 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47206
47207 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47208 * bits/dirent.h: ... here.
47209
47210 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47211 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47212
47213 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47214
47215 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47216 Change from 2.6.0 to 2.6.16.
47217 * sysdeps/unix/sysv/linux/configure: Regenerated.
47218 * sysdeps/unix/sysv/linux/kernel-features.h
47219 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47220 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47221 version.
47222 (__ASSUME_UTIMES): Likewise.
47223 (__ASSUME_CLONE_STOPPED): Remove.
47224 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47225 architectures, not kernel version.
47226 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47227 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47228 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47229 (__ASSUME_WAITID_SYSCALL): Likewise.
47230 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47231 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47232 * README: State 2.6.16 as minimum Linux kernel version. Do not
47233 refer to older versions.
47234
47235 2012-08-06 Roland McGrath <roland@hack.frob.com>
47236
47237 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47238 Define alphasort64 as an alias.
47239 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47240 Define versionsort64 as an alias.
47241 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47242 Define scandir64 as an alias.
47243 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47244 Define scandirat64 as an alias.
47245 * dirent/alphasort64.c (alphasort64):
47246 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47247 * dirent/versionsort64.c: Likewise.
47248 * dirent/scandir64.c: Likewise.
47249 * dirent/scandirat64.c: Likewise.
47250 * sysdeps/wordsize-64/alphasort.c: File removed.
47251 * sysdeps/wordsize-64/alphasort64.c: File removed.
47252 * sysdeps/wordsize-64/scandir.c: File removed.
47253 * sysdeps/wordsize-64/scandir64.c: File removed.
47254 * sysdeps/wordsize-64/scandirat.c: File removed.
47255 * sysdeps/wordsize-64/scandirat64.c: File removed.
47256 * sysdeps/wordsize-64/versionsort.c: File removed.
47257 * sysdeps/wordsize-64/versionsort64.c: File removed.
47258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47259 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47260 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47261 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47262 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47263 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47264 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47265 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47266
47267 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47269 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47271 [defined __arch64__ || defined __sparcv9]
47272 (__INO_T_MATCHES_INO64_T): New macro.
47273 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47274 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47275 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47276 * sysdeps/unix/sysv/linux/bits/dirent.h
47277 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47278 (_DIRENT_MATCHES_DIRENT64): New macro.
47279
47280 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47281 Define lockf64 as an alias.
47282 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47283 Define fseeko64 as an alias.
47284 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47285 Define ftello64 as an alias.
47286 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47287 Define _IO_fgetpos64 and fgetpos64 as aliases.
47288 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47289 Define _IO_fsetpos64 and fsetpos64 as aliases.
47290 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47291 Conditionalize body on this.
47292 * libio/fseeko64.c: Likewise.
47293 * libio/ftello64.c: Likewise.
47294 * libio/iofgetpos64.c: Likewise.
47295 * libio/iofsetpos64.c: Likewise.
47296 * sysdeps/wordsize-64/lockf.c: File removed.
47297 * sysdeps/wordsize-64/lockf64.c: File removed.
47298 * sysdeps/wordsize-64/fseeko.c: File removed.
47299 * sysdeps/wordsize-64/fseeko64.c: File removed.
47300 * sysdeps/wordsize-64/ftello.c: File removed.
47301 * sysdeps/wordsize-64/ftello64.c: File removed.
47302 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47303 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47304 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47305 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47306 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47307 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47309 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47311 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47312 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47313 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47314 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47315 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47316
47317 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47319 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47321 [defined __arch64__ || defined __sparcv9]
47322 (__OFF_T_MATCHES_OFF64_T): New macro.
47323 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47324 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47326 (__OFF_T_MATCHES_OFF64_T): New macro.
47327
47328 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47329
47330 * stdlib/secure-getenv.c (__secure_getenv): Replace
47331 GLIBC_2_16 with GLIBC_2_17.
47332
47333 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47334
47335 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47336 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47337
47338 2012-08-03 David S. Miller <davem@davemloft.net>
47339
47340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47341
47342 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47343
47344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47345 Remove.
47346 (__ASSUME_CORRECT_SI_PID): Likewise.
47347 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47348 (__ASSUME_TMPFS_NAME): Likewise.
47349 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47350 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47351 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47352 (HAVE_AUX_SECURE): Make definition unconditional.
47353 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47354 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47355
47356 2012-08-03 Roland McGrath <roland@hack.frob.com>
47357
47358 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47359 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47360 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47361 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47362 __eloop_threshold instead of SYMLOOP_MAX.
47363
47364 * sysdeps/generic/eloop-threshold.h: New file.
47365 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47366 of MAXSYMLINKS.
47367 * elf/chroot_canon.c (chroot_canon): Likewise.
47368
47369 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47370
47371 [BZ #13717]
47372 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47373 Change to 2.6.0 everywhere.
47374 * sysdeps/unix/sysv/linux/configure: Regenerated.
47375 * sysdeps/unix/sysv/linux/kernel-features.h
47376 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47377 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47378 kernel versions.
47379 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47380 (__ASSUME_FUTEX_REQUEUE): Remove.
47381 (__ASSUME_STATFS64): Define unconditionally.
47382 (__ASSUME_AT_SECURE): Likewise.
47383 (__ASSUME_CORRECT_SI_PID): Likewise.
47384 (__ASSUME_TGKILL): Define without depending on kernel version for
47385 i386.
47386 (__ASSUME_UTIMES): Likewise.
47387 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47388 kernel version.
47389 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47390 (__ASSUME_TMPFS_NAME): Likewise.
47391 * README: Update reference to Linux kernel versions.
47392
47393 2012-08-02 Marek Polacek <polacek@redhat.com>
47394
47395 [BZ# 14150]
47396 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47397 libc_cv_asm_type_prefix with %.
47398 * configure: Regenerated.
47399 * include/libc-symbols.h: Remove comment about
47400 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47401 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47402 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47403 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47404 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47405 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47406 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47407 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47408 * elf/tst-unique2mod1.c: Likewise.
47409 * elf/tst-unique1mod2.c: Likewise.
47410 * elf/tst-unique1mod1.c: Likewise.
47411 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47412 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47413 Replace ASM_TYPE_DIRECTIVE with .type.
47414 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47415 * sysdeps/i386/sysdep.h: Likewise.
47416 * sysdeps/x86_64/sysdep.h: Likewise.
47417 * sysdeps/sh/sysdep.h: Likewise.
47418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47419 Do not define ASM_TYPE_DIRECTIVE.
47420 * sysdeps/powerpc/sysdep.h: Likewise.
47421 * sysdeps/powerpc/powerpc32/sysdep.h:
47422 Replace ASM_TYPE_DIRECTIVE with .type.
47423 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47424 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47425 * sysdeps/i386/fpu/e_powf.S: Likewise.
47426 * sysdeps/i386/fpu/e_expl.S: Likewise.
47427 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47428 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47429 * sysdeps/i386/fpu/e_pow.S: Likewise.
47430 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47431 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47432 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47433 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47434 * sysdeps/i386/fpu/e_log2.S: Likewise.
47435 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47436 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47437 * sysdeps/i386/fpu/e_powl.S: Likewise.
47438 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47439 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47440 * sysdeps/i386/fpu/e_logl.S: Likewise.
47441 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47442 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47443 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47444 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47445 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47446 * sysdeps/i386/fpu/e_log.S: Likewise.
47447 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47448 * sysdeps/i386/fpu/e_logf.S: Likewise.
47449 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47450 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47451 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47452 * sysdeps/i386/fpu/e_log10.S: Likewise.
47453 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47454 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47455 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47456 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47457 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47458 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47459 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47460 * sysdeps/i386/i686/strtok.S: Likewise.
47461 * sysdeps/i386/i386-mcount.S: Likewise.
47462 * sysdeps/i386/strtok.S: Likewise.
47463 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47464 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47466 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47467 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47468 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47469 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47470 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47471 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47472 * sysdeps/x86_64/_mcount.S: Likewise.
47473 * sysdeps/x86_64/strtok.S: Likewise.
47474 * sysdeps/sh/_mcount.S: Likewise.
47475
47476 2012-08-01 Roland McGrath <roland@hack.frob.com>
47477
47478 * libio/iofopen.c: Include <fcntl.h>.
47479 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47480 (_IO_fopen64, fopen64): Define as aliases.
47481 * libio/iofopen64.c: Include <fcntl.h>.
47482 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47483 Conditionalize body on this.
47484 * sysdeps/wordsize-64/iofopen.c: File removed.
47485 * sysdeps/wordsize-64/iofopen64.c: File removed.
47486
47487 2012-08-01 Marek Polacek <polacek@redhat.com>
47488
47489 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47490 Use dlfcn directly instead of a variable.
47491 (binfmt-subdir): Do not define.
47492 (dlfcn): Likewise.
47493
47494 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47495
47496 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47497 Remove all definitions.
47498 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47499 <kernel-features.h>.
47500 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47501 (miss_F_GETOWN_EX): Remove all definitions.
47502 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47503 macro definition.
47504 [!__ASSUME_FCNTL64]: Remove conditional code.
47505 [__ASSUME_FCNTL64]: Make code unconditional.
47506 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47507 <kernel-features.h>.
47508 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47509 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47510 (lockf64) [__NR_fcntl64]: Make code unconditional.
47511 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47512
47513 * sysdeps/unix/sysv/linux/kernel-features.h
47514 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47515 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47516 Make code unconditional.
47517 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47518 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47520 [__NR_vfork]: Make code unconditional.
47521 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47522 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47524 [__NR_vfork]: Make code unconditional.
47525 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47526 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47527
47528 2012-08-01 Roland McGrath <roland@hack.frob.com>
47529
47530 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47531 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47532
47533 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47534 Define mkstemp64 as an alias.
47535 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47536 Define mkstemps64 as an alias.
47537 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47538 Define mkostemp64 as an alias.
47539 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47540 Define mkostemps64 as an alias.
47541 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47542 Conditionalize body on this.
47543 * misc/mkostemp64.c: Likewise.
47544 * misc/mkostemps64.c: Likewise.
47545 * misc/mkstemps64.c: Likewise.
47546 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47547 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47548 * sysdeps/wordsize-64/mkostemp.c: File removed.
47549 * sysdeps/wordsize-64/mkstemp.c: File removed.
47550 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47551 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47552 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47553 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47554
47555 [BZ #14138]
47556 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47557 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47558 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47559 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47560
47561 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47562 compat_symbol macros from <shlib-compat.h> rather than the underlying
47563 default_symbol_version and symbol_version macros, so that DEFAULT
47564 lines in shlib-versions are respected.
47565 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47566
47567 2012-08-01 Florian Weimer <fweimer@redhat.com>
47568
47569 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47570 Declare with warn_unused_result.
47571 (setgid, setregid, setegid, setresgid): Likewise.
47572 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47573 Likewise.
47574 * WUR-REPORT: Remove set*id functions.
47575
47576 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47577
47578 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47579
47580 2012-07-31 Roland McGrath <roland@hack.frob.com>
47581
47582 [BZ #10191]
47583 * include/sys/socket.h (__libc_accept, __libc_accept4):
47584 Add attribute_hidden.
47585 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47586
47587 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47588 use of PTR_MANGLE.
47589 * inet/getnetgrent_r.c (setup): Likewise.
47590
47591 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47592
47593 2012-07-31 David S. Miller <davem@davemloft.net>
47594
47595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47596
47597 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47598
47599 [BZ #13629]
47600 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47601 value between 1.0 and 2.0 and smaller part has absolute value less
47602 than 1.0.
47603 * math/s_clog10.c (__clog10): Likewise.
47604 * math/s_clog10f.c (__clog10f): Likewise.
47605 * math/s_clog10l.c (__clog10l): Likewise.
47606 * math/s_clogf.c (__clogf): Likewise.
47607 * math/s_clogl.c (__clogl): Likewise.
47608 * math/libm-test.inc (clog_test): Add more tests.
47609 (clog10_test): Likewise.
47610 * sysdeps/i386/fpu/libm-test-ulps: Update.
47611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47612
47613 2012-07-31 Florian Weimer <fweimer@redhat.com>
47614
47615 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47616 Exit with zero in case no suitable GID is found, and write a
47617 message to standard error.
47618
47619 2012-07-30 Roland McGrath <roland@hack.frob.com>
47620
47621 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47622 rather than to 1.
47623 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47624 (MAXPATHLEN): Removed.
47625 (NOGROUP, NODEV): New macros.
47626 (setbit, clrbit, isset, isclr): New macros.
47627 (howmany, roundup, powerof2): New macros.
47628 (DEV_BSIZE): New macro.
47629
47630 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47631 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47632
47633 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47634 definition on [!__NO_LONG_DOUBLE_MATH].
47635
47636 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47637 PTR_MANGLE and PTR_DEMANGLE.
47638
47639 * socket/accept4.c (accept4): Rename to __libc_accept4.
47640 Define accept4 as a weak alias.
47641
47642 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47643 on [_DIRENT_HAVE_D_TYPE].
47644 * io/ftw.c (ftw_dir): Likewise.
47645
47646 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47647
47648 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47649
47650 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47651 Use the BSD numbers rather than the arbitrary ones we had.
47652 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47653 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47654 (SIGXCPU, SIGXFSZ): New macros.
47655 (_NSIG): Now 32.
47656
47657 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47658 initializer on [_LIBC_REENTRANT].
47659
47660 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47661 definitions inside [_POSIX_MAPPED_FILES].
47662
47663 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47664
47665 * dirent/opendir.c: Include <fcntl.h>.
47666
47667 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47668 (__libc_getspecific): Likewise.
47669 (__libc_key_create): Likewise.
47670
47671 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47672 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47673 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47674 (tmpfile64): Define as alias.
47675 * sysdeps/wordsize-64/tmpfile.c: File removed.
47676 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47677 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47678 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47679
47680 * stdio-common/vfscanf.c: Include <stdbool.h>.
47681 * nss/makedb.c: Likewise.
47682 * stdio-common/_i18n_number.h: Likewise.
47683 * argp/argp-help.c: Likewise.
47684 * posix/wordexp.c: Likewise.
47685 * sysdeps/posix/spawni.c: Likewise.
47686 * nss/nss_files/files-initgroups.c: Likewise.
47687 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47688 * nss/nss_files/files-initgroups.c: Likewise.
47689 * nss/nss_db/db-netgrp.c: Likewise.
47690 * nss/nss_db/db-initgroups.c: Likewise.
47691 * io/fchmodat.c: Include <sys/stat.h>.
47692
47693 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47694 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47695
47696 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47697 [HAVE_MMAP].
47698
47699 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47700 Add multiple inclusion protection.
47701
47702 2012-07-27 David S. Miller <davem@davemloft.net>
47703
47704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47705
47706 2012-07-27 Gary Benson <gbenson@redhat.com>
47707
47708 [BZ #14298]
47709 * elf/rtld.c: Include <stap-probe.h>.
47710 (dl_main): Added static probes "init_start" and "init_complete".
47711 * elf/dl-load.c: Include <stap-probe.h>.
47712 (lose): Take new parameter "nsid".
47713 Added static probe "map_failed".
47714 (_dl_map_object_from_fd): Pass namespace id to lose.
47715 Added static probe "map_start".
47716 (open_verify): Pass namespace id to lose.
47717 * elf/dl-open.c: Include <stap-probe.h>.
47718 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47719 and "reloc_complete".
47720 * elf/dl-close.c: Include <stap-probe.h>.
47721 (_dl_close_worker): Added static probes "unmap_start" and
47722 "unmap_complete".
47723 * elf/rtld-debugger-interface.txt: New file documenting the above.
47724
47725 2012-07-26 Roland McGrath <roland@hack.frob.com>
47726
47727 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47728 rather than a string variable.
47729 * sunrpc/rpc_main.c (h_output): Likewise.
47730 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47731
47732 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47733
47734 * inet/check_native.c: New file.
47735
47736 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47737
47738 [BZ #13629]
47739 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47740 if larger part has absolute value 1.0.
47741 * math/s_clog10.c (__clog10): Likewise.
47742 * math/s_clog10f.c (__clog10f): Likewise.
47743 * math/s_clog10l.c (__clog10l): Likewise.
47744 * math/s_clogf.c (__clogf): Likewise.
47745 * math/s_clogl.c (__clogl): Likewise.
47746 * math/libm-test.inc (clog_test): Add more tests.
47747 (clog10_test): Likewise.
47748 * sysdeps/i386/fpu/libm-test-ulps: Update.
47749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47750
47751 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47752 (pltexit): Likewise.
47753 (La_regs): Likewise.
47754 (La_retval): Likewise.
47755 (int_retval): Likewise.
47756 Update #error for removed macros to refer only to definitions in
47757 tst-audit.h.
47758 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47759 macro.
47760 (pltexit): Likewise.
47761 (La_regs): Likewise.
47762 (La_retval): Likewise.
47763 (int_retval): Likewise.
47764 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47765 macro.
47766 (pltexit): Likewise.
47767 (La_regs): Likewise.
47768 (La_retval): Likewise.
47769 (int_retval): Likewise.
47770 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47771 macro.
47772 (pltexit): Likewise.
47773 (La_regs): Likewise.
47774 (La_retval): Likewise.
47775 (int_retval): Likewise.
47776 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47777 macro.
47778 (pltexit): Likewise.
47779 (La_regs): Likewise.
47780 (La_retval): Likewise.
47781 (int_retval): Likewise.
47782 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47783 macro.
47784 (pltexit): Likewise.
47785 (La_regs): Likewise.
47786 (La_retval): Likewise.
47787 (int_retval): Likewise.
47788 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47789 macro.
47790 (pltexit): Likewise.
47791 (La_regs): Likewise.
47792 (La_retval): Likewise.
47793 (int_retval): Likewise.
47794 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47795 macro definitions in tst-audit.h.
47796 * sysdeps/i386/tst-audit.h: New file.
47797 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47798 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47799 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47800 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47801 * sysdeps/sh/tst-audit.h: Likewise.
47802 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47803 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47804 * sysdeps/x86_64/tst-audit.h: Likewise.
47805
47806 2012-07-26 Andreas Jaeger <aj@suse.de>
47807
47808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47809 ptrace.
47810
47811 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47812 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47813 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47814 PTRACE_O_MASK.
47815 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47816 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47817 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47818
47819 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47820 value.
47821
47822 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47823 _sigsys.
47824 (si_call_addr, si_syscall, si_arch): Define new macro.
47825 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47826 _sigsys.
47827 (si_call_addr, si_syscall, si_arch): Define new marcro.
47828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47829 _sigsys.
47830 (si_call_addr, si_syscall, si_arch): Define new macro.
47831 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47832 _sigsys.
47833 (si_call_addr, si_syscall, si_arch): Define new macro.
47834
47835 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47836
47837 [BZ #13717]
47838 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47839 Change to 2.4.21 where previously 2.4.1.
47840 * sysdeps/unix/sysv/linux/configure: Regenerated.
47841 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47842 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47843 Linux kernel version.
47844 (__ASSUME_STD_AUXV): Remove.
47845 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47846 kernel version.
47847 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47848 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47849 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47850 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47851 (__ASSUME_NETLINK_SUPPORT): Likewise.
47852 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47853 (__no_netlink_support): Remove conditional definition.
47854 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47855 Remove.
47856 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47857 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47858 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47859 (if_nameindex_ioctl): Remove.
47860 (if_nameindex_netlink): Do not handle __no_netlink_support.
47861 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47862 code.
47863 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47864 Remove conditional code.
47865 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47866 code.
47867 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47868 unconditional.
47869 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47870 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47871 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47872 Remove.
47873 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47874 [!__ASSUME_STD_AUXV]: Remove conditional code.
47875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47876 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47877 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47879 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47880 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47881 code.
47882 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47884 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47885 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47886 conditional code.
47887 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47889 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47890 code.
47891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47892 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47893 conditional code.
47894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47895 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47896 code unconditional.
47897 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47898 conditional code.
47899 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47900 unconditional.
47901 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47902 conditional code.
47903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47904 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47905 unconditional.
47906 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47907 conditional code.
47908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47909 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47910 code unconditional.
47911 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47912 conditional code.
47913 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47914 unconditional.
47915 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47916 conditional code.
47917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47918 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47919 code unconditional.
47920 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47921 conditional code.
47922 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47923 unconditional.
47924 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47925 conditional code.
47926
47927 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
47928
47929 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47930 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47931 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47932 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47933 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47934 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47935 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47936 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47937 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47938 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47939 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47940 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47941 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47942 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47943 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47944 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47945 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47947 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47949 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47950 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47951 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47952
47953 2012-07-25 Florian Weimer <fweimer@redhat.com>
47954
47955 * Versions.def: Add GLIBC_2.17.
47956 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47957 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47958 Introduce __libc_secure_getenv.
47959 * stdlib/Versions (2.17): Add secure_getenv
47960 (GLIBC_PRIVATE): Add __libc_secure_getenv.
47961 * stdlib/secure-getenv.c: Rename __secure_getenv to
47962 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
47963 symbol __secure_getenv for GLIBC_2.0.
47964 * stdlib/tst-secure-getenv.c: New.
47965 * stdlib/Makefile (tests): Add testcase.
47966 * manual/startup.texi (Environment Access): Document
47967 secure_getenv.
47968 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47969 __libc_secure_getenv.
47970 * inet/ruserpass.c (ruserpass): Likewise.
47971 * malloc/mtrace.c (mtrace): Likewise.
47972 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47973 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47974 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47975 * sysdeps/posix/tempname.c: Likewise. Evaluate
47976 HAVE_SECURE_GETENV.
47977 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47978 __secure_getenv to __libc_secure_getenv.
47979 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47981 Likewise.
47982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47983 Likewise.
47984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47986 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47991
47992 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47993
47994 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47995 (struct La_i86_retval): Likewise.
47996 (struct La_x86_64_regs): Likewise.
47997 (struct La_x86_64_retval): Likewise.
47998 (struct La_x32_regs): Likewise.
47999 (struct La_x32_retval): Likewise.
48000 (struct La_ppc32_regs): Likewise.
48001 (struct La_ppc32_retval): Likewise.
48002 (struct La_ppc64_regs): Likewise.
48003 (struct La_ppc64_retval): Likewise.
48004 (struct La_sh_regs): Likewise.
48005 (struct La_sh_retval): Likewise.
48006 (struct La_s390_32_regs): Likewise.
48007 (struct La_s390_32_retval): Likewise.
48008 (struct La_s390_64_regs): Likewise.
48009 (struct La_s390_64_retval): Likewise.
48010 (struct La_sparc32_regs): Likewise.
48011 (struct La_sparc32_retval): Likewise.
48012 (struct La_sparc64_regs): Likewise.
48013 (struct La_sparc64_retval): Likewise.
48014 (struct audit_ifaces): Remove architecture-specific pltenter and
48015 pltexit members.
48016 * sysdeps/i386/ldsodefs.h: New file.
48017 * sysdeps/powerpc/ldsodefs.h: Likewise.
48018 * sysdeps/s390/ldsodefs.h: Likewise.
48019 * sysdeps/sh/ldsodefs.h: Likewise.
48020 * sysdeps/sparc/ldsodefs.h: Likewise.
48021 * sysdeps/x86_64/ldsodefs.h: Likewise.
48022
48023 2012-07-25 Marek Polacek <polacek@redhat.com>
48024
48025 [BZ #6808]
48026 * math/libm-test.inc (yn_test): Add another test.
48027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48028 to ERANGE when the result is +-Inf.
48029 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48030 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48031 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48032 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48033
48034 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48035
48036 * conform/data/time.h-data (NULL): Use macro-constant. Require
48037 equal to 0.
48038 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48039 clock_t.
48040 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48041
48042 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48043
48044 * configure.in <sysdeps resolving>: Correct printing
48045 Implies_before.
48046 * configure: Regenerate.
48047
48048 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48049
48050 * math/w_ilogb.c: Include <limits.h>.
48051 * math/w_ilogbl.c: Likewise.
48052
48053 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48054
48055 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48056 va_copy. Document allowing for unavailable va_copy only as
48057 pre-C99 compatibility.
48058 * manual/string.texi (Copying and Concatenation): Use va_copy
48059 instead of __va_copy in concat example.
48060
48061 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48062
48063 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48064 (__sendto): Use create_address_port. Initialize APORT and deallocate
48065 it if not null.
48066
48067 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48068 with O_NOLINK passed to __file_name_lookup.
48069
48070 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48071 with O_NOLINK passed to __file_name_lookup.
48072
48073 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48074 negative N or less than NGIDS.
48075
48076 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48077 type to string_t. Set ERANGE as errno and return it if NAME is not big
48078 enough. Use memcpy instead of strncpy.
48079
48080 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48081
48082 * elf/Makefile (check-data): Remove.
48083 (localplt.data): New vpath directive.
48084 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48085 instead of $(check-data).
48086 * scripts/data/localplt-generic.data: Move to ...
48087 * sysdeps/generic/localplt.data: ... here.
48088 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48089 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48090 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48092 ... here.
48093 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48095 ... here.
48096 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48098 ... here.
48099 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48101 ... here.
48102 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48104 ... here.
48105 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48107 ... here.
48108
48109 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48110
48111 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48112 PPC32 and PPC64 files.
48113 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48114 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48115
48116 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48117
48118 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48119 __makecontext_ret to ...
48120 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48121 ... here and call exit if uc_link is NULL. New file.
48122 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48123 __makecontext_ret.S.
48124 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48125 __makecontext_ret to ...
48126 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48127 ... here and call exit if uc_link is NULL. New file.
48128 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48129 __makecontext_ret.S.
48130
48131 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48132
48133 * elf/elf.h (R_390_IRELATIVE): New definition.
48134 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48135 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48136 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48137 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48138 (elf_machine_lazy_rel): Likewise.
48139 * sysdeps/s390/dl-irel.h: New file.
48140 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48141 * sysdeps/s390/s390-64/memset.S: New asm code.
48142 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48143 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48144 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48145 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48146 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48147 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48148 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48149 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48150 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48151 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48152 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48153 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48154 * sysdeps/s390/s390-32/memset.S: New asm code.
48155 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48156
48157 2012-07-17 Marek Polacek <polacek@redhat.com>
48158
48159 [BZ #14349]
48160 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48161 * sysdeps/s390/s390-64/configure.in: Likewise.
48162 * sysdeps/sparc/configure.in: Likewise.
48163 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48164 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48165 * sysdeps/i386/configure.in: Likewise.
48166 * sysdeps/x86_64/configure.in: Likewise.
48167 * sysdeps/sh/configure.in: Likewise.
48168 * sysdeps/s390/s390-32/configure: Regenerated.
48169 * sysdeps/s390/s390-64/configure: Likewise.
48170 * sysdeps/x86_64/configure: Likewise.
48171 * sysdeps/sh/configure: Likewise.
48172 * sysdeps/powerpc/powerpc64/configure: Likewise.
48173 * sysdeps/powerpc/powerpc32/configure: Likewise.
48174 * sysdeps/sparc/configure: Likwise.
48175 * sysdeps/i386/configure: Likewise.
48176
48177 * elf/dl-open.c: Comment fixes.
48178
48179 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48180
48181 * Makefile [CXX] (check-data): Remove.
48182 [CXX] (c++-types.data): New vpath directive.
48183 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48184 vpath. Do not allow for C++ type data being missing.
48185 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48186 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48187 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48188 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48189 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48190 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48191 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48193 ... here.
48194 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48196 ... here.
48197 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48199 ... here.
48200 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48202 ... here.
48203 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48205 ... here.
48206 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48208 ... here.
48209 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48211 ... here.
48212 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48214
48215 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48216 definitions to architecture-specific files.
48217 (TLS_IE): Likewise.
48218 (TLS_LD): Likewise.
48219 (TLS_GD): Likewise.
48220 * sysdeps/i386/tls-macros.h: New file.
48221 * sysdeps/powerpc/tls-macros.h: Likewise.
48222 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48223 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48224 * sysdeps/sh/tls-macros.h: Likewise.
48225 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48226 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48227 * sysdeps/x86_64/tls-macros.h: Likewise.
48228
48229 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48230
48231 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48232 zero value for regular exit case.
48233
48234 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48235 (__start_context): Preserve zero value for regular exit case.
48236
48237 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48238 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48239
48240 * manual/setjmp.texi (setcontext): Clarify normal process
48241 termination when uc_link is the null pointer.
48242 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48243 exit call.
48244
48245 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48246
48247 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48248 preprocessor. Test for each exception mask separately.
48249
48250 2012-07-16 Andreas Jaeger <aj@suse.de>
48251
48252 * po/ru.po: Update from translation team.
48253
48254 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48255
48256 * conform/data/string.h-data (NULL): Use macro-constant. Require
48257 equal to 0.
48258 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48259 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48260 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48261 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48262 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48263
48264 2012-07-13 Andreas Jaeger <aj@suse.de>
48265
48266 * po/fr.po: Update from translation team.
48267
48268 2012-07-12 Marek Polacek <polacek@redhat.com>
48269
48270 [BZ #14173]
48271 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48272 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48273 loop condition.
48274
48275 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48276
48277 [BZ #13717]
48278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48279 Change to 2.4.1 where previously 2.4.0.
48280 * sysdeps/unix/sysv/linux/configure: Regenerated.
48281 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48282 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48283 version.
48284 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48285 (__ASSUME_AT_CLKTCK): Remove.
48286 (__ASSUME_AT_PAGESIZE): Likewise.
48287 (__ASSUME_AT_XID): Likewise.
48288 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48289 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48290 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48291 unconditionally.
48292 (HAVE_AUX_PAGESIZE): Likewise.
48293 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48294 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48295 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48296
48297 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48298
48299 [BZ #14307]
48300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48301 the temporary buffer used to invoke __gethostbyname2_r,
48302 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48303 host_data / struct gaih_addrtuple.
48304 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48305 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48306 header file nss/nsswitch.h.
48307 * nss/nsswitch.h (global scope): Add definition of implementation
48308 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48309 resolv/nss_dns/dns-host.c).
48310
48311 2012-07-11 Andreas Jaeger <aj@suse.de>
48312
48313 * po/fr.po: Update from translation team.
48314
48315 * po/sv.po: Update from translation team
48316 * po/fr.po: Another update from translation team.
48317
48318 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48319
48320 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48321 for subnormals or multiply small sinh result by itself.
48322 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48324
48325 2012-07-11 David S. Miller <davem@davemloft.net>
48326
48327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48328
48329 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48330
48331 [BZ #14347]
48332 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48333 (INTERNAL_MARK): Shift it here.
48334
48335 2012-07-10 Marek Polacek <polacek@redhat.com>
48336
48337 [BZ #14151]
48338 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48339 libc_cv_asm_global_directive with .globl.
48340 * configure: Regenerated.
48341 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48342 with .globl.
48343 * sysdeps/i386/configure: Regenerated.
48344 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48345 with .globl.
48346 * sysdeps/x86_64/configure: Regenerated.
48347 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48348 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48349 * elf/tst-unique2mod2.c: Likewise.
48350 * elf/tst-unique2mod1.c: Likewise.
48351 * elf/tst-unique1mod2.c: Likewise.
48352 * elf/tst-unique1mod1.c: Likewise.
48353 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48354 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48355 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48356 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48357 * sysdeps/mach/sysdep.h: Likewise.
48358 * sysdeps/i386/sysdep.h: Likewise.
48359 * sysdeps/i386/i386-mcount.S: Likewise.
48360 * sysdeps/x86_64/_mcount.S: Likewise.
48361 * sysdeps/x86_64/sysdep.h: Likewise.
48362 * sysdeps/sh/_mcount.S: Likewise.
48363 * sysdeps/sh/sysdep.h: Likewise.
48364 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48365 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48366 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48367 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48368 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48369 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48370 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48371 * locale/localeinfo.h: Likewise.
48372 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48373 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48374
48375 2012-07-09 Roland McGrath <roland@hack.frob.com>
48376
48377 [BZ #14336]
48378 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48379 system".
48380 * manual/message.texi (The Uniforum approach): Likewise.
48381 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48382 (glibc iconv Implementation): Likewise.
48383
48384 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48385
48386 [BZ #14337]
48387 * math/s_clog.c (__clog): Avoid scaling a value down where that
48388 could result in underflow.
48389 * math/s_clog10.c (__clog10): Likewise.
48390 * math/s_clog10f.c (__clog10f): Likewise.
48391 * math/s_clog10l.c (__clog10l): Likewise.
48392 * math/s_clogf.c (__clogf): Likewise.
48393 * math/s_clogl.c (__clogl): Likewise.
48394 * math/libm-test.inc (clog_test): Add more tests.
48395 (clog10_test): Likewise.
48396 * sysdeps/i386/fpu/libm-test-ulps: Update.
48397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48398
48399 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48400
48401 [BZ #14283]
48402 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48403 by 7 not 8 to examine high bit of fractional part.
48404
48405 [BZ #14042]
48406 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48407 for call to __mcount_internal.
48408 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48409 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48410 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48411
48412 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48413
48414 [BZ #14154]
48415 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48416 approximation for values within 0x1p-13f of an odd multiple of
48417 pi/4.
48418 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48419 exception. Add more tests.
48420 * sysdeps/i386/fpu/libm-test-ulps: Update.
48421
48422 [BZ #6778]
48423 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48424 inputs and return -1 for them. Do not check for +Inf in case not
48425 reachable for +Inf.
48426 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48427 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48428 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48429 and return -1 for them. Do not check for +Inf in case not
48430 reachable for +Inf.
48431 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48432 define.
48433 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48434 and return -1 for them. Do not check for +Inf in case not
48435 reachable for +Inf.
48436 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48437 spurious underflow.
48438 * sysdeps/i386/fpu/libm-test-ulps: Update.
48439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48440
48441 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48442
48443 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48444
48445 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48446
48447 [BZ #14157]
48448 [BZ #14331]
48449 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48450 could result in spurious underflow. Scale down values above
48451 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48452 * math/s_csqrtf.c (__csqrtf): Likewise.
48453 * math/s_csqrtl.c (__csqrtl): Likewise.
48454 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48455 spurious underflow.
48456 * sysdeps/i386/fpu/libm-test-ulps: Update.
48457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48458
48459 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48460
48461 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48462 xopen-msg.sed.
48463 * catgets/xopen-msg.awk: New file.
48464 * catgets/xopen-msg.sed: Removed.
48465
48466 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48467 po2text.sed.
48468 * intl/po2test.awk: New file.
48469 * intl/po2test.sed: Removed.
48470
48471 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48472
48473 [BZ #14328]
48474 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48475 or multiply small sinh result by itself.
48476 * math/s_ctanf.c (__ctanf): Likewise.
48477 * math/s_ctanh.c (__ctanh): Likewise.
48478 * math/s_ctanhf.c (__ctanhf): Likewise.
48479 * math/s_ctanhl.c (__ctanhl): Likewise.
48480 * math/s_ctanl.c (__ctanl): Likewise.
48481 * math/libm-test.inc (ctan_test_tonearest): New function.
48482 (ctan_test_towardzero): Likewise.
48483 (ctan_test_downward): Likewise.
48484 (ctan_test_upward): Likewise.
48485 (ctanh_test_tonearest): Likewise.
48486 (ctanh_test_towardzero): Likewise.
48487 (ctanh_test_downward): Likewise.
48488 (ctanh_test_upward): Likewise.
48489 (main): Call these new functions.
48490 * sysdeps/i386/fpu/libm-test-ulps: Update.
48491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48492
48493 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48494
48495 * .gitignore: Delete /ports entry.
48496
48497 2012-07-03 Andreas Jaeger <aj@suse.de>
48498
48499 * po/bg.po: Update from translation team.
48500 * po/cs.po: Likewise.
48501 * po/de.po: Likewise.
48502 * po/hr.po: Likewise.
48503 * po/nl.pl: Likewise.
48504 * po/pl.po: Likewise.
48505 * po/vi.po: Likewise.
48506
48507 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48508
48509 * Makeconfig [!+link] (+link-before-libc): New variable.
48510 [!+link] (+link-after-libc): Likewise.
48511 [!+link] (+link-tests): Likewise.
48512 [!+link] (+link): Define in terms of $(+link-before-libc) and
48513 $(+link-after-libc).
48514 [!+link-static] (+link-static-before-libc): New variable.
48515 [!+link-static] (+link-static-after-libc): Likewise.
48516 [!+link-static] (+link-static-tests): Likewise.
48517 [!+link-static] (+link-static): Define in terms of
48518 $(+link-static-before-libc) and $(+link-static-after-libc).
48519 [build-shared] (link-libc-before-gnulib): New variable.
48520 [build-shared] (link-libc-tests): Likewise.
48521 [build-shared] (link-libc): Define in terms of
48522 $(link-libc-before-gnulib).
48523 [!build-shared] (link-libc-tests): New variable.
48524 (link-libc-static-tests): New variable.
48525 [!gnulib] (gnulib-arch): New variable.
48526 [!gnulib] (gnulib-tests): Likewise.
48527 [!gnulib] (static-gnulib-arch): Likewise.
48528 [!gnulib] (static-gnulib-tests): Likewise.
48529 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48530 Define with "=" instead of ":=".
48531 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48532 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48533 * Rules (binaries-all-notests): New variable.
48534 (binaries-all-tests): Likewise.
48535 (binaries-static-notests): Likewise.
48536 (binaries-static-tests): Likewise.
48537 (binaries-all): Define using $(binaries-all-notests) and
48538 $(binaries-all-tests).
48539 (binaries-static): Define using $(binaries-static-notests) and
48540 $(binaries-static-tests).
48541 (binaries-shared-tests): New variable.
48542 (binaries-shared-notests): Likewise.
48543 (binaries-shared): Remove variable.
48544 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48545 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48546 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48547 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48548 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48549 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48550 * elf/Makefile (sln-modules): New variable.
48551 (extra-objs): Add $(sln-modules:=.o).
48552 (ldconfig-modules): Add static-stubs.
48553 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48554 * elf/static-stubs.c: New file.
48555
48556 [BZ #14283]
48557 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48558 by 7 not 8 to examine high bit of fractional part. Use volatile
48559 variables when splitting into final array of floats if
48560 __FLT_EVAL_METHOD__ != 0.
48561 * math/libm-test.inc (cos_test): Add another test.
48562 (sin_test): Likewise.
48563 * sysdeps/i386/fpu/libm-test-ulps: Update.
48564
48565 [BZ #14273]
48566 * math/libm-test.inc (cosh_test): Add more tests.
48567
48568 * version.h (RELEASE): Set to "development".
48569 (VERSION): Set to "2.16.90".
48570
48571 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48572
48573 * NEWS: Update copyright. Remove last-updated date.
48574 Mention math library bug fixes and timezone data changes.
48575 * README: Mention GNU/Hurd, x32, and HPPA support status.
48576
48577 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48578
48579 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48580
48581 2012-06-27 Andreas Jaeger <aj@suse.de>
48582
48583 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48584
48585 2012-06-25 Andreas Jaeger <aj@suse.de>
48586
48587 * sysdeps/s390/fpu/libm-test-ulps: Update.
48588
48589 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48590 Thomas Schwinge <thomas@codesourcery.com>
48591
48592 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48593 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48594 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48595 fanotify_mark.
48596
48597 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48598
48599 * sysdeps/mach/start.c: Remove file.
48600 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48601 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48602 * sysdeps/sh/init-first.c: Likewise.
48603
48604 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48605 registers for frame unwinding purposes, add CFI directives.
48606 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48607 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48608 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48609 Likewise.
48610
48611 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48612 __fortify_fail returning.
48613 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48614
48615 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48616 sysdeps/sh/____longjmp_chk.S.
48617 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48618 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48619 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48620 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48621
48622 * sysdeps/sh/abort-instr.h: New file.
48623 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48624 process in case exit returns.
48625
48626 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48627 initialize the GOT register before use.
48628
48629 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48630 calculation of ARGC > 4.
48631
48632 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48633 meaningful names to some local labels.
48634
48635 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48636 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48637
48638 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48639 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48640 (__arch_compare_and_exchange_val_16_acq): Likewise.
48641 (__arch_compare_and_exchange_val_32_acq): Likewise.
48642 (atomic_exchange_and_add): Fix gUSA sequence.
48643 (atomic_add): Likewise.
48644 (atomic_add_negative): Likewise.
48645 (atomic_add_zero): Likewise.
48646 (atomic_bit_test_set): Likewise.
48647
48648 2012-06-22 Andreas Schwab <schwab@redhat.com>
48649
48650 [BZ #13579]
48651 * include/link.h (struct link_map): Add l_free_initfini.
48652 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48653 l_initfini.
48654 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48655 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48656 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48657 set.
48658
48659 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48660
48661 * configure.in: Use AC_LANG_SOURCE.
48662 * configure: Regenerate.
48663
48664 2012-06-22 Roland McGrath <roland@hack.frob.com>
48665
48666 * configure.in (libc_cv_localstatedir): New substituted variable.
48667 * configure: Regenerated.
48668 * config.make.in (localstatedir): New variable, substituted from
48669 libc_cv_localstatedir.
48670 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48671 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48672 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48673 * sysdeps/gnu/configure: Regenerated.
48674
48675 2012-06-21 Jeff Law <law@redhat.com>
48676
48677 [BZ #14277]
48678 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48679 free. Simplify list management for _LIBC case.
48680
48681 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48682
48683 [BZ #14273]
48684 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48685 Clear sign bit of 64-bit integer value before comparing against
48686 overflow value.
48687
48688 * sysdeps/mach/configure: Regenerated.
48689
48690 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48691
48692 [BZ #14278]
48693 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48694
48695 2012-06-21 Jeff Law <law@redhat.com>
48696
48697 [BZ #13882]
48698 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48699 uint16_t for elements in the "seen" array to avoid char overflows.
48700 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48701 * elf/dl-open.c (dl_open_worker): Likewise.
48702
48703 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48704
48705 * scripts/list-sources.sh: Scan PORTS for translations.
48706 * po/libc.pot: Regenerated.
48707
48708 2012-06-21 Andreas Jaeger <aj@suse.de>
48709
48710 [BZ #12194]
48711 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48712 warning.
48713 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48714 * bits/byteswap-16.h (__bswap_16): Likewise.
48715 * bits/byteswap.h (__bswap_constant_16): Likewise.
48716
48717 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48718
48719 [BZ #14117]
48720 * sysdeps/i386/fpu_control.h: Removed.
48721 * sysdeps/x86_64/fpu_control.h: Moved to ...
48722 * sysdeps/x86/fpu_control.h: Here.
48723
48724 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48725 (_FPU_SETCW): Likewise.
48726
48727 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48728
48729 [BZ #14117]
48730 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48731 * sysdeps/x86/fpu/bits/mathinline.h: This.
48732 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48733
48734 [BZ #14050]
48735 [BZ #14117]
48736 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48737 functions if __x86_64__ is defined.
48738
48739 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48740
48741 * string/endian.h: Add !__ASSEMBLER__ condition for including
48742 conversion interfaces.
48743
48744 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48745
48746 [BZ #14241]
48747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48748 of ABS(x) in calculating zero to negative powers other than odd
48749 integers.
48750 * math/libm-test.inc (pow_test): Add more tests.
48751
48752 2012-06-15 Andreas Jaeger <aj@suse.de>
48753
48754 * manual/contrib.texi (Contributors): Update entry of Liubov
48755 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48756 Machado Filho.
48757
48758 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48759
48760 * string/string.h: Add __wur to GNU version of strerror_r.
48761
48762 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48763
48764 [BZ #14229]
48765 * string/Makefile (tests): Add tst-strtok_r.
48766 * string/tst-strtok_r.c: New file.
48767 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48768 RAX_LP/RDX_LP on SAVE_PTR.
48769
48770 2012-06-14 Roland McGrath <roland@hack.frob.com>
48771
48772 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48773
48774 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48775
48776 * libm_test.inc (csqrt_test): Allow more spurious underflow
48777 exceptions.
48778 (j0_test): Likewise.
48779 (j1_test): Likewise.
48780 (y0_test): Likewise.
48781 (y1_test): Likewise.
48782
48783 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48784
48785 * po/Makefile (libc.pot): Use UTF-8 charset.
48786
48787 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48788
48789 [BZ #14210]
48790 Suppress sign-conversion warning from FD_SET.
48791 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48792 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48793 not unsigned long int.
48794 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48795
48796 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48797
48798 [BZ #14050]
48799 [BZ #14117]
48800 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48801 __extern_always_inline instead of __extern_inline.
48802 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48803 (__signbit): Likewise.
48804 (__signbitl): Support C++ namespace.
48805 (lrintf): New inline function.
48806 (lrint): Likewise.
48807 (llrintf): Likewise.
48808 (llrint): Likewise.
48809 (fmaxf): Likewise.
48810 (fmax): Likewise.
48811 (fminf): Likewise.
48812 (fmin): Likewise.
48813 (rint): Likewise.
48814 (rintf): Likewise.
48815 (ceil): Likewise.
48816 (ceilf): Likewise.
48817 (floor): Likewise.
48818 (floorf): Likewise.
48819 (nearbyint): Likewise.
48820 (nearbyintf): Likewise.
48821
48822 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48823
48824 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48825 non-default versions.
48826
48827 2012-06-11 Roland McGrath <roland@hack.frob.com>
48828
48829 [BZ #14218]
48830 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48831
48832 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48833
48834 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48835 (FE_UPWARD, FE_DOWNWARD): Don't define.
48836 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48837 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48838
48839 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48840 reading it.
48841 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48842 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48843
48844 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48845
48846 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48848 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48849 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48850
48851 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48852
48853 [BZ #14117]
48854 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48855 * sysdeps/i386/fpu/Implies: New file.
48856 * sysdeps/x86_64/fpu/Implies: Likewise.
48857 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48858 * sysdeps/x86/fpu/bits/fenv.h: This.
48859
48860 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48861 __SSE_MATH__.
48862
48863 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48864
48865 [BZ #14134]
48866 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48867 character 0xffff that matches the last element of the
48868 conversion table.
48869
48870 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48871
48872 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48873 fmodl commit.
48874
48875 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48876
48877 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48878 values higher than 25.6283.
48879
48880 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48881
48882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48883 subnormal exponent extraction and add some __builtin_expect.
48884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48885 Fix for subnormal mantissa calculation.
48886
48887 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48888
48889 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48890 cpu2 is -1 and errno is not ENOSYS.
48891
48892 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48893
48894 [BZ #14117]
48895 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48896 * sysdeps/x86/bits/string.h: This.
48897 * sysdeps/x86_64/bits/string.h: Removed.
48898
48899 * sysdeps/i386/i486/bits/string.h: Define inline functions only
48900 if not compiling for x86-64, but compiling for >= i486.
48901
48902 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48903 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48904
48905 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48906 New macro from Linux kernel 3.4.0.
48907 (FP_XSTATE_MAGIC2): Likewise.
48908 (FP_XSTATE_MAGIC2_SIZE): Likewise.
48909 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48910 (struct _fpx_sw_bytes): New struct.
48911 (struct _xsave_hdr): Likewise.
48912 (struct _ymmh_state): Likewise.
48913 (struct _xstate): Likewise.
48914
48915 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48916 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48917 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48918 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48919 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48920 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48921
48922 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48923 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48924 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48925 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48926 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48927 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48928
48929 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48930
48931 [BZ #13743]
48932 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48933 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48934 (sysdep_headers): Include sys/platform/ppc.h.
48935 * sysdeps/powerpc/test-gettimebase.c: Test for
48936 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48937 * manual/Makefile (appendices): Include platform.texi.
48938 * manual/contrib.texi (Contributors): Update @node pointers.
48939 * manual/maint.texi (Maintenance): Likewise.
48940 (Platform): New node.
48941 * manual/platform.texi: New file. Document the new features.
48942
48943 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48944 Jakub Jelinek <jakub@redhat.com>
48945
48946 [BZ #14188]
48947 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48948 where __builtin_expect is unavailable.
48949
48950 2012-06-03 David S. Miller <davem@davemloft.net>
48951
48952 * stdlib/longlong.h: Updated from GCC.
48953
48954 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
48955
48956 [BZ #14042]
48957 * sysdeps/powerpc/powerpc32/mcount.c: New file.
48958 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48959 __mcount_internal.
48960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48961 (GLIBC_2.16): Likewise.
48962
48963 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48964
48965 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48966
48967 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48968
48969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48970 (default-abi): New variable.
48971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48972 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48973 variable.
48974 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48975 Likewise.
48976 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48977 Likewise.
48978 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48979 Likewise.
48980
48981 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48982 definition. Document in comment.
48983
48984 2012-06-01 David S. Miller <davem@davemloft.net>
48985
48986 * stdlib/longlong.h: Updated from GCC.
48987
48988 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48989
48990 [BZ #14117]
48991 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48992 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48993 sys/debugreg.h sys/io.h here.
48994 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48995 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48996 sys/io.h.
48997 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48998 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48999 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49000 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49001 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49002 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49003
49004 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49005 Define only if __x86_64__ is defined.
49006
49007 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49008
49009 [BZ #14048]
49010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49011 Use int64_t for variable i.
49012 * math/libm-test.inc (fmod_test): Add more tests.
49013
49014 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49015 z computation is not scheduled after fetestexcept.
49016 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49017 Use math_force_eval instead of asm to ensure calculation scheduled
49018 before exception test.
49019 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49020 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49021
49022 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49023
49024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49025 computation is not scheduled after fetestexcept.
49026
49027 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49028
49029 [BZ #14117]
49030 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49031 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49032
49033 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49034
49035 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49036 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49037
49038 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49039
49040 [BZ #14117]
49041 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49042 <bits/wordsize.h>.
49043 (__WCHAR_MIN): Support __WORDSIZE == 64.
49044 (__WCHAR_MAX): Likewise.
49045
49046 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49047 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49048
49049 [BZ #14183]
49050 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49051 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49052
49053 [BZ #14117]
49054 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49055 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49056
49057 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49058 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49059
49060 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49061 Defined to 1 if __x86_64__ isn't defined.
49062 (_STAT_VER_LINUX_OLD): New.
49063 (st_atime): Remove duplicate.
49064 (st_mtime): Likewise.
49065 (st_ctime): Likewise.
49066
49067 2012-05-31 David S. Miller <davem@davemloft.net>
49068
49069 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49070 entries.
49071
49072 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49073
49074 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49075 gen-libm-test.pl.
49076
49077 [BZ #14132]
49078 * elf/dl-reloc.c: Include <_itoa.h>.
49079 (_dl_reloc_bad_type): Remove use of INTUSE.
49080 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49081 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49082 * stdio-common/psiginfo.c (psiginfo): Likewise.
49083 * stdio-common/psignal.c (psignal): Likewise.
49084 * string/strsignal.c (strsignal): Likewise.
49085 * include/signal.h (_sys_siglist): Declare hidden proto.
49086 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49087 INTVARDEF with libc_hidden_data_def.
49088 * stdio-common/itoa-udigits.c: Likewise.
49089 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49090 (_itoa_lower_digits_internal): Remove declaration.
49091 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49092 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49093 (_sys_sigabbrev_internal): Remove aliases.
49094 (_sys_siglist): Define hidden alias.
49095
49096 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49097
49098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49099 bits/sysctl.h.
49100
49101 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49102
49103 [BZ #14117]
49104 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49105 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49106
49107 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49108 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49109 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49110 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49111 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49112 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49113
49114 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49115 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49116 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49117
49118 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49119 with __addr.
49120 (insw): Likewise.
49121 (insl): Likewise.
49122 (outsb): Likewise.
49123 (outsw): Likewise.
49124 (outsl): Likewise.
49125
49126 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49127 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49128 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49129
49130 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49131 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49132 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49133 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49134 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49135 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49136
49137 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49138 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49139
49140 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49141 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49142
49143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49145 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49146
49147 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49148 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49149 to ...
49150 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49151
49152 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49153 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49154 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49155
49156 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49157 for x86-64.
49158 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49159
49160 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49161
49162 * math/math.h (M_El): Use two more decimal places.
49163 (M_LOG2El): Likewise.
49164 (M_LOG10El): Likewise.
49165 (M_LN2l): Likewise.
49166 (M_LN10l): Likewise.
49167 (M_PIl): Likewise.
49168 (M_PI_2l): Likewise.
49169 (M_PI_4l): Likewise.
49170 (M_1_PIl): Likewise.
49171 (M_2_PIl): Likewise.
49172 (M_2_SQRTPIl): Likewise.
49173 (M_SQRT2l): Likewise.
49174 (M_SQRT1_2l): Likewise.
49175
49176 2012-05-31 David S. Miller <davem@davemloft.net>
49177
49178 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49179 values between float registers.
49180 * sysdeps/sparc/sparc64/memset.S: Likewise.
49181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49182
49183 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49184
49185 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49186 -D_FORTIFY_SOURCE=1.
49187 (CPPFLAGS-tst-longjmp_chk.c): Define.
49188 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49189 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49190 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49191 CFLAGS-tst-wchar-h.c.
49192
49193 2012-05-31 Marek Polacek <polacek@redhat.com>
49194
49195 [BZ #14132]
49196 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49197 __endmntent_internal): Remove declaration.
49198 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49199 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49200 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49201
49202 2012-05-30 David S. Miller <davem@davemloft.net>
49203
49204 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49205 (___Q_simulate_exceptions): Use real FP ops rather than writing
49206 into the %fsr.
49207 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49208 Likewise.
49209
49210 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49211
49212 [BZ #14117]
49213 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49214 * sysdeps/x86/bits/xtitypes.h: This.
49215
49216 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49217 * sysdeps/x86/bits/wordsize.h: This.
49218
49219 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49220 * sysdeps/x86/bits/huge_vall.h: This.
49221
49222 * sysdeps/i386/bits/select.h: Removed.
49223 * sysdeps/x86_64/bits/select.h: Renamed to ...
49224 * sysdeps/x86/bits/select.h: This.
49225
49226 * sysdeps/i386/bits/setjmp.h: Removed.
49227 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49228 * sysdeps/x86/bits/setjmp.h: This.
49229
49230 * sysdeps/i386/bits/mathdef.h: Removed.
49231 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49232 * sysdeps/x86/bits/mathdef.h: This.
49233
49234 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49235
49236 [BZ #14132]
49237 * include/sys/socket.h (__connect_internal)
49238 (__libc_sa_len_internal): Remove declaration.
49239 (__connect, __libc_sa_len): Declare hidden_proto.
49240 (SA_LEN): Remove use of INTUSE.
49241 * socket/connect.c: Add libc_hidden_def.
49242 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49243 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49244 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49245 alias.
49246 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49247 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49248 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49249 of adding _internal alias.
49250
49251 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49252
49253 [BZ #14117]
49254 * sysdeps/i386/bits/link.h: Removed.
49255 * sysdeps/i386/bits/linkmap.h: Likewise.
49256 * sysdeps/x86_64/bits/link.h: Renamed to ...
49257 * sysdeps/x86/bits/link.h: This.
49258 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49259 * sysdeps/x86/bits/linkmap.h: This.
49260
49261 * sysdeps/i386/bits/endian.h: Removed.
49262 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49263 * sysdeps/x86/bits/endian.h: This.
49264
49265 * sysdeps/i386/bits/byteswap.h: Removed.
49266 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49267 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49268 * sysdeps/x86/bits/byteswap.h: This.
49269 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49270 * sysdeps/x86/bits/byteswap-16.h: This.
49271 * sysdeps/i386/Implies: Add x86.
49272 * sysdeps/x86_64/Implies: Likewise.
49273
49274 2012-05-30 David S. Miller <davem@davemloft.net>
49275
49276 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49277 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49278 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49279 (FP_TRAPPING_EXCEPTIONS): Define.
49280 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49281 (FP_TRAPPING_EXCEPTIONS): Define.
49282 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49283 subnormals only when inexact has been signalled or underflow
49284 exceptions are enabled.
49285 (_FP_PACK_CANONICAL): Likewise.
49286
49287 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49288
49289 [BZ #14183]
49290 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49291 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49292
49293 2012-05-30 Richard Henderson <rth@twiddle.net>
49294
49295 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49296 with #ifndef NOT_IN_libc.
49297
49298 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49299 marked to avoid plt entry.
49300
49301 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49302
49303 [BZ #14112]
49304 * Makeconfig (default-abi): New macro.
49305 (abi-includes): Likewise.
49306 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49307 $(abi-$(default-abi)-lib-soname) for soname if defined.
49308 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49309 abi-variants.
49310 * Makefile (installed-stubs): Likewise.
49311 * include/stubs-biarch.h: Removed.
49312 * scripts/lib-names.awk: Only handle one library at a time.
49313 * scripts/soversions.awk: Remove WORDSIZE support.
49314 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49315 entries.
49316 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49317 Removed.
49318 (syscall-list-default-condition): Likewise.
49319 (syscall-list-default-condition): Likewise.
49320 (syscall-list-includes): Likewise.
49321 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49322 syscall-list-* with abi-*. Handle undefined abi-variants.
49323 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49324 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49325 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49326 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49327 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49328 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49329 Removed.
49330 (syscall-list-32-options): Likewise.
49331 (syscall-list-32-condition): Likewise.
49332 (syscall-list-64-options): Likewise.
49333 (syscall-list-64-condition): Likewise.
49334 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49335 macro.
49336 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49337 Renamed to ...
49338 (abi-*): This.
49339 (abi-64-ld-soname): New macro.
49340 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49341 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49342 Renamed to ...
49343 (abi-*): This.
49344 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49345 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49346
49347 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49348
49349 * sysdeps/unix/sysv/linux/kernel-features.h
49350 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49351 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49352 include <kernel-features.h>.
49353 [!__NR_ftruncate64]: Remove conditional code.
49354 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49355 [__NR_ftruncate64]: Make code unconditional.
49356 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49357 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49358 include <kernel-features.h>.
49359 [!__NR_ftruncate64]: Remove conditional code.
49360 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49361 [__NR_ftruncate64]: Make code unconditional.
49362 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49364 include <kernel-features.h>.
49365 [!__NR_ftruncate64]: Remove conditional code.
49366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49367 [__NR_ftruncate64]: Make code unconditional.
49368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49370 include <kernel-features.h>.
49371 [!__NR_ftruncate64]: Remove conditional code.
49372 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49373 [__NR_ftruncate64]: Make code unconditional.
49374 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49375
49376 * configure.in (libc_cv_fpie): Weaken to a compile test using
49377 LIBC_TRY_CC_OPTION.
49378 * configure: Regenerated.
49379
49380 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49381
49382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49386 Refreshed.
49387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49393 Refreshed.
49394
49395 2012-05-27 David S. Miller <davem@davemloft.net>
49396
49397 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49398 (___Q_zero): New.
49399 (__Q_simulate_exceptions): Return void. Change to simulate
49400 exceptions by writing into the %fsr.
49401 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49402 (__Qp_handle_exceptions): Likewise.
49403 (numbers): Delete.
49404 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49405 __Qp_handle_exceptions.
49406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49407 __Qp_handle_exceptions.
49408 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49409 as unused and give dummy FP_RND_NEAREST initializer.
49410 (FP_INHIBIT_RESULTS): Define.
49411 (___Q_simulate_exceptions): Update declaration.
49412 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49413 formatting.
49414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49415 as unused and give dummy FP_RND_NEAREST initializer.
49416 (__Qp_handle_exceptions): Update declaration.
49417 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49418 formatting.
49419
49420 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49421
49422 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49423 the temporary FPU control word.
49424 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49425 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49426 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49427 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49428 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49429 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49430 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49431 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49432 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49433 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49434 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49435
49436 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49437
49438 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49439 fields.
49440
49441 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49442
49443 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49444 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49445 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49446 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49447 Likewise.
49448 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49449 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49450 Likewise.
49451
49452 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49453
49454 * po/h.po: Update from translation team.
49455
49456 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49457
49458 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49459
49460 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49461 handling of denormals.
49462 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49463 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49464 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49465 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49469 Likewise.
49470
49471 2012-05-26 Marek Polacek <polacek@redhat.com>
49472
49473 [BZ #14152]
49474 * math/libm-test.inc (fma_test): Don't always expect underflow
49475 exception.
49476
49477 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49478
49479 [BZ #12416]
49480 * elf/tst-execstack.c: Include stackinfo.h.
49481 (do_test): Adjust test case to ensure that pthread_getattr_np
49482 behaviour remains the same after marking stack executable.
49483
49484 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49485
49486 * sysdeps/unix/sysv/linux/kernel-features.h
49487 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49488 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49489 kernel-features.h.
49490 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49491 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49492 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49493 kernel-features.h.
49494 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49495 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49496
49497 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49498
49499 * configure.in: Define the default includes to being none.
49500 * configure: Regenerated.
49501
49502 2012-05-25 Roland McGrath <roland@hack.frob.com>
49503
49504 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49505 * sysdeps/x86_64/setjmp.S: Likewise.
49506 * sysdeps/i386/bsd-setjmp.S: Likewise.
49507 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49508 * sysdeps/i386/setjmp.S: Likewise.
49509 * sysdeps/i386/__longjmp.S: Likewise.
49510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49511 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49512
49513 * include/stap-probe.h: New file.
49514 * configure.in: Handle --enable-systemtap.
49515 * configure: Regenerated.
49516 * config.h.in (USE_STAP_PROBE): New #undef.
49517 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49518 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49519 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49520
49521 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49522
49523 [BZ #13717]
49524 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49525 to 2.4.0 where earlier.
49526 * sysdeps/unix/sysv/linux/configure: Regenerated.
49527 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49528 <kernel-features.h>.
49529 [__ASSUME_32BITUIDS]: Make code unconditional.
49530 [!__ASSUME_32BITUIDS]: Remove conditional code.
49531 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49532 <kernel-features.h>.
49533 [__ASSUME_32BITUIDS]: Make code unconditional.
49534 [!__ASSUME_32BITUIDS]: Remove conditional code.
49535 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49536 [__ASSUME_32BITUIDS]: Make code unconditional.
49537 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49538 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49539 <kernel-features.h>.
49540 [__ASSUME_32BITUIDS]: Make code unconditional.
49541 [!__ASSUME_32BITUIDS]: Remove conditional code.
49542 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49543 <kernel-features.h>.
49544 [__ASSUME_32BITUIDS]: Make code unconditional.
49545 [!__ASSUME_32BITUIDS]: Remove conditional code.
49546 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49547 <kernel-features.h>.
49548 [__ASSUME_32BITUIDS]: Make code unconditional.
49549 [!__ASSUME_32BITUIDS]: Remove conditional code.
49550 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49551 <kernel-features.h>.
49552 [__ASSUME_32BITUIDS]: Make code unconditional.
49553 [!__ASSUME_32BITUIDS]: Remove conditional code.
49554 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49555 <kernel-features.h>.
49556 [__ASSUME_32BITUIDS]: Make code unconditional.
49557 [!__ASSUME_32BITUIDS]: Remove conditional code.
49558 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49559 <kernel-features.h>.
49560 [__ASSUME_32BITUIDS]: Make code unconditional.
49561 [!__ASSUME_32BITUIDS]: Remove conditional code.
49562 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49563 <kernel-features.h>.
49564 [__ASSUME_32BITUIDS]: Make code unconditional.
49565 [!__ASSUME_32BITUIDS]: Remove conditional code.
49566 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49567 <kernel-features.h>.
49568 [__ASSUME_32BITUIDS]: Make code unconditional.
49569 [!__ASSUME_32BITUIDS]: Remove conditional code.
49570 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49571 <kernel-features.h>.
49572 [__ASSUME_32BITUIDS]: Make code unconditional.
49573 [!__ASSUME_32BITUIDS]: Remove conditional code.
49574 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49575 <kernel-features.h>.
49576 [__ASSUME_32BITUIDS]: Make code unconditional.
49577 [!__ASSUME_32BITUIDS]: Remove conditional code.
49578 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49579 <kernel-features.h>.
49580 [__NR_setresgid] (__setresgid): Do not declare.
49581 [__ASSUME_32BITUIDS]: Make code unconditional.
49582 [!__ASSUME_32BITUIDS]: Remove conditional code.
49583 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49584 <kernel-features.h>.
49585 [__NR_setresuid] (__setresuid): Do not declare.
49586 [__ASSUME_32BITUIDS]: Make code unconditional.
49587 [!__ASSUME_32BITUIDS]: Remove conditional code.
49588 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.c: Do not include
49625 <kernel-features.h>.
49626 [__ASSUME_32BITUIDS]: Make code unconditional.
49627 [!__ASSUME_32BITUIDS]: Remove conditional code.
49628 * sysdeps/unix/sysv/linux/kernel-features.h
49629 (__ASSUME_SETRESUID_SYSCALL): Remove.
49630 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49631 (__ASSUME_32BITUIDS): Likewise.
49632 (__ASSUME_LDT_WORKS): Likewise.
49633 (__ASSUME_O_DIRECTORY): Likewise.
49634 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49635 architecture but not kernel version.
49636 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49637 (__ASSUME_MMAP2_SYSCALL): Likewise.
49638 (__ASSUME_STAT64_SYSCALL): Likewise.
49639 (__ASSUME_IPC64): Likewise.
49640 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49641 <kernel-features.h>.
49642 [__ASSUME_32BITUIDS]: Make code unconditional.
49643 [!__ASSUME_32BITUIDS]: Remove conditional code.
49644 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49645 <kernel-features.h>.
49646 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49647 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49648 132096]: Remove conditional code.
49649 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49650 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
49659 <kernel-features.h>.
49660 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49661 unconditional.
49662 (__setresgid): Do not declare.
49663 [__ASSUME_32BITUIDS]: Make code unconditional.
49664 [!__ASSUME_32BITUIDS]: Remove conditional code.
49665 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49666 <kernel-features.h>.
49667 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49668 unconditional.
49669 (__setresuid): Do not declare.
49670 [__ASSUME_32BITUIDS]: Make code unconditional.
49671 [!__ASSUME_32BITUIDS]: Remove conditional code.
49672 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49673 <kernel-features.h>.
49674 [__ASSUME_32BITUIDS]: Make code unconditional.
49675 [!__ASSUME_32BITUIDS]: Remove conditional code.
49676 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49677 <kernel-features.h>.
49678 [__ASSUME_32BITUIDS]: Make code unconditional.
49679 [!__ASSUME_32BITUIDS]: Remove conditional code.
49680
49681 2012-05-25 Richard Henderson <rth@twiddle.net>
49682
49683 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49684 dl_hwcap to ifunc resolver.
49685 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49686 elf_ifunc_invoke.
49687 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49688 dl_hwcap to ifunc resolver.
49689 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49690
49691 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49692
49693 [BZ #14153]
49694 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49695 for |x| <= 2**-26, not 2**-57.
49696 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49697 exception.
49698
49699 2012-05-24 Jeff Law <law@redhat.com>
49700
49701 * stdio-common/Makefile (tests): Add bug25.
49702 * stdio-common/bug25.c: New test.
49703
49704 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49705
49706 [BZ #13576]
49707 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49708 multiple of MALLOC_ALIGNMENT in size.
49709 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49710
49711 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49712
49713 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49714 Require >= 256.
49715 (FILENAME_MAX): Use macro-int-constant.
49716 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49717 (_IOFBF): Use macro-int-constant.
49718 (_IOLBF): Likewise.
49719 (_IONBF): Likewise.
49720 (SEEK_CUR): Likewise.
49721 (SEEK_END): Likewise.
49722 (SEEK_SET): Likewise.
49723 (TMP_MAX): Likewise.
49724 (EOF): Use macro-int-constant. Require < 0.
49725 (NULL): Use macro-constant. Require == 0.
49726 (stdin): Require type to be FILE *.
49727 (stdout): Likewise.
49728 (stderr): Likewise.
49729 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49730 macro-int-constant.
49731 (EXIT_SUCCESS): Likewise.
49732 (NULL): Use macro-constant. Require == 0.
49733 (RAND_MAX): Use macro-int-constant.
49734 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49735 [C99-based standards] (strtof): Require function.
49736 [C99-based standards] (strtold): Likewise.
49737 [C99-based standards] (strtoll): Likewise.
49738 [C99-based standards] (strtoull): Likewise.
49739 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49740 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49741 [ISO || ISO99 || ISO11] (math.h): Likewise.
49742 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49743 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49745
49746 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49747
49748 [BZ #14132]
49749 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49750 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49751 * intl/dgettext.c (DCGETTEXT): Likewise.
49752 * intl/gettext.c (DCGETTEXT): Likewise.
49753 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49754 * posix/regex_internal.h (gettext): Likewise.
49755 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49756 Remove declaration.
49757 * include/argz.h (__argz_count_internal)
49758 (__argz_stringify_internal): Remove declaration.
49759 (__argz_count, __argz_stringify): Declare hidden proto.
49760 * intl/dcgettext.c: Remove use of INTDEF.
49761 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49762 * string/argz-stringify.c: Likewise.
49763 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49764 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49765 Declare hidden proto.
49766 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49767 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49768 Declare hidden proto.
49769 * include/stdio.h (__asprintf_internal): Don't declare.
49770 (__asprintf): Don't define as macro. Declare hidden proto.
49771 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49772 (__fsetlocking): Declare hidden proto.
49773 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49774 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49775 hidden proto.
49776 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49777 (_IO_setlinebuf): Remove use of INTUSE.
49778 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49779 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49780 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49781 Remove declaration.
49782 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49783 (_IO_do_flush): Remove use of INTUSE.
49784 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49785 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49786 (_IO_adjust_column, _IO_least_wmarker)
49787 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49788 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49789 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49790 (_IO_default_doallocate, _IO_wdefault_doallocate)
49791 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49792 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49793 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49794 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49795 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49796 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49797 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49798 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49799 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49800 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49801 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49802 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49803 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49804 proto.
49805 (_IO_flush_all_internal, _IO_adjust_column_internal)
49806 (_IO_default_uflow_internal, _IO_default_finish_internal)
49807 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49808 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49809 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49810 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49811 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49812 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49813 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49814 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49815 (_IO_file_close_internal, _IO_file_close_it_internal)
49816 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49817 (_IO_file_init_internal, _IO_file_attach_internal)
49818 (_IO_file_fopen_internal, _IO_file_read_internal)
49819 (_IO_file_sync_internal, _IO_file_seek_internal)
49820 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49821 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49822 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49823 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49824 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49825 (_IO_list_all_internal, _IO_link_in_internal)
49826 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49827 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49828 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49829 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49830 (_IO_do_write_internal, _IO_padn_internal)
49831 (_IO_getline_info_internal, _IO_getline_internal)
49832 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49833 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49834 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49835 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49836 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49837 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49838 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49839 with libc_hidden_ver, remove use of INTUSE.
49840 * libio/genops.c: Likewise.
49841 * libio/freopen.c: Likewise.
49842 * libio/freopen64.c: Likewise.
49843 * libio/iofclose.c: Likewise.
49844 * libio/iofdopen.c: Likewise.
49845 * libio/iofflush.c: Likewise.
49846 * libio/iofflush_u.c: Likewise.
49847 * libio/iofgets.c: Likewise.
49848 * libio/iofgets_u.c: Likewise.
49849 * libio/iofopen.c: Likewise.
49850 * libio/iofopncook.c: Likewise.
49851 * libio/iofread.c: Likewise.
49852 * libio/iofread_u.c: Likewise.
49853 * libio/ioftell.c: Likewise.
49854 * libio/iofwrite.c: Likewise.
49855 * libio/iogetline.c: Likewise.
49856 * libio/iogets.c: Likewise.
49857 * libio/iogetwline.c: Likewise.
49858 * libio/iopadn.c: Likewise.
49859 * libio/iopopen.c: Likewise.
49860 * libio/ioseekoff.c: Likewise.
49861 * libio/ioseekpos.c: Likewise.
49862 * libio/iosetbuffer.c: Likewise.
49863 * libio/iosetvbuf.c: Likewise.
49864 * libio/ioungetc.c: Likewise.
49865 * libio/ioungetwc.c: Likewise.
49866 * libio/iovdprintf.c: Likewise.
49867 * libio/iovsprintf.c: Likewise.
49868 * libio/iovsscanf.c: Likewise.
49869 * libio/memstream.c: Likewise.
49870 * libio/obprintf.c: Likewise.
49871 * libio/oldfileops.c: Likewise.
49872 * libio/oldiofclose.c: Likewise.
49873 * libio/oldiofdopen.c: Likewise.
49874 * libio/oldiofopen.c: Likewise.
49875 * libio/oldiopopen.c: Likewise.
49876 * libio/oldstdfiles.c: Likewise.
49877 * libio/putc.c: Likewise.
49878 * libio/setbuf.c: Likewise.
49879 * libio/setlinebuf.c: Likewise.
49880 * libio/stdfiles.c: Likewise.
49881 * libio/strops.c: Likewise.
49882 * libio/vasprintf.c: Likewise.
49883 * libio/vscanf.c: Likewise.
49884 * libio/vsnprintf.c: Likewise.
49885 * libio/vswprintf.c: Likewise.
49886 * libio/wfiledoalloc.c: Likewise.
49887 * libio/wfileops.c: Likewise.
49888 * libio/wgenops.c: Likewise.
49889 * libio/wmemstream.c: Likewise.
49890 * libio/wstrops.c: Likewise.
49891 * libio/__fpurge.c: Likewise.
49892 * libio/__fsetlocking.c: Likewise.
49893 * assert/assert.c: Likewise.
49894 * debug/fgets_chk.c: Likewise.
49895 * debug/fgets_u_chk.c: Likewise.
49896 * debug/fread_chk.c: Likewise.
49897 * debug/fread_u_chk.c: Likewise.
49898 * debug/gets_chk.c: Likewise.
49899 * debug/obprintf_chk.c: Likewise.
49900 * debug/vasprintf_chk.c: Likewise.
49901 * debug/vdprintf_chk.c: Likewise.
49902 * debug/vsnprintf_chk.c: Likewise.
49903 * debug/vsprintf_chk.c: Likewise.
49904 * malloc/mtrace.c: Likewise.
49905 * misc/error.c: Likewise.
49906 * misc/syslog.c: Likewise.
49907 * stdio-common/asprintf.c: Likewise.
49908 * stdio-common/fxprintf.c: Likewise.
49909 * stdio-common/getw.c: Likewise.
49910 * stdio-common/isoc99_fscanf.c: Likewise.
49911 * stdio-common/isoc99_scanf.c: Likewise.
49912 * stdio-common/isoc99_vfscanf.c: Likewise.
49913 * stdio-common/isoc99_vscanf.c: Likewise.
49914 * stdio-common/isoc99_vsscanf.c: Likewise.
49915 * stdio-common/printf-prs.c: Likewise.
49916 * stdio-common/printf_fp.c: Likewise.
49917 * stdio-common/printf_fphex.c: Likewise.
49918 * stdio-common/printf_size.c: Likewise.
49919 * stdio-common/putw.c: Likewise.
49920 * stdio-common/scanf.c: Likewise.
49921 * stdio-common/sprintf.c: Likewise.
49922 * stdio-common/tmpfile.c: Likewise.
49923 * stdio-common/vfprintf.c: Likewise.
49924 * stdio-common/vfscanf.c: Likewise.
49925 * stdlib/strfmon_l.c: Likewise.
49926 * sunrpc/openchild.c: Likewise.
49927 * sunrpc/xdr_stdio.c: Likewise.
49928 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49929 * sysdeps/mach/hurd/tmpfile.c: Likewise.
49930
49931 2012-05-24 Roland McGrath <roland@hack.frob.com>
49932
49933 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49934
49935 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49936 in the third column, to generate for the shared library an IFUNC
49937 that uses _dl_vdso_vsym.
49938 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49939 * Makeconfig (object-suffixes-noshared): New variable.
49940
49941 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49942 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49943 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49944 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49945
49946 [BZ #14132]
49947 * include/sys/time.h (__gettimeofday): Remove macro.
49948 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49949 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49950 Remove INTDEF.
49951 (__gettimeofday): Add libc_hidden_def.
49952 (gettimeofday): Add libc_hidden_weak.
49953 * sysdeps/mach/gettimeofday.c: Likewise.
49954 * sysdeps/posix/gettimeofday.c: Likewise.
49955 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49956 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49957 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49958 (__gettimeofday_internal): Remove strong_alias.
49959 (__gettimeofday): Add libc_hidden_def.
49960 (gettimeofday): Add libc_hidden_weak.
49961 * sysdeps/unix/syscalls.list (gettimeofday):
49962 Remove __gettimeofday_internal alias.
49963
49964 2012-05-24 Daniel Jacobowitz <drow@false.org>
49965 H.J. Lu <hongjiu.lu@intel.com>
49966
49967 [BZ #12495]
49968 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49969 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49970 (largebin_index_32_big): New.
49971 (largebin_index): Use it for 16-byte alignment.
49972 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
49973 correction with front_misalign.
49974
49975 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49976
49977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49979 Likewise.
49980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49981 Likewise.
49982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49983 Likewise.
49984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49985 Likewise.
49986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49987 Likewise.
49988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49989 Likewise.
49990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49991 Likewise.
49992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49993 Likewise.
49994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49995 Likewise.
49996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49997 Likewise.
49998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49999 Likewise.
50000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50001 Likewise.
50002
50003 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50004 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50005
50006 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50007
50008 [BZ #10846]
50009 [BZ #14036]
50010 * math/libm-test.inc (exp_test): Add test from bug 14036.
50011 (pow_test): Add test from bug 10846.
50012
50013 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50014 and other flags.
50015 (special_function): Do not include flags in test name.
50016 (parse_args): Likewise.
50017 * sysdeps/i386/fpu/libm-test-ulps: Update.
50018 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50019 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50020 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50022
50023 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50024 exceptions.
50025 * math/libm-test.inc ("Philosophy"): Update comment about
50026 exception testing.
50027 (UNDERFLOW_EXCEPTION): New macro.
50028 (UNDERFLOW_EXCEPTION_OK): Likewise.
50029 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50030 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50031 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50032 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50033 (INVALID_EXCEPTION_OK): Update value.
50034 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50035 (OVERFLOW_EXCEPTION_OK): Likewise.
50036 (IGNORE_ZERO_INF_SIGN): Likewise.
50037 (test_exceptions): Handle underflow exceptions.
50038 (acos_test): Update for underflow exception expectations.
50039 (cexp_test): Likewise.
50040 (clog_test): Likewise.
50041 (clog10_test): Likewise.
50042 (csqrt_test): Likewise.
50043 (ctan_test): Likewise.
50044 (ctanh_test): Likewise.
50045 (exp_test): Likewise.
50046 (exp10_test): Likewise.
50047 (exp2_test): Likewise.
50048 (expm1_test): Likewise.
50049 (fma_test): Likewise.
50050 (j0_test): Likewise.
50051 (jn_test): Likewise.
50052 (nexttoward_test): Likewise.
50053 (pow_test): Likewise.
50054 (scalbn_test): Likewise.
50055 (scalbln_test): Likewise.
50056 (tan_test): Likewise.
50057 (y1_test): Likewise.
50058 * sysdeps/i386/fpu/libm-test-ulps: Update.
50059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50060
50061 2012-05-23 David S. Miller <davem@davemloft.net>
50062
50063 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50064 (__libc_sigaction): Remove unused local variables.
50065
50066 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50067
50068 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50069
50070 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50071
50072 mktime: avoid signed integer overflow
50073 * time/mktime.c (__mktime_internal): Do not mishandle the case
50074 where diff == INT_MIN.
50075
50076 mktime: simplify computation of average
50077 * time/mktime.c (ranged_convert): Use new time_t_avg function
50078 instead of rolling our own (probably-slower) code.
50079
50080 mktime: do not assume signed right shift propagates sign bit
50081 * time/mktime.c (isdst_differ): New static function.
50082 (__mktime_internal): No need to normalize tm_isdst now.
50083 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50084 tm_isdst values.
50085
50086 mktime: merge another wrapv change from gnulib
50087 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50088 from some compilers.
50089
50090 mktime: remove incorrect attempt at unusual arithmetics
50091 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50092 The code didn't really work on such machines anyway.
50093 (TYPE_MINIMUM): Assume two's complement.
50094 (twos_complement_arithmetic): Verify that long_int and time_t
50095 are two's complement (or unsigned, in the latter case).
50096
50097 mktime: check signed shifts on long_int and time_t, too
50098 * time/mktime.c (SHR): Check that shifts work as desired
50099 on the types long_int and time_t too, as SHR is used on
50100 such types.
50101
50102 mktime: do not assume 'long' is wide enough
50103 * time/mktime.c (verify): Move decl up.
50104 (long_int): New type.
50105 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50106 to remove assumption in the code that 'long' is wide enough to
50107 store year values. This assumption is not true on x32 and on
50108 some non-glibc platforms.
50109
50110 mktime: merge wrapv change from gnulib
50111 * time/mktime.c (WRAPV): New macro.
50112 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50113 (guess_time_tm, __mktime_internal): Do not assume that signed
50114 integer overflow wraps around; modern compilers generate code
50115 where this assumption is no longer valid.
50116
50117 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50118
50119 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50120 Replace "jmp L(pseudo_end)" with "ret".
50121 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50122 Likewise.
50123
50124 2012-05-23 Andreas Jaeger <aj@suse.de>
50125
50126 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50127 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50128
50129 2012-05-23 Andreas Jaeger <aj@suse.de>
50130 Maximilian Attems <max@stro.at>
50131
50132 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50133 New macros.
50134
50135 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50136
50137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50138 code so that pseudo_end is just ret and the stack pointer is
50139 correct also for static library in error case.
50140
50141 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50142
50143 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50144 move to syscalls.list.
50145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50149
50150 * manual/install.texi (Running make install): Do not mention Linux
50151 kernel version for which pt_chown is not needed.
50152 (Linux): Do not mention problems with nscd with 2.0 kernels.
50153 * INSTALL: Regenerated.
50154
50155 2012-05-23 Andreas Jaeger <aj@suse.de>
50156
50157 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50158 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50159 macro.
50160 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50161 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50162 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50163 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50164 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50165 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50166 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50170 * sysdeps/unix/sysv/linux/bits/in.h
50171 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50172
50173 2012-05-22 Roland McGrath <roland@hack.frob.com>
50174
50175 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50176 (PREPARE_VERSION): Just use assert instead, it will be elided
50177 under [NDEBUG] anyway.
50178
50179 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50180
50181 * sysdeps/unix/sysv/linux/Makefile: Include
50182 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50183 (sysdep_routines): Remove sysctl.
50184 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50185 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50186 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50187 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50188 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50189
50190 2012-05-22 Andreas Jaeger <aj@suse.de>
50191
50192 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50193 that pseudo_end is just ret and the stack pointer is correct also
50194 for static library in error case.
50195
50196 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50197
50198 [BZ #14122]
50199 * nss/nsswitch.c (defconfig_entries): New variable.
50200 (__nss_database_lookup): Don't leak defconfig entries.
50201 (nss_parse_service_list): Don't leak on error paths.
50202 (free_database_entries): New function.
50203 (free_defconfig): New function.
50204 (free_mem): Move common code to free_database_entries.
50205
50206 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50207
50208 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50209 Add arch_prctl.
50210 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50211
50212 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50213 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50215 New macro.
50216 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50217 (INTERNAL_SYSCALL_TYPES): Likewise.
50218 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50219 (LOAD_REGS_TYPES_[1-6]): Likewise.
50220 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50221 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50222
50223 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50224
50225 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50226 copysignl for GLIBC_2_0.
50227 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50228 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50230 logbl for GLIBC_2_0.
50231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50232 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50233
50234 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50235
50236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50238
50239 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50240 Use "neg %eax".
50241
50242 * time/mktime.c: Update copyright years.
50243
50244 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50245
50246 mktime: merge comment-quoting-style change from gnulib
50247 * time/mktime.c: Quote 'like this' in comments.
50248 The GNU coding standards suggest that we no longer quote `like this',
50249 as "`" and "'" are typically rendered asymmetrically nowadays.
50250 The typical gnulib style is to quote 'like this' when quoting
50251 code, and "like this" when quoting English.
50252
50253 * time/mktime.c (compile-command): Add "-I.".
50254
50255 mktime: merge mktime-internal.h change from gnulib
50256 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50257
50258 mktime: merge time_r change from gnulib
50259 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50260
50261 mktime: merge DEBUG change from gnulib
50262 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50263 case system <time.h> has a #define.
50264
50265 mktime: merge <sys/types.h> change from gnulib
50266 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50267 since <time.t> is now guaranteed to define time_t.
50268
50269 mktime: merge HAVE_CONFIG_H change from gnulib
50270 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50271
50272 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50273
50274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50275 Use "neg %eax".
50276
50277 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50278 __rlim_t cast.
50279 (struct rusage): Use anonymous union to pad each field to
50280 __syscall_slong_t.
50281
50282 2012-05-21 David S. Miller <davem@davemloft.net>
50283
50284 * Makefules (o-iterator): Remove .s cases.
50285 (compile-command.s): Delete.
50286 (COMPILE.s): Delete.
50287 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50288
50289 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50290
50291 * configure.in (libc_cv_predef_stack_protector): Only consider
50292 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50293 * configure: Regenerated.
50294
50295 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50296
50297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50298 New macro. Use R*LP on int and pointer.
50299 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50300 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50301 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50302 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50303
50304 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50305 [__WORDSIZE_TIME64_COMPAT32] instead of
50306 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50307 (struct utmp): Likewise.
50308 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50309 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50310 Renamed to ...
50311 (__WORDSIZE_TIME64_COMPAT32): This.
50312 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50313 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50314 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50315 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50316 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50317 (__WORDSIZE_TIME64_COMPAT32): New macro.
50318
50319 2012-05-21 Andreas Jaeger <aj@suse.de>
50320
50321 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50322 only if [SHARED]. Add prototype for __wcschr_ia32.
50323
50324 2012-05-21 Roland McGrath <roland@hack.frob.com>
50325
50326 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50327 of %rbp unmolested in the jmp_buf while mangling the low bits.
50328 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50329 unmolested high bits of %rbp while demangling the low bits.
50330 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50331
50332 2012-05-21 Andreas Jaeger <aj@suse.de>
50333
50334 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50335 * sunrpc/svc_simple.c: Use it for registerrpc.
50336 * sunrpc/xcrypt.c: Use it for passwd2des.
50337
50338 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50339
50340 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50341
50342 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50343 Don't define if [__SYSCALL_WORDSIZE != 32].
50344 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50345 New macro.
50346
50347 2012-05-21 Bruno Haible <bruno@clisp.org>
50348 Andreas Jaeger <aj@suse.de>
50349
50350 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50351 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50352 inptr and inend for must_buffer_ch.
50353 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50354 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50355 * stdio-common/Makefile (tests): Remove bug15.
50356 (bug15-ENV): Remove macro.
50357 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50358 anymore.
50359
50360 2012-05-19 Andreas Jaeger <aj@suse.de>
50361 Roland McGrath <roland@hack.frob.com>
50362
50363 * manual/contrib.texi: Completely rewritten. It contains now an
50364 alphabetical list of contributors and their contributions.
50365
50366 2012-05-21 Richard Henderson <rth@twiddle.net>
50367
50368 * misc/getauxval.c (__getauxval): Use unsigned long int.
50369 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50370 (getauxval): Use unsigned long int.
50371
50372 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50373
50374 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50375
50376 2012-05-21 Roland McGrath <roland@hack.frob.com>
50377
50378 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50379 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50380 __alignof__ (long double).
50381
50382 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50383
50384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50385
50386 2012-05-20 Richard Henderson <rth@twiddle.net>
50387
50388 * misc/getauxval.c: New file.
50389 * misc/sys/auxv.h: New file.
50390 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50391 (routines): Add getauxval.
50392 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50393 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50394 * elf/dl-sysdep.c (_dl_auxv): Remove.
50395 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50396 * elf/dl-support.c (_dl_auxv): New variable.
50397 (_dl_aux_init): Initialize it.
50398 * manual/startup.texi (Auxiliary Vector): New node.
50399 * sysdeps/generic/bits/hwcap.h: New file.
50400 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50401 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50402 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50403 * sysdeps/sparc/sysdep.h: ... here. Include it.
50404 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50407 Update.
50408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50416
50417 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50418
50419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50420
50421 2012-05-19 David S. Miller <davem@davemloft.net>
50422
50423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50424
50425 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50426
50427 [BZ #14123]
50428 * math/s_ccosh.c: Include <float.h>
50429 (__ccosh): Avoid internal overflow calculating sinh and cosh
50430 values before multiplying by sin and cos values.
50431 * math/s_ccoshf.c: Likewise.
50432 * math/s_ccoshl.c: Likewise.
50433 * math/s_csin.c: Likewise.
50434 * math/s_csinf.c: Likewise.
50435 * math/s_csinl.c: Likewise.
50436 * math/s_csinh.c: Likewise.
50437 * math/s_csinhf.c: Likewise.
50438 * math/s_csinhl.c: Likewise.
50439 * math/libm-test.inc (ccos_test): Add more tests.
50440 (ccosh_test): Likewise.
50441 (csin_test): Likewise.
50442 (csinh_test): Likewise.
50443 * sysdeps/i386/fpu/libm-test-ulps: Update.
50444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50445
50446 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50447
50448 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50449 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50450
50451 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50452
50453 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50454
50455 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50456 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50457 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50458 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50459 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50460 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50461 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50462 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50463 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50464 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50465 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50466 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50467 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50468 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50469 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50470 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50471 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50472 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50473 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50474 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50475 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50476 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50477 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50478 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50479 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50480 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50481 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50482 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50483 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50484 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50485 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50486
50487 2012-05-18 Andreas Jaeger <aj@suse.de>
50488
50489 * csu/.gitignore: Delete.
50490
50491 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50492
50493 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50494 (timex): Use __syscall_slong_t.
50495
50496 2012-05-18 Andreas Jaeger <aj@suse.de>
50497 Carlos O'Donell <carlos_odonell@mentor.com>
50498
50499 * manual/install.texi (Configuring and compiling): Update
50500 description about files modified in the source directory.
50501 * INSTALL: Regenerated.
50502
50503 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50504
50505 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50506 value. Use "or" to set return value to -1.
50507 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50508 negate return value.
50509
50510 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50511
50512 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50513 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50514 failure if the compiler has Graphite support disabled.
50515 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50516 Likewise.
50517 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50518 (CFLAGS-memmove.c): Likewise.
50519 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50520 Likewise.
50521
50522 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50523
50524 * sysdeps/x86_64/x32/_itoa.h: New file.
50525
50526 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50527 getdents system call only if kernel and user dirents have the
50528 same d_ino and d_off.
50529
50530 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50531 LLONG_MAX != LONG_MAX.
50532 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50533 (_fitoa_word): Likewise.
50534
50535 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50536 years.
50537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50538 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50539 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50540
50541 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50542 include <bits/wordsize.h>. Check __x86_64__ instead of
50543 __WORDSIZE.
50544 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50545 if __x86_64__ is defined. Use anonymous union on fpstate.
50546
50547 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50548 anonymous union.
50549
50550 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50551
50552 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50553 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50554 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50555 Refer to _rtld_local_ro instead of _rtld_global_ro.
50556 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50557 Likewise.
50558 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50559 Likewise.
50560 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50561 Likewise.
50562 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50563 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50564 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50565
50566 [BZ #10882]
50567 * sysdeps/powerpc/powerpc32/dl-machine.c
50568 (__elf_machine_runtime_setup) [PROF]: Don't reference
50569 _dl_prof_resolve.
50570
50571 2012-05-18 Andreas Jaeger <aj@suse.de>
50572
50573 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50574 function only available for GCCs before 3.4 since GCC 3.4
50575 introduced a builtin.
50576 (lrint): Likewise.
50577 (llrintf): Likewise.
50578 (llrint): Likewise.
50579 (fmaxf): Likewise.
50580 (fmax): Likewise.
50581 (fminf): Likewise.
50582 (fmin): Likewise.
50583 (rint): Likewise.
50584 (rintf): Likewise.
50585 (nearbyint): Likewise.
50586 (nearbyintf): Likewise.
50587 (ceil): Likewise.
50588 (ceilf): Likewise.
50589 (floor): Likewise.
50590 (floorf): Likewise.
50591
50592 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50593
50594 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50595 on both fields and cast pointer to __syscall_ulong_t.
50596
50597 * bits/types.h (__fsword_t): New type.
50598 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50599 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50601 (__FSWORD_T_TYPE): Likewise.
50602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50603 (__FSWORD_T_TYPE): Likewise.
50604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50605 (__FSWORD_T_TYPE): Likewise.
50606 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50607 (__FSWORD_T_TYPE): Likewise.
50608 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50609 __SWORD_TYPE with __fsword_t.
50610 (statfs64): Likewise.
50611
50612 2012-05-17 David S. Miller <davem@davemloft.net>
50613
50614 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50615
50616 2012-05-17 Andreas Jaeger <aj@suse.de>
50617
50618 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50619 warning.
50620
50621 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50622
50623 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50624
50625 2012-05-17 Andreas Jaeger <aj@suse.de>
50626
50627 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50628 when it is used.
50629
50630 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50631
50632 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50633
50634 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50635
50636 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50637 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50638
50639 2012-05-17 Andreas Jaeger <aj@suse.de>
50640 Carlos O'Donell <carlos_odonell@mentor.com>
50641
50642 [BZ #14059]
50643 * sysdeps/x86_64/multiarch/init-arch.h
50644 (bit_YMM_Usable): Rename to...
50645 (bit_AVX_Usable): ... this.
50646 (bit_FMA4_Usable): New macro.
50647 (bit_XMM_state): New macro.
50648 (bit_YMM_state): New macro.
50649 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50650 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50651 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50652 (CPUID_OSXSAVE): New macro.
50653 (CPUID_AVX): New macro.
50654 (CPUID_FMA4): New macro.
50655 (index_YMM_Usable): Rename to...
50656 (index_AVX_Usable): ... this.
50657 (HAS_AVX): Use HAS_ARCH_FEATURE.
50658 (HAS_FMA4): Likewise.
50659 (HAS_YMM_USABLE): Remove.
50660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50661 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50662 are present.
50663 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50664 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50665 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50666 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50667 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50668
50669 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50670
50671 * math/libm-test.c: Support platforms without multiple rounding modes.
50672 * math/bug-nextafter.c: Support platforms without FP exceptions.
50673 * math/bug-nexttoward.c: Likewise.
50674 * math/test-fenv.c: Likewise.
50675 * math/test-misc.c: Likewise.
50676 * stdlib/bug-getcontext.c: Likewise.
50677
50678 2012-05-17 Andreas Jaeger <aj@suse.de>
50679
50680 * manual/examples/search.c (critter_cmp): Change signature to
50681 avoid warnings.
50682 * manual/string.texi (Collation Functions): Likewise.
50683
50684 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50685
50686 * bits/types.h: Fold copyright years.
50687 * bits/typesizes.h: Likewise.
50688 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50691 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50692 * time/time.h: Likewise.
50693
50694 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50695
50696 [BZ #208]
50697 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50698 in instead of returning them. Return void.
50699 (__libc_mallinfo): Accumulate over all arenas.
50700 (__malloc_stats): Adjust for change in int_mallinfo interface.
50701
50702 2012-05-16 Roland McGrath <roland@hack.frob.com>
50703
50704 [BZ #10375]
50705 * configure.in (NM): Add AC_CHECK_TOOL for it.
50706 (libc_extra_cflags): New substituted variable.
50707 Check for -fstack-protector being used implicitly.
50708 * configure: Regenerated.
50709 * config.make.in (config-extra-cflags): New variable,
50710 gets @libc_extra_cflags@.
50711 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50712
50713 [BZ #10375]
50714 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50715 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50716 * configure: Regenerated.
50717 * config.make.in (CPPUNDEFS): New substituted variable.
50718 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50719 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50720 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50721
50722 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50723
50724 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50725 (mq_attr): Use __syscall_slong_t.
50726
50727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50728
50729 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50730 Check __x86_64__ instead of __WORDSIZE.
50731 (_STAT_VER_LINUX): Likewise.
50732 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50733 __syscall_ulong_t and __syscall_slong_t.
50734 (stat64): Likewise.
50735
50736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50737
50738 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50739
50740 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50741
50742 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50743
50744 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50745
50746 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50747 __syscall_ulong_t.
50748
50749 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50750 include <bits/wordsize.h>. Check __x86_64__ instead of
50751 __WORDSIZE.
50752 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50753 defined.
50754 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50755
50756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50757 include <bits/wordsize.h>. Check __x86_64__ instead of
50758 __WORDSIZE.
50759 (user_regs_struct): Use "__extension__ unsigned long long"
50760 instead of "unsigned long" if __x86_64__ is defined.
50761 (user): Likewise. Pad after pointer field if __ILP32__ is
50762 defined.
50763
50764 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50765
50766 * configure.in (makeinfo): Require version 4.5 or later. Allow
50767 versions 5 to 9.
50768 * configure: Regenerated.
50769 * manual/install.texi (texinfo): Increase version requirement to
50770 4.5 or later.
50771 * INSTALL: Regenerated.
50772
50773 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50774
50775 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50776
50777 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50778
50779 * sysdeps/x86_64/x32/ffs.c: New file.
50780
50781 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50782 __syscall_ulong_t.
50783 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50784 defined. Use __syscall_ulong_t.
50785 (shminfo): Use __syscall_ulong_t.
50786 (shm_info): Likewise.
50787
50788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50789 __syscall_ulong_t.
50790
50791 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50792 <bits/wordsize.h>.
50793 (msgqnum_t): Use __syscall_ulong_t.
50794 (msglen_t): Likewise.
50795 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50796 __syscall_ulong_t.
50797
50798 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50800
50801 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50802
50803 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50804 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50805
50806 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50807 __syscall_slong_t.
50808
50809 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50810 include <bits/wordsize.h>. Check __x86_64__ instead of
50811 __WORDSIZE.
50812
50813 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50814 "unsigned long long int" if __x86_64__ is defined.
50815 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50816
50817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50818 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50819 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50820
50821 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50822 <stdint.h>.
50823 (GET_PC): Cast to uintptr_t first.
50824 (GET_FRAME): Likewise.
50825 (GET_STACK): Likewise.
50826
50827 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50828 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50829 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50830 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50831 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50832 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50833 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50834 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50835 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50836 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50838 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50839 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50840 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50842 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50843 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50844 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50845 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50846 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50847 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50848 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50849 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50850 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50851 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50852 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50853 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50854 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50855 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50856
50857 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50858
50859 * Makerules (+depfiles): Also collect depfiles from .oS in
50860 $(extra-objs).
50861 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50862 .oS, $(libnldbl-routines)).
50863
50864 * Makerules (native-compile-mkdep-flags): Define.
50865 * sunrpc/Makefile (extra-objs): Add $(addprefix
50866 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50867 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50868 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50869 calling $(make-target-directory).
50870
50871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50872
50873 * bits/types.h (__snseconds_t): Removed.
50874 * time/time.h (struct timespec): Replace __snseconds_t with
50875 __syscall_slong_t.
50876 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50877 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50878 Likewise.
50879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50880 (__SNSECONDS_T_TYPE): Likewise.
50881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50882 (__SNSECONDS_T_TYPE): Likewise.
50883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50884 (__SNSECONDS_T_TYPE): Likewise.
50885
50886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50887
50888 * sysdeps/mach/hurd/bits/typesizes.h
50889 (__SYSCALL_SLONG_TYPE): New macro.
50890 (__SYSCALL_ULONG_TYPE): Likewise.
50891
50892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50893
50894 * bits/types.h (__syscall_slong_t): New type.
50895 (__syscall_ulong_t): Likewise.
50896
50897 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50898 (__SYSCALL_ULONG_TYPE): Likewise.
50899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50900 (__SYSCALL_SLONG_TYPE): Likewise.
50901 (__SYSCALL_ULONG_TYPE): Likewise.
50902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50903 (__SYSCALL_SLONG_TYPE): Likewise.
50904 (__SYSCALL_ULONG_TYPE): Likewise.
50905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50906 (__SYSCALL_SLONG_TYPE): Likewise.
50907 (__SYSCALL_ULONG_TYPE): Likewise.
50908
50909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50910
50911 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50912 Add sigaltstack-offsets.sym.
50913 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50914 <sigaltstack-offsets.h>.
50915 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
50916 longjmp_msg pointer.
50917 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
50918 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50919 signal stack.
50920 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50921
50922 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50923
50924 * elf/stackguard-macros.h: Remove file.
50925 * sysdeps/generic/stackguard-macros.h: New file.
50926 * sysdeps/i386/stackguard-macros.h: Likewise.
50927 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50928 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50929 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50930 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50931 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50932 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50933 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50934 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50935 <elf/stackguard-macros.h>.
50936
50937 [BZ #14109]
50938 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50939 __aligned__ in attribute.
50940 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50941 (gregset_t): Likewise.
50942
50943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50944
50945 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50946 * sysdeps/x86_64/64/Implies-after: Here. New file.
50947 * sysdeps/x86_64/x32/Implies-after: New file.
50948
50949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50950
50951 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50952 and access return value for _dl_profile_fixup. Use R10_LP to
50953 load frame size.
50954
50955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50956
50957 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50958
50959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50960
50961 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50962 * sysdeps/x86_64/x32/sysdep.h: New file.
50963
50964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50965
50966 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50967 * sysdeps/x86_64/setjmp.S: Likewise.
50968
50969 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50970
50971 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50972 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50973 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50974 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50975 remove unused global constant.
50976
50977 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
50978
50979 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50980 include of <not-cancel.h>.
50981
50982 2012-05-15 Roland McGrath <roland@hack.frob.com>
50983
50984 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50985
50986 2012-05-15 Jeff Law <law@redhat.com>
50987 Andreas Jaeger <aj@suse.de>
50988
50989 [BZ #13594]
50990 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50991 out from...
50992 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50993 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50994 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50995 code changing __hst_map_handle.map.
50996
50997 2012-05-15 Roland McGrath <roland@hack.frob.com>
50998
50999 * configure.in (sysnames): Look for Implies-before and Implies-after
51000 files.
51001 * configure: Regenerated.
51002
51003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51004
51005 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51006 8-byte data alignment with LP_SIZE alignment.
51007
51008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51009
51010 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51011 into R10_LP.
51012
51013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51014
51015 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51016
51017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51018
51019 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51020 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51022 Likewise.
51023 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51024
51025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51026
51027 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51028 (stackinfo_sub_sp): Likewise.
51029
51030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51031
51032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51033 RAX_LP.
51034
51035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51036
51037 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51038 into R*_LP.
51039
51040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51041
51042 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51043 sizes into R*_LP.
51044
51045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51046
51047 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51048
51049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51050
51051 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51052 into R11_LP and load __x86_64_shared_cache_size_half into
51053 R8_LP.
51054
51055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51056
51057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51058 R8_LP.
51059
51060 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51061
51062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51063 logb for POWER7.
51064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51065 logbf for POWER7.
51066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51067 logbl for POWER7.
51068 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51069 powerpc32/power7/fpu/s_logb.c via #include.
51070 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51071 powerpc32/power7/fpu/s_logbf.c via #include.
51072 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51073 powerpc32/power7/fpu/s_logbl.c via #include.
51074
51075 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51076
51077 * README.libm: Remove file.
51078
51079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51080
51081 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51082 count for x32. Use R*_LP and omit operand-size suffix.
51083
51084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51085
51086 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51087 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51088 * sysdeps/x86_64/x32/shlib-versions: New file.
51089
51090 2012-05-14 Roland McGrath <roland@hack.frob.com>
51091
51092 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51093 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51094 Use _dl_fatal_printf instead.
51095
51096 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51097
51098 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51099 set if not set by the user. Do not allow for being unset.
51100 * sysdeps/unix/sysv/linux/configure: Regenerated.
51101
51102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51103
51104 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51105 the `q' suffix from lea and replace .quad with ASM_ADDR.
51106
51107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51108
51109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51110 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51111 instead of $17.
51112 (PTR_DEMANGLE): Likewise.
51113
51114 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51115
51116 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51117 (LP_OP): Likewise.
51118 (ASM_ADDR): Likewise.
51119 (RAX_LP): Likewise.
51120 (RBP_LP): Likewise.
51121 (RBX_LP): Likewise.
51122 (RCX_LP): Likewise.
51123 (RDI_LP): Likewise.
51124 (RSI_LP): Likewise.
51125 (RSP_LP): Likewise.
51126 (R8_LP): Likewise.
51127 (R9_LP): Likewise.
51128 (R10_LP): Likewise.
51129 (R10_LP): Likewise.
51130 (R11_LP): Likewise.
51131 (R12_LP): Likewise.
51132 (R13_LP): Likewise.
51133 (R14_LP): Likewise.
51134 (R15_LP): Likewise.
51135
51136 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51137
51138 * sysdeps/x86_64/x32/dl-machine.h: New file.
51139
51140 2012-05-14 Andreas Jaeger <aj@suse.de>
51141
51142 * manual/Makefile (subdir): Remove export of subdir.
51143 (all): Remove target.
51144 (.PHONY): Remove all from list.
51145 (mkinstalldirs): Remove.
51146 (.PHONY): Remove installdirs from list.
51147 ($(inst_infodir)/libc.info): Use make-target-directory.
51148 (installdirs): Remove.
51149 (subdir_%): Remove.
51150 (glibc-targets): Remove.
51151 (lib): Remove.
51152 (stubs): Remove.
51153 ($(objpfx)stubs ../po/manual.pot): Remove.
51154 ($(objpfx)stamp%): Remove.
51155 (make-target-directory): Remove.
51156 (subdir_install): Remove.
51157 (routines): Remove.
51158 (aux): Remove.
51159 (sources): Remove.
51160 (objects): Remove.
51161 (headers): Remove.
51162
51163 [BZ #13750]
51164 * manual/.gitignore: Remove, it's not needed anymore.
51165 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51166 all files in it.
51167 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51168 directory.
51169 (texis): Renamed to $(objpfx)texis.
51170 (texis-path): New, contains path to generated files.
51171 (chapters.%): Use texis-path for complete path, add extra argument
51172 libc-texinfo.sh.
51173 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51174 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51175 (summary,texi, stamp-summary): Use complete path of
51176 files. Generate files in build dir.
51177 (dir-add.texi): Build in build dir.
51178 (libm-err.texi,stamp-libm-err): Likewise.
51179 (version.texi, stamp-version): Likewise.
51180 (.%c.texi): Likewise.
51181 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51182 (mostlyclean): Remove target.
51183 (realclean): Remove target.
51184 (generated): Add new variable with contents from mostlyclean and
51185 realclean, remove entries duplicated in common-mostlyclean, add
51186 stamp-libm-err and stamp-version.
51187 (generated-dirs): Add libc directory.
51188 ($(inst_infodir)/libc.info): Install files from build dir.
51189
51190 * manual/install.texi (Configuring and compiling): Adjust since
51191 the info files are not part of the tar ball anymore.
51192
51193 2012-05-14 Andreas Jaeger <aj@suse.de>
51194
51195 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51196 variable.
51197
51198 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51199
51200 [BZ #13717]
51201 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51202 to 2.2.0 where earlier.
51203 * sysdeps/unix/sysv/linux/configure: Regenerated.
51204 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51205 Remove conditional code.
51206 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51207 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51208 Remove conditional code.
51209 [!__NR_lchown]: Likewise.
51210 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51211 [__NR_lchown]: Likewise.
51212 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51213 comment referencing __ASSUME_LCHOWN_SYSCALL.
51214 * sysdeps/unix/sysv/linux/i386/sigaction.c
51215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51217 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51218 Remove conditional code.
51219 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51220 (__protocol_available): Remove #if 0 code.
51221 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51222 conditional code.
51223 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51224 * sysdeps/unix/sysv/linux/kernel-features.h
51225 (__ASSUME_GETCWD_SYSCALL): Don't define.
51226 (__ASSUME_REALTIME_SIGNALS): Likewise.
51227 (__ASSUME_PREAD_SYSCALL): Likewise.
51228 (__ASSUME_PWRITE_SYSCALL): Likewise.
51229 (__ASSUME_POLL_SYSCALL): Likewise.
51230 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51231 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51232 non-SPARC.
51233 (__ASSUME_SIOCGIFNAME): Don't define.
51234 (__ASSUME_MSG_NOSIGNAL): Likewise.
51235 (__ASSUME_SENDFILE): Define unconditionally.
51236 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51237 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51238 conditional code.
51239 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51240 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51241 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51242 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51243 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51244 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51245 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51247 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51253 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51259 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51262 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51265 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51268 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51270 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51271 Remove conditional code.
51272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51273 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51274 Remove conditional code.
51275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51276 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51277 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51278 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51279 Remove conditional code.
51280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51281 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51282 Remove conditional code.
51283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51284 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51285 Remove conditional code.
51286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51287 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51288 Remove conditional code.
51289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51290 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51291 Remove conditional code.
51292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51293 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51294 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51295 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51296 * sysdeps/unix/sysv/linux/sigaction.c
51297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51299 * sysdeps/unix/sysv/linux/sigpending.c
51300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51302 * sysdeps/unix/sysv/linux/sigprocmask.c
51303 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51304 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51305 * sysdeps/unix/sysv/linux/sigsuspend.c
51306 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51307 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51308 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51309 (__libc_missing_rt_sigs): Remove.
51310 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51311 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51312 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51313 Remove conditional code.
51314 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51315 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51316 return 1.
51317 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51318 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51319 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51320 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51321
51322 2012-05-14 Andreas Jaeger <aj@suse.de>
51323
51324 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51325 it's not used in glibc.
51326 (__coshm1): Likewise.
51327 (__acosh1p): Likewise.
51328 (__sgn): Likewise.
51329
51330 * manual/string.texi (Copying and Concatenation): Add missing
51331 variable in concat example.
51332 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51333
51334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51335
51336 [BZ #14103]
51337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51338 __builtin_clzl with __builtin_clzll.
51339
51340 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51341
51342 [BZ #14104]
51343 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51344 libc_freeres_ptr.
51345
51346 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51347
51348 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51349 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51350 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51352
51353 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51354
51355 * NEWS: Update ia64 info.
51356
51357 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51358
51359 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51360 used as bcopy.
51361
51362 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51363
51364 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51365 * sysdeps/unix/syscalls.list (dup3): Likewise.
51366 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51367 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51368
51369 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51370
51371 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51372 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51373
51374 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51375
51376 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51377 thread pointer.
51378 (TLS_IE): Use mov/add instead of movq/addq to load thread
51379 pointer.
51380 (TLS_GD_PREFIX): New.
51381 (TLS_GD): Use it.
51382
51383 2012-05-11 David S. Miller <davem@davemloft.net>
51384
51385 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51386 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51387 (_FPU_SETCW): Likewise.
51388
51389 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51390
51391 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51392 is 32-byte aligned.
51393
51394 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51395
51396 [BZ #11837]
51397 * iconvdata/gb18030.c: Update tables.
51398 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51399 characters specially.
51400 (BODY for TO_LOOP): Add encoding of missing ranges.
51401
51402 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51403
51404 [BZ #13673]
51405 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51406 * sysdeps/mach/hurd/dup3.c: Likewise.
51407 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51408 * sysdeps/powerpc/memmove.c:: Likewise.
51409
51410 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51411
51412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51413 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51414
51415 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51416
51417 * elf/elf.h (R_X86_64_RELATIVE64): New.
51418 (R_X86_64_NUM): Updated.
51419 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51420 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51421 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51422 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51423 tst-quad1pie tst-quad2pie
51424 (modules-names): Add tst-quadmod1 tst-quadmod2.
51425 ($(objpfx)tst-quad1): New dependency.
51426 ($(objpfx)tst-quad2): Likewise.
51427 ($(objpfx)tst-quad1pie): Likewise.
51428 ($(objpfx)tst-quad2pie): Likewise.
51429 * sysdeps/x86_64/tst-quad1.c: New file.
51430 * sysdeps/x86_64/tst-quad1pie.c: New file.
51431 * sysdeps/x86_64/tst-quad2.c: Likewise.
51432 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51433 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51434 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51435 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51436 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51437
51438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51439
51440 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51441 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51442 * streams/stropts.h (t_scalar_t): Define type.
51443
51444 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51445 (_PATH_PRESERVE): Set to "/var/lib".
51446 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51447
51448 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51449 instead of int.
51450
51451 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51452 if __dir_mkfile succeeded.
51453
51454 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51455 checking for _hurd_dtablesize. Unlock it right after having
51456 finished _hurd_dtable allocation.
51457
51458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51459
51460 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51461 * sysdeps/mach/hurd/configure: Regenerated.
51462 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51463 special-casing to...
51464 * sysdeps/gnu/configure.in: ... this new file.
51465 * sysdeps/unix/sysv/linux/configure: Regenerated.
51466 * sysdeps/gnu/configure: New generated file.
51467
51468 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51469 for Linux: use nsec instead of usec, as well as:
51470 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51471 members of type struct timespec.
51472 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51473 New macros.
51474 (struct stat64): Likewise.
51475 (_STATBUF_ST_NSEC): New macro.
51476 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51477
51478 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51479 __strtoul_internal rather than strtoul.
51480
51481 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51482
51483 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51484 and reject them.
51485
51486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51487
51488 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51489 which preserves existing values.
51490 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51491
51492 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51493
51494 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51495 TIMEOUT values. Return EINVAL for NFDS values either negative or
51496 greater than FD_SETSIZE.
51497
51498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51499
51500 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51501 allocated, call __vm_protect to finish enabling the existing space, and
51502 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51503 allocate the remainder.
51504
51505 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51506
51507 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51508 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51509
51510 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51511
51512 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51513 sysdeps/mach/hurd/readlink.c.
51514
51515 * posix/tst-sysconf.c (posix_options): Only use
51516 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51517 _POSIX_SYNCHRONIZED_IO when they are defined
51518 * sysdeps/mach/hurd/bits/posix_opt.h:
51519 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51520 (_XOPEN_REALTIME): Undefine macro.
51521 (_XOPEN_REALTIME_THREADS): Undefine macro.
51522 (_XOPEN_SHM): Undefine macro.
51523 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51524 macro to -1.
51525 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51526 macro to -1.
51527 (_POSIX_ASYNC_IO): Undefine macro.
51528 (_POSIX_PRIORITIZED_IO): Undefine macro.
51529 (_POSIX_SPIN_LOCKS): Define macro to -1.
51530
51531 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51532 SA_NODEFER, SA_RESETHAND.
51533 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51534 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51535 F_DUPFD_CLOEXEC.
51536
51537 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51538
51539 * elf/Makefile (pldd-modules): Define unconditionally.
51540
51541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51542
51543 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51544
51545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51546
51547 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51548 Return ENOENT when name is empty.
51549 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51550
51551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51552
51553 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51554
51555 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51556
51557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51558
51559 Fix mlock in all cases except non-readable pages.
51560 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51561 instead of VM_PROT_ALL as parameter to __vm_wire function.
51562
51563 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51564 (__mkdir): When path is `/', just fail with EEXIST.
51565 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51566
51567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51568
51569 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51570 <sys/uio.h> (for writev).
51571 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51572 and <sys/param.h> (for MIN).
51573
51574 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51575
51576 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51577 REQUESTED_TIME. Properly set the remaining time and return EINTR
51578 if interrupted.
51579
51580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51581
51582 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51583 Depend on against $(link-rpcuserlibs).
51584
51585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51586
51587 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51588 (__libc_stack_end): Do not use attribute_relro.
51589 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51590 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51591 to libthread-provided value.
51592 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51593 attribute_relro.
51594
51595 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51596
51597 [BZ #3748]
51598 * bits/libc-lock.h (__libc_once_get): New macro.
51599 * sysdeps/mach/bits/libc-lock.h: Likewise.
51600 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51602 instead of using implementation details.
51603
51604 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51605 * libio/freopen.c: Likewise.
51606 * libio/freopen64.c: Likewise.
51607 * misc/syslog.c: Likewise.
51608 * nscd/connections.c: Likewise.
51609 * nscd/netgroupcache.c: Likewise.
51610 * sysdeps/posix/getcwd.c: Likewise.
51611
51612 2012-05-10 Roland McGrath <roland@hack.frob.com>
51613
51614 * math/w_ilogbf.c: Add #include <limits.h>.
51615
51616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51617
51618 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51619 path instead of returning without unlocking.
51620
51621 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51622 immediate-write ioctls.
51623 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51624
51625 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51626
51627 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51628 __builtin_frame_address instead of making assumptions about the
51629 location of the return address relative to DATA. Force early load of
51630 the return address.
51631 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51632 __builtin_frame_address.
51633
51634 dup3 for GNU Hurd.
51635 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51636 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51637 implement dup3 and do some further code clean-ups.
51638 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51639 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51640
51641 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51642
51643 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51644
51645 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51646 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51647 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51648 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51649 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51650 d->port.lock.
51651
51652 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51653 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51654 when handler == SIG_ERR, not when handler != SIG_ERR.
51655
51656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51657
51658 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51659 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51660 definitions.
51661
51662 accept4 for GNU Hurd.
51663 * include/sys/socket.h (__libc_accept4): New prototype.
51664 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51665 to implement __libc_accept4.
51666 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51667 __libc_accept4.
51668 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51669
51670 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51671 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51672 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51673 signal-defines.sym.
51674
51675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51676
51677 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51678
51679 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51680
51681 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51682 assertion on O_CLOEXEC flag.
51683 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51684 * hurd/intern-fd.c: Likewise.
51685 * hurd/port2fd.c: Likewise.
51686
51687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51688
51689 [BZ #3906]
51690 * bits/in.h (IPV6_PKTINFO): Define new macro.
51691 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51692
51693 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51694
51695 [BZ #13954]
51696 [BZ #13955]
51697 [BZ #13956]
51698 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51699 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51700 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51701 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51703 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51704 * math/libm-test.inc (logb_test) : Additional logb tests.
51705
51706 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51707 Andreas Jaeger <aj@suse.de>
51708
51709 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51710 * configure: Regenerated.
51711 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51712 * config.make.in (link-obsolete-rpc): New substituted variable.
51713 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51714 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51715 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51716 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51717 so that libc.a contains the symbols.
51718 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51719 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51720 * sunrpc/auth_none.c: Likewise.
51721 * sunrpc/auth_unix.c: Likewise.
51722 * sunrpc/authdes_prot.c: Likewise.
51723 * sunrpc/authuxprot.c: Likewise.
51724 * sunrpc/clnt_gen.c: Likewise.
51725 * sunrpc/clnt_perr.c: Likewise.
51726 * sunrpc/clnt_raw.c: Likewise.
51727 * sunrpc/clnt_simp.c: Likewise.
51728 * sunrpc/clnt_tcp.c: Likewise.
51729 * sunrpc/clnt_udp.c: Likewise.
51730 * sunrpc/clnt_unix.c: Likewise.
51731 * sunrpc/des_crypt.c: Likewise.
51732 * sunrpc/des_soft.c: Likewise.
51733 * sunrpc/get_myaddr.c: Likewise.
51734 * sunrpc/key_call.c: Likewise.
51735 * sunrpc/key_prot.c: Likewise.
51736 * sunrpc/netname.c: Likewise.
51737 * sunrpc/pm_getmaps.c: Likewise.
51738 * sunrpc/pm_getport.c: Likewise.
51739 * sunrpc/pmap_clnt.c: Likewise.
51740 * sunrpc/pmap_prot.c: Likewise.
51741 * sunrpc/pmap_prot2.c: Likewise.
51742 * sunrpc/pmap_rmt.c: Likewise.
51743 * sunrpc/publickey.c: Likewise.
51744 * sunrpc/rpc_cmsg.c: Likewise.
51745 * sunrpc/rpc_common.c: Likewise.
51746 * sunrpc/rpc_dtable.c: Likewise.
51747 * sunrpc/rpc_prot.c: Likewise.
51748 * sunrpc/rpc_thread.c: Likewise.
51749 * sunrpc/rtime.c: Likewise.
51750 * sunrpc/svc.c: Likewise.
51751 * sunrpc/svc_auth.c: Likewise.
51752 * sunrpc/svc_raw.c: Likewise.
51753 * sunrpc/svc_run.c: Likewise.
51754 * sunrpc/svc_tcp.c: Likewise.
51755 * sunrpc/svc_udp.c: Likewise.
51756 * sunrpc/svc_unix.c: Likewise.
51757 * sunrpc/svcauth_des.c: Likewise.
51758 * sunrpc/xcrypt.c: Likewise.
51759 * sunrpc/xdr.c: Likewise.
51760 * sunrpc/xdr_array.c: Likewise.
51761 * sunrpc/xdr_float.c: Likewise.
51762 * sunrpc/xdr_intXX_t.c: Likewise.
51763 * sunrpc/xdr_mem.c: Likewise.
51764 * sunrpc/xdr_rec.c: Likewise.
51765 * sunrpc/xdr_ref.c: Likewise.
51766 * sunrpc/xdr_sizeof.c: Likewise.
51767 * sunrpc/xdr_stdio.c: Likewise.
51768
51769 2012-05-10 Roland McGrath <roland@hack.frob.com>
51770
51771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51772 change. Update copyright years.
51773
51774 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51775
51776 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51777
51778 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51779 Joseph Myers <joseph@codesourcery.com>
51780 Paul Pluzhnikov <ppluzhnikov@google.com>
51781
51782 [BZ #14012]
51783 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51784 requiring rpcgen.
51785 [cross-compiling] (extra-libs): Likewise.
51786 [cross-compiling] (extra-libs-others): Likewise.
51787 [cross-compiling] (librpcsvc-routines): Likewise.
51788 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51789 [cross-compiling] (omit-deps): Likewise.
51790 (sunrpc-CPPFLAGS): New variable.
51791 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51792 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51793 (cross-rpcgen-objs): New variable.
51794 (extra-objs): Append $(cross-rpcgen-objs).
51795 ($(cross-rpcgen-objs)): New rule.
51796 ($(objpfx)cross-rpcgen): Likewise.
51797 (rpcgen-cmd): Define to use $(built-program-file). Expand
51798 comment.
51799 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51800 ($(objpfx)x%.stmp): Likewise.
51801 * sunrpc/proto.h [IS_IN_build] (_): Define.
51802 [IS_IN_build] (_libc_intl_domainname): Likewise.
51803
51804 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51805
51806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51807 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51808 and R_X86_64_TPOFF64.
51809
51810 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51811
51812 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51813 sysdeps/unix/sysv/syscalls.list.
51814 (stime): Likewise.
51815 (utime): Likewise.
51816 * sysdeps/unix/sysv/syscalls.list: Remove file.
51817
51818 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51819
51820 [BZ #3440]
51821 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51822 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51823 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51824 (__LC_IDENTIFICATION): Make these macros useful in #if
51825 expressions, as required by C99.
51826
51827 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51828
51829 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51830 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51831 after this.
51832
51833 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51834
51835 * stdlib/longlong.h: Updated from GCC.
51836
51837 2012-05-09 Andreas Jaeger <aj@suse.de>
51838
51839 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51840 default is first entry.
51841 (run_mode): Set type.
51842 (main): Remove informal message about syslog.
51843 (options): Fix typo.
51844
51845 [BZ #14053]
51846 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51847 to asm.
51848 (lrint): Likewise.
51849 (llrintf): Likewise.
51850 (llrint): Likewise.
51851 (rint): Likewise.
51852 (rintf): Likewise.
51853 (nearbyint): Likewise.
51854 (nearbyintf): Likewise.
51855
51856 2012-05-09 Andreas Jaeger <aj@suse.de>
51857 Pedro Alves <palves@redhat.com>
51858
51859 * nscd/nscd.c (run_mode): Use enum.
51860 (main): Cleanup coding style issue.
51861
51862 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51863 Andreas Jaeger <aj@suse.de>
51864
51865 * nscd/nscd.c (go_background): Replaced with...
51866 (run_mode): ... this.
51867 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51868 (options): Add -F --foreground.
51869 (main): Implement it.
51870 (parse_opt): Parse it.
51871
51872 2012-05-09 Andreas Jaeger <aj@suse.de>
51873
51874 [BZ #14083]
51875 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51876 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51877 -Wconversion warning.
51878 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51879 Likewise.
51880
51881 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51882
51883 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51884 == 0.
51885 (LC_ALL): Use macro-int-constant.
51886 (LC_COLLATE): Likewise.
51887 (LC_CTYPE): Likewise.
51888 (LC_MESSAGES): Likewise.
51889 (LC_MONETARY): Likewise.
51890 (LC_NUMERIC): Likewise.
51891 (LC_TIME): Likewise.
51892 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51893 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51894 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51895 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51896 Specify type.
51897 [C99-based standards] (float_t): Expect type.
51898 [C99-based standards] (double_t): Expect type.
51899 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
51900 type.
51901 [C99-based standards] (HUGE_VALL): Likewise.
51902 [C99-based standards] (INFINITY): Likewise.
51903 [C99-based standards] (NAN): Likewise.
51904 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51905 [C99-based standards] (FP_NAN): Likewise.
51906 [C99-based standards] (FP_NORMAL): Likewise.
51907 [C99-based standards] (FP_SUBNORMAL): Likewise.
51908 [C99-based standards] (FP_ZERO): Likewise.
51909 [C99-based standards] (FP_FAST_FMA): Use
51910 optional-macro-int-constant. Specify type. Require == 1.
51911 [C99-based standards] (FP_FAST_FMAF): Likewise.
51912 [C99-based standards] (FP_FAST_FMAL): Likewise.
51913 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51914 [C99-based standards] (FP_ILOGBNAN): Likewise.
51915 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51916 Specify type.
51917 [C99-based standards] (MATH_ERREXCEPT): Likewise.
51918 [C99-based standards] (math_errhandling): Specify type.
51919 [ISO99 || ISO11] (signgam): Do not allow.
51920 [non-C99-based standards] (copysignf): Do not allow.
51921 [non-C99-based standards] (exp2f): Likewise.
51922 [non-C99-based standards] (log2f): Likewise.
51923 [non-C99-based standards] (modff): Allow.
51924 [non-C99-based standards] (erff): Do not allow.
51925 [non-C99-based standards] (erfcf): Likewise.
51926 [non-C99-based standards] (gammaf): Likewise.
51927 [non-C99-based standards] (hypotf): Likewise.
51928 [non-C99-based standards] (j0f): Likewise.
51929 [non-C99-based standards] (j1f): Likewise.
51930 [non-C99-based standards] (jnf): Likewise.
51931 [non-C99-based standards] (lgammaf): Likewise.
51932 [non-C99-based standards] (tgammaf): Likewise.
51933 [non-C99-based standards] (y0f): Likewise.
51934 [non-C99-based standards] (y1f): Likewise.
51935 [non-C99-based standards] (ynf): Likewise.
51936 [non-C99-based standards] (isnanf): Likewise.
51937 [non-C99-based standards] (acoshf): Likewise.
51938 [non-C99-based standards] (asinhf): Likewise.
51939 [non-C99-based standards] (atanhf): Likewise.
51940 [non-C99-based standards] (cbrtf): Likewise.
51941 [non-C99-based standards] (expm1f): Likewise.
51942 [non-C99-based standards] (ilogbf): Likewise.
51943 [non-C99-based standards] (log1pf): Likewise.
51944 [non-C99-based standards] (logbf): Likewise.
51945 [non-C99-based standards] (nextafterf): Likewise.
51946 [non-C99-based standards] (remainderf): Likewise.
51947 [non-C99-based standards] (rintf): Likewise.
51948 [non-C99-based standards] (scalbf): Likewise.
51949 [non-C99-based standards] (copysignl): Likewise.
51950 [non-C99-based standards] (exp2l): Likewise.
51951 [non-C99-based standards] (log2l): Likewise.
51952 [non-C99-based standards] (modfl): Allow.
51953 [non-C99-based standards] (erfl): Do not allow.
51954 [non-C99-based standards] (erfcl): Likewise.
51955 [non-C99-based standards] (gammal): Likewise.
51956 [non-C99-based standards] (hypotl): Likewise.
51957 [non-C99-based standards] (j0l): Likewise.
51958 [non-C99-based standards] (j1l): Likewise.
51959 [non-C99-based standards] (jnl): Likewise.
51960 [non-C99-based standards] (lgammal): Likewise.
51961 [non-C99-based standards] (tgammal): Likewise.
51962 [non-C99-based standards] (y0l): Likewise.
51963 [non-C99-based standards] (y1l): Likewise.
51964 [non-C99-based standards] (ynl): Likewise.
51965 [non-C99-based standards] (isnanl): Likewise.
51966 [non-C99-based standards] (acoshl): Likewise.
51967 [non-C99-based standards] (asinhl): Likewise.
51968 [non-C99-based standards] (atanhl): Likewise.
51969 [non-C99-based standards] (cbrtl): Likewise.
51970 [non-C99-based standards] (expm1l): Likewise.
51971 [non-C99-based standards] (ilogbl): Likewise.
51972 [non-C99-based standards] (log1pl): Likewise.
51973 [non-C99-based standards] (logbl): Likewise.
51974 [non-C99-based standards] (nextafterl): Likewise.
51975 [non-C99-based standards] (remainderl): Likewise.
51976 [non-C99-based standards] (rintl): Likewise.
51977 [non-C99-based standards] (scalbl): Likewise.
51978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51979 [non-C99-based standards] (FP_*): Do not allow.
51980 [C99-based standards] (FP_*): Change to
51981 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51982 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51983 allow.
51984 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51985 (SIG_ERR): Likewise.
51986 [X/Open-based standards] (SIG_HOLD): Likewise.
51987 (SIG_IGN): Likewise.
51988 (SIGABRT): Use macro-int-constant. Specify type. Require
51989 positive value.
51990 (SIGFPE): Likewise.
51991 (SIGILL): Likewise.
51992 (SIGINT): Likewise.
51993 (SIGSEGV): Likewise.
51994 (SIGTER): Likewise.
51995 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51996 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51997 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51998 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51999 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52000 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52001 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52002 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52003 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52004 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52005 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52006 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52007 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52008 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52009 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52010 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52011 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52012 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52013 [X/Open-based standards] (SIGTRAP): Likewise.
52014 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52015 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52016 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52017 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52018 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52019 allow.
52020
52021 2012-05-08 Ian Wienand <ianw@vmware.com>
52022
52023 [BZ #14080]
52024 * time/tzset.c (__tzset_parse_tz): Update default rules for
52025 daylight time changes in the Energy Policy Act of 2005.
52026
52027 2012-05-09 Andreas Jaeger <aj@suse.de>
52028
52029 [BZ #13983]
52030 * elf/ldconfig.c (parse_conf): Change string to make clear that
52031 ldconfig only issued a warning if ld.so.conf does not exist.
52032
52033 2012-05-08 David S. Miller <davem@davemloft.net>
52034
52035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52036 movxtod instead of popping the value on the stack.
52037
52038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52039
52040 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52041
52042 * config.h.in: Add HAVE_ARM_PCS_VFP.
52043
52044 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52045
52046 [BZ #13979]
52047 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52048 checking but the checks are disabled for any reason.
52049
52050 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52051
52052 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52053 and ELF64_R_TYPE with ELFW(R_TYPE).
52054
52055 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52056
52057 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52058 (ulimit): Likewise.
52059
52060 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52061 (settimeofday): Likewise.
52062
52063 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52064
52065 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52066 a struct th_u2 inside the union, and move tu_block/tu_code into
52067 a new th_u3 union of tu_block/tu_code inside of that. Move
52068 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52069 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52070 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52071 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52072 (th_stuff): Change to th_u1.tu_stuff.
52073 (th_data): Define.
52074 (th_msg): Change to th_u1.th_u2.tu_data.
52075
52076 2012-05-07 David S. Miller <davem@davemloft.net>
52077
52078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52079
52080 [BZ #14074]
52081 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52082 (SETUP_PIC_REG): Use it.
52083 (SETUP_PIC_REG_LEAF): Use it.
52084
52085 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52086
52087 [BZ #13885]
52088 [BZ #13923]
52089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52090 USE_AS_EXPM1L.
52091 (EXPL_FINITE): Likewise.
52092 (FLDLOG): Likewise.
52093 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52094 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52095 e_expl.S.
52096 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52097 USE_AS_EXPM1L.
52098 (EXPL_FINITE): Likewise.
52099 (FLDLOG): Likewise.
52100 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52101 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52102 e_expl.S.
52103 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52104 test of -max_value argument for long double.
52105 * sysdeps/i386/fpu/libm-test-ulps: Update.
52106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52107
52108 2012-05-06 David S. Miller <davem@davemloft.net>
52109
52110 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52111 quad soft-float symbols whose references which are compiler
52112 generated.
52113 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52114
52115 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52116
52117 [BZ #13884]
52118 [BZ #13914]
52119 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52120 USE_AS_EXP10L.
52121 (EXPL_FINITE): Likewise.
52122 (FLDLOG): Likewise.
52123 (c0): Likewise.
52124 (c1): Likewise.
52125 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52126 Adjust comments for base varying.
52127 (__expl_finite): Change alias to EXPL_FINITE.
52128 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52129 e_expl.S.
52130 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52131 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52133 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52134 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52135 USE_AS_EXP10L.
52136 (EXPL_FINITE): Likewise.
52137 (FLDLOG): Likewise.
52138 (c0): Likewise.
52139 (c1): Likewise.
52140 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52141 Adjust comments for base varying.
52142 (__expl_finite): Change alias to EXPL_FINITE.
52143 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52144 tests for bugs.
52145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52146
52147 [BZ #14064]
52148 * math/libm-test.inc (check_float_internal): Correct ulp
52149 calculation for subnormal expected results.
52150
52151 2012-05-06 Andreas Jaeger <aj@suse.de>
52152
52153 * Makeconfig (+math-flags): New, set to -frounding-math.
52154 (+cflags): Add +math-flags so that all of glibc gets compiled with
52155 it.
52156
52157 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52158
52159 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52160
52161 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52162 Disable one test.
52163
52164 [BZ #13787]
52165 [BZ #13922]
52166 [BZ #14036]
52167 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52168 (__ieee754_expl): Allow for and saturate large arguments.
52169 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52170 (u_threshold): Likewise.
52171 (__exp): Call __ieee754_exp before checking for overflow and
52172 underflow.
52173 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52174 (u_threshold): Likewise.
52175 (__expf): Call __ieee754_expf before checking for overflow and
52176 underflow.
52177 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52178 (u_threshold): Likewise.
52179 (__expl): Call __ieee754_expl before checking for overflow and
52180 underflow.
52181 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52182 (__ieee754_expl): Allow for and saturate large arguments.
52183 * math/libm-test.inc (exp_test): Add another test. Do not allow
52184 missing overflow exception on overflow.
52185 (expm1_test): Do not allow missing overflow exception on overflow.
52186
52187 * sysdeps/i386/fpu/e_expl.c: Move to ...
52188 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52189 rather than using inline asm.
52190 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52191 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52192 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52193
52194 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52195 (nice): Likewise.
52196 (poll): Likewise.
52197 (signal): Likewise.
52198 (time): Likewise.
52199 (times): Likewise.
52200
52201 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52202
52203 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52204 sysdeps/unix/common/syscalls.list.
52205 (fchmod): Likewise.
52206 (fchown): Likewise.
52207 (ftruncate): Likewise.
52208 (getrusage): Likewise.
52209 (gettimeofday): Likewise.
52210 (setpgid): Likewise.
52211 (setregid): Likewise.
52212 (setreuid): Likewise.
52213 (sigaction): Likewise.
52214 (truncate): Likewise.
52215 (vhangup): Likewise.
52216 * sysdeps/unix/common/syscalls.list: Remove file.
52217 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52218 * sysdeps/unix/sysv/linux/Implies: Likewise.
52219
52220 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52221
52222 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52224 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52225 Moved to ...
52226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52227 Here.
52228 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52229 to ...
52230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52231 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52232 to ...
52233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52234 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52235 to ...
52236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52237 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52238 to ...
52239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52240 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52241 to ...
52242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52243 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52244 to ...
52245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52246 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52247 to ...
52248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52249 Here.
52250 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52251 to ...
52252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52253 Here.
52254 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52255 to ...
52256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52257 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52258 Moved to ...
52259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52260 Here.
52261 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52262 to ...
52263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52264
52265 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52266
52267 * sysdeps/unix/common/bits/dirent.h: Remove file.
52268 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52269
52270 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52271 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52272 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52273 * sysdeps/unix/bsd/isatty.c: Likewise.
52274 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52275 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52276 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52277
52278 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52279
52280 [BZ #13563]
52281 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52282 long double comparison inaccuracies.
52283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52285
52286 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52287
52288 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52289 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52290
52291 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52292
52293 [BZ #14049]
52294 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52295 nonzero digits before rounding a hex value.
52296 * stdlib/tst-strtod.c (tests): Add another test.
52297
52298 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52299
52300 * sysdeps/s390/fpu/libm-test-ulps: Update.
52301
52302 2012-05-03 Andreas Jaeger <aj@suse.de>
52303
52304 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52305 does not get optimized out.
52306 (malloc_opt_barrier): New.
52307
52308 2012-05-03 Andreas Jaeger <aj@suse.de>
52309 Roland McGrath <roland@hack.frob.com>
52310
52311 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52312 intermediate file deletion.
52313 (generated): Add .symlist files.
52314
52315 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52316
52317 [BZ #13775]
52318 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52319 Redirect under this condition.
52320 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52321 [__USE_GNU] (__dprintf_chk): Not under this condition.
52322 [__USE_GNU] (__vdprintf_chk): Likewise.
52323 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52324 under this condition.
52325 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52326 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52327 [__USE_XOPEN2K8] (vdprintf): Likewise.
52328 [__USE_GNU] (__dprintf_chk): Not under this condition.
52329 [__USE_GNU] (__vdprintf_chk): Likewise.
52330 [__USE_GNU] (dprintf): Likewise.
52331 [__USE_GNU] (vdprintf): Likewise.
52332
52333 2012-05-03 Roland McGrath <roland@hack.frob.com>
52334
52335 * elf/Makefile (common-generated): Set this instead of generated for
52336 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52337 $(all-built-dso)-derived lists.
52338
52339 2012-05-03 Andreas Jaeger <aj@suse.de>
52340
52341 * sysdeps/i386/fpu/libm-test-ulps: Update.
52342
52343 * FAQ: Removed.
52344 * FAQ.in: Likewise.
52345 * scripts/gen-FAQ.pl: Likewise.
52346 * manual/install.texi (Installation): Point to online location of
52347 FAQ.
52348 * Makefile (files-for-dist): Remove FAQ.
52349 (FAQ): Remove.
52350
52351 2012-05-02 Allan McRae <allan@archlinux.org>
52352
52353 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52354 (LDFLAGS-reldepmod5.so): Likewise.
52355 (LDFLAGS-reldep6mod1.so): Likewise.
52356 (LDFLAGS-reldep6mod4.so): Likewise.
52357 (LDFLAGS-reldep8mod3.so): Likewise.
52358 (LDFLAGS-unload4mod1.so): Likewise.
52359 (LDFLAGS-unload4mod2.so): Likewise.
52360 (LDFLAGS-tst-initorder): Likewise.
52361 (LDFLAGS-tst-initordera2.so): Likewise.
52362 (LDFLAGS-tst-initordera3.so): Likewise.
52363 (LDFLAGS-tst-initordera4.so): Likewise.
52364 (LDFLAGS-tst-initorderb2.so): Likewise.
52365 (LDFLAGS-noload): Likewise.
52366 (LDFLAGS-next): Likewise.
52367 (LDFLAGS-order2mod1.so): Likewise.
52368 (LDFLAGS-order2mod2.so): Likewise.
52369 (LDFLAGS-tst-initorder2): Likewise.
52370 (LDFLAGS-tst-initorder2a.so): Likewise.
52371 (LDFLAGS-tst-initorder2b.so): Likewise.
52372 (LDFLAGS-tst-initorder2c.so): Likewise.
52373 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52374
52375 2012-05-02 David S. Miller <davem@davemloft.net>
52376
52377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52378
52379 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52380
52381 [BZ #14055]
52382 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52383
52384 2012-05-02 Andreas Jaeger <aj@suse.de>
52385
52386 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52387 since we manipulate rounding mode.
52388 (CPPFLAGS-test-idouble.c): Likewise.
52389 (CPPFLAGS-test-ifloat.c): Likewise.
52390 (CFLAGS-test-ldouble.c): Likewise.
52391 (CFLAGS-test-double.c): Likewise.
52392 (CFLAGS-test-float.c): Likewise.
52393 (CFLAGS-test-misc.c): Likewise.
52394 (CFLAGS-test-test-fenv.c): Likewise.
52395
52396 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52397
52398 [BZ #2550]
52399 [BZ #2570]
52400 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52401 comparisons to determine direction to adjust input.
52402
52403 2012-05-01 Roland McGrath <roland@hack.frob.com>
52404
52405 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52406 output to the target.
52407
52408 * scripts/localplt.awk: New file.
52409 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52410 (check-localplt-CFLAGS): Variable removed.
52411 ($(all-built-dso:=.jmprel)): New static pattern rule.
52412 (generated): Add those targets.
52413 (localplt-built-dso): New variable.
52414 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52415
52416 * elf/check-localplt.c: File removed.
52417
52418 * scripts/check-execstack.awk: New file.
52419 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52420 (check-execstack-CFLAGS): Variable removed.
52421 ($(objpfx)check-execstack.h): Target removed.
52422 ($(objpfx)execstack-default): New target.
52423 (generated): Add that instead of check-execstack.h.
52424 ($(all-built-dso:=.phdr)): New static pattern rule.
52425 (generated): Add those targets.
52426 * elf/check-execstack.c: File removed.
52427
52428 * scripts/check-textrel.awk: New file.
52429 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52430 (check-textrel-CFLAGS): Variable removed.
52431 (all-built-dso): Use := to define.o
52432 ($(all-built-dso:=.dyn)): New static pattern rule.
52433 (generated): Add those targets.
52434 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52435 * config.make.in (READELF): New substituted variable.
52436 * elf/check-textrel.c: File removed.
52437
52438 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52439
52440 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52441 allow.
52442 * conform/data/ctype.h-data [C99-based standards] (isblank):
52443 Expect function.
52444 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52445 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52446 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52447 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52448 Specify type. Require positive value.
52449 (EILSEQ): Likewise.
52450 (ERANGE): Likewise.
52451 [ISO || POSIX] (EILSEQ): Do not expect.
52452 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52453 Specify type. Require positive value.
52454 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52455 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52456 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52457 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52458 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52459 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52460 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52461 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52462 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52463 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52464 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52465 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52466 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52467 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52468 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52469 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52470 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52471 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52472 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52473 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52474 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52475 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52476 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52477 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52478 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52479 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52480 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52481 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52482 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52483 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52484 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52485 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52486 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52487 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52488 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52489 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52490 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52491 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52492 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52493 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52494 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52495 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52496 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52497 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52498 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52499 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52500 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52501 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52502 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52503 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52504 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52505 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52506 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52507 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52508 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52509 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52510 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52511 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52512 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52513 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52514 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52515 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52516 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52517 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52518 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52519 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52520 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52521 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52522 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52523 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52524 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52525 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52526 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52527 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52528 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52529 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52530 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52531 Require >= 2.
52532 (FLT_ROUNDS): Expect as macro, not constant.
52533 (FLT_MANT_DIG): Use macro-int-constant.
52534 (DBL_MANT_DIG): Likewise.
52535 (LDBL_MANT_DIG): Likewise.
52536 (FLT_DIG): Likewise.
52537 (DBL_DIG): Likewise.
52538 (LDBL_DIG): Likewise.
52539 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52540 (DBL_MIN_EXP): Likewise.
52541 (LDBL_MIN_EXP): Likewise.
52542 (FLT_MAX_EXP): Use macro-int-constant.
52543 (DBL_MAX_EXP): Likewise.
52544 (LDBL_MAX_EXP): Likewise.
52545 (FLT_MAX_10_EXP): Likewise.
52546 (DBL_MAX_10_EXP): Likewise.
52547 (LDBL_MAX_10_EXP): Likewise.
52548 (FLT_MAX): Use macro-constant.
52549 (DBL_MAX): Likewise.
52550 (LDBL_MAX): Likewise.
52551 (FLT_EPSILON): Use macro-constant. Give upper bound.
52552 (DBL_EPSILON): Likewise.
52553 (LDBL_EPSILON): Likewise.
52554 (FLT_MIN): Likewise.
52555 (DBL_MIN): Likewise.
52556 (LDBL_MIN): Likewise.
52557 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52558 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52559 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52560 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52561 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52562 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52563 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52564 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52565 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52566 [ISO11] (FLT_TRUE_MIN): Likewise.
52567 [ISO11] (LDBL_TRUE_MIN): Likewise.
52568 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52569 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52570 (SCHAR_MIN): Use macro-int-constant. Specify type.
52571 (SCHAR_MAX): Likewise.
52572 (UCHAR_MAX): Likewise.
52573 (CHAR_MIN): Likewise.
52574 (CHAR_MAX): Likewise.
52575 (MB_LEN_MAX): Use macro-int-constant.
52576 (SHRT_MIN): Use macro-int-constant. Specify type.
52577 (SHRT_MAX): Likewise.
52578 (USHRT_MAX): Likewise.
52579 (INT_MAX): Likewise.
52580 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52581 bound negative.
52582 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52583 bound with "U".
52584 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52585 bound with "L".
52586 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52587 bound negative. Suffix upper bound with "L".
52588 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52589 bound with "UL".
52590 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52591 Specify type.
52592 [C99-based standards] (LLONG_MAX): Likewise.
52593 [C99-based standards] (ULLONG_MAX): Likewise.
52594 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52595 == 0.
52596 [ISO11] (max_align_t): Require type.
52597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52598
52599 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52600 from $CFLAGS, without defining away __attribute__ calls.
52601 (checknamespace): Use $CFLAGS_namespace.
52602
52603 * conform/conformtest.pl (@keywords): Only include C99 keywords
52604 for standards based on C99 or C11.
52605
52606 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52607 Disable tests.
52608 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52609 UNIX98]: Likewise.
52610
52611 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52612 usability of symbols in #if.
52613
52614 * conform/conformtest.pl: If macro or constant types start
52615 "promoted:", expect the symbol to be of the following type
52616 promoted by the integer promotions.
52617
52618 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52619 in one place. Also handle "macro-constant".
52620
52621 * conform/conformtest.pl: Only accept expected macro values with
52622 "==". Parse all "macro" lines in one place.
52623 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52624
52625 * conform/conformtest.pl: Handle braced types on "constant" lines
52626 instead of handling "typed-constant".
52627 * conform/data/signal.h-data: Use "constant" instead of
52628 "typed-constant".
52629
52630 * conform/conformtest.pl: Handle "optional-" at start of lines in
52631 one place rather than duplicating several cases. Handle each
52632 format of "macro" line with initial "optional-".
52633
52634 * conform/conformtest.pl: Only accept expected constant or
52635 optional-constant values with "==". Parse all "constant" lines in
52636 one place. Parse all "optional-constant" lines in one place.
52637 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52638 * conform/data/fmtmsg.h-data: Likewise.
52639 * conform/data/netinet/in.h-data: Likewise.
52640 * conform/data/tar.h-data: Likewise.
52641 * conform/data/limits.h-data: Use "==" form on "constant" and
52642 "optional-constant" lines.
52643
52644 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52645 Use -std=c99 for XOPEN2K.
52646 (@knownproblems): Remove.
52647 (newtoken): Don't check %isknown.
52648
52649 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52650 Do not expect macro.
52651 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52652 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52653 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52654 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52655 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52656 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52657 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52658 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52659 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52660 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52661 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52662 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52663 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52664 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52665 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52666 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52667 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52668 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52669 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52670 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52671 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52672 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52673 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52674 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52675 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52676 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52677 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52678 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52679 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52680 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52681 [XPG3] (acosh): Likewise.
52682 [XPG3] (asinh): Likewise.
52683 [XPG3] (atanh): Likewise.
52684 [XPG3] (cbrt): Likewise.
52685 [XPG3] (expm1): Likewise.
52686 [XPG3] (ilogb): Likewise.
52687 [XPG3] (log1p): Likewise.
52688 [XPG3] (logb): Likewise.
52689 [XPG3] (nextafter): Likewise.
52690 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52691 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52692 [XPG3] (remainder): Likewise.
52693 [XPG3] (rint): Likewise.
52694 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52695 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52696 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52697 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52698 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52699 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52700 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52701 [UNIX98 || XOPEN2K] (scalb): Expect.
52702 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52703 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52704 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52705 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52706 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52707 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52708 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52709 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52710 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52711 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52712 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52713 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52714 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52715 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52716 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52717 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52718 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52719 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52720 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52721 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52722 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52723 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52724 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52725 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52726 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52727 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52728 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52729 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52730 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52731 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52732 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52733 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52734 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52735 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52736 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52737 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52738 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52739 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52740 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52741 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52742 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52743 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52744 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52745 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52746 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52747 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52748 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52749 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52750 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52751 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52752 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52753 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52754 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52755 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52756 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52757 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52758 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52759 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52760 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52761 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52762 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52763 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52764 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52765 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52766 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52767 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52768 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52769 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52770 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52771 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52772 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52773 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52774 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52775 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52776 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52777 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52778 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52779 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52780 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52781 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52782 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52783 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52784 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52785 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52786 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52787 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52788 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52789 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52790 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52791 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52792 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52793 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52794 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52795 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52796 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52797 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52798 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52799 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52800 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52801 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52802 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52803 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52804 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52805 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52806 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52807 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52808 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52809 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52810 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52811 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52812 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52813 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52814 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52815 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52816 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52817 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52818 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52819 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52820 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52821 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52822 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52823 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52824 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52825 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52826 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52827 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52828 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52829 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52830 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52831 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52832 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52833 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52834 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52835 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52836 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52837 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52838 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52839
52840 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52841 _XOPEN_SOURCE_EXTENDED for XPG4.
52842
52843 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52844
52845 * Makeconfig (localtime): Remove variable.
52846 (inst_localtime-file): Likewise.
52847
52848 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52849
52850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52851 Update.
52852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52853 Update.
52854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52855 Update.
52856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52857 Update.
52858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52859 Update.
52860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52861 Update.
52862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52863 Update.
52864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52865 Update.
52866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52867 Update.
52868
52869 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52870
52871 [BZ #2550]
52872 [BZ #2570]
52873 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52874 comparisons to determine direction to adjust input.
52875 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52876 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52877 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52878 Likewise.
52879 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52880 Likewise.
52881 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52882 Likewise.
52883 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52884 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52885 Likewise.
52886 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52887 Likewise.
52888 * math/libm-test.inc (nexttoward_test): Add more tests.
52889
52890 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52891
52892 [BZ #14040]
52893 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52894 in version GLIBC_2.1, not GLIBC_2.0.
52895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52896 Likewise.
52897
52898 2012-04-30 Joseph Myers <joseph@codesourcery.com>
52899
52900 [BZ #13942]
52901 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52902 (1 - x) * (1 + x).
52903 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52904 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52905 * math/libm-test.inc (acos_test): Add more tests.
52906 (asin_test): Likewise.
52907 * sysdeps/i386/fpu/libm-test-ulps: Update.
52908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52909
52910 [BZ #14034]
52911 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52912 of square root.
52913 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52914 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52915 * math/libm-test.inc (acos_test_tonearest): New function.
52916 (acos_test_towardzero): Likewise.
52917 (acos_test_downward): Likewise.
52918 (acos_test_upward): Likewise.
52919 (asin_test_tonearest): Likewise.
52920 (asin_test_towardzero): Likewise.
52921 (asin_test_downward): Likewise.
52922 (asin_test_upward): Likewise.
52923 (main): Call the new functions.
52924 * sysdeps/i386/fpu/libm-test-ulps: Update.
52925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52926
52927 [BZ #13884]
52928 [BZ #13924]
52929 * math/e_exp10.c: Include <float.h>.
52930 (__ieee754_exp10): Handle underflow here rather than multiplying
52931 large negative argument by M_LN10.
52932 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52933 of __ieee754_expf.
52934 * math/e_exp10l.c: Include <float.h>.
52935 (__ieee754_exp10l): Handle underflow here rather than multiplying
52936 large negative argument by M_LN10l.
52937 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52938 spurious overflow exception on underflow.
52939
52940 2012-04-29 Marek Polacek <polacek@redhat.com>
52941
52942 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52943 (__fortify_function): New macro.
52944 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52945 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52946 __extern_always_inline.
52947 * libio/bits/stdio2.h: Likewise.
52948 * libio/bits/stdio.h: Likewise.
52949 * string/string.h: Likewise.
52950 * string/bits/string3.h: Likewise.
52951 * include/stdio.h: Likewise.
52952 * stdlib/bits/stdlib.h: Likewise.
52953 * stdlib/stdlib.h: Likewise.
52954 * rt/bits/mqueue2.h: Likewise.
52955 * rt/mqueue.h: Likewise.
52956 * posix/bits/unistd.h: Likewise.
52957 * posix/unistd.h: Likewise.
52958 * io/bits/poll2.h: Likewise.
52959 * io/bits/fcntl2.h: Likewise.
52960 * io/fcntl.h: Likewise.
52961 * io/sys/poll.h: Likewise.
52962 * misc/bits/syslog.h: Likewise.
52963 * misc/bits/syslog-ldbl.h: Likewise.
52964 * misc/sys/syslog.h: Likewise.
52965 * socket/bits/socket2.h: Likewise.
52966 * socket/sys/socket.h: Likewise.
52967 * debug/tst-chk1.c: Likewise.
52968 * wcsmbs/bits/wchar2.h: Likewise.
52969 * wcsmbs/bits/wchar-ldbl.h: Likewise.
52970 * wcsmbs/wchar.h: Likewise.
52971
52972 2012-04-29 Andreas Jaeger <aj@suse.de>
52973
52974 * Makerules (tests): Remove enable-check-abi protection.
52975 (check-abi-warn): Remove.
52976 (check-abi-%): Remove check-abi-warn usage.
52977
52978 * configure.in: Remove check-abi configure option.
52979 * configure: Regenerated.
52980 * config.make.in (enable-check-abi): Remove.
52981
52982 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
52983
52984 [BZ #14033]
52985 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52986 double functions to double *_finite functions.
52987
52988 [BZ #13941]
52989 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52990 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52991 LDBL_MIN_EXP.
52992 * stdio-common/Makefile (tests): Add tst-sprintf3.
52993 * stdio-common/tst-sprintf3.c: New file.
52994
52995 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52996 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52997
52998 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52999
53000 * conform/conformtest.pl: Remove duplicate typed-constant
53001 handling.
53002
53003 2012-04-28 David S. Miller <davem@davemloft.net>
53004
53005 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53006 (check-abi-%): Remove AWK script prerequisite and explicit
53007 abilist directory.
53008 (check-abi): Rewrite to just diff the symlist with the abilist.
53009 (config-tls, config-abi-config): Delete, no longer used.
53010 (update-abi-%): Remove AWK script and explicit abilist directory.
53011 (update-abi): Rewrite to simply compare and conditionally copy the
53012 symlist and the sysdep abilist file. Remove update-abi-config
53013 checks.
53014 * abilist/ld.abilist: Remove.
53015 * abilist/libBrokenLocale.abilist: Remove.
53016 * abilist/libanl.abilist: Remove.
53017 * abilist/libcrypt.abilist: Remove.
53018 * abilist/libdl.abilist: Remove.
53019 * abilist/librt.abilist: Remove.
53020 * abilist/libthread_db.abilist: Remove.
53021 * abilist/libutil.abilist: Remove.
53022 * scripts/extract-abilist.awk: Remove.
53023 * scripts/merge-abilist.awk: Remove.
53024 * sysdeps/generic/libcidn.abilist: New file.
53025 * sysdeps/generic/libnss_compat.abilist: New file.
53026 * sysdeps/generic/libnss_db.abilist: New file.
53027 * sysdeps/generic/libnss_dns.abilist: New file.
53028 * sysdeps/generic/libnss_files.abilist: New file.
53029 * sysdeps/generic/libnss_hesiod.abilist: New file.
53030 * sysdeps/generic/libnss_nis.abilist: New file.
53031 * sysdeps/generic/libnss_nisplus.abilist: New file.
53032 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53033 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53034 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53035 file.
53036 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53037 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53038 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53039 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53040 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53041 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53042 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53043 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53044 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53045 file.
53046 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53047 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53048 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53049 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53050 file.
53051 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53052 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53053 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53054 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53055 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53056 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53057 file.
53058 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53059 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53060 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53061 file.
53062 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53064 New file.
53065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53066 New file.
53067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53068 New file.
53069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53070 New file.
53071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53072 New file.
53073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53074 New file.
53075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53076 New file.
53077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53078 New file.
53079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53080 New file.
53081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53082 New file.
53083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53084 New file.
53085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53086 New file.
53087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53088 New file.
53089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53090 file.
53091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53092 New file.
53093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53094 New file.
53095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53096 file.
53097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53098 New file.
53099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53100 New file.
53101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53102 file.
53103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53104 New file.
53105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53106 New file.
53107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53108 New file.
53109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53110 New file.
53111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53112 New file.
53113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53114 New file.
53115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53117 file.
53118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53119 New file.
53120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53121 file.
53122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53123 file.
53124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53125 file.
53126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53127 file.
53128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53129 file.
53130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53131 New file.
53132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53133 file.
53134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53135 file.
53136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53137 New file.
53138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53139 file.
53140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53142 file.
53143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53144 New file.
53145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53146 file.
53147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53148 file.
53149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53150 file.
53151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53152 file.
53153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53154 file.
53155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53156 New file.
53157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53158 file.
53159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53160 file.
53161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53162 New file.
53163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53164 file.
53165 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53166 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53167 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53168 file.
53169 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53170 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53171 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53172 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53173 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53174 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53175 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53176 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53177 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53178 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53181 file.
53182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53183 New file.
53184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53185 file.
53186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53187 file.
53188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53189 file.
53190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53191 file.
53192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53193 file.
53194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53195 New file.
53196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53197 New file.
53198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53199 file.
53200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53201 New file.
53202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53203 file.
53204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53206 file.
53207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53208 New file.
53209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53210 file.
53211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53212 file.
53213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53214 file.
53215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53216 file.
53217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53218 file.
53219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53220 New file.
53221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53222 New file.
53223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53224 file.
53225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53226 New file.
53227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53228 file.
53229
53230 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53231
53232 * conform/conformtest.pl: Fix typo in handling typed-constant from
53233 allow-header.
53234
53235 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53236
53237 * README: Cut down references to pre-2.6 Linux kernels and
53238 Linuxthreads. Update lists of configurations in libc and ports
53239 and sort alphabetically. Say "or newer" with Linux kernel version
53240 requirements.
53241
53242 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53243
53244 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53245
53246 [BZ #887]
53247 * math/libm-test.inc (logb_test_downward): New test to expose
53248 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53249 rounding mode.
53250
53251 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53252
53253 [BZ #14027]
53254 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53255 to be done.
53256 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53257 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53258
53259 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53260
53261 * sysdeps/unix/i386/brk.S: Remove file.
53262 * sysdeps/unix/i386/dl-brk.S: Likewise.
53263 * sysdeps/unix/i386/pipe.S: Likewise.
53264 * sysdeps/unix/i386/sigreturn.S: Likewise.
53265 * sysdeps/unix/i386/syscall.S: Likewise.
53266 * sysdeps/unix/i386/vfork.S: Likewise.
53267 * sysdeps/unix/i386/wait.S: Likewise.
53268
53269 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53270 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53271
53272 * configure.in (arm*-none*): Do not allow without
53273 --enable-hacker-mode.
53274 (netbsd*): Remove case setting base_os.
53275 (386bsd*): Likewise.
53276 (freebsd*): Likewise.
53277 (bsdi*): Likewise.
53278 (osf*): Likewise.
53279 (sunos*): Likewise.
53280 (ultrix*): Likewise.
53281 (newsos*): Likewise.
53282 (dynix*): Likewise.
53283 (*bsd*): Likewise.
53284 (sysv*): Likewise.
53285 (isc*): Likewise.
53286 (esix*): Likewise.
53287 (sco*): Likewise.
53288 (minix*): Likewise.
53289 (irix4*): Likewise.
53290 (irix6*): Likewise.
53291 (solaris[2-9]*): Likewise.
53292 (none): Likewise.
53293 * configure: Regenerated.
53294
53295 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53296
53297 [BZ #11521]
53298 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53299 overflow or cancellation in calculating denominator.
53300 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53301 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53302 down expression to avoid unexpected rounding in newer GCCs.
53303 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53304
53305 2012-04-26 David S. Miller <davem@davemloft.net>
53306
53307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53308 long-double compat symbols.
53309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53322
53323 2012-04-25 David S. Miller <davem@davemloft.net>
53324
53325 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53326 HWCAP_* values only after the memory barriers have been defined.
53327 (atomic_full_barrier): Define.
53328 (atomic_read_barrier): Define.
53329 (atomic_write_barrier): Define.
53330
53331 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53332
53333 * shlib-versions: Add libgcc_s version information.
53334 * sysdeps/generic/libgcc_s.h: Remove.
53335 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53336 libgcc_s.h.
53337 * sysdeps/gnu/unwind-resume.c: Likewise.
53338 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53339
53340 2012-04-25 David S. Miller <davem@davemloft.net>
53341
53342 * sysdeps/unix/sparc/brk.S: Delete.
53343 * sysdeps/unix/sparc/dl-brk.S: Delete.
53344 * sysdeps/unix/sparc/pipe.S: Delete.
53345 * sysdeps/unix/sparc/sysdep.S: Delete.
53346 * sysdeps/unix/sparc/sysdep.h: Delete.
53347 * sysdeps/unix/sparc/vfork.S: Delete.
53348 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53349 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53350 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53351 (ret_ERRVAL, r0, r1, MOVE): Define.
53352 (JUMPTARGET): Remove.
53353 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53354 sysdeps/unix/sparc/sysdep.h
53355 (ENTRY, END): Remove.
53356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53357
53358 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53359
53360 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53361 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53362 -DIS_IN_build.
53363
53364 * timezone/README: Update upstream location and email address for
53365 tzcode and tzdata.
53366 * timezone/zdump.c: Update from tzcode 2012b.
53367 * timezone/zic.c: Likewise.
53368
53369 * configure.in (libc_cv_as_needed): Remove test.
53370 * configure: Regenerated.
53371 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53372 conditional definition.
53373 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53374 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53375 * config.make.in (have-as-needed): Remove variable.
53376
53377 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53378 Paul Pluzhnikov <ppluzhnikov@google.com>
53379
53380 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53381 strings correctly.
53382
53383 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53384
53385 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53386 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53387 * sysdeps/sh/strlen.S: Likewise.
53388
53389 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53390
53391 * sysdeps/unix/fork.S: Remove file.
53392 * sysdeps/unix/i386/fork.S: Likewise.
53393 * sysdeps/unix/sparc/fork.S: Likewise.
53394
53395 * sysdeps/unix/system.c: Remove file.
53396 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53397
53398 * sysdeps/unix/getegid.S: Remove file.
53399 * sysdeps/unix/geteuid.S: Likewise.
53400
53401 2012-04-24 Roland McGrath <roland@hack.frob.com>
53402
53403 * scripts/check-localplt.awk: New file.
53404 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53405 of diff.
53406 * scripts/data/localplt-generic.data: Add a comment.
53407
53408 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53409 NODE when __dir_mkfile failed.
53410 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53411 Reported by Ludovic Courtès <ludo@gnu.org>.
53412
53413 2012-04-24 Andreas Jaeger <aj@suse.de>
53414
53415 * Makerules (common-clean): Also remove gen-as-const-headers
53416 files.
53417
53418 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53419
53420 * Makerules (native-compile): Do not change working directory for
53421 build. Use $(OUTPUT_OPTION) in command.
53422 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53423
53424 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53425
53426 [BZ #13886]
53427 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53428 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53429 * math/libm-test.inc (floor_test): Add more tests.
53430 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53431
53432 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53433
53434 * sysdeps/unix/getdents.c: Remove file.
53435 * sysdeps/unix/sysv/getdents.c: Likewise.
53436 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53437
53438 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53439 sysdeps/unix/mman/syscalls.list.
53440 (mmap): Likewise.
53441 (mprotect): Likewise.
53442 (msync): Likewise.
53443 (munmap): Likewise.
53444 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53445 * sysdeps/unix/mman/syscalls.list: Remove.
53446 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53447
53448 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53449 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53450 * configure: Regenerated.
53451 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53452 $(libgcc_s_suffix).
53453 * config.make.in (libgcc_s_suffix): Remove variable.
53454
53455 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53456
53457 * sysdeps/unix/sysv/gethostname.c: Move to ...
53458 * sysdeps/posix/gethostname.c: ... here.
53459
53460 * sysdeps/unix/execve.S: Remove file.
53461
53462 * sysdeps/unix/_exit.S: Remove file.
53463
53464 2012-04-23 Andreas Jaeger <aj@suse.de>
53465
53466 [BZ #13739]
53467 * manual/Makefile: Remove make dist support, there's no
53468 need for a stand-alone documentation tar ball.
53469 (TEXI2DVI): Define always, it's not in Makeconfig.
53470 (dist): Removed.
53471 (tar-it): Removed.
53472 (edition): Removed.
53473 (glibc-doc-$(edition).tar): Removed
53474 (%.Z): Removed.
53475 (%.gz): Removed.
53476 (%.uu): Removed.
53477 (ETAGS): Remove, it's in Makeconfig.
53478 (move-if-change): Remove, it's in Makeconfig.
53479
53480 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53481
53482 [BZ #13970]
53483 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53484 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53485 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53486 (strtod_l, strtof_l, strtold_l): Remove __wur.
53487 It is not necessarily an error to ignore strtol's return value.
53488 One can reliably look at the stored endptr to decide whether
53489 the number had valid syntax.
53490
53491 2012-04-21 Andreas Jaeger <aj@suse.de>
53492
53493 [BZ #13739]
53494 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53495
53496 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53497
53498 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53499 * sysdeps/unix/sysv/Versions: Remove file.
53500
53501 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53502
53503 [BZ #13927]
53504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53505
53506 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53507
53508 [BZ #7064]
53509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53510 version from __vm86.
53511
53512 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53513
53514 * sysdeps/unix/common/lxstat.c: Remove file.
53515 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53516
53517 * sysdeps/unix/sysv/Makefile: Remove file.
53518
53519 * sysdeps/unix/sysv/direct.h: Remove file.
53520
53521 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53522 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53523 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53524 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53525 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53526 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53527 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53528
53529 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53530
53531 * sysdeps/unix/xmknod.c: Remove file.
53532 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53533
53534 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53535
53536 * sysdeps/unix/sysv/i386/time.S: Remove file.
53537
53538 * sysdeps/unix/fxstat.c: Remove file.
53539 * sysdeps/unix/xstat.c: Likewise.
53540 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53541
53542 * sysdeps/unix/sysv/sigaction.c: Remove file.
53543
53544 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53545 (sysdep_headers): Remove variable.
53546 [termio.h not in sysdep_headers] (generated): Likewise.
53547 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53548 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53549 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53550 * sysdeps/unix/sysv/tcflow.c: Likewise.
53551 * sysdeps/unix/sysv/tcflush.c: Likewise.
53552 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53553 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53554 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53555 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53556 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53557
53558 * sysdeps/unix/siglist.c: Remove file.
53559
53560 * sysdeps/unix/getppid.S: Remove file.
53561
53562 * sysdeps/unix/mkdir.c: Remove file.
53563 * sysdeps/unix/rmdir.c: Likewise.
53564
53565 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53566
53567 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53568 ERR_MAX value.
53569 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53570 errlist-compat value.
53571
53572 2012-04-18 David S. Miller <davem@davemloft.net>
53573
53574 * sysdeps/generic/memcopy.h (reg_char): Delete.
53575 * debug/strcat_chk.c: Use char, not reg_char.
53576 * debug/strcpy_chk.c: Likewise.
53577 * debug/strncat_chk.c: Likewise.
53578 * debug/strncpy_chk.c: Likewise.
53579 * string/memchr.c: Likewise.
53580 * string/memrchr.c: Likewise.
53581 * string/rawmemchr.c: Likewise.
53582 * string/strcat.c: Likewise.
53583 * string/strchr.c: Likewise.
53584 * string/strchrnul.c: Likewise.
53585 * string/strcmp.c: Likewise.
53586 * string/strcpy.c: Likewise.
53587 * string/strncat.c: Likewise.
53588 * string/strncmp.c: Likewise.
53589 * string/strncpy.c: Likewise.
53590
53591 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53592
53593 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53594 __builtin_memcopy is called when src and dest ranges are known to not
53595 overlap.
53596
53597 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53598
53599 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53600 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53601 fwd_align_merge macro call.
53602 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53603 bwd_align_merge macro call.
53604 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53605
53606 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53607
53608 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53609 bwd_align_merge macros.
53610 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53611 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53612 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53613
53614 2012-04-18 David S. Miller <davem@davemloft.net>
53615
53616 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53617
53618 2012-04-18 Andreas Jaeger <aj@suse.de>
53619
53620 [BZ# 6794]
53621 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53622 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53623 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53624
53625 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53626 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53627 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53628
53629 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53630 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53631 Adjust for changed ldbl-128 files.
53632
53633 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53634 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53635 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53636
53637 2012-04-17 David S. Miller <davem@davemloft.net>
53638
53639 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53640
53641 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53642
53643 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53644 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53645 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53646 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53647 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53648 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53649
53650 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53651
53652 [BZ #6794]
53653 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53654 * math/libm-test.inc: Add ilogb errno and exception tests.
53655 * math/w_ilogb.c: New file: ilogb wrapper.
53656 * math/w_ilogbf.c: New file: ilogbf wrapper.
53657 * math/w_ilogbl.c: New file: ilogbl wrapper.
53658 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53659 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53660 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53661 exception being thrown with 0.0 as argument.
53662 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53663 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53664 exception being thrown with 0.0 as argument.
53665 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53666 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53667 exception being thrown with 0.0 as argument.
53668 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53669 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53670 exception being thrown with 0.0 as argument.
53671 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53672 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53673 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53674 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53675 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53676 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53677 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53678 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53679 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53680
53681 2012-04-17 Petr Baudis <pasky@ucw.cz>
53682
53683 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53684 with altivec.
53685
53686 2012-04-16 Marek Polacek <polacek@redhat.com>
53687
53688 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53689
53690 2012-04-16 Marek Polacek <polacek@redhat.com>
53691
53692 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53693 operands of fdivp instruction.
53694
53695 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53696
53697 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53698 * elf/tst-auditmod3b.c: Likewise.
53699 * elf/tst-auditmod4b.c: Likewise.
53700 * elf/tst-auditmod5b.c: Likewise.
53701 * elf/tst-auditmod6b.c: Likewise.
53702 * elf/tst-auditmod6c.c: Likewise.
53703 * elf/tst-auditmod7b.c: Likewise.
53704 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53705 * sysdeps/x86_64/preconfigure.in: Likewise.
53706 * sysdeps/x86_64/preconfigure: Regenerated.
53707
53708 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53709
53710 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53711 __ILP32__.
53712
53713 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53714
53715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53716 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53717
53718 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53719
53720 [BZ #13973]
53721 * locale/iso-639.def: Fix gl language name. Spotted by
53722 Yaron Shahrabani.
53723
53724 2012-04-12 Roland McGrath <roland@hack.frob.com>
53725
53726 [BZ #2074]
53727 * libio/libio.h (__io_write_fn): Update comment.
53728
53729 2012-04-12 Petr Baudis <pasky@ucw.cz>
53730
53731 [BZ #2074]
53732 * stdio.texi (Hook Functions): The user provided writer function
53733 is not allowed to return -1.
53734
53735 2012-04-11 David S. Miller <davem@davemloft.net>
53736
53737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53738
53739 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53740
53741 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53742 Add a leading slash to rtkaio.
53743
53744 2012-04-11 Jim Meyering <meyering@redhat.com>
53745
53746 [BZ #11959]
53747 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53748 It is not necessarily an error to ignore fwrite's return
53749 value. One can reliably use ferror to test for errors after
53750 the fact.
53751
53752 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53753
53754 * bits/types.h (__snseconds_t): New type.
53755 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53756
53757 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53759 (__SNSECONDS_T_TYPE): Likewise.
53760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53761 (__SNSECONDS_T_TYPE): Likewise.
53762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53763 (__SNSECONDS_T_TYPE): Likewise.
53764
53765 2012-04-10 Andreas Jaeger <aj@suse.de>
53766
53767 [BZ #2636]
53768 * manual/time.texi (Processor Time): Return type of times is
53769 elapsed real time since an arbitrary point in the past.
53770 (CPU Time): Move CLK_TCK from here...
53771 (Processor Time): ...to here. Correct description.
53772 * manual/conf.texi (Constants for Sysconf): Correct description of
53773 _SC_CLK_TCK.
53774
53775 2012-04-10 David S. Miller <davem@davemloft.net>
53776
53777 [BZ #13967]
53778 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53779 where the is a gap between DT_REL(A) and DT_JMPREL.
53780
53781 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53782
53783 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53784 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53785 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53786
53787 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53788
53789 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53790 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53791 (dl_main): Handle --inhibit-cache.
53792 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53793 _dl_inhibit_cache.
53794 * elf/dl-load.c (_dl_map_object): Use it.
53795 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53796
53797 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53798
53799 [BZ #13872]
53800 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53801 (__ieee754_powl): Saturate large exponents rather than testing for
53802 overflow of y*log2(x).
53803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53804 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53805 exceptions.
53806
53807 [BZ #11521]
53808 * math/s_ctan.c: Include <float.h>.
53809 (__ctan): Avoid internal overflow or cancellation in calculating
53810 denominator.
53811 * math/s_ctanf.c: Likewise.
53812 * math/s_ctanl.c: Likewise.
53813 * math/s_ctanh.c: Likewise.
53814 * math/s_ctanhf.c: Likewise.
53815 * math/s_ctanhl.c: Likewise.
53816 * math/libm-test.inc (ctan_test): Add more tests.
53817 (ctanh_test): Likewise.
53818 * sysdeps/i386/fpu/libm-test-ulps: Update.
53819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53820
53821 2012-04-09 Andreas Jaeger <aj@suse.de>
53822
53823 [BZ #6894]
53824 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53825 is an optional BSD extension.
53826
53827 [BZ #10254]
53828 * manual/stdio.texi (Opening Streams): Document additional fopen
53829 parameters.
53830
53831 2012-04-09 Roland McGrath <roland@hack.frob.com>
53832
53833 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53834 %eax without telling the compiler.
53835
53836 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53837
53838 [BZ # 13963]
53839 * manual/install.texi: Use sourceware.org.
53840
53841 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53842
53843 [BZ #13873]
53844 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53845 (__ieee754_pow): Generate overflow and underflow using huge*huge
53846 and tiny*tiny rather than just returning constant infinity or zero
53847 for large exponents.
53848 * math/libm-test.inc (pow_test): Require overflow exceptions for
53849 applicable cases of large exponents.
53850
53851 [BZ #706]
53852 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53853 (__ieee754_pow): Use iterative multiplication algorithm only for
53854 integer exponents with absolute value below 1024. Check for odd
53855 integer exponents when using algorithm for real exponents.
53856 * math/libm-test.inc (pow_test): Add more tests.
53857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53858
53859 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53860
53861 [BZ #13705]
53862 * math/libm-test.inc (exp_test): Do not allow overflow exception
53863 on underflow test.
53864
53865 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53866
53867 [BZ #13705]
53868 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53869 instead of __kernel_standard_f.
53870
53871 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53872
53873 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53874 * sysdeps/x86_64/memset_chk.S: Likewise.
53875
53876 2012-04-08 Andreas Jaeger <aj@suse.de>
53877
53878 [BZ #10153]
53879 * manual/startup.texi (Environment Access): Describe return value
53880 for putenv and setenv.
53881
53882 [BZ #6895]
53883 * manual/filesys.texi (Directory Entries): Add description for
53884 DT_LNK.
53885
53886 [BZ #6890]
53887 * manual/filesys.texi (Directory Entries): Clarify that it's file
53888 system not operating system in the description of DT_UNKNOWN.
53889
53890 [BZ #6578]
53891 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53892
53893 2012-04-08 Stephen Compall <s11@member.fsf.org>
53894
53895 [BZ #6649]
53896 * manual/llio.texi (Opening and Closing Files): Add cross
53897 reference to explain mode argument.
53898
53899 2012-04-07 Mike Frysinger <vapier@gentoo.org>
53900
53901 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53902 * sysdeps/x86_64/memset_chk.S: Likewise.
53903
53904 2012-04-07 David S. Miller <davem@davemloft.net>
53905
53906 * elf/elf.h (R_SPARC_WDISP10): Define.
53907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53908 R_SPARC_SIZE32.
53909 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53910 R_SPARC_SIZE64 and R_SPARC_H34.
53911
53912 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
53913
53914 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53915 conditions and remove no longer applicable assertion.
53916
53917 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53918
53919 * bits/byteswap.h: Include <features.h>.
53920 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53921 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53922
53923 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53924
53925 * bits/byteswap.h (__bswap_16): Removed.
53926 Include <bits/byteswap-16.h> to get __bswap_16.
53927 * sysdeps/i386/bits/byteswap.h: Likewise.
53928 * sysdeps/s390/bits/byteswap.h: Likewise.
53929 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53930 * bits/byteswap-16.h: New file.
53931 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53932 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53933 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53934 * string/Makefile (headers): Add bits/byteswap-16.h.
53935
53936 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53937
53938 [BZ #13895]
53939 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53940 extra indirection.
53941 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53942 * nss/tst-nss-static.c: New.
53943
53944 2012-04-06 Robert Millan <rmh@gnu.org>
53945
53946 [BZ #6486]
53947 * manual/llio.texi (File Position Primitive): lseek
53948 refers to WHENCE when it really means OFFSET.
53949
53950 2012-04-06 Andreas Jaeger <aj@suse.de>
53951
53952 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53953 strncmp declarations.
53954
53955 * abilist/libc.abilist: Add __poll and __ppoll.
53956
53957 2012-04-05 David S. Miller <davem@davemloft.net>
53958
53959 * scripts/check-local-headers.sh: Accept a host triplet in the
53960 path matched by the exclude regexp.
53961
53962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53963 definition.
53964 * sysdeps/powerpc/powerpc32/dl-machine.h
53965 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53966 * sysdeps/s390/s390-32/dl-machine.h
53967 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53968 * sysdeps/sparc/sparc32/dl-machine.h
53969 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53970 * sysdeps/sparc/sparc64/dl-machine.h
53971 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53972
53973 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53974 lazy binding.
53975 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53976 undefined symbol errors.
53977
53978 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53979 DT_NEEDED entries.
53980
53981 2012-04-05 Michael Matz <matz@suse.de>
53982
53983 [BZ #13592]
53984 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53985
53986 2012-04-05 Andreas Jaeger <aj@suse.de>
53987
53988 [BZ #13908]
53989 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53990 comment.
53991
53992 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53993
53994 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53995 which ROUND is no valid rounding mode.
53996
53997 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53998
53999 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54000 read again.
54001 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54002
54003 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54004
54005 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54006 an exception using FPU order intentionally.
54007
54008 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54009
54010 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54011 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54012 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54013 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54014
54015 2012-04-05 Simon Josefsson <simon@josefsson.org>
54016
54017 [BZ #12340]
54018 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54019 EINVAL when BUFLEN is too smal.
54020
54021 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54022
54023 [BZ #13553]
54024 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54025 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54026
54027 2012-04-03 Andreas Jaeger <aj@suse.de>
54028
54029 [BZ #13938]
54030 * manual/setjmp.texi (System V contexts): Fix sentence.
54031
54032 [BZ #13926]
54033 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54034 New macro for this case.
54035 [!__GNUC__] (__bswap_64): New inline function for this case.
54036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54037 * bits/byteswap.h: Likewise.
54038 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54039 ull, guard with __GLIBC_HAVE_LONG_LONG.
54040
54041 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54042 __GLIBC_HAVE_LONG_LONG.
54043
54044 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54045 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54046
54047 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54048
54049 [BZ #13691]
54050 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54051 inptr and inend, rather than using last_ch.
54052
54053 2012-04-02 David S. Miller <davem@davemloft.net>
54054
54055 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54056 * stdio-common/printf-parse.h (read_int): Change return type to
54057 'int', return -1 on INT_MAX overflow.
54058 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54059 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54060 overflows INT_MAX. Check for overflow of in-format-string precision
54061 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54062 SIZE_MAX not INT_MAX for integer overflow test.
54063 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54064 skip the construct in the format string but do not record anything.
54065 * stdio-common/bug22.c: Adjust to test both width/prevision
54066 INT_MAX overflow as well as total length INT_MAX overflow. Check
54067 explicitly for proper errno values.
54068
54069 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54070
54071 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54072 CHAR_MAX.
54073 * string/test-strcmp.c [! WIDE]: Likewise.
54074 * time/tst-mktime2.c: Likewise for INT_MAX.
54075 * string/test-string.h: #include <sys/param.h> for MIN.
54076
54077 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54078 * sysdeps/i386/init-first.c (init): Likewise.
54079 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54080 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54081 * sysdeps/sh/init-first.c (init): Likewise.
54082
54083 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54084
54085 * po/ru.po: Update from translation team.
54086 * po/vi.po: Likewise.
54087
54088 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54089
54090 * resolv/nss_dns/dns-host.c: Merge copyright years.
54091
54092 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54093
54094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54095 Optimize memcpy with prefetch if
54096 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54097 src, dst pointers have unequal 16 byte alignments.
54098
54099 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54100
54101 [BZ #13928]
54102 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54103 from a CNAME entry and return the minimum ttl for the query.
54104 (gaih_getanswer_slice): Likewise.
54105
54106 2012-03-30 Jeff Law <law@redhat.com>
54107
54108 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54109 due to long keys.
54110 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54111 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54112
54113 * resolv/nss_dns/dns-host.c: Update copyright year.
54114
54115 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54116
54117 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54118 requests to save a system call. Fix check that all bytes are sent.
54119
54120 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54121 comments for sendmmsg.
54122
54123 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54124
54125 [BZ #13691]
54126 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54127 with only 1 character between 0x0041 and 0x01b0.
54128 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54129 * wcsmbs/tst-mbsnrtowcs.c: New file.
54130
54131 2012-03-29 David S. Miller <davem@davemloft.net>
54132
54133 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54134 small copies by hand.
54135
54136 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54137
54138 [BZ #13761]
54139 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54140 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54141 group memberships.
54142
54143 2012-03-28 David S. Miller <davem@davemloft.net>
54144
54145 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54146 that branches into memcpy.
54147 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54149 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54150 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54152 bits.
54153 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54154 implementation too.
54155 * sysdeps/sparc/mempcpy.S: New file.
54156
54157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54158 the IFUNC routine in the libc case.
54159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54160
54161 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54162 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54163 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54164 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54165 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54166 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54167 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54168 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54169
54170 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54171 loop to 256 bytes instead of 64 bytes and fix test signedness.
54172
54173 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54174 * sysdeps/sparc/sparc32/Makefile: rather than here...
54175 * sysdeps/sparc/sparc64/Makefile: and here.
54176
54177 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54178
54179 * malloc/mallocbug.c: Avoid warnings about unused variables.
54180
54181 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54182
54183 [BZ #13760]
54184 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54185 in the right place. Discard and retry query if response is
54186 larger than input buffer size.
54187
54188 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54189
54190 [BZ #369]
54191 [BZ #2678]
54192 [BZ #3866]
54193 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54194 x for large integer exponent.
54195 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54196 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54197 sign of result as needed afterwards.
54198 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54199 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54200 result for underflowing pow the same as for overflow.
54201 (__kernel_standard_l): Handle powl overflow and underflow here
54202 rather than calling __kernel_standard.
54203 * math/libm-test.inc (pow_test): Add more tests.
54204
54205 [BZ #3868]
54206 [BZ #13879]
54207 [BZ #13910]
54208 [BZ #13911]
54209 [BZ #13912]
54210 [BZ #13913]
54211 [BZ #13915]
54212 [BZ #13916]
54213 [BZ #13917]
54214 [BZ #13918]
54215 [BZ #13919]
54216 [BZ #13920]
54217 [BZ #13921]
54218 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54219 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54220 (__kernel_standard_l): New function.
54221 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54222 __kernel_standard.
54223 * math/w_acosl.c (__acosl): Likewise.
54224 * math/w_asinl.c (__asinl): Likewise.
54225 * math/w_atan2l.c (__atan2l): Likewise.
54226 * math/w_atanhl.c (__atanhl): Likewise.
54227 * math/w_coshl.c (__coshl): Likewise.
54228 * math/w_exp10l.c (__exp10l): Likewise.
54229 * math/w_exp2l.c (__exp2l): Likewise.
54230 * math/w_fmodl.c (__fmodl): Likewise.
54231 * math/w_hypotl.c (__hypotl): Likewise.
54232 * math/w_j0l.c (__j0l, __y0l): Likewise.
54233 * math/w_j1l.c (__j1l, __y1l): Likewise.
54234 * math/w_jnl.c (__jnl, __ynl): Likewise.
54235 * math/w_lgammal.c (__lgammal): Likewise.
54236 * math/w_log10l.c (__log10l): Likewise.
54237 * math/w_log2l.c (__log2l): Likewise.
54238 * math/w_logl.c (__logl): Likewise.
54239 * math/w_powl.c (__powl): Likewise.
54240 * math/w_remainderl.c (__remainderl): Likewise.
54241 * math/w_scalbl.c (sysv_scalbl): Likewise.
54242 * math/w_sinhl.c (__sinhl): Likewise.
54243 * math/w_sqrtl.c (__sqrtl): Likewise.
54244 * math/w_tgammal.c (__tgammal): Likewise.
54245 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54246 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54247 * math/libm-test.inc (acos_test): Add more tests.
54248 (acosh_test): Likewise.
54249 (asin_test): Likewise.
54250 (atanh_test): Likewise.
54251 (exp_test): Likewise.
54252 (exp10_test): Likewise.
54253 (exp2_test): Likewise.
54254 (expm1_test): Likewise.
54255 (lgamma_test): Likewise.
54256 (log_test): Likewise.
54257 (log10_test): Likewise.
54258 (log1p_test): Likewise.
54259 (log2_test): Likewise.
54260 (pow_test): Do not allow some spurious overflow exceptions.
54261 (sqrt_test): Add more tests.
54262 (tgamma_test): Likewise.
54263 (y0_test): Likewise.
54264 (y1_test): Likewise.
54265 (yn_test): Likewise.
54266
54267 2012-03-27 Anton Blanchard <anton@samba.org>
54268
54269 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54270 MAP_HUGETLB.
54271 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54272 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54273 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54274
54275 2012-03-27 David S. Miller <davem@davemloft.net>
54276
54277 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54278
54279 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54280 have-as-vis3 check.
54281
54282 2012-03-27 Andreas Jaeger <aj@suse.de>
54283
54284 * sysdeps/x86_64/elf/configure.in: Moved to ...
54285 * sysdeps/x86_64/configure.in: ... here.
54286 * sysdeps/x86_64/elf/start.S: Moved to ...
54287 * sysdeps/x86_64/start.S: ... here.
54288 * sysdeps/x86_64/elf/configure: Delete.
54289
54290 * sysdeps/x86_64/configure.in: Merge contents from
54291 sysdeps/i386/configure.in (without i686 check).
54292
54293 * sysdeps/i386/elf/Versions: Merge into ...
54294 * sysdeps/i386/Versions: ... this.
54295 * sysdeps/i386/elf/Versions: Delete file.
54296 * sysdeps/i386/elf/start.S: Moved to ...
54297 * sysdeps/i386/start.S: ...here.
54298 * sysdeps/i386/elf/configure.in: Merge into...
54299 * sysdeps/i386/configure.in: ...here.
54300 * sysdeps/i386/elf/configure.in: Delete file.
54301 * sysdeps/i386/elf/configure: Delete file.
54302
54303 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54304 * debug/backtracesyms.c: ... here.
54305 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54306 * debug/backtracesymsfd.c: ... here.
54307 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54308 * sysdeps/generic/ifunc-sel.h: ... here.
54309
54310 * sysdeps/unix/i386/start.c: Delete file.
54311 * sysdeps/unix/sparc/start.c: Delete file.
54312 * sysdeps/unix/start.c: Delete file.
54313
54314 * sysdeps/sh/elf/configure.in: Moved to ...
54315 * sysdeps/sh/configure.in: ... here.
54316 * sysdeps/sh/elf/start.S: Moved to ...
54317 * sysdeps/sh/start.S: ... here.
54318 * sysdeps/sh/elf/configure: Delete file.
54319
54320 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54321 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54322 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54323 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54324 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54325 * sysdeps/powerpc/powerpc64/start.S: here.
54326 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54327 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54328 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54329 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54330 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54331
54332 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54333 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54334 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54335 * sysdeps/powerpc/powerpc32/start.S: ... here.
54336 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54337 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54338 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54339
54340 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54341 * sysdeps/powerpc/ifunc-sel.h: ... here.
54342 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54343 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54344
54345 * sysdeps/sparc/elf/configure.in: Moved to ...
54346 * sysdeps/sparc/configure.in: ... here.
54347 * sysdeps/sparc/elf/configure: Delete file.
54348 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54349 * sysdeps/sparc/sparc32/start.S: ... here.
54350 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54351 * sysdeps/sparc/sparc64/start.S: ... here.
54352 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54353 * sysdeps/sparc/sparc32/Makefile: ... this.
54354 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54355 * sysdeps/sparc/sparc64/Makefile: ... this.
54356
54357 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54358 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54359 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54360 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54361 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54362 * sysdeps/s390/s390-32/setjmp.S: ... here.
54363 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54364 * sysdeps/s390/s390-32/configure.in: ... here.
54365 * sysdeps/s390/s390-32/elf/configure: Delete file.
54366 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54367 * sysdeps/s390/s390-32/start.S: ... here.
54368
54369 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54370 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54371 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54372 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54373 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54374 * sysdeps/s390/s390-64/setjmp.S: ... here.
54375 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54376 * sysdeps/s390/s390-64/configure.in: ... here
54377 * sysdeps/s390/s390-64/elf/configure: Delete file.
54378 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54379 * sysdeps/s390/s390-64/start.S: ... here.
54380 * sysdeps/s390/s390-64/elf/configure: Delete.
54381
54382 * configure.in: Remove support for elf directories in sysdeps.
54383
54384 * configure: Regenerated.
54385 * sysdeps/i386/configure: Regenerated.
54386 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54387 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54388 * sysdeps/s390/s390-32/configure: Regenerated.
54389 * sysdeps/s390/s390-64/configure: Regenerated.
54390 * sysdeps/sh/configure: Regenerated.
54391 * sysdeps/sparc/configure: Regenerated.
54392 * sysdeps/x86_64/configure: Regenerated.
54393
54394 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54395
54396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54397
54398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54399 denormal result into account.
54400
54401 2012-03-25 Roland McGrath <roland@hack.frob.com>
54402
54403 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54404 Reported by Allan McRae <allan@archlinux.org>.
54405
54406 2012-03-23 Jeff Law <law@redhat.com>
54407
54408 * nss/getnssent.c (__nss_getent): Fix typo.
54409
54410 2012-03-23 David S. Miller <davem@davemloft.net>
54411
54412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54413
54414 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54415
54416 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54417 to pad to uint64_t for each field.
54418 (dl_tls_index): Replace unsigned long with uint64_t.
54419
54420 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54421 Paul Pluzhnikov <ppluzhnikov@google.com>
54422
54423 [BZ #6528]
54424 * grp/Makefile (otherlibs): Don't set it.
54425 * inet/Makefile (otherlibs): Likewise.
54426 * login/Makefile (otherlibs): Likewise.
54427 * nscd/Makefile (otherlibs): Likewise.
54428 * posix/Makefile (otherlibs): Likewise.
54429 * pwd/Makefile (otherlibs): Likewise.
54430 * rt/Makefile (otherlibs): Likewise.
54431 * sunrpc/Makefile (otherlibs): Likewise.
54432 * nss/Makefile (otherlibs): Likewise.
54433 Add libnss_files to routines and static-only-routines.
54434 ($(objpfx)getent): Remove rule.
54435 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54436 static-only-routines.
54437
54438 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54439
54440 [BZ #13892]
54441 * math/s_cexp.c: Include <float.h>.
54442 (__cexp): Handle exp result overflowing not necessarily
54443 overflowing both real and imaginary parts of result.
54444 * math/s_cexpf.c: Likewise.
54445 * math/s_cexpl.c: Likewise.
54446 * math/libm-test.inc (cexp_test): Add more tests.
54447 * sysdeps/i386/fpu/libm-test-ulps: Update.
54448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54449
54450 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54451
54452 * include/link.h (ELFW): New macro.
54453 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54454 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54455
54456 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54457
54458 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54459 with uint64_t.
54460
54461 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54462
54463 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54464 declaration.
54465 (struct La_x32_retval): Likewise.
54466
54467 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54468
54469 * sysdeps/x86_64/preconfigure.in: New file.
54470 * sysdeps/x86_64/preconfigure: New generated file.
54471
54472 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54473
54474 [BZ #13824]
54475 * math/e_exp2l.c: Include <float.h>.
54476 (__ieee754_exp2l): Handle overflow and underflow cases
54477 separately. Only pass fractional part of argument to
54478 __ieee754_expl.
54479 * math/libm-test.inc (exp2_test): Add more tests.
54480
54481 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54482 negating x to take absolute value.
54483 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54484 Likewise.
54485 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54486 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54487 Likewise.
54488 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54489 computing low part if x was negated.
54490 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54491
54492 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54493
54494 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54495 la_x32_gnu_pltexit.
54496 (pltexit): Cast int_retval to ptrdiff_t.
54497 * elf/tst-auditmod3b.c: Likewise.
54498 * elf/tst-auditmod4b.c: Likewise.
54499 * elf/tst-auditmod5b.c: Likewise.
54500 * elf/tst-auditmod6b.c: Likewise.
54501 * elf/tst-auditmod6c.c: Likewise.
54502 * elf/tst-auditmod7b.c: Likewise.
54503
54504 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54505 and x32_gnu_pltexit.
54506
54507 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54508 __ELF_NATIVE_CLASS.
54509 (La_x32_regs): New macro.
54510 (La_x32_retval): Likewise.
54511 (la_x32_gnu_pltenter): New function prototype.
54512 (la_x32_gnu_pltexit): Likewise.
54513
54514 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54515
54516 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54517 exponent.
54518
54519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54520
54521 * configure.in (libc_cv_cc_nofma): Check for option to disable
54522 generation of FMA instructions.
54523 * configure: Regenerate.
54524 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54525 * sysdeps/ieee754/dbl-64/Makefile: New file.
54526 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54527 Remove brandred-fma4.
54528 (CFLAGS-brandred-fma4.c): Remove.
54529 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54530 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54531 define.
54532 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54533 define.
54534
54535 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54536
54537 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54538 LLONG_MAX != LONG_MAX.
54539 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54540 (_fitoa_word): Likewise.
54541 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54542 LLONG_MAX != LONG_MAX.
54543 * stdio-common/_itowa.h: Include <_itoa.h>.
54544 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54545 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54546 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54547 only if not defined.
54548 (_ITOA_WORD_TYPE): Likewise.
54549 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54550 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54551
54552 2012-03-21 David S. Miller <davem@davemloft.net>
54553
54554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54555
54556 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54557
54558 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54559 of x86_64 when setting libc_cv_slibdir, libdir and
54560 libc_cv_localedir.
54561 * sysdeps/unix/sysv/linux/configure: Regenerated.
54562
54563 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54564
54565 * manual/lang.texi (Old Varargs): Remove section.
54566 (How Variadic): Update menu.
54567 (va_start): Do not mention varargs.h.
54568
54569 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54570 Joseph Myers <joseph@codesourcery.com>
54571
54572 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54573 link test.
54574 * configure: Regenerated.
54575
54576 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54577
54578 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54579 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54580 conformtest.pl
54581
54582 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54583
54584 * NOTES: Remove.
54585 * Makefile (files-for-dist): Remove NOTES.
54586 (NOTES): Remove rule.
54587 * README: Don't refer to NOTES.
54588 * manual/creature.texi: Don't include macros.texi.
54589 * manual/intro.texi (creature.texi): Remove comment referring to
54590 NOTES.
54591
54592 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54593 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54594 * configure: Regenerated.
54595 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54596 LIBC_TRY_CC_OPTION.
54597 (libc_cv_as_i686): Likewise.
54598 (libc_cv_cc_avx): Likewise.
54599 (libc_cv_cc_sse2avx): Likewise.
54600 (libc_cv_cc_fma4): Likewise.
54601 (libc_cv_cc_novzeroupper): Likewise.
54602 * sysdeps/i386/configure: Regenerated.
54603
54604 [BZ #13883]
54605 * sysdeps/i386/fpu/s_cexp.S: Remove.
54606 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54607 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54608 * math/libm-test.inc (cexp_test): Add more tests.
54609 * sysdeps/i386/fpu/libm-test-ulps: Update.
54610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54611
54612 2012-03-21 Allan McRae <allan@archlinux.org>
54613
54614 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54615
54616 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54617
54618 [BZ #13871]
54619 * math/w_exp2.c: Do not include <float.h>.
54620 (o_threshold, u_threshold): Remove.
54621 (__exp2): Calculate result before checking finiteness and calling
54622 __kernel_standard.
54623 * math/w_exp2f.c: Likewise.
54624 * math/w_exp2l.c: Likewise.
54625 * math/libm-test.inc (exp2_test): Require overflow exception for
54626 1e6 input.
54627
54628 [BZ #3866]
54629 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54630 range of signed 64-bit integers before using fistpll. Remove
54631 checks for whether integers fit in mantissa bits.
54632 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54633 the range of signed 32-bit integers before using fistpl. Remove
54634 checks for whether integers fit in mantissa bits.
54635 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54636 (__ieee754_powl): Test for y outside the range of signed 64-bit
54637 integers before using fistpll. Reduce 64-bit values to 63-bit
54638 ones as needed.
54639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54640 divide-by-zero is raised for zero to large negative powers.
54641 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54642 (__ieee754_powl): Test for y outside the range of signed 64-bit
54643 integers before using fistpll. Reduce 64-bit values to 63-bit
54644 ones as needed.
54645 * math/libm-test.inc (pow_test): Add more tests.
54646
54647 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54648
54649 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54650 <stdio-common/_itoa.h>.
54651 * debug/segfault.c: Likewise.
54652 * elf/dl-cache.c: Likewise.
54653 * elf/dl-minimal.c: Likewise.
54654 * elf/dl-misc.c: Likewise.
54655 * elf/dl-sysdep.c: Likewise.
54656 * elf/dl-version.c: Likewise.
54657 * elf/rtld.c: Likewise.
54658 * hurd/hurdsock.c: Likewise.
54659 * hurd/lookup-retry.c: Likewise.
54660 * malloc/malloc.c: Likewise.
54661 * malloc/mtrace.c: Likewise.
54662 * nscd/nscd_getgr_r.c: Likewise.
54663 * nscd/nscd_getpw_r.c: Likewise.
54664 * nscd/nscd_getserv_r.c: Likewise.
54665 * posix/getopt_init.c: Likewise.
54666 * posix/wordexp.c: Likewise.
54667 * stdio-common/_itoa.c: Likewise.
54668 * stdio-common/printf_fphex.c: Likewise.
54669 * stdio-common/vfprintf.c: Likewise.
54670 * string/_strerror.c: Likewise.
54671 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54672 * sysdeps/i386/i686/hp-timing.h: Likewise.
54673 * sysdeps/mach/_strerror.c: Likewise.
54674 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54675 * sysdeps/mach/hurd/sethostid.c: Likewise.
54676 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54677 * sysdeps/mach/xpg-strerror.c: Likewise.
54678 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54679 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54680 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54681 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54682 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54683 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54684 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54685 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54686 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54687 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54688 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54689 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54690 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54691 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54692 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54693 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54694 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54695 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54696 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54697 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54698 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54699
54700 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54701
54702 * stdio-common/_itoa.h: Moved to ...
54703 * sysdeps/generic/_itoa.h: Here.
54704
54705 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54706
54707 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54708 instead of "_itoa.h" and "_itowa.h".
54709 * stdio-common/vfprintf.: Likewise.
54710
54711 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54712
54713 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54714 <bits/wordsize.h>.
54715 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54716 (__signbit): Likwise.
54717 (llrintf): Likwise.
54718 (llrint): Likwise.
54719
54720 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54721
54722 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54723 __WORDSIZE != 64.
54724
54725 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54726
54727 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54728 OVERFLOW_EXCEPTION_OK.
54729 * math/libm-test.inc ("Philosophy"): Update comment about
54730 exception testing.
54731 (OVERFLOW_EXCEPTION): Define.
54732 (OVERFLOW_EXCEPTION_OK): Likewise.
54733 (INVALID_EXCEPTION_OK): Renumber.
54734 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54735 (IGNORE_ZERO_INF_SIGN): Likewise.
54736 (test_exceptions): Handle FE_OVERFLOW.
54737 (exp10_test): Expect overflow exceptions.
54738 (exp2_test): Likewise.
54739 (expm1_test): Likewise.
54740 (nextafter_test): Likewise.
54741 (pow_test): Likewise.
54742 (scalbn_test): Likewise.
54743 (scalbln_test): Likewise.
54744
54745 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54746
54747 * sysdeps/x86_64/bits/atomic.h
54748 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54749 64bit integer.
54750 (atomic_exchange_acq): Likewise.
54751 (__arch_exchange_and_add_body): Likewise.
54752 (__arch_add_body): Likewise.
54753 (atomic_add_negative): Likewise.
54754 (atomic_add_zero): Likewise.
54755
54756 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54757
54758 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54759 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54760
54761 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54762
54763 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54764 Check __x86_64__ instead of __WORDSIZE.
54765
54766 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54767
54768 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54769
54770 2012-03-19 David S. Miller <davem@davemloft.net>
54771
54772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54773
54774 * sysdeps/sparc/fpu/fenv_private.h: New file.
54775 * sysdeps/sparc/fpu/math_private.h: Use it.
54776 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54777 Remove.
54778 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54779 (libc_feholdexcept_setroundl): Remove.
54780 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54781 Remove.
54782 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54783 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54784
54785 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54786
54787 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54788 int64_t instead of long int.
54789 (INSERT_WORDS64): Likwise.
54790
54791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54792
54793 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54794 _Unwind_GetCFA return to _Unwind_Ptr first.
54795
54796 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54797
54798 [BZ #13629]
54799 * math/s_clog.c: Include <float.h>.
54800 (__clog): Scale large or subnormal inputs.
54801 * math/s_clogf.c: Likewise.
54802 * math/s_clogl.c: Likewise.
54803 * math/s_clog10.c: Include <float.h>.
54804 (M_LOG10_2): Define.
54805 (__clog10): Scale large or subnormal inputs.
54806 * math/s_clog10f.c: Likewise.
54807 * math/s_clog10l.c: Likewise.
54808 * math/libm-test.inc (clog_test): Add more tests.
54809 (clog10_test): Likewise.
54810 * sysdeps/i386/fpu/libm-test-ulps: Update.
54811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54812
54813 [BZ #11451]
54814 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54815 x and y.
54816 * math/libm-test.inc (atan2_test): Add another test.
54817
54818 * Makerules (common-objdir-compile): Remove.
54819 * sysdeps/unix/Makefile (config-generated): Do not add
54820 $(unix-generated) to variable.
54821 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54822 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54823 Remove rule.
54824 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54825 Likewise.
54826 [generic bits/local_lim.h] (before-compile): Do not append to
54827 variable.
54828 [generic bits/local_lim.h] (common-generated): Likewise.
54829 [generic sys/param.h] (before-compile): Do not append to variable.
54830 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54831 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54832 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54833 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54834 include.
54835 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54836 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54837 [generic sys/param.h] ($(addprefix
54838 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54839 [generic sys/param.h] (common-generated): Do not append to
54840 variable.
54841 [generic sys/param.h] (sysdep_headers): Likewise.
54842 [generic bits/errno.h] (before-compile): Do not append to
54843 variable.
54844 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54845 rule.
54846 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54847 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54848 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54849 [generic bits/errno.h] (common-generated): Do not append to
54850 variable.
54851 [generic bits/ioctls.h] (before-compile): Do not append to
54852 variable.
54853 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54854 rule.
54855 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54856 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54857 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54858 rule.
54859 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54860 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54861 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54862 [generic bits/ioctls.h] (common-generated): Do not append to
54863 variable.
54864 [generic sys/syscall.h] (syscall.h): Remove variable.
54865 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54866 rule.
54867 [generic sys/syscall.h] (before-compile): Do not append to
54868 variable.
54869 [generic sys/syscall.h] (common-generated): Likewise.
54870 * sysdeps/unix/errnos-tmpl.c: Remove file.
54871 * sysdeps/unix/errnos.awk: Likewise.
54872 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54873 * sysdeps/unix/ioctls.awk: Likewise.
54874 * sysdeps/unix/mk-local_lim.c: Likewise.
54875 * sysdeps/unix/snarf-ioctls: Likewise.
54876
54877 2012-03-19 Richard Henderson <rth@twiddle.net>
54878
54879 * sysdeps/i386/fpu/fenv_private.h: New file.
54880 * sysdeps/i386/fpu/math_private.h: Use it.
54881 (math_opt_barrier, math_force_eval): Remove.
54882 (libc_feholdexcept_setround_53bit): Remove.
54883 (libc_feupdateenv_53bit): Remove.
54884 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54885 (math_opt_barrier, math_force_eval): Remove.
54886 (libc_feholdexcept): Remove.
54887 (libc_feholdexcept_setround): Remove.
54888 (libc_fetestexcept, libc_fesetenv): Remove.
54889 (libc_feupdateenv_test): Remove.
54890 (libc_feupdateenv, libc_feholdsetround): Remove.
54891 (libc_feresetround): Remove.
54892
54893 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54894 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54895
54896 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54897 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54898 (libc_feupdateenv_testl): New.
54899 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54900 (libc_feupdateenv_testf): New.
54901 (libc_feupdateenv): Use libc_feupdateenv_test.
54902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54904
54905 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54906 (libc_feholdsetroundf, libc_feholdsetroundl): New.
54907 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54908 (libc_feresetround_noex): New.
54909 (libc_feresetround_noexf): New.
54910 (libc_feresetround_noexl): New.
54911 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54912 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54913 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54914 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54915 SET_RESTORE_ROUND.
54916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54917 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54918 (__cos): Likewise.
54919 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54920 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54921 SET_RESTORE_ROUND_NOEX.
54922 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54923 SET_RESTORE_ROUND_NOEXF.
54924 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54925 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54926 (libc_feholdsetroundf): New.
54927 (libc_feresetround, libc_feresetroundf): New.
54928
54929 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54930 (libc_feholdexcept_setround_53bit): Convert from macro to function.
54931 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54932
54933 * sysdeps/generic/math_private.h: Include <fenv.h>.
54934 (default_libc_feholdexcept): New.
54935 (default_libc_feholdexcept_setround): New.
54936 (default_libc_fesetenv, default_libc_feupdateenv): New.
54937 (libc_feholdexcept): Only define if undefined.
54938 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54939 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54940 (libc_feholdexcept_setroundl): Likewise.
54941 (libc_feholdexcept_setround_53bit): Likewise.
54942 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54943 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54944 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54945 (libc_feupdateenv_53bit): Likewise.
54946 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54947 (libc_feholdexcept): Convert from macro to inline function.
54948 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54949 (libc_fesetenv, libc_feupdateenv): Likewise.
54950
54951 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54952 not previously defined.
54953 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54954 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54955 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54956 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54957 * sysdeps/ieee754/flt-32/math_private.h: New file.
54958 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54959 math_private.h below SET_FLOAT_WORD.
54960 (__isnan, __isinf_ns, __finite): Remove.
54961 (__isnanf, __isinf_nsf, __finitef): Remove.
54962
54963 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
54964
54965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54966
54967 2012-03-17 David S. Miller <davem@davemloft.net>
54968
54969 [BZ #6471]
54970 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54971 for 2.16.
54972
54973 2012-03-16 David S. Miller <davem@davemloft.net>
54974
54975 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54976 warnings.
54977
54978 [BZ #6471]
54979 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54980 properly.
54981 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54982 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54983 sysdep_routines when subdir is sysvipc.
54984 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54985 __getshmlba helper.
54986
54987 * sysdeps/sparc/fpu/libm-test/ulps: Update.
54988
54989 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54990
54991 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54992 [__LP64__].
54993
54994 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54995
54996 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54997 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54998 (__lround): Renamed to ...
54999 (__llround): This. Replace long int with long long int.
55000 Define lround functions as aliases of llround functions.
55001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55002
55003 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55004
55005 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55006 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55007 adresses to uintptr_t. Replace "long int" and "unsigned long
55008 int" with "greg_t" on va_arg.
55009
55010 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55011
55012 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55013 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55014
55015 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55016 Move e_machine check before EI_CLASS check. Handle x32
55017 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55018 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55019 SKIP_EM_IA_64 and include
55020 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55021
55022 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55023 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55024 (add_system_dir): New macro.
55025
55026 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55027 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55028
55029 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55030
55031 [BZ #2551]
55032 [BZ #2552]
55033 [BZ #2553]
55034 [BZ #2554]
55035 [BZ #2562]
55036 [BZ #2563]
55037 [BZ #2565]
55038 [BZ #2566]
55039 [BZ #2576]
55040 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55041 (y0): Likewise.
55042 * math/w_j0f.c (j0f): Likewise.
55043 (y0f): Likewise.
55044 * math/w_j0l.c (__j0l): Likewise.
55045 (__y0l): Likewise.
55046 * math/w_j1.c (j1): Likewise.
55047 (y1): Likewise.
55048 * math/w_j1f.c (j1f): Likewise.
55049 (y1f): Likewise.
55050 * math/w_j1l.c (__j1l): Likewise.
55051 (__y1l): Likewise.
55052 * math/w_jn.c (jn): Likewise.
55053 (yn): Likewise.
55054 * math/w_jnf.c (jnf): Likewise.
55055 (ynf): Likewise.
55056 * math/w_jnl.c (__jnl): Likewise.
55057 (__ynl): Likewise.
55058 * math/libm-test.inc (j0_test): Add more tests.
55059 (j1_test): Likewise.
55060 (jn_test): Likewise. Add trailing semicolon to existing test.
55061 (y0_test): Likewise.
55062 (y1_test): Likewise.
55063 * sysdeps/i386/fpu/libm-test-ulps: Update.
55064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55065
55066 [BZ #13851]
55067 [BZ #13854]
55068 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55069 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55070 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55071 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55072 (__tanl): Set errno for infinite argument.
55073 * sysdeps/i386/fpu/mptan.c: Remove.
55074 * sysdeps/i386/fpu/s_tan.S: Likewise.
55075 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55076 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55077 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55078 * math/libm-test.inc (tan_test): Add more tests and enable more
55079 tests for double and long double.
55080 * sysdeps/i386/fpu/libm-test-ulps: Update.
55081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55082
55083 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55084
55085 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55086 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55087
55088 2012-03-16 Roland McGrath <roland@hack.frob.com>
55089
55090 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55091 * configure.in: Use it for both main tree and add-ons.
55092 * configure: Regenerated.
55093
55094 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55095
55096 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55097
55098 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55099
55100 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55101 in comment.
55102
55103 [BZ #13851]
55104 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55105 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55106 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55107 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55108 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55109 infinite argument.
55110 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55112 != 0 for prec == 2.
55113 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55114 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55115 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55116 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55117 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55118 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55119 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55120 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55121 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55122 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55123 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55124 * math/libm-test.inc (cos_test): Add more tests and enable more
55125 tests for long double.
55126 (sin_test): Likewise.
55127 (sincos_test): Likewise.
55128 * sysdeps/i386/fpu/libm-test-ulps: Update.
55129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55130
55131 2012-03-16 David S. Miller <davem@davemloft.net>
55132
55133 * sysdeps/sparc/fpu/math_private.h: New file.
55134
55135 2012-03-15 David S. Miller <davem@davemloft.net>
55136
55137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55138 file.
55139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55141 file.
55142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55148 sysdep routines.
55149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55150
55151 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55152 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55153
55154 * sysdeps/sparc/sparc-ifunc.h: New file.
55155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55156 sparc-ifunc.h
55157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55159 Likewise.
55160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55161 Likewise.
55162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55166 Likewise.
55167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55172 Likewise.
55173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55174 Likewise.
55175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55196 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55197 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55199
55200 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55201
55202 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55203 scaling.
55204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55205
55206 2012-03-15 Andreas Jaeger <aj@suse.de>
55207
55208 [BZ #13852]
55209 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55210 ieee754/flt-32 implementation for sin, cos and sincos.
55211 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55212 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55213 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55214 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55215 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55216 ieee754/flt-32 implementation for tan.
55217
55218 * math/libm-test.inc (cos_test): Enable some large input tests for
55219 float as well
55220 (sin_test): Likewise.
55221 (sincos_test): Likewise.
55222 (tan_test): Add tests for large input.
55223
55224 * sysdeps/i386/fpu/libm-test-ulps: Update.
55225
55226 2012-03-15 Andreas Jaeger <aj@suse.de>
55227
55228 [BZ #13658]
55229 * math/libm-test.inc (cos_test): Add more test cases.
55230 (sin_test): Likewise.
55231 (sincos_test): Likewise.
55232
55233 2012-03-15 Andreas Jaeger <aj@suse.de>
55234
55235 [BZ #13837]
55236 * math/libm-test.inc (cos_test): Add a test case for large input
55237 value.
55238 (sin_test): Likewise.
55239 (sincos_test): Likewise.
55240
55241 2012-03-15 Andreas Jaeger <aj@suse.de>
55242 Joseph Myers <joseph@codesourcery.com>
55243
55244 [BZ #13658]
55245 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55246 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55247 * sysdeps/i386/fpu/branred.c: Likewise.
55248 * sysdeps/i386/fpu/dosincos.c: Likewise.
55249 * sysdeps/i386/fpu/mpa.c: Likewise.
55250 * sysdeps/i386/fpu/s_cos.S: Likewise.
55251 * sysdeps/i386/fpu/s_sin.S: Likewise.
55252 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55253 * sysdeps/i386/fpu/sincos32.c: Likewise.
55254
55255 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55256 Define.
55257 (libc_feupdateenv_53bit): Define.
55258 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55259 Define.
55260 (libc_feupdateenv_53bit): Define.
55261
55262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55263 53 bit (without extend i386 double precision).
55264
55265 * math/libm-test.inc (sincos_test): Add tests for large input.
55266 (sin): Likewise.
55267 (cos): Likewise.
55268
55269 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55270
55271 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55272
55273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55274
55275 2012-03-15 David S. Miller <davem@davemloft.net>
55276
55277 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55278 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55279 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55280 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55293 file.
55294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55296 file.
55297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55299 file.
55300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55302 file.
55303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55305 fmin/fmax sysdep routines.
55306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55307
55308 2012-03-14 David S. Miller <davem@davemloft.net>
55309
55310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55316 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55317 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55339 routines.
55340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55341 file.
55342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55344 file.
55345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55347 file.
55348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55350 file.
55351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55353 file.
55354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55356 file.
55357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55358 file.
55359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55360 file.
55361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55362 file.
55363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55364 New file.
55365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55366 file.
55367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55368 file.
55369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55371 file.
55372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55374 file.
55375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55377 file.
55378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55380 VIS3 routines.
55381
55382 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55383 New file.
55384
55385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55386
55387 * sysdeps/sparc/configure.in: New file.
55388 * sysdeps/sparc/configure: Generate.
55389 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55390 * configure: Regenerate.
55391 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55392 * config.make.in (have-as-vis3): New.
55393 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55394 available use -Av9d instead of -Av9a.
55395 * sysdeps/sparc/sparc64/Makefile: Likewise.
55396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55398 New file.
55399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55400 file.
55401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55402 New file.
55403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55404 file.
55405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55410
55411 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55412 fzeros/fnegs to load 0x80000000 into a float register instead of
55413 using the stack.
55414 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55415
55416 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55417
55418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55419 bits/syscall.h.
55420 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55421 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55422 ($(inst_includedir)/bits/syscall.h): Remove rule.
55423 ($(objpfx)bits/syscall.d): Include instead of
55424 $(objpfx)syscall-list.d.
55425 (generated): Change syscall-list.h and syscall-list.d to
55426 bits/syscall.h and bits/syscall.d.
55427
55428 2012-03-14 Roland McGrath <roland@hack.frob.com>
55429
55430 [BZ #13846]
55431 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55432
55433 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55434
55435 [BZ #13841]
55436 * math/s_csqrt.c: Include <float.h>.
55437 (__csqrt): Scale large or subnormal inputs.
55438 * math/s_csqrtf.c: Likewise.
55439 * math/s_csqrtl.c: Likewise.
55440 * math/libm-test.inc (csqrt_test): Add more tests.
55441 * sysdeps/i386/fpu/libm-test-ulps: Update.
55442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55443
55444 [BZ #13840]
55445 * math/libm-test.inc (hypot_test): Add more tests.
55446
55447 2012-03-13 David S. Miller <davem@davemloft.net>
55448
55449 [BZ #13840]
55450 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55451 double-precision for the calculation instead of scaling.
55452
55453 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55454
55455 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55456 manipulate bits before adding and subtracting TWO52[sx].
55457 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55458 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55459 Likewise.
55460 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55461
55462 2012-03-13 David S. Miller <davem@davemloft.net>
55463
55464 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55465 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55467 rtld-global-offsets.h
55468 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55469
55470 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55471 large parameters.
55472
55473 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55474
55475 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55476 'err' in the ifdef scope in which it is actually used.
55477
55478 * nss/nss_db/db-init.c: Include string.h
55479
55480 2012-03-12 David S. Miller <davem@davemloft.net>
55481
55482 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55483 masking out of the most significant byte of random value used.
55484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55485 Fix coding style in previous change.
55486
55487 * sysdeps/unix/sysv/linux/kernel-features.h
55488 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55489 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55490 expression.
55491 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55492 later.
55493
55494 2012-03-11 David S. Miller <davem@davemloft.net>
55495
55496 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55497 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55498 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55499 for 'resultvar' otherwise things get truncated on 64-bit.
55500
55501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55502 Fix masking out of the most significant byte of random value used.
55503
55504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55505
55506 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55507
55508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55509
55510 2012-03-09 David S. Miller <davem@davemloft.net>
55511
55512 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55513 variables with appropriate CPP guards.
55514 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55515 from the frame pointer, not the stack pointer. Correct layout
55516 comments. Fix test on resulting framesize and the management of
55517 the outregs buffer for pltexit. Preserve floating point return
55518 values across _dl_call_pltexit call.
55519 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55520 framesize and the management of the outregs buffer for pltexit.
55521 Preserve floating point return values across _dl_call_pltexit
55522 call.
55523 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55524 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55525 (la_sparc64_gnu_pltexit): New functions.
55526 (print_exit): Fix format string for return register value.
55527
55528 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55529
55530 * sunrpc/Makefile (others): Add rpcgen.
55531 ($(objpfx)rpcgen): Remove special build rule and dependency on
55532 libc.
55533 * sunrpc/rpcgen.c: New file.
55534
55535 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55536
55537 [BZ #13673]
55538 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55539 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55540 * sysdeps/i386/crti.S: Likewise.
55541 * sysdeps/i386/crtn.S: Likewise.
55542 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55543 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55544 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55545 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55546 * sysdeps/sh/crti.S: Likewise.
55547 * sysdeps/sh/crtn.S: Likewise.
55548 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55549
55550 [BZ #13673]
55551 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55552 with URL.
55553 * locale/programs/locfile-kw.gperf: Likewise.
55554 * locale/programs/charmap-kw.h: Regenerated.
55555 * locale/programs/locfile-kw.h: Likewise.
55556
55557 [BZ #13673]
55558 * intl/plural.y: Replace FSF snail mail address with URL.
55559 * intl/plural.c: Regenerated.
55560
55561 2012-03-09 Richard Henderson <rth@twiddle.net>
55562
55563 * include/math_private.h: Remove file.
55564 * math/math_private.h: Move file ...
55565 * sysdeps/generic/math_private.h: ... here.
55566
55567 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55568 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55569 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55570
55571 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55572 and <math_private.h>.
55573 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55574 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55575 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55576 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55577 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55578 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55579 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55581 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55582 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55584 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55585 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55586 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55587 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55588 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55589 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55590 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55591 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55592 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55594 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55595 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55597 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55599 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55603 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55605 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55606 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55607 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55608 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55609 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55610 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55611 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55612 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55613 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55614 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55615 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55616 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55617 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55619 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55620 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55621 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55622 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55623 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55624 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55625 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55626 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55627 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55628 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55630 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55631 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55632 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55633 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55634 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55635 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55636 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55637 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55641 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55642 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55643 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55644 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55645 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55646 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55647 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55652 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55653 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55654 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55655 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55656 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55657 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55660 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55661 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55662 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55663 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55664 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55665 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55666 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55667 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55668 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55669 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55670 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55671 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55672 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55673 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55674 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55675 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55676 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55677 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55678 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55679 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55680 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55681 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55683 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55684 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55685 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55686 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55687 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55688 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55689 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55690 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55691 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55692 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55693 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55694 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55695 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55696 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55697 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55698 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55699 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55700 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55701 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55702 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55703 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55704 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55705 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55706 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55707 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55708 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55709 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55710 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55711 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55712 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55713 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55714 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55715 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55716 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55717 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55718 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55719 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55720 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55721 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55722 * sysdeps/ieee754/k_standard.c: Likewise.
55723 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55724 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55725 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55726 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55727 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55728 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55729 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55730 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55731 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55732 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55733 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55734 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55735 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55736 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55737 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55738 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55739 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55740 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55741 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55742 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55743 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55744 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55746 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55747 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55748 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55749 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55750 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55751 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55752 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55753 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55754 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55755 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55756 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55757 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55758 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55760 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55761 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55762 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55763 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55764 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55765 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55766 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55767 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55768 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55769 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55770 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55771 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55774 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55775 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55776 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55777 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55778 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55779 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55780 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55781 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55782 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55783 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55784 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55785 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55786 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55787 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55788 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55789 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55790 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55791 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55792 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55795 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55796 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55797 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55799 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55800 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55802 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55803 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55805 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55806 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55807 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55808 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55809 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55810 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55811 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55813 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55814 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55815 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55816 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55817 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55818 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55819 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55820 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55821 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55822 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55823 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55824 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55825 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55826 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55827 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55828 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55829 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55830 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55831 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55832 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55833 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55834 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55835 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55836 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55837 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55838 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55839 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55840 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55841 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55842 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55843 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55844 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55845 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55846 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55847 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55848 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55849 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55850 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55851 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55852 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55853 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55854 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55855 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55856 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55857 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55858 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55859 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55860 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55861 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55862 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55863 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55864 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55865 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55866 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55867 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55868 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55869 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55870 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55871 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55872 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55873 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55874 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55876 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55877 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55878 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55879 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55880 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55881 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55882 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55883 * sysdeps/ieee754/s_lib_version.c: Likewise.
55884 * sysdeps/ieee754/s_matherr.c: Likewise.
55885 * sysdeps/ieee754/s_signgam.c: Likewise.
55886 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55887 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55888 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55889 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55890 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55891 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55892 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55893 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55894 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55895 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55896 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55897 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55898 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55899 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55900 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55901 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55902 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55903 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55904 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55907
55908 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55909
55910 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55911 * sunrpc/rpc_main.c: Likewise.
55912 * sunrpc/rpc_svcout.c: Likewise.
55913
55914 2012-03-09 David S. Miller <davem@davemloft.net>
55915
55916 * include/math_private.h: New file.
55917
55918 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55919
55920 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55921 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55922 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55923 from <bits/socket_type.h>.
55924 (enum __socket_type): Don't define here.
55925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55927 bits/socket_type.h.
55928
55929 [BZ #13566]
55930 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55931 checking __USE_GNU.
55932
55933 * Makerules ($(inst_includedir)/%.h): New rule.
55934 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55935 (install-others): Remove variable setting.
55936 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55937
55938 2012-03-08 Richard Henderson <rth@twiddle.net>
55939
55940 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55941 from macro to inline function; merge with the
55942 !__LIBC_INTERNAL_MATH_INLINES version.
55943 (__ieee754_sqrtf): Likewise.
55944
55945 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55946 to inline function.
55947 (__rintf, __floor, __floorf): Likewise.
55948
55949 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55950 macro to inline function.
55951 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55952
55953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55954 not <math/math_private.h>.
55955
55956 2012-03-08 David S. Miller <davem@davemloft.net>
55957
55958 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55959 copyright year.
55960 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55961
55962 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
55963
55964 * resolv/gai_misc.c (handle_requests): Fix struct timespec
55965 normalization.
55966 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55967 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55968
55969 2012-03-08 Ulrich Drepper <drepper@gmail.com>
55970
55971 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
55972 be defined individually, they must be defined as a block. Define
55973 S for printing a string instead of hidint the different by using a
55974 macro for adding the 'l'.
55975 * stdio-common/tst-fphex-wide.c: Adjust.
55976
55977 2012-03-07 Marek Polacek <polacek@redhat.com>
55978
55979 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55980
55981 2012-03-08 Marek Polacek <polacek@redhat.com>
55982
55983 [BZ #13806]
55984 * stdio-common/Makefile (tests): Add tst-fphex-wide.
55985 * stdio-common/tst-fphex.c: Define a few macros to make the
55986 test reusable. Use them.
55987 * stdio-common/tst-fphex-wide.c: New file.
55988
55989 2012-03-08 Joseph Myers <joseph@codesourcery.com>
55990
55991 [BZ #6911]
55992 * manual/macros.texi (gnusystems): New macro.
55993 (nongnusystems): Likewise.
55994 (gnulinuxhurdsystems): Likewise.
55995 (gnuhurdsystems): Likewise..
55996 (gnulinuxsystems): Likewise.
55997 * manual/charset.texi: Use new macros or @theglibc{} to refer to
55998 variants of the GNU system, not "GNU system".
55999 * manual/conf.texi: Likewise.
56000 * manual/errno.texi: Likewise. Update example of errno macro
56001 expansion.
56002 * manual/filesys.texi: Likewise.
56003 (getumask): Document as specific to GNU/Hurd.
56004 * manual/install.texi: Likewise. Reword some references to
56005 GNU/Linux.
56006 * manual/intro.texi: Likewise.
56007 * manual/io.texi: Likewise.
56008 (File Name Portability): Detail which constraints are inapplicable
56009 to all GNU systems and which are only inapplicable to GNU/Hurd.
56010 * manual/job.texi: Likewise.
56011 * manual/llio.texi: Likewise.
56012 (O_NOCTTY): Document as present on GNU/Linux.
56013 * manual/maint.texi: Likewise.
56014 * manual/memory.texi: Likewise.
56015 * manual/pattern.texi: Likewise.
56016 * manual/pipe.texi: Likewise.
56017 * manual/process.texi: Likewise.
56018 * manual/resource.texi: Likewise.
56019 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56020 child on GNU/Hurd.
56021 * manual/setjmp.texi: Likewise.
56022 * manual/signal.texi: Likewise.
56023 * manual/startup.texi: Likewise.
56024 * manual/stdio.texi: Likewise.
56025 * manual/terminal.texi: Likewise.
56026 (ONLCR): Document as POSIX.
56027 (OXTABS): Document availability on GNU/Linux as XTABS.
56028 (ONOEOT): Document availability separately from other bits.
56029 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56030 * manual/time.texi: Likewise.
56031 * manual/users.texi: Likewise.
56032 * INSTALL: Regenerated.
56033 * sysdeps/gnu/errlist.c: Regenerated.
56034
56035 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56036 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56037 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56038 puts.
56039 * configure: Regenerated.
56040
56041 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56042
56043 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56044 default includes instead of AC_HEADER_CHECK.
56045 * sysdeps/i386/configure: Regenerated.
56046
56047 [BZ #10716]
56048 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56049 * math/s_cacoshf.c (__cacoshf): Likewise.
56050 * math/s_cacoshl.c (__cacoshl): Likewise.
56051 * math/s_casinh.c (__casinh): Set signs of result from argument.
56052 * math/s_casinhf.c (__casinhf): Likewise.
56053 * math/s_casinhl.c (__casinhl): Likewise.
56054 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56055 (casinh_test): Add more tests.
56056 * sysdeps/i386/fpu/libm-test-ulps: Update.
56057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56058
56059 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56060
56061 * po/zh_TW.po: Update from translation team.
56062
56063 * login/Makefile (distribute): Remove variable.
56064 * catgets/Makefile: Likewise.
56065 * mach/Makefile: Likewise.
56066 * malloc/Makefile: Likewise.
56067 * misc/Makefile: Likewise.
56068 * iconv/Makefile: Likewise.
56069 * nscd/Makefile: Likewise.
56070 * hurd/Makefile: Likewise.
56071 * manual/Makefile: Likewise.
56072 * locale/Makefile: Likewise.
56073 * intl/Makefile: Likewise.
56074 * conform/Makefile: Likewise.
56075 * nss/Makefile: Likewise.
56076 * time/Makefile: Likewise.
56077 * soft-fp/Makefile: Likewise.
56078 * dirent/Makefile: Likewise.
56079 * gmon/Makefile: Likewise.
56080 * po/Makefile: Likewise.
56081 * rt/Makefile: Likewise.
56082 * socket/Makefile: Likewise.
56083 * math/Makefile: Likewise.
56084 * signal/Makefile: Likewise.
56085 * debug/Makefile: Likewise.
56086 * elf/Makefile: Likewise.
56087 * timezone/Makefile: Likewise.
56088 * stdlib/Makefile: Likewise.
56089 * iconvdata/Makefile: Likewise.
56090 * sunrpc/Makefile: Likewise.
56091 * io/Makefile: Likewise.
56092 * argp/Makefile: Likewise.
56093 * inet/Makefile: Likewise.
56094 * hesiod/Makefile: Likewise.
56095 * grp/Makefile: Likewise.
56096 * csu/Makefile: Likewise.
56097 * wctype/Makefile: Likewise.
56098 * crypt/Makefile: Likewise.
56099 * libio/Makefile: Likewise.
56100 * string/Makefile: Likewise.
56101 * nis/Makefile: Likewise.
56102 * resolv/Makefile: Likewise.
56103 * stdio-common/Makefile: Likewise.
56104 * wcsmbs/Makefile: Likewise.
56105 * dlfcn/Makefile: Likewise.
56106 * posix/Makefile: Likewise.
56107
56108 [BZ #6959]
56109 * timezone/Makefile: Don't install timezone files, just the programs
56110 and scripts.
56111
56112 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56113
56114 * nss/databases.def: Add missing gshadow entry.
56115
56116 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56117
56118 2012-03-06 Marek Polacek <polacek@redhat.com>
56119
56120 [BZ #13726]
56121 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56122 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56123 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56124 * stdio-common/tst-long-dbl-fphex.c: New file.
56125
56126 2012-03-06 David S. Miller <davem@davemloft.net>
56127
56128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56129 (set_obp_int): New function.
56130 (get_obp_int): New function.
56131 (__get_clockfreq_via_dev_openprom): Likewise.
56132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56133 Avoid unused variable warnings on 'val' and use builtin_expect.
56134 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56135 __builtin_expect.
56136 (INLINE_CLONE_SYSCALL): Likewise.
56137
56138 2012-03-05 David S. Miller <davem@davemloft.net>
56139
56140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56141
56142 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56143
56144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56145
56146 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56147 only for |x| >= 40.
56148 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56149
56150 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56151
56152 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56153 Replace gettimeofday with __vdso_gettimeofday.
56154
56155 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56156 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56157 __vdso_clock_gettime and __vdso_getcpu.
56158
56159 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56160 time with __vdso_time.
56161
56162 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56163
56164 * manual/lang.texi (size_t): Note types to which size_t may be
56165 equivalent with the GNU C Library, but do not describe when
56166 differences between them are significant.
56167
56168 2012-03-05 Andreas Jaeger <aj@suse.de>
56169
56170 * sysdeps/i386/fpu/libm-test-ulps: Update.
56171
56172 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56173
56174 [BZ #3976]
56175 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56176 (__ieee754_pow): Save and restore rounding mode and use
56177 round-to-nearest for main computations.
56178 * math/libm-test.inc (pow_test_tonearest): New function.
56179 (pow_test_towardzero): Likewise.
56180 (pow_test_downward): Likewise.
56181 (pow_test_upward): Likewise.
56182 (main): Call the new functions.
56183 * sysdeps/i386/fpu/libm-test-ulps: Update.
56184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56185
56186 [BZ #3976]
56187 * math/libm-test.inc (cosh_test_tonearest): New function.
56188 (cosh_test_towardzero): Likewise.
56189 (cosh_test_downward): Likewise.
56190 (cosh_test_upward): Likewise.
56191 (sinh_test_tonearest): Likewise.
56192 (sinh_test_towardzero): Likewise.
56193 (sinh_test_downward): Likewise.
56194 (sinh_test_upward): Likewise.
56195 (main): Call the new functions.
56196 * sysdeps/i386/fpu/libm-test-ulps: Update.
56197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56198
56199 2012-03-05 Tom de Vries <tom@codesourcery.com>
56200
56201 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56202 default stack guard is set in last bytes.
56203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56204
56205 2012-03-05 Kees Cook <keescook@chromium.org>
56206
56207 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56208
56209 [BZ #13656]
56210 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56211 possibly allocate from heap instead of stack.
56212 * stdio-common/bug-vfprintf-nargs.c: New file.
56213 * stdio-common/Makefile (tests): Add nargs overflow test.
56214
56215 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56216
56217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56218
56219 2012-03-03 Marek Polacek <polacek@redhat.com>
56220
56221 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56222 * math/math_private.h: Likewise.
56223 * stdlib/tst-strtod.c: Likewise.
56224 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56225 * sysdeps/x86_64/bits/atomic.h: Likewise.
56226
56227 2012-03-02 David S. Miller <davem@davemloft.net>
56228
56229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56233 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56234 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56235 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56236 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56237
56238 2012-03-02 Roland McGrath <roland@hack.frob.com>
56239
56240 [BZ #13792]
56241 * manual/examples/README: New file, says the example source files
56242 can be used under GPL>=2.
56243 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56244 line containing just "*/".
56245 * manual/examples/add.c: Add copyright header (GPL>=2).
56246 * manual/examples/argp-ex1.c: Likewise.
56247 * manual/examples/argp-ex2.c: Likewise.
56248 * manual/examples/argp-ex3.c: Likewise.
56249 * manual/examples/argp-ex4.c: Likewise.
56250 * manual/examples/atexit.c: Likewise.
56251 * manual/examples/db.c: Likewise.
56252 * manual/examples/dir.c: Likewise.
56253 * manual/examples/dir2.c: Likewise.
56254 * manual/examples/execinfo.c: Likewise.
56255 * manual/examples/filecli.c: Likewise.
56256 * manual/examples/filesrv.c: Likewise.
56257 * manual/examples/fmtmsgexpl.c: Likewise.
56258 * manual/examples/genpass.c: Likewise.
56259 * manual/examples/inetcli.c: Likewise.
56260 * manual/examples/inetsrv.c: Likewise.
56261 * manual/examples/isockad.c: Likewise.
56262 * manual/examples/longopt.c: Likewise.
56263 * manual/examples/memopen.c: Likewise.
56264 * manual/examples/memstrm.c: Likewise.
56265 * manual/examples/mkfsock.c: Likewise.
56266 * manual/examples/mkisock.c: Likewise.
56267 * manual/examples/mygetpass.c: Likewise.
56268 * manual/examples/pipe.c: Likewise.
56269 * manual/examples/popen.c: Likewise.
56270 * manual/examples/rprintf.c: Likewise.
56271 * manual/examples/search.c: Likewise.
56272 * manual/examples/select.c: Likewise.
56273 * manual/examples/setjmp.c: Likewise.
56274 * manual/examples/sigh1.c: Likewise.
56275 * manual/examples/sigusr.c: Likewise.
56276 * manual/examples/stpcpy.c: Likewise.
56277 * manual/examples/strdupa.c: Likewise.
56278 * manual/examples/strftim.c: Likewise.
56279 * manual/examples/strncat.c: Likewise.
56280 * manual/examples/subopt.c: Likewise.
56281 * manual/examples/swapcontext.c: Likewise.
56282 * manual/examples/termios.c: Likewise.
56283 * manual/examples/testopt.c: Likewise.
56284 * manual/examples/testpass.c: Likewise.
56285 * manual/examples/timeval_subtract.c: Likewise.
56286
56287 [BZ #13792]
56288 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56289 function to ...
56290 * manual/timeval_subtract.c.texi: ... here, new file.
56291
56292 2012-03-02 David S. Miller <davem@davemloft.net>
56293
56294 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56295
56296 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56297
56298 [BZ #3976]
56299 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56300 (__sin): Save and restore rounding mode and use round-to-nearest
56301 for all computations.
56302 (__cos): Save and restore rounding mode and use round-to-nearest
56303 for all computations.
56304 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56305 <fenv.h>.
56306 (tan): Save and restore rounding mode and use round-to-nearest for
56307 all computations.
56308 * math/libm-test.inc (cos_test_tonearest): New function.
56309 (cos_test_towardzero): Likewise.
56310 (cos_test_downward): Likewise.
56311 (cos_test_upward): Likewise.
56312 (sin_test_tonearest): Likewise.
56313 (sin_test_towardzero): Likewise.
56314 (sin_test_downward): Likewise.
56315 (sin_test_upward): Likewise.
56316 (tan_test_tonearest): Likewise.
56317 (tan_test_towardzero): Likewise.
56318 (tan_test_downward): Likewise.
56319 (tan_test_upward): Likewise.
56320 (main): Call the new functions.
56321 * sysdeps/i386/fpu/libm-test-ulps: Update.
56322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56323
56324 [BZ #10135]
56325 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56326 small n, then large n, before computing and testing k+n.
56327 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56329 Likewise.
56330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56331 Likewise.
56332 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56333 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56336 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56337 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56338 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56339 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56340 * math/libm-test.inc (scalbn_test): Add more tests.
56341 (scalbln_test): Likewise.
56342
56343 * manual/filesys.texi (mode_t): Describe constraints on size and
56344 signedness, not exact equivalence to a particular type.
56345 (ino_t): Likewise.
56346 (ino64_t): Likewise.
56347 (dev_t): Likewise.
56348 (nlink_t): Likewise.
56349 (blkcnt_t): Likewise.
56350 (blkcnt64_t): Likewise.
56351 * manual/llio.texi (off_t): Likewise.
56352
56353 [BZ #3976]
56354 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56355 (__ieee754_exp): Save and restore rounding mode and use
56356 round-to-nearest for all computations.
56357 * math/libm-test.inc (exp_test_tonearest): New function.
56358 (exp_test_towardzero): Likewise.
56359 (exp_test_downward): Likewise.
56360 (exp_test_upward): Likewise.
56361 (main): Call the new functions.
56362 * sysdeps/i386/fpu/libm-test-ulps: Update.
56363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56364
56365 2012-03-01 Chris Demetriou <cgd@google.com>
56366
56367 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56368 have predictable order.
56369
56370 2012-03-01 David S. Miller <davem@davemloft.net>
56371
56372 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56373
56374 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56375 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56376 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56377 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56378
56379 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56380 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56381 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56383 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56384 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56385 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56386 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56387 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56388
56389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56390
56391 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56392 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56393 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56394
56395 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56396 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56397 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56398 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56399 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56402 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56403 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56404 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56405 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56406 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56408 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56409 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56411 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56412 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56413 * sysdeps/sparc/elf/configure: Regenerated.
56414
56415 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56416
56417 * configure.in (AS, LD): Require binutils 2.20 or later.
56418 * configure: Regenerated.
56419 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56420 as required minimum version.
56421 * INSTALL: Regenerated.
56422
56423 [BZ #2541]
56424 [BZ #4108]
56425 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56426 before squaring exponent.
56427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56428 bottom long double and 27 bits of top long double before squaring
56429 exponent.
56430 * math/libm-test.inc (erfc_test): Add more tests.
56431 * sysdeps/i386/fpu/libm-test-ulps: Update.
56432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56434
56435 2012-03-01 Kai Tietz <ktietz@redhat.com>
56436
56437 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56438 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56439 containing bit-fields.
56440 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56441 * soft-fp/single.h (_FP_UNION_S): Likewise.
56442 * soft-fp/double.h (_FP_UNION_D): Likewise.
56443
56444 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56445
56446 [BZ #13786]
56447 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56448 not include ../strcmp.S.
56449 [USE_AS_STRNCASECMP_L]: Likewise.
56450 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56451 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56452 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56453 (__strncasecmp_l_ia32): Define as alias to
56454 __strncasecmp_l_nonascii.
56455
56456 [BZ #5794]
56457 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56458 * sysdeps/i386/fpu/libm-test-ulps: Update.
56459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56460
56461 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56463
56464 2012-02-29 Jeff Law <law@redhat.com>
56465
56466 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56467 out of bounds read.
56468
56469 2012-02-29 Marek Polacek <polacek@redhat.com>
56470
56471 [BZ #13706]
56472 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56473 * elf/Makefile: Add rules to run tst-unused-dep.out.
56474
56475 2012-02-28 David S. Miller <davem@davemloft.net>
56476
56477 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56478 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56480 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56481 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56482 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56483
56484 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56485
56486 * math/libm-test.inc (llround_test): Move one test from
56487 lround_test. Use TEST_f_L in moved test.
56488 (lround_test): Move misplaced test to llround_test. Add testcase
56489 from bug 2561.
56490
56491 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56492
56493 * sysdeps/x86_64/fpu/e_expf.S: New file.
56494 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56495
56496 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56497
56498 [BZ #13637]
56499 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56500 of remain_len that may cause incomplete multi-byte character and
56501 false match.
56502 * posix/bug-regex33.c: New file.
56503 * posix/Makefile (tests): Add bug-regex33.
56504
56505 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56506
56507 * manual/macros.texi: New file.
56508 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56509 * manual/libc.texinfo: Include macros.texi.
56510 * manual/creatute.texi: Likewise.
56511 * manual/install.texi: Likewise.
56512 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56513 @glibcadj{} in references to the GNU C Library.
56514 * manual/charset.texi: Likewise.
56515 * manual/conf.texi: Likewise.
56516 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56517 when not using those macros.
56518 * manual/creature.texi: Likewise.
56519 * manual/crypt.texi: Likewise.
56520 * manual/errno.texi: Likewise.
56521 * manual/filesys.texi: Likewise.
56522 * manual/header.texi: Likewise.
56523 * manual/install.texi: Likewise.
56524 * manual/intro.texi: Likewise.
56525 * manual/io.texi: Likewise.
56526 * manual/job.texi: Likewise.
56527 * manual/lang.texi: Likewise.
56528 * manual/libc.texiinfo: Likewise.
56529 * manual/llio.texi: Likewise.
56530 * manual/locale.texi: Likewise.
56531 * manual/maint.texi: Likewise.
56532 * manual/math.texi: Likewise.
56533 * manual/memory.texi: Likewise.
56534 * manual/message.texi: Likewise.
56535 * manual/nss.texi: Likewise.
56536 * manual/pattern.texi: Likewise.
56537 * manual/process.texi: Likewise.
56538 * manual/resource.texi: Likewise.
56539 * manual/search.texi: Likewise.
56540 * manual/setjmp.texi: Likewise.
56541 * manual/signal.texi: Likewise.
56542 * manual/socket.texi: Likewise.
56543 * manual/startup.texi: Likewise.
56544 * manual/stdio.texi: Likewise.
56545 * manual/string.texi: Likewise.
56546 * manual/sysinfo.texi: Likewise.
56547 * manual/syslog.texi: Likewise.
56548 * manual/terminal.texi: Likewise.
56549 * manual/time.texi: Likewise.
56550 * manual/users.texi: Likewise.
56551 * INSTALL: Regenerated.
56552 * NOTES: Regenerated.
56553 * sysdeps/gnu/errlist.c: Regenerated.
56554
56555 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56556
56557 * include/dirent.h: Include <dirstream.h> before
56558 <dirent/dirent.h>.
56559
56560 2012-02-28 David S. Miller <davem@davemloft.net>
56561
56562 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56563 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56564 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56565 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56566
56567 2012-02-27 David S. Miller <davem@davemloft.net>
56568
56569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56571 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56572 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56573
56574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56575 frame pointer instead of stack pointer relative arg slot.
56576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56577 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56578 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56579
56580 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56581
56582 [BZ #3992]
56583 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56584
56585 2012-02-27 David S. Miller <davem@davemloft.net>
56586
56587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56591 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56592 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56593 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56594 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56595
56596 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56597
56598 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56599 later. Allow versions 5-9.
56600 * configure: Regenerated.
56601 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56602 required minimum version and 4.6 as recommended version. Do not
56603 mention bugs in GCC 2.7 and 2.8.
56604 * INSTALL: Regenerated.
56605
56606 2012-02-27 David S. Miller <davem@davemloft.net>
56607
56608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56612 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56613 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56614 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56615 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56616
56617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56618 manipulate bits before adding and subtracting TWO112[sx].
56619 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56620
56621 2012-02-27 Roland McGrath <roland@hack.frob.com>
56622
56623 [BZ #13775]
56624 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56625 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56626 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56627 being in POSIX, because they are in 1003.1-2008.
56628
56629 * rt/tst-aio.c: Include <fcntl.h>.
56630 * rt/tst-aio7.c: Likewise.
56631 * rt/tst-aio64.c: Likewise.
56632
56633 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56634
56635 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56636
56637 * manual/install.texi (--with-headers): Describe headers as
56638 interface headers, not private headers.
56639 (Specific advice for GNU/Linux systems): Describe use of headers
56640 from "make headers_install", not private headers from older
56641 kernels.
56642 * INSTALL: Regenerated.
56643 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56644 Change to 2.6.19.
56645 * sysdeps/unix/sysv/linux/configure: Regenerated.
56646
56647 * manual/llio.texi (fclean): Remove documentation.
56648
56649 * manual/Makefile (libc-texi-generated): New variable. Include
56650 version.texi.
56651 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56652 $(libc-texi-generated), not duplicated list of files.
56653 (version.texi, stamp-version): New rules.
56654 (realclean): Remove $(libc-texi-generated), not individual files
56655 from that list. Do not remove dir-add.texinfo.
56656 * manual/libc.texinfo: Comment out uses of edition numbers and
56657 references to printed manual. Remove last-updated dates.
56658 (EDITION): Comment out.
56659 (ISBN): Likewise.
56660 (VERSION, UPDATED): Remove.
56661 (version.texi): Include.
56662
56663 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56664
56665 * sysdeps/posix/spawni.c: Include <signal.h>.
56666 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56667 * sysdeps/pthread/aio_fsync.c: Likewise.
56668
56669 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56670
56671 * conform/Makefile (tests): Run only when not cross-compiling and
56672 when fast-check is not defined.
56673
56674 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56675 * conform/data/limits.h-data: Fixes for POSIX2008.
56676 * conform/run-conformtest.sh: Run all tests.
56677 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56678 headers.
56679 * include/bits/dlfcn.h: Likewise.
56680 * include/langinfo.h: Likewise.
56681 * include/monetary.h: Likewise.
56682 * include/sys/poll.h: Likewise.
56683
56684 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56685 for __USE_GNU.
56686 * posix/spawn.h: Define __need_sigset_t.
56687 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56688 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56689 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56690 to get sigevent_t only.
56691 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56692 only for __USE_GNU.
56693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56694 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56695 process_vm_writev only for __USE_GNU.
56696 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56697
56698 * conform/Makefile: For now ignore errors from run-conformtest.
56699 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56700 POSIX to avoid namespace pollution. Don't prepend headers.
56701 * conform/data/aio.h-data: Fixes for POSIX testing.
56702 * conform/data/fcntl.h-data: Likewise.
56703 * conform/data/glob.h-data: Likewise.
56704 * conform/data/grp.h-data: Likewise.
56705 * conform/data/pthread.h-data: Likewise.
56706 * conform/data/pwd.h-data: Likewise.
56707 * conform/data/signal.h-data: Likewise.
56708 * conform/data/spawn.h-data: Likewise.
56709 * conform/data/stdio.h-data: Likewise.
56710 * conform/data/stdlib.h-data: Likewise.
56711 * conform/data/stropts.h-data: Likewise.
56712 * conform/data/sys/mman.h-data: Likewise.
56713 * conform/data/sys/stat.h-data: Likewise.
56714 * conform/data/sys/types.h-data: Likewise.
56715 * conform/data/sys/wait.h-data: Likewise.
56716 * conform/data/time.h-data: Likewise.
56717 * conform/data/unistd.h-data: Likewise.
56718 * conform/data/utime.h-data: Likewise.
56719
56720 * io/sys/stat.h: fchmod was always in POSIX.
56721 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56722 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56723 * rt/aio.h: Define __need_timespec before including <time.h>.
56724 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56725 struct. Add forward declaration of pthread_attr_t and use it in
56726 sigevent.
56727 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56729 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56730 always remove CLK_TCK definition.
56731
56732 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56733
56734 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56735
56736 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56737
56738 * conform/run-conformtest.sh: New file.
56739 * conform/Makefile: Run run-conformtest for tests.
56740 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56741 support.
56742
56743 * conform/data/uchar.h-data: New file.
56744 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56745 * conform/data/arpa/inet.h-data: Likewise.
56746 * conform/data/assert.h-data: Likewise.
56747 * conform/data/complex.h-data: Likewise.
56748 * conform/data/cpio.h-data: Likewise.
56749 * conform/data/ctype.h-data: Likewise.
56750 * conform/data/dirent.h-data: Likewise.
56751 * conform/data/dlfcn.h-data: Likewise.
56752 * conform/data/errno.h-data: Likewise.
56753 * conform/data/fcntl.h-data: Likewise.
56754 * conform/data/float.h-data: Likewise.
56755 * conform/data/fmtmsg.h-data: Likewise.
56756 * conform/data/fnmatch.h-data: Likewise.
56757 * conform/data/ftw.h-data: Likewise.
56758 * conform/data/glob.h-data: Likewise.
56759 * conform/data/grp.h-data: Likewise.
56760 * conform/data/iconv.h-data: Likewise.
56761 * conform/data/inttypes.h-data: Likewise.
56762 * conform/data/langinfo.h-data: Likewise.
56763 * conform/data/libgen.h-data: Likewise.
56764 * conform/data/limits.h-data: Likewise.
56765 * conform/data/locale.h-data: Likewise.
56766 * conform/data/math.h-data: Likewise.
56767 * conform/data/monetary.h-data: Likewise.
56768 * conform/data/mqueue.h-data: Likewise.
56769 * conform/data/ndbm.h-data: Likewise.
56770 * conform/data/net/if.h-data: Likewise.
56771 * conform/data/netdb.h-data: Likewise.
56772 * conform/data/netinet/in.h-data: Likewise.
56773 * conform/data/nl_types.h-data: Likewise.
56774 * conform/data/poll.h-data: Likewise.
56775 * conform/data/pthread.h-data: Likewise.
56776 * conform/data/pwd.h-data: Likewise.
56777 * conform/data/regex.h-data: Likewise.
56778 * conform/data/sched.h-data: Likewise.
56779 * conform/data/search.h-data: Likewise.
56780 * conform/data/semaphore.h-data: Likewise.
56781 * conform/data/setjmp.h-data: Likewise.
56782 * conform/data/signal.h-data: Likewise.
56783 * conform/data/spawn.h-data: Likewise.
56784 * conform/data/stdarg.h-data: Likewise.
56785 * conform/data/stdio.h-data: Likewise.
56786 * conform/data/stdlib.h-data: Likewise.
56787 * conform/data/string.h-data: Likewise.
56788 * conform/data/strings.h-data: Likewise.
56789 * conform/data/stropts.h-data: Likewise.
56790 * conform/data/sys/ipc.h-data: Likewise.
56791 * conform/data/sys/mman.h-data: Likewise.
56792 * conform/data/sys/msg.h-data: Likewise.
56793 * conform/data/sys/resource.h-data: Likewise.
56794 * conform/data/sys/select.h-data: Likewise.
56795 * conform/data/sys/sem.h-data: Likewise.
56796 * conform/data/sys/shm.h-data: Likewise.
56797 * conform/data/sys/socket.h-data: Likewise.
56798 * conform/data/sys/stat.h-data: Likewise.
56799 * conform/data/sys/statvfs.h-data: Likewise.
56800 * conform/data/sys/time.h-data: Likewise.
56801 * conform/data/sys/timeb.h-data: Likewise.
56802 * conform/data/sys/times.h-data: Likewise.
56803 * conform/data/sys/types.h-data: Likewise.
56804 * conform/data/sys/uio.h-data: Likewise.
56805 * conform/data/sys/un.h-data: Likewise.
56806 * conform/data/sys/utsname.h-data: Likewise.
56807 * conform/data/sys/wait.h-data: Likewise.
56808 * conform/data/syslog.h-data: Likewise.
56809 * conform/data/tar.h-data: Likewise.
56810 * conform/data/termios.h-data: Likewise.
56811 * conform/data/utime.h-data: Likewise.
56812 * conform/data/utmpx.h-data: Likewise.
56813 * conform/data/varargs.h-data: Likewise.
56814 * conform/data/wchar.h-data: Likewise.
56815 * conform/data/wctype.h-data: Likewise.
56816 * conform/data/wordexp.h-data: Likewise.
56817
56818 * include/stropts.h: New file.
56819 * include/uchar.h: New file.
56820 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56821 * include/assert.h: Likewise.
56822 * include/ctype.h: Likewise.
56823 * include/dirent.h: Likewise.
56824 * include/dlfcn.h: Likewise.
56825 * include/fcntl.h: Likewise.
56826 * include/fnmatch.h: Likewise.
56827 * include/glob.h: Likewise.
56828 * include/grp.h: Likewise.
56829 * include/libio.h: Likewise.
56830 * include/locale.h: Likewise.
56831 * include/math.h: Likewise.
56832 * include/net/if.h: Likewise.
56833 * include/netdb.h: Likewise.
56834 * include/netinet/in.h: Likewise.
56835 * include/pthread.h: Likewise.
56836 * include/pwd.h: Likewise.
56837 * include/regex.h: Likewise.
56838 * include/sched.h: Likewise.
56839 * include/search.h: Likewise.
56840 * include/setjmp.h: Likewise.
56841 * include/signal.h: Likewise.
56842 * include/stdio.h: Likewise.
56843 * include/stdlib.h: Likewise.
56844 * include/string.h: Likewise.
56845 * include/sys/cdefs.h: Likewise.
56846 * include/sys/mman.h: Likewise.
56847 * include/sys/msg.h: Likewise.
56848 * include/sys/resource.h: Likewise.
56849 * include/sys/select.h: Likewise.
56850 * include/sys/socket.h: Likewise.
56851 * include/sys/stat.h: Likewise.
56852 * include/sys/statvfs.h: Likewise.
56853 * include/sys/time.h: Likewise.
56854 * include/sys/times.h: Likewise.
56855 * include/sys/uio.h: Likewise.
56856 * include/sys/utsname.h: Likewise.
56857 * include/sys/wait.h: Likewise.
56858 * include/termios.h: Likewise.
56859 * include/time.h: Likewise.
56860 * include/ulimit.h: Likewise.
56861 * include/unistd.h: Likewise.
56862 * include/utime.h: Likewise.
56863 * include/wchar.h: Likewise.
56864 * include/wctype.h: Likewise.
56865 * include/wordexp.h: Likewise.
56866
56867 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56868
56869 * time/time.h: TIME_UTC must be a macro.
56870 Make timespec_get available for ISO C11 only as well.
56871
56872 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56873
56874 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56875 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56876
56877 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56878
56879 * configure.in: Use -o not -a in test for unsupported multi-arch.
56880
56881 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56882
56883 * manual/texinfo.tex: Update to version 2012-01-19.16.
56884
56885 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56886
56887 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56888
56889 2012-02-24 Roland McGrath <roland@hack.frob.com>
56890
56891 [BZ #13738]
56892 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56893 * manual/fdl-1.3.texi: New file.
56894 * manual/fdl-1.1.texi: File removed.
56895
56896 [BZ #13738]
56897 * manual/libc.texinfo (FDL_VERSION): New @set.
56898 Use it for mention of FDL in cover text.
56899 (Documentation License): Use it in @include file name.
56900
56901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56902 Roland McGrath <roland@hack.frob.com>
56903
56904 [BZ #5461]
56905 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56906 (not LONG_LONG_MAX and LONG_LONG_MIN.
56907 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56908 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
56909 name.
56910 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56911
56912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56913
56914 [BZ #2547]
56915 [BZ #11365]
56916 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56917 manipulate bits before adding and subtracting TWO23[sx].
56918 * math/libm-test.inc (nearbyint_test): Add more tests.
56919
56920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56921
56922 [BZ #2548]
56923 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56924 bits before adding and subtracting TWO23[sx].
56925 * math/libm-test.inc (rint_test): Add more tests.
56926 (rint_test_tonearest): Likewise.
56927 (rint_test_towardzero): Likewise.
56928 (rint_test_downward): Likewise.
56929 (rint_test_upward: Likewise.
56930
56931 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56932
56933 [BZ #10110]
56934 * include/stdc-predef.h: New file. Extracted from features.h.
56935 * include/features.h: Include stdc-predef.h.
56936 * Makefile (headers): Add stdc-predef.h.
56937 * CONFORMANCE (Compiler limitations): Update.
56938
56939 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56940
56941 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56942
56943 2012-02-21 David S. Miller <davem@davemloft.net>
56944
56945 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56946 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56947
56948 2012-02-20 David S. Miller <davem@davemloft.net>
56949
56950 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56951 using a normal save/restore sequence, rather than allocating a
56952 dummy stack frame just to store a frame pointer and restore.
56953 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56954
56955 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56956
56957 * manual/install.texi: Fix stray word in line-wrapped comment.
56958
56959 2012-02-20 David S. Miller <davem@davemloft.net>
56960
56961 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56962 both binutils and gcc support GOTDATA.
56963
56964 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56965 "rd %pc" in the PIC register setup sequences.
56966
56967 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56968 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56969 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56970 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56971 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56973 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56974 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56976 (SYSCALL_ERROR_HANDLER): Likewise.
56977 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56978 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56980 (SYSCALL_ERROR_HANDLER): Likewise.
56981
56982 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56983 (HAVE_GCC_GOTDATA): New.
56984 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56985 relocation support in both binutils and gcc.
56986 * sysdeps/sparc/elf/configure: Regenerate.
56987
56988 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56989 * sysdeps/sparc/sparc32/elf/configure: Delete.
56990 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56991 * sysdeps/sparc/sparc64/elf/configure: Delete.
56992 * sysdeps/sparc/elf/configure.in: New file.
56993 * sysdeps/sparc/elf/configure: Generate.
56994
56995 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56996 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56997 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56998 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56999 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57000
57001 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57002
57003 * manual/install.texi: Do not mention specific glibc version
57004 numbers.
57005 * manual/libc.texinfo (VERSION, UPDATED): Update.
57006 (@copying): Use @copyright{} and range of years.
57007
57008 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57009
57010 [BZ #13695]
57011 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57012 [crti.S not in sysdirs] (generated): Do not append.
57013 [crti.S not in sysdirs] (omit-deps): Likewise.
57014 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57015 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57016 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57017 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57018 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57019 Likewise.
57020 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57021 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57022 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57023 * csu/defs.awk: Remove file.
57024 * sysdeps/generic/initfini.c: Likewise.
57025 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57026 variable.
57027 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57028 Likewise.
57029
57030 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57031
57032 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57033 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57034 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57035 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57036 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57037 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57038 <bits/epoll.h>.
57039 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57040 (__EPOLL_PACKED): Define to empty if not defined by
57041 <bits/epoll.h>.
57042 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57044 bits/epoll.h.
57045
57046 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57047
57048 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57049 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57050 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57051 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57052 <bits/timerfd.h>.
57053 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57055 bits/timerfd.h.
57056
57057 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57058
57059 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57060 in C locale.
57061 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57062 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57063 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57065
57066 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57067
57068 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57069 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57070
57071 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57072
57073 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57074 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57075 defined.
57076 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57077 Likewise.
57078 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57079 entry for 2.16.
57080
57081 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57082
57083 * math/w_acos.c: Use non-signaling floating-point comparisons.
57084 * math/w_acosf.c: Likewise.
57085 * math/w_acosh.c: Likewise.
57086 * math/w_acoshf.c: Likewise.
57087 * math/w_acoshl.c: Likewise.
57088 * math/w_acosl.c: Likewise.
57089 * math/w_asin.c: Likewise.
57090 * math/w_asinf.c: Likewise.
57091 * math/w_asinl.c: Likewise.
57092 * math/w_atanh.c: Likewise.
57093 * math/w_atanhf.c: Likewise.
57094 * math/w_atanhl.c: Likewise.
57095 * math/w_exp2.c: Likewise.
57096 * math/w_exp2f.c: Likewise.
57097 * math/w_exp2l.c: Likewise.
57098 * math/w_j0.c: Likewise.
57099 * math/w_j0f.c: Likewise.
57100 * math/w_j0l.c: Likewise.
57101 * math/w_j1.c: Likewise.
57102 * math/w_j1f.c: Likewise.
57103 * math/w_j1l.c: Likewise.
57104 * math/w_jn.c: Likewise.
57105 * math/w_jnf.c: Likewise.
57106 * math/w_log.c: Likewise.
57107 * math/w_log10.c: Likewise.
57108 * math/w_log10f.c: Likewise.
57109 * math/w_log10l.c: Likewise.
57110 * math/w_log2.c: Likewise.
57111 * math/w_log2f.c: Likewise.
57112 * math/w_log2l.c: Likewise.
57113 * math/w_logf.c: Likewise.
57114 * math/w_logl.c: Likewise.
57115 * math/w_sqrt.c: Likewise.
57116 * math/w_sqrtf.c: Likewise.
57117 * math/w_sqrtl.c: Likewise.
57118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57119 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57120 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57121 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57122 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57123
57124 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57125
57126 [BZ #9739]
57127 * manual/string.texi (strnlen): Use correct parameter name in
57128 equivalent expression.
57129
57130 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57131
57132 [BZ #11174]
57133 * manual/users.texi (seteuid): Consistently use neweuid for
57134 argument name.
57135
57136 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57137
57138 [BZ #13704]
57139 * manual/nss.texi (Services in the NSS configuration): Correct
57140 list of services in example configuration file.
57141
57142 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57143
57144 [BZ #11322]
57145 * manual/arith.texi: Remove statements about negative zero
57146 behaving identically to zero.
57147
57148 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57149
57150 [BZ #5993]
57151 * manual/install.texi: Do not document upgrading from libc5.
57152
57153 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57154
57155 [BZ #4596]
57156 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57157
57158 2012-02-18 David S. Miller <davem@davemloft.net>
57159
57160 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57161 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57162 %o7 across the call.
57163 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57164 instead.
57165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57166 SETUP_PIC_REG_LEAF.
57167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57168 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57169 * sysdeps/sparc/crtn.S: Likewise.
57170
57171 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57172
57173 * aout/Makefile: Remove.
57174
57175 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57176
57177 [BZ #13058]
57178 * manual/examples/argp-ex1.c (main): Format definition in GNU
57179 style.
57180 * manual/examples/argp-ex2.c (main): Likewise.
57181 * manual/examples/argp-ex3.c (main): Likewise.
57182 * manual/examples/argp-ex4.c (main): Likewise.
57183 * manual/examples/longopt.c (main): Use new-style prototype
57184 definition.
57185 * manual/examples/strncat.c (main): Specify return type and use
57186 (void) for arguments.
57187 * manual/examples/subopt.c (main): Use char **argv argument.
57188
57189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57190
57191 [BZ #5077]
57192 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57193 rounding modes.
57194
57195 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57196
57197 [BZ #6907]
57198 * manual/string.texi (strchr): Change when strchrnul is
57199 recommended.
57200
57201 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57202
57203 [BZ #174]
57204 * manual/locale.texi (setlocale): Document LOCPATH.
57205
57206 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57207
57208 [BZ #10210]
57209 * manual/process.texi (execle): Move @dots{} before last argument.
57210
57211 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57212
57213 [BZ #12047]
57214 * manual/charset.texi (Generic Charset Conversion): Fix typo
57215 (LC_TYPE -> LC_CTYPE).
57216
57217 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57218
57219 [BZ #5805]
57220 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57221 (scalbnf): Likewise.
57222 (scalbnl): Likewise.
57223 (scalbln): Likewise.
57224 (scalblnf): Likewise.
57225 (scalblnl): Likewise.
57226 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57227 (vwarnx): Likewise.
57228 (verr): Likewise.
57229 (verrx): Likewise.
57230 * manual/filesys.texi (telldir): Use braces around return type.
57231 * manual/llio.texi (mmap): Add space after comma.
57232 (mmap64): Likewise.
57233 * manual/math.texi (jn): Use @var{} on parameter names.
57234 (jnf): Likewise.
57235 (jnl): Likewise.
57236 (yn): Likewise.
57237 (ynf): Likewise.
57238 (ynl): Likewise.
57239 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57240 line.
57241 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57242 "...".
57243 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57244 (sched_get_priority_max): Likewise.
57245 * manual/signal.texi (sigvec): Add space after comma.
57246 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57247 names.
57248 (if_indextoname): Likewise.
57249 (if_freenameindex): Likewise.
57250 (sendto): Use ',' instead of '.' in prototype.
57251 * manual/startup.texi (syscall): Use @dots{} instead of literal
57252 "...".
57253 * manual/stdio.texi (__fpending): Separate initial words of
57254 paragraph from @deftypefun line.
57255 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57256 "...".
57257 (vsyslog): Use @var{} on parameter names.
57258 * manual/terminal.texi (stty): Use @var{} on parameter names.
57259 * manual/users.texi (getutmp): Use @var{} on parameter names.
57260 (getutmpx): Likewise.
57261
57262 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57263
57264 [BZ #6884]
57265 * manual/stdio.texi (fopen): Fix typos in description of
57266 ",ccs=STRING".
57267
57268 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57269
57270 [BZ #4026]
57271 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57272 get clock_id definition.
57273
57274 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57275
57276 [BZ #4822]
57277 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57278 (madvise): Cast every argument to void on its own.
57279
57280 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57281
57282 [BZ #9902]
57283 * manual/startup.texi (Exit Status): Fix typo.
57284
57285 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57286
57287 [BZ #10140]
57288 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57289 * manual/examples/argp-ex2.c: Likewise.
57290 * manual/examples/argp-ex3.c: Likewise.
57291
57292 2012-02-16 Richard Henderson <rth@redhat.com>
57293
57294 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57295 * sysdeps/s390/s390-32/initfini.c: Remove.
57296 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57297 * sysdeps/s390/s390-64/initfini.c: Remove.
57298
57299 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57300
57301 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57302 compiler output for sysdeps/generic/initfini.c.
57303 * sysdeps/sh/elf/initfini.c: Remove file.
57304
57305 2012-02-16 David S. Miller <davem@davemloft.net>
57306
57307 [BZ #11494]
57308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57309
57310 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57311 * sysdeps/sparc/crti.S: New file.
57312 * sysdeps/sparc/crtn.S: New file.
57313 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57314 * sysdeps/sparc/sparc64/Makefile: Likewise.
57315
57316 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57317
57318 [BZ #3335]
57319 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57320
57321 2012-02-15 Roland McGrath <roland@hack.frob.com>
57322
57323 [BZ #4822]
57324 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57325
57326 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57327 (write, read, close): Likewise.
57328 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57329
57330 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57331
57332 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57333 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57334 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57335 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57336 <bits/signalfd.h>.
57337 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57339 bits/signalfd.h.
57340
57341 2012-02-14 Marek Polacek <polacek@redhat.com>
57342
57343 * sysdeps/x86_64/crti.S: New file.
57344 * sysdeps/x86_64/crtn.S: New file.
57345 * sysdeps/x86_64/elf/initfini.c: Remove file.
57346
57347 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57348
57349 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57350 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57351 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57352 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57353 <bits/inotify.h>.
57354 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57356 bits/inotify.h.
57357
57358 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57359
57360 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57361 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57362 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57363 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57364 <bits/eventfd.h>.
57365 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57367 bits/eventfd.h.
57368
57369 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57370
57371 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57372 __feraiseexcept instead of feraiseexcept.
57373
57374 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57375 nanosleep invocations.
57376 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57377 strings, and add error checking for a nanosleep invocations.
57378
57379 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57380
57381 Replace FSF snail mail address with URLs, as per GNU coding standards.
57382 Most of the snail mail addresses were wrong anyway, and omitting
57383 them makes the source code easier to maintain. Almost all of the
57384 changes are to license notices and to locale LC_IDENTIFICATION
57385 addresses, except for this one:
57386 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57387 not its snail mail address.
57388
57389 2012-02-09 Richard Henderson <rth@twiddle.net>
57390
57391 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57392 of kernel-features.h.
57393
57394 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57395
57396 2012-02-08 Marek Polacek <polacek@redhat.com>
57397
57398 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57399 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57400 * sysdeps/gnu/_G_config.h: Likewise.
57401 * sysdeps/generic/_G_config.h: Likewise.
57402
57403 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57404
57405 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57406 tests.
57407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57408
57409 * sysdeps/powerpc/powerpc32/crti.S: New file.
57410 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57411 * sysdeps/powerpc/powerpc64/crti.S: New file.
57412 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57413
57414 * Makeconfig (have-initfini): Don't set.
57415 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57416 * configure.in (nopic_initfini): Don't substitute.
57417 * config.h.in (HAVE_INITFINI): Don't #undef.
57418 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57419 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57420
57421 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57422
57423 Support crti.S and crtn.S provided directly by architectures.
57424 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57425 [crti.S in sysdirs] (omit-deps): Likewise.
57426 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57427 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57428 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57429 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57430 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57431 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57432 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57433 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57434 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57435 compiler output for sysdeps/generic/initfini.c.
57436 * sysdeps/i386/elf/Makefile: Remove file.
57437 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57438
57439 2012-02-07 Marek Polacek <polacek@redhat.com>
57440
57441 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57442 * sysdeps/gnu/_G_config.h: Likewise.
57443 * sysdeps/mach/hurd/_G_config.h: Likewise.
57444
57445 2012-02-07 Marek Polacek <polacek@redhat.com>
57446
57447 * math/Makefile (tests): Add tst-CMPLX2.
57448 * math/tst-CMPLX2.c: New file.
57449
57450 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57451
57452 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57453
57454 * math/libm-test.inc (jn_test): Add missing L suffix.
57455
57456 2012-02-06 Marek Polacek <polacek@redhat.com>
57457
57458 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57459 * sysdeps/i386/fpu/e_powf.S: Likewise.
57460 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57461 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57462 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57463 * sysdeps/i386/fpu/e_pow.S: Likewise.
57464 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57465 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57466 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57467 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57468 * sysdeps/i386/fpu/e_log2.S: Likewise.
57469 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57470 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57471 * sysdeps/i386/fpu/e_powl.S: Likewise.
57472 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57473 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57474 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57475 * sysdeps/i386/fpu/e_logl.S: Likewise.
57476 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57477 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57478 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57479 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57480 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57481 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57482 * sysdeps/i386/fpu/e_log.S: Likewise.
57483 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57484 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57485 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57486 * sysdeps/i386/fpu/e_logf.S: Likewise.
57487 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57488 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57489 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57490 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57491 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57492 * sysdeps/i386/fpu/e_log10.S: Likewise.
57493 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57494 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57495 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57496 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57497 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57498 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57499 * sysdeps/i386/asm-syntax.h: Likewise.
57500 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57501 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57502 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57503 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57504 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57505 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57506 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57507 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57508 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57509 * sysdeps/powerpc/sysdep.h: Likewise.
57510 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57511 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57512
57513 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57514
57515 [BZ #411]
57516 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57517
57518 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57519
57520 * sysdeps/i386/sysdep.h: Include <features.h>.
57521 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57522 version.
57523
57524 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57525
57526 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57527 Define.
57528 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57529 LOAD_PIC_REG_STR.
57530
57531 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57532
57533 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57534 (SETUP_PIC_REG): Use GET_PC_THUNK.
57535 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57536 macro.
57537
57538 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57539
57540 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57541 for non-PIC compilation.
57542 (SETUP_PIC_REG): Add .p2align directive.
57543 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57544 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57545 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57546 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57547 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57548 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57549 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57550 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57551 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57552 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57553 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57554 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57555 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57556 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57557 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57558 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57559 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57560 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57561 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57562 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57563 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57565 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57566 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57567 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57569 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57571 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57572 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57573 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57574 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57575 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57576 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57577 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57578 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57579 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57580 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57581 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57582 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57583 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57584
57585 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57586
57587 * math/tst-CMPLX.c: Include <stdio.h>.
57588
57589 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57590
57591 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57592 float.
57593 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57594 * sysdeps/sparc/bits/mathdef.h: Likewise.
57595
57596 2012-01-31 Marek Polacek <polacek@redhat.com>
57597
57598 * libio/libio.h: Don't define _PARAMS.
57599 * locale/programs/config.h: Don't define PARAMS.
57600 * stdlib/strtol_l.c: Likewise.
57601 (__strtol_l): Remove PARAMS from the prototype.
57602
57603 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57604
57605 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57606 names. Just use the correct names. Remove unnecessary wrapper
57607 functions.
57608 * malloc/arena.c: Likewise.
57609 * malloc/hooks.c: Likewise.
57610
57611 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57612 ARENA_TEST says not to. Simplify test for creation of a new arena.
57613 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57614
57615 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57616
57617 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57618 into tail calls.
57619 (update_get_addr): New function.
57620 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57621 GET_ADDR_MODULE parameter.
57622
57623 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57624
57625 * crypt/cert.c: Remove __STDC__ conditionals.
57626 * crypt/crypt-entry.c: Likewise.
57627 * crypt/crypt_util.c: Likewise.
57628 * libio/filedoalloc.c: Likewise.
57629 * libio/fileops.c: Likewise.
57630 * libio/genops.c: Likewise.
57631 * libio/iofclose.c: Likewise.
57632 * libio/iofdopen.c: Likewise.
57633 * libio/iofopen.c: Likewise.
57634 * libio/iofopen64.c: Likewise.
57635 * libio/iogetdelim.c: Likewise.
57636 * libio/iopopen.c: Likewise.
57637 * libio/obprintf.c: Likewise.
57638 * libio/oldfileops.c: Likewise.
57639 * libio/oldiofclose.c: Likewise.
57640 * libio/oldiofdopen.c: Likewise.
57641 * libio/oldiofopen.c: Likewise.
57642 * libio/oldiopopen.c: Likewise.
57643 * libio/wfiledoalloc.c: Likewise.
57644 * libio/wgenops.c: Likewise.
57645 * locale/programs/xmalloc.c: Likewise.
57646 * misc/syslog.c: Likewise.
57647 * stdio-common/xbug.c: Likewise.
57648 * string/memchr.c: Likewise.
57649 * string/memcmp.c: Likewise.
57650 * string/memrchr.c: Likewise.
57651 * string/rawmemchr.c: Likewise.
57652 * sysdeps/posix/getcwd.c: Likewise.
57653 * time/strftime_l.c: Likewise.
57654
57655 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57656
57657 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57658 * config.make.in (config-cflags-sse2avx): Define.
57659 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57660 Fix typo.
57661
57662 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57663
57664 * scripts/config.guess: Update from upstream config git repository.
57665 * scripts/config.sub: Likewise.
57666
57667 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57668
57669 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57670 (EM_NUM): Update.
57671 (R_TILEPRO_*, R_TILEGX_*): New macros.
57672
57673 * scripts/firstversions.awk: Fix bug in version range handling.
57674
57675 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57676
57677 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57678
57679 * include/sys/epoll.h: New file.
57680 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57681 libc_hidden_def.
57682
57683 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57684
57685 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57686 Avoid unnecessary __WORDSIZE == 64 test.
57687 (fmaxf): Use VEX format if possible.
57688 (fmax): Likewise.
57689 (fminf): Likewise.
57690 (fmin): Likewise.
57691
57692 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57693 * math/math_private.h: Remove libc_fegetround* and
57694 libc_fesetround*.
57695 * sysdeps/i386/configure.in: Check for -msse2avx.
57696 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57697 also if SSE2AVX is defined.
57698 Remove libc_fegetround* and libc_fesetround*.
57699 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57700 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57702 of HAS_YMM_USABLE.
57703 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57704 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57705 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57706 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57707 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57708
57709 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57710
57711 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57712
57713 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57714 size is not set.
57715 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57716
57717 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57718
57719 [BZ #13618]
57720 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57721 relocation.
57722 * Makeconfig (libm): Define.
57723 * elf/Makefile: Add rules to build and run tst-relsort1.
57724 * elf/tst-relsort1.c: New file.
57725 * elf/tst-relsort1mod1.c: New file.
57726 * elf/tst-relsort1mod2.c: New file.
57727
57728 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57729
57730 * math/s_ldexp.c: Remove __STDC__ conditionals.
57731 * math/s_ldexpf.c: Likewise.
57732 * math/s_ldexpl.c: Likewise.
57733 * math/s_nextafter.c: Likewise.
57734 * math/s_nexttowardf.c: Likewise.
57735 * math/s_significand.c: Likewise.
57736 * math/s_significandf.c: Likewise.
57737 * math/s_significandl.c: Likewise.
57738 * math/w_jnl.c: Likewise.
57739 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57740 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57741 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57742 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57743 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57744 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57745 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57746 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57747 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57748 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57749 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57750 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57751 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57753 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57754 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57755 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57756 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57758 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57759 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57760 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57761 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57762 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57763 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57764 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57765 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57766 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57767 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57768 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57769 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57770 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57771 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57772 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57773 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57774 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57775 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57776 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57777 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57778 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57779 * sysdeps/ieee754/k_standard.c: Likewise.
57780 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57781 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57782 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57783 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57784 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57785 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57786 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57787 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57788 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57789 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57790 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57791 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57792 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57793 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57794 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57795 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57796 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57797 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57798 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57799 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57800 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57801 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57802 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57803 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57804 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57805 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57807 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57809 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57810 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57811 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57812 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57813 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57815 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57816 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57817 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57818 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57819 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57820 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57821 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57822 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57823 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57824 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57825 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57826 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57827 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57828 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57829 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57830 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57831 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57832 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57833 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57834 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57835 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57836 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57837 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57838 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57840 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57841 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57842 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57843 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57844 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57845 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57846 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57847 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57848 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57849 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57850 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57851 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57852 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57855 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57856 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57857 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57858 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57859 * sysdeps/ieee754/s_matherr.c: Likewise.
57860 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57861 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57862 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57863 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57864
57865 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57866
57867 * crypt/md5.h: Remove __STDC__ conditionals.
57868 * libio/libioP.h: Likewise.
57869 * locale/programs/config.h: Likewise.
57870 * sysdeps/generic/sysdep.h: Likewise.
57871 * sysdeps/i386/asm-syntax.h: Likewise.
57872 * sysdeps/s390/asm-syntax.h: Likewise.
57873 * sysdeps/unix/sysdep.h: Likewise.
57874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57876
57877 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57878
57879 * libio/libio.h: Remove __STDC__ conditionals.
57880 * malloc/obstack.h: Likewise.
57881 * math/complex.h: Likewise.
57882 * math/math.h: Likewise.
57883 * sysdeps/generic/_G_config.h: Likewise.
57884 * sysdeps/gnu/_G_config.h: Likewise.
57885 * sysdeps/mach/hurd/_G_config.h: Likewise.
57886 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57887 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57888 * sysdeps/sparc/bits/mathdef.h: Likewise.
57889
57890 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57891
57892 [BZ #13583]
57893 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57894 Clean up HAS_* macros.
57895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57896 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57897 possible.
57898 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57899 HAS_AVX.
57900 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57901 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57902 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57905
57906 2012-01-25 Joseph Myers <joseph@codesourcery.com>
57907
57908 * elf/tst-unique3.cc (gets): Remove declaration.
57909 * elf/tst-unique3lib.cc (gets): Likewise.
57910 * elf/tst-unique3lib2.cc (gets): Likewise.
57911 * elf/tst-unique4.cc (gets): Likewise.
57912
57913 2012-01-24 Ulrich Drepper <drepper@gmail.com>
57914
57915 * include/stdio.h: Add C++ protection. Add gets declarations and
57916 definitions.
57917 * debug/tst-chk1.c: Don't declare gets here.
57918 * stdio-common/tst-gets.c: Likewise.
57919
57920 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57921
57922 * posix/glob: Remove directory.
57923
57924 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57925
57926 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57927
57928 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
57929
57930 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57931 of the non-standard EPFNOSUPPORT.
57932
57933 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57934
57935 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57936 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57937 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57938
57939 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57940
57941 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57942
57943 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57944
57945 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57946 transient errors.
57947 * nscd/grpcache.c (cache_addgr): Likewise.
57948 * nscd/hstcache.c (cache_addhst): Likewise.
57949 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57950 * nscd/pwdcache.c (cache_addpw): Likewise.
57951 * nscd/servicescache.c (cache_addserv): Likewise.
57952
57953 2012-01-16 Ulrich Drepper <drepper@gmail.com>
57954
57955 * malloc/malloc.c: Various cleanups.
57956 * malloc/hooks.c: Likewise.
57957
57958 * stdlib/Makefile (tests): Add bug-fmtmsg1.
57959 * stdlib/bug-fmtmsg1.c: New file.
57960
57961 * stdlib/fmtmsg.c (init): Add missing unlock.
57962 Patch by Peng Haitao <penght@cn.fujitsu.com>.
57963
57964 2012-01-12 Marek Polacek <polacek@redhat.com>
57965
57966 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57967 and _GNU_SOURCE.
57968
57969 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57970
57971 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57972 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57973 macro to ensure uniqueness of label name.
57974 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57975 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57976
57977 2012-01-11 Ulrich Drepper <drepper@gmail.com>
57978
57979 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57980
57981 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57982 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57983 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57984 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57985
57986 2012-01-10 Ulrich Drepper <drepper@gmail.com>
57987
57988 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57989
57990 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57991 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57992 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57993
57994 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57995
57996 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57997 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57998 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58000
58001 * math/bits/math-finite.h: Add ldexp support.
58002
58003 2012-01-10 Marek Polacek <polacek@redhat.com>
58004
58005 * locale/programs/localedef.h (show_archive_content): Add noreturn
58006 attribute.
58007
58008 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58009
58010 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58011
58012 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58013
58014 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58015
58016 * io/Makefile (headers): Add bits/poll2.h.
58017
58018 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58019
58020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58021 typo #include statement.
58022
58023 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58024
58025 * include/sys/cdefs.h: Define __attribute_alloc_size.
58026 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58027 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58028 * elf/pldd.c: Likewise.
58029 * iconv/iconv_charmap.c: Likewise.
58030 * iconv/iconvconfig.c: Likewise.
58031 * iconv/strtab.c: Likewise.
58032 * locale/programs/locale.c: Likewise.
58033 * locale/programs/localedef.h: Likewise.
58034 * locale/programs/simple-hash.c: Likewise.
58035 * nscd/nscd.h: Likewise.
58036 * nss/makedb.c: Likewise.
58037 * sysdeps/generic/ldconfig.h: Likewise.
58038 * locale/programs/localedef.c: Remove xmalloc prototype.
58039 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58040
58041 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58042
58043 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58044 appropriate.
58045
58046 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58047
58048 * math/Makefile (tests): Add tst-CMPLX.
58049 * math/tst-CMPLX.c: New file.
58050
58051 * math/complex.h (CMPLXL): Fix typo.
58052
58053 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58054 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58055 GLIBC_2.16.
58056 * debug/tst-chk1.c: Add poll and ppoll tests.
58057 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58058 * include/sys/poll.h: Add hidden proto for ppoll.
58059 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58060 * sysdeps/mach/hurd/ppoll.c: Likewise.
58061 * io/ppoll.c: Likewise.
58062 * debug/poll_chk.c: New file.
58063 * debug/ppoll_chk.c: New file.
58064 * include/bits/poll2.h: New file.
58065 * io/bits/poll2.h: New file.
58066
58067 [BZ #1350]
58068 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58069
58070 * configure.in: static is always set to yes. Remove.
58071 * config.make.in: Don't set build-static.
58072 * Makeconfig: Remove use of build-static.
58073 * dlfcn/Makefile: Likewise.
58074 * elf/Makefile: Likewise.
58075 * math/Makefile: Likewise.
58076 * misc/Makefile: Likewise.
58077 * nptl/Makefile: Likewise.
58078 * sysdeps/mach/hurd/Makefile: Likewise.
58079
58080 * configure.in: PWD_P is not used anymore.
58081 * config.make.in: Remove PWD_P entry.
58082
58083 * configure.in: Remove last remnants of RANLIB.
58084 No need to check for signed size_t anymore.
58085 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58086 and IA-64.
58087 Remove __builtin_expect test because we require at least gcc 3.4.
58088 * aclocal.m4: Likewise.
58089
58090 * wcsmbs/mbrtoc16.c: Implement using towc function.
58091 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58092 * wcsmbs/wcsmbsload.c: Likewise.
58093 * iconv/gconv_simple.c: Likewise.
58094 * iconv/gconv_int.h: Likewise.
58095 * iconv/gconv_builtin.h: Likewise.
58096 * iconv/iconv_prog.c: Remove CHAR16 handling.
58097
58098 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58099
58100 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58101
58102 * configure.in: Remove --with-elf and --enable-bounded options.
58103 Dont set base_machine for ia64. More non-ELF conditions removed.
58104 Remove testing and setting of leading underscore information.
58105 * config.make.in (build-bounded): Set to no.
58106 * config.h.in: Remove NO_UNDERSCORES entry.
58107 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58108 them.
58109 * csu/start.c: Remove !NO_UNDERSCORE code.
58110 * locale/localeinfo.h: Likewise.
58111 * sysdeps/generic/machine-gmon.h: Likewise.
58112 * sysdeps/generic/sysdep.h: Likewise.
58113 * sysdeps/i386/sysdep.h: Likewise.
58114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58115 * sysdeps/mach/sysdep.h: Likewise.
58116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58118 * sysdeps/sh/sysdep.h: Likewise.
58119 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58120 * sysdeps/unix/i386/sysdep.S: Likewise.
58121 * sysdeps/unix/sparc/start.c: Likewise.
58122 * sysdeps/unix/sparc/sysdep.S: Likewise.
58123 * sysdeps/unix/sparc/sysdep.h: Likewise.
58124 * sysdeps/unix/start.c: Likewise.
58125 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58126 * sysdeps/x86_64/sysdep.h: Likewise.
58127
58128 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58129
58130 [BZ #13553]
58131 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58132 for non-gcc.
58133 * argp/argp-fmtstream.h: Use const instead __const.
58134 * argp/argp.h: Likewise.
58135 * assert/assert.h: Likewise.
58136 * bits/fenv.h: Likewise.
58137 * bits/sched.h: Likewise.
58138 * bits/sigset.h: Likewise.
58139 * bits/sigthread.h: Likewise.
58140 * catgets/nl_types.h: Likewise.
58141 * conform/data/pthread.h-data: Likewise.
58142 * crypt/crypt-private.h: Likewise.
58143 * crypt/crypt.h: Likewise.
58144 * crypt/crypt_util.c: Likewise.
58145 * ctype/ctype.h: Likewise.
58146 * debug/execinfo.h: Likewise.
58147 * debug/mbsnrtowcs_chk.c: Likewise.
58148 * debug/mbsrtowcs_chk.c: Likewise.
58149 * debug/wcsnrtombs_chk.c: Likewise.
58150 * debug/wcsrtombs_chk.c: Likewise.
58151 * debug/wcstombs_chk.c: Likewise.
58152 * dirent/dirent.h: Likewise.
58153 * dlfcn/dlfcn.h: Likewise.
58154 * elf/neededtest4.c: Likewise.
58155 * grp/grp.h: Likewise.
58156 * gshadow/gshadow.h: Likewise.
58157 * iconv/gconv.h: Likewise.
58158 * iconv/gconv_int.h: Likewise.
58159 * iconv/gconv_simple.c: Likewise.
58160 * iconv/iconv.h: Likewise.
58161 * iconv/loop.c: Likewise.
58162 * iconv/skeleton.c: Likewise.
58163 * include/aio.h: Likewise.
58164 * include/aliases.h: Likewise.
58165 * include/argz.h: Likewise.
58166 * include/arpa/inet.h: Likewise.
58167 * include/assert.h: Likewise.
58168 * include/dirent.h: Likewise.
58169 * include/dlfcn.h: Likewise.
58170 * include/execinfo.h: Likewise.
58171 * include/fcntl.h: Likewise.
58172 * include/fenv.h: Likewise.
58173 * include/glob.h: Likewise.
58174 * include/grp.h: Likewise.
58175 * include/libintl.h: Likewise.
58176 * include/mntent.h: Likewise.
58177 * include/netdb.h: Likewise.
58178 * include/pwd.h: Likewise.
58179 * include/rpc/netdb.h: Likewise.
58180 * include/sched.h: Likewise.
58181 * include/search.h: Likewise.
58182 * include/shadow.h: Likewise.
58183 * include/signal.h: Likewise.
58184 * include/stdio.h: Likewise.
58185 * include/stdlib.h: Likewise.
58186 * include/string.h: Likewise.
58187 * include/sys/socket.h: Likewise.
58188 * include/sys/stat.h: Likewise.
58189 * include/sys/statfs.h: Likewise.
58190 * include/sys/statvfs.h: Likewise.
58191 * include/sys/syslog.h: Likewise.
58192 * include/sys/time.h: Likewise.
58193 * include/sys/uio.h: Likewise.
58194 * include/time.h: Likewise.
58195 * include/unistd.h: Likewise.
58196 * include/utmp.h: Likewise.
58197 * include/wchar.h: Likewise.
58198 * include/wctype.h: Likewise.
58199 * inet/aliases.h: Likewise.
58200 * inet/arpa/inet.h: Likewise.
58201 * inet/netinet/ether.h: Likewise.
58202 * inet/netinet/in.h: Likewise.
58203 * intl/libintl.h: Likewise.
58204 * io/bits/fcntl2.h: Likewise.
58205 * io/fcntl.h: Likewise.
58206 * io/ftw.h: Likewise.
58207 * io/sys/poll.h: Likewise.
58208 * io/sys/stat.h: Likewise.
58209 * io/sys/statfs.h: Likewise.
58210 * io/sys/statvfs.h: Likewise.
58211 * io/utime.h: Likewise.
58212 * libio/bits/stdio.h: Likewise.
58213 * libio/bits/stdio2.h: Likewise.
58214 * libio/libio.h: Likewise.
58215 * libio/libioP.h: Likewise.
58216 * libio/stdio.h: Likewise.
58217 * locale/lc-ctype.c: Likewise.
58218 * locale/locale.h: Likewise.
58219 * login/utmp.h: Likewise.
58220 * malloc/arena.c: Likewise.
58221 * malloc/malloc.c: Likewise.
58222 * malloc/malloc.h: Likewise.
58223 * malloc/mcheck.c: Likewise.
58224 * malloc/mtrace.c: Likewise.
58225 * math/bits/mathcalls.h: Likewise.
58226 * math/fenv.h: Likewise.
58227 * math/math_private.h: Likewise.
58228 * misc/bits/error.h: Likewise.
58229 * misc/bits/syslog.h: Likewise.
58230 * misc/err.h: Likewise.
58231 * misc/error.h: Likewise.
58232 * misc/fstab.h: Likewise.
58233 * misc/mntent.h: Likewise.
58234 * misc/regexp.h: Likewise.
58235 * misc/search.h: Likewise.
58236 * misc/sgtty.h: Likewise.
58237 * misc/sys/mman.h: Likewise.
58238 * misc/sys/syslog.h: Likewise.
58239 * misc/sys/uio.h: Likewise.
58240 * misc/sys/xattr.h: Likewise.
58241 * misc/ttyent.h: Likewise.
58242 * nis/rpcsvc/ypclnt.h: Likewise.
58243 * nss/nss.h: Likewise.
58244 * posix/bits/unistd.h: Likewise.
58245 * posix/fnmatch.h: Likewise.
58246 * posix/glob.h: Likewise.
58247 * posix/sched.h: Likewise.
58248 * posix/spawn.h: Likewise.
58249 * posix/sys/wait.h: Likewise.
58250 * posix/unistd.h: Likewise.
58251 * posix/wordexp.h: Likewise.
58252 * pwd/pwd.h: Likewise.
58253 * resolv/netdb.h: Likewise.
58254 * resource/sys/resource.h: Likewise.
58255 * rt/aio.h: Likewise.
58256 * rt/bits/mqueue2.h: Likewise.
58257 * rt/mqueue.h: Likewise.
58258 * shadow/shadow.h: Likewise.
58259 * signal/signal.h: Likewise.
58260 * socket/send.c: Likewise.
58261 * socket/sendto.c: Likewise.
58262 * socket/sys/socket.h: Likewise.
58263 * stdio-common/printf.h: Likewise.
58264 * stdlib/bits/stdlib.h: Likewise.
58265 * stdlib/fmtmsg.h: Likewise.
58266 * stdlib/monetary.h: Likewise.
58267 * stdlib/stdlib.h: Likewise.
58268 * stdlib/ucontext.h: Likewise.
58269 * streams/stropts.h: Likewise.
58270 * string/argz.h: Likewise.
58271 * string/bits/string2.h: Likewise.
58272 * string/string.h: Likewise.
58273 * string/strings.h: Likewise.
58274 * sunrpc/rpc/auth.h: Likewise.
58275 * sunrpc/rpc/auth_des.h: Likewise.
58276 * sunrpc/rpc/clnt.h: Likewise.
58277 * sunrpc/rpc/netdb.h: Likewise.
58278 * sunrpc/rpc/pmap_clnt.h: Likewise.
58279 * sunrpc/rpc/xdr.h: Likewise.
58280 * sysdeps/generic/inttypes.h: Likewise.
58281 * sysdeps/generic/net/if.h: Likewise.
58282 * sysdeps/generic/sys/swap.h: Likewise.
58283 * sysdeps/gnu/net/if.h: Likewise.
58284 * sysdeps/gnu/utmpx.h: Likewise.
58285 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58286 * sysdeps/i386/i486/bits/string.h: Likewise.
58287 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58288 * sysdeps/s390/bits/string.h: Likewise.
58289 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58290 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58291 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58292 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58293 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58294 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58295 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58296 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58297 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58298 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58299 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58300 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58301 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58302 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58303 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58304 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58305 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58307 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58308 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58309 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58310 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58311 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58312 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58313 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58314 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58315 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58316 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58317 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58318 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58319 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58320 * sysvipc/sys/ipc.h: Likewise.
58321 * sysvipc/sys/msg.h: Likewise.
58322 * sysvipc/sys/sem.h: Likewise.
58323 * sysvipc/sys/shm.h: Likewise.
58324 * termios/termios.h: Likewise.
58325 * time/sys/time.h: Likewise.
58326 * time/time.h: Likewise.
58327 * wcsmbs/bits/wchar2.h: Likewise.
58328 * wcsmbs/uchar.h: Likewise.
58329 * wcsmbs/wchar.h: Likewise.
58330 * wctype/wctype.h: Likewise.
58331
58332 [BZ #13551]
58333 * Makeconfig: Remove all but ELF support including AIX support.
58334 * Makerules: Likewise.
58335 * config.h.in: Likewise.
58336 * config.make.in: Likewise.
58337 * configure: Likewise.
58338 * configure.in: Likewise.
58339 * csu/Makefile: Likewise.
58340 * csu/version.c: Likewise.
58341 * debug/Makefile: Likewise.
58342 * dlfcn/Makefile: Likewise.
58343 * elf/Makefile: Likewise.
58344 * extra-lib.mk: Likewise.
58345 * iconv/Makefile: Likewise.
58346 * include/libc-symbols.h: Likewise.
58347 * include/shlib-compat.h: Likewise.
58348 * resolv/Makefile: Likewise.
58349 * resolv/res_libc.c: Likewise.
58350 * rt/Makefile: Likewise.
58351 * sysdeps/i386/asm-syntax.h: Likewise.
58352 * sysdeps/i386/sysdep.h: Likewise.
58353 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58354 * sysdeps/mach/sysdep.h: Likewise.
58355 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58356 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58357 * sysdeps/s390/asm-syntax.h: Likewise.
58358 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58360 * sysdeps/sh/sysdep.h: Likewise.
58361 * sysdeps/unix/sparc/sysdep.h: Likewise.
58362 * sysdeps/wordsize-32/divdi3.c: Likewise.
58363 * sysdeps/x86_64/sysdep.h: Likewise.
58364
58365 * argp/Versions: Remove _argp_unlock_xxx.
58366
58367 [BZ #13559]
58368 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58369 * abilist/libBrokenLocale.abilist: Likewise.
58370 * abilist/libanl.abilist: Likewise.
58371 * abilist/libc.abilist: Likewise.
58372 * abilist/libcrypt.abilist: Likewise.
58373 * abilist/libdl.abilist: Likewise.
58374 * abilist/libm.abilist: Likewise.
58375 * abilist/libnsl.abilist: Likewise.
58376 * abilist/libpthread.abilist: Likewise.
58377 * abilist/libresolv.abilist: Likewise.
58378 * abilist/librt.abilist: Likewise.
58379 * abilist/libthread_db.abilist: Likewise.
58380 * abilist/libutil.abilist: Likewise.
58381 * abilist/libnss_db.abilist: New file.
58382
58383 * scripts/abilist.awk: Add support for indirect functions.
58384
58385 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58386
58387 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58388
58389 * shlib-versions: Remove entries for ports architectures.
58390
58391 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58392 files in ports.
58393 * elf/stackguard-macros.h: Remove support for IA-64.
58394 * elf/tst-auditmod1.c: Likewise.
58395 * sysdeps/generic/ldsodefs.h: Likewise.
58396
58397 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58398 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58399 configure files.
58400
58401 [BZ #13552]
58402 * configure.in: Remove --enable-omitfp support.
58403 * FAQ.in: Adjust.
58404 * config.make.in: Likewise.
58405 * Makeconfig: Likewise.
58406 * manual/install.texi: Likewise.
58407
58408 In case anyone cares, the IA-64 architecture could move to ports.
58409 * sysdeps/ia64/*: Removed.
58410 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58411 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58412
58413 [BZ #13555]
58414 * configure.in: Remove entries for unsupported architectures.
58415
58416 [BZ #13533]
58417 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58418 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58419 routines.
58420 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58421 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58422 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58423 fall back to using wcrtomb.
58424 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58425 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58426 renaming.
58427 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58428 * wcsmbs/tst-c16c32-1.c: New file.
58429
58430 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58431 local variable.
58432
58433 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58434
58435 * elf/tst-unique3.cc: Add explicit declaration of gets.
58436 * elf/tst-unique3lib.cc: Likewise.
58437 * elf/tst-unique3lib2.cc: Likewise.
58438 * elf/tst-unique4.cc: Likewise.
58439
58440 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58441
58442 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58443
58444 [BZ #13566]
58445 * assert/assert.h (static_assert): Don't define for C++.
58446 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58447 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58448
58449 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58450
58451 * iconv/loop.c (single loop): Fix assertion in storing of
58452 remaining bytes.
58453
58454 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58455
58456 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58457
58458 * posix/getconf.c: Update copyright year.
58459 * nss/getent.c: Likewise.
58460 * nss/makedb.c: Likewise.
58461 * iconv/iconvconfig.c: Likewise.
58462 * iconv/iconv_prog.c: Likewise.
58463 * elf/ldconfig.c: Likewise.
58464 * elf/pldd.c: Likewise.
58465 * elf/sotruss.ksh: Likewise.
58466 * catgets/gencat.c: Likewise.
58467 * csu/version.c: Likewise.
58468 * elf/ldd.bash.in: Likewise.
58469 * elf/sprof.c (print_version): Likewise.
58470 * locale/programs/locale.c: Likewise.
58471 * locale/programs/localedef.c: Likewise.
58472 * login/programs/pt_chown.c: Likewise.
58473 * nscd/nscd.c (print_version): Likewise.
58474 * debug/xtrace.sh: Likewise.
58475 * malloc/memusage.sh: Likewise.
58476 * malloc/mtrace.pl: Likewise.
58477 * debug/catchsegv.sh: Likewise.
58478
58479 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58480
58481 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58482 pure attribute.
58483
58484 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58485
58486 [BZ #13533]
58487 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58488 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58489 transformations.
58490 * iconv/gconv_int.h: Likewise.
58491 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58492 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58493 from libc for GLIBC_2.16.
58494 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58495 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58496 * wcsmbs/uchar.h: Really define mbstate_t.
58497 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58498 * wcsmbs/c16rtomb.c: New file.
58499 * wcsmbs/mbrtoc16.c: New file.
58500 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58501 for C/POSIX locale.
58502 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58503 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58504
58505 * wcsmbs/wchar.h: Add missing __restrict.
58506
58507 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58508
58509 [BZ #13532]
58510 * time/Makefile (routines): Add timespec_get.
58511 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58512 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58513 timespec for ISO C11.
58514 * time/timespec_get.c: New file.
58515 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58516 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58517
58518 [BZ #13531]
58519 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58520 * stdlib/stdlib.h: Declare aligned_alloc.
58521 * Versions.def: Add GLIBC_2.16 for libc.
58522 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58523
58524 [BZ 13527]
58525 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58526 ISO C11.
58527
58528 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58529 code.
58530
58531 [BZ #13528]
58532 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58533
58534 [BZ #13529]
58535 * assert/assert.h (static_assert): Define.
58536
58537 * version.h: Update for 2.16 development version.
58538
58539 [BZ #13526]
58540 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58541 _ISOC11_SOURCE.
58542
58543 * version.h (RELEASE): Bump for 2.15 release.
58544 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58545
58546 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58547 Patch by Marek Polacek <mpolacek@redhat.com>.
58548
58549 * bits/byteswap.h: Protect long long constants with __extension__.
58550 * sysdeps/i386/bits/byteswap.h: Likewise.
58551 * sysdeps/ia64/bits/byteswap.h: Likewise.
58552 * sysdeps/s390/bits/byteswap.h: Likewise.
58553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58554
58555 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58556
58557 [BZ #13540]
58558 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58559 destination buffer.
58560 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58561
58562 2011-12-23 Marek Polacek <polacek@redhat.com>
58563
58564 * elf/dl-addr.c (determine_info): Add inline keyword.
58565 * elf/tst-auditmod4b.c (check_avx): Likewise.
58566 * elf/tst-auditmod6b.c (check_avx): Likewise.
58567 * elf/tst-auditmod6c.c (check_avx): Likewise.
58568 * elf/tst-auditmod7b.c (check_avx): Likewise.
58569
58570 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58571
58572 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58573 !__SSE_MATH__.
58574
58575 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58576
58577 [BZ #13540]
58578 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58579 processing for last bytes.
58580
58581 2011-08-06 Bruno Haible <bruno@clisp.org>
58582
58583 [BZ #13061]
58584 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58585 U+0385, not to U+1FEE.
58586
58587 [BZ #13062]
58588 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58589 entry for U+00A5 U+0301.
58590
58591 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58592
58593 [BZ #13166]
58594 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58595 buffer for the output is too small.
58596
58597 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58598 optimization.
58599
58600 [BZ #13185]
58601 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58602 SSE flags if possible.
58603
58604 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58605
58606 [BZ #13540]
58607 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58608 processing for last bytes.
58609
58610 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58611
58612 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58613 (syscall-list-default-options, syscall-list-default-condition)
58614 (syscall-list-includes): Define.
58615 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58616 list of ABIs and options and #if conditions for each ABI. Do not
58617 handle common syscalls between ABIs specially.
58618 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58619 Remove.
58620 (syscall-list-variants, syscall-list-32bit-options)
58621 (syscall-list-32bit-condition, syscall-list-64bit-options)
58622 (syscall-list-64bit-condition): Define.
58623 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58624 (syscall-list-variants, syscall-list-32bit-options)
58625 (syscall-list-32bit-condition, syscall-list-64bit-options)
58626 (syscall-list-64bit-condition): Define.
58627 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58628 Remove.
58629 (syscall-list-variants, syscall-list-32bit-options)
58630 (syscall-list-32bit-condition, syscall-list-64bit-options)
58631 (syscall-list-64bit-condition): Define.
58632 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58633 Remove.
58634 (syscall-list-variants, syscall-list-32bit-options)
58635 (syscall-list-32bit-condition, syscall-list-64bit-options)
58636 (syscall-list-64bit-condition): Define.
58637
58638 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58639
58640 * locale/iso-639.def: Add brx entry.
58641
58642 [BZ #13328]
58643 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58644 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58645
58646 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58647 __feraiseexcept_renamed.
58648
58649 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58650
58651 [BZ #13538]
58652 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58653 EPOLLET with unsigned values.
58654 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58655 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58656
58657 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58658 to large cancellation.
58659 * math/s_cacoshf.c: Likewise.
58660 * math/s_cacoshl.c: Likewise.
58661
58662 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58663
58664 [BZ #13305]
58665 [BZ #12786]
58666 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58667 * math/s_cacoshf.c: Likewise.
58668 * math/s_cacoshl.c: Likewise.
58669
58670 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58671
58672 [BZ #13439]
58673 * iconv/gconv.h: Define __GCONV_SWAP.
58674 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58675 * iconvdata/utf-16.c: Likewise.
58676 * iconvdata/utf-32.c: Likewise.
58677
58678 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58679
58680 [BZ #13524]
58681 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58682 numerator after shifting it by one limb.
58683
58684 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58685
58686 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58687 under [__USE_EXTERN_INLINES].
58688
58689 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58690
58691 [BZ #13446]
58692 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58693
58694 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58695
58696 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58697 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58698 optimized code.
58699 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58700 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58701 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58702 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58703 for strncasecmp/strncasecmp_l compilation.
58704 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58705 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58706
58707 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58708
58709 [BZ #13484]
58710 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58711 of __asm__.
58712
58713 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58714
58715 [BZ #13506]
58716 * time/tzfile.c (__tzfile_read): Check values from file header.
58717
58718 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58719
58720 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58721 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58722 * powerpc/powerpc32/dl-start.S: Likewise.
58723 * powerpc/powerpc32/elf/start.S: Likewise.
58724 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58725 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58726 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58727 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58728 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58729 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58730 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58731 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58732 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58733 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58734 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58735 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58736 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58737 * powerpc/powerpc32/memset.S: Likewise.
58738 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58739 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58740 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58741 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58742 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58743 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58744 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58745 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58746 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58747 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58748 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58749 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58750 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58751
58752 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58753
58754 * math/libm-test.inc: Added more nearbyint tests.
58755 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58757 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58758 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58759
58760 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58761
58762 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58763 FD_CLOEXEC.
58764
58765 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58766
58767 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58768 Add wcscpy-ssse3 wcscpy-c.
58769 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58770 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58771 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58772 * sysdeps/x86_64/wcschr.S: New file.
58773 * sysdeps/x86_64/wcsrchr.S: New file.
58774 * string/test-strcmp.c: Remove checking of wcscmp function for
58775 wrong alignments.
58776 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58777 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58778 wcsrchr-sse2 wcsrchr-c.
58779 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58780 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58781 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58782 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58783 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58784 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58785 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58786 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58787 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58788 * wcsmbc/wcschr.c (WCSCHR): New macro.
58789
58790 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58791
58792 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58793 * wcsmbs/test-wcsrchr.c: New file.
58794 * string/test-strrchr.c: Add wcsrchr support.
58795 (WIDE): New macro.
58796 * wcsmbs/test-wcscpy.c: New file.
58797 * string/test-strcpy.c: Add wcscpy support.
58798 (WIDE): New macro.
58799
58800 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58801
58802 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58803 the inner loop.
58804
58805 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58806
58807 [BZ #13472]
58808 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58809
58810 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58811
58812 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58813 Minor optimizations.
58814
58815 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58816 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58817 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58818
58819 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58820
58821 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58822 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58823 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58824 for gcc to avoid warnings.
58825 * inet/Makefile (tests): Add tst-checks.
58826 * inet/tst-checks.c: New file.
58827
58828 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58829 warning.
58830
58831 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58832 __wmemcmp_sse2.
58833
58834 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58835 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58836
58837 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58838
58839 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58840
58841 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58842 problem.
58843
58844 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58845
58846 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58847
58848 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58849 conditional on GCC version.
58850 (__arch_compare_and_exchange_val_8_acq)
58851 (__arch_compare_and_exchange_val_16_acq)
58852 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58853 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58854 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58855
58856 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58857
58858 * sysdeps/sh/backtrace.c: New file.
58859
58860 2011-12-02 Andreas Schwab <schwab@redhat.com>
58861
58862 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58863 parenthesis.
58864
58865 2011-12-01 Andreas Schwab <schwab@redhat.com>
58866
58867 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58868 falling back to utime.
58869
58870 2011-11-30 Andreas Schwab <schwab@redhat.com>
58871
58872 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58873 expectations for float.
58874
58875 2011-11-29 Andreas Schwab <schwab@redhat.com>
58876
58877 * locale/weight.h (findidx): Add parameter len.
58878 * locale/weightwc.h (findidx): Likewise.
58879 * posix/fnmatch_loop.c (FCT): Adjust caller.
58880 * posix/regcomp.c (build_equiv_class): Likewise.
58881 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58882 * posix/regexec.c (check_node_accept_bytes): Likewise.
58883 * string/strcoll_l.c (STRCOLL): Likewise.
58884 * string/strxfrm_l.c (STRXFRM): Likewise.
58885
58886 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58887
58888 * Makefile.in: Remove CVSOPT handling.
58889 * configure.in: Remove use of AC_REVISION.
58890 * iconvdata/Makefile (distribute): No need to filter out CVS.
58891 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58892 handling.
58893
58894 2011-11-16 Andreas Schwab <schwab@redhat.com>
58895
58896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58897 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58898 [USE_AS_STRNCASECMP_L]: Likewise.
58899 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58900 NO_TLS_DIRECT_SEG_REFS.
58901 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58902 Fix argument offsets for non-PIC.
58903 [USE_AS_STRNCASECMP_L]: Likewise.
58904 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58905 NO_TLS_DIRECT_SEG_REFS.
58906
58907 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58908
58909 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58910 O_CLOEXEC.
58911 * locale/loadlocale.c (_nl_load_locale): Likewise.
58912
58913 2011-11-15 Andreas Schwab <schwab@redhat.com>
58914
58915 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58916 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58917 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58918 (SYSCALL_GETTIME): Set errno on error.
58919
58920 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58921 count references to noai6ai_cached.
58922
58923 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58924
58925 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58926
58927 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58928 FD_CLOEXEC for /proc/self/maps.
58929
58930 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58931 FD_CLOEXEC for /proc/meminfo.
58932
58933 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58934 gai.conf.
58935
58936 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58937 FD_CLOEXEC for given file.
58938
58939 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58940
58941 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58942 FD_CLOEXEC for /etc/hosts.
58943 (_gethtent): Likewise.
58944
58945 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58946
58947 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58948 cancellation and set FD_CLOEXEC for /etc/netgroup.
58949
58950 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58951 reading /etc/publickey.
58952
58953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58954 allow cancellation when reading /etc/group.
58955
58956 * nss/nss_files/files-alias.c (internal_setent): Don't allow
58957 cancellation.
58958 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
58959
58960 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58961 when using data file.
58962
58963 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58964
58965 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58966 (write_nis_obj): Use "c" and "e" in fopen.
58967
58968 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58969
58970 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58971
58972 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58973
58974 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58975
58976 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58977 locale.alias.
58978
58979 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58980
58981 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58982
58983 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58984
58985 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58986 file parsing and set FD_CLOEXEC.
58987
58988 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58989
58990 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58991
58992 2011-11-14 Andreas Schwab <schwab@redhat.com>
58993
58994 * malloc/arena.c (arena_get2): Don't call reused_arena when
58995 _int_new_arena failed.
58996
58997 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58998
58999 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59000 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59001 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59002 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59003 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59004 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59005 to compile strcasecmp and strncasecmp.
59006 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59007 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59008
59009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59010
59011 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59012
59013 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59014 locale-defines.sym to gen-as-const-headers.
59015 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59016 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59018 to compile strcasecmp and strncasecmp.
59019 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59020 strcasecmp_l and strncasecmp_l.
59021 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59022 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59023 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59024 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59025 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59026 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59027 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59028 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59029 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59030 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59031 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59032
59033 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59034
59035 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59036 result of SYSDEP_GETTIME_CPU to retval.
59037 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59038 parameter list to macro. Remove trailing semicolon. Adjust users.
59039
59040 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59041 variable.
59042
59043 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59044 mantissa words.
59045 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59046
59047 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59048 from unused variable.
59049
59050 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59051 DWARF definitions.
59052 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59053 for assembling.
59054
59055 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59056 over namespaces.
59057
59058 * sunrpc/rpc_prot.c (rejected): Fix case value.
59059
59060 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59061 unsigned long long int to avoid warnings in shift.
59062
59063 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59064 of use of trans.
59065 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59066 variable tmp.
59067
59068 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59069 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59070 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59071
59072 * nis/nis_table.c (nis_list): Use variable of correct type for
59073 result of __follow_path call.
59074
59075 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59076
59077 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59078 of math functions ceil, trunc, floor, round, and sqrt, when
59079 avaliable on the platform.
59080 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59081 name clash.
59082 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59083 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59084 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59085
59086 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59087
59088 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59089 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59090
59091 2011-11-11 Roland McGrath <roland@hack.frob.com>
59092
59093 * include/unistd.h: Fix __readlink return type.
59094 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59095
59096 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59097
59098 * stdlib/ucontext.h: Undo last change for makecontext.
59099
59100 2011-11-11 Andreas Schwab <schwab@redhat.com>
59101
59102 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59103
59104 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59105 * setjmp/setjmp.h: Mark functions as non-leaf.
59106 * setjmp/bits/setjmp2.h: Likewise.
59107 * stdlib/ucontext.h: Likewise.
59108
59109 2011-11-10 Andreas Schwab <schwab@redhat.com>
59110
59111 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59112 (reused_arena): Don't check arena limit.
59113 (arena_get2): Atomically check arena limit.
59114
59115 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59116
59117 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59118 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59119
59120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59121 instructions.
59122
59123 2011-11-07 Andreas Schwab <schwab@redhat.com>
59124
59125 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59126 handler when locking.
59127
59128 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59129 Fix size of allocated buffer.
59130
59131 2011-11-04 Andreas Schwab <schwab@redhat.com>
59132
59133 [BZ #10103]
59134 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59135 declarations for long double functions.
59136 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59137
59138 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59139
59140 2011-11-03 Andreas Schwab <schwab@redhat.com>
59141
59142 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59143 installed.
59144
59145 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59146 is disabled.
59147
59148 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59149
59150 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59151
59152 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59153
59154 * include/alloca.h (stackinfo_alloca_round): Define.
59155 (extend_alloca): Use it.
59156 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59157 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59158 here.
59159
59160 * scripts/check-local-headers.sh: Ignore libaudit.h.
59161
59162 * nscd/Makefile (extra-objs): Make recursively expanded.
59163
59164 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59165
59166 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59167 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59168
59169 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59170 * posix/tst-rfc3484-2.c: Likewise.
59171 * posix/tst-rfc3484-3.c: Likewise.
59172
59173 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59174 process_vm_writev.
59175 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59176 process_vm_writev.
59177 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59178 process_vm_writev from libc using GLIBC_2.15 version.
59179
59180 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59181
59182 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59183
59184 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59185 stack usage.
59186
59187 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59188
59189 [BZ #13367]
59190 * nss/getent.c (initgroups_keys): Show error message in case no group
59191 names are given.
59192
59193 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59194 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59195 __bump_nl_timestamp.
59196 * nscd/connections (nscd_init): When host database is served open
59197 netlink socket and request notification about configuration changes.
59198 (main_loop_poll): Track netlink file descriptor and bump timestamp
59199 in case data becomes available.
59200 (main_loop_epoll): Likewise.
59201 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59202 (database_pers_head): Add extra_data fileds.
59203 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59204 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59205 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59206 Adjust caller.
59207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59208 in6ai data, call __free_in6ai.
59209 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59210 Add -DHAVE_NETLINK.
59211 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59212 interface information. Reuse previous data if netlink timestamp
59213 is not changed.
59214 (__bump_nl_timestamp): New function.
59215 (__free_in6ai): New function.
59216
59217 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59218
59219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59220 close_not_cancel_no_status here.
59221 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59222
59223 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59224
59225 [BZ #13276]
59226 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59227 return value.
59228
59229 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59230 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59231 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59232
59233 2011-07-03 Andreas Jaeger <aj@suse.de>
59234
59235 [BZ #10709]
59236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59237 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59238 * math/libm-test.inc (sin_test): Add test case.
59239
59240 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59241
59242 [BZ #13337]
59243 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59244 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59245
59246 * elf/chroot_canon.c (chroot_canon): Cleanups.
59247
59248 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59249
59250 [BZ #13335]
59251 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59252 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59253
59254 * string/test-strchr.c: Make usable for strchrnul testing.
59255 * string/test-strchrnul.c: New file.
59256 * string/Makefile (strop-tests): Add strchrnul.
59257
59258 * po/it.po: Update from translation team.
59259 * po/es.po: Likewise.
59260
59261 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59262
59263 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59264 the three constants needed as parameters. Drop the others.
59265 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59266 __m128i_strloadu_tolower.
59267 Create and initialize variable zero and use it in all the places
59268 where _mm_setzero_si128 was used.
59269
59270 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59271 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59272 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59273 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59274 anymore.
59275 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59276 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59277 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59278 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59279 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59280 __mpranred, __mptan.
59281 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59282 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59283 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59284 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59288 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59289 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59290
59291 2011-10-28 Andreas Schwab <schwab@redhat.com>
59292
59293 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59294 redefine if SHARED.
59295 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59296
59297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59298 wide char related routines to wcsmbs subdir.
59299
59300 2011-10-27 Andreas Schwab <schwab@redhat.com>
59301
59302 [BZ #13344]
59303 * misc/sys/cdefs.h (__THROWNL): Define.
59304 * posix/unistd.h: Use __THREADNL instead of __THREAD
59305 for memory synchronization functions.
59306
59307 2011-10-26 Roland McGrath <roland@hack.frob.com>
59308
59309 [BZ #13349]
59310 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59311 doesn't exist.
59312 * manual/stdio.texi (Obstack Streams): Node removed.
59313
59314 2011-10-26 Andreas Schwab <schwab@redhat.com>
59315
59316 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59317 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59318 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59319
59320 * math/math_private.h (math_force_eval): Allow non-addressable
59321 arguments.
59322 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59323
59324 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59325
59326 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59327 file is not needed.
59328
59329 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59331 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59332 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59333 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59334 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59335 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59336 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59337 Add AVX variants.
59338 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59339 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59340 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59341 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59342 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59343 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59344 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59345 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59346 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59347 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59348 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59349 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59350 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59351 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59352 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59353 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59354 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59355 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59356 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59357
59358 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59359 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59360
59361 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59362 place. Use VEX encoding when compiling for AVX.
59363
59364 2011-10-25 Andreas Schwab <schwab@redhat.com>
59365
59366 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59367 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59368
59369 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59370
59371 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59372
59373 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59374 useless if() expression.
59375 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59376 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59377 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59379 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59380 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59381 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59383 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59384 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59385 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59386 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59387 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59388 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59389 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59390 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59391 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59392 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59393 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59394
59395 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59396
59397 2011-10-25 Andreas Schwab <schwab@redhat.com>
59398
59399 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59400 condition.
59401 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59402
59403 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59404
59405 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59406 .text section. Avoid duplicate constants.
59407 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59409 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59415 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59416 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59417 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59418 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59419 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59420 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59421 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59422 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59423 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59424 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59426 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59427 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59428 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59429 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59430 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59431 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59432 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59433 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59434 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59435 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59436 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59437 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59448 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59449 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59450 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59451 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59452
59453 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59454
59455 * sysdeps/x86_64/dla.h: Move to ...
59456 * sysdeps/x86_64/fpu/dla.h: ...here.
59457 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59458 situations. Use __builtin_fma only for gcc 4.6 and up.
59459
59460 * config.make.in: Add have-mfma4 entry.
59461 * configure.in: Substitute libc_cv_cc_fma4.
59462 * math/Makefile (dbl-only-routines): Add sincostab.
59463 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59464 Use __sincostab not sincos.
59465 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59466 name is a macro.
59467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59471 using __copysign.
59472 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59473 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59474 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59475 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59476 and __inv.
59477 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59478 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59479 __copysign.
59480 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59481 define aliases when function name is a macro.
59482 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59483 sysdeps/ieee754/dbl-64/sincos.tbl.
59484 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59485 fma4-enabled routines.
59486 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59487 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59488 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59489 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59490 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59491 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59492 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59493 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59494 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59495 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59496 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59497 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59498 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59499 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59500 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59501 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59502 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59503 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59504 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59505 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59506 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59507 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59508 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59509 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59510 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59511 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59513 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59514 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59515 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59516
59517 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59518 rename.
59519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59524 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59527
59528 2011-10-24 Andreas Schwab <schwab@redhat.com>
59529
59530 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59531
59532 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59533
59534 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59535
59536 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59537 prediction.
59538 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59539
59540 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59541 Remove unused variable magic_bits.
59542 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59543
59544 * string/strnlen.c: Define and use STRNLEN macro.
59545 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59546 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59547 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59548 * wcsmbs/wcslen.c: Define and use WCSLEN.
59549 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59550 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59551 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59552 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59553 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59554 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59555 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59556
59557 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59558
59559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59560 strnlen-sse2-no-bsf.
59561 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59562 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59563 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59564 Add strnlen support.
59565 (USE_AS_STRNLEN): New macro.
59566 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59567 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59568 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59569 * sysdeps/x86_64/wcslen.S: New file.
59570
59571 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59572
59573 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59574 XMM-moves are used for copying on small sizes.
59575
59576 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59577
59578 * wcsmbs/Makefile (strop-tests): Add wcschr.
59579 * wcsmbs/test-wcschr.c: New file.
59580 * string/test-strchr.c: Update.
59581 Add wcschr support.
59582 (WIDE): New macro.
59583
59584 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59585
59586 * wcsmbs/Makefile (strop-tests): Add wcslen.
59587 * wcsmbs/test-wcslen.c: New file.
59588 * string/test-strlen.c: Update.
59589 Add wcslen support.
59590 (WIDE): New macro.
59591
59592 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59593
59594 * po/it.po: Update from translation team.
59595
59596 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59597
59598 * sysdeps/x86_64/wcscmp.S: Update.
59599 Fix wrong comparison semantics.
59600 wcscmp shall use signed comparison not unsigned.
59601 Don't use substraction to avoid overflow bug.
59602 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59603 * wcsmbc/wcscmp.c: Likewise.
59604 * string/test-strcmp.c: Likewise.
59605 Add new tests to check cases with negative values.
59606
59607 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59608
59609 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59610 * sysdeps/x86_64/dla.h: ...here. New file.
59611 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59616 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59618 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59620
59621 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59622
59623 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59624 __ynl_finite aliases.
59625
59626 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59627
59628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59629
59630 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59631 define DLA_FMA.
59632 [DLA_FMA] (EMULV): Use DLA_FMA.
59633 [DLA_FMA] (MUL12): Use EMULV.
59634 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59635 that are not needed.
59636 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59643
59644 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59645
59646 * math/s_nan.c: Undef __nan.
59647 * math/s_nanf.c: Undef __nanf.
59648 * math/s_nanl.c: Undef __nanl.
59649 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59650 "math_private.h".
59651
59652 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59653
59654 * math/s_catan.c: Add branch predictions.
59655 * math/s_catanf.c: Likewise.
59656 * math/s_catanh.c: Likewise.
59657 * math/s_catanhf.c: Likewise.
59658 * math/s_catanhl.c: Likewise.
59659 * math/s_catanl.c: Likewise.
59660 * math/s_cexp.c: Likewise.
59661 * math/s_cexpf.c: Likewise.
59662 * math/s_cexpl.c: Likewise.
59663 * math/s_clog.c: Likewise.
59664 * math/s_clog10.c: Likewise.
59665 * math/s_clog10f.c: Likewise.
59666 * math/s_clog10l.c: Likewise.
59667 * math/s_clogf.c: Likewise.
59668 * math/s_clogl.c: Likewise.
59669 * math/s_csqrt.c: Likewise.
59670 * math/s_csqrtf.c: Likewise.
59671 * math/s_csqrtl.c: Likewise.
59672 * math/s_ctanf.c: Likewise.
59673 * math/s_ctanh.c: Likewise.
59674 * math/s_ctanhf.c: Likewise.
59675 * math/s_ctanhl.c: Likewise.
59676 * math/s_ctanl.c: Likewise.
59677
59678 * math/math_private.h: Define __nan, __nanf, __nanl.
59679 * math/s_cacosh.c: Include <math_private.h>.
59680 * math/s_cacoshl.c: Likewise.
59681 * math/s_casinh.c: Likewise.
59682 * math/s_casinhf.c: Likewise.
59683 * math/s_casinhl.c: Likewise.
59684 * math/s_ccos.c: Rely entire on ccosh.
59685 * math/s_ccosf.c: Rely entire on ccoshf.
59686 * math/s_ccosl.c: Rely entirely on ccoshl.
59687 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59688 Remove tests for FE_INVALID.
59689 * math/s_ccoshf.c: Likewise.
59690 * math/s_ccoshl.c: Likewise.
59691 * math/s_csin.c: Likewise.
59692 * math/s_csinf.c: Likewise.
59693 * math/s_csinh.c Likewise.
59694 * math/s_csinhf.c: Likewise.
59695 * math/s_csinhl.c: Likewise.
59696 * math/s_csinl.c: Likewise.
59697 * math/s_ctan.c: Likewise.
59698 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59699 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59701
59702 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59703
59704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59705 compilation problems.
59706
59707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59708 __builtin_expect.
59709
59710 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59711
59712 * sysdeps/i386/configure.in: Test for -mfma4 option.
59713 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59714 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59715 COMMON_CPUID_INDEX_80000001.
59716 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59717 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59718 use it if FMA3 is not supported.
59719 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59720
59721 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59722 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59723
59724 2011-10-20 Andreas Schwab <schwab@redhat.com>
59725
59726 [BZ #12892]
59727 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59728 it would create a cycle with a link time dependency.
59729
59730 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59731
59732 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59733 instruction.
59734 * string/Makefile (strop-tests): Add rawmemchr.
59735 * string/test-rawmemchr.c: New file.
59736
59737 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59739 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59740 when compiling str{,n}casecmp and when AVX is available. Hook up
59741 new optimized code in initializers.
59742
59743 2011-10-19 Andreas Schwab <schwab@redhat.com>
59744
59745 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59746 __feraiseexcept instead of feraiseexcept.
59747
59748 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59749
59750 * math/math_private.h: Define defaults for libc_fetestexcept and
59751 libc_feupdateenv.
59752 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59753 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59754 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59755 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59756 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59757 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59758 libc_fetestexcept and libc_feupdateenv.
59759
59760 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59761 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59762 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59763 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59764 libc_feholdexcept_setround.
59765
59766 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59767 Add s_nearbyint-c and s_nearbyintf-c.
59768 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59769 nearbyintf inlines.
59770 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59771 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59772 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59773 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59774
59775 * math/math_private.h: Define defaults for libc_fegetround,
59776 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59777 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59778 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59779 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59780 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59781 standard functions.
59782 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59783 Remove comments and hacks for old compiler versions.
59784 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59785 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59786 libc_feholdexceptl.
59787
59788 2011-10-18 Andreas Schwab <schwab@redhat.com>
59789
59790 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59791 (__feraiseexcept_renamed): Add __NTH.
59792 (feraiseexcept): Add __NTH. Rename local variables to fix
59793 namespace violations.
59794
59795 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59796
59797 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59798
59799 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59800
59801 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59802 recently added interfaces.
59803 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59804
59805 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59806 about macro parameter expansion.
59807
59808 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59809 __NO_MATH_INLINES is defined. Cleanups.
59810
59811 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59812 and __floorf is target has SSE4.1.
59813 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59814 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59815 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59816 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59817
59818 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59819 name.
59820 (floorf): Likewise.
59821
59822 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59823
59824 2011-10-17 Andreas Schwab <schwab@redhat.com>
59825
59826 * misc/sys/cdefs.h: Fix last change.
59827
59828 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59829 database lookup.
59830
59831 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59832
59833 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59834
59835 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59837 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59838 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59840 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59841 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59842 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59843 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59844 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59845 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59846 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59847 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59848 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59849 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59850 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59851 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59852 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59853 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59854 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59855 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59856 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59857
59858 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59859 ceil, ceilf, floor, floorf.
59860
59861 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59862 Perform IRELATIVE relocations last.
59863
59864 * elf/do-rel.h: Add another parameter nrelative, replacing the
59865 local variable with the same name. Change name of the function
59866 to end in Rel or Rela (uppercase).
59867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59868 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59869 elf_dynamic_do_##reloc function.
59870
59871 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59872
59873 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59874 is sufficient, at least on modern CPUs.
59875
59876 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59877
59878 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59879 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59880
59881 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59882 __expl_finite.
59883 * math/bits/math-finite.h: Add entries for exp.
59884 * math/e_expl.c: Add __*_finite alias.
59885 * sysdeps/i386/fpu/e_exp.S: Likewise.
59886 * sysdeps/i386/fpu/e_expf.S: Likewise.
59887 * sysdeps/i386/fpu/e_expl.c: Likewise.
59888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59889 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59890 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59892 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59893 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59894 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59895
59896 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59897 is sufficient, at least on modern CPUs.
59898
59899 * ctype/ctype-info.c (__ctype_init): Define.
59900 * include/ctype.h (__ctype_init): Declare.
59901 (__ctype_b_loc): The variable is always initialized.
59902 (__ctype_toupper_loc): Likewise.
59903 (__ctype_tolower_loc): Likewise.
59904 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59905 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59906
59907 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
59908
59909 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59910
59911 * configure.in: Also look in $cxxmachine/include for C++ system
59912 headers.
59913
59914 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59915
59916 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59917 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59918 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59919 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
59920 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59921 (USE_AS_WMEMCMP): New macro.
59922 Fixing indents.
59923 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59924 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59925 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59926 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59928 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59929 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59930 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59931 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59932 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59933 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59934 (USE_AS_WMEMCMP): New macro.
59935 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59936 * sysdeps/string/test-memcmp.c: Update.
59937 Fix simple_wmemcmp.
59938 Add new tests.
59939 * wcsmbs/wmemcmp.c: Update.
59940 (WMEMCMP): New macro.
59941 Fix overflow bug.
59942
59943 2011-10-12 Andreas Jaeger <aj@suse.de>
59944
59945 [BZ #13268]
59946 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59947
59948 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59949
59950 * libio/iofwide.c (do_length): Avoid warning.
59951
59952 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59953
59954 2011-10-14 Ulrich Drepper <drepper@gmail.com>
59955
59956 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59957
59958 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59959 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59960 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59961 * sysdeps/i386/i686/fpu/e_log.S: New file.
59962 * sysdeps/i386/i686/fpu/e_logf.S: New file.
59963 * sysdeps/i386/i686/fpu/e_logl.S: New file.
59964
59965 * ctype/ctype.h: Add support for inlined isXXX functions when
59966 compiling C++ code.
59967
59968 2011-10-14 Andreas Schwab <schwab@redhat.com>
59969
59970 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59971
59972 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59973
59974 2011-10-13 Roland McGrath <roland@hack.frob.com>
59975
59976 [BZ #13291]
59977 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59978
59979 2011-10-13 Andreas Schwab <schwab@redhat.com>
59980
59981 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59982 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59983 feraiseexcept.
59984
59985 * sysdeps/x86_64/memrchr.S: Check for zero size.
59986
59987 * string/stratcliff.c: Add memrchr tests.
59988
59989 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59990
59991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59992 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59993 rawmemchr-sse2 rawmemchr-sse2-bsf.
59994 * sysdeps/i386/i686/multiarch/memchr.S: New file.
59995 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59996 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59997 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59998 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59999 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60000 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60001 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60002 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60003 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60004 * string/memrchr.c (MEMRCHR): New macro.
60005
60006 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60007
60008 Add integration with gcc's -ffinite-math-only and optimize wrapper
60009 functions in libm.
60010 * Versions.def: Define GLIBC_2.15 version for libm.
60011 * math/Makefile (headers): Add bits/math-finite.h.
60012 * math/bits/math-finite.h: New file.
60013 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60014 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60015 * math/e_acoshl.c: Add __*_finite alias.
60016 * math/e_acosl.c: Likewise.
60017 * math/e_asinl.c: Likewise.
60018 * math/e_atan2l.c: Likewise.
60019 * math/e_atanhl.c: Likewise.
60020 * math/e_coshl.c: Likewise.
60021 * math/e_exp10.c: Likewise.
60022 * math/e_exp10f.c: Likewise.
60023 * math/e_exp10l.c: Likewise.
60024 * math/e_exp2l.c: Likewise.
60025 * math/e_fmodl.c: Likewise.
60026 * math/e_gammal_r.c: Likewise.
60027 * math/e_hypotl.c: Likewise.
60028 * math/e_j0l.c: Likewise.
60029 * math/e_j1l.c: Likewise.
60030 * math/e_jnl.c: Likewise.
60031 * math/e_lgammal_r.c: Likewise.
60032 * math/e_log10l.c: Likewise.
60033 * math/e_log2l.c: Likewise.
60034 * math/e_logl.c: Likewise.
60035 * math/e_powl.c: Likewise.
60036 * math/e_sinhl.c: Likewise.
60037 * math/e_sqrtl.c: Likewise.
60038 * math/e_scalb.c: Completely rewritten and optimized.
60039 * math/e_scalbf.c: Likewise.
60040 * math/e_scalbl.c: Likewise.
60041 * math/w_acos.c: Likewise.
60042 * math/w_acosf.c: Likewise.
60043 * math/w_acosl.c: Likewise.
60044 * math/w_acosh.c: Likewise.
60045 * math/w_acoshf.c: Likewise.
60046 * math/w_acoshl.c: Likewise.
60047 * math/w_asin.c: Likewise.
60048 * math/w_asinf.c: Likewise.
60049 * math/w_asinl.c: Likewise.
60050 * math/w_atan2.c: Likewise.
60051 * math/w_atan2f.c: Likewise.
60052 * math/w_atan2l.c: Likewise.
60053 * math/w_atanh.c: Likewise.
60054 * math/w_atanhf.c: Likewise.
60055 * math/w_atanhl.c: Likewise.
60056 * math/w_exp10.c: Likewise.
60057 * math/w_exp10f.c: Likewise.
60058 * math/w_exp10l.c: Likewise.
60059 * math/w_fmod.c: Likewise.
60060 * math/w_fmodf.c: Likewise.
60061 * math/w_fmodl.c: Likewise.
60062 * math/w_j0.c: Likewise.
60063 * math/w_j0f.c: Likewise.
60064 * math/w_j0l.c: Likewise.
60065 * math/w_j1.c: Likewise.
60066 * math/w_j1f.c: Likewise.
60067 * math/w_j1l.c: Likewise.
60068 * math/w_jn.c: Likewise.
60069 * math/w_jnf.c: Likewise.
60070 * math/w_log.c: Likewise.
60071 * math/w_logf.c: Likewise.
60072 * math/w_logl.c: Likewise.
60073 * math/w_log10.c: Likewise.
60074 * math/w_log10f.c: Likewise.
60075 * math/w_log10l.c: Likewise.
60076 * math/w_log2.c: Likewise.
60077 * math/w_log2f.c: Likewise.
60078 * math/w_log2l.c: Likewise.
60079 * math/w_pow.c: Likewise.
60080 * math/w_powf.c: Likewise.
60081 * math/w_powl.c: Likewise.
60082 * math/w_remainder.c: Likewise.
60083 * math/w_remainderf.c: Likewise.
60084 * math/w_remainderl.c: Likewise.
60085 * math/w_scalb.c: Likewise.
60086 * math/w_scalbf.c: Likewise.
60087 * math/w_scalbl.c: Likewise.
60088 * math/w_sqrt.c: Likewise.
60089 * math/w_sqrtf.c: Likewise.
60090 * math/w_sqrtl.c: Likewise.
60091 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60092 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60093 used.
60094 * math/math_private.h: Declare __kernel_standard_f.
60095 * math/w_cosh.c: Remove cruft and optimize a bit.
60096 * math/w_coshf.c: Likewise.
60097 * math/w_coshl.c: Likewise.
60098 * math/w_exp2.c: Likewise.
60099 * math/w_exp2f.c: Likewise.
60100 * math/w_exp2l.c: Likewise.
60101 * math/w_hypot.c: Likewise.
60102 * math/w_hypotf.c: Likewise.
60103 * math/w_hypotl.c: Likewise.
60104 * math/w_lgamma.c: Likewise.
60105 * math/w_lgamma_r.c: Likewise.
60106 * math/w_lgammaf.c: Likewise.
60107 * math/w_lgammaf_r.c: Likewise.
60108 * math/w_lgammal.c: Likewise.
60109 * math/w_lgammal_r.c: Likewise.
60110 * math/w_sinh.c: Likewise.
60111 * math/w_sinhf.c: Likewise.
60112 * math/w_sinhl.c: Likewise.
60113 * math/w_tgamma.c: Likewise.
60114 * math/w_tgammaf.c: Likewise.
60115 * math/w_tgammal.c: Likewise.
60116 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60117 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60118 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60119 Minor optimizations. Pretty printing. Remove cruft.
60120 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60121 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60122 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60123 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60124 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60125 * sysdeps/i386/fpu/e_asin.S: Likewise.
60126 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60127 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60128 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60129 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60130 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60131 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60132 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60133 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60134 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60135 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60136 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60137 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60138 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60139 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60140 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60141 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60142 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60143 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60144 * sysdeps/i386/fpu/e_log.S: Likewise.
60145 * sysdeps/i386/fpu/e_log10.S: Likewise.
60146 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60147 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60148 * sysdeps/i386/fpu/e_log2.S: Likewise.
60149 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60150 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60151 * sysdeps/i386/fpu/e_logf.S: Likewise.
60152 * sysdeps/i386/fpu/e_logl.S: Likewise.
60153 * sysdeps/i386/fpu/e_pow.S: Likewise.
60154 * sysdeps/i386/fpu/e_powf.S: Likewise.
60155 * sysdeps/i386/fpu/e_powl.S: Likewise.
60156 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60157 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60158 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60159 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60160 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60161 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60162 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60163 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60164 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60165 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60166 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60168 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60169 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60170 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60171 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60172 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60173 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60174 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60175 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60176 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60178 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60179 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60182 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60185 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60186 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60187 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60188 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60189 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60190 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60191 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60192 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60193 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60194 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60195 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60196 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60197 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60199 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60200 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60201 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60202 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60203 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60204 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60205 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60206 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60207 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60208 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60209 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60210 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60211 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60212 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60213 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60214 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60215 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60216 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60217 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60218 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60219 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60220 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60221 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60222 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60223 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60224 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60225 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60226 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60228 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60229 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60230 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60231 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60233 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60234 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60235 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60236 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60237 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60238 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60239 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60243 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60244 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60245 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60246 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60247 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60248 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60249 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60250 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60251 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60252 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60253 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60254 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60255 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60256 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60258 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60259 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60260 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60261 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60262 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60263 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60264 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60265 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60266 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60267 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60268 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60269 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60270 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60271 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60272 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60273 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60274 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60275 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60276 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60277 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60278 (__isnanf): Likewise.
60279 (__isinf_ns): Likewise.
60280 (__isinf_nsf): Likewise.
60281 (__finite): Likewise.
60282 (__finitef): Likewise.
60283 (__ieee754_sqrt): Define as macro.
60284 (__ieee754_sqrtf): Define as macro.
60285 (__ieee754_sqrtl): Define as macro.
60286 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60287 inlined copy.
60288 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60289 __FINITE_MATH_ONLY__ consistent.
60290 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60291
60292 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60293
60294 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60295 of rawmemchr.
60296
60297 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60298
60299 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60300
60301 * po/ja.po: Update from translation team.
60302
60303 2011-10-08 Roland McGrath <roland@hack.frob.com>
60304
60305 * locale/programs/locarchive.c (prepare_address_space): New function.
60306 (create_archive, enlarge_archive, open_archive): Use it.
60307
60308 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60309 inside [SHARED], where it is used.
60310
60311 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60312
60313 * nss/getent.c (netgroup_keys): Remove unused variable.
60314 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60315
60316 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60317
60318 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60319 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60321 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60322 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60323 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60324 * math/Makefile (libm-calls): Add s_isinf_ns.
60325 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60326 * math/multc3.c: Likewise.
60327 * math/s_casin.c: Likewise.
60328 * math/s_casinf.c: Likewise.
60329 * math/s_casinl.c: Likewise.
60330 * math/s_ccos.c: Likewise.
60331 * math/s_ccosf.c: Likewise.
60332 * math/s_ccosl.c: Likewise.
60333 * math/s_ctan.c: Likewise.
60334 * math/s_ctanf.c: Likewise.
60335 * math/s_ctanh.c: Likewise.
60336 * math/s_ctanhf.c: Likewise.
60337 * math/s_ctanhl.c: Likewise.
60338 * math/s_ctanl.c: Likewise.
60339 * math/w_fmod.c: Likewise.
60340 * math/w_fmodf.c: Likewise.
60341 * math/w_fmodl.c: Likewise.
60342 * math/w_remainder.c: Likewise.
60343 * math/w_remainderf.c: Likewise.
60344 * math/w_remainderl.c: Likewise.
60345 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60346 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60348 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60349 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60350 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60351 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60352 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60353
60354 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60355 of the number.
60356 * stdio-common/printf_fphex.c: Likewise.
60357 * stdio-common/printf_size.c: Likewise.
60358
60359 * math/e_exp10.c: Include math_private.h using <...> not "...".
60360 * math/e_exp10f.c: Likewise.
60361 * math/e_exp10l.c: Likewise.
60362 * math/e_exp2l.c: Likewise.
60363 * math/e_j0l.c: Likewise.
60364 * math/e_j1l.c: Likewise.
60365 * math/e_jnl.c: Likewise.
60366 * math/e_lgammal_r.c: Likewise.
60367 * math/e_rem_pio2l.c: Likewise.
60368 * math/e_scalb.c: Likewise.
60369 * math/e_scalbf.c: Likewise.
60370 * math/e_scalbl.c: Likewise.
60371 * math/k_cosl.c: Likewise.
60372 * math/k_sinl.c: Likewise.
60373 * math/k_tanl.c: Likewise.
60374 * math/s_cacoshf.c: Likewise.
60375 * math/s_catan.c: Likewise.
60376 * math/s_catanf.c: Likewise.
60377 * math/s_catanh.c: Likewise.
60378 * math/s_catanhf.c: Likewise.
60379 * math/s_catanhl.c: Likewise.
60380 * math/s_catanl.c: Likewise.
60381 * math/s_ccosh.c: Likewise.
60382 * math/s_ccoshf.c: Likewise.
60383 * math/s_ccoshl.c: Likewise.
60384 * math/s_cexp.c: Likewise.
60385 * math/s_cexpf.c: Likewise.
60386 * math/s_cexpl.c: Likewise.
60387 * math/s_clog.c: Likewise.
60388 * math/s_clog10.c: Likewise.
60389 * math/s_clog10f.c: Likewise.
60390 * math/s_clog10l.c: Likewise.
60391 * math/s_clogf.c: Likewise.
60392 * math/s_clogl.c: Likewise.
60393 * math/s_csin.c: Likewise.
60394 * math/s_csinf.c: Likewise.
60395 * math/s_csinh.c: Likewise.
60396 * math/s_csinhf.c: Likewise.
60397 * math/s_csinhl.c: Likewise.
60398 * math/s_csinl.c: Likewise.
60399 * math/s_csqrt.c: Likewise.
60400 * math/s_csqrtf.c: Likewise.
60401 * math/s_csqrtl.c: Likewise.
60402 * math/s_ctan.c: Likewise.
60403 * math/s_ctanf.c: Likewise.
60404 * math/s_ctanh.c: Likewise.
60405 * math/s_ctanhf.c: Likewise.
60406 * math/s_ctanhl.c: Likewise.
60407 * math/s_ctanl.c: Likewise.
60408 * math/s_ldexp.c: Likewise.
60409 * math/s_ldexpf.c: Likewise.
60410 * math/s_ldexpl.c: Likewise.
60411 * math/s_significand.c: Likewise.
60412 * math/s_significandf.c: Likewise.
60413 * math/s_significandl.c: Likewise.
60414 * math/w_acos.c: Likewise.
60415 * math/w_acosf.c: Likewise.
60416 * math/w_acosh.c: Likewise.
60417 * math/w_acoshf.c: Likewise.
60418 * math/w_acoshl.c: Likewise.
60419 * math/w_acosl.c: Likewise.
60420 * math/w_asin.c: Likewise.
60421 * math/w_asinf.c: Likewise.
60422 * math/w_asinl.c: Likewise.
60423 * math/w_atan2.c: Likewise.
60424 * math/w_atan2f.c: Likewise.
60425 * math/w_atan2l.c: Likewise.
60426 * math/w_atanh.c: Likewise.
60427 * math/w_atanhf.c: Likewise.
60428 * math/w_atanhl.c: Likewise.
60429 * math/w_cosh.c: Likewise.
60430 * math/w_coshf.c: Likewise.
60431 * math/w_coshl.c: Likewise.
60432 * math/w_dremf.c: Likewise.
60433 * math/w_exp10.c: Likewise.
60434 * math/w_exp10f.c: Likewise.
60435 * math/w_exp10l.c: Likewise.
60436 * math/w_exp2.c: Likewise.
60437 * math/w_exp2f.c: Likewise.
60438 * math/w_fmod.c: Likewise.
60439 * math/w_fmodf.c: Likewise.
60440 * math/w_fmodl.c: Likewise.
60441 * math/w_hypot.c: Likewise.
60442 * math/w_hypotf.c: Likewise.
60443 * math/w_hypotl.c: Likewise.
60444 * math/w_j0.c: Likewise.
60445 * math/w_j0f.c: Likewise.
60446 * math/w_j0l.c: Likewise.
60447 * math/w_j1.c: Likewise.
60448 * math/w_j1f.c: Likewise.
60449 * math/w_j1l.c: Likewise.
60450 * math/w_jn.c: Likewise.
60451 * math/w_jnf.c: Likewise.
60452 * math/w_jnl.c: Likewise.
60453 * math/w_lgamma.c: Likewise.
60454 * math/w_lgamma_r.c: Likewise.
60455 * math/w_lgammaf.c: Likewise.
60456 * math/w_lgammaf_r.c: Likewise.
60457 * math/w_lgammal.c: Likewise.
60458 * math/w_lgammal_r.c: Likewise.
60459 * math/w_log.c: Likewise.
60460 * math/w_log10.c: Likewise.
60461 * math/w_log10f.c: Likewise.
60462 * math/w_log10l.c: Likewise.
60463 * math/w_log2.c: Likewise.
60464 * math/w_log2f.c: Likewise.
60465 * math/w_log2l.c: Likewise.
60466 * math/w_logf.c: Likewise.
60467 * math/w_logl.c: Likewise.
60468 * math/w_pow.c: Likewise.
60469 * math/w_powf.c: Likewise.
60470 * math/w_powl.c: Likewise.
60471 * math/w_remainder.c: Likewise.
60472 * math/w_remainderf.c: Likewise.
60473 * math/w_remainderl.c: Likewise.
60474 * math/w_scalb.c: Likewise.
60475 * math/w_scalbf.c: Likewise.
60476 * math/w_scalbl.c: Likewise.
60477 * math/w_sinh.c: Likewise.
60478 * math/w_sinhf.c: Likewise.
60479 * math/w_sinhl.c: Likewise.
60480 * math/w_sqrt.c: Likewise.
60481 * math/w_sqrtf.c: Likewise.
60482 * math/w_sqrtl.c: Likewise.
60483 * math/w_tgamma.c: Likewise.
60484 * math/w_tgammaf.c: Likewise.
60485 * math/w_tgammal.c: Likewise.
60486
60487 * po/ja.po: Update from translation team.
60488
60489 2011-09-29 Andreas Jaeger <aj@suse.de>
60490
60491 [BZ #13179]
60492 * sunrpc/netname.c (netname2host): Fix logic.
60493
60494 [BZ #6779]
60495 [BZ #6783]
60496 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60497 correctly.
60498 * math/w_remainder.c (__remainder): Likewise.
60499 * math/w_remainderf.c (__remainderf): Likewise.
60500 * math/libm-test.inc (remainder_test): Add test cases.
60501
60502 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60503
60504 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60505 sdiv_qrnnd.
60506
60507 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60508
60509 * string/test-memcmp.c: Avoid unncessary #defines.
60510 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60511
60512 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60513
60514 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60515 Use new sse2 version for core i3 - i7 as it's faster
60516 than sse42 version.
60517 (bit_Prefer_PMINUB_for_stringop): New.
60518 * sysdeps/x86_64/rawmemchr.S: Update.
60519 Replace with faster SSE2 version.
60520 * sysdeps/x86_64/memrchr.S: New file.
60521 * sysdeps/x86_64/memchr.S: Update.
60522 Replace with faster SSE2 version.
60523
60524 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60525
60526 * elf/dl-load.c (lose): Add cast to avoid warning.
60527
60528 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60529
60530 * po/ca.po: Update from translation team.
60531
60532 * inet/getnetgrent_r.c: Hook up nscd.
60533 * nscd/Makefile (routines): Add nscd_netgroup.
60534 (nscd-modules): Add netgroupcache.
60535 (CFLAGS-netgroupcache.c): Define.
60536 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60537 (cache_search): Add const to second parameter.
60538 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60539 INNETGR.
60540 (dbs): Add netgrdb entry.
60541 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60542 (verify_persistent_db): Handle netgrdb.
60543 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60544 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60545 GETFDNETGR.
60546 (netgroup_response_header): Define.
60547 (innetgroup_response_header): Define.
60548 (datahead): Add netgroup_response_header and innetgroup_response_header
60549 elements.
60550 * nscd/nscd.conf: Add entries for netgroup cache.
60551 * nscd/nscd.h (dbtype): Add netgrdb.
60552 (_PATH_NSCD_NETGROUP_DB): Define.
60553 (netgroup_iov_disabled): Declare.
60554 (xmalloc, xcalloc, xrealloc): Move declarations here.
60555 (cache_search): Adjust prototype.
60556 Add netgroup-related prototypes.
60557 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60558 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60559 (__nscd_innetgr): Declare.
60560 * nscd/selinux.c (perms): Use access_vector_t as element type and
60561 add netgroup-related initializers.
60562 * nscd/netgroupcache.c: New file.
60563 * nscd/nscd_netgroup.c: New file.
60564 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60565 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60566 For four parameters use innetgr.
60567 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60568 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60569 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60570 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60571
60572 * nscd/connections.c (register_traced_file): Don't register file
60573 for disabled databases.
60574
60575 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60576
60577 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60578
60579 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60580 from tree and freeing node.
60581
60582 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60583
60584 * nss/nsswitch.c (__nss_database_lookup): Handle
60585 nss_parse_service_list out of memory case.
60586
60587 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60588
60589 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60590 out of memory case.
60591
60592 2011-10-04 Andreas Schwab <schwab@redhat.com>
60593
60594 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60595 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60596 pass it down.
60597 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60598 elf_machine_rela, elf_machine_lazy_rel.
60599 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60600 (ELF_DYNAMIC_DO_REL): Likewise.
60601 (ELF_DYNAMIC_DO_RELA): Likewise.
60602 (ELF_DYNAMIC_RELOCATE): Likewise.
60603 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60604 to ELF_DYNAMIC_DO_REL.
60605 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60606 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60607 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60608 elf_machine_rela.
60609 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60610 skip_ifunc, don't call ifunc function if non-zero.
60611 (elf_machine_rela): Likewise.
60612 (elf_machine_lazy_rel): Likewise.
60613 (elf_machine_lazy_rela): Likewise.
60614 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60615 (elf_machine_lazy_rel): Likewise.
60616 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60617 Likewise.
60618 (elf_machine_lazy_rel): Likewise.
60619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60620 Likewise.
60621 (elf_machine_lazy_rel): Likewise.
60622 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60623 (elf_machine_lazy_rel): Likewise.
60624 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60625 (elf_machine_lazy_rel): Likewise.
60626 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60627 (elf_machine_lazy_rel): Likewise.
60628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60629 (elf_machine_lazy_rel): Likewise.
60630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60631 (elf_machine_lazy_rel): Likewise.
60632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60633 (elf_machine_lazy_rel): Likewise.
60634
60635 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60636
60637 * nss/nss_files/files-init.c (_nss_files_init): Use static
60638 initialization for all the *_traced_file variables.
60639
60640 2011-09-28 Andreas Schwab <schwab@redhat.com>
60641
60642 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60643
60644 2011-09-27 Roland McGrath <roland@hack.frob.com>
60645
60646 [BZ #13226]
60647 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60648
60649 2011-09-27 Andreas Schwab <schwab@redhat.com>
60650
60651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60652 Reread the line before reparsing it.
60653
60654 2011-09-26 Andreas Schwab <schwab@redhat.com>
60655
60656 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60657
60658 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60659 Maxim Kuvyrkov <maxim@codesourcery.com>
60660 Joseph Myers <joseph@codesourcery.com>
60661
60662 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60663 if needed for __stack_chk_guard.
60664
60665 2011-09-19 Roland McGrath <roland@hack.frob.com>
60666
60667 * sysdeps/posix/spawni.c (script_execute): Always define it.
60668 It will be optimized away if unused.
60669 (maybe_script_execute): New function.
60670 (__spawni): Call it.
60671
60672 * Makerules: Don't include tls.make.
60673 (config-tls): Always set to thread.
60674 * tls.make.c: File removed.
60675
60676 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60677
60678 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60679 * config.make.in (CPPFLAGS-config): New substituted variable.
60680
60681 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60682
60683 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60684
60685 [BZ #13192]
60686 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60687 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60688
60689 2011-09-15 Roland McGrath <roland@hack.frob.com>
60690
60691 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60692 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60693 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60694 (CALL_FAIL): Likewise.
60695 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60696 (CALL_FAIL): Macro removed.
60697 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60698
60699 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60700
60701 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60702 for __FINITE_MATH_ONLY__ == 1.
60703
60704 2011-09-15 Andreas Schwab <schwab@redhat.com>
60705
60706 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60707 __ieee754_sqrt instead of sqrt.
60708 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60709 __ieee754_sqrtf instead of sqrtf.
60710 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60711 __floorf instead of floorf.
60712 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60713 __floorf, __truncf instead of floorf, truncf.
60714
60715 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60716
60717 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60718
60719 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60720 __extern_always_inline.
60721 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60722 32-bit.
60723
60724 2011-09-14 Andreas Schwab <schwab@redhat.com>
60725
60726 * elf/rtld.c (dl_main): Also relocate in dependency order when
60727 doing symbol dependency testing.
60728
60729 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60730
60731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60732 Always define `refsym'.
60733
60734 2011-09-13 Andreas Schwab <schwab@redhat.com>
60735
60736 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60737 (__FD_ELT): Renamed from __FDELT.
60738 * misc/bits/select2.h (__FD_ELT): Likewise.
60739 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60740 __FD_MASK instead of __FDELT, __FDMASK.
60741 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60742 Likewise.
60743 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60744 Likewise.
60745
60746 * elf/Makefile (gen-ldd): Fix pattern.
60747
60748 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60749 (init_tls): Likewise.
60750
60751 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60752
60753 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60754
60755 2011-09-12 Andreas Schwab <schwab@redhat.com>
60756
60757 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60758 `struct cmsghdr *' instead of `void *'.
60759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60760 Likewise.
60761
60762 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60763
60764 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60765 if non-absolute.
60766 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60767 ldd_rewrite_script.
60768
60769 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60770
60771 * configure.in: Remove --with-tls option.
60772 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60773 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60774 out in case it is missing.
60775 * sysdeps/ia64/elf/configure.in: Likewise.
60776 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60777 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60778 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60779 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60780 * sysdeps/sh/elf/configure.in: Likewise.
60781 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60782 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60783 * sysdeps/x86_64/elf/configure.in: Likewise.
60784 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60785 * sysdeps/mach/hurd/tls.h: Likewise.
60786
60787 [BZ #13067]
60788 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60789
60790 [BZ #13090]
60791 * configure.in: Fix use of AC_INIT.
60792
60793 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60794
60795 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60796
60797 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60798 __set_errno.
60799 * malloc/hooks.c: Likewise.
60800
60801 [BZ #11929]
60802 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60803 variables statically.
60804 (narenas): Initialize.
60805 (list_lock): Initialize.
60806 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60807 initializtion of main_arena and list_lock. Small cleanups.
60808 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60809 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60810 Add initializers to main_arena and mp_.
60811 (malloc_state): Remove pagesize member. Change all users to use
60812 GLRO(dl_pagesize).
60813
60814 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60815 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60816 is always initialized.
60817
60818 * malloc/malloc.c: Removed unused configurations and dead code.
60819 * malloc/arena.c: Likewise.
60820 * malloc/hooks.c: Likewise.
60821 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60822
60823 * include/tls.h: Removed. USE___THREAD must always be defined.
60824 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60825 * elf/dl-libc.c: Likewise.
60826 * elf/dl-tsd.c: Likewise.
60827 * include/errno.h: Likewise.
60828 * include/netdb.h: Likewise.
60829 * include/resolv.h: Likewise.
60830 * inet/herrno-loc.c: Likewise.
60831 * inet/herrno.c: Likewise.
60832 * malloc/arena.c: Likewise.
60833 * malloc/hooks.c: Likewise.
60834 * malloc/malloc.c: Likewise.
60835 * resolv/res-state.c: Likewise.
60836 * resolv/res_libc.c: Likewise.
60837 * sysdeps/i386/dl-machine.h: Likewise.
60838 * sysdeps/ia64/dl-machine.h: Likewise.
60839 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60840 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60841 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60842 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60843 * sysdeps/sh/dl-machine.h: Likewise.
60844 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60845 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60846 * sysdeps/unix/i386/sysdep.S: Likewise.
60847 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60848 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60853 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60857 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60858 * sysdeps/x86_64/dl-machine.h: Likewise.
60859 * tls.make.c: Likewise.
60860
60861 * configure.in: Remove --with-__thread option. Make tests for
60862 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60863 tls_model attribute fail if no support is available. Remove
60864 USE_IN_LIBIO.
60865 * Makeconfig: Adjust for dropped configure option. All features are
60866 now mandatory.
60867 * Makerules: Likewise.
60868 * Versions.def: Likewise.
60869 * argp/argp-fmtstream.c: Likewise.
60870 * argp/argp-fmtstream.h: Likewise.
60871 * argp/argp-help.c: Likewise.
60872 * assert/assert.c: Likewise.
60873 * config.h.in: Likewise.
60874 * config.make.in: Likewise.
60875 * configure: Likewise.
60876 * configure.in: Likewise.
60877 * csu/Versions: Likewise.
60878 * csu/init.c: Likewise.
60879 * elf/tst-audit2.c: Likewise.
60880 * elf/tst-tls10.c: Likewise.
60881 * elf/tst-tls10.h: Likewise.
60882 * elf/tst-tls11.c: Likewise.
60883 * elf/tst-tls12.c: Likewise.
60884 * elf/tst-tls14.c: Likewise.
60885 * elf/tst-tlsmod11.c: Likewise.
60886 * elf/tst-tlsmod12.c: Likewise.
60887 * elf/tst-tlsmod13.c: Likewise.
60888 * elf/tst-tlsmod13a.c: Likewise.
60889 * elf/tst-tlsmod14a.c: Likewise.
60890 * elf/tst-tlsmod15b.c: Likewise.
60891 * elf/tst-tlsmod16a.c: Likewise.
60892 * elf/tst-tlsmod16b.c: Likewise.
60893 * elf/tst-tlsmod7.c: Likewise.
60894 * elf/tst-tlsmod8.c: Likewise.
60895 * elf/tst-tlsmod9.c: Likewise.
60896 * gmon/gmon.c: Likewise.
60897 * grp/fgetgrent_r.c: Likewise.
60898 * grp/putgrent.c: Likewise.
60899 * hurd/fopenport.c: Likewise.
60900 * include/libc-symbols.h: Likewise.
60901 * include/tls.h: Likewise.
60902 * intl/gettextP.h: Likewise.
60903 * intl/loadinfo.h: Likewise.
60904 * locale/global-locale.c: Likewise.
60905 * locale/localeinfo.h: Likewise.
60906 * mach/devstream.c: Likewise.
60907 * malloc/arena.c: Likewise.
60908 * malloc/set-freeres.c: Likewise.
60909 * misc/err.c: Likewise.
60910 * misc/getttyent.c: Likewise.
60911 * misc/mntent_r.c: Likewise.
60912 * posix/getopt.c: Likewise.
60913 * posix/wordexp.c: Likewise.
60914 * pwd/fgetpwent_r.c: Likewise.
60915 * resolv/Versions: Likewise.
60916 * resolv/res_hconf.c: Likewise.
60917 * shadow/fgetspent_r.c: Likewise.
60918 * shadow/putspent.c: Likewise.
60919 * stdio-common/printf_fphex.c: Likewise.
60920 * stdio-common/tmpfile.c: Likewise.
60921 * stdlib/abort.c: Likewise.
60922 * stdlib/fmtmsg.c: Likewise.
60923 * sunrpc/auth_unix.c: Likewise.
60924 * sunrpc/clnt_perr.c: Likewise.
60925 * sunrpc/clnt_tcp.c: Likewise.
60926 * sunrpc/clnt_udp.c: Likewise.
60927 * sunrpc/clnt_unix.c: Likewise.
60928 * sunrpc/openchild.c: Likewise.
60929 * sunrpc/svc_simple.c: Likewise.
60930 * sunrpc/svc_tcp.c: Likewise.
60931 * sunrpc/svc_udp.c: Likewise.
60932 * sunrpc/svc_unix.c: Likewise.
60933 * sunrpc/xdr.c: Likewise.
60934 * sunrpc/xdr_array.c: Likewise.
60935 * sunrpc/xdr_rec.c: Likewise.
60936 * sunrpc/xdr_ref.c: Likewise.
60937 * sunrpc/xdr_stdio.c: Likewise.
60938
60939 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60940
60941 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60942
60943 2011-07-03 Andreas Jaeger <aj@suse.de>
60944
60945 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60946 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60947 regenerate with gen-libm-tests.pl.
60948
60949 2010-05-12 Petr Baudis <pasky@suse.cz>
60950
60951 [BZ #11589]
60952 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60953 around j0() zero points by switching to j1().
60954 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60955 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60957 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60958
60959 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60960
60961 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60962 instead of 0.
60963 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60964 instead of 0.
60965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60966 Patch in part by Pavel Roskin <proski@gnu.org>.
60967
60968 [BZ #13138]
60969 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60970 realloc.
60971 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
60972 Free memory block if necessary.
60973
60974 [BZ #12847]
60975 * libio/genops.c (INTDEF): For string streams the _lock pointer can
60976 be NULL. Don't lock in this case.
60977
60978 2011-09-09 Roland McGrath <roland@hack.frob.com>
60979
60980 * elf/elf.h (ELFOSABI_GNU): New macro.
60981 (ELFOSABI_LINUX): Define to that.
60982
60983 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
60984
60985 * string/strncat.c (strncat): Undef the symbol in case it has been
60986 defined in bits/string.h.
60987
60988 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60989
60990 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60991
60992 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60993 link map.
60994
60995 2011-08-17 Andreas Jaeger <aj@suse.de>
60996
60997 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60998
60999 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61000 Ian Lance Taylor <iant@google.com>
61001
61002 * math/libm-test.inc (lround_test): New testcase.
61003 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61004
61005 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61006
61007 * Makefile: Remove support for automatic cvs check-ins.
61008 * Makerules: Likewise.
61009 * config.make.in: Likewise.
61010 * configure.in: Likewise.
61011 * intl/Makefile: Likewise.
61012 * locale/Makefile: Likewise.
61013 * po/Makefile: Likewise.
61014 * posix/Makefile: Likewise.
61015 * sysdeps/gnu/Makefile: Likewise.
61016 * sysdeps/mach/hurd/Makefile: Likewise.
61017 * sysdeps/sparc/sparc32/Makefile: Likewise.
61018
61019 [BZ #13118]
61020 * posix/Makefile (bug-regex32-ENV): Define.
61021 Patch by John Stanley <jpsinthemix@verizon.net>.
61022
61023 * misc/Makefile (headers): Add bits/select2.h.
61024 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61025 * misc/bits/select2.h: New file.
61026 * include/bits/select2.h: New file.
61027 * debug/Makefile (routines): Add fdelt_chk.
61028 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61029 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61030 FD_ISSET.
61031 * debug/fdelt_chk.c: New file.
61032
61033 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61034 * wcsmbs/test-wmemcmp.c: Likewise.
61035 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61036 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61037
61038 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61039
61040 * string/Makefile (strop-tests): Add memcmp.
61041 * string/test-wmemcmp.c: New file.
61042 * string/test-memcmp.c: Add wmemcmp support.
61043
61044 2011-09-08 Roland McGrath <roland@hack.frob.com>
61045
61046 [BZ #13153]
61047 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61048 2011-07-19 change.
61049
61050 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61051 garbage value in a __mach_port_mod_refs call in the cases of the
61052 task-self and thread-self ports.
61053
61054 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61055
61056 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61057
61058 2011-09-08 Andreas Schwab <schwab@redhat.com>
61059
61060 * elf/dl-load.c (lose): Check for non-null L.
61061
61062 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61063
61064 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61065
61066 * elf/dl-libc.c (dlerror_run): Pass back error code from
61067 dl_catch_error.
61068
61069 [BZ #13123]
61070 * elf/dl-load.c (lose): Free l_origin if it is valid.
61071
61072 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61073 names.
61074 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61075 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61076 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61077 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61078 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61079 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61080
61081 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61082
61083 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61084 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61085 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61086 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61087 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61088 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61089 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61090 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61091 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61092 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61093
61094 2011-08-15 Alan Modra <amodra@gmail.com>
61095
61096 [BZ #13092]
61097 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61098 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61099 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61100 ppc_mcount to static-only-routines.
61101 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61102 __mcount_internal.
61103 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61104 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61105
61106 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61107
61108 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61109 for finite and infinity parameters.
61110
61111 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61112
61113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61114 and add nop instructions for throughput optimization.
61115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61116
61117 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61118
61119 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61120 aligned copy for power7 with vector-scalar instructions.
61121 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61122
61123 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61124
61125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61126 AVX check.
61127
61128 2011-09-07 Andreas Schwab <schwab@redhat.com>
61129
61130 [BZ #13144]
61131 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61132 last change.
61133
61134 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61135
61136 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61137 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61138 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61139 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61140 clock_gettime.
61141
61142 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61143
61144 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61145 Forgot to demangle the pointer.
61146
61147 * sysdeps/i386/sysdep.h: Define atom_text_section.
61148 * sysdeps/x86_64/sysdep.h: Likewise.
61149 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61150 section with atom_text_section.
61151 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61152 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61153 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61154 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61155 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61156
61157 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61158 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61159 already be defined. Change to take two parameters and don't assign
61160 result to variable. Adjust all users.
61161 Define INTERNAL_GETTIME if not already defined.
61162 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61163 call.
61164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61165 HAVE_CLOCK_GETTIME_VSYSCALL.
61166 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61167
61168 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61169 gettimeofday vsyscall, just use time.
61170
61171 2011-09-06 Andreas Schwab <schwab@redhat.com>
61172
61173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61174 <errno.h>.
61175
61176 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61177
61178 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61179 syscall on x86-64.
61180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61181 syscall.
61182 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61183 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61184 syscall if possible.
61185
61186 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61187
61188 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61189 e_ident. Don't pass to find_mapsXX.
61190 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61191
61192 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61193
61194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61195 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61196 * sysdeps/x86_64/multiarch/strchr.S: Update.
61197 Check bit_slow_BSF bit.
61198 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61199 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61201
61202 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61203
61204 [BZ #13134]
61205 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61206 before glibc 2.15.
61207 (tryshell): Define.
61208 (__spawni): Change last parameter to be flag. Test
61209 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61210 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61211 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61212 * posix/spawni.c: Likewise.
61213 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61214 * posix/spawnp.c: Likewise. Change normal version to use
61215 SPAWN_XFLAGS_USE_PATH.
61216 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61217 SPAWN_XFLAGS_TRY_SHELL.
61218
61219 [BZ #13150]
61220 * posix/glob.h: Remove gcc 1.x support.
61221
61222 [BZ #13068]
61223 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61224
61225 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61226
61227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61228 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61229 strrchr-sse2-bsf
61230 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61231 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61232 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61234 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61235 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61236
61237 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61238
61239 * sysdeps/x86_64/wcscmp.S: New file.
61240
61241 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61242 wcscmp-c wcscmp-sse2
61243 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61244 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61245 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61246 * wcsmbs/wcscmp.c: Allow renaming.
61247
61248 2011-09-05 David S. Miller <davem@davemloft.net>
61249
61250 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61251 stack slot, rather than the struct return pointer slot.
61252 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61253 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61255 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61256
61257 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61258
61259 * po/ja.po: Update from translation team.
61260
61261 [BZ #13144]
61262 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61263 kernel in 64-bit binaries.
61264
61265 2011-09-01 David S. Miller <davem@davemloft.net>
61266
61267 * elf/elf.h (HWCAP_SPARC_*): Move to..
61268 * sysdeps/sparc/sysdep.h: this new file and add new values.
61269 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61270 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61271 _DL_HWCAP_COUNT to 24.
61272 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61273 entries.
61274 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61275 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61276 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61278 instead of magic constants.
61279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61280
61281 2011-08-31 David S. Miller <davem@davemloft.net>
61282
61283 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61285 Reimplement to do errno handling inline.
61286 (SYSCALL_ERROR_HANDLER): New macro.
61287 (__SYSCALL_STRING): Do not do errno handling in asm.
61288 (__CLONE_SYSCALL_STRING): Delete.
61289 (__INTERNAL_SYSCALL_STRING): Delete.
61290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61291 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61292 (PSEUDO): Reimplement to do errno handling inline.
61293 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61294 (SYSCALL_ERROR_HANDLER): New macro.
61295 (__SYSCALL_STRING): Do not do errno handling in asm.
61296 (__CLONE_SYSCALL_STRING): Delete.
61297 (__INTERNAL_SYSCALL_STRING): Delete.
61298 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61299 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61300 i386.
61301 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61302 (inline_syscall*): Add 'err' argument.
61303 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61304 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61305 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61306 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61307
61308 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61309 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61310
61311 2011-08-30 Andreas Schwab <schwab@redhat.com>
61312
61313 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61314
61315 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61316
61317 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61318 directive.
61319
61320 2011-08-24 David S. Miller <davem@davemloft.net>
61321
61322 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61323
61324 2011-08-24 Andreas Schwab <schwab@redhat.com>
61325
61326 * elf/Makefile: Add rules to build and run unload8 test.
61327 * elf/unload8.c: New file.
61328 * elf/unload8mod1.c: New file.
61329 * elf/unload8mod1x.c: New file.
61330 * elf/unload8mod2.c: New file.
61331 * elf/unload8mod3.c: New file.
61332
61333 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61334 it wasn't used.
61335
61336 2011-08-23 David S. Miller <davem@davemloft.net>
61337
61338 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61339 subtract stack bias.
61340 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61341 %sp not %fp in calculations.
61342 (_JMPBUF_UNWINDS_ADJ): Likewise.
61343
61344 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61345 (aio_suspend): Call it to force an exception region around the
61346 AIO_MISC_WAIT() invocation.
61347
61348 2011-08-23 Andreas Schwab <schwab@redhat.com>
61349
61350 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61351 backslash.
61352
61353 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61354
61355 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61356 protection macro.
61357 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61358 and <dl-machine.h>.
61359 (Elf64_FuncDesc): Remove.
61360
61361 2011-08-22 David S. Miller <davem@davemloft.net>
61362
61363 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61364 sigaltstack check, add missing cfi directives.
61365 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61366 missing cfi directives, and sigaltstack handling.
61367
61368 2011-08-16 Andreas Schwab <schwab@redhat.com>
61369
61370 [BZ #11724]
61371 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61372 object is seen twice.
61373 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61374
61375 * elf/Makefile (distribute): Add tst-initorder2.c.
61376 (tests): Add tst-initorder2.
61377 (modules-names): Add tst-initorder2a tst-initorder2b
61378 tst-initorder2c tst-initorder2d. Add rules to build them.
61379 ($(objpfx)tst-initorder2.out): New rule.
61380 * elf/tst-initorder2.c: New file.
61381 * elf/tst-initorder2.exp: New file.
61382
61383 2011-08-22 Andreas Schwab <schwab@redhat.com>
61384
61385 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61386
61387 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61388 dependencies back to end of function.
61389
61390 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61391 $(elfobjdir)/ld.so.
61392
61393 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61394
61395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61396 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61397 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61398 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61399 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61400 of __vdso_gettimeofday.
61401 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61402 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61403 attribute_hidden.
61404 (_libc_vdso_platform_setup): Remove initialization of
61405 __vdso_gettimeofday and __vdso_time.
61406
61407 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61408
61409 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61410 and fgetc_unlocked.
61411 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61412 getc_unlocked.
61413
61414 * elf/dl-open.c (add_to_global): Report additions to the global scope
61415 for LD_DEBUG=scopes.
61416 (dl_open_worker): Also print scope of newly loaded dependencies.
61417 (_dl_show_scope): Indicate if there is no scope.
61418
61419 [BZ #13114]
61420 * stdio-common/Makefile (tests): Add bug24.
61421 * stdio-common/bug24.c: New file.
61422
61423 2011-08-19 Andreas Jaeger <aj@suse.de>
61424
61425 [BZ #13114]
61426 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61427 non-existant file when using close-on-exec mode.
61428
61429 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61430
61431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61432 the very first instruction.
61433
61434 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61435 the CFI state in the end.
61436 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61437 inclusion of dl-trampoline.h.
61438 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61439
61440 2011-08-19 Andreas Schwab <schwab@redhat.com>
61441
61442 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61443 expectations for long double.
61444
61445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61446 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61447
61448 2011-08-14 David S. Miller <davem@davemloft.net>
61449
61450 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61451 artificual limit depends upon the system page size.
61452
61453 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61454
61455 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61456 * resolv/Makefile: Define CFLAGS-libresolv.
61457
61458 2011-08-17 Andreas Schwab <schwab@redhat.com>
61459
61460 * nss/makedb.c (compute_tables): Make variables used in nested
61461 function static.
61462
61463 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61464
61465 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61466 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61467 if buffer was too small.
61468
61469 * elf/pldd.c (main): Attach to all threads in the process.
61470 Rewrite /proc handling to use *at functions.
61471
61472 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61473
61474 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61475 specifies first scope to show.
61476 (dl_open_worker): Update callers. Move printing scope of new
61477 object to before the relocation.
61478 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61479 * sysdeps/generic/ldsodefs.h: Update declaration.
61480
61481 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61482 string for the scope number.
61483
61484 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61485
61486 * nscd/servicescache.c (cache_addserv): Make sure written is always
61487 initialized.
61488
61489 2011-08-14 Roland McGrath <roland@hack.frob.com>
61490
61491 * sysdeps/i386/i486/bits/atomic.h
61492 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61493 statement expression, so as to suppress "set but not used" warning.
61494 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61495
61496 * string/strncat.c (STRNCAT): Use prototype definition.
61497
61498 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61499 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61500 -Iprograms here.
61501 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61502 (localedef-modules): Add localedef.
61503 (locale-modules): Add locale.
61504
61505 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61506 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61507 to avoid a warning.
61508
61509 2011-08-14 David S. Miller <davem@davemloft.net>
61510
61511 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61512 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61513
61514 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61515
61516 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61517 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61518 * elf/rtld.c (dl_main): Set l_name of vDSO.
61519 Call _dl_show_scope when DL_DEBUG_SCOPES.
61520 (process_dl_debug): Recognize scopes flag and also set it for all.
61521 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61522 Declare _dl_show_scope.
61523
61524 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61525 (do_dlopen): Pass caller_dlopen to dl_open.
61526 (__libc_dlopen_mode): Initialize caller_dlopen.
61527
61528 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61529 of libc. Make tolower call locale-independent. Optimize a bit by
61530 using isdigit instead of isalnum.
61531 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61532
61533 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61534
61535 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61536 was a dependency or dynamically loaded.
61537
61538 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61539
61540 * intl/l10nflist.c: Allow architecture-specific pop function.
61541 * sysdeps/x86_64/l10nflist.c: New file.
61542
61543 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61544 classification.
61545
61546 2011-08-10 Andreas Schwab <schwab@redhat.com>
61547
61548 * include/dirent.h: Add libc_hidden_proto for scandirat and
61549 scandirat64. Don't declare __scandirat64.
61550 * dirent/scandirat.c: Add libc_hidden_def.
61551 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61552 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61553
61554 2011-08-10 David S. Miller <davem@davemloft.net>
61555
61556 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61557 enum.
61558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61561
61562 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61563
61564 * Versions.def [libc]: Add GLIBC_2.15.
61565 * dirent/Makefile (routines): Add scandirat and scandirat64.
61566 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61567 GLIBC_2.15.
61568 * dirent/dirent.h: Declare scandirat and scandirat64.
61569 * dirent/scandirat.c: New file.
61570 * dirent/scandirat64.c: New file.
61571 * sysdeps/wordsize-64/scandirat.c: New file.
61572 * sysdeps/wordsize-64/scandirat64.c: New file.
61573 * dirent/opendir.c: Define opendirat.
61574 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61575 using scandirat.
61576 * dirent/scandir64.c: Adjust for scandir.c change.
61577 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61578 __scandirat64, and __scandir_cancel_handler.
61579 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61580 additional parameter and use openat instead of open (outside of ld.so).
61581 Add new __opendir as wrapper around __opendirat.
61582 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61583 here without requiring old scandirat implementation.
61584
61585 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61586
61587 * dirent/scandir.c (cancel_handler): Renamed to
61588 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61589 defined. Adjust users.
61590 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61591 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61592
61593 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61594
61595 * string/test-string.h (IMPL): Use __STRING to expand name and then
61596 stringify it.
61597
61598 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61599 of cleanups.
61600
61601 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61602
61603 * string/Makefile: Update.
61604 (strop-tests): Append strncat.
61605 * string/test-wcscmp.c: New file.
61606 New comprehensive test for wcscmp.
61607 * string/test-strcmp.c: Update.
61608 (WIDE): New define.
61609
61610 2011-07-22 Andreas Schwab <schwab@redhat.com>
61611
61612 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61613 line.
61614
61615 2011-07-26 Andreas Schwab <schwab@redhat.com>
61616
61617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61618 encoding to ACE if AI_IDN.
61619
61620 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61621
61622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61623 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61624
61625 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61626
61627 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61628 Fix overflow bug in strncat.
61629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61630
61631 * string/test-strncat.c: Update.
61632 Add new tests for checking overflow bugs.
61633
61634 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61635
61636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61637 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61638 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61639 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61640 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61641 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61642 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61643 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61644 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61645
61646 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61647 (USE_AS_STRCAT): Define.
61648 Add strcat and strncat support.
61649 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61650
61651 2011-07-25 Andreas Schwab <schwab@redhat.com>
61652
61653 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61654 __n bigger than INT_MAX+1.
61655 (__strncmp_g): Likewise.
61656
61657 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61658
61659 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61660 * libio/stido.h: Likewise.
61661
61662 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61663 (AF_NFC): Define.
61664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61665 (AF_NFC): Define.
61666
61667 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61668 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61670 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61672
61673 [BZ #13021]
61674 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61675 installed.
61676
61677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61678 typo.
61679 (_dl_x86_64_save_sse): Likewise.
61680
61681 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61682
61683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61684 OSXSAVE.
61685 (_dl_x86_64_save_sse): Likewise.
61686
61687 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61688
61689 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61690
61691 2011-07-21 Andreas Schwab <schwab@redhat.com>
61692
61693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61694 change.
61695 (_dl_x86_64_save_sse): Use correct AVX check.
61696
61697 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61698
61699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61700 bug in strncpy/strncat.
61701 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61702
61703 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61704
61705 * string/tester.c (test_strcat): Add tests for different alignments
61706 of source and destination.
61707 (test_strncat): Likewise.
61708
61709 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61710
61711 [BZ #12852]
61712 * posix/glob.c (glob): Check passed in values before using them in
61713 expressions to avoid some overflows.
61714 (glob_in_dir): Likewise.
61715
61716 [BZ #13007]
61717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61718 check for AVX enablement so that we don't crash with old kernels and
61719 new hardware.
61720 * elf/tst-audit4.c: Add same checks here.
61721 * elf/tst-audit6.c: Likewise.
61722
61723 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61724
61725 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61726
61727 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61728
61729 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61730
61731 * po/cs.po: Update from translation team.
61732 * po/bg.po: Likewise.
61733
61734 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61735
61736 * misc/sys/cdefs.h: Add support for const attribute.
61737 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61738 to gnu_dev_{major,minor,makedev} functions.
61739
61740 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61741
61742 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61743
61744 2011-07-20 Andreas Schwab <schwab@redhat.com>
61745
61746 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61747 strlen results.
61748
61749 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61750
61751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61752 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61753 register in order to avoid conflicts with the soft frame pointer
61754 being held in r11 when necessary.
61755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61756 (INTERNAL_VSYSCALL_NCS): Likewise.
61757
61758 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61759
61760 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61761 * elf/dl-fini.c (_dl_fini): Adjust caller.
61762 * elf/dl-close.c (_dl_close_worker): Likewise.
61763 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61764
61765 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61766
61767 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61768 "aux_cache->nlibs < 0".
61769
61770 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61771 in the reload-count case.
61772
61773 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61774
61775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61776 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61777 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61778 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61779 * sysdeps/x86_64/multiarch/strcat.S: New file.
61780 * sysdeps/x86_64/multiarch/strncat.S: New file.
61781 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61782 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61783 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61784 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61785 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61786 (USE_AS_STRCAT): Define.
61787 Add strcat and strncat support.
61788 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61790 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61791 * string/strncat.c: Update.
61792 (USE_AS_STRNCAT): Define.
61793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61794 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61795 and i7.
61796 * sysdeps/x86_64/multiarch/init-arch.h
61797 (bit_Prefer_PMINUB_for_stringop): New.
61798 (index_Prefer_PMINUB_for_stringop): Likewise.
61799 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61800 bit_Prefer_PMINUB_for_stringop.
61801
61802 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61803
61804 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61805 buffer64.
61806 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61807 of casting of buffer.
61808 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61809 buffer32 and buffer64.
61810 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61811 writes instead of casting of buffer.
61812 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61813 buffer32.
61814 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61815 casting of buffer.
61816
61817 2011-07-19 Andreas Schwab <schwab@redhat.com>
61818
61819 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61820
61821 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61822
61823 * nscd/nscd.c (termination_handler): Don't do anything for a database
61824 if it has not yet been initialized.
61825
61826 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61827
61828 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61829
61830 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61831
61832 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61833
61834 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61835
61836 * po/nl.po: Update from translation team.
61837 * po/sv.po: Likewise.
61838
61839 2011-07-16 Roland McGrath <roland@hack.frob.com>
61840
61841 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61842 now disallowed by GCC.
61843
61844 * configure.in (use-default-link): Default to yes if a test -shared
61845 link meets our qualifications.
61846 * configure: Regenerated.
61847
61848 * config.make.in (output-format): New variable.
61849 * configure.in: Check for ld --print-output-format support.
61850 * configure: Regenerated.
61851 * Makerules ($(common-objpfx)format.lds)
61852 [$(output-format) != unknown]: Just use $(output-format),
61853 instead of the linker-script munging.
61854
61855 2011-07-14 Roland McGrath <roland@hack.frob.com>
61856
61857 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61858 of $(common-objpfx)shlib.lds.
61859 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61860
61861 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61862 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61863
61864 * configure.in (-z relro check): Adjust test code to add a large
61865 writable data section after it.
61866 * configure: Regenerated.
61867
61868 2011-07-11 Roland McGrath <roland@hack.frob.com>
61869
61870 * configure.in (-z relro check): Fix test code to make the variable
61871 truly const.
61872 * configure: Regenerated.
61873
61874 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61875
61876 * nscd/nscd.h (struct traced_file): Define.
61877 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61878 elements. Add traced_files.
61879 (inotify_fd): Declare.
61880 (register_traced_file): Declare.
61881 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61882 (inotify_fd): Export.
61883 (resolv_conf_descr): Remove.
61884 (nscd_init): Move inotify descriptor creation to main.
61885 Don't register files for notification here.
61886 (register_traced_file): New function.
61887 (invalidate_cache): Don't use reset_res to determine whether to call
61888 res_init, go through the list of registered files.
61889 (main_loop_poll): The inotify descriptors are now stored in the
61890 structures for the traced files.
61891 (main_loop_epoll): Likewise
61892 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61893 to __nss_disable_nscd.
61894 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61895 for a database anymore. Check the records for all the registered
61896 files instead.
61897 * nss/Makefile (libnss_files-routines): Add files-init.
61898 (libnss_db-routines): Add db-init.
61899 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61900 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61901 * nss/nss_db/db-init.c: New file.
61902 * nss/nss_files/files-init.c: New file.
61903 * nss/nsswitch.c (nss_load_library): New function. Broken out of
61904 __nss_lookup_function.
61905 (__nss_lookup_function): Call nss_load_library.
61906 (nss_load_all_libraries): New function.
61907 (__nss_disable_nscd): Take parameter with callback function for files
61908 to register. Set is_nscd. Load all the DSOs for the NSS modules
61909 used for the cached services.
61910 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61911 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61912 options for features to all the files in nscd.
61913
61914 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61915
61916 2011-07-10 Roland McGrath <roland@hack.frob.com>
61917
61918 * csu/elf-init.c (__libc_csu_init): Comment typo.
61919
61920 2011-07-09 Ulrich Drepper <drepper@gmail.com>
61921
61922 * po/pl.po: Update from translation team.
61923 * po/ja.po: Likewise.
61924 * po/ru.po: Likewise.
61925 * po/ko.po: Likewise.
61926 * po/fr.po: Likewise.
61927
61928 2011-07-09 Roland McGrath <roland@hack.frob.com>
61929
61930 * configure.in (.ctors/.dtors header and trailer check):
61931 Use an empirical test on a built program.
61932 * configure: Regenerated.
61933
61934 * configure.in (-z relro check): Use an empirical test on a built DSO.
61935 Detect, but do not require, on ia64.
61936 * configure: Regenerated.
61937
61938 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61939 Update tests that use readelf to use $READELF instead.
61940 * configure: Regenerated.
61941
61942 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61943
61944 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61945 if the result is not used.
61946
61947 2011-07-05 Andreas Jaeger <aj@suse.de>
61948
61949 [BZ#9696]
61950 * stdlib/tst-strtod.c: Add testcase.
61951
61952 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61953
61954 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61955 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61956 The latter has a higher limit. Take additional parameter to pass to
61957 the new function.
61958 (__pathconf): Pass file to __statfs_link_max.
61959 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61960 __statfs_link_max.
61961 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61962 __statfs_link_max.
61963
61964 [BZ #12868]
61965 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61966 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61967 Handle Lustre.
61968 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61969 (__statfs_filesize_max): Likewise.
61970 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61971
61972 2011-07-05 Andreas Jaeger <aj@suse.de>
61973
61974 * resolv/res_comp.c (dn_skipname): Remove unused variable.
61975
61976 2011-07-06 Marek Polacek <mpolacek@redhat.com>
61977
61978 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61979 `status' variable.
61980 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61981 Likewise.
61982
61983 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
61984
61985 * Makefile (strop-tests): Add strncat.
61986 * string/test-strncat.c: New file.
61987
61988 2011-06-30 Marek Polacek <mpolacek@redhat.com>
61989
61990 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61991
61992 2011-06-21 Andreas Jaeger <aj@suse.de>
61993
61994 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61995 Copy rule from iconvdata/Makefile.
61996
61997 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61998
61999 [BZ #12922]
62000 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62001 but no long options are defined, just return 'W'.
62002
62003 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62004
62005 [BZ #9696]
62006 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62007
62008 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62009
62010 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62011 netgroups to read.
62012 (innetgr): Likewise.
62013
62014 2011-07-05 Roland McGrath <roland@hack.frob.com>
62015
62016 * config.make.in (install_root): Default to $(DESTDIR).
62017
62018 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62019
62020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62021
62022 2011-07-02 Roland McGrath <roland@hack.frob.com>
62023
62024 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62025
62026 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62027 containing directory rather than embedding absolute directory names.
62028
62029 * scripts/check-local-headers.sh: Rewritten using awk.
62030 Match by word, not by line. Print error messages for matches.
62031 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62032
62033 * Makerules [shlib-lds-flags empty]:
62034 ($(common-objpfx)libc_pic.opts): New target.
62035 ($(common-objpfx)libc_pic.os.clean): New target.
62036 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62037
62038 * config.make.in (OBJCOPY): New variable.
62039 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62040 * configure: Regenerated.
62041
62042 * config.make.in (use-default-link): New variable.
62043 * configure.in (use_default_link): Grok --with-default-link to set it.
62044 * configure: Regenerated.
62045 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62046 (shlib-lds, shlib-lds-flags): Define to empty.
62047
62048 * Makerules (shlib-lds): New variable.
62049 (shlib-lds-flags): New variable.
62050 (build-shlib, build-moduile, build-module-asneeded): Use it.
62051 ($(common-objpfx)libc.so): Use $(shlib-lds).
62052 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62053 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62054
62055 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62056 DT_FLAGS/DT_FLAGS_1 with zero flags.
62057
62058 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62059 linker script munging.
62060
62061 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62062
62063 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62064 as 128-bit value.
62065 * crypt/sha512.c (sha512_process_block): Perform total addition using
62066 128-bit if possible.
62067 (__sha512_finish_ctx): Likewise.
62068 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62069 as 64-bit value.
62070 * crypt/sha256.c (SWAP64): Define.
62071 (sha256_process_block): Perform total addition using 64-bit if
62072 possible.
62073 (__sha256_finish_ctx): Likewise.
62074
62075 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62076
62077 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62079 * nscd/hstcache.c (cache_addhst): Likewise.
62080 * nscd/grpcache.c (cache_addgr): Likewise.
62081 * nscd/aicache.c (addhstaiX): Likewise
62082 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62083
62084 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62085
62086 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62088 * nscd/hstcache.c (cache_addhst): Likewise.
62089 * nscd/grpcache.c (cache_addgr): Likewise.
62090 * nscd/aicache.c (addhstaiX): Likewise
62091
62092 2011-07-01 Andreas Schwab <schwab@redhat.com>
62093
62094 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62095 domain only when needed.
62096
62097 2011-06-30 Andreas Schwab <schwab@redhat.com>
62098
62099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62100 is always restored.
62101
62102 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62103
62104 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62105 are re-adding the entry.
62106 * nscd/servicescache.c (cache_addserv): Likewise.
62107
62108 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62109
62110 * sysdeps/generic/dl-irel.h: fix protection against multiple
62111 inclusions.
62112 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62113
62114 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62115
62116 [BZ #12935]
62117 * malloc/memusage.sh: Fix quoting in message.
62118 * debug/xtrace.sh: Likewise.
62119
62120 * configure.in: Remove support for --experimental-malloc option, make
62121 it the default.
62122 * config.make.in: Likewise.
62123 * malloc/Makefile: Likewise.
62124
62125 2011-06-27 Andreas Schwab <schwab@redhat.com>
62126
62127 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62128 two-byte characters.
62129
62130 2011-06-27 Roland McGrath <roland@hack.frob.com>
62131
62132 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62133 AC_CACHE_CHECK invocation.
62134 * configure: Regenerated.
62135
62136 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62137
62138 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62139
62140 [BZ #12350]
62141 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62142 bit from old_res_options.
62143
62144 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62145
62146 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62147 value type for setfct.
62148
62149 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62150
62151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62152 __gettimeofday instead of gettimeofday.
62153
62154 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62155
62156 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62157
62158 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62159
62160 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62161
62162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62163 info.
62164
62165 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62166
62167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62168 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62169 strcpy-sse2-unaligned strncpy-sse2-unaligned
62170 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62171 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62172 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62173 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62174 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62176 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62177 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62178 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62179 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62180 (STRCPY): Support SSE2 and SSSE3 versions.
62181
62182 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62183
62184 [BZ #12874]
62185 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62186 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62187 kernels which artificially limit size of requests.
62188
62189 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62190
62191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62192 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62193 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62194 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62195 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62196 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62197 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62198 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62199 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62200 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62201 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62202 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62203 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62204 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62205 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62207 Enable unaligned load optimization for Intel Core i3, i5 and i7
62208 processors.
62209 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62210 Define.
62211 (index_Fast_Unaligned_Load): Define.
62212 (HAS_FAST_UNALIGNED_LOAD): Define.
62213
62214 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62215
62216 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62217
62218 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62219
62220 [BZ #12907]
62221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62222 until it is clear that the information is realy needed.
62223 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62224
62225 2011-06-22 Andreas Schwab <schwab@redhat.com>
62226
62227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62228
62229 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62230
62231 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62232 /sys/devices/system/cpu/online if it is usable.
62233
62234 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62235 reading the information from the /proc filesystem to once a second.
62236
62237 2011-06-21 Andreas Jaeger <aj@suse.de>
62238
62239 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62240 NULL after inclusion of kernel headers.
62241
62242 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62243
62244 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62245 calls to internal_setent.
62246
62247 [BZ #12885]
62248 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62249 addresses using gethostbyname4_r ignore IPv4 addresses.
62250
62251 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62252 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62253
62254 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62255
62256 2011-06-20 David S. Miller <davem@davemloft.net>
62257
62258 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62259 inclusions.
62260 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62261
62262 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62263 (elf_irel): Use it.
62264 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62265 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62266 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62267 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62268 * sysdeps/x86_64/dl-irel.h: Likewise.
62269
62270 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62271 * elf/dl-sym.c: Likewise.
62272
62273 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62274
62275 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62276 need to dereference resplen2.
62277
62278 2011-06-14 Andreas Schwab <schwab@redhat.com>
62279
62280 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62281
62282 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62283
62284 * Makeconfig: Define vardbdir and inst_vardbdir.
62285 * nss/Makefile: Add rules to install db-Makefile.
62286
62287 * nss/nss_db/db-XXX.c: Cleanup.
62288
62289 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62290 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62291 GLIBC_PRIVATE.
62292 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62293 * nss/makedb.c: Implement -g option to specify that value strings
62294 are generated and should not be added to table iterated over for
62295 get*ent calls.
62296 * nss/nss_db/db-initgroups.c: New file.
62297
62298 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62299 interface.
62300
62301 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62302 (internal_getgrouplist): Adjust to name change.
62303 Update use_initgroups_entry if this is not the first call.
62304 * nss/databases.def: Add initgroups entry.
62305
62306 * nss/makedb.c (compute_tables): Check result of multiple hash table
62307 sizes to minimize maximum chain length.
62308
62309 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62310
62311 * Versions.def: Add entry for libnss_db.
62312 * shlib-versions: Likewise.
62313 * nss/Makefile: Add rules to build libnss_db.
62314 * nss/Versions: Add libnss_db information. Organize libnss_files
62315 entries better.
62316 * nss/db-Makefile: Add gshadow support. Change rules for the new
62317 makedb progra. Some minor improvements to generate smaller files.
62318 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62319 here from...
62320 * nss/makedb.c: ...here.
62321 Improve database format to be smaller and require less memory at
62322 runtime.
62323 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62324 db anymore.
62325 * nss/nss_db/db-netgrp.c: Likewise.
62326 * nss/nss_db/db-open.c: Likewise.
62327 * nss/nss_files/flies-XXX.x: Adjust comments.
62328 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62329 * nss/nss_files/files-grp.c: Likewise.
62330 * nss/nss_files/files-hosts.c: Likewise.
62331 * nss/nss_files/files-network.c: Likewise.
62332 * nss/nss_files/files-proto.c: Likewise.
62333 * nss/nss_files/files-pwd.c: Likewise.
62334 * nss/nss_files/files-rpc.c: Likewise.
62335 * nss/nss_files/files-service.c: Likewise.
62336 * nss/nss_files/files-sgrp.c: Likewise.
62337 * nss/nss_files/files-spwd.c: Likewise.
62338 * nss/nss_db/db-alias.c: Removed.
62339 * nss/nss_db/dummy-db.h: Removed.
62340
62341 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62342
62343 * nss/makedb.c: Rewritten to not use database library.
62344 * nss/Makefile: Update to build new makedb program.
62345
62346 2011-06-14 Andreas Jaeger <aj@suse.de>
62347
62348 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62349 memset declaration.
62350
62351 2011-06-10 Andreas Schwab <schwab@redhat.com>
62352
62353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62354 tmpbuf.
62355
62356 2011-06-10 Roland McGrath <roland@hack.frob.com>
62357
62358 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62359 * elf/Makefile ($(objpfx)ld.so): Likewise.
62360
62361 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62362 Don't list ld.so twice in dependencies.
62363
62364 * posix/bug-regex31.c: Include <stdlib.h>.
62365
62366 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62367
62368 * nis/nss_compat/compat-spwd.c
62369 (getspent_next_nss_netgr): Remove unused variable.
62370 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62371
62372 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62373 nonmembers" output to use the right array.
62374
62375 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62376
62377 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62378
62379 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62380 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62381 * catgets/gencat.c (read_input_file): Likewise.
62382 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62383
62384 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62385 variable definition inside #if's controlling its use.
62386
62387 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62388
62389 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62390
62391 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62392
62393 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62394 unreachable code.
62395
62396 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62397
62398 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62399 * configure: Regenerated.
62400
62401 * Makerules: Revert last change.
62402 * elf/Makefile: Likewise.
62403
62404 2011-06-09 Roland McGrath <roland@hack.frob.com>
62405
62406 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62407 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62408 (reloc-link): Likewise.
62409
62410 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62411
62412 * elf/Makefile: Add rules to build pldd.
62413 * elf/pldd.c: New file.
62414 * elf/pldd-xx.c: New file.
62415
62416 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62417
62418 * version.h: Update for 2.15 development version.
62419
62420 2011-06-07 David S. Miller <davem@davemloft.net>
62421
62422 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62423 ifuncs.
62424 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62425 elf_machine_lazy_rel): Likewise.
62426 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62427 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62428 elf_machine_lazy_rel): Likewise.
62429 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62430 dl_hwcap via passed in argument.
62431 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62432 Likewise.
62433
62434 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62435
62436 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62437
62438 2011-06-06 Roland McGrath <roland@hack.frob.com>
62439
62440 [BZ #12849]
62441 * manual/fdl-1.1.texi: New file, verbatim from:
62442 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62443 * manual/lgpl-2.1.texi: New file, verbatim from:
62444 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62445 * manual/Makefile (licenses): New variable, list those new file names.
62446 (texis): Use it.
62447 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62448
62449 * manual/fdl.texi: File removed.
62450 * manual/lesser.texi: File removed.
62451 * manual/libc.texinfo (Copying, Documentation License):
62452 Use new @include file names, put @appendix directive before @include.
62453
62454 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62455
62456 [BZ #12841]
62457 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62458 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62459 (mq_open): Add __NTH.
62460
62461 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62462
62463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62464 Assume Intel Core i3/i5/i7 processor if AVX is available.
62465
62466 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62467
62468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62469 typo.
62470
62471 2011-05-31 Andreas Schwab <schwab@redhat.com>
62472
62473 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62474 memory. Use alloca_account. Fix memory leak when retrying.
62475
62476 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62477
62478 * version.h (RELEASE): Bump for 2.14 release.
62479 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62480
62481 * config.make.in (RANLIB): Remove entry.
62482
62483 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62484
62485 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62486 (libc.pot): Work around missing support for .ksh extension in xgettext.
62487
62488 [BZ #12684]
62489 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62490 if both request failed.
62491 (send_dg): In case of server errors clear resplen or *resplen2.
62492
62493 [BZ #12454]
62494 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62495 when there are multiple maps.
62496 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62497 (_dl_fini): Remove test here.
62498
62499 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62500
62501 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62502
62503 [BZ #12350]
62504 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62505 bit from old_res_options.
62506 (gaih_inet): Likewise.
62507
62508 [BZ #11099]
62509 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62510 as signed.
62511
62512 * resolv/res_init.c (res_setoptions): Make the code more compact.
62513
62514 [BZ #11558]
62515 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62516 set RES_USEVC.
62517
62518 [BZ #11634]
62519 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62520
62521 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62522
62523 [BZ #11781]
62524 * malloc/malloc.h: Declare malloc hook variables as volatile.
62525
62526 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62527 in last patch.
62528
62529 [BZ #11799]
62530 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62531 raise in the comment.
62532 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62534 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62535
62536 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62537
62538 [BZ #12811]
62539 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62540 grow the buffers more if it already has to be sufficient.
62541 (build_wcs_upper_buffer): Likewise.
62542 * posix/regexec.c (check_matching): Likewise.
62543 (clean_state_log_if_needed): Likewise.
62544 (extend_buffers): Don't enlarge buffers beyond size of the input
62545 buffer.
62546 Patches mostly by Emil Wojak <emil@wojak.eu>.
62547 * posix/bug-regex32.c: New file.
62548 * posix/Makefile (tests): Add bug-regex32.
62549
62550 * locale/findlocale.c (_nl_find_locale): Return right away if
62551 _nl_explode_name failed.
62552 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62553
62554 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62555
62556 * debug/xtrace.sh: Unify messages.
62557 * malloc/memusage.sh: Likewise.
62558
62559 [BZ #12813]
62560 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62561 time symbol from vDSO. Substitute with vsyscall if not available.
62562 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62563 __vdso_time.
62564
62565 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62566 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62567 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62568 Add sendmmsg and internal_sendmmsg.
62569 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62570 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62571 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62572
62573 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62574 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62575 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62576
62577 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62578
62579 [BZ #12813]
62580 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62581 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62582 available.
62583 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62584 __vdso_getcpu.
62585
62586 [BZ #12814]
62587 * iconvdata/Makefile (tests): Add bug-iconv9.
62588 * iconvdata/bug-iconv9.c: New file.
62589
62590 2011-05-27 Andreas Schwab <schwab@redhat.com>
62591
62592 [BZ #12814]
62593 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62594
62595 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62596
62597 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62598 (struct user_regs_struct): Change intcs field back to cs.
62599
62600 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62601
62602 * po/ja.po: Update from translation team.
62603
62604 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62605
62606 [BZ #12795]
62607 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62608 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62609
62610 2011-05-20 Andreas Schwab <schwab@redhat.com>
62611
62612 * stdlib/longlong.h: Update from GCC.
62613
62614 2011-05-23 Andreas Schwab <schwab@redhat.com>
62615
62616 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62617 parameter name.
62618 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62619 Add parameter name.
62620 (__sysconf): Pass it down.
62621
62622 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62623
62624 [BZ #12671]
62625 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62626 some situations.
62627 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62628 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62629 add in in __libc_use_alloca calls. Adjust callers.
62630 (glob): Use malloc in some situations.
62631
62632 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62633 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62634 pltexit.
62635
62636 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62637
62638 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62639 and CLOCK_BOOTTIME_ALARM.
62640
62641 [BZ #12782]
62642 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62643 is returned.
62644
62645 * string/_strerror.c (__strerror_r): Print negative errors as signed
62646 numbers.
62647
62648 [BZ #12777]
62649 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62650 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62651 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62652
62653 * configure.in: Fix typo in redirection and correct removal of test
62654 files in two cases.
62655
62656 [BZ #12788]
62657 * locale/setlocale.c (new_composite_name): Fix test to check for
62658 identical name of all categories.
62659
62660 [BZ #12792]
62661 * libio/filedoalloc.c (local_isatty): New function.
62662 (_IO_file_doallocate): Use local_isatty.
62663 * stdio-common/perror.c (perror): In case a new stream is used
62664 forward the stream error.
62665 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62666 error flag.
62667
62668 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62669
62670 [BZ #11869]
62671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62672 alloca.
62673 * include/alloca.h (extend_alloca_account): Define.
62674
62675 [BZ #11857]
62676 * posix/regex.h: Fix comments with documentation of user-accessible
62677 fields after compilation and describe correct free'ing of pattern
62678 after re_compile_pattern.
62679 Patch by Reuben Thomas <rrt@sc3d.org>.
62680
62681 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62682
62683 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62684 and -mno-altivec to prevent the compiler from using Altivec and/or
62685 VSX instructions when the corresponding registers are not available.
62686
62687 2011-05-19 Andreas Schwab <schwab@redhat.com>
62688
62689 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62690
62691 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62692
62693 * libio/freopen.c (freopen): Use __dup2, not dup2.
62694 * libio/freopen64.c (freopen64): Likewise.
62695
62696 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62697
62698 [BZ #12775]
62699 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62700 * math/Makefile (tests): Add test-powl.
62701 (CFLAGS-test-powl.c): Define.
62702 * math/test-powl.c: New file.
62703
62704 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62705
62706 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62707
62708 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62709
62710 [BZ #11837]
62711 * iconvdata/gb18030.c: Update to GB18020-2005.
62712
62713 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62714
62715 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62716 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62717 Patch by Aharon Robbins <arnold@skeeve.com>.
62718
62719 [BZ #11892]
62720 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62721 on the stack.
62722
62723 [BZ #11895]
62724 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62725 through underflows.
62726
62727 [BZ #12766]
62728 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62729 point to strings before performing equality test for error_one_per_line
62730 mode.
62731
62732 [BZ #11697]
62733 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62734
62735 [BZ #11820]
62736 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62737 (struct user_fpregs_struct): Avoid __uint*_t types.
62738
62739 [BZ #6420]
62740 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62741 symbol info. Use it instead of calling _dl_addr locally.
62742 (lock_and_info): New function.
62743 (tr_freehook): Call lock_and_info and pass symbol info as additional
62744 parameter to tr_where.
62745 (tr_mallochook): Likewise.
62746 (tr_reallochook): Likewise.
62747 (tr_memalignhook): Likewise.
62748
62749 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62750 used and couldn't be at all thread-safe.
62751
62752 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62753
62754 * libio/freopen.c (freopen): Don't close old file descriptor
62755 before the new one is opened. Instead dup the new file descriptor
62756 to the old one after the new stream is created.
62757 * libio/freopen64.c (freopen64): Likewise.
62758 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62759 * libio/fileops.c (_IO_new_file_close_it): Handle new
62760 _IO_FLAGS2_NOCLOSE flag.
62761 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62762 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62763 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62764 _IO_FLAGS2_NOCLOSE flag.
62765 * include/unistd.h: Add hidden_proto for dup3.
62766 Define __have_dup3.
62767 * io/dup3.c: Define hidden symbol.
62768 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62769
62770 [BZ #7101]
62771 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62772 when an incomplete long option is used.
62773 * posix/tst-getopt_long1.c: New file.
62774 * posix/Makefile (tests): Add tst-getopt_long1.
62775
62776 [BZ #10138]
62777 * scripts/config.guess: Update from autoconf-2.68.
62778 * scripts/config.sub: Likewise.
62779
62780 [BZ #10157]
62781 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62782 tests into ...
62783 (has_cpuclock): ...this. New function.
62784 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62785 macro here based on has_cpuclock code.
62786
62787 [BZ #10149]
62788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62789 First byte (not low byte) is now always NUL.
62790 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62791
62792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62793 Use non-cancelable interfaces.
62794
62795 [BZ #9809]
62796 * locale/iso-639.def: Add entry for Sorani.
62797
62798 [BZ #11901]
62799 * include/stdlib.h: Move include protection to the right place.
62800 Define abort_msg_s. Declare __abort_msg with it.
62801 * stdlib/abort.c (__abort_msg): Adjust type.
62802 * assert/assert.c (__assert_fail_base): New function. Majority
62803 of code from __assert_fail. Allocate memory for __abort_msg with
62804 mmap.
62805 (__assert_fail): Now call __assert_fail_base.
62806 * assert/assert-perr.c: Remove bulk of implementation. Use
62807 __assert_fail_base.
62808 * include/assert.hL Declare __assert_fail_base.
62809 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62810 mmap.
62811 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62812
62813 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62814
62815 [BZ #11952]
62816 [BZ #12453]
62817 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62818 until all modules are registered in the DTV.
62819 * elf/Makefile: Add rules to build and run tst-tls19.
62820 * elf/tst-tls19.c: New file.
62821 * elf/tst-tls19mod1.c: New file.
62822 * elf/tst-tls19mod2.c: New file.
62823 * elf/tst-tls19mod3.c: New file.
62824 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62825
62826 [BZ #12083]
62827 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62828 correctly.
62829
62830 [BZ #12601]
62831 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62832 two-byte sequence errors.
62833 * iconvdata/Makefile (tests): Add bug-iconv8.
62834 * iconvdata/bug-iconv8.c: New file.
62835
62836 [BZ #12626]
62837 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62838 buf2 definition.
62839
62840 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62841
62842 [BZ #12432]
62843 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62844 (dummy_getcfa): New function.
62845 (init): Get _Unwind_GetCFA address, use dummy if not found.
62846 (backtrace_helper): In recursion check, also check whether CFA changes.
62847 (__backtrace): Completely initialize arg.
62848
62849 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62850 storing incomplete byte sequence in state object. Avoid testing for
62851 guaranteed too small input if we know there is enough data available.
62852
62853 2011-05-11 Andreas Schwab <schwab@redhat.com>
62854
62855 * Makeconfig (+link-pie): Indent.
62856 * Rules (binaries-pie): Define if $(have-fpie) and
62857 $(build-shared).
62858 (binaries-shared): Also filter out $(binaries-pie).
62859 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62860 * nscd/Makefile (others-pie): Add nscd.
62861 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62862 ($(objpfx)nscd): Remove command override.
62863 * login/Makefile (others-pie): Add pt_chown.
62864 ($(objpfx)pt_chown): Remove command override.
62865 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62866 remove command overrides.
62867
62868 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62869
62870 * libio/tst_putwc.c: Fix error messages.
62871
62872 [BZ #12724]
62873 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62874 currently writing and seek to current position when not.
62875 * libio/Makefile (tests): Add bug-fclose1.
62876 * libio/bug-fclose1.c: New file.
62877
62878 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62879
62880 [BZ #12511]
62881 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62882 don't set DF_1_NODELETE here.
62883 (do_lookup_x): When entering new entry test for copy relocation
62884 and if necessary set DF_1_NODELETE flag.
62885 * elf/tst-unique4.cc: New file.
62886 * elf/tst-unique4.h: New file.
62887 * elf/tst-unique4lib.cc: New file.
62888 * elf/Makefile: Add rules to build and run tst-unique4.
62889 Patch by Piotr Bury <pbury@goahead.com>.
62890
62891 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62892
62893 [BZ #12052]
62894 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62895
62896 [BZ #12625]
62897 * misc/mntent_r.c (addmntent): Flush the stream after the output
62898
62899 [BZ #12393]
62900 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62901 (is_trusted_path_normalize): Skip initial colon. Append slash
62902 to empty buffer. Duplicate is_trusted_path code but allow
62903 constructed patch to be prefix.
62904 (is_dst): Allow $ORIGIN followed by /.
62905 (_dl_dst_substitute): Correct clearing of check_for_trusted.
62906 Correct testing of result of is_trusted_path_normalize
62907 (decompose_rpath): Fix warning.
62908
62909 2011-05-10 Ulrich Drepper <drepper@gmail.com>
62910
62911 [BZ #11257]
62912 * grp/initgroups.c (internal_getgrouplist): When we found the service
62913 list through the initgroups entry in nsswitch.conf do not always
62914 continue on a successful lookup. Don't always use the
62915 __nss_group_database value if it is set.
62916 * nss/nsswitch.conf (initgroups): Change action for successful db
62917 lookup to continue for compatibility.
62918
62919 2011-05-09 Ulrich Drepper <drepper@gmail.com>
62920
62921 [BZ #11532]
62922 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62923 and CP774 modules.
62924 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62925 and CP774 modules.
62926 * iconvdata/tst-tables.sh: Likewise.
62927 * iconvdata/cp770.c: New file.
62928 * iconvdata/cp771.c: New file.
62929 * iconvdata/cp772.c: New file.
62930 * iconvdata/cp773.c: New file.
62931 * iconvdata/cp774.c: New file.
62932 * iconvdata/testdata/CP770: New file.
62933 * iconvdata/testdata/CP770..UTF8: New file.
62934 * iconvdata/testdata/CP771: New file.
62935 * iconvdata/testdata/CP771..UTF8: New file.
62936 * iconvdata/testdata/CP772: New file.
62937 * iconvdata/testdata/CP772..UTF8: New file.
62938 * iconvdata/testdata/CP773: New file.
62939 * iconvdata/testdata/CP773..UTF8: New file.
62940 * iconvdata/testdata/CP774: New file.
62941 * iconvdata/testdata/CP774..UTF8: New file.
62942
62943 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62944 END CHARMAP line.
62945 * iconvdata/gen-8bit-gap.sh: Likewise.
62946 * iconvdata/gen-8bit.sh: Likewise.
62947
62948 * locale/iso-639.def: Add ary entry.
62949
62950 [BZ #11258]
62951 * locale/C-translit.h.in: Add U20A1 transliteration.
62952
62953 [BZ #12178]
62954 * locale/iso-639.def: Add wae entry.
62955 Patch by Kevin Bortis <bortis@translate-wae.ch>.
62956
62957 [BZ #12545]
62958 * locale/programs/localedef.c (construct_output_path): Use ssize_t
62959 for n.
62960
62961 [BZ #12711]
62962 * locale/C-translit.h.in: Add entry for U20B9.
62963 Patch by pravin.d.s@gmail.com.
62964
62965 2011-05-08 Ulrich Drepper <drepper@gmail.com>
62966
62967 [BZ #12713]
62968 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62969 ENAMETOOLONG use generic getcwd.
62970 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
62971 in rtld. Use *stat64.
62972 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62973 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62974 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62975 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62976 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62977 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62978 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62979 __fstatat64 macros.
62980 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62981 * dirent/rewinddir.c: Add libc_hidden_def.
62982 * sysdeps/mach/hurd/rewinddir.c: Likewise.
62983 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
62984
62985 * include/dirent.h (__alloc_dir): Add flags parameter.
62986 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62987 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62988 __alloc_dir.
62989 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
62990 from fdopendir if O_CLOEXEC is already set.
62991
62992 2011-03-15 Alan Modra <amodra@gmail.com>
62993
62994 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62995 l_tls_firstbyte_offset non-zero. Save padding offset in
62996 l_tls_firstbyte_offset for later use.
62997 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62998 freeing static tls block.
62999
63000 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63001
63002 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63003 where #ifdef was intended. The intent is to prevent ARG_MAX from
63004 being defined by the kernel headers.
63005
63006 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63007
63008 [BZ #12734]
63009 * resolv/resolv.h: Define RES_NOTLDQUERY.
63010 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63011 no-tld-query and set RES_NOTLDQUERY.
63012 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63013 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63014 modern BIND to search name as TLD unless forbidden.
63015
63016 2011-05-07 Petr Baudis <pasky@suse.cz>
63017 Ulrich Drepper <drepper@gmail.com>
63018
63019 [BZ #12393]
63020 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63021 (is_trusted_path): ...to here.
63022 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63023 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63024 using is_trusted_path_normalize() in setuid scripts.
63025
63026 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63027
63028 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63029 __BEGIN/__END_DECLS.
63030
63031 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63032
63033 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63034 NSS_STATUS_NOTFOUND if no record was found.
63035
63036 2011-05-05 Andreas Schwab <schwab@redhat.com>
63037
63038 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63039 (headers-not-in-tirpc): Remove rpc/netdb.h
63040 * resolv/netdb.h: Revert last change.
63041
63042 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63043
63044 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63045 circular dependency between libgcc.a and libc.a.
63046
63047 2011-05-05 Andreas Schwab <schwab@redhat.com>
63048
63049 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63050 * nis/Makefile: Don't install rpcsvc/*.
63051 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63052 instead of <rpc/types.h>.
63053 (MAXHOSTNAMELEN): Define.
63054
63055 2011-05-03 Andreas Schwab <schwab@redhat.com>
63056
63057 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63058
63059 2011-04-28 Maciej Babinski <mbabinski@google.com>
63060
63061 [BZ #12714]
63062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63063 gethostbyname4_r when IPv6 results are possible.
63064
63065 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63066
63067 [BZ #12723]
63068 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63069 _PC_PIPE_BUF handling.
63070
63071 2011-04-30 Bruno Haible <bruno@clisp.org>
63072
63073 [BZ #12717]
63074 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63075 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63076 to 'int'.
63077 * inet/getnameinfo.c (getnameinfo): Likewise.
63078
63079 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63080
63081 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63082 to groups setting in database lookup.
63083 * nss/nsswitch.conf: Add initgroups entry.
63084
63085 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63086
63087 [BZ #12685]
63088 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63089 mode string.
63090 Patch by Eric Blake <eblake@redhat.com>.
63091
63092 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63093
63094 * sunrpc/Makefile (need-export-routines): Add svc_run.
63095 (routines): Remove svc_run.
63096 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63097 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63098 * sunrpc/svc_run.c (svc_run): Likewise.
63099 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63100
63101 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63102
63103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63104 problem in reallocation in last patch.
63105
63106 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63107
63108 * sunrpc/Makefile: Move inclusion of Rules.
63109
63110 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63111
63112 * nss/nss_files/files-initgroups.c: New file.
63113 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63114 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63115 _nss_files_initgroups_dyn.
63116
63117 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63118
63119 * elf/elf.h (R_ARM_IRELATIVE): Define.
63120
63121 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63122
63123 * po/ru.po: Update from translation team.
63124
63125 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63126
63127 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63128 dependencies.
63129
63130 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63131
63132 [BZ #12653]
63133 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63134 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63135 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63138
63139 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63140
63141 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63142 differing bytes.
63143 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63144 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63145 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63146
63147 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63148
63149 [BZ #12420]
63150 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63151 storing it.
63152 * stdlib/bug-getcontext.c: New file.
63153 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63154
63155 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63156
63157 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63158 instructions into .machine "z9-109".
63159 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63160 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63161
63162 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63163
63164 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63165 between environment variables and auxiliary vector.
63166
63167 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63168
63169 * Makefile: Add rules to build linkobj/libc.so.
63170 * include/libc-symbols.h: Define libc_hidden_nolink.
63171 * include/rpc/auth.h: Mark functions which are to be hidden.
63172 * include/rpc/auth_des.h: Likewise.
63173 * include/rpc/auth_unix.h: Likewise.
63174 * include/rpc/clnt.h: Likewise.
63175 * include/rpc/des_crypt.h: Likewise.
63176 * include/rpc/key_prot.h: Likewise.
63177 * include/rpc/pmap_clnt.h: Likewise.
63178 * include/rpc/pmap_prot.h: Likewise.
63179 * include/rpc/pmap_rmt.h: Likewise.
63180 * include/rpc/rpc_msg.h: Likewise.
63181 * include/rpc/svc.h: Likewise.
63182 * include/rpc/svc_auth.h: Likewise.
63183 * include/rpc/xdr.h: Likewise.
63184 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63185 * nss/Makefile: Likewise.
63186 * sunrpc/Makefile: Don't install headers. Build library with normal
63187 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63188 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63189 for the compat linking library. Remove use of INTDEF/INTUSE.
63190 * sunrpc/auth_none.c: Likewise.
63191 * sunrpc/auth_unix.c: Likewise.
63192 * sunrpc/authdes_prot.c: Likewise.
63193 * sunrpc/authuxprot.c: Likewise.
63194 * sunrpc/clnt_gen.c: Likewise.
63195 * sunrpc/clnt_perr.c: Likewise.
63196 * sunrpc/clnt_raw.c: Likewise.
63197 * sunrpc/clnt_simp.c: Likewise.
63198 * sunrpc/clnt_tcp.c: Likewise.
63199 * sunrpc/clnt_udp.c: Likewise.
63200 * sunrpc/clnt_unix.c: Likewise.
63201 * sunrpc/des_crypt.c: Likewise.
63202 * sunrpc/des_soft.c: Likewise.
63203 * sunrpc/get_myaddr.c: Likewise.
63204 * sunrpc/key_call.c: Likewise.
63205 * sunrpc/key_prot.c: Likewise.
63206 * sunrpc/netname.c: Likewise.
63207 * sunrpc/pm_getmaps.c: Likewise.
63208 * sunrpc/pm_getport.c: Likewise.
63209 * sunrpc/pmap_clnt.c: Likewise.
63210 * sunrpc/pmap_prot.c: Likewise.
63211 * sunrpc/pmap_prot2.c: Likewise.
63212 * sunrpc/pmap_rmt.c: Likewise.
63213 * sunrpc/publickey.c: Likewise.
63214 * sunrpc/rpc_cmsg.c: Likewise.
63215 * sunrpc/rpc_common.c: Likewise.
63216 * sunrpc/rpc_dtable.c: Likewise.
63217 * sunrpc/rpc_prot.c: Likewise.
63218 * sunrpc/rpc_thread.c: Likewise.
63219 * sunrpc/rtime.c: Likewise.
63220 * sunrpc/svc.c: Likewise.
63221 * sunrpc/svc_auth.c: Likewise.
63222 * sunrpc/svc_authux.c: Likewise.
63223 * sunrpc/svc_raw.c: Likewise.
63224 * sunrpc/svc_run.c: Likewise.
63225 * sunrpc/svc_simple.c: Likewise.
63226 * sunrpc/svc_tcp.c: Likewise.
63227 * sunrpc/svc_udp.c: Likewise.
63228 * sunrpc/svc_unix.c: Likewise.
63229 * sunrpc/svcauth_des.c: Likewise.
63230 * sunrpc/xcrypt.c: Likewise.
63231 * sunrpc/xdr.c: Likewise.
63232 * sunrpc/xdr_array.c: Likewise.
63233 * sunrpc/xdr_float.c: Likewise.
63234 * sunrpc/xdr_intXX_t.c: Likewise.
63235 * sunrpc/xdr_mem.c: Likewise.
63236 * sunrpc/xdr_rec.c: Likewise.
63237 * sunrpc/xdr_ref.c: Likewise.
63238 * sunrpc/xdr_sizeof.c: Likewise.
63239 * sunrpc/xdr_stdio.c: Likewise.
63240
63241 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63242
63243 [BZ #12650]
63244 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63245 * sysdeps/ia64/dl-tls.h: Likewise.
63246 * sysdeps/powerpc/dl-tls.h: Likewise.
63247 * sysdeps/s390/dl-tls.h: Likewise.
63248 * sysdeps/sh/dl-tls.h: Likewise.
63249 * sysdeps/sparc/dl-tls.h: Likewise.
63250 * sysdeps/x86_64/dl-tls.h: Likewise.
63251 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63252
63253 2011-03-14 Andreas Schwab <schwab@redhat.com>
63254
63255 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63256 rpath element also skip the following colon.
63257 (expand_dynamic_string_token): Add is_path parameter and pass
63258 down to DL_DST_REQUIRED and _dl_dst_substitute.
63259 (decompose_rpath): Call expand_dynamic_string_token with
63260 non-zero is_path. Ignore empty rpaths.
63261 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63262 with zero is_path.
63263
63264 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63265
63266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63267 Make cancelable.
63268
63269 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63270
63271 [BZ #12655]
63272 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63273 Patch by Filipe David Manana <fdmanana@apache.org>.
63274
63275 2011-04-07 Andreas Schwab <schwab@redhat.com>
63276
63277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63278 Maintain aligned stack.
63279 (CHECK_RSP): Remove unused macro.
63280
63281 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63282
63283 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63284 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63285
63286 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63287
63288 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63289
63290 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63291
63292 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63293
63294 [BZ #12518]
63295 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63296 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63297 * sysdeps/x86_64/memmove.c: New file.
63298 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63299 (memcpy): Renamed to ...
63300 (__new_memcpy): This.
63301 (memcpy): Provide GLIBC_2_14 memcpy.
63302 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63303 (memcpy): Provide GLIBC_2_2_5 memcpy.
63304
63305 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63306
63307 [BZ #12631]
63308 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63309
63310 2011-03-30 Andreas Schwab <schwab@redhat.com>
63311
63312 * misc/syncfs.c: New file.
63313 * misc/Makefile (routines): Add syncfs.
63314 * posix/unistd.h: Declare syncfs.
63315 * sysdeps/unix/syscalls.list: Add syncfs.
63316
63317 2011-04-01 Andreas Schwab <schwab@redhat.com>
63318
63319 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63320 open_by_handle_at.
63321 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63322 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63326 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63327 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63328
63329 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63330
63331 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63332 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63333 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63334 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63335 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63337 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63338
63339 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63340 sync_file_range.c with -fexceptions.
63341 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63342 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63343 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63344 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63345 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63346 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63347 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63348 sync_file_range as cancellation point
63349 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63350 now a wrapper around __call_sync_file_range with cancellation handling.
63351 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63352 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63353 function name to __call_sync_file_range.
63354 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63355 Add call_sync_file_range.
63356
63357 2011-04-01 Andreas Schwab <schwab@redhat.com>
63358
63359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63360 bits/timex.h.
63361
63362 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63363
63364 * iconv/iconv.h: Fix typo in comment.
63365 * io/fcntl.h: Likewise.
63366 * libio/stdio.h: Likewise.
63367 * posix/spawn.h: Likewise.
63368 * posix/unistd.h: Likewise.
63369 * stdlib/stdlib.h: Likewise.
63370 * time/time.h: Likewise.
63371 * wcsmbs/wchar.h: Likewise.
63372
63373 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63374 open_by_handle): Add.
63375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63376 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63377 Augment a few comments.
63378 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63383 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63384 open_by_handle.
63385
63386 * io/fcntl.h (AT_EMPTY_PATH): Define.
63387
63388 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63389
63390 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63391 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63392 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63393 to...
63394 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63395 * Versions.def: Add GLIBC_2.14.
63396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63397 Export.
63398
63399 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63400
63401 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63402 round counter.
63403 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63404
63405 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63406
63407 [BZ #12597]
63408 * string/test-strncmp.c (do_page_test): New function.
63409 (check2): Likewise.
63410 (test_main): Call check2.
63411 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63412
63413 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63414
63415 [BZ #12587]
63416 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63417 Handle cache information in CPU leaf 4.
63418 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63419
63420 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63421
63422 [BZ #12583]
63423 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63424 character representation.
63425 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63426
63427 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63428
63429 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63430 END(__isnan) to END(__isnanf) to match function entry point/label
63431 EALIGN(__isnanf,...).
63432
63433 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63434
63435 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63436
63437 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63438
63439 [BZ #12510]
63440 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63441 copy from the symbol referenced in the relocation to initialize the
63442 used variable.
63443 Patch by Piotr Bury <pbury@goahead.com>.
63444 * elf/Makefile: Add rules to build and tst-unique3.
63445 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63446 * elf/tst-unique3.cc: New file.
63447 * elf/tst-unique3.h: New file.
63448 * elf/tst-unique3lib.cc: New file.
63449 * elf/tst-unique3lib2.cc: New file.
63450
63451 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63452
63453 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63454
63455 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63456 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63457 to _start.
63458
63459 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63460
63461 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63462 to-be-loaded object along a path to loader is ld.so.
63463
63464 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63465 Ulrich Drepper <drepper@gmail.com>
63466
63467 * sysdeps/x86_64/memset.S: After aligning destination, code
63468 branches to different locations depending on the value of
63469 misalignment, when multiarch is enabled. Fix this.
63470
63471 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63472
63473 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63474 Set _x86_64_preferred_memory_instruction for AMD processsors.
63475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63476 Set bit_Prefer_SSE_for_memop for AMD processors.
63477
63478 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63479
63480 * libio/fmemopen.c (fmemopen): Optimize a bit.
63481
63482 2011-03-03 Andreas Schwab <schwab@redhat.com>
63483
63484 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63485
63486 2011-03-03 Roland McGrath <roland@redhat.com>
63487
63488 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63489
63490 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63491
63492 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63493 __bzero_ultra1 instead of __memset_ultra1.
63494
63495 2011-02-23 Andreas Schwab <schwab@redhat.com>
63496 Ulrich Drepper <drepper@gmail.com>
63497
63498 [BZ #12509]
63499 * include/link.h (struct link_map): Add l_orig_initfini.
63500 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63501 returning unsuccessfully.
63502 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63503 close of a file loaded at startup, restore the original l_initfini
63504 list.
63505 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63506 list, store the pointer.
63507 * elf/Makefile ($(objpfx)noload-mem): New rule.
63508 (noload-ENV): Define.
63509 (tests): Add $(objpfx)noload-mem.
63510 * elf/noload.c: Include <memcheck.h>.
63511 (main): Call mtrace. Close all opened handles.
63512
63513 2011-02-17 Andreas Schwab <schwab@redhat.com>
63514
63515 [BZ #12454]
63516 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63517 dependencies are missing.
63518
63519 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63520
63521 Fix __if_freereq crash: Unlike the generic version which uses free,
63522 Hurd needs munmap.
63523 * sysdeps/mach/hurd/ifreq.h: New file.
63524
63525 2011-01-27 Petr Baudis <pasky@suse.cz>
63526 Ulrich Drepper <drepper@gmail.com>
63527
63528 [BZ 12445]#
63529 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63530 to extend_alloca().
63531 * stdio-common/bug23.c: New file.
63532 * stdio-common/Makefile (tests): Add bug23.
63533
63534 2010-09-28 Andreas Schwab <schwab@redhat.com>
63535 Ulrich Drepper <drepper@gmail.com>
63536
63537 [BZ #12489]
63538 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63539 before performing relro protection. At old place add assertion
63540 to make sure nothing changed.
63541
63542 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63543 Glauber de Oliveira Costa <glommer@gmail.com>
63544
63545 * elf/elf.h: Add new ARM TLS relocs.
63546
63547 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63548
63549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63550 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63551 cast from r3.
63552 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63553 'tests' variable.
63554 * sysdeps/wordsize-64/tst-writev.c: New file.
63555
63556 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63557
63558 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63559 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63560 insns in _dl_start to prevent a TOC reference before relocs are
63561 resolved.
63562
63563 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63564
63565 [BZ #12469]
63566 * Makeconfig: Remove RANLIB definition.
63567 * Makerules: Don't use RANLIB.
63568 * aclocal.m4: Remove ranlib test.
63569 * configure.in: No need to check for ranlib.
63570 * elf/rtld-Rules: Don't use RANLIB.
63571
63572 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63573
63574 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63575 protection macro.
63576 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63577 inclusion protection macro.
63578
63579 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63580 SIGRTMIN and SIGRTMAX and print information in that case only when
63581 SIGRTMIN is defined.
63582
63583 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63584
63585 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63586 arginfo fn returning -1.
63587
63588 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63589 and thousands string is zero terminated.
63590
63591 2011-02-03 Andreas Schwab <schwab@redhat.com>
63592
63593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63594 sysdeps/unix/sysv/linux/bits/socket.h.
63595
63596 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63597
63598 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63599 (__CPU_COUNT): Remove old macros.
63600 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63601 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63602 (__CPU_ALLOC, __CPU_FREE): Add macros.
63603 (__sched_cpualloc, __sched_cpufree): Add declarations.
63604
63605 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63606
63607 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63608 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63609 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63610 (readdhstai): Return value of addhstaiX call.
63611 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63612 (addgrbyX): Return value returned by cache_addgr.
63613 (readdgrbyname): Return value returned by addgrbyX.
63614 (readdgrbygid): Likewise.
63615 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63616 (addpwbyX): Return value returned by cache_addpw.
63617 (readdpwbyname): Return value returned by addhstbyX.
63618 (readdpwbyuid): Likewise.
63619 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63620 (addservbyX): Return value returned by cache_addserv.
63621 (readdservbyname): Return value returned by addservbyX:
63622 (readdservbyport): Likewise.
63623 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63624 (addhstbyX): Return value returned by cache_addhst.
63625 (readdhstbyname): Return value returned by addhstbyX.
63626 (readdhstbyaddr): Likewise.
63627 (readdhstbynamev6): Likewise.
63628 (readdhstbyaddrv6): Likewise.
63629 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63630 (readdinitgroups): Return value returned by addinitgroupsX.
63631 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63632 (prune_cache): Keep track of timeout value of re-added entries.
63633 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63634 * nscd/nscd.h: Adjust prototypes of readd* functions.
63635
63636 2011-02-04 Roland McGrath <roland@redhat.com>
63637
63638 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63639 (nis_stats): Likewise.
63640 * nis/nis_modify.c (nis_modify): Likewise.
63641 * nis/nis_remove.c (nis_remove): Likewise.
63642 * nis/nis_add.c (nis_add): Likewise.
63643
63644 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63645
63646 * posix/fnmatch_loop.c: Add some consts.
63647
63648 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63649
63650 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63651
63652 [BZ #12460]
63653 * config.make.in (config-cflags-novzeroupper): Define.
63654 * configure.in: Substitute libc_cv_cc_novzeroupper.
63655 * elf/Makefile (AVX-CFLAGS): Define.
63656 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63657 (CFLAGS-tst-auditmod4a.c): Likewise.
63658 (CFLAGS-tst-auditmod4b.c): Likewise.
63659 (CFLAGS-tst-auditmod6b.c): Likewise.
63660 (CFLAGS-tst-auditmod6c.c): Likewise.
63661 (CFLAGS-tst-auditmod7b.c): Likewise.
63662 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63663
63664 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63665
63666 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63667 function to the callback.
63668 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63669
63670 2011-02-02 Andreas Schwab <schwab@redhat.com>
63671
63672 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63673 of errno.
63674
63675 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63676
63677 [BZ #11724]
63678 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63679 of constructors.
63680 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63681 of destructors.
63682 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63683
63684 [BZ #11724]
63685 * elf/Makefile: Add rules to build and run new test.
63686 * elf/tst-initorder.c: New file.
63687 * elf/tst-initorder.exp: New file.
63688 * elf/tst-initordera1.c: New file.
63689 * elf/tst-initordera2.c: New file.
63690 * elf/tst-initordera3.c: New file.
63691 * elf/tst-initordera4.c: New file.
63692 * elf/tst-initorderb1.c: New file.
63693 * elf/tst-initorderb2.c: New file.
63694 * elf/tst-order-a1.c: New file.
63695 * elf/tst-order-a2.c: New file.
63696 * elf/tst-order-a3.c: New file.
63697 * elf/tst-order-a4.c: New file.
63698 * elf/tst-order-b1.c: New file.
63699 * elf/tst-order-b2.c: New file.
63700 * elf/tst-order-main.c: New file.
63701 New test case by George Gensure <werkt0@gmail.com>.
63702
63703 2010-10-01 Andreas Schwab <schwab@redhat.com>
63704
63705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63706 decoding ACE if AI_CANONIDN.
63707
63708 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63709
63710 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63711
63712 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63713
63714 * version.h (RELEASE): Bump for 2.13 release.
63715 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63716
63717 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63718
63719 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63720 MADV_NOHUGEPAGE.
63721 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63722 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63723 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63724 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63725 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63726 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63727
63728 * posix/getconf.c: Update copyright year.
63729 * catgets/gencat.c: Likewise.
63730 * csu/version.c: Likewise.
63731 * debug/catchsegv.sh: Likewise.
63732 * debug/xtrace.sh: Likewise.
63733 * elf/ldconfig.c: Likewise.
63734 * elf/ldd.bash.in: Likewise.
63735 * elf/sprof.c (print_version): Likewise.
63736 * iconv/iconv_prog.c: Likewise.
63737 * iconv/iconvconfig.c: Likewise.
63738 * locale/programs/locale.c: Likewise.
63739 * locale/programs/localedef.c: Likewise.
63740 * malloc/memusage.sh: Likewise.
63741 * malloc/mtrace.pl: Likewise.
63742 * nscd/nscd.c (print_version): Likewise.
63743 * nss/getent.c: Likewise.
63744
63745 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63746 PF_CAIF, and PF_ALG.
63747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63748
63749 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63750
63751 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63752 (modules-names): Use them.
63753 (ifunc-test-modules, ifunc-pie-tests): Define.
63754 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63755 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63756 (test-extras): Likewise.
63757 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63758 $(compile-command.c).
63759 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63760 (all-built-dso): Define.
63761 (check-textrel.out, check-execstack.out): Depend on it.
63762
63763 * configure.in: Don't override --enable-multi-arch.
63764
63765 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63766
63767 [BZ #6812]
63768 * nscd/hstcache.c (tryagain): Define.
63769 (cache_addhst): Return tryagain not notfound for temporary errors.
63770 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63771 failed.
63772
63773 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63774
63775 [BZ #10563]
63776 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63777 to make the syscall.
63778 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63779
63780 [BZ #12378]
63781 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63782 and fall back to matching as normal character if the string ends before
63783 the matching ']' is found. This is what POSIX requires.
63784 * posix/testfnm.c: Adjust test result.
63785 * posix/globtest.sh: Adjust test result. Add new test.
63786 * posix/tst-fnmatch.input: Likewise.
63787 * posix/tst-fnmatch2.c: Add new test.
63788
63789 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63790
63791 * elf/Makefile (check-execstack): Revert last change. Depend on
63792 check-execstack.h.
63793 (check-execstack.h): New target.
63794 (generated): Add check-execstack.h.
63795 * elf/check-execstack.c: Include "check-execstack.h".
63796 (main): Revert last change.
63797 (handle_file): Return zero if GNU_STACK is absent and
63798 DEFAULT_STACK_PERMS doesn't include PF_X.
63799
63800 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63801
63802 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63803 in child fails because the descriptor is already closed.
63804 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63805 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63806 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63807
63808 [BZ #12397]
63809 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63810 syscall.
63811
63812 [BZ #10484]
63813 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63814 temporary buffer used to handle multi lookups locally.
63815 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63816
63817 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63818
63819 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63820 loader is ld.so.
63821
63822 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63823
63824 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63825 alignment for SSE2.
63826
63827 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63828
63829 [BZ #12394]
63830 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63831 characters. When rounding increased number of integer digits recompute
63832 number of groups.
63833 * stdio-common/tst-grouping.c: New file.
63834 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63835
63836 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63837
63838 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63839 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63840
63841 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63842 void.
63843 * bits/select.h: Likewise.
63844
63845 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63846
63847 * po/ja.po: Update from translation team.
63848
63849 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63850
63851 [BZ #11155]
63852 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63853 implementation just like for lxstat, fxstatat, et al.
63854
63855 2010-12-27 Jim Meyering <meyering@redhat.com>
63856
63857 [BZ #12348]
63858 * posix/regexec.c (build_trtable): Return failure indication upon
63859 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63860
63861 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63862
63863 [BZ #12201]
63864 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63865 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63866 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63867 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63868
63869 [BZ #12207]
63870 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63871
63872 [BZ #12204]
63873 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63874 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63875
63876 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63877
63878 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63879 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63880 script has SORT_BY_INIT_PRIORITY.
63881 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63882 NO_CTORS_DTORS_SECTIONS is defined.
63883 * elf/soinit.c: Likewise.
63884 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63885 NO_CTORS_DTORS_SECTIONS is defined.
63886 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63887 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63888 * sysdeps/sh/init-first.c: Likewise.
63889 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63890
63891 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63892
63893 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63894 always use the slow path.
63895
63896 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63897
63898 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63899 similar rule which adds the sysdep directories to the header search in
63900 order to pick up the correct platform stackinfo.h.
63901 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63902 perform test if it is, otherwise return successfully without testing.
63903 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63904 DEFAULT_STACK_PERMS define in stackinfo.h.
63905 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63906 defined in stackinfo.h.
63907 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63908 DEFAULT_STACK_PERMS defined in stackinfo.h.
63909 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63910 * sysdeps/ia64/stackinfo.h: Likewise.
63911 * sysdeps/s390/stackinfo.h: Likewise.
63912 * sysdeps/sh/stackinfo.h: Likewise.
63913 * sysdeps/sparc/stackinfo.h: Likewise.
63914 * sysdeps/x86_64/stackinfo.h: Likewise.
63915 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63916 PF_X for powerpc64. Retain PF_X for powerpc32.
63917
63918 2010-12-19 Ulrich Drepper <drepper@gmail.com>
63919
63920 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63921 accurately.
63922 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63923 GETDENTS_64BIT_ALIGNED.
63924
63925 2010-12-14 Ulrich Drepper <dreper@gmail.com>
63926
63927 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63928
63929 2010-12-10 Andreas Schwab <schwab@redhat.com>
63930
63931 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63932 _GNU_SOURCE.
63933
63934 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63935 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63936 Remove __restrict.
63937 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63938 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63939
63940 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63941
63942 [BZ #11655]
63943 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63944 are initialized.
63945
63946 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63947
63948 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63949
63950 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63951
63952 * po/it.po: Update from translation team.
63953
63954 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
63955
63956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63957 unused codes.
63958
63959 2010-11-30 Ulrich Drepper <drepper@gmail.com>
63960
63961 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63962
63963 2010-11-24 Andreas Schwab <schwab@redhat.com>
63964
63965 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63966 specially.
63967 (gaih_getanswer_slice): Likewise.
63968
63969 2010-10-20 Jakub Jelinek <jakub@redhat.com>
63970
63971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63972
63973 2010-05-31 Petr Baudis <pasky@suse.cz>
63974
63975 [BZ #11149]
63976 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63977 silently even in the chroot mode.
63978
63979 2010-11-22 Ulrich Drepper <drepper@gmail.com>
63980
63981 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63982 last patch a bit. Pretty printing
63983
63984 2010-05-31 Petr Baudis <pasky@suse.cz>
63985
63986 [BZ #10085]
63987 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63988 initialization of skip_initgroups_dyn.
63989
63990 2010-11-19 Ulrich Drepper <drepper@gmail.com>
63991
63992 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63993 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63994
63995 2010-11-16 Ulrich Drepper <drepper@gmail.com>
63996
63997 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63998
63999 2010-11-11 Andreas Schwab <schwab@redhat.com>
64000
64001 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64002 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64003 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64004 ($(objpfx)tst-fnmatch-mem): New rule.
64005 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64006 * posix/tst-fnmatch.c (main): Call mtrace.
64007
64008 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64009
64010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64011 Support Intel processor model 6 and model 0x2c.
64012
64013 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64014
64015 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64016 signed comparison.
64017
64018 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64019
64020 [BZ #12205]
64021 * string/test-strncasecmp.c (check_result): New function.
64022 (do_one_test): Use it.
64023 (check1): New function.
64024 (test_main): Use it.
64025 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64026 Support strcasecmp and strncasecmp.
64027
64028 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64029
64030 [BZ #12194]
64031 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64033
64034 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64035
64036 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64037 IFUNC support.
64038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64039 memset-x86-64.
64040 * sysdeps/x86_64/multiarch/bzero.S: New file.
64041 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64042 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64043 * sysdeps/x86_64/multiarch/memset.S: New file.
64044 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64046 Set bit_Prefer_SSE_for_memop for Intel processors.
64047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64048 Define.
64049 (index_Prefer_SSE_for_memop): Define.
64050 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64051
64052 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64053
64054 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64055 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64056
64057 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64058
64059 [BZ #12191]
64060 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64061 (__x86_64_raw_data_cache_size_half): Likewise.
64062 (__x86_64_raw_shared_cache_size): Likewise.
64063 (__x86_64_raw_shared_cache_size_half): Likewise.
64064
64065 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64066 (__x86_64_raw_data_cache_size_half): Likewise.
64067 (__x86_64_raw_shared_cache_size): Likewise.
64068 (__x86_64_raw_shared_cache_size_half): Likewise.
64069 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64070 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64071 and __x86_64_raw_shared_cache_size_half. Round
64072 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64073 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64074 to multiple of 256 bytes.
64075
64076 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64077
64078 [BZ #12167]
64079 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64080 of inacessible symlinks. Verify result of symlink before returning it.
64081 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64082 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64083
64084 2010-10-28 Erich Ritz <erichritz@gmail.com>
64085
64086 * math/math.h (isinf): Fix typo in comment.
64087
64088 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64089
64090 * po/da.po: Update from translation team.
64091
64092 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64093
64094 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64095 is added to the list.
64096
64097 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64098 Ulrich Drepper <drepper@gmail.com>
64099
64100 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64101 the global list here. Move code to...
64102 (_dl_add_to_namespace_list): ...here. New function.
64103 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64104 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64105 * elf/dl-load.c (lose): Don't remove the element from the list.
64106 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64107 (_dl_map_object): Likewise.
64108
64109 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64110
64111 [BZ #12159]
64112 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64113 into all bytes of SSE register.
64114 Patch by Richard Li <richardpku@gmail.com>.
64115
64116 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64117
64118 [BZ #12140]
64119 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64120 perturbing.
64121
64122 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64123
64124 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64125 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64126 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64127 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64129 submachine.
64130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64131
64132 2010-10-22 Andreas Schwab <schwab@redhat.com>
64133
64134 * include/dlfcn.h (__RTLD_SECURE): Define.
64135 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64136 mode & __RTLD_SECURE instead.
64137 (open_path): Rename preloaded parameter to secure.
64138 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64139 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64140 * elf/dl-deps.c (openaux): Likewise.
64141 * elf/rtld.c (struct map_args): Remove is_preloaded.
64142 (map_doit): Don't use it.
64143 (dl_main): Likewise.
64144 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64145 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64146
64147 2010-09-09 Andreas Schwab <schwab@redhat.com>
64148
64149 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64150 (sysd-rules-targets): Remove duplicates.
64151 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64152 rtld-%.$o dependency.
64153
64154 2010-10-18 Andreas Schwab <schwab@redhat.com>
64155
64156 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64157 _dl_map_object do it.
64158
64159 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64160
64161 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64162 fast fma builtins, define the macros in the C99 standard.
64163 (FP_FAST_FMAF): Likewise.
64164 (FP_FAST_FMAL): Likewise.
64165 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64166
64167 * bits/mathdef.h: Update copyright year.
64168 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64169
64170 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64171
64172 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64173 builtins, define the macros in the C99 standard.
64174 (FP_FAST_FMAF): Likewise.
64175 (FP_FAST_FMAL): Likewise.
64176 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64177 multiply/add.
64178 (FP_FAST_FMAF): Likewise.
64179
64180 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64181
64182 [BZ #3268]
64183 * math/libm-test.inc (fma_test): Some new testcases.
64184 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64185 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64186 y and infinite z. Do multiplication by C already in long double.
64187 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64189 y and infinite z. Do bitwise or of inexact bit into u.d.
64190 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64191 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64192 * sysdeps/i386/fpu/s_fma.S: Removed.
64193 * sysdeps/i386/fpu/s_fmal.S: Removed.
64194
64195 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64196
64197 [BZ #3268]
64198 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64199 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64200 computation is not scheduled after fetestexcept. Fix value
64201 of minimum denormal long double.
64202
64203 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64204
64205 [BZ #3268]
64206 * math/libm-test.inc (fma_test): Add some more tests.
64207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64208 correctly.
64209
64210 2010-10-15 Andreas Schwab <schwab@redhat.com>
64211
64212 * scripts/data/localplt-s390-linux-gnu.data: New file.
64213 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64214
64215 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64216
64217 [BZ #3268]
64218 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64219 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64220 instead of dbl-64.
64221 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64222 inlines.
64223 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64225 if one of x and y is very large and the other is subnormal.
64226 * sysdeps/s390/fpu/s_fmaf.c: New file.
64227 * sysdeps/s390/fpu/s_fma.c: New file.
64228 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64229 * sysdeps/powerpc/fpu/s_fma.S: New file.
64230 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64231 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64232 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64233
64234 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64235
64236 [BZ #3268]
64237 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64238 fma tests.
64239 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64240 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64241 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64242 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64243 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64244 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64245 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64246
64247 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64248
64249 [BZ #12078]
64250 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64251 * posix/bug-regex31.input: Add test case.
64252
64253 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64254
64255 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64256 * posix/bug-regex31.input: New file.
64257
64258 [BZ #12078]
64259 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64260 (parse_sub_exp): Fix last change, use postorder.
64261
64262 * posix/bug-regex31.c: New file.
64263 * posix/Makefile: Add rules to build and run bug-regex31.
64264
64265 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64266
64267 [BZ #12078]
64268 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64269
64270 [BZ #12108]
64271 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64272 to have entries in sys_siglist.
64273
64274 [BZ #12093]
64275 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64276 be NULL.
64277
64278 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64279
64280 [BZ #3268]
64281 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64282 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64283 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64284 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64285 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64286 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64287 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64288 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64289 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64290 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64291 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64292 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64293 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64294 * math/ftestexcept.c (fetestexcept): Likewise.
64295 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64296 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64297 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64298 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64299 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64300 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64301 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64302
64303 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64304
64305 [BZ #12107]
64306 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64307 newline.
64308
64309 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64310
64311 * string/bug-strstr1.c: New file.
64312 * string/Makefile: Add rules to build and run bug-strstr1.
64313
64314 2010-10-05 Eric Blake <eblake@redhat.com>
64315
64316 [BZ #12092]
64317 * string/str-two-way.h (two_way_long_needle): Always clear memory
64318 when skipping input due to the shift table.
64319
64320 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64321
64322 [BZ #12005]
64323 * malloc/mcheck.c: Handle large requests.
64324
64325 [BZ #12077]
64326 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64327 for strncmp and strncasecmp.
64328 * string/stratcliff.c: Add tests for strcmp and strncmp.
64329 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64330
64331 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64332
64333 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64334 __set_fpscr.
64335
64336 2010-09-30 Andreas Jaeger <aj@suse.de>
64337
64338 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64339 (CGROUP_SUPER_MAGIC): Define.
64340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64341 Handle btrfs and cgroup file systems.
64342 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64343 Likewise.
64344
64345 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64346
64347 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64348 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64349
64350 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64351
64352 [BZ #12067]
64353 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64354 trying to locate the ELF header.
64355
64356 2010-09-27 Andreas Schwab <schwab@redhat.com>
64357
64358 [BZ #11611]
64359 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64360 Mask out sign-bit copies when constructing f_fsid.
64361
64362 2010-09-24 Petr Baudis <pasky@suse.cz>
64363
64364 * debug/stack_chk_fail_local.c: Add missing licence exception.
64365 * debug/warning-nop.c: Likewise.
64366
64367 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64368
64369 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64370 implementing getdents64 using getdents syscall, set d_type if
64371 __ASSUME_GETDENTS32_D_TYPE.
64372
64373 2010-09-16 Andreas Schwab <schwab@redhat.com>
64374
64375 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64376 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64377
64378 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64379
64380 [BZ #12037]
64381 * posix/unistd.h: Undo change of feature selection for ftruncate from
64382 2010-01-11.
64383
64384 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64385
64386 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64387 detection.
64388
64389 2010-09-20 Andreas Schwab <schwab@redhat.com>
64390
64391 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64392 fanotify_mark.
64393 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64394
64395 2010-09-14 Andreas Schwab <schwab@redhat.com>
64396
64397 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64398 variables after CHECK_SP call.
64399 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64400
64401 2010-09-13 Andreas Schwab <schwab@redhat.com>
64402 Ulrich Drepper <drepper@redhat.com>
64403
64404 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64405 re-relocationg ld.so.
64406 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64407 _dl_init_paths call.
64408 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64409 here anymore.
64410
64411 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64412
64413 * resolv/res_init.c (__res_vinit): Count the default server we added.
64414
64415 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64416 Ulrich Drepper <drepper@redhat.com>
64417
64418 [BZ #11968]
64419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64420 (____longjmp_chk): Use %ebx for saving value across system call.
64421 Add unwind info.
64422
64423 2010-09-06 Andreas Schwab <schwab@redhat.com>
64424
64425 * manual/Makefile: Don't mix pattern rules with normal rules.
64426
64427 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64428
64429 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64430 operation.
64431 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64432 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64433 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64434 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64435 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64436 Likewise.
64437
64438 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64439
64440 [BZ #11979]
64441 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64442 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64443
64444 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64445
64446 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64447 * sysdeps/x86_64/addmul_1.S: Likewise.
64448 * sysdeps/x86_64/lshift.S: Likewise.
64449 * sysdeps/x86_64/mul_1.S: Likewise.
64450 * sysdeps/x86_64/rshift.S: Likewise.
64451 * sysdeps/x86_64/sub_n.S: Likewise.
64452 * sysdeps/x86_64/submul_1.S: Likewise.
64453
64454 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64455
64456 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64457 Define __sched_param instead of SCHED_* and sched_param when
64458 <bits/sched.h> is included with __need_schedparam defined.
64459 * bits/sched.h [__need_schedparam]
64460 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64461 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64462 (__defined_schedparam): Define to 1.
64463 (__sched_param): New structure, identical to sched_param.
64464 (__need_schedparam): Undefine.
64465
64466 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64467
64468 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64469 (epoll_create1): Declare.
64470
64471 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64472
64473 2010-08-31 Andreas Schwab <schwab@redhat.com>
64474
64475 [BZ #7066]
64476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64477 shifting retval into place.
64478
64479 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64480
64481 * nis/rpcsvc/nis.h: Update copyright notice.
64482 * nis/rpcsvc/nis.x: Likewise.
64483 * nis/rpcsvc/nis_callback.h: Likewise.
64484 * nis/rpcsvc/nis_callback.x: Likewise.
64485 * nis/rpcsvc/nis_object.x: Likewise.
64486 * nis/rpcsvc/nis_tags.h: Likewise.
64487 * nis/rpcsvc/yp.h: Likewise.
64488 * nis/rpcsvc/yp.x: Likewise.
64489 * nis/rpcsvc/ypupd.h: Likewise.
64490 * nis/yp_xdr.c: Likewise.
64491 * nis/ypupdate_xdr.c: Likewise.
64492
64493 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64494 mainly the body of pmap_getport. Add parameters to specify timeouts.
64495 (pmap_getport): Use __libc_rpc_getport.
64496 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64497 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64498 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64499
64500 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64501
64502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64503 fanotify_mark.
64504
64505 2010-08-27 Roland McGrath <roland@redhat.com>
64506
64507 * sysdeps/i386/i686/multiarch/Makefile
64508 (CFLAGS-varshift.c): New variable.
64509
64510 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64511
64512 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64513 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64514
64515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64516
64517 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64518
64519 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64520
64521 * sysdeps/x86_64/strlen.S: Unroll the loop.
64522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64523 strlen-sse2 strlen-sse2-bsf.
64524 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64525 __strlen_no_bsf if bit_Slow_BSF is set.
64526 (__strlen_sse42): Removed.
64527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64528 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64529
64530 2010-08-25 Roland McGrath <roland@redhat.com>
64531
64532 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64533 * sysdeps/x86_64/multiarch/varshift.c: New file.
64534 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64535 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64536 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64537 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64538
64539 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64540
64541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64542 strlen-sse2 strlen-sse2-bsf.
64543 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64544 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64545 (__strlen_sse2): Removed.
64546 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64547 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64549 bit_Slow_BSF for Atom.
64550 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64551 (index_Slow_BSF): Define.
64552 (HAS_SLOW_BSF): Define.
64553
64554 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64555
64556 [BZ #10851]
64557 * resolv/res_init.c (__res_vinit): When no server address at all
64558 is given default to loopback.
64559
64560 2010-08-24 Roland McGrath <roland@redhat.com>
64561
64562 * configure.in: Remove config-name.h generation.
64563 * configure: Regenerated.
64564 * config-name.in: File removed.
64565 * scripts/config-uname.sh: New file.
64566 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64567 ($(objdir)config-name.h): New target.
64568
64569 * sunrpc/rpc_parse.h: Avoid nested comment.
64570
64571 2010-08-24 Richard Henderson <rth@redhat.com>
64572 Ulrich Drepper <drepper@redhat.com>
64573 H.J. Lu <hongjiu.lu@intel.com>
64574
64575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64577 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64578 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64579 _mm_alignr_epi8 with _mm_loadu_si128.
64580 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64581 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64582 (__m128i_shift_right): Removed.
64583 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64584 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64585 * sysdeps/x86_64/multiarch/varshift.h: New file.
64586 * sysdeps/x86_64/multiarch/varshift.S: New file.
64587
64588 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64589
64590 * configure.in: Move assembler checks to before sysdep dir checking.
64591
64592 2010-08-20 Petr Baudis <pasky@suse.cz>
64593
64594 * LICENSES: Sync the sunrpc license.
64595
64596 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64597
64598 * sunrpc/auth_des.c: Update copyright notice once again.
64599 * sunrpc/auth_none.c: Likewise.
64600 * sunrpc/auth_unix.c: Likewise.
64601 * sunrpc/authdes_prot.c: Likewise.
64602 * sunrpc/authuxprot.c: Likewise.
64603 * sunrpc/bindrsvprt.c: Likewise.
64604 * sunrpc/clnt_gen.c: Likewise.
64605 * sunrpc/clnt_perr.c: Likewise.
64606 * sunrpc/clnt_raw.c: Likewise.
64607 * sunrpc/clnt_simp.c: Likewise.
64608 * sunrpc/clnt_tcp.c: Likewise.
64609 * sunrpc/clnt_udp.c: Likewise.
64610 * sunrpc/clnt_unix.c: Likewise.
64611 * sunrpc/des_crypt.c: Likewise.
64612 * sunrpc/des_soft.c: Likewise.
64613 * sunrpc/get_myaddr.c: Likewise.
64614 * sunrpc/getrpcport.c: Likewise.
64615 * sunrpc/key_call.c: Likewise.
64616 * sunrpc/key_prot.c: Likewise.
64617 * sunrpc/openchild.c: Likewise.
64618 * sunrpc/pm_getmaps.c: Likewise.
64619 * sunrpc/pm_getport.c: Likewise.
64620 * sunrpc/pmap_clnt.c: Likewise.
64621 * sunrpc/pmap_prot.c: Likewise.
64622 * sunrpc/pmap_prot2.c: Likewise.
64623 * sunrpc/pmap_rmt.c: Likewise.
64624 * sunrpc/rpc/auth.h: Likewise.
64625 * sunrpc/rpc/auth_unix.h: Likewise.
64626 * sunrpc/rpc/clnt.h: Likewise.
64627 * sunrpc/rpc/des_crypt.h: Likewise.
64628 * sunrpc/rpc/key_prot.h: Likewise.
64629 * sunrpc/rpc/netdb.h: Likewise.
64630 * sunrpc/rpc/pmap_clnt.h: Likewise.
64631 * sunrpc/rpc/pmap_prot.h: Likewise.
64632 * sunrpc/rpc/pmap_rmt.h: Likewise.
64633 * sunrpc/rpc/rpc.h: Likewise.
64634 * sunrpc/rpc/rpc_des.h: Likewise.
64635 * sunrpc/rpc/rpc_msg.h: Likewise.
64636 * sunrpc/rpc/svc.h: Likewise.
64637 * sunrpc/rpc/svc_auth.h: Likewise.
64638 * sunrpc/rpc/types.h: Likewise.
64639 * sunrpc/rpc/xdr.h: Likewise.
64640 * sunrpc/rpc_clntout.c: Likewise.
64641 * sunrpc/rpc_cmsg.c: Likewise.
64642 * sunrpc/rpc_common.c: Likewise.
64643 * sunrpc/rpc_cout.c: Likewise.
64644 * sunrpc/rpc_dtable.c: Likewise.
64645 * sunrpc/rpc_hout.c: Likewise.
64646 * sunrpc/rpc_main.c: Likewise.
64647 * sunrpc/rpc_parse.c: Likewise.
64648 * sunrpc/rpc_parse.h: Likewise.
64649 * sunrpc/rpc_prot.c: Likewise.
64650 * sunrpc/rpc_sample.c: Likewise.
64651 * sunrpc/rpc_scan.c: Likewise.
64652 * sunrpc/rpc_scan.h: Likewise.
64653 * sunrpc/rpc_svcout.c: Likewise.
64654 * sunrpc/rpc_tblout.c: Likewise.
64655 * sunrpc/rpc_util.c: Likewise.
64656 * sunrpc/rpc_util.h: Likewise.
64657 * sunrpc/rpcinfo.c: Likewise.
64658 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64659 * sunrpc/rpcsvc/key_prot.x: Likewise.
64660 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64661 * sunrpc/rpcsvc/mount.x: Likewise.
64662 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64663 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64664 * sunrpc/rpcsvc/rex.x: Likewise.
64665 * sunrpc/rpcsvc/rstat.x: Likewise.
64666 * sunrpc/rpcsvc/rusers.x: Likewise.
64667 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64668 * sunrpc/rpcsvc/spray.x: Likewise.
64669 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64670 * sunrpc/rtime.c: Likewise.
64671 * sunrpc/svc.c: Likewise.
64672 * sunrpc/svc_auth.c: Likewise.
64673 * sunrpc/svc_authux.c: Likewise.
64674 * sunrpc/svc_raw.c: Likewise.
64675 * sunrpc/svc_run.c: Likewise.
64676 * sunrpc/svc_simple.c: Likewise.
64677 * sunrpc/svc_tcp.c: Likewise.
64678 * sunrpc/svc_udp.c: Likewise.
64679 * sunrpc/svc_unix.c: Likewise.
64680 * sunrpc/svcauth_des.c: Likewise.
64681 * sunrpc/xcrypt.c: Likewise.
64682 * sunrpc/xdr.c: Likewise.
64683 * sunrpc/xdr_array.c: Likewise.
64684 * sunrpc/xdr_float.c: Likewise.
64685 * sunrpc/xdr_mem.c: Likewise.
64686 * sunrpc/xdr_rec.c: Likewise.
64687 * sunrpc/xdr_ref.c: Likewise.
64688 * sunrpc/xdr_sizeof.c: Likewise.
64689 * sunrpc/xdr_stdio.c: Likewise.
64690
64691 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64692 handling.
64693
64694 2010-08-19 Andreas Schwab <schwab@redhat.com>
64695
64696 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64697
64698 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64699
64700 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64701 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64703 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64704 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64705 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64706 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64707 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64708 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64709 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64710 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64711 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64712 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64713 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64714
64715 2010-07-26 Anton Blanchard <anton@samba.org>
64716
64717 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64718 * malloc/arena.c (heap_trim): Likewise.
64719
64720 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64721
64722 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64723 here. Not...
64724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64725 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64726
64727 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64728
64729 * sysdeps/i386/elf/Makefile: New file.
64730
64731 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64732
64733 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64734 from fanotify_init.
64735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64737
64738 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64739
64740 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64741 of strncasecmp_l.
64742 * sysdeps/multiarch/strcmp.S: Likewise.
64743
64744 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64745
64746 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64747 strncase_l-nonascii.
64748 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64749 Add strncase_l-ssse3.
64750 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64751 * sysdeps/x86_64/strcmp.S: Likewise.
64752 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64753 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64754 * sysdeps/x86_64/strncase.S: New file.
64755 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64756 * sysdeps/x86_64/strncase_l.S: New file.
64757 * string/Makefile (strop-tests): Add strncasecmp.
64758 * string/test-strncasecmp.c: New file.
64759
64760 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64761 warning.
64762
64763 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64764 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64765
64766 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64767
64768 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64769
64770 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64771
64772 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64773 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64774 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64775
64776 2010-05-01 Alan Modra <amodra@gmail.com>
64777
64778 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64779 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64780 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64781 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64782 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64783 tidying. Don't tail-call __sigjmp_save for static lib.
64784 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64785 save location.
64786 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64787 (CALL_MCOUNT): Add eh info, and nop after bl.
64788 (TAIL_CALL_SYSCALL_ERROR): New macro.
64789 (PSEUDO_RET): Use it.
64790 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64791 Correct save location of integer regs and cr.
64792 (_dl_profile_resolve): Correct cr save location. Delete nops
64793 after bl when SHARED. Reduce cfi size a little by better
64794 placement of cfi directives.
64795 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64796 make a stack frame. Instead use parm save area as a temp.
64797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64798 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64800 Don't make a stack frame for parent, use parm save area.
64801 Increase child stack frame to 112 bytes. Don't save unused reg,
64802 and adjust reg usage. Set up cfi on error recovery and
64803 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64805 (__makecontext): Add dummy nop after jump to exit.
64806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64807 Use correct parm save area and cr save, reduce stack frame.
64808 Correct cfi for possible PSEUDO_RET frame setup.
64809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64810 Branch to local label emitted by PSEUDO_RET rather than
64811 __syscall_error.
64812
64813 2010-08-12 Andreas Schwab <schwab@redhat.com>
64814
64815 [BZ #11904]
64816 * locale/programs/locale.c (print_assignment): New function.
64817 (show_locale_vars): Use it.
64818
64819 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64820
64821 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64822 field.
64823 (struct statfs64): Likewise.
64824 (_STATFS_F_FLAGS): Define.
64825 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64826 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64827 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64828 (ST_VALID): Define locally.
64829 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64830 __statvfs_getflags, use the provided value.
64831 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64832 __ASSUME_STATFS_F_FLAGS.
64833
64834 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64835
64836 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64837 Add sys/fanotify.h.
64838 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64839 fanotify_mask for GLIBC_2.13.
64840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64841 fanotify_init and fanotify_mark.
64842 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64843 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64844
64845 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64846 Add prlimit.
64847 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64848 prlimit64 for GLIBC_2.13.
64849 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64850 prlimit64.
64851 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64852 syscall.
64853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64854 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64855 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64856 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64858 add prlimit alias.
64859 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64860
64861 [BZ #11903]
64862 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64863 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64864
64865 * nss/Makefile: Add rules to build and run tst-nss-test1.
64866 * shlib-versions: Add entry for libnss_test1.
64867 * nss/nss_test1.c: New file.
64868 * nss/tst-nss-test1.c: New file.
64869
64870 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64871 (__nss_configure_lookup): Set appropriate entry in
64872 __nss_configure_lookup to true.
64873 * nss/nsswitch.h: Define enum with indeces of databases in
64874 databases and __nss_database_custom arrays. Declare
64875 __nss_database_custom.
64876 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64877 to avoid using nscd when custom rules are installed.
64878 * nss/getXXbyYY_r.c: Likewise.
64879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64880
64881 * nss/nss_files/files-parse.c: Whitespace fixes.
64882
64883 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64884
64885 [BZ #11883]
64886 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64887 * posix/fnmatch_loop.c: Likewise.
64888
64889 2010-07-17 Andi Kleen <ak@linux.intel.com>
64890
64891 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64892 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64893 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64894 * Versions.def [GLIBC_2.13]: Add.
64895
64896 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64897
64898 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64899 Also fail if tpwd after pwuid call is NULL.
64900
64901 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
64902
64903 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64904 when converting to ms.
64905
64906 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
64907
64908 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64909 EOPNOTSUPP errors with ENOTTY.
64910 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64911 EOPNOTSUPP errors with ENOTTY.
64912
64913 2010-07-31 Ulrich Drepper <drepper@redhat.com>
64914
64915 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64916 Add strcasecmp_l-ssse3.
64917 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64918 strcasecmp.
64919 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64920 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64921 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64922
64923 2010-07-30 Ulrich Drepper <drepper@redhat.com>
64924
64925 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64926
64927 * string/Makefile (strop-tests): Add strcasecmp.
64928 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64929 strcasecmp_l-nonascii.
64930 (gen-as-const-headers): Add locale-defines.sym.
64931 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64932 * sysdeps/x86_64/strcasecmp.S: New file.
64933 * sysdeps/x86_64/strcasecmp_l.S: New file.
64934 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64935 * sysdeps/x86_64/locale-defines.sym: New file.
64936 * string/test-strcasecmp.c: New file.
64937
64938 * string/test-strcasestr.c: Test both ends of the range of characters.
64939 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64940
64941 2010-07-29 Roland McGrath <roland@redhat.com>
64942
64943 [BZ #11856]
64944 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64945
64946 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64947
64948 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64949 for ld.so.
64950
64951 2010-07-27 Andreas Schwab <schwab@redhat.com>
64952
64953 * manual/memory.texi (Malloc Tunable Parameters): Document
64954 M_PERTURB.
64955
64956 2010-07-26 Roland McGrath <roland@redhat.com>
64957
64958 [BZ #11840]
64959 * configure.in (-fgnu89-inline check): Set and substitute
64960 gnu89_inline, not libc_cv_gnu89_inline.
64961 * configure: Regenerated.
64962 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64963
64964 2010-07-26 Ulrich Drepper <drepper@redhat.com>
64965
64966 * string/test-strnlen.c: New file.
64967 * string/Makefile (strop-tests): Add strnlen.
64968 * string/tester.c (test_strnlen): Add a few more test cases.
64969 * string/tst-strlen.c: Better error reporting.
64970
64971 * sysdeps/x86_64/strnlen.S: New file.
64972
64973 2010-07-24 Ulrich Drepper <drepper@redhat.com>
64974
64975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64976 lower-latency instructions.
64977
64978 2010-07-23 Ulrich Drepper <drepper@redhat.com>
64979
64980 * string/test-strcasestr.c: New file.
64981 * string/test-strstr.c: New file.
64982 * string/Makefile (strop-tests): Add strstr and strcasestr.
64983 * string/str-two-way.h: Don't undefine MAX.
64984 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64985
64986 2010-07-21 Andreas Schwab <schwab@redhat.com>
64987
64988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64989 strcasestr-nonascii.
64990 (CFLAGS-strcasestr-nonascii.c): Define.
64991 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64992 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64993 Remove unused attribute.
64994
64995 2010-07-20 Roland McGrath <roland@redhat.com>
64996
64997 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64998 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
64999 ld.so.cache was broken. With it, there is no way to disable dsocaps
65000 like LD_HWCAP_MASK can disable hwcaps.
65001
65002 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65003
65004 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65005
65006 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65007
65008 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65009 call in strcasestr.
65010 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65011 __strcasestr_sse42_nonascii.
65012 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65013 strcasestr-nonascii.c.
65014 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65015
65016 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65017
65018 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65019 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65020 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65021 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65022
65023 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65024
65025 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65026 fcntl.
65027
65028 2010-07-06 Andreas Schwab <schwab@redhat.com>
65029
65030 [BZ #11577]
65031 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65032 dl_signal_cerror.
65033
65034 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65035
65036 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65037 _PC_PIPE_BUF using F_GETPIPE_SZ.
65038
65039 2010-07-05 Roland McGrath <roland@redhat.com>
65040
65041 * manual/arith.texi (Rounding Functions): Fix rint description
65042 implicit in round description.
65043
65044 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65045
65046 * elf/Makefile: Fix linking for a few tests to make recent linker
65047 happy.
65048
65049 2010-06-30 Andreas Schwab <schwab@redhat.com>
65050
65051 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65052 $(common-objpfx)libc_nonshared.a.
65053
65054 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65055
65056 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65057 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65058 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65059 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65060 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65061 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65062 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65063 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65078 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65079 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65080 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65081 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65082 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65083 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65084 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65085 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65086 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65087 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65088 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65089 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65104
65105 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65106
65107 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65108 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65109 * string/memmove.c (memmove): Renamed to ...
65110 (MEMMOVE): ...this. Default to memmove.
65111 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65112 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65113 (END_CHK): Define.
65114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65115 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65116 mempcpy-ssse3-back memmove-ssse3-back.
65117 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65118 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65119 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65120 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65121 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65122 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65123 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65124 * sysdeps/x86_64/multiarch/memmove.c: New file.
65125 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65126 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65127 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65128 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65129 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65131 Define.
65132 (index_Fast_Copy_Backward): Define.
65133 (HAS_ARCH_FEATURE): Define.
65134 (HAS_FAST_REP_STRING): Define.
65135 (HAS_FAST_COPY_BACKWARD): Define.
65136
65137 2010-06-21 Andreas Schwab <schwab@redhat.com>
65138
65139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65140 Restore proper fallback handling.
65141
65142 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65143
65144 [BZ #11701]
65145 * posix/group_member.c (__group_member): Correct checking loop.
65146
65147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65148 OOM in getpwuid_r correctly. Return error number when the caller
65149 should return, otherwise -1.
65150 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65151 call returning > 0 value.
65152 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65153
65154 2010-06-07 Andreas Schwab <schwab@redhat.com>
65155
65156 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65157 libc_nonshared.a from targets in modules-names.
65158
65159 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65160
65161 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65162 requires it.
65163
65164 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65165
65166 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65167 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65169 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65170
65171 2010-06-02 Andreas Schwab <schwab@redhat.com>
65172
65173 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65174
65175 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65176
65177 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65178 and F_GETPIPE_SZ.
65179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65184 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65185
65186 2010-06-14 Roland McGrath <roland@redhat.com>
65187
65188 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65189
65190 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65191
65192 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65193 __REDIRECT followed by __THROW.
65194 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65195 * posix/getopt.h (getopt): Likewise.
65196
65197 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65198
65199 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65200 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65201 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65202 in AT_FLAGS.
65203 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65204 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65205
65206 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65207
65208 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65209
65210 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65211
65212 [BZ #11640]
65213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65214 Properly check family and model.
65215
65216 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65217
65218 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65219
65220 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65221
65222 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65223
65224 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65225
65226 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65227 symbol reference.
65228
65229 2010-05-19 Andreas Schwab <schwab@redhat.com>
65230
65231 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65232 symbol reference.
65233
65234 2010-05-21 Andreas Schwab <schwab@redhat.com>
65235
65236 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65237 and internal_recvmmsg.
65238 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65239 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65240 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65241 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65242
65243 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65244 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65245 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65246
65247 2010-05-20 Andreas Schwab <schwab@redhat.com>
65248
65249 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65250
65251 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65252
65253 POWER7 optimizations.
65254 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65255 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65256
65257 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65258
65259 * version.h: Update for 2.13 development version.
65260
65261 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65262
65263 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65264 exceptions. Return 0.
65265
65266 2010-05-07 Roland McGrath <roland@redhat.com>
65267
65268 * elf/ldconfig.c (main): Add a const.
65269
65270 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65271
65272 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65273 (args_options): Add no-idn option.
65274 (ahosts_keys_int): Add idn_flags to ai_flags.
65275 (parse_option): Handle 'i' option to clear idn_flags.
65276
65277 * malloc/malloc.c (_int_free): Possible race in the most recently
65278 added check. Only act on the data if no current modification
65279 happened.
65280
65281 See ChangeLog.17 for earlier changes.