]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Use ALIGN_* macros in _dl_map_object_from_fd.
[thirdparty/glibc.git] / ChangeLog
1 2015-09-18 Carlos O'Donell <carlos@redhat.com>
2
3 * elf/dl-load.c: Include libc-internal.h.
4 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5
6 2015-09-18 Vincent Bernat <vincent@bernat.im>
7
8 [BZ #17887]
9 * time/strptime_l.c (__strptime_internal): Make %z accept
10 [+-]HH:MM time zones.
11
12 2015-09-18 Vincent Bernat <vincent@bernat.im>
13
14 [BZ #17886]
15 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16 valid time zone.
17
18 2015-09-17 Mike Frysinger <vapier@gentoo.org>
19
20 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
21 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23 (__ASSUME_FDATASYNC): Delete.
24
25 2015-09-17 Joseph Myers <joseph@codesourcery.com>
26
27 * conform/linknamespace.pl: Require weak undefined symbols to be
28 in the standard namespace.
29 (%strong_syms): Rename to %seen_syms.
30 (%strong_seen): Rename to %seen_where.
31
32 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
33
34 [BZ #18970]
35 * misc/error.c (error): Replace pthread_setcancelstate with
36 __pthread_setcancelstate.
37 (error_at_line): Likewise.
38 * posix/wordexp.c (parse_comm): Likewise.
39 * stdlib/fmtmsg.c (fmtmsg): Likewise.
40 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
41 (__pthread_setcancelstate): This.
42 (pthread_setcancelstate): Add an alias.
43 * nptl/nptl-init.c (pthread_functions): Replace
44 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
45 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
46 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
47 hidden_proto.
48 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
49 it with hidden_def.
50 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
51 (pthread_setcancelstate): Renamed to ...
52 (__pthread_setcancelstate): This.
53 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
54 __libc_ptf_call with __pthread_setcancelstate.
55
56 2015-09-17 Joseph Myers <joseph@codesourcery.com>
57 Andreas Schwab <schwab@suse.de>
58
59 [BZ #17118]
60 * math/s_ctan.c (__ctan): Determine sign of zero real part of
61 result when imaginary part of argument is infinite using sine and
62 cosine.
63 * math/s_ctanf.c (__ctanf): Likewise.
64 * math/s_ctanl.c (__ctanl): Likewise.
65 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
66 of result when real part of argument is infinite using sine and
67 cosine.
68 * math/s_ctanhf.c (__ctanhf): Likewise.
69 * math/s_ctanhl.c (__ctanhl): Likewise.
70 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
71 (ctanh_test_data): Add more tests of ctanh.
72
73 2015-09-17 Joseph Myers <joseph@codesourcery.com>
74
75 [BZ #15384]
76 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
77 bit-mask as in subtraction.
78 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
79 Likewise.
80 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
81 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
82 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
83
84 [BZ #18951]
85 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
86 underflow exception for small results.
87 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
88 Likewise.
89 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
90 Likewise.
91 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
92 Likewise.
93 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
94 Likewise.
95 * math/auto-libm-test-in: Add more tests of tgamma.
96 * math/auto-libm-test-out: Regenerated.
97
98 2015-09-17 Andreas Schwab <schwab@suse.de>
99
100 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
101
102 2015-09-16 Joseph Myers <joseph@codesourcery.com>
103
104 [BZ #18977]
105 * math/bits/mathcalls.h
106 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
107 not declare.
108 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
109 Likewise.
110 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
111 Likewise.
112 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
113 Likewise.
114 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
115 Likewise.
116 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
117 Likewise.
118 * conform/data/math.h-data
119 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
120 function.
121 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
122 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
123 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
124 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
125 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
126 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
127 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
128 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
129 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
130 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
131 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
132
133 [BZ #6803]
134 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
135 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
136 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
137 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
138 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
139 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
140 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
141 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
142 [NO_LONG_DOUBLE] (scalbnl): Likewise.
143 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
144 Likewise.
145 [NO_LONG_DOUBLE] (scalbnl): Likewise.
146 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
147 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
148 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
149 long_double_symbol calls.
150 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
151 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
152 strong alias of __ldexpl.
153 (scalbnl): Define using long_double_symbol.
154 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
155 Remove alias.
156 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
157 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
158 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
159 (scalbln_test_data): Add more errno expectations.
160
161 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
162
163 Cache the host port like we cache the task port. This way we do not
164 need to call the kernel just to get the port. Furthermore, we no
165 longer increase the reference count on every invocation of
166 `mach_host_self'.
167
168 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
169 Protect declarations against the macro expansion.
170 * mach/mach_init.c (__mach_host_self_): New variable.
171 (mach_init): Initialize `__mach_host_self_'.
172 * mach/mach_init.h (__mach_host_self_): New declaration.
173 (__mach_host_self, mach_host_self): New macros.
174 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
175 Release reference.
176
177 2015-09-16 Joseph Myers <joseph@codesourcery.com>
178
179 [BZ #4404]
180 * po/de.po: Update from Translation Project.
181
182 [BZ #16415]
183 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
184 (__expm1l): Remove code to handle positive infinity and overflow.
185 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
186 variable.
187 (__expm1l): Remove code to handle positive infinity and overflow.
188
189 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
190 Paul Pluzhnikov <ppluzhnikov@google.com>
191
192 [BZ #18872]
193 * stdio-common/Makefile (tst-printf-bz18872): New test.
194 (tst-printf-bz18872-mem.out): Likewise.
195 * stdio-common/tst-printf-bz18872.sh: Generate new test.
196 * stdio-common/vfprintf.c: Fix memory leaks.
197
198 2015-09-16 Andreas Schwab <schwab@suse.de>
199
200 [BZ #17244]
201 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
202 Remove extra va_start/va_end calls.
203
204 [BZ #17243]
205 * posix/execl.c (execl): Add missing va_end.
206 * posix/execle.c (execle): Likewise.
207 * posix/execlp.c (execlp): Likewise.
208
209 2015-09-15 Roland McGrath <roland@hack.frob.com>
210
211 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
212 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
213
214 2015-09-15 Joseph Myers <joseph@codesourcery.com>
215
216 [BZ #18967]
217 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
218 undefine around includes of <bits/mathcalls.h>.
219 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
220 not declare function.
221 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
222 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
223 (scalb): Likewise.
224 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
225 not define macro.
226 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
227 variable.
228 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
229 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
230 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
231
232 [BZ #18857]
233 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
234 return non-finite argument without doing ordered comparisons on
235 it.
236
237 [BZ #16296]
238 * math/fenv.h (fegetround): Use __attribute_pure__.
239 * include/fenv.h (__fegetround): Likewise.
240
241 [BZ #18595]
242 * math/s_ctan.c (__ctan): Force underflow exception for results
243 whose real or imaginary part has small absolute value.
244 * math/s_ctanf.c (__ctanf): Likewise.
245 * math/s_ctanh.c (__ctanh): Likewise.
246 * math/s_ctanhf.c (__ctanhf): Likewise.
247 * math/s_ctanhl.c (__ctanhl): Likewise.
248 * math/s_ctanl.c (__ctanl): Likewise.
249 * math/auto-libm-test-in: Do not allow missing underflow for ctan
250 and ctanh. Add more tests of ctan and ctanh.
251
252 [BZ #15918]
253 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
254 handling of cases where one argument is an infinity.
255
256 [BZ #18875]
257 [BZ #18966]
258 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
259 (MO): New macro.
260 (__ieee754_exp10): For small results, force underflow exception
261 and remove excess range and precision from return value.
262 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
263 (MO): New macro.
264 (__ieee754_exp10f): For small results, force underflow exception
265 and remove excess range and precision from return value.
266 * math/auto-libm-test-in: Add more tests of exp10.
267 * math/auto-libm-test-out: Regenerated.
268
269 2015-09-14 Joseph Myers <joseph@codesourcery.com>
270
271 [BZ #18875]
272 [BZ #18961]
273 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
274 (MO): New macro.
275 (__ieee754_exp): For small results, force underflow exception and
276 remove excess range and precision from return value.
277 (__exp_finite): Likewise.
278 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
279 (MO): New macro.
280 (__ieee754_expf): For small results, force underflow exception and
281 remove excess range and precision from return value.
282 (__expf_finite): Likewise.
283 * math/auto-libm-test-in: Add more tests of exp.
284 * math/auto-libm-test-out: Regenerated.
285
286 [BZ #16521]
287 [BZ #18875]
288 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
289 small results.
290 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
291 (MO): New macro.
292 (__ieee754_exp2): For small results, force underflow exception and
293 remove excess range and precision from return value.
294 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
295 (MO): New macro.
296 (__ieee754_exp2f): For small results, force underflow exception
297 and remove excess range and precision from return value.
298 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
299 (MO): New macro.
300 (__ieee754_exp2l): Force underflow exception for small results.
301 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
302 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
303 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
304 (MO): New macro.
305 (__ieee754_exp2l): Force underflow exception for small results.
306 * math/auto-libm-test-in: Add more tests or exp2.
307 * math/auto-libm-test-out: Regenerated.
308
309 2015-09-14 Carlos O'Donell <carlos@redhat.com>
310
311 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
312
313 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
314 /dev/null.
315
316 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
317
318 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
319 io fs process)): Drop spurious backslash.
320
321 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
322
323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
324 Use sysinfo system call instead of parsing /proc/meminfo.
325 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
326 Likewise.
327
328 2015-09-11 Mike Frysinger <vapier@gentoo.org>
329
330 [BZ #16985]
331 * programs/localedef.c (main): Display argv[remaining] when
332 output_path is NULL.
333
334 2015-09-11 Joseph Myers <joseph@codesourcery.com>
335
336 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
337 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
338 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
339 tanh.
340 * math/auto-libm-test-out: Regenerated.
341 * sysdeps/i386/fpu/libm-test-ulps: Update.
342 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
343 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
345
346 2015-09-11 Roland McGrath <roland@hack.frob.com>
347
348 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
349 Use 'override' keyword to freeze the value here, preventing
350 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
351
352 2015-09-11 Joseph Myers <joseph@codesourcery.com>
353
354 [BZ #14912]
355 * sysdeps/aarch64/bits/atomic.h: Move to ...
356 * sysdeps/aarch64/atomic-machine.h: ...here.
357 (_AARCH64_BITS_ATOMIC_H): Rename macro to
358 _AARCH64_ATOMIC_MACHINE_H.
359 * sysdeps/alpha/bits/atomic.h: Move to ...
360 * sysdeps/alpha/atomic-machine.h: ...here.
361 * sysdeps/arm/bits/atomic.h: Move to ...
362 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
363 * bits/atomic.h: Move to ...
364 * sysdeps/generic/atomic-machine.h: ...here.
365 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
366 * sysdeps/i386/bits/atomic.h: Move to ...
367 * sysdeps/i386/atomic-machine.h: ...here.
368 * sysdeps/ia64/bits/atomic.h: Move to ...
369 * sysdeps/ia64/atomic-machine.h: ...here.
370 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
371 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
372 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
373 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
374 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
375 * sysdeps/microblaze/bits/atomic.h: Move to ...
376 * sysdeps/microblaze/atomic-machine.h: ...here.
377 * sysdeps/mips/bits/atomic.h: Move to ...
378 * sysdeps/mips/atomic-machine.h: ...here.
379 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
380 * sysdeps/powerpc/bits/atomic.h: Move to ...
381 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
382 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
383 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
384 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
385 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
386 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
387 <atomic-machine.h> instead of <bits/atomic.h>.
388 * sysdeps/s390/bits/atomic.h: Move to ...
389 * sysdeps/s390/atomic-machine.h: ...here.
390 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
391 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
392 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
393 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
394 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
395 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
396 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
397 * sysdeps/tile/bits/atomic.h: Move to ...
398 * sysdeps/tile/atomic-machine.h: ...here.
399 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
400 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
401 <sysdeps/tile/atomic-machine.h> instead of
402 <sysdeps/tile/bits/atomic.h>.
403 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
404 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
405 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
406 <sysdeps/tile/atomic-machine.h> instead of
407 <sysdeps/tile/bits/atomic.h>.
408 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
409 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
410 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
411 <sysdeps/arm/atomic-machine.h> instead of
412 <sysdeps/arm/bits/atomic.h>.
413 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
414 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
415 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
416 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
417 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
418 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
419 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
420 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
421 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
422 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
423 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
424 * sysdeps/x86_64/bits/atomic.h: Move to ...
425 * sysdeps/x86_64/atomic-machine.h: ...here.
426 * include/atomic.h: Include <atomic-machine.h> instead of
427 <bits/atomic.h>.
428
429 * sysdeps/mips/mips32/libm-test-ulps: Update.
430 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
431
432 [BZ #18952]
433 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
434 not convert non-integer negative arguments to int to determine the
435 value of signgam.
436 * math/auto-libm-test-in: Add more tests of lgamma.
437 * math/auto-libm-test-out: Regenerated.
438
439 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
440 cosh, csqrt, erfc, expm1 and lgamma.
441 * math/auto-libm-test-out: Regenerated.
442 * sysdeps/i386/fpu/libm-test-ulps: Update.
443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
444
445 2015-09-10 Joseph Myers <joseph@codesourcery.com>
446
447 [BZ #2542]
448 [BZ #2543]
449 [BZ #2558]
450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
451 __lgamma_neg for arguments from -28.0 to -2.0.
452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
453 __lgamma_negf for arguments from -15.0 to -2.0.
454 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
455 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
456 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
457 Call __lgamma_negl for arguments from -33.0 to -2.0.
458 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
459 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
460 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
461 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
462 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
463 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
464 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
465 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
466 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
467 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
468 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
469 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
470 (__lgamma_neg): Likewise.
471 (__lgamma_negl): Likewise.
472 (__lgamma_product): Likewise.
473 (__lgamma_productl): Likewise.
474 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
475 * math/auto-libm-test-in: Add more tests of lgamma.
476 * math/auto-libm-test-out: Regenerated.
477 * sysdeps/i386/fpu/libm-test-ulps: Update.
478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
479
480 2015-09-09 Justin Maggard <jmaggard@netgear.com>
481
482 [BZ #18675]
483 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
484
485 2015-09-08 Joseph Myers <joseph@codesourcery.com>
486
487 [BZ #14912]
488 * bits/libc-lock.h: Move to ...
489 * sysdeps/generic/libc-lock.h: ...here.
490 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
491 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
492 * sysdeps/mach/hurd/libc-lock.h: ...here.
493 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
494 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
495 * sysdeps/mach/bits/libc-lock.h: Move to ...
496 * sysdeps/mach/libc-lock.h: ...here.
497 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
498 * sysdeps/nptl/bits/libc-lock.h: Move to ...
499 * sysdeps/nptl/libc-lock.h: ...here.
500 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
501 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
502 * sysdeps/nptl/libc-lockP.h: ...here.
503 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
504 * crypt/crypt_util.c: Include <libc-lock.h> instead of
505 <bits/libc-lock.h>.
506 * dirent/scandir-tail.c: Likewise.
507 * dlfcn/dlerror.c: Likewise.
508 * elf/dl-close.c: Likewise.
509 * elf/dl-iteratephdr.c: Likewise.
510 * elf/dl-lookup.c: Likewise.
511 * elf/dl-open.c: Likewise.
512 * elf/dl-support.c: Likewise.
513 * elf/dl-writev.h: Likewise.
514 * elf/rtld.c: Likewise.
515 * grp/fgetgrent.c: Likewise.
516 * gshadow/fgetsgent.c: Likewise.
517 * gshadow/sgetsgent.c: Likewise.
518 * iconv/gconv_conf.c: Likewise.
519 * iconv/gconv_db.c: Likewise.
520 * iconv/gconv_dl.c: Likewise.
521 * iconv/gconv_int.h: Likewise.
522 * iconv/gconv_trans.c: Likewise.
523 * include/link.h: Likewise.
524 * inet/getnameinfo.c: Likewise.
525 * inet/getnetgrent.c: Likewise.
526 * inet/getnetgrent_r.c: Likewise.
527 * intl/bindtextdom.c: Likewise.
528 * intl/dcigettext.c: Likewise.
529 * intl/finddomain.c: Likewise.
530 * intl/gettextP.h: Likewise.
531 * intl/loadmsgcat.c: Likewise.
532 * intl/localealias.c: Likewise.
533 * intl/textdomain.c: Likewise.
534 * libidn/idn-stub.c: Likewise.
535 * libio/libioP.h: Likewise.
536 * locale/duplocale.c: Likewise.
537 * locale/freelocale.c: Likewise.
538 * locale/newlocale.c: Likewise.
539 * locale/setlocale.c: Likewise.
540 * login/getutent_r.c: Likewise.
541 * login/getutid_r.c: Likewise.
542 * login/getutline_r.c: Likewise.
543 * login/utmp-private.h: Likewise.
544 * login/utmpname.c: Likewise.
545 * malloc/mtrace.c: Likewise.
546 * misc/efgcvt.c: Likewise.
547 * misc/error.c: Likewise.
548 * misc/fstab.c: Likewise.
549 * misc/getpass.c: Likewise.
550 * misc/mntent.c: Likewise.
551 * misc/syslog.c: Likewise.
552 * nis/nis_call.c: Likewise.
553 * nis/nis_callback.c: Likewise.
554 * nis/nss-default.c: Likewise.
555 * nis/nss_compat/compat-grp.c: Likewise.
556 * nis/nss_compat/compat-initgroups.c: Likewise.
557 * nis/nss_compat/compat-pwd.c: Likewise.
558 * nis/nss_compat/compat-spwd.c: Likewise.
559 * nis/nss_nis/nis-alias.c: Likewise.
560 * nis/nss_nis/nis-ethers.c: Likewise.
561 * nis/nss_nis/nis-grp.c: Likewise.
562 * nis/nss_nis/nis-hosts.c: Likewise.
563 * nis/nss_nis/nis-network.c: Likewise.
564 * nis/nss_nis/nis-proto.c: Likewise.
565 * nis/nss_nis/nis-pwd.c: Likewise.
566 * nis/nss_nis/nis-rpc.c: Likewise.
567 * nis/nss_nis/nis-service.c: Likewise.
568 * nis/nss_nis/nis-spwd.c: Likewise.
569 * nis/nss_nisplus/nisplus-alias.c: Likewise.
570 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
571 * nis/nss_nisplus/nisplus-grp.c: Likewise.
572 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
573 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
574 * nis/nss_nisplus/nisplus-network.c: Likewise.
575 * nis/nss_nisplus/nisplus-proto.c: Likewise.
576 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
577 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
578 * nis/nss_nisplus/nisplus-service.c: Likewise.
579 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
580 * nis/ypclnt.c: Likewise.
581 * nptl/libc_pthread_init.c: Likewise.
582 * nss/getXXbyYY.c: Likewise.
583 * nss/getXXent.c: Likewise.
584 * nss/getXXent_r.c: Likewise.
585 * nss/nss_db/db-XXX.c: Likewise.
586 * nss/nss_db/db-netgrp.c: Likewise.
587 * nss/nss_db/nss_db.h: Likewise.
588 * nss/nss_files/files-XXX.c: Likewise.
589 * nss/nss_files/files-alias.c: Likewise.
590 * nss/nsswitch.c: Likewise.
591 * posix/regex_internal.h: Likewise.
592 * posix/wordexp.c: Likewise.
593 * pwd/fgetpwent.c: Likewise.
594 * resolv/res_hconf.c: Likewise.
595 * resolv/res_libc.c: Likewise.
596 * shadow/fgetspent.c: Likewise.
597 * shadow/lckpwdf.c: Likewise.
598 * shadow/sgetspent.c: Likewise.
599 * socket/opensock.c: Likewise.
600 * stdio-common/reg-modifier.c: Likewise.
601 * stdio-common/reg-printf.c: Likewise.
602 * stdio-common/reg-type.c: Likewise.
603 * stdio-common/vfprintf.c: Likewise.
604 * stdio-common/vfscanf.c: Likewise.
605 * stdlib/abort.c: Likewise.
606 * stdlib/cxa_atexit.c: Likewise.
607 * stdlib/fmtmsg.c: Likewise.
608 * stdlib/random.c: Likewise.
609 * stdlib/setenv.c: Likewise.
610 * string/strsignal.c: Likewise.
611 * sunrpc/auth_none.c: Likewise.
612 * sunrpc/bindrsvprt.c: Likewise.
613 * sunrpc/create_xid.c: Likewise.
614 * sunrpc/key_call.c: Likewise.
615 * sunrpc/rpc_thread.c: Likewise.
616 * sysdeps/arm/backtrace.c: Likewise.
617 * sysdeps/generic/ldsodefs.h: Likewise.
618 * sysdeps/generic/stdio-lock.h: Likewise.
619 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
620 * sysdeps/i386/backtrace.c: Likewise.
621 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
622 * sysdeps/m68k/backtrace.c: Likewise.
623 * sysdeps/mach/hurd/cthreads.c: Likewise.
624 * sysdeps/mach/hurd/dirstream.h: Likewise.
625 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
626 * sysdeps/nptl/malloc-machine.h: Likewise.
627 * sysdeps/nptl/stdio-lock.h: Likewise.
628 * sysdeps/posix/dirstream.h: Likewise.
629 * sysdeps/posix/getaddrinfo.c: Likewise.
630 * sysdeps/posix/system.c: Likewise.
631 * sysdeps/pthread/aio_suspend.c: Likewise.
632 * sysdeps/s390/s390-32/backtrace.c: Likewise.
633 * sysdeps/s390/s390-64/backtrace.c: Likewise.
634 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
635 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
636 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
637 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
638 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
639 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
640 * sysdeps/unix/sysv/linux/system.c: Likewise.
641 * sysdeps/x86_64/backtrace.c: Likewise.
642 * time/alt_digit.c: Likewise.
643 * time/era.c: Likewise.
644 * time/tzset.c: Likewise.
645 * wcsmbs/wcsmbsload.c: Likewise.
646 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
647 instead of <bits/libc-lock.h> in comment.
648
649 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
650
651 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
652 Only use .set mips2 if the current ISA is below mips2.
653 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
654 Likewise.
655 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
656 mips32r2 if the current ISA is below mips32r2.
657 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
658 (TLS_IE): Updated to use the TLD_RDHWR macro.
659 (TLS_LE): Likewise.
660 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
661 __ASSEMBLER__ condition.
662
663 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
664
665 Fix parallel build of before-compile targets.
666
667 * sysdeps/mach/Makefile ($(patsubst
668 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
669 mach-before-compile target.
670 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
671 io fs process)): Move rule to dedicated hurd-before-compile target.
672
673 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
674
675 Fix rules generating headers in hurd/ and mach/ when initial make call
676 has subdir= explicitly set.
677
678 * sysdeps/mach/Makefile ($(patsubst
679 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
680 calling $(MAKE).
681 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
682 io fs process)): Force subdir to hurd when calling $(MAKE).
683 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
684 subdir to mach when calling $(MAKE).
685
686 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
687
688 Check sysheaders when looking for Mach and Hurd headers
689
690 * sysdeps/mach/configure.ac: Add sysheaders check.
691 * sysdeps/mach/configure: Regenerate.
692 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
693 * sysdeps/mach/hurd/configure: Regenerate.
694
695 2015-09-04 Roland McGrath <roland@hack.frob.com>
696
697 [BZ #18921]
698 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
699 Fix inverted sense of test of 'o_directory_works' value.
700 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
701 Bernhard Voelker <mail@bernhard-voelker.de>.
702
703 2015-09-04 Joseph Myers <joseph@codesourcery.com>
704
705 [BZ #14912]
706 * bits/linkmap.h: Move to ...
707 * sysdeps/generic/linkmap.h: ...here.
708 * sysdeps/aarch64/bits/linkmap.h: Move to ...
709 * sysdeps/aarch64/linkmap.h: ...here.
710 * sysdeps/arm/bits/linkmap.h: Move to ...
711 * sysdeps/arm/linkmap.h: ...here.
712 * sysdeps/hppa/bits/linkmap.h: Move to ...
713 * sysdeps/hppa/linkmap.h: ...here.
714 * sysdeps/ia64/bits/linkmap.h: Move to ...
715 * sysdeps/ia64/linkmap.h: ...here.
716 * sysdeps/mips/bits/linkmap.h: Move to ...
717 * sysdeps/mips/linkmap.h: ...here.
718 * sysdeps/s390/bits/linkmap.h: Move to ...
719 * sysdeps/s390/linkmap.h: ...here.
720 * sysdeps/sh/bits/linkmap.h: Move to ...
721 * sysdeps/sh/linkmap.h: ...here.
722 * sysdeps/x86/bits/linkmap.h: Move to ...
723 * sysdeps/x86/linkmap.h: ...here.
724 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
725
726 2015-09-04 Andreas Schwab <schwab@suse.de>
727
728 [BZ #18635]
729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
730 (__makecontext): Terminate FDE before return label.
731 (__novec_makecontext): Likewise.
732
733 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
734
735 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
736 first member of struct sv in syscall macro.
737
738 2015-09-04 Joseph Myers <joseph@codesourcery.com>
739
740 [BZ #14912]
741 * bits/stdio-lock.h: Move to ...
742 * sysdeps/generic/stdio-lock.h: ...here.
743 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
744 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
745 * sysdeps/nptl/stdio-lock.h: ...here.
746 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
747 * include/libio.h: Include <stdio-lock.h> instead of
748 <bits/stdio-lock.h>.
749 * sysdeps/nptl/fork.c: Likewise.
750 * sysdeps/pthread/flockfile.c: Likewise.
751 * sysdeps/pthread/ftrylockfile.c: Likewise.
752 * sysdeps/pthread/funlockfile.c: Likewise.
753
754 [BZ #14912]
755 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
756 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
757 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
758 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
759 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
760 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
761 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
762
763 2015-09-03 Roland McGrath <roland@hack.frob.com>
764
765 * elf/Makefile (test-xfail-tst-protected1a): New variable.
766 (test-xfail-tst-protected1b): New variable.
767
768 2015-09-03 Joseph Myers <joseph@codesourcery.com>
769
770 [BZ #14912]
771 * bits/libc-tsd.h: Move to ...
772 * sysdeps/generic/libc-tsd.h: ...here.
773 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
774 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
775 * sysdeps/mach/hurd/libc-tsd.h: ...here.
776 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
777 * include/ctype.h: Include <libc-tsd.h> instead of
778 <bits/libc-tsd.h>.
779 * include/rpc/rpc.h: Likewise.
780 * locale/localeinfo.h: Likewise.
781 * sunrpc/rpc_thread.c: Likewise.
782 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
783 * sysdeps/nptl/malloc-machine.h: Likewise.
784
785 * Makefile (headers): Remove bits/libc-lock.h.
786 * libio/Makefile (headers): Remove bits/stdio-lock.h.
787
788 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
789 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
790 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
791 <bits/stdio-lock.h>.
792 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
793 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
794
795 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
796
797 [BZ #18757]
798 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
799 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
800 BZ #18757.
801
802 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
803
804 * malloc/mtrace.pl: Filter out NULL entries.
805
806 2015-09-01 Joseph Myers <joseph@codesourcery.com>
807
808 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
809 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
810 macro.
811
812 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
813 (TCP_CC_INFO): Likewise.
814 (TCP_SAVE_SYN): Likewise.
815 (TCP_SAVED_SYN): Likewise.
816
817 2015-08-31 Brett Neumeier <brett@neumeier.us>
818
819 [BZ #18870]
820 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
821
822 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
823
824 [BZ #18873]
825 Fix broken overflow check in posix_fallocate
826 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
827 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
828 Fix parenthesization typo.
829
830 2015-08-28 Mike Frysinger <vapier@gentoo.org>
831
832 [BZ #18887]
833 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
834 tst-mntent-blank-passno.
835 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
836 * misc/tst-mntent-blank-corrupt.c: New test.
837 * misc/tst-mntent-blank-passno.c: New test ripped from ...
838 * misc/tst-mntent.c (do_test): ... here.
839
840 2015-08-29 Mike Frysinger <vapier@gentoo.org>
841
842 [BZ #4404]
843 * po/de.po: Fix SIGALRM typo.
844
845 2015-08-28 James Perkins <james@loowit.net>
846
847 * time/tst-strptime2.c (tests): Replace short list of test
848 strings for strptime %z specifier with code which exhaustively
849 tests every combination of sign and 0 to 5 digits. Tests for
850 rejection of invalid strings.
851
852 2015-08-28 James Perkins <james@loowit.net>
853
854 [BZ #16141]
855 * time/strptime_l.c (__strptime_internal): Fix %z minutes
856 calculation, removing incorrect decimal time rounding, so that
857 all minute values result in a valid seconds value.
858 * time/strptime_l.c (__strptime_internal): Extend %z time zone
859 offset range limits to UTC-99:59 through UTC+99:59 to parse
860 current and historical use cases.
861 * time/tst-strptime2.c (tests): Modify and add tests for the
862 strptime %z input field descriptor, specifically conversion of
863 minutes to seconds and validating an offset range of -9959 to
864 +9959.
865
866 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
867 Dmitry V. Levin <ldv@altlinux.org>
868
869 [BZ #18877]
870 * posix/Makefile (tests): Add tst-mmap-offset.
871 * posix/tst-mmap.c: New file.
872 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
873 offset calculation for negative values.
874
875 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
876
877 * sysdeps/i386/init-arch.h: New file.
878 * sysdeps/i386/i586/init-arch.h: Likewise.
879 * sysdeps/i386/i686/init-arch.h: Likewise.
880 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
881 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
882 * sysdeps/x86/cpu-features.h (bit_I586): New.
883 (bit_I686): Likewise.
884 (bit_CX8): Likewise.
885 (bit_CMOV): Likewise.
886 (index_CX8): Likewise.
887 (index_CMOV): Likewise.
888 (index_I586): Likewise.
889 (index_I686): Likewise.
890 (reg_CX8): Likewise.
891 (reg_CMOV): Likewise.
892 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
893 available at compile-time.
894 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
895 available at compile-time.
896 * sysdeps/x86/init-arch.h (USE_I586): New macro.
897 (USE_I686): Likewise.
898
899 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
900
901 * sysdeps/i386/bcopy.S: New file.
902 * sysdeps/i386/bzero.S: Likewise.
903 * sysdeps/i386/memcpy.S: Likewise.
904 * sysdeps/i386/memmove.S: Likewise.
905 * sysdeps/i386/mempcpy.S: Likewise.
906 * sysdeps/i386/memset.S: Likewise.
907 * sysdeps/i386/bzero.c: Removed.
908 * sysdeps/i386/memset.c: Likewise.
909 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
910 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
911 * sysdeps/i386/i586/memset_chk.S: Likewise.
912 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
913 * sysdeps/i386/memcpy_chk.S: Here.
914 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
915 * sysdeps/i386/memmove_chk.S: Here.
916 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
917 * sysdeps/i386/mempcpy_chk.S: Likewise.
918 * sysdeps/i386/i686/memset_chk.S: Moved to ...
919 * sysdeps/i386/memset_chk.S: Likewise.
920
921 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
922
923 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
924 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
925 file, move DIAG_POP_NEEDS_COMMENT to end of file.
926 * soft-fp/fmadf4.c: Ditto.
927 * soft-fp/fmatf4.c: Ditto.
928
929 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
930
931 * sysdeps/i386/i586/Implies: Removed.
932 * sysdeps/i386/i686/Implies: Likewise.
933
934 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
935
936 * sysdeps/i386/i486/strlen.S: Moved to ...
937 * sysdeps/i386/strlen.S: Here.
938
939 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
940
941 * sysdeps/i386/i486/strcat.S: Moved to ...
942 * sysdeps/i386/strcat.S: Here.
943
944 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
945
946 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
947 * sysdeps/i386/pthread_spin_trylock.S: Here.
948 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
949 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
950
951 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
952
953 * sysdeps/i386/i486/string-inlines.c: Moved to ...
954 * sysdeps/i386/string-inlines.c: Here.
955
956 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
957
958 * sysdeps/i386/i486/htonl.S: Moved ...
959 * sysdeps/i386/htonl.S: here.
960
961 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
962
963 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
964 * sysdeps/i386/bits/atomic.h: Here.
965
966 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
967
968 * sysdeps/i386/i486/Versions: Removed.
969
970 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
971
972 [BZ #2898]
973 * misc/mktemp.c: Add mkdtemp to the link_warning message.
974 Based on patch by Aurelien Jarno.
975
976 2015-08-26 Stan Shebs <stanshebs@google.com>
977
978 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
979 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
980
981 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
982
983 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
984 * sysdeps/powerpc/dl-procinfo.c:
985 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
986 feature so it shows when LD_SHOW_AUXV=1.
987
988 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
989
990 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
991 (__arch_compare_and_exchange_val_32_acq): Remove and use common
992 definition. ISA 2.07B no longer requires full sync.
993
994 2015-08-26 Mike Frysinger <vapier@gentoo.org>
995
996 [BZ #18863]
997 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
998 (si_call_addr): Define.
999 (si_syscall): Define.
1000 (si_arch): Define.
1001
1002 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1005 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1006 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1007 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1008 (__memset_zero_constant_len_parameter): New.
1009 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1010 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1011 (__memset_zero_constant_len_parameter): Don't define if
1012 __memset_chk or USE_AS_BZERO are defined.
1013
1014 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1015 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1016 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1017
1018 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1019 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1020 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1021 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1022 comments.
1023 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1024 -mno-mmx for $(all-rtld-routines).
1025 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1026 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1027 i386.
1028
1029 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1030
1031 * sysdeps/generic/unwind.h
1032 (_Unwind_Word): Use __mode__(__unwind_word__)
1033 instead of __mode__(__word__).
1034 (_Unwind_Sword): Likewise.
1035
1036 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1037 (MAX_NEEDED_INPUT): New define.
1038 (MAX_NEEDED_OUTPUT): New define.
1039
1040 * NEWS: New item for IBM z13 string optimizations.
1041
1042 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1043 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1044 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1045 * sysdeps/s390/multiarch/Makefile
1046 (sysdep_routines): Add memrchr functions.
1047 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1048 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1049
1050 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1051 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1052 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1053 * sysdeps/s390/multiarch/Makefile
1054 (sysdep_routines): Add wmemcmp functions.
1055 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1056 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1057 * benchtests/bench-wmemcmp.c: New File.
1058 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1059
1060 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1061 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1062 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1063 * sysdeps/s390/multiarch/Makefile
1064 (sysdep_routines): Add wmemset functions.
1065 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1066 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1067 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1068 * string/test-memset.c: Add wmemset support.
1069 * wcsmbs/test-wmemset.c: New File.
1070 * wcsmbs/Makefile (strop-tests): Add wmemset.
1071 * benchtests/bench-memset.c: Add wmemset support.
1072 * benchtests/bench-wmemset.c: New File.
1073 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1074
1075 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1076 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1077 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1078 * sysdeps/s390/multiarch/Makefile
1079 (sysdep_routines): Add memccpy functions.
1080 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1081 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1082 * string/memccpy.c: Use MEMCCPY if defined.
1083
1084 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1085 * sysdeps/s390/multiarch/memchr.c: Likewise.
1086 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1087 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1088 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1089 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1090 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1091 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1092 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1093 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1094 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1095 and rawmemchr functions.
1096 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1097 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1098 and wmemchr.
1099 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1100 * string/test-memchr.c: Add wmemchr support.
1101 * wcsmbs/test-wmemchr.c: New File.
1102 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1103 * benchtests/bench-memchr.c: Add wmemchr support.
1104 * benchtests/bench-wmemchr.c: New File.
1105 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1106
1107 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1108 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1109 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1110 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1111 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1112 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1113 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1114 wcscspn functions.
1115 * sysdeps/s390/multiarch/ifunc-impl-list.c
1116 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1117 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1118 * string/test-strcspn.c: Add wcscspn support.
1119 * wcsmbs/test-wcscspn.c: New File.
1120 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1121 * benchtests/bench-strcspn.c: Add wcscspn support.
1122 * benchtests/bench-wcscspn.c: New File.
1123 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1124
1125 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1126 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1127 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1128 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1129 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1130 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1131 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1132 wcspbrk functions.
1133 * sysdeps/s390/multiarch/ifunc-impl-list.c
1134 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1135 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1136 * string/test-strpbrk.c: Add wcspbrk support.
1137 * wcsmbs/test-wcspbrk.c: New File.
1138 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1139 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1140 * benchtests/bench-wcspbrk.c: New File.
1141 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1142
1143 * sysdeps/s390/multiarch/strspn-c.c: New File.
1144 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1145 * sysdeps/s390/multiarch/strspn.c: Likewise.
1146 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1147 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1148 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1149 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1150 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1151 wcsspn functions.
1152 * sysdeps/s390/multiarch/ifunc-impl-list.c
1153 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1154 * string/test-strspn.c: Add wcsspn support.
1155 * wcsmbs/test-wcsspn.c: New File.
1156 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1157 * benchtests/bench-strspn.c: Add wcsspn support.
1158 * benchtests/bench-wcsspn.c: New File.
1159 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1160
1161 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1162 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1163 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1164 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1165 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1166 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1167 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1168 wcsrchr functions.
1169 * sysdeps/s390/multiarch/ifunc-impl-list.c
1170 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1171 * benchtests/bench-wcsrchr.c: New File.
1172 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1173
1174 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1175 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1176 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1177 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1178 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1179 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1180 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1181 wcschrnul functions.
1182 * sysdeps/s390/multiarch/ifunc-impl-list.c
1183 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1184 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1185 * string/test-strchr.c: Add wcschrnul support.
1186 * wcsmbs/test-wcschrnul.c: New File.
1187 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1188 * benchtests/bench-strchr.c: Add wcschrnul support.
1189 * benchtests/bench-wcschrnul.c: New File.
1190 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1191
1192 * sysdeps/s390/multiarch/strchr-c.c: New File.
1193 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1194 * sysdeps/s390/multiarch/strchr.c: Likewise.
1195 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1196 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1197 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1198 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1199 wcschr functions.
1200 * sysdeps/s390/multiarch/ifunc-impl-list.c
1201 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1202 * string/strchr.c (STRCHR): Define and use macro.
1203 * benchtests/bench-wcschr.c: New File.
1204 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1205
1206 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1207 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1208 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1209 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1210 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1211 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1212 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1213 wcsncmp functions.
1214 * sysdeps/s390/multiarch/ifunc-impl-list.c
1215 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1216 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1217 * benchtests/bench-strncmp.c: Add wcsncmp support.
1218 * benchtests/bench-wcsncmp.c: New File.
1219 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1220
1221 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1222 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1223 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1224 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1225 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1226 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1227 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1228 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1229 wcscmp functions.
1230 * sysdeps/s390/multiarch/ifunc-impl-list.c
1231 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1232 * string/strcmp.c (STRCMP): Define and use macro.
1233 * benchtests/bench-wcscmp.c: New File.
1234 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1235 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1236 instead of _HAVE_STRING_ARCH_memchr.
1237
1238 * sysdeps/s390/multiarch/strncat-c.c: New File.
1239 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1240 * sysdeps/s390/multiarch/strncat.c: Likewise.
1241 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1242 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1243 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1244 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1245 wcsncat functions.
1246 * sysdeps/s390/multiarch/ifunc-impl-list.c
1247 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1248 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1249 * string/test-strncat.c: Add wcsncat support.
1250 * wcsmbs/test-wcsncat.c: New File.
1251 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1252 * benchtests/bench-strncat.c: Add wcsncat support.
1253 * benchtests/bench-wcsncat.c: New File.
1254 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1255
1256 * sysdeps/s390/multiarch/strcat-c.c: New File.
1257 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1258 * sysdeps/s390/multiarch/strcat.c: Likewise.
1259 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1260 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1261 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1262 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1263 wcscat functions.
1264 * sysdeps/s390/multiarch/ifunc-impl-list.c
1265 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1266 * string/strcat.c (STRCAT): Define and use macro.
1267 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1268 * string/test-strcat.c: Add wcscat support.
1269 * wcsmbs/test-wcscat.c: New File.
1270 * wcsmbs/Makefile (strop-tests): Add wcscat.
1271 * benchtests/bench-strcat.c: Add wcscat support.
1272 * benchtests/bench-wcscat.c: New File.
1273 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1274
1275 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1276 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1277 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1278 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1279 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1280 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1281 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1282 wcpncpy functions.
1283 * sysdeps/s390/multiarch/ifunc-impl-list.c
1284 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1285 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1286 * string/test-stpncpy.c: Add wcpncpy support.
1287 * wcsmbs/test-wcpncpy.c: New File.
1288 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1289 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1290 * benchtests/bench-wcpncpy.c: New File.
1291 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1292
1293 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1294 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1295 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1296 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1297 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1298 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1299 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1300 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1301 wcsncpy functions.
1302 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1303 * sysdeps/s390/multiarch/ifunc-impl-list.c
1304 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1305 * string/test-strncpy.c: Add wcsncpy support.
1306 * wcsmbs/test-wcsncpy.c: New File.
1307 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1308 * benchtests/bench-strncpy.c: Add wcsncpy support.
1309 * benchtests/bench-wcsncpy.c: New File.
1310 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1311
1312 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1313 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1314 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1315 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1316 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1317 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1318 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1319 wcpcpy functions.
1320 * string/stpcpy.c: Use STPCPY if defined.
1321 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1322 * sysdeps/s390/multiarch/ifunc-impl-list.c
1323 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1324 * string/test-stpcpy.c: Add wcpcpy support.
1325 * wcsmbs/test-wcpcpy.c: New File.
1326 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1327 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1328 * benchtests/bench-wcpcpy.c: New File.
1329 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1330
1331 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1332 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1333 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1334 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1335 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1336 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1337 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1338 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1339 wcscpy functions.
1340 * sysdeps/s390/multiarch/ifunc-impl-list.c
1341 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1342 * benchtests/bench-wcscpy.c: New File.
1343 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1344
1345 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1346 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1347 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1348 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1349 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1350 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1351 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1352 wcsnlen functions.
1353 * sysdeps/s390/multiarch/ifunc-impl-list.c
1354 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1355 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1356 * string/test-strnlen.c: Add wcsnlen support.
1357 * wcsmbs/test-wcsnlen.c: New File.
1358 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1359 * benchtests/bench-strnlen.c: Add wcsnlen support.
1360 * benchtests/bench-wcsnlen.c: New File.
1361 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1362
1363 * sysdeps/s390/multiarch/Makefile: New File.
1364 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1365 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1366 * sysdeps/s390/multiarch/strlen.c: Likewise.
1367 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1368 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1369 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1370 * string/strlen.c (STRLEN): Define and use macro.
1371 * sysdeps/s390/multiarch/ifunc-impl-list.c
1372 (IFUNC_VX_IMPL): New macro function.
1373 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1374 * benchtests/Makefile (wcsmbs-bench): New variable.
1375 (string-bench-all): Added wcsmbs-bench.
1376 * benchtests/bench-wcslen.c: New File.
1377
1378 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1379 s390_vx_libc_ifunc2): New macro function.
1380
1381 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1382 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1383 assembler support.
1384 * sysdeps/s390/configure: Regenerated.
1385
1386 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1387 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1388
1389 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1390 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1391 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1392
1393 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1394 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1395 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1396 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1397 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1398 (memcmp, bcmp): Use __memcmp_default as alias source.
1399 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1400 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1401 Rename to __memcmp_default.
1402 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1403 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1404 (memcpy): Use __memcpy_default as alias source.
1405 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1406 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1407 Rename to __memcpy_default.
1408 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1409 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1410 (memset): Use __memset_default as alias source.
1411 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1412 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1413 Rename to __memset_default.
1414 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1415 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1416 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1417 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1418 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1419 (memcmp, bcmp): Use __memcmp_default as alias source.
1420 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1421 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1422 Rename to __memcmp_default.
1423 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1424 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1425 (memcpy): Use __memcpy_default as alias source.
1426 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1427 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1428 Rename to __memcpy_default.
1429 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1430 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1431 (memset): Use __memset_default as alias source.
1432 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1433 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1434 Rename to __memset_default.
1435 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1436 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1437
1438 [BZ #18610]
1439 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1440 __ieee_instruction_pointer to __unused.
1441 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1442 __ieee_instruction_pointer.
1443 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1444 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1445 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1446 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1447 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1448 Mark dxc-field as reserved.
1449
1450 2015-08-25 Roland McGrath <roland@hack.frob.com>
1451
1452 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1453 if the weak reference is not null.
1454
1455 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1458
1459 [BZ #11214]
1460 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1461
1462 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1463
1464 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1465 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1466 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1467 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1468 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1469 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1470 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1471 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1472 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1473 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1474 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1475 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1476 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1477 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1478 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1479 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1480 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1481 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1482
1483 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1484
1485 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1486 register other than r0 for tabort, it has special meaning.
1487 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1488 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1489 transaction before starting syscall.
1490
1491 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1492
1493 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1494
1495 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1496
1497 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1498
1499 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1500 * sysdeps/x86_64/rtld-memset.S: Likewise.
1501 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1502 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1503 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1504 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1505
1506 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1507
1508 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1509
1510 * debug/strcpy_chk.c: Improve performance.
1511 * debug/stpcpy_chk.c: Likewise.
1512 * sysdeps/x86_64/strcpy_chk.S: Remove.
1513 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1514
1515 [BZ #18240]
1516 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1517
1518 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1519
1520 [BZ #15128]
1521 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1522 ifuncmain8.
1523 (modules-names): Add ifuncmod8.
1524 ($(objpfx)ifuncmain8): New rule.
1525 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1526 <cpuid.h>.
1527 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1528 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1529 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1530 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1531 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1532 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1533 * sysdeps/x86_64/ifuncmain8.c: New file.
1534 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1535 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1536 Removed.
1537 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1538 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1539 Change rtld_savespace_sse to __glibc_unused2.
1540 (RTLD_CHECK_FOREIGN_CALL): Removed.
1541 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1542 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1543 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1544
1545 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1546
1547 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1548
1549 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1550
1551 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1552 Unconditionally set __fpcr to avoid uninialized warning.
1553 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1554
1555 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1556
1557 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1558 is corrupt.
1559
1560 * malloc/arena.c (arena_get2): Drop unused argument.
1561 (arena_lock): Adjust.
1562 (arena_get_retry): Likewise.
1563
1564 2015-08-24 Andreas Schwab <schwab@suse.de>
1565
1566 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1567 Don't define.
1568 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1569 (__ASSUME_IPC64): Don't undef.
1570 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1571 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1572 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1573 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1574 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1575 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1576 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1577 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1578 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1579 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1580 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1581 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1582 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1583 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1584 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1585 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1586 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1587 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1589 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1590 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1591
1592 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1593
1594 * manual/Makefile (install): Only build manual when perl is available.
1595
1596 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1597
1598 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1599 '#undef memcpy' by '#undef memchr'.
1600
1601 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1602
1603 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1604 memchr not point to the internal __GI_memchr implementation.
1605
1606 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1607
1608 * timezone/Makefile (CFLAGS-zdump.c): Remove
1609 -Wno-strict-prototypes.
1610 (CFLAGS-zic.c): Likewise.
1611 (CFLAGS-ialloc.c): Likewise.
1612 (CFLAGS-scheck.c): Likewise.
1613
1614 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1615 -Wno-error=undef.
1616
1617 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1618
1619 * i386/i686/multiarch/strcasestr-c.c: Removed.
1620 * x86_64/multiarch/strcasestr.c: Likewise.
1621 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1622 Remove strcasestr.
1623
1624 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1625
1626 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1627
1628 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1629 variables for high and low parts before possibly modifying them.
1630
1631 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1632
1633 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1634 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1635 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1636 of "multiarch/init-arch.h".
1637 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1638 * sysdeps/x86/init-arch.h: This.
1639
1640 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1641
1642 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1643 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1644
1645 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1646
1647 [BZ #17787]
1648 * manual/macros.texi: Add twoexp macro.
1649 * manual/filesys.texi: Fix exponents.
1650 * manual/llio.texi: Likewise.
1651 * manual/stdio.texi: Likewise.
1652
1653 2015-08-20 Florian Weimer <fweimer@redhat.com>
1654
1655 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1656 incorrect use.
1657
1658 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1659
1660 [BZ #18370]
1661 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1662 whose real or imaginary part has small absolute value.
1663 * math/s_csqrtf.c (__csqrtf): Likewise.
1664 * math/s_csqrtl.c (__csqrtl): Likewise.
1665 * math/auto-libm-test-in: Add more tests of csqrt.
1666 * math/auto-libm-test-out: Regenerated.
1667 * sysdeps/i386/fpu/libm-test-ulps: Update.
1668
1669 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1670
1671 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1672 __ppc_set_ppr_very_low): New functions.
1673 * manual/platform.texi: Add documentation about
1674 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1675
1676 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1677
1678 * string/stpncpy.c (stpncpy): Improve performance using
1679 __strnlen/memcpy/memset.
1680
1681 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1682
1683 [BZ #18796]
1684 * scripts/test-installation.pl: Don't add -lmvec to build options if
1685 libmvec wasn't built.
1686
1687 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1688
1689 [BZ #14341]
1690 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1691 case when there is a gap between DT_REL and DT_JMPREL sections.
1692 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1693 (LDFLAGS-tst-split-dynreloc): New.
1694 (tst-split-dynreloc-ENV): Likewise.
1695 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1696 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1697
1698 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1699
1700 [BZ #18822]
1701 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1702 attribute_hidden.
1703 (__xstat64_conv): Likewise.
1704 (__xstat32_conv): Likewise.
1705
1706 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 [BZ #18822]
1709 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1710 Don't load %ebx when calling __setcontext. Call __setcontext
1711 with HIDDEN_JUMPTARGET.
1712 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1713 libc_hidden_def.
1714
1715 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1716
1717 * sysdeps/i386/i686/Makefile
1718 [$(subdir) == string] (sysdep_routines): Moved to ...
1719 * sysdeps/i386/Makefile: Here.
1720 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1721 * sysdeps/i386/cacheinfo.c: Here.
1722 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1723 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1724 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1725 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1726
1727 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1728
1729 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1730 __i586__ is defined.
1731 (HAS_I686): Defined to 1 if __i686__ is defined.
1732
1733 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1734
1735 * elf/Makefile [$(have-z-execstack) = yes]
1736 (CPPFLAGS-tst-execstack.c): New variable.
1737
1738 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1739 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1740 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1741 UTMPX || _HAVE_UT_TV].
1742 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1743 UTMPX || _HAVE_UT_TV - 0].
1744
1745 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1746
1747 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1748 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1749 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1750
1751 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1752
1753 * sysdeps/powerpc/dl-procinfo.c:
1754 (_dl_powerpc_cap_flags): Added missing strings for some
1755 hwcap features.
1756 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1757
1758 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1759
1760 Port the 0x7efe...feff pattern to GCC 6.
1761 See Steve Ellcey's bug report in:
1762 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1763 * string/memrchr.c (MEMRCHR):
1764 * string/rawmemchr.c (RAWMEMCHR):
1765 * string/strchr.c (strchr):
1766 * string/strchrnul.c (STRCHRNUL):
1767 Rewrite code to avoid issues with signed shift overflow.
1768
1769 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1770
1771 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1772 whether cpuid is available only if HAS_CPUID is 0.
1773 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1774 (HAS_I586): Likewise.
1775 (HAS_I686): Likewise.
1776
1777 2015-08-18 Zack Weinberg <zackw@panix.com>
1778
1779 * misc/Versions (libc): Add GLIBC_2.23.
1780
1781 2015-08-18 Alan Modra <amodra@gmail.com>
1782
1783 [BZ #18421]
1784 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1785 .Lp__global.
1786 (_start): Load %dp via .Lp__global.
1787 [!SHARED]: Use .section .rodata.
1788
1789 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1790
1791 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1792 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1793
1794 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1795
1796 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1797 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1798
1799 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1800
1801 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1802 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1803
1804 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1805
1806 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1807 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1808
1809 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1810
1811 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1812 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1813
1814 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1815
1816 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1817 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1818
1819 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1820
1821 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1822
1823 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1824
1825 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1826 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1827 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1828 (__ASSUME_LWS_CAS): Delete.
1829
1830 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1831
1832 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1833 * sysdeps/hppa/configure: Regenerated.
1834 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1835 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1836 * sysdeps/hppa/nptl/tls.h: Likewise.
1837
1838 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1839
1840 [BZ #18823]
1841 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1842 for scaling up small arguments.
1843 * math/s_csqrtf.c (__csqrtf): Likewise.
1844 * math/s_csqrtl.c (__csqrtl): Likewise.
1845 * math/auto-libm-test-in: Add more tests of csqrt.
1846 * math/auto-libm-test-out: Regenerated.
1847
1848 2015-08-17 Andreas Schwab <schwab@suse.de>
1849
1850 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1851 version set GLIBC_2.19.
1852
1853 2015-08-16 Zack Weinberg <zackw@panix.com>
1854
1855 [BZ #18681]
1856 * misc/regexp.h: This interface is no longer supported.
1857 Remove all contents, leaving only an #error directive.
1858 * misc/regexp.c (loc1, loc2, locs, step, advance):
1859 Demote to compatibility symbols.
1860
1861 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1862
1863 [BZ #18084]
1864 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1865 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1866 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1867 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1868 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1869 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1870 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1871 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1872 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1873
1874 2015-08-15 Zack Weinberg <zackw@panix.com>
1875
1876 [BZ #18795]
1877 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1878 buffer length is known to be too large, not if it's known to be
1879 small enough.
1880 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1881 overflow at runtime, involving a length parameter, twice: once
1882 with a compile-time constant length parameter, once without.
1883
1884 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1885
1886 [BZ #18824]
1887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1888 scaling x * y up instead of down.
1889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1891 * math/auto-libm-test-in: Add more tests of fma.
1892 * math/auto-libm-test-out: Regenerated.
1893
1894 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1895
1896 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1897
1898 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1899
1900 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1901 unnecessary movq.
1902 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1903 Likewise.
1904
1905 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1906
1907 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1908 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1909 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1910 and tgamma.
1911 * math/auto-libm-test-out: Regenerated.
1912 * sysdeps/i386/fpu/libm-test-ulps: Update.
1913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1914
1915 [BZ #16520]
1916 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1917 (__tanh): Force underflow exception for arguments with small
1918 absolute value.
1919 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1920 (__tanhf): Force underflow exception for arguments with small
1921 absolute value.
1922 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1923 (__tanhl): Force underflow exception for arguments with small
1924 absolute value.
1925 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1926 (__tanhl): Force underflow exception for arguments with small
1927 absolute value.
1928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1929 (__tanhl): Force underflow exception for arguments with small
1930 absolute value.
1931 * math/auto-libm-test-in: Add more tests of tanh.
1932 * math/auto-libm-test-out: Regenerated.
1933 * sysdeps/i386/fpu/libm-test-ulps: Update.
1934
1935 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1938 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1939
1940 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1941
1942 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1943 <cpuid.h>.
1944
1945 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1948 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1949
1950 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1951
1952 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1953 Remove $(objpfx)init-arch.o.
1954 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1955 init-arch.
1956 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1957 (INIT_ARCH_EXT): Defined as empty.
1958 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1959 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1960 __init_cpu_features call. Replace HAS_XXX with
1961 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1962 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1963 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1964 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1965 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1966 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1967 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1968 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1969 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1970 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1971 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1972 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1973 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1974 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1976 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1977 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1979 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1980 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1981 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1982 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1983 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1984 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1985 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1986 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1987 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1988 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1989 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1990 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1991 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1992 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1993 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1994 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1995 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1996 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1997
1998 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2001 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2002 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2003 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2004 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2005 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2006 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2007 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2008 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2009 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2010 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2011 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2012 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2013 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2014 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2015 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2016 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2018 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2019 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2020 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2021 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2022 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2023 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2024 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2025 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2026 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2027 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2028 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2029 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2030 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2031 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2034 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2035 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2036 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2037 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2038 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2039 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2040 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2043
2044 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2047 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2048 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2049 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2050 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2051 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2052 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2053 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2054 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2058 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2060 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2061 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2062 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2063 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2064 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2065 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2067 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2068 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2069 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2070 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2071 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2072 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2073 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2074 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2075 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2076 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2077 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2079 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2080 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2081 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2082 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2083 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2084 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2085 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2086 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2087 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2088 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2089
2090 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2091
2092 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2093 (dl_platform_init): Call init_cpu_features.
2094 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2095 * sysdeps/i386/i686/cacheinfo.c
2096 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2097 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2098 * sysdeps/i386/i686/multiarch/Versions: Removed.
2099 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2100 Removed.
2101 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2102 * sysdeps/unix/sysv/linux/x86/Makefile
2103 (libpthread-sysdep_routines): Remove init-arch.
2104 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2105 <sysdeps/x86_64/dl-procinfo.c> instead of
2106 sysdeps/generic/dl-procinfo.c>.
2107 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2108 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2109 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2110 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2111 [$(subdir) == elf] (tests-static): Add
2112 tst-get-cpu-features-static.
2113 * sysdeps/x86/Versions: New file.
2114 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2115 * sysdeps/x86/cpu-features.c: Likewise.
2116 * sysdeps/x86/cpu-features.h: Likewise.
2117 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2118 * sysdeps/x86/libc-start.c: Likewise.
2119 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2120 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2121 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2122 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2123 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2124 Assume USE_MULTIARCH is defined and don't check it.
2125 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2126 (is_amd): Likewise.
2127 (max_cpuid): Likewise.
2128 (intel_check_word): Likewise.
2129 (__cache_sysconf): Don't call __init_cpu_features.
2130 (__x86_preferred_memory_instruction): Removed.
2131 (init_cacheinfo): Don't call __init_cpu_features. Replace
2132 __cpu_features with GLRO(dl_x86_cpu_features).
2133 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2134 (dl_platform_init): Call init_cpu_features.
2135 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2136 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2137 * sysdeps/x86_64/multiarch/Versions: Removed.
2138 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2139 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2140 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2141 Removed.
2142 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2143
2144 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2145
2146 [BZ #18820]
2147 * libio/Makefile (test-fmemopen-mem): New test.
2148 * libio/test-fmemopen.c (do_bz18820): New test.
2149 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2150 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2151
2152 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2153
2154 [BZ #16734]
2155 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2156 (FREE_BUF): Delete.
2157 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2158 * libio/genops.c (_IO_setb): Use malloc and free directly.
2159 (_IO_default_doallocate, _IO_default_finish): Likewise.
2160 ( _IO_unbuffer_all): Likewise.
2161 ( libc_freeres_fn): Likewise.
2162 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2163 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2164 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2165 (_IO_wdefault_doallocate): Likewise.
2166
2167 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2168
2169 [BZ #18086]
2170 * sysdeps/posix/nice.c (nice): Restore old errno.
2171 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2172
2173 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2174
2175 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2176
2177 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2178
2179 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2180 __bcopy and add a weak_alias to bcopy.
2181 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2182 for static build.
2183
2184 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2185 cleanup macro usage.
2186 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2187 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2188 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2189 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2190 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2191 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2192 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2193 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2194 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2195 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2196 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2197 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2198 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2199 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2200 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2201 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2202 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2203 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2204 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2205
2206 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2207 libc_hidden_def.
2208 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2209
2210 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2211 (sysdep_routines): Add strstr-ppc64.
2212 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2213
2214 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2215
2216 [BZ #18778]
2217 * elf/Makefile (tests): Add Add tst-nodelete2.
2218 (modules-names): Add tst-nodelete2mod.
2219 (tst-nodelete2mod.so-no-z-defs): New.
2220 ($(objpfx)tst-nodelete2): Likewise.
2221 ($(objpfx)tst-nodelete2.out): Likewise.
2222 (LDFLAGS-tst-nodelete2): Likewise.
2223 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2224 out of loop through all loaded libraries.
2225 * elf/tst-nodelete2.c: New file.
2226 * elf/tst-nodelete2mod.c: Likewise.
2227 * elf/tst-znodelete-zlib.cc: Delete.
2228
2229 2015-08-11 Andreas Schwab <schwab@suse.de>
2230
2231 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2232 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2233 (__openat64_nocancel): Likewise.
2234
2235 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2236
2237 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2238 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2239 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2240 * math/auto-libm-test-out: Regenerated.
2241 * sysdeps/i386/fpu/libm-test-ulps: Update.
2242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2243
2244 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2245
2246 [BZ #18790]
2247 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2248 threshold for returning +/- 1.
2249 * math/auto-libm-test-in: Add more tests of tanh.
2250 * math/auto-libm-test-out: Regenerated.
2251 * sysdeps/i386/fpu/libm-test-ulps: Update.
2252
2253 2015-08-10 Andreas Schwab <schwab@suse.de>
2254
2255 [BZ #18781]
2256 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2257 MORE_OFLAGS to oflag.
2258 * io/test-lfs.c (do_test): Test openat64.
2259
2260 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2261
2262 [BZ #18789]
2263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2264 smaller threshold for returning the argument.
2265 * math/auto-libm-test-in: Add more tests of sinh.
2266 * math/auto-libm-test-out: Regenerated.
2267 * sysdeps/i386/fpu/libm-test-ulps: Update.
2268
2269 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2270
2271 [BZ #18674]
2272 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2273 break.
2274
2275 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2276
2277 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2278 (generated): Don't add $(addprefix z.,$(tzfiles)).
2279
2280 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2281
2282 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2283 * scripts/sysd-rules.awk: Likewise.
2284
2285 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2286
2287 * iconvdata/tst-tables.sh: Change echo -n to printf.
2288 * nss/db-Makefile: Likewise.
2289 * posix/tst-getconf.sh: Likewise.
2290 * stdio-common/tst-unbputc.sh: Likewise.
2291
2292 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2293
2294 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2295 MADV_*_PAGES defines behind this feature check.
2296
2297 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2298
2299 [BZ #18480]
2300 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2301 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2302 Define.
2303 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2304 LOAD_REGS_5, LOAD_REGS_6): Update.
2305 (INTERNAL_SYSCALL): Update using new LOAD defines.
2306 (INTERNAL_SYSCALL_NCS): Likewise.
2307 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2308
2309 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2310
2311 [BZ #16734]
2312 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2313
2314 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2315
2316 [BZ #17905]
2317 * catgets/Makefile (tst-catgets-mem): New test.
2318 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2319 * catgets/open_catalog.c (__open_catalog): Likewise.
2320 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2321
2322 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2323
2324 [BZ #18787]
2325 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2326 clobber registers.
2327 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2328 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2329 Cast return to __typeof (oldval).
2330
2331 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2332
2333 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2334 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2335 and delete sys/syscall.h include.
2336
2337 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2338
2339 [BZ #16517]
2340 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2341 (tan): Force underflow exception for arguments with small absolute
2342 value.
2343 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2344 (__kernel_tanf): Force underflow exception for arguments with
2345 small absolute value.
2346 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2347 (__kernel_tanl): Force underflow exception for arguments with
2348 small absolute value.
2349 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2350 (__kernel_tanl): Force underflow exception for arguments with
2351 small absolute value.
2352 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2353 (__kernel_tanl): Force underflow exception for arguments with
2354 small absolute value.
2355 * math/auto-libm-test-in: Add more tests of tan.
2356 * math/auto-libm-test-out: Regenerated.
2357
2358 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2359
2360 Fix sysdeps/i386/fpu/s_scalbn.S build
2361
2362 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2363
2364 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2365
2366 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2367
2368 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2369
2370 Fix gcrt0.o compilation
2371
2372 When static-start-installed-name is different from
2373 start-installed-name, we must not use the shared objects.
2374
2375 * csu/Makefile
2376 (extra-objs): Add gmon-start.o when building shared library and
2377 $(static-start-installed-name) is different from
2378 $(start-installed-name).
2379 $(objpfx)g$(static-start-installed-name): When building shared
2380 library and $(static-start-installed-name) is different from
2381 $(static-start-installed-name), revert to non-shared rule,
2382 i.e. using $(objpfx)% and gmon-start.o.
2383
2384 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2385
2386 [BZ #16519]
2387 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2388 (__ieee754_sinh): Force underflow exception for arguments with
2389 small absolute value.
2390 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2391 (__ieee754_sinhf): Force underflow exception for arguments with
2392 small absolute value.
2393 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2394 (__ieee754_sinhl): Force underflow exception for arguments with
2395 small absolute value.
2396 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2397 (__ieee754_sinhl): Force underflow exception for arguments with
2398 small absolute value.
2399 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2400 (__ieee754_sinhl): Force underflow exception for arguments with
2401 small absolute value.
2402 * math/auto-libm-test-in: Add more tests of sinh.
2403 * math/auto-libm-test-out: Regenerated.
2404 * sysdeps/i386/fpu/libm-test-ulps: Update.
2405
2406 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2407
2408 * libio/oldfileops.c: Include unistd.h.
2409
2410 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2411
2412 * stdlib/isomac.c: Include ctype.h.
2413
2414 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2415
2416 * dirent/tst-seekdir.c (main): Converted to ...
2417 (do_test): ... this.
2418 (TEST_FUNCTION): New macro.
2419 Include test-skeleton.c.
2420 * elf/tst-dlmodcount.c (main): Converted to ...
2421 (do_test): ... this.
2422 (TEST_FUNCTION): New macro.
2423 Include test-skeleton.c.
2424 * elf/tst-order-main.c (main): Converted to ...
2425 (do_test): ... this.
2426 (TEST_FUNCTION): New macro.
2427 Include test-skeleton.c.
2428 * elf/tst-pie2.c (main): Converted to ...
2429 (do_test): ... this.
2430 (TEST_FUNCTION): New macro.
2431 Include test-skeleton.c.
2432 * inet/tst-ether_aton.c (main): Converted to ...
2433 (do_test): ... this.
2434 (TEST_FUNCTION): New macro.
2435 Include test-skeleton.c.
2436 * misc/tst-mntent.c (main): Converted to ...
2437 (do_test): ... this.
2438 (TEST_FUNCTION): New macro.
2439 Include test-skeleton.c.
2440 * misc/tst-tsearch.c (main): Converted to ...
2441 (do_test): ... this.
2442 (TEST_FUNCTION): New macro.
2443 Include test-skeleton.c.
2444 * posix/tst-regexloc.c (main): Converted to ...
2445 (do_test): ... this.
2446 (TEST_FUNCTION): New macro.
2447 Include test-skeleton.c.
2448 * resolv/tst-aton.c (main): Converted to ...
2449 (do_test): ... this.
2450 (TEST_FUNCTION): New macro.
2451 Include test-skeleton.c.
2452 * stdio-common/test-fwrite.c (main): Converted to ...
2453 (do_test): ... this.
2454 (TEST_FUNCTION): New macro.
2455 Include test-skeleton.c.
2456 * stdio-common/tst-ferror.c (main): Converted to ...
2457 (do_test): ... this.
2458 (TEST_FUNCTION): New macro.
2459 Include test-skeleton.c.
2460 * stdio-common/tst-printf.c (main): Converted to ...
2461 (do_test): ... this.
2462 (TEST_FUNCTION): New macro.
2463 Include test-skeleton.c.
2464 * stdio-common/tst-printfsz.c (main): Converted to ...
2465 (do_test): ... this.
2466 (TEST_FUNCTION): New macro.
2467 Include test-skeleton.c.
2468 * stdlib/tst-strtod.c (main): Converted to ...
2469 (do_test): ... this.
2470 (TEST_FUNCTION): New macro.
2471 Include test-skeleton.c.
2472 * string/tst-strlen.c (main): Converted to ...
2473 (do_test): ... this.
2474 (TEST_FUNCTION): New macro.
2475 Include test-skeleton.c.
2476 * string/tst-svc.c (main): Converted to ...
2477 (do_test): ... this.
2478 (TEST_FUNCTION): New macro.
2479 Include test-skeleton.c.
2480 * time/tst-strptime.c (main): Converted to ...
2481 (do_test): ... this.
2482 (TEST_FUNCTION): New macro.
2483 Include test-skeleton.c.
2484 * timezone/tst-timezone.c (main): Converted to ...
2485 (do_test): ... this.
2486 (TEST_FUNCTION): New macro.
2487 Include test-skeleton.c.
2488
2489 2015-08-05 Zack Weinberg <zackw@panix.com>
2490
2491 * misc/regexp.h: Update comments.
2492
2493 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2494
2495 [BZ #18635]
2496 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2497 before return label.
2498
2499 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2500
2501 [BZ #18661]
2502 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2503 when calling __errno_location.
2504 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2505 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2506
2507 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2508
2509 [BZ #18661]
2510 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2511 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2512 __gettimeofday.
2513
2514 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2515
2516 [BZ #18661]
2517 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2518 (__start_context): Don't use pop to restore %rdi so that stack
2519 is aligned to 16 bytes when calling __setcontext.
2520
2521 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2524 only for libc.
2525 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2526
2527 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2528
2529 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2530 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2531 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2532
2533 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2534
2535 * string/memccpy.c (memccpy):
2536 Improve performance by using memchr/memcpy/__mempcpy.
2537
2538 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2539
2540 * string/strncpy.c (strncpy):
2541 Improve performance by using __strnlen/memcpy.
2542
2543 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2544
2545 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2546 Optimize to avoid an unnecessary FPCR read.
2547
2548 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2549
2550 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2551 Optimize to reduce FPCR/FPSR accesses.
2552
2553 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2556 dead->data[category] != NULL.
2557
2558 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2559
2560 [BZ #18647]
2561 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2562 and |x| close to 1, use absolute value of x when computing log.
2563 * math/auto-libm-test-in: Add more tests of pow.
2564 * math/auto-libm-test-out: Regenerated.
2565
2566 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2567
2568 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2569 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2570 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2571
2572 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2573
2574 [BZ #18525]
2575 * locales/km_KH: Remove timezone definition.
2576 * locales/lo_LA: Likewise.
2577 * locales/my_MM: Likewise.
2578 * locales/nan_TW@latin: Likewise.
2579 * locales/th_TH: Likewise.
2580 * locales/uk_UA: Likewise.
2581
2582 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2583
2584 [BZ #18265]
2585 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2586 (wcsncat): Likewise.
2587 (wcscmp): Likewise.
2588 (wcsncmp): Likewise.
2589
2590 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2591
2592 * test-skeleton.c (usage): New function.
2593 (main): Call usage when opt is '?'.
2594
2595 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2596
2597 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2598 before first use.
2599
2600 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2601
2602 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2603 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2604 in there too.
2605
2606 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2607
2608 * version.h (RELEASE): Set to "development".
2609 (VERSION): Set to "2.22.90"
2610
2611 * version.h (RELEASE): Set to "stable".
2612 (VERSION): Set to "2.22"
2613 * include/features.h (__GLIBC_MINOR__): Set to 22.
2614
2615 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2616
2617 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2618 Restructure macro to avoid "value computed is not used" warning.
2619 (atomic_compare_and_exchange_val_acq): Likewise.
2620
2621 2015-08-04 Andreas Schwab <schwab@suse.de>
2622
2623 [BZ #18635]
2624 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2625 ret.
2626 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2627
2628 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2629
2630 * po/pl.po: Updated translation.
2631 * po/uk.po: Likewise.
2632 * po/fi.po: Likewise.
2633 * po/ko.po: Likewise.
2634 * po/ru.po: Likewise.
2635 * po/vi.po: Likewise.
2636
2637 2015-07-31 Zack Weinberg <zackw@panix.com>
2638
2639 [BZ #18681]
2640 * regexp.h: Add unconditional #warning stating that this header
2641 will be removed soon. Revise banner comment to match.
2642 (compile): Consistently use ERROR instead of RETURN to report
2643 errors (partial fix for bz#18681).
2644 * regexp.c: Don't include regexp.h. Remove some unnecessary
2645 declarations.
2646
2647 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2648
2649 * po/libc.pot: Regenerated.
2650
2651 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2652
2653 [BZ #18740]
2654 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2655 float-vlen4-arch-ext-cflags): Removed.
2656 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2657 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2658
2659 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2660
2661 [BZ #14113]
2662 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2663 aligned to __aligned__.
2664 (pthread_cond_t, pthread_rwlock_t): Likewise.
2665
2666 2015-07-30 Torvald Riegel <triegel@redhat.com>
2667
2668 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2669
2670 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2671
2672 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2673 (struct sigaction): Change sa_flags from a long to an int, and add
2674 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2675
2676 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2677
2678 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2679 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2680 sysdeps/generic/sysdep.h include.
2681 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2682 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2683 sysdeps/hppa/sysdep.h.
2684 (ENTRY, PSEUDO): Undefine before defining.
2685
2686 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2687
2688 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2689 from scratch to use INTERNAL_SYSCALL.
2690
2691 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2692
2693 [BZ #18078]
2694 * scripts/check-localplt.awk: Support alternate relocations.
2695 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2696 sections.
2697 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2698 malloc entries with + REL R_386_GLOB_DAT.
2699 * sysdeps/x86_64/localplt.data: New file.
2700
2701 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2702
2703 [BZ #18731]
2704 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2705 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2706 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2707
2708 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2709
2710 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2711
2712 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2713
2714 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2715 directly in terms of __sync_fetch_and_add and delete (int) cast.
2716
2717 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2718
2719 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2720 the -D_ASM_IA64_CURRENT_H flag.
2721
2722 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2723
2724 [BZ #18641]
2725 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2726
2727 2015-07-27 Andreas Schwab <schwab@suse.de>
2728
2729 * conform/conformtest.pl (checknamespace): Filter out string
2730 literals while tokenizing.
2731
2732 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2733
2734 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2735 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2736 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2737
2738 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2739
2740 * nptl/tst-join7mod.c: Add #include <string.h>.
2741
2742 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2743
2744 * sysdeps/nios2/libm-test-ulps: Update.
2745
2746 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2747
2748 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2749 Fix order of arguments to the rt_sigprocmask syscall.
2750 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2751 Likewise.
2752
2753 2015-07-24 Roland McGrath <roland@hack.frob.com>
2754
2755 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2756
2757 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2758
2759 [BZ #18457]
2760 * nptl/Makefile (tests): New test case tst-join7.
2761 (modules-names): New test case module tst-join7mod.
2762 * nptl/tst-join7.c: New file.
2763 * nptl/tst-join7mod.c: New file.
2764 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2765 all translation units in libc.so, libpthread.so and rtld.
2766
2767 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2768
2769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2770
2771 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2772
2773 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2774 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2775 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2776 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2777 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2778 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2779 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2780 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2781 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2782 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2783 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2784 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2785 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2786 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2787 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2788 implementation.
2789
2790 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2791
2792 [BZ #17711]
2793 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2794 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2795 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2796 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2797 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2798 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2799
2800 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2801
2802 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2803 instead of just saying load lock in the comments.
2804
2805 2015-07-23 Roland McGrath <roland@hack.frob.com>
2806
2807 * sysdeps/unix/Subdirs: Moved ...
2808 * sysdeps/posix/Subdirs: ... here.
2809 * login/pty.h (struct termios, struct winsize): Add forward decls.
2810 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2811 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2812 * sysdeps/arm/nacl/libc.abilist: Updated.
2813 * sysdeps/nacl/libutil.abilist: New file.
2814
2815 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2816 (SIGWINCH): New macro.
2817
2818 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2819 * sysdeps/arm/nacl/libc.abilist: Add it.
2820
2821 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2822
2823 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2824
2825 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2826
2827 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2828 Swap __glibc_reserved0 and sa_flags order.
2829
2830 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2831
2832 [BZ #18657]
2833 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2834 are pending TLS destructor calls.
2835 * include/link.h (struct link_map): Add concurrency note for
2836 L_TLS_DTOR_COUNT.
2837 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2838 Don't touch the link map flag. Atomically increment
2839 l_tls_dtor_count.
2840 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2841 Avoid taking the load lock and don't touch the link map flag.
2842 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2843 * stdlib/Makefile (tests): Use it.
2844 * stdlib/tst-tls-atexit.c (do_test): dlopen
2845 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2846 to allow tst-tls-atexit-nodelete test case to use it.
2847
2848 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2849
2850 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2851 to bits/types.h.
2852 (msgqnum_t): New typedef.
2853 (msglen_t): Likewise.
2854 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2855 and msg_qbytes type to msglen_t.
2856
2857 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2858
2859 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2860 pad0 to __glibc_reserved0.
2861 (struct stat64): Likewise.
2862
2863 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2864
2865 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2866 Change sa_flags from a long to an int and add __glibc_reserved0 before
2867 it for padding.
2868
2869 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2870
2871 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2872 anonymous by deleting "siginfo" name.
2873
2874 2015-07-21 Roland McGrath <roland@hack.frob.com>
2875
2876 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2877 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2878 rather than __nacl_irt_filename.
2879 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2880
2881 * NEWS: New item for arm-nacl port.
2882 * sysdeps/arm/nacl/libc.abilist: New file.
2883 * sysdeps/nacl/ld.abilist: New file.
2884 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2885 * sysdeps/nacl/libanl.abilist: New file.
2886 * sysdeps/nacl/libcrypt.abilist: New file.
2887 * sysdeps/nacl/libdl.abilist: New file.
2888 * sysdeps/nacl/libm.abilist: New file.
2889 * sysdeps/nacl/libpthread.abilist: New file.
2890 * sysdeps/nacl/libresolv.abilist: New file.
2891 * sysdeps/nacl/librt.abilist: New file.
2892
2893 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2894
2895 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2896 __startcontext to initialize the new context.
2897 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2898 up CFI directive to forbid further backtracing.
2899
2900 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2901
2902 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2903 reference.
2904 * charmaps/ANSI_X3.4-1968: Likewise.
2905 * charmaps/BS_4730: Likewise.
2906 * charmaps/BS_VIEWDATA: Likewise.
2907 * charmaps/CP1250: Likewise.
2908 * charmaps/CP1251: Likewise.
2909 * charmaps/CP1252: Likewise.
2910 * charmaps/CP1253: Likewise.
2911 * charmaps/CP1254: Likewise.
2912 * charmaps/CP1255: Likewise.
2913 * charmaps/CP1256: Likewise.
2914 * charmaps/CSN_369103: Likewise.
2915 * charmaps/EBCDIC-DK-NO: Likewise.
2916 * charmaps/GB_1988-80: Likewise.
2917 * charmaps/GREEK-CCITT: Likewise.
2918 * charmaps/GREEK7: Likewise.
2919 * charmaps/INIS-8: Likewise.
2920 * charmaps/ISIRI-3342: Likewise.
2921 * charmaps/ISO_2033-1983: Likewise.
2922 * charmaps/ISO_5427-EXT: Likewise.
2923 * locales/POSIX: Likewise.
2924 * locales/ar_SA: Likewise.
2925 * locales/be_BY: Likewise.
2926 * locales/be_BY@latin: Likewise.
2927 * locales/ca_ES: Likewise.
2928 * locales/cs_CZ: Likewise.
2929 * locales/da_DK: Likewise.
2930 * locales/de_BE: Likewise.
2931 * locales/de_CH: Likewise.
2932 * locales/de_LU: Likewise.
2933 * locales/en_AU: Likewise.
2934 * locales/en_BW: Likewise.
2935 * locales/en_CA: Likewise.
2936 * locales/en_DK: Likewise.
2937 * locales/en_GB: Likewise.
2938 * locales/en_IE: Likewise.
2939 * locales/en_NZ: Likewise.
2940 * locales/en_ZA: Likewise.
2941 * locales/en_ZW: Likewise.
2942 * locales/es_AR: Likewise.
2943 * locales/es_BO: Likewise.
2944 * locales/es_CL: Likewise.
2945 * locales/es_CO: Likewise.
2946 * locales/es_DO: Likewise.
2947 * locales/es_EC: Likewise.
2948 * locales/es_ES: Likewise.
2949 * locales/es_HN: Likewise.
2950 * locales/es_MX: Likewise.
2951 * locales/es_PA: Likewise.
2952 * locales/es_PE: Likewise.
2953 * locales/es_PY: Likewise.
2954 * locales/es_SV: Likewise.
2955 * locales/es_US: Likewise.
2956 * locales/es_UY: Likewise.
2957 * locales/es_VE: Likewise.
2958 * locales/et_EE: Likewise.
2959 * locales/fa_IR: Likewise.
2960 * locales/fo_FO: Likewise.
2961 * locales/fr_CA: Likewise.
2962 * locales/fr_CH: Likewise.
2963 * locales/gv_GB: Likewise.
2964 * locales/he_IL: Likewise.
2965 * locales/hr_HR: Likewise.
2966 * locales/id_ID: Likewise.
2967 * locales/is_IS: Likewise.
2968 * locales/it_CH: Likewise.
2969 * locales/iw_IL: Likewise.
2970 * locales/kl_GL: Likewise.
2971 * locales/ko_KR: Likewise.
2972 * locales/kw_GB: Likewise.
2973 * locales/lg_UG: Likewise.
2974 * locales/lt_LT: Likewise.
2975 * locales/lv_LV: Likewise.
2976 * locales/mi_NZ: Likewise.
2977 * locales/nhn_MX: Likewise.
2978 * locales/nl_BE: Likewise.
2979 * locales/pl_PL: Likewise.
2980 * locales/sk_SK: Likewise.
2981 * locales/sl_SI: Likewise.
2982 * locales/sv_FI: Likewise.
2983 * locales/tl_PH: Likewise.
2984 * locales/tr_TR: Likewise.
2985 * locales/vi_VN: Likewise.
2986
2987 2015-07-21 Khem Raj <raj.khem@gmail.com>
2988
2989 [BZ #17475]
2990 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2991 of tu_IN and bh_IN.
2992
2993 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2994
2995 [BZ #18694]
2996 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2997 bits/wordsize.h.
2998 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2999
3000 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3001
3002 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3003 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3004 (spawn_thread): New function.
3005 (load): Rename to reg_dtor_and_close. Move dlopen to...
3006 (do_test): ... here. Use IS_LOADED to test for its
3007 availability.
3008
3009 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3010
3011 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3012
3013 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3014
3015 [BZ #18696]
3016 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3017 si_addr_bnd.
3018 (si_lower): New.
3019 (si_upper): Likewise.
3020
3021 2015-07-16 David S. Miller <davem@davemloft.net>
3022
3023 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3024
3025 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3026
3027 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3028 buffer.
3029 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3030 fail output information.
3031
3032 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3033
3034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3035 and strstr-ppc64..
3036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3037 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3038 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3039 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3040 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3041
3042 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3043
3044 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3045 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3046 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3047 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3048
3049 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3050
3051 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3052 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3053 rtld_hidden_proto.
3054 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3055
3056 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3057
3058 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3059 the test can fail.
3060
3061 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3062
3063 [BZ #18676]
3064 * elf/tst-nodelete-opened.c: New test case.
3065 * elf/tst-nodelete-opened-lib.c: New test case module.
3066 * elf/Makefile (tests, modules-names): Use them.
3067 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3068 early.
3069
3070 2015-07-15 David S. Miller <davem@davemloft.net>
3071
3072 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3073 futex-intenal.h
3074 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3075 * sysdeps/sparc/sparc64/Makefile: Likewise.
3076 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3077 Remove space from macro define.
3078 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3079
3080 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3081
3082 [BZ #17475]
3083 * locale/iso-639.def: Update Bhili and Tulu language codes as
3084 per iso639-3.
3085
3086 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3087
3088 * elf/tst-leaks1.c (main): Converted to ...
3089 (do_test): ... this.
3090 (TEST_FUNCTION): New macro.
3091 Include test-skeleton.c.
3092 * localedata/tst-langinfo.c (main): Converted to ...
3093 (do_test): ... this.
3094 (TEST_FUNCTION): New macro.
3095 Include test-skeleton.c.
3096 * math/test-fpucw.c (main): Converted to ...
3097 (do_test): ... this.
3098 (TEST_FUNCTION): New macro.
3099 Include test-skeleton.c.
3100 * math/test-tgmath.c (main): Converted to ...
3101 (do_test): ... this.
3102 (TEST_FUNCTION): New macro.
3103 Include test-skeleton.c.
3104 * math/test-tgmath2.c (main): Converted to ...
3105 (do_test): ... this.
3106 (TEST_FUNCTION): New macro.
3107 Include test-skeleton.c.
3108 * setjmp/tst-setjmp.c (main): Converted to ...
3109 (do_test): ... this.
3110 (TEST_FUNCTION): New macro.
3111 Include test-skeleton.c.
3112 * stdio-common/tst-sscanf.c (main): Converted to ...
3113 (do_test): ... this.
3114 (TEST_FUNCTION): New macro.
3115 Include test-skeleton.c.
3116 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3117 (do_test): ... this.
3118 (TEST_FUNCTION): New macro.
3119 Include test-skeleton.c.
3120
3121 * elf/tst-audit9.c (main): Converted to ...
3122 (do_test): ... this.
3123 (TEST_FUNCTION): New macro.
3124 Include test-skeleton.c.
3125
3126 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3127
3128 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3129
3130 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3131
3132 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3133 New variable.
3134
3135 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3136
3137 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3138
3139 2015-07-14 Roland McGrath <roland@hack.frob.com>
3140
3141 * sysdeps/generic/dl-fileid.h: New file.
3142 * sysdeps/posix/dl-fileid.h: New file.
3143 * sysdeps/nacl/dl-fileid.h: New file.
3144 * include/link.h: Include <dl-fileid.h>.
3145 (struct link_map): Replace l_dev and l_ino with l_file_id.
3146 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3147 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3148 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3149
3150 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3151
3152 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3153
3154 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3155
3156 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3157 Add iff $CXX is set.
3158 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3159 Likewise.
3160 (tst-nodelete-zmodiff): Likewise.
3161 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3162
3163 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3164
3165 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3166
3167 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3168
3169 * sysdeps/aarch64/fpu/math_private.h
3170 (define math_opt_barrier): Add AArch64 version.
3171 (math_force_eval): Likewise.
3172
3173 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3174
3175 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3176
3177 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3178
3179 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3180 %ld with %jd and cast to intmax_t.
3181 (do_test_length_zero): Likewise.
3182
3183 2015-07-10 Roland McGrath <roland@hack.frob.com>
3184
3185 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3186
3187 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3188
3189 * sysdeps/tile/libm-test-ulps: Regenerated.
3190
3191 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3192 Comment out the whole function, not just its body.
3193
3194 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3195
3196 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3197 locks.
3198
3199 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3200
3201 2015-07-10 Torvald Riegel <triegel@redhat.com>
3202
3203 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3204 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3205
3206 2015-07-10 Torvald Riegel <triegel@redhat.com>
3207
3208 * sysdeps/nptl/futex-internal.h: New file.
3209 * sysdeps/nacl/futex-internal.h: New file.
3210 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3211 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3212 error checking.
3213 (setxid_unmark_thread): Likewise.
3214 (__nptl_setxid): Likewise.
3215 (__wait_lookup_done): Likewise.
3216 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3217 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3218 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3219 * nptl/pthread_once.c (clear_once_control): Likewise.
3220 (__pthread_once_slow): Likewise.
3221 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3222 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3223 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3224 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3225 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3226 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3227 Likewise.
3228 (__pthread_rwlock_rdlock): Likewise.
3229 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3230 Likewise.
3231 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3232 Likewise.
3233 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3234 Likewise.
3235 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3236 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3237 Likewise.
3238 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3239 __ASSUME_PRIVATE_FUTEX check.
3240 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3241 Check that shared futexes are supported.
3242 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3243 wrappers with error checking.
3244 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3245 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3246 * nptl/pthread_barrierattr_setpshared.c
3247 (pthread_barrierattr_setpshared): Check that shared futexes are
3248 supported.
3249 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3250 Likewise.
3251 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3252 Likewise.
3253 * nptl/sem_init.c (futex_private_if_supported): Remove.
3254 (__new_sem_init): Adapt and check that shared futexes are supported.
3255 * nptl/sem_open.c (sem_open): Likewise.
3256 * nptl/sem_post.c (futex_wake): Remove.
3257 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3258 (do_futex_wait): Use futex wrappers with error checking.
3259 * nptl/sem_wait.c: Include lowlevellock.h.
3260 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3261 Use futex_supports_pshared.
3262 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3263 Use futex wrappers with error checking.
3264 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3265 Likewise.
3266 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3267 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3268 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3269 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3270 (futex_wake): Likewise.
3271 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3272 (do_futex_wait): Use futex wrappers with error checking.
3273 (__new_sem_wait_slow): Update EINTR handling.
3274 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3275
3276 2015-07-09 Martin Sebor <msebor@redhat.com>
3277
3278 [BZ #18435]
3279 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3280 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3281 * nptl/Makefile (test-xfail-tst-once5): Define.
3282
3283 2015-07-09 Roland McGrath <roland@hack.frob.com>
3284
3285 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3286 * elf/dl-minimal.c: For readability, reorder some definitions and
3287 introduce more page breaks. Include <stdio.h>.
3288 (__libc_fatal): New function.
3289
3290 * include/unistd.h: Add rtld_hidden_proto for _exit.
3291 * posix/_exit.c: Add rtld_hidden_def.
3292 * sysdeps/mach/hurd/_exit.c: Likewise.
3293 * sysdeps/nacl/_exit.c: Likewise.
3294 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3295 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3296
3297 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3298
3299 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3300 bndmov encoding with zero displacement.
3301
3302 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3303 H.J. Lu <hongjiu.lu@intel.com>
3304
3305 [BZ #18134]
3306 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3307 * sysdeps/i386/configure: Regenerated.
3308 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3309 (_dl_runtime_profile): Save and restore Intel MPX return bound
3310 registers when calling _dl_call_pltexit. Add
3311 PRESERVE_BND_REGS_PREFIX before return.
3312 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3313 (LRV_BND1_OFFSET): Likewise.
3314 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3315 lrv_bnd1.
3316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3317 typo in bndmov encoding.
3318 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3319 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3320 branch instructions to preserve bounds.
3321
3322 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3323
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3325 [GLIBC_2.22]: Add fmemopen.
3326
3327 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3328
3329 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3330 returns an error, also try to use host port from __mach_host_self for
3331 the __vm_wire call.
3332 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3333
3334 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3335
3336 [BZ #18400]
3337 [BZ #18648]
3338 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3339 Fix pr_uid and pr_gid members.
3340 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3341 definition to elf_greg_t.
3342
3343 2015-07-08 Roland McGrath <roland@hack.frob.com>
3344
3345 [BZ #18383]
3346 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3347 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3348 * sysdeps/arm/configure: Regenerated.
3349 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3350 (test-xfail-tst-tlsalign-static): Variable removed.
3351
3352 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3353 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3354 rather than explicit 'ln -s'.
3355
3356 * resolv/rpc/netdb.h: New file.
3357 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3358
3359 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3360
3361 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3362 length buffers.
3363 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3364 test-skeleton.c.
3365
3366 [BZ #6544]
3367 [BZ #11216]
3368 [BZ #12836]
3369 [BZ #13151]
3370 [BZ #13152]
3371 [BZ #14292]
3372 * include/stdio.h (fmemopen): Remove hidden prototype.
3373 (__fmemopen): Add new hidden prototype.
3374 * libio/Makefile: Add oldfmemopen object.
3375 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3376 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3377 compliance.
3378 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3379 symbol compatibility.
3380 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3381 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3382 fmemopen.
3383 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3384 on append and read mode.
3385 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3386 fmemopen.
3387 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3388 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3389 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3390 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3391 Likewise.
3392 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3393 [GLIBC_2.22]: Likewise.
3394 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3395 Likewise.
3396 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3397 Likewise.
3398 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3399 [GLIBC_2.22]: Likewise.
3400 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3401 [GLIBC_2.22]: Likewise.
3402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3403 [GLIBC_2.22]: Likewise.
3404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3405 [GLIBC_2.22]: Likewise.
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3407 [GLIBC_2.22]: Likewise.
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3409 [GLIBC_2.22]: Likewise.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3411 [GLIBC_2.22]: Likewise.
3412 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3413 Likewise.
3414 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3415 Likewise.
3416 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3417 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3418 [GLIBC_2.22]: Likewise.
3419 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3420 [GLIBC_2.22]: Likewise.
3421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3422 [GLIBC_2.22]: Likewise.
3423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3424 [GLIBC_2.22]: Likewise.
3425 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3426 Likewise.
3427 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3428 Likewise.
3429 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3430 Likewise.
3431 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3432 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3433
3434 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3435
3436 [BZ #18643]
3437 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3438 IPV6_PATHMTU, and IPV6_DONTFRAG.
3439
3440 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3441
3442 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3443 and _IO_UNBUFFERED.
3444 * libio/oldfileops.c: Likewise.
3445 * libio/wfileops.c: Likewise.
3446
3447 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3448
3449 * nscd/selinux.c: Delete selinux/flask.h include.
3450
3451 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3452
3453 [BZ #18641]
3454 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3455 (putpwent): Likewise.
3456 (getpwnam): Likewise.
3457 (getpwent_r): Likewise.
3458 (getpwuid_r): Likewise.
3459 (getpwnam_r): Likewise.
3460 (fgetpwent_r): Likewise.
3461
3462 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3463
3464 [BZ #18557]
3465 * inet/rcmd.c (__validuser2_sa): Check user first to
3466 short-circuit host check.
3467
3468 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3469 Mikhail Ilin <m.ilin@samsung.com>
3470
3471 [BZ #17833]
3472 * elf/Makefile (tests): Add tst-nodelete.
3473 (modules-names): Add tst-nodelete-uniquemod.
3474 (tst-nodelete-uniquemod.so-no-z-defs): New.
3475 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3476 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3477 ($(objpfx)tst-nodelete): Likewise.
3478 ($(objpfx)tst-nodelete.out): Likewise.
3479 (LDFLAGS-tst-nodelete): Likewise.
3480 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3481 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3482 implement forced object deletion.
3483 (_dl_close): Pass false to _dl_close_worker.
3484 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3485 * elf/tst-nodelete.cc: New file.
3486 * elf/tst-nodeletelib.cc: Likewise.
3487 * elf/tst-znodeletelib.cc: Likewise.
3488 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3489
3490 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3491
3492 [BZ #18508]
3493 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3494 Depend on $(libdl).
3495 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3496 is not called infinitely times.
3497 (backtrace_helper): New function.
3498 (trace_arg): New struct.
3499 (st1): Enlarge stack size.
3500 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3501 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3502 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3503 Likewise.
3504
3505 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3506
3507 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3508
3509 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3510
3511 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3512 Include sys/types.h instead of bits/types.h.
3513 Remove inclusion of bits/wordsize.h.
3514
3515 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3518 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3519 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3520 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3521 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3522 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3523
3524 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3525
3526 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3527 link-defines.sym.
3528 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3529 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3530 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3531 and LR_SIZE.
3532 * sysdeps/i386/link-defines.sym: New file.
3533
3534 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3535
3536 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3537 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3538 ($(objpfx)tst-audit3): New rule.
3539 ($(objpfx)tst-audit3.out): Likewise.
3540 * sysdeps/i386/tst-audit3.c: New file.
3541 * sysdeps/i386/tst-audit3.h: Likewise.
3542 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3543 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3544
3545 2015-07-07 Torvald Riegel <triegel@redhat.com>
3546
3547 [BZ #18633]
3548 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3549 pointer in C code.
3550 (__strcat_c): Likewise.
3551 (__strcat_g): Likewise.
3552
3553 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3554
3555 [BZ #18592]
3556 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3557
3558 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3559
3560 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3561 New function. (__ieee754_sqrtf): New function.
3562 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3563 New function.
3564 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3565 New function.
3566
3567 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3568
3569 * sysdeps/ieee754/support.c: Remove unused file.
3570
3571 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3572
3573 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3574 registers instead of d ones so the layout is kernel abi compatible.
3575 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3576 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3577 Likewise.
3578
3579 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3580
3581 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3582
3583 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3584
3585 [BZ #18619]
3586 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3587 and return argument in case of subnormal argument.
3588
3589 2015-07-01 Martin Sebor <msebor@redhat.com>
3590
3591 [BZ #18435]
3592 * nptl/Makefile: Add tst-once5.cc.
3593 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3594 Remove macro redefinitions.
3595 * nptl/tst-once5.cc: New test.
3596
3597 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3598
3599 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3600
3601 * sysdeps/arm/libm-test-ulps: Regenerated.
3602
3603 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3604 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3605
3606 2015-06-30 Torvald Riegel <triegel@redhat.com>
3607
3608 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3609 lll_lock_wait_private and lll_futex_wake probes.
3610
3611 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3612 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3613 Likewise.
3614 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3615 atomic_spin_nop.
3616 * sysdeps/x86_64/bits/atomic.h: Likewise.
3617 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3618 to atomic_spin_nop and move ...
3619 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3620 ... here and ...
3621 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3622 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3623 atomic_spin_nop instead of BUSY_WAIT_NOP.
3624 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3625 Likewise.
3626 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3627 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3628 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3629 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3630 instead of atomic_delay.
3631
3632 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3633
3634 [BZ #18613]
3635 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3636 X_ADJ not X when adjusting exponent.
3637 (__ieee754_gamma_r): Do intermediate computations in
3638 round-to-nearest then adjust overflowing and underflowing results
3639 as needed.
3640 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3641 of X_ADJ not X when adjusting exponent.
3642 (__ieee754_gammaf_r): Do intermediate computations in
3643 round-to-nearest then adjust overflowing and underflowing results
3644 as needed.
3645 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3646 log of X_ADJ not X when adjusting exponent.
3647 (__ieee754_gammal_r): Do intermediate computations in
3648 round-to-nearest then adjust overflowing and underflowing results
3649 as needed. Use 1.0L not 1.0f as numerator of division.
3650 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3651 log of X_ADJ not X when adjusting exponent.
3652 (__ieee754_gammal_r): Do intermediate computations in
3653 round-to-nearest then adjust overflowing and underflowing results
3654 as needed. Use 1.0L not 1.0f as numerator of division.
3655 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3656 of X_ADJ not X when adjusting exponent.
3657 (__ieee754_gammal_r): Do intermediate computations in
3658 round-to-nearest then adjust overflowing and underflowing results
3659 as needed. Use 1.0L not 1.0f as numerator of division.
3660 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3661 to auto-libm-test-in.
3662 (tgamma_test): Use ALL_RM_TEST.
3663 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3664 tests of tgamma with spurious-overflow.
3665 * math/auto-libm-test-out: Regenerated.
3666 * math/gen-libm-have-vector-test.sh: Do not check for START.
3667 * sysdeps/i386/fpu/libm-test-ulps: Update.
3668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3669
3670 [BZ #18612]
3671 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3672 arguments, just return 0.5 times the argument, with underflow
3673 forced as needed.
3674 * math/auto-libm-test-in: Add more tests of j1.
3675 * math/auto-libm-test-out: Regenerated.
3676
3677 [BZ #16559]
3678 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3679 (__ieee754_j1): Force underflow exception for small results.
3680 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3681 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3682 (__ieee754_j1f): Force underflow exception for small results.
3683 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3684 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3685 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3686 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3687 (__ieee754_j1l): Force underflow exception for small results.
3688 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3689 * math/auto-libm-test-in: Add more tests of j1 and jn.
3690 * math/auto-libm-test-out: Regenerated.
3691
3692 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3693 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3694 (PF_MPLS): Likewise.
3695 (AF_IB): Likewise.
3696 (AF_MPLS): Likewise.
3697 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3698 value and macro.
3699 (MS_RMT_MASK): Include MS_LAZYTIME.
3700
3701 2015-06-26 Mel Gorman <mgorman@suse.de>
3702
3703 [BZ #18502]
3704 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3705 already minimal.
3706
3707 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3708
3709 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3710 (DT_MIPS_NUM): Update.
3711 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3712 DT_MIPS_RLD_MAP_REL.
3713
3714 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3715
3716 [BZ #16559]
3717 [BZ #18602]
3718 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3719 round-to-nearest internally then recompute results that
3720 underflowed to zero in the original rounding mode.
3721 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3722 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3724 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3725 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3726 * sysdeps/i386/fpu/libm-test-ulps: Update.
3727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3728
3729 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3730
3731 * NEWS: Fixed description of link with vector math library.
3732
3733 2015-06-25 Andreas Schwab <schwab@suse.de>
3734
3735 [BZ #18549]
3736 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3737 * libio/test-fmemopen.c (do_test): Add test for it.
3738
3739 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 [BZ #17841]
3742 * Makeconfig (no-pie-ldflag): New.
3743 (+link): Set to $(+link-pie) if default to PIE.
3744 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3745 * config.make.in (build-pie-default): New.
3746 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3747 is default. AC_SUBST.
3748 * configure: Regenerated.
3749 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3750
3751 2015-06-24 Roland McGrath <roland@hack.frob.com>
3752
3753 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3754 to 'unsigned int'.
3755
3756 * resolv/gai_misc.h (struct waitlist): Change type of field
3757 counterp to 'volatile unsigned int *'.
3758 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3759 FUTEXADDR and OLDVAL.
3760 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3761 Give local variable TOTAL type 'volatile unsigned int'.
3762 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3763 * resolv/gai_suspend.c (gai_suspend):
3764 Give local variable CNTR type 'unsigned int'.
3765
3766 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3767 counterp to 'volatile unsigned int *'.
3768 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3769 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3770 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3771 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3772 Give local variable TOTAL type 'volatile unsigned int'.
3773 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3774
3775 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3776
3777 [BZ #18383]
3778 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3779 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3780 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3781 comment for i386/x86-64.
3782 (test-xfail-tst-tlsalign-extern-static): Removed.
3783
3784 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3785
3786 * math/test-double.h: New file.
3787 * math/test-float.h: Likewise.
3788 * math/test-ldouble.h: Likewise.
3789 * math/test-math-inline.h: Likewise.
3790 * math/test-math-no-inline.h: Likewise.
3791 * math/test-math-scalar.h: Likewise.
3792 * math/test-math-vector.h: Likewise.
3793 * math/test-vec-loop.h: Remove file. Contents moved into
3794 test-math-vector.h.
3795 * math/libm-test.inc (MATHCONST): Do not document macro.
3796 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3797 and test-math-scalar.h.
3798 (FUNC): Remove macro.
3799 (FUNC_TEST): Likewise.
3800 (FLOAT): Likewise.
3801 (MATHCONST): Likewise.
3802 (PRINTF_EXPR): Likewise.
3803 (PRINTF_XEXPR): Likewise.
3804 (PRINTF_NEXPR): Likewise.
3805 (TEST_DOUBLE): Likewise.
3806 (TEST_MATHVEC): Likewise.
3807 (__NO_MATH_INLINES): Likewise.
3808 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3809 and test-math-scalar.h.
3810 (FUNC): Remove macro.
3811 (FUNC_TEST): Likewise.
3812 (FLOAT): Likewise.
3813 (MATHCONST): Likewise.
3814 (PRINTF_EXPR): Likewise.
3815 (PRINTF_XEXPR): Likewise.
3816 (PRINTF_NEXPR): Likewise.
3817 (TEST_FLOAT): Likewise.
3818 (TEST_MATHVEC): Likewise.
3819 (__NO_MATH_INLINES): Likewise.
3820 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3821 and test-math-scalar.h.
3822 (FUNC): Remove macro.
3823 (FUNC_TEST): Likewise.
3824 (FLOAT): Likewise.
3825 (MATHCONST): Likewise.
3826 (PRINTF_EXPR): Likewise.
3827 (PRINTF_XEXPR): Likewise.
3828 (PRINTF_NEXPR): Likewise.
3829 (TEST_DOUBLE): Likewise.
3830 (TEST_MATHVEC): Likewise.
3831 (TEST_INLINE): Likewise.
3832 (__NO_MATH_INLINES): Likewise.
3833 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3834 test-math-scalar.h.
3835 (FUNC): Remove macro.
3836 (FUNC_TEST): Likewise.
3837 (FLOAT): Likewise.
3838 (MATHCONST): Likewise.
3839 (PRINTF_EXPR): Likewise.
3840 (PRINTF_XEXPR): Likewise.
3841 (PRINTF_NEXPR): Likewise.
3842 (TEST_FLOAT): Likewise.
3843 (TEST_MATHVEC): Likewise.
3844 (TEST_INLINE): Likewise.
3845 (__NO_MATH_INLINES): Likewise.
3846 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3847 and test-math-scalar.h.
3848 (FUNC): Remove macro.
3849 (FUNC_TEST): Likewise.
3850 (FLOAT): Likewise.
3851 (MATHCONST): Likewise.
3852 (PRINTF_EXPR): Likewise.
3853 (PRINTF_XEXPR): Likewise.
3854 (PRINTF_NEXPR): Likewise.
3855 (TEST_LDOUBLE): Likewise.
3856 (TEST_MATHVEC): Likewise.
3857 (TEST_INLINE): Likewise.
3858 (__NO_MATH_INLINES): Likewise.
3859 * math/test-ldouble.c: Include test-ldouble.h,
3860 test-math-no-inline.h and test-math-scalar.h.
3861 (FUNC): Remove macro.
3862 (FUNC_TEST): Likewise.
3863 (FLOAT): Likewise.
3864 (MATHCONST): Likewise.
3865 (PRINTF_EXPR): Likewise.
3866 (PRINTF_XEXPR): Likewise.
3867 (PRINTF_NEXPR): Likewise.
3868 (TEST_LDOUBLE): Likewise.
3869 (TEST_MATHVEC): Likewise.
3870 (__NO_MATH_INLINES): Likewise.
3871 * math/test-double-vlen2.h: Include test-double.h,
3872 test-math-no-inline.h and test-math-vector.h.
3873 (FLOAT): Remove macro.
3874 (FUNC): Likewise.
3875 (MATHCONST): Likewise.
3876 (PRINTF_EXPR): Likewise.
3877 (PRINTF_XEXPR): Likewise.
3878 (PRINTF_NEXPR): Likewise.
3879 (TEST_DOUBLE): Likewise.
3880 (TEST_MATHVEC): Likewise.
3881 (__NO_MATH_INLINES): Likewise.
3882 (CNCT): Likewise.
3883 (CONCAT): Likewise.
3884 (WRAPPER_NAME): Likewise.
3885 (WRAPPER_DECL): Likewise.
3886 (WRAPPER_DECL_ff): Likewise.
3887 (WRAPPER_DECL_fFF): Likewise.
3888 (VECTOR_WRAPPER): Likewise.
3889 (VECTOR_WRAPPER_ff): Likewise.
3890 (VECTOR_WRAPPER_fFF): Likewise.
3891 (VEC_LEN): New macro.
3892 * math/test-double-vlen4.h: Include test-double.h,
3893 test-math-no-inline.h and test-math-vector.h.
3894 (FLOAT): Remove macro.
3895 (FUNC): Likewise.
3896 (MATHCONST): Likewise.
3897 (PRINTF_EXPR): Likewise.
3898 (PRINTF_XEXPR): Likewise.
3899 (PRINTF_NEXPR): Likewise.
3900 (TEST_DOUBLE): Likewise.
3901 (TEST_MATHVEC): Likewise.
3902 (__NO_MATH_INLINES): Likewise.
3903 (CNCT): Likewise.
3904 (CONCAT): Likewise.
3905 (WRAPPER_NAME): Likewise.
3906 (WRAPPER_DECL): Likewise.
3907 (WRAPPER_DECL_ff): Likewise.
3908 (WRAPPER_DECL_fFF): Likewise.
3909 (VECTOR_WRAPPER): Likewise.
3910 (VECTOR_WRAPPER_ff): Likewise.
3911 (VECTOR_WRAPPER_fFF): Likewise.
3912 (VEC_LEN): New macro.
3913 * math/test-double-vlen8.h: Include test-double.h,
3914 test-math-no-inline.h and test-math-vector.h.
3915 (FLOAT): Remove macro.
3916 (FUNC): Likewise.
3917 (MATHCONST): Likewise.
3918 (PRINTF_EXPR): Likewise.
3919 (PRINTF_XEXPR): Likewise.
3920 (PRINTF_NEXPR): Likewise.
3921 (TEST_DOUBLE): Likewise.
3922 (TEST_MATHVEC): Likewise.
3923 (__NO_MATH_INLINES): Likewise.
3924 (CNCT): Likewise.
3925 (CONCAT): Likewise.
3926 (WRAPPER_NAME): Likewise.
3927 (WRAPPER_DECL): Likewise.
3928 (WRAPPER_DECL_ff): Likewise.
3929 (WRAPPER_DECL_fFF): Likewise.
3930 (VECTOR_WRAPPER): Likewise.
3931 (VECTOR_WRAPPER_ff): Likewise.
3932 (VECTOR_WRAPPER_fFF): Likewise.
3933 (VEC_LEN): New macro.
3934 * math/test-float-vlen4.h: Include test-float.h,
3935 test-math-no-inline.h and test-math-vector.h.
3936 (FLOAT): Remove macro.
3937 (FUNC): Likewise.
3938 (MATHCONST): Likewise.
3939 (PRINTF_EXPR): Likewise.
3940 (PRINTF_XEXPR): Likewise.
3941 (PRINTF_NEXPR): Likewise.
3942 (TEST_FLOAT): Likewise.
3943 (TEST_MATHVEC): Likewise.
3944 (__NO_MATH_INLINES): Likewise.
3945 (CNCT): Likewise.
3946 (CONCAT): Likewise.
3947 (WRAPPER_NAME): Likewise.
3948 (WRAPPER_DECL): Likewise.
3949 (WRAPPER_DECL_ff): Likewise.
3950 (WRAPPER_DECL_fFF): Likewise.
3951 (VECTOR_WRAPPER): Likewise.
3952 (VECTOR_WRAPPER_ff): Likewise.
3953 (VECTOR_WRAPPER_fFF): Likewise.
3954 (VEC_LEN): New macro.
3955 * math/test-float-vlen8.h: Include test-float.h,
3956 test-math-no-inline.h and test-math-vector.h.
3957 (FLOAT): Remove macro.
3958 (FUNC): Likewise.
3959 (MATHCONST): Likewise.
3960 (PRINTF_EXPR): Likewise.
3961 (PRINTF_XEXPR): Likewise.
3962 (PRINTF_NEXPR): Likewise.
3963 (TEST_FLOAT): Likewise.
3964 (TEST_MATHVEC): Likewise.
3965 (__NO_MATH_INLINES): Likewise.
3966 (CNCT): Likewise.
3967 (CONCAT): Likewise.
3968 (WRAPPER_NAME): Likewise.
3969 (WRAPPER_DECL): Likewise.
3970 (WRAPPER_DECL_ff): Likewise.
3971 (WRAPPER_DECL_fFF): Likewise.
3972 (VECTOR_WRAPPER): Likewise.
3973 (VECTOR_WRAPPER_ff): Likewise.
3974 (VECTOR_WRAPPER_fFF): Likewise.
3975 (VEC_LEN): New macro.
3976 * math/test-float-vlen16.h: Include test-float.h,
3977 test-math-no-inline.h and test-math-vector.h.
3978 (FLOAT): Remove macro.
3979 (FUNC): Likewise.
3980 (MATHCONST): Likewise.
3981 (PRINTF_EXPR): Likewise.
3982 (PRINTF_XEXPR): Likewise.
3983 (PRINTF_NEXPR): Likewise.
3984 (TEST_FLOAT): Likewise.
3985 (TEST_MATHVEC): Likewise.
3986 (__NO_MATH_INLINES): Likewise.
3987 (CNCT): Likewise.
3988 (CONCAT): Likewise.
3989 (WRAPPER_NAME): Likewise.
3990 (WRAPPER_DECL): Likewise.
3991 (WRAPPER_DECL_ff): Likewise.
3992 (WRAPPER_DECL_fFF): Likewise.
3993 (VECTOR_WRAPPER): Likewise.
3994 (VECTOR_WRAPPER_ff): Likewise.
3995 (VECTOR_WRAPPER_fFF): Likewise.
3996 (VEC_LEN): New macro.
3997 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3998 test-vec-loop.h.
3999 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4000 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4001 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4002 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4003 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4004 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4005 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4006
4007 2015-06-24 Roland McGrath <roland@hack.frob.com>
4008
4009 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4010 (__getlogin_r): ... this.
4011
4012 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4013
4014 [BZ #18594]
4015 * math/s_ccosh.c (__ccosh): Compare with least normal value
4016 instead of comparing class with FP_SUBNORMAL.
4017 * math/s_ccoshf.c (__ccoshf): Likewise.
4018 * math/s_ccoshl.c (__ccoshl): Likewise.
4019 * math/s_cexp.c (__cexp): Likewise.
4020 * math/s_cexpf.c (__cexpf): Likewise.
4021 * math/s_cexpl.c (__cexpl): Likewise.
4022 * math/s_csin.c (__csin): Likewise.
4023 * math/s_csinf.c (__csinf): Likewise.
4024 * math/s_csinh.c (__csinh): Likewise.
4025 * math/s_csinhf.c (__csinhf): Likewise.
4026 * math/s_csinhl.c (__csinhl): Likewise.
4027 * math/s_csinl.c (__csinl): Likewise.
4028 * math/s_ctan.c (__ctan): Likewise.
4029 * math/s_ctanf.c (__ctanf): Likewise.
4030 * math/s_ctanh.c (__ctanh): Likewise.
4031 * math/s_ctanhf.c (__ctanhf): Likewise.
4032 * math/s_ctanhl.c (__ctanhl): Likewise.
4033 * math/s_ctanl.c (__ctanl): Likewise.
4034 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4035 csin, csinh, ctan and ctanh.
4036 * math/auto-libm-test-out: Regenerated.
4037 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4038 * sysdeps/i386/fpu/libm-test-ulps: Update.
4039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4040
4041 2015-06-24 Roland McGrath <roland@hack.frob.com>
4042
4043 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4044 return value is wrong, print the expected value too.
4045
4046 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4047
4048 [BZ #18585]
4049 * elf/readlib.c (is_gdb_python_file): New.
4050 (process_file): Don't issue errors on filenames with -gdb.py
4051 suffix.
4052
4053 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4054
4055 * math/auto-libm-test-in: Add more tests of csin and csinh.
4056 * math/auto-libm-test-out: Regenerated.
4057 * math/libm-test.inc (csin_test_data): Remove tests moved to
4058 auto-libm-test-in.
4059 (csinh_test_data): Likewise.
4060
4061 [BZ #18593]
4062 * math/s_csin.c (__csin): Negate before rather than after possibly
4063 overflowing multiplication.
4064 * math/s_csinf.c (__csinf): Likewise.
4065 * math/s_csinh.c (__csinh): Likewise.
4066 * math/s_csinhf.c (__csinhf): Likewise.
4067 * math/s_csinhl.c (__csinhl): Likewise.
4068 * math/s_csinl.c (__csinl): Likewise.
4069 * math/auto-libm-test-in: Add some tests of csin and csinh.
4070 * math/auto-libm-test-out: Regenerated.
4071 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4072 (csinh_test_data): Likewise.
4073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4074
4075 [BZ #18586]
4076 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4077 underflow exception for small results.
4078
4079 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4080
4081 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4082 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4083 variable and included header.
4084 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4085 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4086 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4087 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4088 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4089 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4090 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4091 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4092 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4093 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4094 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4095 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4096 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4097 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4098 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4099 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4100
4101 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4102
4103 [BZ #16526]
4104 [BZ #16538]
4105 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4106 (__sin): Force underflow exception for arguments with small
4107 absolute value.
4108 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4109 (__kernel_sinf): Force underflow exception for arguments with
4110 small absolute value.
4111 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4112 (__kernel_sincosl): Force underflow exception for arguments with
4113 small absolute value.
4114 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4115 (__kernel_sinl): Force underflow exception for arguments with
4116 small absolute value.
4117 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4118 (__kernel_sincosl): Force underflow exception for arguments with
4119 small absolute value.
4120 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4121 (__kernel_sinl): Force underflow exception for arguments with
4122 small absolute value.
4123 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4124 (__kernel_sinl): Force underflow exception for arguments with
4125 small absolute value.
4126 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4127 (__kernel_sinf): Force underflow exception for arguments with
4128 small absolute value.
4129 * math/auto-libm-test-in: Add more tests of sin and sincos.
4130 * math/auto-libm-test-out: Regenerated.
4131
4132 [BZ #18245]
4133 [BZ #18583]
4134 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4135 (__kernel_standard_l): Use feholdexcept and fesetenv around
4136 conversion to double instead of special-casing overflow and
4137 underflow.
4138 * math/libm-test.inc (fmod_test_data): Add more tests.
4139 (remainder_test_data): Likewise.
4140 (sqrt_test_data): Likewise.
4141
4142 2015-06-23 Torvald Riegel <triegel@redhat.com>
4143
4144 [BZ #17403]
4145 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4146 atomic_read_barrier, atomic_write_barrier): Define.
4147 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4148 atomic_read_barrier, atomic_write_barrier): Define.
4149
4150 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4151
4152 * math/Makefile [$(PERL) != no]
4153 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4154 dependency on libm-test.stmp below the inclusion of Rules.
4155
4156 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4157
4158 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4159 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4160 and included header.
4161 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4162 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4163 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4164 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4165 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4166 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4167 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4168 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4169 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4170 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4171 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4172 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4173 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4174 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4175 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4176 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4177 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4178 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4179 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4180
4181 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4182
4183 [BZ #18371]
4184 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4185 intermediate but not final result might underflow.
4186 * math/s_csqrtf.c (__csqrtf): Likewise.
4187 * math/s_csqrtl.c (__csqrtl): Likewise.
4188 * math/auto-libm-test-in: Add more tests of csqrt.
4189 * math/auto-libm-test-out: Regenerated.
4190 * sysdeps/i386/fpu/libm-test-ulps: Update.
4191
4192 [BZ #18219]
4193 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4194 threshold on absolute value of exponent for which scaling is used.
4195 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4196 * math/auto-libm-test-in: Add more tests of exp2.
4197 * math/auto-libm-test-out: Regenerated.
4198
4199 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4200
4201 [BZ #17977]
4202 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4203 when initializing interface list, based on the bug analysis
4204 and the patch proposed by Eric Newton.
4205 * resolv/tst-res_hconf_reorder.c: New test.
4206 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4207 tst-res_hconf_reorder.
4208 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4209 and $(shared-thread-library).
4210 (tst-res_hconf_reorder-ENV): New variable.
4211
4212 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4213 in comment.
4214
4215 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4216
4217 [BZ #16353]
4218 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4219 (__expm1): Force underflow exception for arguments with small
4220 absolute value.
4221 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4222 (__expm1f): Force underflow exception for arguments with small
4223 absolute value.
4224 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4225 (__expm1): Force underflow exception for arguments with small
4226 absolute value.
4227 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4228 (__expm1f): Force underflow exception for arguments with small
4229 absolute value.
4230 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4231 Check for small arguments before calling __expm1.
4232 * math/auto-libm-test-in: Do not mark underflow exceptions as
4233 possibly missing for bug 16353.
4234 * math/auto-libm-test-out: Regenerated.
4235
4236 2015-06-22 Andreas Schwab <schwab@suse.de>
4237
4238 [BZ #18513]
4239 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4240 PTR queries.
4241
4242 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4243
4244 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4245
4246 * string/strcoll_l.c: Remove unused struct element idxnow.
4247
4248 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4249
4250 [BZ #18569]
4251 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4252 underflow and return argument in case of subnormal argument.
4253 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4254 Likewise.
4255 * math/auto-libm-test-in: Add more tests of expm1.
4256 * math/auto-libm-test-out: Regenerated.
4257
4258 [BZ #16361]
4259 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4260 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4261 tiny results.
4262 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4263 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4264 tiny results.
4265 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4266 mark underflow exceptions as possibly missing for bug 16361.
4267 * math/auto-libm-test-out: Regenerated.
4268
4269 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4270
4271 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4272 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4273 Remove variable.
4274 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4275 (test-xfail-XOPEN2K8/utmpx.h/conform).
4276
4277 * conform/conformtest.pl ($xerrors): New variable.
4278 (note_error): New function.
4279 (compiletest): New argument $xfail. Use not_error.
4280 (runtest): Likewise.
4281 (top level): Handle xfail- lines. Update calls to compiletest and
4282 runtest. Handle xfail- and optional- in headers listed with
4283 allow-header.
4284 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4285 (O_EXEC): Likewise.
4286 (O_SEARCH): Likewise.
4287 * conform/data/stropts.h-data (ioctl): Likewise.
4288 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4289 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4290 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4291 (msghdr.msg_controllen): Likewise.
4292 (cmsghdr.cmsg_len): Likewise.
4293 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4294 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4295 variable.
4296 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4297 (test-xfail-XPG4/stropts.h/conform): Likewise.
4298 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4299 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4300 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4301 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4302 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4303 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4304 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4305 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4306 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4307 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4308 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4309 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4310 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4311 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4312 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4313 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4314 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4315 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4316 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4317
4318 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4319
4320 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4321 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4322 definitions for proper unfolding of __MATHDECL_VEC.
4323
4324 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4325
4326 * benchtests/bench-strcoll.c:
4327 Include string.h.
4328 (main): Remove unused variable res.
4329
4330 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4331
4332 * timezone/Makefile (%/UTC %/Universal):
4333 Generate test-result files for UTC and Universal.
4334
4335 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4336
4337 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4338
4339 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4340
4341 [BZ #16350]
4342 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4343 for arguments with small absolute value.
4344 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4345 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4346 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4347 (__asinh): Force underflow exception for arguments with small
4348 absolute value.
4349 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4350 (__asinhf): Force underflow exception for arguments with small
4351 absolute value.
4352 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4353 (__asinhl): Force underflow exception for arguments with small
4354 absolute value.
4355 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4356 (__asinhl): Force underflow exception for arguments with small
4357 absolute value.
4358 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4359 (__asinhl): Force underflow exception for arguments with small
4360 absolute value.
4361 * math/auto-libm-test-in: Do not mark underflow exceptions as
4362 possibly missing for bug 16350.
4363 * math/auto-libm-test-out: Regenerated.
4364
4365 * include/bits/ipc.h: Remove file.
4366 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4367 variable.
4368 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4369 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4370 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4371 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4372 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4373 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4374 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4375 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4376 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4377
4378 * math/auto-libm-test-in: Remove spurious underflow allowance for
4379 tests of cexp.
4380 * math/auto-libm-test-out: Regenerated.
4381
4382 [BZ #18558]
4383 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4384 unconditional definition.
4385 (MCAST_BLOCK_SOURCE): Likewise.
4386 (MCAST_UNBLOCK_SOURCE): Likewise.
4387 (MCAST_LEAVE_GROUP): Likewise.
4388 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4389 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4390 (MCAST_MSFILTER): Likewise.
4391 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4392 Remove variable.
4393 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4394 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4395 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4396 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4397 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4398
4399 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4400
4401 * NEWS: Mention addition of x86_64 vector sincosf.
4402 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4403 * math/test-float-vlen4.h: Likewise.
4404 * math/test-float-vlen8.h: Likewise.
4405 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4406 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4407 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4408 * sysdeps/x86_64/fpu/Versions: New versions added.
4409 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4410 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4411 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4412 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4413 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4414 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4415 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4416 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4417 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4418 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4419 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4420 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4421 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4422 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4423 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4424 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4425 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4426 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4427 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4428 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4429 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4430 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4431 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4432 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4433
4434 * NEWS: Mention addition of x86_64 vector sincos.
4435 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4436 * math/math.h (__MATHDECL_VEC): New macro.
4437 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4438 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4439 declaration under condition.
4440 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4441 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4442 TEST_VEC_LOOP change.
4443 * math/test-double-vlen4.h: Likewise.
4444 * math/test-double-vlen8.h: Likewise.
4445 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4446 * math/test-float-vlen4.h: Likewise.
4447 * math/test-float-vlen8.h: Likewise.
4448 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4449 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4450 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4451 * sysdeps/x86_64/fpu/Versions: New versions added.
4452 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4453 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4454 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4455 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4456 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4457 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4459 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4460 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4461 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4462 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4463 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4464 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4465 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4466 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4467 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4468 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4469 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4470 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4471 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4472 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4473 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4474 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4475 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4476
4477 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4478 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4479 redirections for powf.
4480 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4481 * sysdeps/x86_64/fpu/Versions: New versions added.
4482 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4483 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4484 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4485 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4486 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4487 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4488 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4489 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4490 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4491 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4492 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4493 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4494 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4495 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4496 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4497 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4498 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4499 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4500 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4501 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4502 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4503 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4504 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4505 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4506 * math/test-float-vlen16.h: Fixed 2 argument macro.
4507 * math/test-float-vlen4.h: Likewise.
4508 * math/test-float-vlen8.h: Likewise.
4509 * NEWS: Mention addition of x86_64 vector powf.
4510
4511 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4512
4513 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4514 and redefine.
4515 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4516 and redefine.
4517 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4518 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4520
4521 [BZ #18553]
4522 * resource/getpriority.c (getpriority): Rename to __getpriority
4523 and define as weak alias of __getpriority.
4524 * resource/setpriority.c (setpriority): Rename to __setpriority
4525 and define as weak alias of __setpriority.
4526 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4527 __getpriority and define as weak alias of __getpriority.
4528 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4529 __setpriority and define as weak alias of __setpriority.
4530 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4531 strong name.
4532 (setpriority): Use __setpriority as strong name.
4533 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4534 __getpriority and define as weak alias of __getpriority.
4535 * include/sys/resource.h (__getpriority): Declare. Use
4536 libc_hidden_proto.
4537 (__setpriority): Likewise.
4538 (getpriority): Don't use libc_hidden_proto.
4539 (setpriority): Likewise.
4540 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4541 getpriority. Call __setpriority instead of setpriority.
4542 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4543 Remove variable.
4544
4545 [BZ #18547]
4546 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4547 as weak alias of __getttynam. Use prototype function definition.
4548 Call __setttyent, __getttyent and __endttyent instead of
4549 setttyent, getttyent and endttyent.
4550 (getttyent): Rename to __getttyent and define as weak alias of
4551 __getttyent. Call __setttyent instead of setttyent. Call
4552 __fgets_unlocked instead of fgets_unlocked.
4553 (setttyent): Rename to __setttyent and define as weak alias of
4554 __setttyent.
4555 (endttyent): Rename to __endttyent and define as weak alias of
4556 __endttyent.
4557 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4558 (__setttyent): Likewise.
4559 (__endttyent): Likewise.
4560 (getttyent): Don't use libc_hidden_proto.
4561 (setttyent): Likewise.
4562 (endttyent): Likewise.
4563 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4564 __endttyent instead of setttyent, getttyent and endttyent.
4565 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4566 Remove variable.
4567
4568 [BZ #18546]
4569 * socket/recv.c (__recv): Use libc_hidden_def.
4570 * socket/socket.c (__socket): Likewise.
4571 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4572 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4573 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4574 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4575 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4576 libc_hidden_def.
4577 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4578 libc_hidden_weak.
4579 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4580 Use libc_hidden_proto.
4581 (__recv): Likewise.
4582 * socket/Versions (libc): Export __recv and __socket at version
4583 GLIBC_PRIVATE.
4584 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4585 instead of recv.
4586 (init_mq_netlink): Call __socket instead of socket.
4587 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4588 Remove variable.
4589
4590 [BZ #18545]
4591 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4592 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4593 hidden_weak.
4594 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4595 define as alias of __mq_timedsend. Use hidden_weak.
4596 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4597 __mq_timedsend as strong name.
4598 (mq_timedreceive): Use __mq_timedreceive as strong name.
4599 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4600 (__mq_timedreceive): Likewise.
4601 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4602 __mq_timedreceive instead of mq_timedreceive.
4603 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4604 instead of mq_timedsend.
4605 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4606 Remove variable.
4607
4608 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4609 hidden_def and hidden_weak instead of libc_hidden_def and
4610 libc_hidden_weak.
4611 (top level): Refer to hidden_def in comment.
4612 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4613 macro. Use it instead of libc_hidden_def.
4614 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4615 specify __GI_* name explicitly.
4616 (mq_timedreceive): Likewise.
4617 (mq_setattr): Likewise.
4618
4619 [BZ #18544]
4620 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4621 __pthread_barrier_init and define as weak alias of
4622 __pthread_barrier_init.
4623 * sysdeps/sparc/nptl/pthread_barrier_init.c
4624 (pthread_barrier_init): Likewise.
4625 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4626 __pthread_barrier_wait and define as weak alias of
4627 __pthread_barrier_wait.
4628 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4629 (pthread_barrier_wait): Likewise.
4630 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4631 (pthread_barrier_wait): Likewise.
4632 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4633 (pthread_barrier_wait): Likewise.
4634 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4635 (pthread_barrier_wait): Likewise.
4636 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4637 __pthread_barrier_wait at version GLIBC_PRIVATE.
4638 * include/pthread.h (__pthread_barrier_init): Declare.
4639 (__pthread_barrier_wait): Likewise.
4640 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4641 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4642 (helper_thread): Likewise.
4643 (init_mq_netlink): Call __pthread_barrier_init instead of
4644 pthread_barrier_init.
4645
4646 [BZ #18542]
4647 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4648 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4649 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4650 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4651 vswscanf.
4652 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4653 Remove variable.
4654
4655 [BZ #18540]
4656 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4657 strong alias of _IO_fflush. Use libc_hidden_def.
4658 * libio/iofflush_u.c (fflush_unlocked): Rename to
4659 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4660 Use libc_hidden_weak.
4661 * include/stdio.h (__fflush_unlocked): Declare. Use
4662 libc_hidden_proto.
4663 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4664 fflush_unlocked.
4665 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4666 Remove variable.
4667
4668 [BZ #18539]
4669 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4670 define as weak alias of __addseverity.
4671 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4672 Remove variable.
4673 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4674 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4675 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4676
4677 [BZ #18536]
4678 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4679 (__tfind): Likewise.
4680 (__tdelete): Likewise.
4681 (__twalk): Likewise.
4682 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4683 __twalk to GLIBC_PRIVATE.
4684 * include/search.h (__tsearch): Use libc_hidden_proto.
4685 (__tfind): Likewise.
4686 (__tdelete): Likewise.
4687 (__twalk): Likewise.
4688 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4689 Call __tdelete instead of tdelete.
4690 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4691 tfind. Call __tsearch instead of tsearch.
4692 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4693 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4694 Remove variable.
4695 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4696
4697 [BZ #18534]
4698 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4699 (dprintf): Define as a weak alias of __dprintf, not a strong
4700 alias.
4701 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4702 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4703 dprintf.
4704 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4705 Remove variable.
4706 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4707 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4708
4709 [BZ #18533]
4710 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4711 not a strong alias.
4712 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4713 Remove variable.
4714
4715 [BZ #18532]
4716 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4717 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4718 (in6addr_loopback): Rename to __in6addr_loopback and define as
4719 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4720 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4721 libc_hidden_proto.
4722 (__in6addr_any): Likewise.
4723 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4724 in6addr_any.
4725 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4726 variable.
4727 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4728
4729 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4730
4731 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4732 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4733 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4734 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4735 redirections for pow.
4736 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4737 * sysdeps/x86_64/fpu/Versions: New versions added.
4738 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4739 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4740 build of SSE, AVX2 and AVX512 IFUNC versions.
4741 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4742 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4743 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4744 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4745 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4746 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4747 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4748 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4749 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4750 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4751 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4752 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4753 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4754 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4755 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4756 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4757 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4758 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4759 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4760 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4761 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4762 * NEWS: Mention addition of x86_64 vector pow.
4763
4764 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4765 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4766 redirections for expf.
4767 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4768 * sysdeps/x86_64/fpu/Versions: New versions added.
4769 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4770 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4771 build of SSE, AVX2 and AVX512 IFUNC versions.
4772 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4773 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4774 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4775 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4776 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4777 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4778 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4779 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4780 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4781 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4782 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4783 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4784 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4785 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4786 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4787 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4788 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4789 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4790 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4791 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4792 * NEWS: Mention addition of x86_64 vector expf.
4793
4794 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4795 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4796 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4797 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4798 redirections for exp.
4799 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4800 * sysdeps/x86_64/fpu/Versions: New versions added.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4802 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4803 build of SSE, AVX2 and AVX512 IFUNC versions.
4804 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4805 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4806 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4807 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4808 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4809 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4810 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4811 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4812 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4813 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4814 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4815 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4816 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4817 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4818 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4819 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4820 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4821 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4822 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4823 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4824 * NEWS: Mention addition of x86_64 vector exp.
4825
4826 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4827 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4828 redirections for logf.
4829 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4830 * sysdeps/x86_64/fpu/Versions: New versions added.
4831 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4832 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4833 build of SSE, AVX2 and AVX512 IFUNC versions.
4834 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4835 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4836 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4837 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4838 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4839 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4840 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4841 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4842 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4843 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4844 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4845 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4846 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4847 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4848 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4849 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4850 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4851 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4852 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4853 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4854 * NEWS: Mention addition of x86_64 vector logf.
4855
4856 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4857 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4858 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4859 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4860 redirections for log.
4861 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4862 * sysdeps/x86_64/fpu/Versions: New versions added.
4863 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4864 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4865 build of SSE, AVX2 and AVX512 IFUNC versions.
4866 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4867 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4868 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4869 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4870 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4871 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4872 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4873 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4874 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4875 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4876 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4877 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4878 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4879 test.
4880 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4881 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4882 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4883 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4884 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4885 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4886 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4887 * NEWS: Mention addition of x86_64 vector log.
4888
4889 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4890
4891 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4892 cfi_adjust_cfa_offset argument.
4893 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4894 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4895
4896 [BZ #18034]
4897 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4898 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4899 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4900 ordering using ldar.
4901 (_dl_tlsdesc_dynamic): Likewise.
4902 (_dl_tlsdesc_return_lazy): Likewise.
4903 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4904 relaxed atomics instead of volatile and synchronize with release store.
4905 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4906 volatile.
4907 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4908
4909 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4910
4911 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4912 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4913 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4914 * sysdeps/x86_64/fpu/Versions: New versions added.
4915 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4916 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4917 build of SSE, AVX2 and AVX512 IFUNC versions.
4918 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4919 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4920 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4921 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4922 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4923 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4924 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4925 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4926 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4927 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4928 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4929 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4930 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4931 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4932 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4933 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4934 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4935 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4936 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4937 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4938 * NEWS: Mention addition of x86_64 vector sinf.
4939
4940 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4941
4942 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4943 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4944 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4945 Remove variable.
4946 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4947 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4948
4949 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4950
4951 [BZ #18530]
4952 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4953 strong alias of _IO_fputs. Use libc_hidden_def.
4954 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4955 and define as weak alias of __fputs_unlocked. Use
4956 libc_hidden_weak.
4957 * include/stdio.h (__fputs_unlocked): Declare. Use
4958 libc_hidden_proto.
4959 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4960 fputs_unlocked.
4961
4962 [BZ #18529]
4963 * resolv/netdb.h [__USE_POSIX]: Change condition to
4964 [__USE_XOPEN2K].
4965 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4966 not expect.
4967 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4968 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4969 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4970 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4971 [XPG4 || UNIX98] (AI_ALL): Likewise.
4972 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4973 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4974 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4975 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4976 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4977 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4978 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4979 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4980 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4981 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4982 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4983 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4984 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4985 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4986 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4987 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4988 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4989 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4990 [XPG4 || UNIX98] (gai_strerror): Likewise.
4991 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4992 [XPG4 || UNIX98] (getnameinfo): Likewise.
4993
4994 [BZ #18528]
4995 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4996 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4997 __USE_XOPEN2K8].
4998 (getgrent): Likewise.
4999 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5000 expect.
5001 [XPG3 || POSIX2008] (endgrent): Likewise.
5002 [XPG3] (setgrent): Likewise.
5003 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5004 variable.
5005 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5006
5007 [BZ #18527]
5008 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5009 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5010 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5011 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5012 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5013 * include/unistd.h (__getlogin_r): Declare. Use
5014 libc_hidden_proto.
5015 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5016 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5017 variable.
5018 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5019 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5020 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5021
5022 2015-06-12 Martin Sebor <msebor@redhat.com>
5023
5024 [BZ #18512]
5025 * Makerules (check-install-supported): New target.
5026 (install): Add check-install-supported as a dependency.
5027 * manual/install.texi (Installing the C Library): Document
5028 that overriding prefix and exec_prefix is not supported.
5029 Mention DESTDIR.
5030 * INSTALL: Regenerate from the above.
5031
5032 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5033
5034 [BZ #18519]
5035 * posix/Versions (libc): Export __libc_pread at version
5036 GLIBC_PRIVATE.
5037 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5038 instead of pread.
5039 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5040 variable.
5041
5042 [BZ #18522]
5043 * misc/efgcvt_r.c
5044 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5045 (cvt_symbol): Use weak_alias instead of strong_alias.
5046 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5047 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5048 Remove variable.
5049 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5050 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5051
5052 [BZ #18520]
5053 * inet/herrno.c (h_errno): Rename to __h_errno.
5054 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5055 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5056 to __h_errno instead of h_errno.
5057 * nptl/herrno.c (h_errno): Rename to __h_errno.
5058 (__h_errno_location): Refer to __h_errno not h_errno.
5059 * resolv/Versions (h_errno): Rename to __h_errno.
5060 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5061 Remove variable.
5062 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5063
5064 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5065
5066 * configure.ac: More strict check for AVX512 assembler support.
5067 * configure: Regenerated.
5068
5069 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5070 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5071 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5072 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5073 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5074 * sysdeps/x86_64/fpu/Versions: New versions added.
5075 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5076 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5077 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5078 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5079 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5080 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5081 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5082 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5083 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5084 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5085 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5086 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5087 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5088 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5089 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5090 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5091 test.
5092 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5093 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5094 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5095 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5096 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5097 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5098 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5099 * NEWS: Mention addition of x86_64 vector sin.
5100
5101 2015-06-11 Florian Weimer <fweimer@redhat.com>
5102
5103 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5104 comment.
5105
5106 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5107
5108 [BZ #18479]
5109 * nptl/pt-interp.c: New file.
5110 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5111 Add pt-interp.
5112 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5113 $(common-objpfx)runtime-linker.h.
5114
5115 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5116
5117 * Makeconfig (+interp): Remove unused variable.
5118 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5119 only. Depend on $(common-objpfx)runtime-linker.h instead of
5120 $(elf-objpfx)runtime-linker.h.
5121 ($(elf-objpfx)runtime-linker.h): Rename to
5122 $(common-objpfx)runtime-linker.h and move ...
5123 * Makerules [$(build-shared) = yes]: ... here.
5124 * elf/interp.c: Include <runtime-linker.h> instead of
5125 <elf/runtime-linker.h>.
5126
5127 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5128
5129 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5130 (__gettimeofday_syscall): Remove vsyscall fallback.
5131 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5132 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5133 Add syscall fallback function.
5134 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5135 if vDSO is not present.
5136 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5137 fallback function.
5138 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5139 present.
5140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5141 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5142
5143 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5144
5145 [BZ #18497]
5146 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5147 of wcscmp.
5148 (wcscmp): Define as weak alias of WCSCMP.
5149 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5150 wcscoll.
5151 (USE_HIDDEN_DEF): Define.
5152 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5153 __wcscoll. Don't use libc_hidden_weak.
5154 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5155 wcscmp.
5156 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5157 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5158 __GI_wcscmp.
5159 (weak_alias): Undefine and redefine.
5160 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5161 __wcscmp and define as weak alias of __wcscmp.
5162 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5163 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5164 (__wcscoll): Likewise.
5165 (wcscmp): Don't use libc_hidden_proto.
5166 (wcscoll): Likewise.
5167 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5168 wcscoll.
5169 * posix/regexec.c (check_node_accept_bytes): Likewise.
5170 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5171 variable.
5172 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5173 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5174
5175 [BZ #18507]
5176 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5177 __fstatvfs and define as weak alias of __fstatvfs. Use
5178 libc_hidden_weak.
5179 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5180 and define as weak alias of __statvfs. Use libc_hidden_weak.
5181 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5182 Define as alias of __fstatvfs, not fstatvfs.
5183 (fstatvfs64): Likewise.
5184 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5185 Define as alias of __statvfs, not statvfs.
5186 (statvfs64): Likewise.
5187 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5188 Remove variable.
5189
5190 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5191
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5193 (HAVE_GETCPU_VSYSCALL): Define.
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5195 (HAVE_GETCPU_VSYSCALL): Likewise.
5196 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5197 * sysdeps/unix/sysv/linux/sched_getcpu.c
5198 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5199 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5200 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5201 prototype.
5202 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5203 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5204 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5206 Define.
5207 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5208 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5209 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5210 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5211
5212 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5213
5214 * sysdeps/x86_64/fpu/Makefile: New file.
5215 * sysdeps/x86_64/fpu/Versions: New file.
5216 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5217 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5218 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5219 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5220 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5221 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5222 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5223 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5224 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5225 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5226 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5227 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5228 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5229 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5230 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5231 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5232 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5233 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5234 * sysdeps/x86_64/configure: Regenerated.
5235 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5236 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5237 * manual/install.texi (Configuring and compiling): Document
5238 --disable-mathvec.
5239 * INSTALL: Regenerated.
5240 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5241
5242 * math/Makefile: Added rules for vector tests.
5243 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5244 declaration under condition.
5245 * math/test-double-vlen2.h: New file.
5246 * math/test-double-vlen4.h: New file.
5247 * math/test-double-vlen8.h: New file.
5248 * math/test-vec-loop.h: Added initialization macro.
5249 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5250 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5251 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5252 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5253 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5254 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5255 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5256 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5257 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5258 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5259 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5260
5261 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5262 * sysdeps/x86_64/fpu/Versions: New versions added.
5263 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5264 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5265 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5266 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5267 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5268 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5269 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5270 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5271 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5272 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5273 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5274 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5275 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5276 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5277 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5278 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5279 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5280 * NEWS: Mention addition of x86_64 vector cosf.
5281
5282 * math/Makefile: Added CFLAGS for new tests.
5283 * math/test-float-vlen16.h: New file.
5284 * math/test-float-vlen4.h: New file.
5285 * math/test-float-vlen8.h: New file.
5286 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5287 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5288 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5289 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5290 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5291 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5292 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5293 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5294 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5295 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5296 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5297
5298 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5299
5300 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5301 * locale/programs/ld-ctype.c: Likewise.
5302
5303 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5304
5305 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5306 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5307 bit_ZMM16_31_state): New macro.
5308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5309 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5310
5311 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5312
5313 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5314
5315 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5316
5317 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5318
5319 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5320
5321 [BZ #18498]
5322 * libio/memstream.c (open_memstream): Rename to __open_memstream
5323 and define as weak alias of __open_memstream.
5324 * include/stdio.h (__open_memstream): Declare. Use
5325 libc_hidden_proto.
5326 (open_memstream): Don't use libc_hidden_proto.
5327 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5328 open_memstream.
5329 * posix/getopt.c (_getopt_internal_r): Likewise.
5330 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5331 variable.
5332 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5333 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5334 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5335
5336 [BZ #18496]
5337 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5338 instead of wcrtomb.
5339
5340 [BZ #18483]
5341 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5342 [__USE_XOPEN2K8]. Remove redundant #endif.
5343 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5344 Remove redundant #if.
5345 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5346 Remove variable.
5347 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5348 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5349
5350 [BZ #18495]
5351 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5352 (__iswlower): Likewise.
5353 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5354 (__iswlower): Likewise.
5355 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5356 instead of towlower.
5357 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5358 instead of iswlower. Call __towupper instead of towupper.
5359 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5360 instead of iswalnum.
5361
5362 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5363
5364 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5365 errors to stderr.
5366
5367 2015-06-05 Florian Weimer <fweimer@redhat.com>
5368
5369 [BZ #15661]
5370 [BZ #17322]
5371 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5372 Check for overflow properly. Check for O_APPEND. Ignore large
5373 file system block sizes. Add comments about problems.
5374 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5375 * manual/filesys.texi (Storage Allocation): New node.
5376
5377 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5378
5379 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5380 cancellable syscalls.
5381 (SYS_ify): Add guard to no redefine it.
5382 (INLINE_SYSCALL): Likewise.
5383 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5384 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5385 SYSCALL_CANCEL instead.
5386 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5387 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5388 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5389 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5390 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5391 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5392 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5393 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5394 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5395 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5396 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5397 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5398 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5399 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5400 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5401 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5402 Likewise.
5403 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5404 (__libc_pread64): Likewise.
5405 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5406 (__libc_preadv): Likewise.
5407 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5408 (__libc_readv64): Likewise.
5409 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5410 (__libc_pwrite): Likewise.
5411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5412 (__libc_pwrite64): Likewise.
5413 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5414 (__libc_pwritev): Likewise.
5415 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5416 (__libc_pwritev64): Likewise.
5417 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5418 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5419 (sync_file_range): Likewise.
5420 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5421 Likewise.
5422 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5423 Likewise.
5424 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5425 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5426 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5427 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5428 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5429 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5430 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5431 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5433 Likewise.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5435 (__libc_read64): Likewise.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5437 Likewise.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5439 Likewise.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5441 Likewise.
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5443 Likewise.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5445 (__libc_pread64): Likewise.
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5447 Likewise.
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5449 (__libc_pwrite64): Likewise.
5450 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5451 (sync_file_range): Likewise.
5452 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5453 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5454 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5455 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5456 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5457 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5458 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5459 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5460 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5461 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5462 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5463 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5464 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5465 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5466 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5467 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5468 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5469 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5470 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5471 Likewise.
5472 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5473 Likewise.
5474 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5475 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5476 Likewise.
5477 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5478 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5479 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5480 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5481 Likewise.
5482 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5483 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5484 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5485 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5487
5488 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5489
5490 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5491 Include dl-vdso.
5492 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5493 Use VDSO routines for gettimeofday, clock_gettime if
5494 available.
5495 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5496 Declare VDSO symbols.
5497 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5498 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5499 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5500 * sysdeps/unix/sysv/linux/arm/Versions: Add
5501 __vdso_clock_gettime.
5502
5503 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5504
5505 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5506 be an inline implementation regardless of library is built within.
5507 (open_not_cancel_2): Likewise.
5508 (__read_nocancel): Likewise.
5509 (__write_nocancel): Likewise.
5510 (openat_not_cancel): Likewise.
5511 (openat_not_cancel_3): Likewise.
5512 (openat64_not_cancel): Likewise.
5513 (openat64_not_cancel_3): Likewise.
5514 (__close_nocancel): Likewise.
5515 (pause_not_cancel): Likewise.
5516 (nanosleep_not_cancel): Likewise.
5517 (sigsuspend_not_cancel): Likewise.
5518
5519 2015-06-04 Torvald Riegel <triegel@redhat.com>
5520
5521 [BZ #14958]
5522 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5523 wake-up.
5524 (__pthread_rwlock_rdlock_slow): Likewise.
5525 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5526 Likewise.
5527 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5528 Likewise.
5529 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5530 * nptl/tst-rwlock16.c: New file.
5531 * nptl/Makefile (tests): Add new test.
5532
5533 2015-06-04 Torvald Riegel <triegel@redhat.com>
5534
5535 [BZ #18324]
5536 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5537 missing wake-up of readers.
5538 * nptl/tst-rwlock15.c: New file.
5539 * nptl/Makefile (tests): Add new test.
5540
5541 2015-06-03 Roland McGrath <roland@hack.frob.com>
5542
5543 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5544 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5545 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5546 and __nacl_supply_interface_rtld.
5547 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5548 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5549 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5550 Add __nacl_supply_interface_rtld.
5551 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5552
5553 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5554
5555 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5556 isfinite.
5557 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5558 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5559
5560 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5561
5562 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5563 __signbit* with standard C99 macros.
5564 * math/e_exp10l.c: Likewise.
5565 * math/e_exp2l.c: Likewise.
5566 * math/e_scalb.c: Likewise.
5567 * math/e_scalbf.c: Likewise.
5568 * math/e_scalbl.c: Likewise.
5569 * math/s_ldexp.c: Likewise.
5570 * math/s_ldexpf.c: Likewise.
5571 * math/s_ldexpl.c: Likewise.
5572 * math/w_atan2.c: Likewise.
5573 * math/w_atan2f.c: Likewise.
5574 * math/w_atan2l.c: Likewise.
5575 * math/w_cosh.c: Likewise.
5576 * math/w_coshf.c: Likewise.
5577 * math/w_coshl.c: Likewise.
5578 * math/w_exp10.c: Likewise.
5579 * math/w_exp10f.c: Likewise.
5580 * math/w_exp10l.c: Likewise.
5581 * math/w_exp2.c: Likewise.
5582 * math/w_exp2f.c: Likewise.
5583 * math/w_exp2l.c: Likewise.
5584 * math/w_fmod.c: Likewise.
5585 * math/w_fmodf.c: Likewise.
5586 * math/w_fmodl.c: Likewise.
5587 * math/w_hypot.c: Likewise.
5588 * math/w_hypotf.c: Likewise.
5589 * math/w_hypotl.c: Likewise.
5590 * math/w_jnl.c: Likewise.
5591 * math/w_lgamma.c: Likewise.
5592 * math/w_lgamma_r.c: Likewise.
5593 * math/w_lgammaf.c: Likewise.
5594 * math/w_lgammaf_r.c: Likewise.
5595 * math/w_lgammal.c: Likewise.
5596 * math/w_lgammal_r.c: Likewise.
5597 * math/w_pow.c: Likewise.
5598 * math/w_powf.c: Likewise.
5599 * math/w_powl.c: Likewise.
5600 * math/w_remainder.c: Likewise.
5601 * math/w_remainderf.c: Likewise.
5602 * math/w_remainderl.c: Likewise.
5603 * math/w_scalb.c: Likewise.
5604 * math/w_scalbf.c: Likewise.
5605 * math/w_scalbl.c: Likewise.
5606 * math/w_scalbln.c: Likewise.
5607 * math/w_scalblnf.c: Likewise.
5608 * math/w_scalblnl.c: Likewise.
5609 * math/w_sinh.c: Likewise.
5610 * math/w_sinhf.c: Likewise.
5611 * math/w_sinhl.c: Likewise.
5612 * math/w_tgamma.c: Likewise.
5613 * math/w_tgammaf.c: Likewise.
5614 * math/w_tgammal.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5617 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5618 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5622 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5623 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5625 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5626 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5627 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5630 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5643 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5646 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5647 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5648 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5649 * stdio-common/printf_fp.c: Likewise.
5650 * stdio-common/printf_fphex.c: Likewise.
5651 * stdio-common/printf_size.c: Likewise.
5652
5653 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5654
5655 [BZ #18470]
5656 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5657 strnlen.
5658 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5659 Remove variable.
5660 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5661 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5662 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5663 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5664 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5665 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5666 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5667 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5668 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5669 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5670
5671 [BZ #18468]
5672 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5673 weak alias of __wmemchr. Use libc_hidden_weak.
5674 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5675 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5676 instead of wmemchr.
5677
5678 2015-06-02 Roland McGrath <roland@hack.frob.com>
5679
5680 [BZ #18383]
5681 * elf/tst-tlsalign-extern.c: New file.
5682 * elf/tst-tlsalign-extern-static.c: New file.
5683 * elf/tst-tlsalign-vars.c: New file.
5684 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5685 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5686 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5687 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5688 (test-xfail-tst-tlsalign-extern-static): New variable.
5689
5690 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5691
5692 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5693 Use variable name _sc_err instead of err.
5694 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5695 instead of ret.
5696 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5697 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5698 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5699 (INLINE_SYSCALL): Likewise.
5700
5701 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5702 * include/string.h (__strnlen): Use libc_hidden_proto.
5703 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5704 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5705 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5706 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5707 (libc_hidden_def): Undefine and redefine.
5708 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5709 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5710 __GI_strnlen.
5711 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5712 libc_hidden_def.
5713 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5714
5715 [BZ #18469]
5716 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5717 weak alias of __towlower. Use libc_hidden_weak.
5718 (towupper): Rename to __towupper and define as weak alias of
5719 __towupper. Use libc_hidden_weak.
5720 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5721 (__towupper): Likewise.
5722 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5723 __towlower instead of towlower.
5724
5725 2015-06-02 Roland McGrath <roland@hack.frob.com>
5726
5727 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5728 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5729
5730 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5731
5732 * sysdeps/aarch64/libm-test-ulps: Update.
5733
5734 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5735
5736 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5737 Define.
5738 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5740 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5741 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5742 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5743 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5744 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5745
5746 2015-06-01 Martin Sebor <msebor@redhat.com>
5747
5748 [BZ #18116]
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5750 (__setcontext): Use extended four-operand version of mtsf whenever
5751 possible.
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5753 (__novec_swapcontext): Likewise.
5754
5755 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5756
5757 * benchtests/scripts/compare_bench.py: New file.
5758 * benchtests/scripts/import_bench.py (mean): New function.
5759 (split_list): Likewise.
5760 (do_for_all_timings): Likewise.
5761 (compress_timings): Likewise.
5762
5763 * benchtests/scripts/import_bench.py: New file.
5764 * benchtests/scripts/validate_benchout.py: Import import_bench
5765 instead of jsonschema.
5766 (validate_bench): Remove function.
5767 (main): Use import_bench.
5768
5769 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5770
5771 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5772 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5773
5774 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5775
5776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5777
5778 2015-05-28 Roland McGrath <roland@hack.frob.com>
5779
5780 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5781 set THREAD_SELF->tid to a magic value and futex-wake it.
5782 Pass its address to the thread_exit system call.
5783 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5784 bit is clear.
5785 * sysdeps/nacl/lowlevellock.h: New file.
5786 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5787
5788 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5789 Add TIMEOUT to current time, don't subtract it.
5790
5791 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 [BZ #2981]
5794 [BZ #18422]
5795 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5796 ($(objpfx)tst-audit2.out): Also depend on
5797 $(objpfx)tst-auditmod9b.so.
5798 * elf/tst-audit2.c: Include <dlfcn.h>.
5799 (calloc_called): New.
5800 (calloc): Allow to be called more than once.
5801 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5802
5803 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5804
5805 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5806 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5807
5808 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5809
5810 * stdlib/monetary.h: Fix comment.
5811
5812 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5813
5814 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5815 Avoid using variables in #defines that might cause shadowing.
5816 (INTERNAL_VSYSCALL_CALL): Likewise.
5817
5818 2015-05-26 Roland McGrath <roland@hack.frob.com>
5819
5820 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5821
5822 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5823 * nptl/lll_timedlock_wait.c: ... to this new file.
5824 * nptl/Makefile (libpthread-routines): Add it.
5825 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5826 * nptl/lll_timedwait_tid.c: ... to this new file.
5827 * nptl/Makefile (libpthread-routines): Add it.
5828 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5829 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5830 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5831 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5832 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5833 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5834 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5835 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5836 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5837 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5838
5839 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5840
5841 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5842 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5843 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5844 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5845 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5847 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5849 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5850 * sysdeps/unix/sysv/linux/tile/sysdep.h
5851 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5852 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5853 using vDSO syscall macro.
5854
5855 2015-05-26 Andriy Rysin <arysin@gmail.com>
5856
5857 [BZ #17293]
5858 * uk_UA: Fix sorting order for Ukrainian locale
5859
5860 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5861
5862 * stdlib/monetary.h: Fix comment.
5863
5864 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5865
5866 [BZ #18234]
5867 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5868 st_mtim and st_ctim members.
5869 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5870 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5871 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5872 (struct stat64): Likewise.
5873 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5874 (struct stat64): Likewise.
5875 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5876 (struct stat64): Likewise.
5877
5878 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5879
5880 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5881 Define and include sysdep-vdso.h.
5882 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5883 Likewise.
5884 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5885 Likewise.
5886 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5887 Define with VDSO_SYMBOL and use PTR_MANGLE.
5888 (__vdso_clock_gettime): Likewise.
5889 (__vdso_clock_getres): Likewise.
5890 (_libc_vdso_platform_setup): Likewise.
5891 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5892 Likewise.
5893 (_libc_vdso_platform_setup): Likewise.
5894 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5895 Likewise.
5896 (__vdso_clock_gettime): Likewise.
5897 (__vdso_clock_getres): Likewise.
5898 (__vdso_get_tbfreq): Likewise.
5899 (__vdso_getcpu): Likewise.
5900 (__vdso_time): Likewise.
5901 (__vdso_sigtramp_rt64): Likewise.
5902 (__vdso_signtramp32): Likewise.
5903 (__vdso_sigtramp_rt32): Likewise.
5904 (_libc_vdso_platform_setup): Likewise.
5905 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5906 Likewise.
5907 (__vdso_clock_gettime): Likewise.
5908 (__vdso_clock_getres): Likewise.
5909 (_libc_vdso_platform_setup): Likewise.
5910 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5911 Likewise.
5912 (__vdso_clock_gettime): Likewise.
5913 (_libc_vdso_platform_setup): Likewise.
5914 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5915 Likewise.
5916 (__vdso_getcpu): Likewise.
5917 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5918 Use VDSO_SYMBOL macro to define.
5919 (__vdso_clock_gettime): Likewise.
5920 (__vdso_clock_getres): Likewise.
5921 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5922 Likewise.
5923 (__vdso_clock_gettime): Likewise.
5924 (__vdso_clock_getres): Likewise.
5925 (__vdso_get_tbfreq): Likewise.
5926 (__vdso_getcpu): Likewise.
5927 (__vdso_time): Likewise.
5928 (__vdso_sigtramp_rt64): Likewise.
5929 (__vdso_signtramp32): Likewise.
5930 (__vdso_sigtramp_rt32): Likewise.
5931 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5932 Likewise.
5933 (__vdso_clock_gettime): Likewise.
5934 (__vdso_clock_getres): Likewise.
5935 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5936 Likewise.
5937 (__vdso_clock_gettime): Likewise.
5938 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5939 Likewise.
5940 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5941 macro.
5942 (INTERNAL_VSYSCALL): Likewise.
5943 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5944 Remove macro.
5945 (INTERNAL_VSYSCALL): Likewise.
5946 (INTERNAL_VSYSCALL_NCS): Likewise.
5947 (INTERNAL_VSYSCALL_CALL): New macro.
5948 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5950 Likewise.
5951 (INTERNAL_VSYSCALL): Likewise.
5952 (INTERNAL_VSYSCALL_NCS): Likewise.
5953 (INTERNAL_VSYSCALL_CALL): New macro.
5954 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5956 (INLINE_VSYSCALL): Remove macro.
5957 (INTERNAL_VSYSCALL): Remove macro.
5958 (INTERNAL_VSYSCALL_NCS): Remove macro.
5959 (INTERNAL_VSYSCALL_CALL): New macro.
5960 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5961 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5962 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5963 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5964 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5966 (INLINE_VSYSCALL): Remove macro.
5967 (INTERNAL_VSYSCALL): Likewise.
5968 (INTERNAL_VSYSCALL_NCS): Likewise.
5969 (INTERNAL_VSYSCALL_CALL): New macro.
5970 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5971 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5972 PTR_DEMANGLE on vDSO pointer.
5973 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5974 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5975 macro.
5976 (INTERNAL_SYSCALL): Likewise.
5977 (INTERNAL_VSYSCALL_NCS): Remove macro.
5978 (INTERNAL_VSYSCALL_CALL): New macro.
5979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5980 Remove macro.
5981 (INTERNAL_VSYSCALL): Likewise.
5982 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5983 sysdep-vdso.h instead of libc-vdso.h.
5984 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5985 definition.
5986 (INLINE_VSYSCALL): Likewise.
5987 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5988 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5989 definition.
5990 (INLINE_VSYSCALL): Likewise.
5991 (INTERNAL_VSYSCALL): Likewise.
5992 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5993 * sysdeps/unix/sysv/linux/timespec_get.c
5994 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5995 (timespec_get): Use ANSI prototype.
5996 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5997 and definition for Linux.
5998
5999 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6000
6001 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6002 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6003
6004 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6005
6006 [BZ #2981]
6007 [BZ #18410]
6008 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6009 for missing DT_PLTRELSZ.
6010
6011 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6012
6013 Remove obsolete aliases that broke 'locale -a'
6014 [BZ #18412]
6015 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6016 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6017 breaking some applications that use 'locale -a' output.
6018 Change the encoding of this file from Latin-1 to ASCII to avoid
6019 other potential problems with people grepping this file.
6020
6021 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6022
6023 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6024 -fasynchronous-unwind-tables.
6025 (CFLAGS-sendto.c): Likewise.
6026 (CFLAGS-sendmsg.c): Likewise.
6027 (CFLAGS-connect.c): Likewise.
6028 (CFLAGS-recvmsg.c): Likewise.
6029 (CFLAGS-recvfrom.c): Likewise.
6030 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6031 (SOCKETCALL): New macro: non-cancellable socketcall.
6032 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6033 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6034 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6035 * sysdeps/unix/sysv/linux/accept.c: New file.
6036 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6037 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6038 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6039 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6040 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6041 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6042 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6043 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6044 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6045 * sysdeps/unix/sysv/linux/send.c: Likewise.
6046 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6047 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6048 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6049 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6050 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6051 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6052 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6053 prototype.
6054 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6055 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6056 instead of __internal_xxx function.
6057 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6058 prototype.
6059 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6060 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6061 instead of __internal_xxx function.
6062 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6063 prototype.
6064 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6065 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6066 instead of __internal_xxx function.
6067 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6068 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6069 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6070 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6071 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6072 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6073 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6074 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6075 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6076 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6077 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6078 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6079 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6080 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6081 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6082 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6083 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6084 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6085 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6086 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6089 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6090 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6091 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6092 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6093 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6094 * sysdeps/unix/sysv/linux/send.S: Likewise.
6095 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6096 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6097 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6098 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6099 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6100 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6101 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6102 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6103 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6104 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6105 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6106 socketcall is implemented in GLIBC.
6107
6108 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6109
6110 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6111 (__fma): Ignore uninitialized warnings around packing.
6112 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6113 (__fmaf): Ignore uninitialized warnings around packing.
6114 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6115 (__fmal): Ignore uninitialized warnings around packing.
6116
6117 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6118 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6119 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6120 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6121
6122 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6123 switch statement into default case.
6124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6125
6126 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6127 a conditional in forcing "inexact".
6128 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6129 Likewise.
6130
6131 2015-05-22 Roland McGrath <roland@hack.frob.com>
6132
6133 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6134 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6135 for each INTERNAL_SYSCALL use.
6136
6137 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6138
6139 [BZ #438]
6140 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6141 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6142 variable.
6143
6144 [BZ #18444]
6145 * string/basename.c (basename): Rename to __basename and define as
6146 weak alias of __basename. Use libc_hidden_weak.
6147 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6148 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6149 __basename instead of basename.
6150 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6151 Remove variable.
6152 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6153
6154 2015-05-18 Florian Weimer <fweimer@redhat.com>
6155
6156 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6157 (_IO_JUMPS_FILE_plus): New.
6158 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6159 _IO_CAST_FIELD_ACCESS.
6160 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6161 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6162 * libio/freopen.c (freopen): Likewise.
6163 * libio/freopen64.c (freopen64): Likewise.
6164 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6165 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6166 * libio/iofwide.c (_IO_fwide): Likewise.
6167 * libio/memstream.c (open_memstream): Likewise.
6168 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6169 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6170 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6171
6172 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6173
6174 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6175 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6176 NADJ.
6177 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6178 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6179 NADJ.
6180 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6181 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6182 NADJ.
6183
6184 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6185 (p == 4) case.
6186
6187 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6188 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6189 Remove variable.
6190 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6191 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6192 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6193
6194 2015-05-21 Florian Weimer <fweimer@redhat.com>
6195
6196 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6197 Adjust jump table label generation macros.
6198
6199 2015-05-21 Florian Weimer <fweimer@redhat.com>
6200
6201 * stdio-common/vfprintf.c (vfprintf): Move local variables
6202 args_malloced, specs, specs_malloced, and the code after
6203 do_positional to the printf_positional function.
6204 (printf_positional): New function.
6205
6206 2015-05-21 Florian Weimer <fweimer@redhat.com>
6207
6208 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6209 function.
6210 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6211 STEP4_TABLE, process_arg): Move macro definitions
6212 out of the vfprintf function. (Cosmetic change only.)
6213
6214 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6215
6216 * benchtests/Makefile (stdio-common-bench): Define.
6217 (benchset): Add stdio-common-bench.
6218 * sprintf-inputs: New file.
6219 * sprintf-source.c: New file.
6220
6221 2015-05-21 Andreas Schwab <schwab@suse.de>
6222
6223 [BZ #13028]
6224 [BZ #17053]
6225 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6226 of struct __res_state.
6227 * resolv/res_send.c (__libc_res_nsend): Likewise.
6228 (get_nsaddr): New function.
6229 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6230 statp directly.
6231
6232 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6233
6234 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6235 -D_POSIX_C_SOURCE=199506L.
6236
6237 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6238
6239 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6240 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6241 Do not mention otherwise.
6242 [POSIX] (_XOPEN_VERSION): Do not expect.
6243 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6244 [POSIX] (_POSIX2_C_BIND): Likewise.
6245 [POSIX] (_POSIX2_VERSION): Likewise.
6246 [POSIX] (_XOPEN_XPG2): Likewise.
6247 [POSIX] (_XOPEN_XPG3): Likewise.
6248 [POSIX] (_XOPEN_XPG4): Likewise.
6249 [POSIX] (_XOPEN_UNIX): Likewise.
6250 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6251 [POSIX] (_POSIX_BARRIERS): Likewise.
6252 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6253 [POSIX] (_POSIX_CPUTIME): Likewise.
6254 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6255 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6256 [POSIX] (_POSIX_SHELL): Likewise.
6257 [POSIX] (_POSIX_SPAWN): Likewise.
6258 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6259 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6260 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6261 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6262 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6263 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6264 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6265 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6266 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6267 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6268 [POSIX] (_POSIX2_PBS): Likewise.
6269 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6270 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6271 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6272 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6273 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6274 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6275 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6276 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6277 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6278 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6279 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6280 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6281 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6282 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6283 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6284 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6285 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6286 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6287 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6288 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6289 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6290 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6291 [POSIX] (_SC_2_C_BIND): Likewise.
6292 [POSIX] (_SC_2_C_VERSION): Likewise.
6293 [POSIX] (_SC_2_PBS): Likewise.
6294 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6295 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6296 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6297 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6298 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6299 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6300 [POSIX] (_SC_BARRIERS): Likewise.
6301 [POSIX] (_SC_BASE): Likewise.
6302 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6303 [POSIX] (_SC_DEVICE_IO): Likewise.
6304 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6305 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6306 [POSIX] (_SC_FD_MGMT): Likewise.
6307 [POSIX] (_SC_FIFO): Likewise.
6308 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6309 [POSIX] (_SC_FILE_LOCKING): Likewise.
6310 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6311 [POSIX] (_SC_IOV_MAX): Likewise.
6312 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6313 [POSIX] (_SC_NETWORKING): Likewise.
6314 [POSIX] (_SC_PAGE_SIZE): Likewise.
6315 [POSIX] (_SC_PASS_MAX): Likewise.
6316 [POSIX] (_SC_PIPE): Likewise.
6317 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6318 [POSIX] (_SC_REGEXP): Likewise.
6319 [POSIX] (_SC_SHELL): Likewise.
6320 [POSIX] (_SC_SIGNALS): Likewise.
6321 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6322 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6323 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6324 [POSIX] (_SC_USER_GROUPS): Likewise.
6325 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6326 [POSIX] (_SC_STREAMS): Likewise.
6327 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6328 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6329 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6330 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6331 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6332 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6333 [POSIX] (_PC_FILESIZEBITS): Likewise.
6334 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6335 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6336 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6337 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6338 [POSIX] (uid_t): Likewise.
6339 [POSIX] (gid_t): Likewise.
6340 [POSIX] (off_t): Likewise.
6341 [POSIX] (pid_t): Likewise.
6342 [POSIX] (cuserid): Allow.
6343 (_SC_2_CHAR_TERM): Require constant.
6344 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6345 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6346 variable.
6347
6348 2015-05-20 Roland McGrath <roland@hack.frob.com>
6349
6350 * sysdeps/nacl/pthread-pids.h: New file.
6351 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6352 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6353
6354 * nptl/pthread-pids.h: New file.
6355 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6356 * nptl/nptl-init.c: Include <pthread-pids.h>.
6357 (__pthread_initialize_minimal_internal):
6358 Call __pthread_initialize_pids instead of set_tid_address syscall.
6359
6360 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6361 * sysdeps/posix/usleep.c: ... here.
6362
6363 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6364
6365 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6366 call_pselect6 object.
6367 [$(subdir) = io]: Remove call_sync_file_range object.
6368 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6369 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6370 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6371 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6372
6373 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6374
6375 * math/s_cproj.c: Add include "math_private.h".
6376 * math/s_cprojf.c: Likewise.
6377 * math/s_cprojl.c: Likewise.
6378
6379 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6380
6381 [BZ #18244]
6382 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6383 high mantissa bit when testing whether P is a NaN.
6384 * math/libm-test.inc (remainder_test_data): Add more tests.
6385 (remquo_test_data): Likewise.
6386
6387 [BZ #18049]
6388 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6389 below -32, return the argument, with underflow if subnormal.
6390 * math/auto-libm-test-in: Add more tests of atanh.
6391 * math/auto-libm-test-out: Regenerated.
6392
6393 2015-05-19 Roland McGrath <roland@hack.frob.com>
6394
6395 [BZ #18434]
6396 * nptl/tst-sem15.c: New file.
6397 * nptl/Makefile (tests): Add it.
6398 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6399 s/<</>>/ to fix typo in EOVERFLOW check.
6400 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6401
6402 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6403
6404 * manual/strings.texi (envz_remove): Fix typo in safety
6405 annotations.
6406
6407 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6408 Steve Ellcey <sellcey@imgtec.com>
6409
6410 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6411 in order to avoid strict alias warnings.
6412 (iruserok_af): Ditto for ra.
6413
6414 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6415
6416 [BZ #17581]
6417 * malloc/hooks.c
6418 (magicbyte): Convert to a function and avoid returning 0x01.
6419 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6420 (mem2chunk_check): Fix unsigned comparisons to zero.
6421 Hoist defs of sz and magic.
6422
6423 2015-05-19 Richard Henderson <rth@redhat.com>
6424
6425 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6426
6427 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6428
6429 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6430
6431 [BZ #16159]
6432 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6433 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6434 (reused_arena): Find a non-corrupt arena.
6435 (heap_trim): Pass arena to unlink.
6436 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6437 malloc_printerr.
6438 (top_check): Likewise.
6439 (free_check): Likewise.
6440 (realloc_check): Likewise.
6441 * malloc/malloc.c (malloc_printerr): Add arena argument.
6442 (unlink): Likewise.
6443 (munmap_chunk): Adjust.
6444 (ARENA_CORRUPTION_BIT): New macro.
6445 (arena_is_corrupt): Likewise.
6446 (set_arena_corrupt): Likewise.
6447 (sysmalloc): Use mmap if there are no usable arenas.
6448 (_int_malloc): Likewise.
6449 (__libc_malloc): Don't fail if arena_get returns NULL.
6450 (_mid_memalign): Likewise.
6451 (__libc_calloc): Likewise.
6452 (__libc_realloc): Adjust for additional argument to
6453 malloc_printerr.
6454 (_int_free): Likewise.
6455 (malloc_consolidate): Likewise.
6456 (_int_realloc): Likewise.
6457 (_int_memalign): Don't touch corrupt arenas.
6458 * malloc/tst-malloc-backtrace.c: New test case.
6459
6460 * Makefile (summarize-tests): Fix return value on success.
6461
6462 * manual/string.texi (Envz Functions): Add envz_remove.
6463
6464 2015-05-18 Roland McGrath <roland@hack.frob.com>
6465
6466 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6467 (invalid_name): New function, broken out of ...
6468 (__opendirat): ... here. Call it.
6469 (need_isdir_precheck): New function, broken out of ...
6470 (__opendirat): ... here. Call it.
6471 Use __fxstatat64, not __xstatat64.
6472 (opendir_oflags): New function, broken out of ...
6473 (__opendirat): ... here. Call it.
6474 (opendir_tail): New function, broken out of ...
6475 (__opendirat): ... here. Call it.
6476 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6477 opendir_tail, rather than punting to __opendirat.
6478 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6479
6480 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6481
6482 * .gitignore: Ignore generated *.pyc.
6483
6484 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6485
6486 * include/stdio.h: Define __need_wint_t.
6487 * test-skeleton.c: Avoid `for' loop initial declaration.
6488 * nptl/tst-initializers1.c: Use test-skeleton.c.
6489
6490 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6491
6492 [BZ #18418]
6493 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6494
6495 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6496
6497 [BZ #16352]
6498 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6499 (__ieee754_atanh): Force underflow exception for results with
6500 small absolute value.
6501 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6502 (__ieee754_atanhf): Force underflow exception for results with
6503 small absolute value.
6504 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6505 (__ieee754_atanh): Force underflow exception for results with
6506 small absolute value.
6507 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6508 (__ieee754_atanhf): Force underflow exception for results with
6509 small absolute value.
6510 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6511 (__ieee754_atanhl): Force underflow exception for results with
6512 small absolute value.
6513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6514 (__ieee754_atanhl): Force underflow exception for results with
6515 small absolute value.
6516 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6517 (__ieee754_atanhl): Force underflow exception for results with
6518 small absolute value.
6519 * math/auto-libm-test-in: Do not allow missing underflow
6520 exceptions from atanh.
6521 * math/auto-libm-test-out: Regenerated.
6522
6523 [BZ #18221]
6524 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6525 2**-28 as threshold for returning x or +/- 1/x.
6526 * math/auto-libm-test-in: Add more tests of tan.
6527 * math/auto-libm-test-out: Regenerated.
6528
6529 [BZ #18220]
6530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6531 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6532 * math/auto-libm-test-in: Add another test of lgamma.
6533 * math/auto-libm-test-out: Regenerated.
6534
6535 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6536
6537 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6538 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6539 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6540 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6541 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6542 (ADD2A): Use fabs. (SUB2A): Use fabs.
6543 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6544 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6546 (log1): Use fabs. (my_log2): Use fabs.
6547 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6548 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6549 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6550 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6552 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6553 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6554 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6555 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6556 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6557 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6558
6559 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6560
6561 [BZ #18217]
6562 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6563 as threshold for returning 1 - x.
6564 * math/auto-libm-test-in: Add more tests of erfc.
6565 * math/auto-libm-test-out: Regenerated.
6566
6567 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6568
6569 [BZ #18196]
6570 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6571 threshold for large arguments.
6572 * math/auto-libm-test-in: Add another test of atan.
6573 * math/auto-libm-test-out: Regenerated.
6574
6575 [BZ #16339]
6576 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6577 (__log1p): Force underflow exception for results with small
6578 absolute value.
6579 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6580 (__log1pf): Force underflow exception for results with small
6581 absolute value.
6582 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6583 (__log1p): Force underflow exception for results with small
6584 absolute value.
6585 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6586 (__log1pf): Force underflow exception for results with small
6587 absolute value.
6588 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6589 (__log1pl): Force underflow exception for results with small
6590 absolute value.
6591 * math/auto-libm-test-in: Do not allow missing underflow
6592 exceptions from log1p.
6593 * math/auto-libm-test-out: Regenerated.
6594
6595 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6596 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6597
6598 [BZ #16704]
6599 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6600
6601 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6602
6603 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6604 (libmvec): New variable.
6605 * configure.ac: Added option for mathvec build.
6606 * configure: Regenerated.
6607 * mathvec/Depend: New file.
6608 * mathvec/Makefile: New file.
6609 * shlib-versions: Added libmvec.
6610 * math/Makefile: Added rule for libm.so installation.
6611
6612 * bits/math-vector.h: New file.
6613 * bits/libm-simd-decl-stubs.h: New header.
6614 * math/Makefile (headers): Added new header
6615 libm-simd-decl-stubs.h.
6616 * math/math.h (__MATHCALL_VEC): New macro.
6617
6618 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6619 for conditions in testing functions.
6620 * math/Makefile: Added call of libm-have-vector-test.sh.
6621 * math/libm-test.inc (HAVE_VECTOR): New macros.
6622
6623 * math/libm-test.inc: START refactored.
6624 * math/test-double.c (TEST_MATHVEC): Add define.
6625 * math/test-float.c: Likewise.
6626 * math/test-idouble.c: Likewise.
6627 * math/test-ifloat.c: Likewise.
6628 * math/test-ildoubl.c: Likewise.
6629 * math/test-ldouble.c: Likewise.
6630 * sysdeps/generic/math-tests-arch.h
6631 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6632 architecture check.
6633
6634 * math/test-double.c (FUNC_TEST): New macro.
6635 * math/test-float.c: Likewise.
6636 * math/test-idouble.c: Likewise.
6637 * math/test-ifloat.c: Likewise.
6638 * math/test-ildoubl.c: Likewise.
6639 * math/test-ldouble.c: Likewise.
6640 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6641
6642 2015-05-13 Roland McGrath <roland@hack.frob.com>
6643
6644 * sysdeps/nacl/fdopendir.c: New file.
6645
6646 * dirent/scandir-tail.c: New file.
6647 * dirent/scandir64-tail.c: New file.
6648 * dirent/Makefile (routines): Add them.
6649 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6650 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6651 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6652 [!SCANDIR] (SCANDIR_TAIL): New macro.
6653 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6654 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6655 (SCANDIRAT): Macro removed.
6656 (SCANDIR_TAIL): New macro.
6657 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6658 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6659 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6660 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6661 (READDIR): Macro removed.
6662 (SCANDIR_TAIL): New macro.
6663 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6664 (SCANDIR_TAIL): New macro.
6665
6666 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6667 * dirent/scandir-cancel.c: ... to this new file.
6668 * dirent/Makefile (routines): Add it.
6669 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6670 * sysdeps/unix/sysv/linux/i386/scandir64.c
6671 (SKIP_SCANDIR_CANCEL): Macro removed.
6672 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6673
6674 * dirent/tst-scandir.c: New file.
6675 * dirent/tst-scandir64.c: New file.
6676 * dirent/Makefile (tests): Add them.
6677
6678 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 [BZ #18409]
6681 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6682
6683 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6684
6685 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6686 list.
6687
6688 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6689
6690 * benchtests/bench-strcoll.c: New benchmark.
6691 * benchtests/Makefile: Generate locales and run benchmark.
6692 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6693 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6694 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6695 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6696 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6697 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6698 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6699 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6700 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6701 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6702 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6703 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6704 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6705 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6706 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6707 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6708 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6709 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6710 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6711 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6712 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6713 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6714 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6715 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6716
6717 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6718
6719 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6720 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6721
6722 2015-05-12 Roland McGrath <roland@hack.frob.com>
6723
6724 * posix/uname-values.h: New file.
6725 * posix/uname.c: Include that instead of <config-name.h>.
6726 * sysdeps/nacl/uname-values.h: New file.
6727 * sysdeps/arm/nacl/uname-values.h: New file.
6728
6729 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6730
6731 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6732 splitting into fields.
6733
6734 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6735
6736 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6737 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6738 * locale/localeinfo.h: Add enum collation_encoding_type.
6739 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6740 * programs/ld-collate.c (collate_output): Add encoding type info.
6741 * string/strcoll_l.c (STRDIFF): New function.
6742 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6743 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6744
6745 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6746
6747 [BZ #18397]
6748 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6749 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6750 <fpu_control.h> instead of <math/fpu_control.c>.
6751 * sysdeps/mips/mips32/fpu/Makefile: New file.
6752
6753 2015-05-11 Andreas Schwab <schwab@suse.de>
6754
6755 [BZ #18007]
6756 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6757 nss_endgrent.
6758 (_nss_compat_endgrent): Call nss_endgrent.
6759 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6760 nss_endpwent.
6761 (_nss_compat_endpwent): Call nss_endpwent.
6762 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6763 needent, call nss_setspent only if non-zero.
6764 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6765 (internal_endspent): Don't call nss_endspent.
6766 (_nss_compat_endspent): Call nss_endspent.
6767 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6768 Remove. All uses removed.
6769 (internal_setent): Remove parameter stayopen, add parameter
6770 stream. Use it instead of global variable.
6771 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6772 (internal_endent, internal_getent): Add parameter stream. Use it
6773 instead of global variable.
6774 (CONCAT(_nss_files_end,ENTNAME))
6775 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6776 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6777 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6778 uses removed.
6779 (internal_setent, internal_endent): Add parameter stream. Use it
6780 instead of global variable.
6781 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6782 stream.
6783 (get_next_alias): Add parameter stream.
6784 (_nss_files_getaliasent_r): Pass global stream.
6785 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6786 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6787 (_nss_files_gethostbyname4_r): Pass local stream to
6788 internal_setent, internal_getent and internal_endent. Remove
6789 locking.
6790
6791 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6792
6793 * tst-strfmon1.c (tests): Update expected currency symbol.
6794
6795 2015-05-08 Roland McGrath <roland@hack.frob.com>
6796
6797 * sysdeps/nacl/gethostname.c: New file.
6798
6799 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6800
6801 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6802 and sinh.
6803 * math/auto-libm-test-out: Regenerated.
6804 * sysdeps/i386/fpu/libm-test-ulps: Update.
6805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6806
6807 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6808
6809 [BZ #18125]
6810 * stdlib/tst-setcontext3.c: New file.
6811 * stdlib/tst-setcontext3.sh: New file.
6812 * stdlib/Makefile (tests): Add tst-setcontext3.
6813 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6814 to verify test program created output file.
6815 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6816 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6817 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6818 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6819
6820 2015-05-06 Roland McGrath <roland@hack.frob.com>
6821
6822 [BZ #18383]
6823 * elf/tst-tlsalign.c: New file.
6824 * elf/tst-tlsalign-static.c: New file.
6825 * elf/tst-tlsalign-lib.c: New file.
6826 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6827 (tests-static): Add tst-tlsalign-static.
6828 (modules-names): Add tst-tlsalign-lib.
6829 (test-xfail-tst-tlsalign): New variable.
6830 (test-xfail-tst-tlsalign-static): New variable.
6831
6832 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6833 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6834
6835 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6836
6837 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6838 csqrt, erfc, sin and sincos.
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 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6844
6845 * sysdeps/aarch64/libm-test-ulps: Update.
6846
6847 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6848
6849 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6850 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6851 * math/auto-libm-test-out: Regenerated.
6852 * sysdeps/i386/fpu/libm-test-ulps: Update.
6853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6854
6855 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6856
6857 [BZ #18265]
6858 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6859 (wcsncpy): Likewise.
6860
6861 2015-05-05 Florian Weimer <fweimer@redhat.com>
6862
6863 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6864 Assume __ASSUME_FALLOCATE is always true.
6865 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6866 (__posix_fallocate64_l64): Likweise.
6867 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6868 (posix_fallocate): Likewise.
6869 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6870 (__posix_fallocate64_l64): Likewise.
6871 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6872 [!__ASSUME_FALLOCATE]: Add comment.
6873
6874 2015-05-05 Florian Weimer <fweimer@redhat.com>
6875
6876 * sysdeps/unix/sysv/linux/i386/Makefile
6877 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6878 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6879 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6880 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6881 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6882 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6883 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6884
6885 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6886
6887 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6888 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6889 tgamma.
6890 * math/auto-libm-test-out: Regenerated.
6891 * sysdeps/i386/fpu/libm-test-ulps: Update.
6892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6893
6894 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6895
6896 * math/auto-libm-test-in: Add more tests of tgamma.
6897 * math/auto-libm-test-out: Regenerated.
6898 * sysdeps/i386/fpu/libm-test-ulps: Update.
6899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6900
6901 * math/auto-libm-test-in: Add more tests of tanh.
6902 * math/auto-libm-test-out: Regenerated.
6903 * sysdeps/i386/fpu/libm-test-ulps: Update.
6904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6905
6906 * math/auto-libm-test-in: Add more tests of tan.
6907 * math/auto-libm-test-out: Regenerated.
6908 * sysdeps/i386/fpu/libm-test-ulps: Update.
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6910
6911 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6912 * math/auto-libm-test-out: Regenerated.
6913 * sysdeps/i386/fpu/libm-test-ulps: Update.
6914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6915
6916 * math/auto-libm-test-in: Add another test of pow.
6917 * math/auto-libm-test-out: Regenerated.
6918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6919
6920 * math/auto-libm-test-in: Add more tests of lgamma.
6921 * math/auto-libm-test-out: Regenerated.
6922 * sysdeps/i386/fpu/libm-test-ulps: Update.
6923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6924
6925 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6926 log1p.
6927 * math/auto-libm-test-out: Regenerated.
6928 * sysdeps/i386/fpu/libm-test-ulps: Update.
6929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6930
6931 2015-05-01 Mark Wielaard <mjw@redhat.com>
6932
6933 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6934 Elf64_Chdr structs and ELFCOMPRESS constants.
6935
6936 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6937
6938 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6939 expm1.
6940 * math/auto-libm-test-out: Regenerated.
6941 * sysdeps/i386/fpu/libm-test-ulps: Update.
6942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6943
6944 * math/auto-libm-test-in: Add more tests of erf and erfc.
6945 * math/auto-libm-test-out: Regenerated.
6946 * sysdeps/i386/fpu/libm-test-ulps: Update.
6947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6948
6949 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6950
6951 * config.h.in (HAVE_AARCH64_BE): Add.
6952
6953 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6954
6955 * math/auto-libm-test-in: Add more tests of csqrt.
6956 * math/auto-libm-test-out: Regenerated.
6957 * sysdeps/i386/fpu/libm-test-ulps: Update.
6958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6959
6960 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6961 * math/auto-libm-test-out: Regenerated.
6962 * sysdeps/i386/fpu/libm-test-ulps: Update.
6963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6964
6965 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6966
6967 2015-04-29 Roland McGrath <roland@hack.frob.com>
6968
6969 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6970 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6971
6972 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6973 (euidaccess, eaccess): Define as weak aliases.
6974
6975 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6976 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6977 but __suseconds_t is often 'long int' so some sources assume that
6978 type is being used (e.g. they use %ld to print tv_usec).
6979
6980 2015-04-29 Florian Weimer <fweimer@redhat.com>
6981
6982 [BZ #18007]
6983 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6984 (CVE-2014-8121)
6985 * nss/tst-nss-getpwent.c: New file.
6986 * nss/Makefile (tests): Add new test.
6987
6988 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6989
6990 [BZ #18346]
6991 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6992 exponents less than 48 as cases where high part of mantissa needs
6993 examining to determine whether argument is integral.
6994 * math/libm-test.inc (round_test_data): Add more tests.
6995
6996 2015-04-28 Mark Wielaard <mjw@redhat.com>
6997
6998 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6999
7000 2015-04-27 David S. Miller <davem@davemloft.net>
7001
7002 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7003 __tls_get_addr.
7004 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7005
7006 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7007
7008 [BZ#18333]
7009 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7010
7011 2015-04-27 Florian Weimer <fweimer@redhat.com>
7012
7013 [BZ#18333]
7014 * time/tzset.c (parse_tzname): Return error on memory allocation
7015 failure.
7016 * test-skeleton.c (struct temp_name_list): Change type of name
7017 member to non-const.
7018 (add_temp_file): Create a copy of the file name.
7019 (delete_temp_files): Deallocate memory.
7020 (create_temp_file): Add comment.
7021
7022 2015-04-24 Florian Weimer <fweimer@redhat.com>
7023
7024 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7025 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7026
7027 2015-04-24 Roland McGrath <roland@hack.frob.com>
7028
7029 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7030 * sysdeps/arm/configure: Regenerated.
7031
7032 2015-04-24 Florian Weimer <fweimer@redhat.com>
7033
7034 [BZ #17715]
7035 * time/tzfile.c (__tzfile_read): Check for large values of
7036 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7037 * time/tzset.c (__tzstring_len): New function, based on the old
7038 __tzstring function.
7039 (__tzstring): Call __tzstring_len.
7040 (parse_tzname): New helper function extracted from
7041 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7042 the input string.
7043 (parse_offset): New helper function extracted from
7044 __tzset_parse_tz. Replace switch with fallthrough with
7045 initialization before sscanf.
7046 (parse_rule): Likewise.
7047 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7048 new-style function definition.
7049 * timezone/Makefile (tests): Add tst-tzset.
7050 (tst-tzset.out): Dependencies on time zone files.
7051 (tst-tzset-ENV): Set TZDIR.
7052 (testdata/XT%): Copy crafted time zone files.
7053 * timezone/README: Mention crafted time zone files.
7054 * timezone/testdata/XT1, timezone/testdata/XT2,
7055 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7056 files.
7057 * timezone/tst-tzset.c: New test.
7058
7059 2015-04-24 Florian Weimer <fweimer@redhat.com>
7060
7061 * Makeconfig (+gccwarn): Remove -Winline.
7062
7063 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7064
7065 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7066
7067 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7068
7069 * NEWS: Mention sysconf() cache information support for s390.
7070 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7071
7072 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7073
7074 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7075 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7076 (__nearbyint): Likewise.
7077 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7078 (copysignl): Likewise.
7079
7080 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7081
7082 [BZ #18287]
7083 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7084 based on padding. (CVE-2015-1781)
7085
7086 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7087
7088 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7089 libc-vdso.h.
7090 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7091 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7092 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7093 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7094 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7095 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7096 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7097 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7098 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7099 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7100 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7101 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7102 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7103 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7104 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7105 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7106 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7107 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7108 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7109 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7110 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7111 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7112 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7113
7114 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7115
7116 * stdlib/setenv.c (__add_to_environ):
7117 Dump core quickly if setenv (..., NULL, ...) is called.
7118 This time, do it the right way, and pacify GCC with a pragma.
7119
7120 2015-04-17 Roland McGrath <roland@hack.frob.com>
7121
7122 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7123 IMAP->l_prev cannot be null, and #if out the code for the contrary
7124 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7125 believe that NS (&_dl_ns[NSID]) could point outside the array.
7126
7127 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7128 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7129 before using NSID as an index.
7130
7131 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7132
7133 [BZ #17825]
7134 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7135 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7136 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7137
7138 2015-04-17 Roland McGrath <roland@hack.frob.com>
7139
7140 Add preliminary port to Google Native Client on ARM.
7141 * abi-tags (.*-.*-nacl.*): New entry.
7142 * sysdeps/arm/nacl: New directory.
7143 * sysdeps/nacl: New directory.
7144
7145 2015-04-16 David S. Miller <davem@davemloft.net>
7146
7147 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7148 lowlevellock-futex.h
7149
7150 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7151
7152 * sysdeps/tile/configure.ac: New file.
7153 * sysdeps/tile/configure: Regenerated.
7154
7155 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7156
7157 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7158 conditionals for weak_alias and libc_hidden_weak.
7159 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7160 libc_hidden_weak and weak_alias.
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7162 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7163 and weak_alias for static one.
7164
7165 2015-04-15 David S. Miller <davem@davemloft.net>
7166
7167 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7168
7169 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7170
7171 [BZ #18206]
7172 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7173 Use signed comparision instead of substraction to avoid
7174 overflow bug.
7175 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7176 Take the sign of ret.
7177 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7178 Do not expect precise return values. Only the sign matters.
7179 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7180 * wcsmbs/test-wcsncmp.c: New File.
7181 * string/test-strncmp.c: Add wcsncmp support.
7182
7183 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7184
7185 [BZ #6792]
7186 * math/w_log1p.c: New file.
7187 * math/w_log1pf.c: Likewise.
7188 * math/w_log1pl.c: Likewise.
7189 * math/Makefile (libm-calls): Add w_log1p.
7190 * math/s_log1pl.c (log1pl): Remove weak_alias.
7191 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7192 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7193 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7194 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7195 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7196 [NO_LONG_DOUBLE] (log1pl): Likewise.
7197 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7198 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7199 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7200 (log1p): Remove long_double_symbol.
7201 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7202 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7203 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7204 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7205 remove weak_alias for corresponding log1p function.
7206 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7207 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7208 * sysdeps/ia64/fpu/w_log1p.c: New file.
7209 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7210 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7211 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7212
7213 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7214
7215 [BZ #18247]
7216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7217 decimal exponent by 1.
7218 * stdlib/tst-strtod-round-data: Add more tests.
7219 * stdlib/tst-strtod-round.c (tests): Regenerated.
7220
7221 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7222
7223 * math/auto-libm-test-in: Add more tests of clog and clog10.
7224 * math/auto-libm-test-out: Regenerated.
7225 * sysdeps/i386/fpu/libm-test-ulps: Update.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227
7228 2015-04-09 Roland McGrath <roland@hack.frob.com>
7229
7230 * Makeconfig (module-cppflags): Exclude all .v.i files.
7231 (skip-module-cppflags): Variable removed.
7232
7233 * configure.ac (libc_config_ok): Initialize before reading
7234 preconfigure scripts, not after.
7235 * configure: Regenerated.
7236
7237 * test-skeleton.c (TIMEOUT): Move #define to top level.
7238 (main): Grok environment variable TEST_DIRECT. If set, print
7239 test expectation details into that file and then behave as if
7240 given --direct.
7241
7242 2015-04-09 Florian Weimer <fweimer@redhat.com>
7243
7244 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7245 warning on 32-bit.
7246
7247 2015-04-08 David S. Miller <davem@davemloft.net>
7248
7249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7250
7251 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7252
7253 * math/auto-libm-test-in: Add more tests of atanh.
7254 * math/auto-libm-test-out: Regenerated.
7255 * sysdeps/i386/fpu/libm-test-ulps: Update.
7256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7257
7258 * math/auto-libm-test-in: Add more tests of atan.
7259 * math/auto-libm-test-out: Regenerated.
7260 * sysdeps/i386/fpu/libm-test-ulps: Update.
7261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7262
7263 2015-04-08 Florian Weimer <fweimer@redhat.com>
7264
7265 * elf/pldd.c (main): Rewrite to use struct
7266 scratch_buffer instead of extend_alloca.
7267 * elf/pldd-xx.c (find_maps): Likewise.
7268 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7269 <alloca.h>.
7270 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7271 scratch_buffer instead of extend_alloca.
7272 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7273 grp/compat-initgroups.c.
7274 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7275 Rewrite to use struct scratch_buffer instead of extend_alloca.
7276 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7277 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7278
7279 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7280
7281 * math/auto-libm-test-in: Add more tests of cbrt.
7282 * math/auto-libm-test-out: Regenerated.
7283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7284
7285 * math/auto-libm-test-in: Add more tests of cabs.
7286 * math/auto-libm-test-out: Regenerated.
7287 * sysdeps/i386/fpu/libm-test-ulps: Update.
7288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7289
7290 [BZ #18210]
7291 [BZ #18211]
7292 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7293 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7294 computations.
7295 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7296 clog10.
7297 * math/auto-libm-test-out: Regenerated.
7298 * sysdeps/i386/fpu/libm-test-ulps: Update.
7299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7300
7301 [BZ #18197]
7302 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7303 (atan): Set FE_TONEAREST mode for internal computations.
7304 * math/auto-libm-test-in: Add more tests of atan.
7305 * math/auto-libm-test-out: Regenerated.
7306
7307 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7308
7309 [BZ #17930]
7310 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7311
7312 2015-04-07 Florian Weimer <fweimer@redhat.com>
7313
7314 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7315
7316 2015-04-07 Florian Weimer <fweimer@redhat.com>
7317
7318 * include/scratch_buffer.h: New file.
7319 * malloc/scratch_buffer_grow.c: Likewise.
7320 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7321 * malloc/scratch_buffer_set_array_size.c: Likewise.
7322 * malloc/tst-scratch_buffer.c: Likewise.
7323 * malloc/Makefile (routines): Add scratch_buffer_grow.
7324 (tests): Add test case.
7325 * malloc/Versions (GLIBC_PRIVATE): Export
7326 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7327 __libc_scratch_buffer_set_array_size.
7328
7329 2015-04-06 Richard Henderson <rth@redhat.com>
7330
7331 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7332 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7333
7334 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7335 unsigned int before printing.
7336
7337 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7338
7339 [BZ #17596]
7340 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7341 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7342
7343 2015-04-02 Florian Weimer <fweimer@redhat.com>
7344
7345 * include/libc-internal.h (libc_max_align_t): Define.
7346
7347 2015-04-02 Andreas Schwab <schwab@suse.de>
7348
7349 [BZ #16850]
7350 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7351
7352 2015-04-02 Mel Gorman <mgorman@suse.de>
7353
7354 [BZ #17195]
7355 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7356 as well as the main arena.
7357
7358 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7359
7360 [BZ #18185]
7361 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7362 sharing L2 cache to 2 for Silvermont/Knights Landing.
7363
7364 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7365
7366 [BZ #17711]
7367 * config.make.in (have-protected-data): New.
7368 * configure.ac: Check linker support for protected data symbol.
7369 * configure: Regenerated.
7370 * elf/Makefile (modules-names): Add tst-protected1moda and
7371 tst-protected1modb if $(have-protected-data) is yes.
7372 (tests): Add tst-protected1a and tst-protected1b if
7373 $(have-protected-data) is yes.
7374 ($(objpfx)tst-protected1a): New.
7375 ($(objpfx)tst-protected1b): Likewise.
7376 (tst-protected1modb.so-no-z-defs): Likewise.
7377 * elf/tst-protected1a.c: New file.
7378 * elf/tst-protected1b.c: Likewise.
7379 * elf/tst-protected1mod.h: Likewise.
7380 * elf/tst-protected1moda.c: Likewise.
7381 * elf/tst-protected1modb.c: Likewise.
7382
7383 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7384
7385 [BZ #17711]
7386 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7387 indicates it is called from do_lookup_x on relocation against
7388 protected data, skip the data definion in the executable from
7389 copy reloc.
7390 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7391 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7392 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7393 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7394 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7395 otherwise to 0.
7396 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7397 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7398 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7399 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7400 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7401 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7402
7403 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7404
7405 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7406 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7407
7408 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7409
7410 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7411 THREAD_SETMEM_NC.
7412 * sysdeps/x86_64/nptl/tls.h: Ditto.
7413
7414 2015-03-27 Roland McGrath <roland@hack.frob.com>
7415
7416 * dlfcn/tststatic.c (main): Converted to ...
7417 (do_test): ... this.
7418 (TEST_FUNCTION): New macro.
7419 Include test-skeleton.c.
7420
7421 2015-03-26 Alan Modra <amodra@gmail.com>
7422
7423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7424 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7425 zero for undefined weak.
7426 (elf_machine_plt_conflict): Similarly.
7427
7428 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7429
7430 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7431 atanh.
7432 * math/auto-libm-test-out: Regenerated.
7433 * sysdeps/i386/fpu/libm-test-ulps: Update.
7434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7435
7436 * math/auto-libm-test-in: Add another test of asin.
7437 * math/auto-libm-test-out: Regenerated.
7438 * sysdeps/i386/fpu/libm-test-ulps: Update.
7439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440
7441 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7442 Remove macro.
7443 (LLL_EBX_REG): Likewise.
7444 (LLL_ENTER_KERNEL): Likewise.
7445
7446 * math/auto-libm-test-in: Add more tests of asin.
7447 * math/auto-libm-test-out: Regenerated.
7448 * sysdeps/i386/fpu/libm-test-ulps: Update.
7449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7450
7451 [BZ #18138]
7452 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7453 libc_do_syscall_args): New structure.
7454 (INTERNAL_SYSCALL_MAIN_0): New macro.
7455 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7456 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7457 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7458 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7459 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7460 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7461 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7462 Replace conditional definitions by conditional definitions of ....
7463 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7464 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7465 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7466 (libpthread-sysdep_routines): Add libc-do-syscall.
7467 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7468 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7469 to __NR_futex not 240.
7470
7471 2015-03-25 Alan Modra <amodra@gmail.com>
7472
7473 * NEWS: Advertise TLS optimization.
7474 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7475 (DT_PPC_NUM): Increment.
7476 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7477 (CHECK_STATIC_TLS): Use here.
7478 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7479 TLS descriptors.
7480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7481 * sysdeps/powerpc/dl-tls.c: New file.
7482 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7483 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7484 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7485 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7489
7490 2015-03-25 Alan Modra <amodra@gmail.com>
7491
7492 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7493 for overlapping .opd entries" to "support...".
7494 * sysdeps/powerpc/powerpc64/configure: Regenerate
7495
7496 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7497
7498 * math/auto-libm-test-in: Add more tests of acos.
7499 * math/auto-libm-test-out: Regenerated.
7500 * sysdeps/i386/fpu/libm-test-ulps: Update.
7501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7502
7503 * math/auto-libm-test-in: Add more tests of expm1.
7504 * math/auto-libm-test-out: Regenerated.
7505 * sysdeps/i386/fpu/libm-test-ulps: Update.
7506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7507
7508 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7509
7510 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7511 * math/auto-libm-test-out: Regenerated.
7512 * sysdeps/i386/fpu/libm-test-ulps: Update.
7513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514
7515 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517
7518 * math/auto-libm-test-in: Add more tests of log2.
7519 * math/auto-libm-test-out: Regenerated.
7520 * sysdeps/i386/fpu/libm-test-ulps: Update.
7521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7522
7523 2015-03-23 Roland McGrath <roland@hack.frob.com>
7524
7525 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7526 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7527 _IO_IS_APPENDING bit in READ_WRITE instead.
7528
7529 2015-03-23 Florian Weimer <fweimer@redhat.com>
7530
7531 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7532 (__determine_cpumask_size): Replace extend_alloca with a
7533 variable-length array. Do not treat res == 0 as an error.
7534
7535 2015-03-23 Florian Weimer <fweimer@redhat.com>
7536
7537 [BZ #18100]
7538 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7539 and integer overflow.
7540 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7541 (main): Add integer overflow tests.
7542 * manual/pattern.texi (Calling Wordexp): Document additional use
7543 for WRDE_SYNTAX.
7544
7545 2015-03-23 Alan Modra <amodra@gmail.com>
7546
7547 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7548 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7549 and false branch of conditional.
7550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7551 Likewise.
7552
7553 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7554
7555 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7556 libc-modules.h
7557 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7558 unused declaration of _hurd_intr_rpc_msg_in_trap.
7559 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7560 defined instead of whether it is non-zero.
7561 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7562 input constraint instead of both input and output constraint. Use ecx
7563 clobber instead of %ecx.
7564 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7565 mutex_unlock): Use a statement expression instead of an expression list.
7566 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7567 type to vm_size_t instead of vm_address_t.
7568 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7569 defined instead of whether it is non-zero.
7570 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7571 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7572 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7573 comparisons with mapaddr.
7574 * nscd/nscd-client.h: Include <time.h>.
7575 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7576 9th parameter to __vm_region instead of int.
7577 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7578 * scripts/check-local-headers.sh (exclude): Add device/,
7579 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7580 cthreads.h.
7581
7582 2015-03-19 Roland McGrath <roland@hack.frob.com>
7583
7584 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7585 to account for alignment padding.
7586 * sysdeps/arm/memmove.S: Likewise.
7587
7588 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7589
7590 * sysdeps/unix/sysv/linux/generic/README: New file.
7591
7592 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7593
7594 [BZ #18138]
7595 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7596 (futex_abstimed_wait)
7597 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7598 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7599 of lll_futex_timed_wait.
7600
7601 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7602
7603 [BZ #17542]
7604 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7605
7606 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7607
7608 [BZ #17090]
7609 [BZ #17620]
7610 [BZ #17621]
7611 [BZ #17628]
7612 * NEWS: Update.
7613 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7614 entries with Static TLS too. Skip entries past the end of the
7615 allocated DTV, from Alan Modra.
7616 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7617 Static TLS DTV entry set up from...
7618 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7619 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7620 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7621 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7622 for Static TLS.
7623 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7624 that the slot we find is associated with the given map before
7625 using its generation count.
7626 * nptl_db/db_info.c: Include ldsodefs.h.
7627 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7628 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7629 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7630 (link_map::l_tls_offset): New struct field.
7631 (dtv_t::counter): Likewise.
7632 (rtld_global): New struct.
7633 (_rtld_global): New rtld variable.
7634 (dl_tls_dtv_slotinfo_list): New rtld global field.
7635 (dtv_slotinfo_list): New struct.
7636 (dtv_slotinfo): Likewise.
7637 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7638 (td_lookup): Rename to...
7639 (td_mod_lookup): ... this. Use new mod parameter instead of
7640 LIBPTHREAD_SO.
7641 * nptl_db/td_thr_tlsbase.c: Include link.h.
7642 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7643 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7644 addresses even if the DTV is out of date or missing them.
7645 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7646 index zero-length arrays.
7647 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7648 (td_lookup): Make it a macro implemented in terms of...
7649 (td_mod_lookup): ... this declaration.
7650 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7651 (DB_MAIN_VARIABLE): Likewise.
7652
7653 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7654
7655 [BZ #18134]
7656 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7657
7658 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7659
7660 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7661
7662 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7663
7664 [BZ #18128]
7665 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7666 (atomic_add, atomic_increment_and_test)
7667 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7668
7669 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7670
7671 * stdlib/setenv.c (__add_to_environ):
7672 Dump core quickly if setenv (..., NULL, ...) is called.
7673
7674 2015-03-13 Roland McGrath <roland@hack.frob.com>
7675
7676 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7677 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7678 all the necessary asm magic in one place.
7679 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7680 using those.
7681
7682 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7683
7684 [BZ #14906]
7685 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7686 traced file mtime. Use consistent log message.
7687 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7688 (register_traced_file): Call install_watches. Always set mtime.
7689 (invalidate_cache): Iterate over all trace files. Call install_watches.
7690 (inotify_check_files): Don't inline. Handle watching parent
7691 directories and configuration file movement in and out.
7692 (handle_inotify_events): New function.
7693 (main_loop_poll): Call handle_inotify_events.
7694 (main_loop_epoll): Likewise.
7695 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7696 (struct traced_file): Use array of inotify fds. Add parent directory,
7697 and basename.
7698 (struct database_dyn): Remove unused file_mtime.
7699 (init_traced_file): New inline function.
7700 (define_traced_file): New macro.
7701 * nss/nss_db/db-init.c: Use define_traced_file.
7702 (_nss_db_init): Use init_traced_file.
7703 * nss/nss_files/files-init.c: Use define_traced_file.
7704 (_nss_files_init): Use init_traced_file.
7705
7706 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7707
7708 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7709 [_LIBC]: Do not include <stdlib.h>.
7710 [!_LIBC] (abort): Remove declaration.
7711 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7712 _FP_STATIC_ASSERT instead of conditionally calling abort.
7713 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7714 (_FP_EXTEND_CNAN): Likewise.
7715 (FP_TRUNC): Likewise.
7716 (__FP_CLZ): Likewise.
7717 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7718
7719 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7720
7721 * manual/string.texi (XPG basename): Fix prototype.
7722
7723 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7724
7725 [BZ #18080]
7726 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7727 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7728 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7729 (__setcontext): Likewise.
7730 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7731 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7732 Call rt_sigprocmask syscall one time to set new signal mask
7733 and retrieve the current signal mask instead of two calls.
7734 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7735 (__swapcontext): Likewise.
7736 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7737 * stdlib/tst-setcontext2.c: New file.
7738
7739 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7740
7741 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7742
7743 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7744
7745 [BZ #18093]
7746 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7747 the wrong size.
7748
7749 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7750
7751 [BZ #18043]
7752 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7753
7754 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7755
7756 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7757 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7758 Remove define.
7759 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7760 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7761 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7762 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7763 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7764 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7765 define.
7766 * nptl_db/td_symbol_list.c (td_lookup): Remove
7767 HAVE_ASM_GLOBAL_DOT_NAME code.
7768 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7769 HAVE_ASM_GLOBAL_DOT_NAME check.
7770 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7771 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7772 (DOT_LABEL): Remove define.
7773 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7774 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7775 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7776 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7777 (__TLS_GET_ADDR): Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7779 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7780
7781 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7782
7783 [BZ #18111]
7784 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7785 (_FPU_SETCW): Initialize cw from fpsr before storing.
7786 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7787 (fesetexceptflag): Rewrite using fpu_control.h.
7788 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7789
7790 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7791
7792 [BZ #18110]
7793 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7794 asms.
7795 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7796
7797 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7798
7799 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7800 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7801 abort.
7802 (_FP_FMA): Likewise.
7803 (_FP_DIV): Likewise.
7804
7805 2015-03-10 Roland McGrath <roland@hack.frob.com>
7806
7807 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7808 with 0 in that case.
7809 * Makefile (summarize-tests): New canned sequence, factored out of
7810 commands for targets tests and xtests. Display summary lines that
7811 don't start with PASS: or XFAIL: rather than ones that do start with
7812 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7813 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7814 do start with ERROR: or FAIL:.
7815 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7816 (except for [$(build-shared) = yes]).
7817 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7818 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7819 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7820 * nptl/Makefile: Revert 2015-03-04 changes.
7821 [$(CXX) empty] (tests-unsupported): New variable.
7822 * debug/Makefile: Likewise.
7823
7824 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7825 gnulib file. Replace __attribute with __attribute__ throughout.
7826
7827 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7828
7829 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7830
7831 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7832
7833 [BZ #18104]
7834 * math/auto-libm-test-in: Add another test of pow.
7835 * math/auto-libm-test-out: Regenerated.
7836
7837 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7838
7839 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7840 $(config-cflags-nofma).
7841
7842 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7843
7844 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7845 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7846 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7847 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7848 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7849 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7850 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7851 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7852 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7853 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7854 Add comment on closing #endif.
7855
7856 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7857
7858 * posix/wordexp.c (CHAR_IN_SET): New macro.
7859 (parse_param): Use it.
7860
7861 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7862
7863 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7864
7865 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7866
7867 [BZ #18043]
7868 * posix/wordexp.c (parse_param): Fix buffer overflow.
7869 * posix/wordexp-test.c (test_case): Add test case.
7870
7871 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7872
7873 [BZ #18042]
7874 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7875 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7876
7877 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7878
7879 [BZ #18043]
7880 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7881 (do_bz18043): Delete.
7882 (at_page_end): New.
7883 (testit): Refactor to have words at the edge of unreadable page.
7884
7885 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7886
7887 [BZ #16734]
7888 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7889 Cleanup read-only streams as well.
7890 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7891
7892 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7893
7894 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7895 <bits/libc-lockP.h>
7896
7897 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7898
7899 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7900 on [__KERNEL__].
7901 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7902 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7903 * soft-fp/op-common.h (_FP_DECL): Likewise.
7904
7905 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7906
7907 * elf/ifuncdep2.c (global): Replace
7908 __attribute__((visibility("protected"))) with
7909 asm (".protected global").
7910 * elf/ifuncmod1.c (global): Likewise.
7911 * elf/ifuncmod5.c (global): Likewise.
7912
7913 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7914
7915 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7916 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7917
7918 2015-03-06 Roland McGrath <roland@hack.frob.com>
7919
7920 * manual/install.texi (Configuring and compiling):
7921 Document test-wrapper-env-only.
7922 * INSTALL: Regenerated.
7923
7924 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7925
7926 [BZ #18043]
7927 * posix/wordexp.c (parse_param): Fix buffer overflow.
7928 * posix/wordexp-test.c (do_bz18043): Add test case.
7929
7930 2015-03-06 Vincent Bernat <vincent@bernat.im>
7931
7932 * time/tst-strptime2.c (do_test): Ensure failing tests are
7933 reported correctly.
7934 * time/tst-strptime3.c (do_test): Likewise.
7935
7936 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7937
7938 Fix aio_error thread-safety.
7939 * sysdeps/pthread/aio_error.c: New file
7940 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7941 synchronization.
7942
7943 2015-03-06 Florian Weimer <fweimer@redhat.com>
7944
7945 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7946 (group_number, vfprintf): Use it.
7947 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7948 (JUMP, REF): Use it.
7949 (WORK_BUFFER_SIZE): New enum constant.
7950 (process_arg, vfprintf): Use it.
7951
7952 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7953
7954 * manual/errno.texi (Error Messages): Complete example function
7955 by adding missing #define.
7956 (program_invocation_name): Add statement indicating GNU
7957 extension and reference which header file declares the variable.
7958 (program_invocation_short_name): Likewise.
7959
7960 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7961
7962 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7963 compatibility note.
7964
7965 2015-03-05 Roland McGrath <roland@hack.frob.com>
7966
7967 * Makeconfig (test-wrapper-env-only): New variable.
7968 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7969 then use that with $(test-wrapper-env-only) rather than using
7970 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7971
7972 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7973
7974 [BZ #18082]
7975 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7976 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7977 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7978 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7979 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7980 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7981 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7982 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7983 Likewise.
7984 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7985 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7986 Likewise.
7987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7988 Likewise.
7989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7990 Likewise.
7991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7992 Likewise.
7993 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7994 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7995 Likewise.
7996 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7997 Likewise.
7998 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7999 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8000
8001 2015-03-04 Roland McGrath <roland@hack.frob.com>
8002
8003 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8004 (ETH_ALEN): New macro.
8005 (struct ether_addr): Use it for length of ether_addr_octet.
8006
8007 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8008 (setdb): Don't call __nss_configure_lookup for "rpc".
8009 (do_test): Don't call test_rpc.
8010 (output_rpcent, test_rpc): Functions moved ...
8011 * sunrpc/test-rpcent.c: ... to this new file.
8012 * sunrpc/Makefile (tests): Add it.
8013
8014 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8015 __xpg_sigpause.
8016 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8017 * nptl/tst-signal6.c: Likewise.
8018 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8019 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8020
8021 * configure.ac (libc_cv_cxx_link_ok): New check.
8022 Reset CXX to empty if it fails to link.
8023 * configure: Regenerated.
8024 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8025 bug-atexit3-lib only if $(CXX) is nonempty.
8026 * nptl/Makefile (tests): Likewise for tst-cancel24.
8027 (tests, tests-static): Likewise for tst-cancel24-static.
8028 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8029 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8030 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8031 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8032
8033 2015-03-04 Andreas Schwab <schwab@suse.de>
8034
8035 [BZ #17631]
8036 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8037 for non-GCC compilers.
8038 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8039 Likewise.
8040
8041 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8042
8043 [BZ #17776]
8044 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8045 integer before bitwise and assembly operations.
8046 (feclearexcept): Likewise.
8047 * math/test-fenvinline.c: New file.
8048 * math/Makefile: Add test-fenvinline test.
8049
8050 2015-03-03 Alan Modra <amodra@gmail.com>
8051
8052 [BZ #16512]
8053 * scripts/localplt.awk: Strip off symbol version.
8054 * NEWS: Mention bug fix.
8055
8056 2015-03-02 Roland McGrath <roland@hack.frob.com>
8057
8058 * sysdeps/pthread/timer_routines.c
8059 (timer_free_list, thread_free_list, thread_active_list): Make static.
8060
8061 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8062
8063 [BZ #17779]
8064 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8065 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8066 Undefine.
8067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8068 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8069 Likewise.
8070 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8071 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8072 Likewise.
8073
8074 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8075
8076 [BZ #18036]
8077 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8078 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8079
8080 2015-03-02 Andreas Schwab <schwab@suse.de>
8081
8082 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8083 variable name.
8084
8085 2015-03-02 Florian Weimer <fweimer@redhat.com>
8086
8087 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8088 Return error status.
8089
8090 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8091
8092 [BZ #15969]
8093 * locale/findlocale.c (_nl_find_locale): Introduce const
8094 version of loc_name and drop unsafe type casts.
8095
8096 2015-02-27 Roland McGrath <roland@hack.frob.com>
8097
8098 * dlfcn/tststatic2.c (main): Converted to ...
8099 (do_test): ... this.
8100 (TEST_FUNCTION): New macro.
8101 Include test-skeleton.c.
8102
8103 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 [BZ #17711]
8106 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8107 (tests-pie): Add vismain.
8108 (CFLAGS-vismain.c): New.
8109 * elf/vismain.c: Add comments for PIE requirement.
8110
8111 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8112
8113 [BZ #18046]
8114 [BZ #18047]
8115 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8116 0x1p-56L as threshold for just returning the argument.
8117 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8118 0x1p-32L as threshold for just returning the argument.
8119 * math/auto-libm-test-in: Add more tests of atanh.
8120 * math/auto-libm-test-out: Regenerated.
8121 * sysdeps/i386/fpu/libm-test-ulps: Update.
8122 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8123
8124 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8125
8126 * string/bcopy.c (bcopy): Call memmove for performance.
8127
8128 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8129
8130 * string/bzero.c (__bzero): Call memset for performance.
8131
8132 2015-02-27 John David Anglin <dave.anglin@bell.net>
8133
8134 [BZ #18068]
8135 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8136 to 00100000.
8137
8138 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8139
8140 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8141
8142 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8143
8144 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8145 (__kernel_standard): Use CSTR macro when setting exc.name.
8146 * sysdeps/ieee754/Makefile [$(subdir) = math]
8147 (CFLAGS-k_standard.c): Remove variable.
8148
8149 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8150 setting p and q from "else if" to "else".
8151 (qzero): Likewise.
8152 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8153 (qone): Likewise.
8154 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8155 (qzerof): Likewise.
8156 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8157 (qonef): Likewise.
8158 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8159 (qzero): Likewise.
8160 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8161 (qone): Likewise.
8162
8163 [BZ #18038]
8164 [BZ #18039]
8165 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8166 return pi/2 for arguments below 0x1p-113L.
8167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8168 return pi/2 for arguments below 0x1p-106L.
8169 * math/auto-libm-test-in: Add more tests of acos.
8170 * math/auto-libm-test-out: Regenerated.
8171
8172 [BZ #16351]
8173 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8174 (MO): New macro.
8175 (__ieee754_asin): Force underflow exception for results with small
8176 absolute value.
8177 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8178 (MO): New macro.
8179 (__ieee754_asinf): Force underflow exception for results with
8180 small absolute value.
8181 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8182 (__ieee754_asin): Force underflow exception for results with small
8183 absolute value.
8184 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8185 (__ieee754_asinf): Force underflow exception for results with
8186 small absolute value.
8187 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8188 (__ieee754_asinl): Force underflow exception for results with
8189 small absolute value.
8190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8191 (__ieee754_asinl): Force underflow exception for results with
8192 small absolute value.
8193 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8194 (__ieee754_asinl): Force underflow exception for results with
8195 small absolute value.
8196 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8197 Include <math.h>.
8198 * math/auto-libm-test-in: Do not mark underflow exceptions as
8199 possibly missing for bug 16351.
8200 * math/auto-libm-test-out: Regenerated.
8201
8202 [BZ #18030]
8203 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8204 of power of 2 down when low part has opposite sign.
8205 * math/libm-test.inc (logb_test_data): Add more tests.
8206
8207 2015-02-26 Andreas Schwab <schwab@suse.de>
8208
8209 [BZ #18032]
8210 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8211 over collating symbol inside a bracket expression. Minor cleanup.
8212 * posix/tst-fnmatch3.c (do_test): Add test case.
8213
8214 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8215
8216 [BZ #18029]
8217 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8218 Adjust exponent of power of 2 down when low part has opposite
8219 sign.
8220 * math/libm-test.inc (ilogb_test_data): Add more tests.
8221
8222 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8223
8224 [BZ #15969]
8225 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8226 the previous change.
8227
8228 [BZ #15969]
8229 * locale/findlocale.c (_nl_find_locale): Retry archive search
8230 after alias expansion.
8231
8232 2015-02-25 Roland McGrath <roland@hack.frob.com>
8233
8234 * iconv/tst-iconv3.c (main): Converted to ...
8235 (do_test): ... this.
8236 (TEST_FUNCTION): New macro.
8237 Include test-skeleton.c.
8238
8239 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8240 (convert): Make function static.
8241 (test_unalign): Likewise. Add const to argument pointee types.
8242 (main): Replace with static function do_test.
8243 Print "Succeeded." only if RET is zero.
8244 (TEST_FUNCTION): New macro.
8245 Include test-skeleton.c.
8246
8247 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8248 returns a null pointer.
8249
8250 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8251
8252 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8253 to __memcpy_ppc only for static builds.
8254
8255 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8256
8257 [BZ #18020]
8258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8259 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8260 * math/auto-libm-test-in: Add more tests of asinh.
8261 * math/auto-libm-test-out: Regenerated.
8262 * sysdeps/i386/fpu/libm-test-ulps: Update.
8263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8264
8265 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8266
8267 [BZ #15850]
8268 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8269 and ip6_mtuinfo definitions here.
8270 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8271 in this define too. Update comment.
8272
8273 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8274
8275 * elf/sprof.c (load_shobj): Tweak error message to match others.
8276
8277 2015-02-24 Kevin Easton <kevin@guarana.org>
8278
8279 [BZ #16145] (partial fix)
8280 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8281 to reduce lock contention.
8282
8283 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8284
8285 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8286 (struct timex): Update time comment.
8287 (ADJ_SETOFFSET): Define.
8288
8289 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8290
8291 [BZ #18019]
8292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8293 2**56 not 2**28 as threshold for log (2x) formula.
8294 * math/auto-libm-test-in: Add more tests of acosh.
8295 * math/auto-libm-test-out: Regenerated.
8296 * sysdeps/i386/fpu/libm-test-ulps: Update.
8297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8298
8299 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8300
8301 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8302 parenthesis around the buf assignment.
8303 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8304
8305 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8306
8307 [BZ #16783]
8308 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8309 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8310 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8311 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8312 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8313 * math/libm-test.inc (scalb_test_data): Add more tests.
8314
8315 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8316
8317 [BZ #17916]
8318 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8319 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8320
8321 2015-02-24 Eric Rannaud <e@nanocritical.com>
8322
8323 [BZ #17523]
8324 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8325 * io/bits/fcntl2.h (open): Use it.
8326 (openat): Likewise.
8327 * io/open.c (__libc_open): Likewise.
8328 * io/open64.c (__libc_open64): Likewise.
8329 * io/open64_2.c (__open64_2): Likewise.
8330 * io/open_2.c (__open_2): Likewise.
8331 * io/openat.c (__openat): Likewise.
8332 * io/openat64.c (__openat64): Likewise.
8333 * io/openat64_2.c (__openat64_2): Likewise.
8334 * io/openat_2.c (__openat_2): Likewise.
8335 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8336 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8337 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8338 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8339 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8340 (__open_nocancel): Likewise.
8341 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8342 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8343 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8344
8345 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8346
8347 [BZ #14841]
8348 * resolv/gethnamaddr.c (getanswer): Skip logging if
8349 RES_USE_DNSSEC is set.
8350 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8351
8352 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8353
8354 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8355
8356 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8357
8358 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8359 201304L, for Unicode 7.
8360
8361 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8362
8363 [BZ #17836]
8364 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8365 shared library. Add gmon-start.os otherwise.
8366 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8367 $(objpfx)gmon-start.os if builing shared library.
8368 ($(objpfx)g$(static-start-installed-name)): Likewise.
8369
8370 2015-02-23 Andreas Schwab <schwab@suse.de>
8371
8372 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8373
8374 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8375
8376 [BZ #17269]
8377 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8378 (enlarge_userbuf): Likewise.
8379
8380 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8381
8382 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8383 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8384 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8385 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8386
8387 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8388
8389 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8390 expression inside statement expression.
8391
8392 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8393
8394 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8395 <sysdeps/nptl/lowlevellock.h> and remove macros and
8396 functions that are now defined there.
8397 (SYS_futex): Remove.
8398 (lll_compare_and_swap): Remove.
8399 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8400
8401 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8402
8403 [BZ #17999]
8404 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8405 instead of scandirat.
8406 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8407 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8408 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8409 __scandirat.
8410 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8411 (__scandirat): Declare. Use libc_hidden_proto.
8412 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8413 Remove variable.
8414 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8415
8416 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8417
8418 [BZ #15319]
8419 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8420 (MO): New macro.
8421 (__ieee754_atan2): For results with small absolute value, force
8422 underflow exception and remove excess range and precision from
8423 return value.
8424 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8425 (MO): New macro.
8426 (__ieee754_atan2f): For results with small absolute value, force
8427 underflow exception and remove excess range and precision from
8428 return value.
8429 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8430 (MO): New macro.
8431 (__atan): For results with small absolute value, force underflow
8432 exception and remove excess range and precision from return value.
8433 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8434 (MO): New macro.
8435 (__atanf): For results with small absolute value, force underflow
8436 exception and remove excess range and precision from return value.
8437 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8438 <math.h>.
8439 (__ieee754_atan2): Force underflow exception for results with
8440 small absolute value.
8441 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8442 <math_private.h>.
8443 (atan): Force underflow exception for results with small absolute
8444 value.
8445 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8446 (__atanf): Force underflow exception for results with small
8447 absolute value.
8448 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8449 <math.h>.
8450 (__atanl): Force underflow exception for results with small
8451 absolute value.
8452 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8453 (__atanl): Force underflow exception for results with small
8454 absolute value.
8455 * sysdeps/x86/fpu/bits/mathinline.h
8456 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8457 (__ieee754_atan2): Only define inline for long double.
8458 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8459 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8460 * math/auto-libm-test-in: Do not mark underflow exceptions as
8461 possibly missing for bug 15319. Add more tests of atan2.
8462 * math/auto-libm-test-out: Regenerated.
8463 * math/libm-test.inc (casin_test_data): Do not mark underflow
8464 exceptions as possibly missing for bug 15319.
8465 (casinh_test_data): Likewise.
8466 * sysdeps/i386/fpu/libm-test-ulps: Update.
8467
8468 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8469
8470 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8471 * sysdeps/mips/bits/endian.h: Fix comments.
8472
8473 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8474
8475 [BZ #17996]
8476 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8477 (hdestroy_r): Likewise.
8478 (hsearch_r): Likewise.
8479 (__hcreate_r): Declare and use libc_hidden_proto.
8480 (__hdestroy_r): Likewise.
8481 (__hsearch_r): Likewise.
8482 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8483 (hcreate): Call __hcreate_r instead of hcreate_r.
8484 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8485 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8486 as weak alias of __hcreate_r.
8487 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8488 __hdestroy_r.
8489 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8490 __hsearch_r.
8491 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8492 Remove variable.
8493 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8494 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8495 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8496 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8497
8498 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8499
8500 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8501 arena_lock into a single arena_get.
8502
8503 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8504
8505 * dl-reloc.c: Inlucde libc-internal.h.
8506 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8507 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8508 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8509 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8510 (grow_heap): Likewise.
8511 * malloc/malloc.c: Include libc-internal.h.
8512 (do_check_malloc): Call powerof2.
8513 (sysmalloc): Use pagesize. Call ALIGN_UP.
8514 (systrim): Use pagesize.
8515 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8516 (__libc_valloc): Use pagesize.
8517 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8518
8519 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8520
8521 [BZ #17991]
8522 * include/sys/resource.h (__getrlimit64): Declare. Use
8523 libc_hidden_proto.
8524 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8525 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8526 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8527 getrlimit64.
8528 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8529 __getrlimit64.
8530 [!getrlimit64] (getrlimit64): Define as weak alias of
8531 __getrlimit64. Use libc_hidden_weak.
8532 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8533 using __getrlimit64 not __new_getrlimit64.
8534 (__GI_getrlimit64): Likewise.
8535 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8536 Likewise.
8537 (__GI_getrlimit64): Likewise.
8538 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8540 (getrlimit): Add __getrlimit64 alias.
8541 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8542 Likewise.
8543 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8544 Remove variable.
8545 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8546 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8547
8548 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8549
8550 * libio/fileops.c: Add missing sys/mman.h
8551 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8552
8553 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8554
8555 * manual/math.texi (Errors in Math Functions): Clarify goals
8556 regarding inexact and underflow exceptions.
8557
8558 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8559
8560 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8561 * sysdeps/mips/memset.S: Ditto.
8562
8563 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8564
8565 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8566
8567 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8568
8569 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8570 (__v1longjmp): Remove versioned symbol.
8571 (__v1siglongjmp): Remove alias and versioned symbol.
8572 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8573 (__v2siglongjmp): Likewise.
8574
8575 2015-02-16 Torvald Riegel <triegel@redhat.com>
8576
8577 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8578
8579 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8580
8581 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8582
8583 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8584
8585 [BZ #17987]
8586 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8587 zero result does not depend on the sign resulting from
8588 subtraction.
8589 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8590 Likewise.
8591 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8592 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8594 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8595 * math/libm-test.inc (remquo_test_data): Add more tests.
8596
8597 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8598
8599 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8600 Problem reported by J William Piggott.
8601
8602 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8603
8604 [BZ #17978]
8605 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8606 products 4 * y and 2 * y where those would overflow.
8607 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8608 Likewise.
8609 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8610 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8612 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8613 * math/libm-test.inc (remquo_test_data): Add more tests.
8614
8615 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8616
8617 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8618 [defined _COMPILING_NEWLIB].
8619 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8620 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8621
8622 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8623 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8624
8625 2015-02-16 Torvald Riegel <triegel@redhat.com>
8626
8627 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8628 acquired.
8629
8630 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8631
8632 [BZ #17792]
8633 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8634 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8635 HOST_STACK_END_ADDR): Likewise.
8636
8637 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8638
8639 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8640 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8641 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8642
8643 2015-02-13 Roland McGrath <roland@hack.frob.com>
8644
8645 * sysdeps/generic/c++-types.data: New file.
8646 * sysdeps/generic/ld.abilist: New file.
8647 * sysdeps/generic/libBrokenLocale.abilist: New file.
8648 * sysdeps/generic/libanl.abilist: New file.
8649 * sysdeps/generic/libc.abilist: New file.
8650 * sysdeps/generic/libcrypt.abilist: New file.
8651 * sysdeps/generic/libdl.abilist: New file.
8652 * sysdeps/generic/libm.abilist: New file.
8653 * sysdeps/generic/libpthread.abilist: New file.
8654 * sysdeps/generic/libresolv.abilist: New file.
8655 * sysdeps/generic/librt.abilist: New file.
8656
8657 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8658
8659 [BZ #17569]
8660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8661 Compute absolute value of x as modified by fmod, not original
8662 value of x.
8663 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8664 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8665 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8666 RUN_TEST_ffI_f1_mod8.
8667 (remquo_test_data): Add more tests.
8668
8669 2015-02-13 Roland McGrath <roland@hack.frob.com>
8670
8671 * sysdeps/init_array/pt-crti.S: New file.
8672
8673 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8674
8675 [BZ #17967]
8676 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8677 __builtin_fmaf instead of relying on contraction of a * b + c.
8678
8679 2015-02-12 J William Piggott <elseifthen@gmx.com>
8680
8681 [BZ #17969]
8682 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8683 node.
8684
8685 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8686
8687 [BZ #17964]
8688 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8689 __builtin_fma instead of relying on contraction of a * b + c.
8690
8691 2015-02-12 Roland McGrath <roland@hack.frob.com>
8692
8693 * Makeconfig (ASFLAGS): Add -Werror=undef.
8694 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8695 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8696 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8697
8698 * Makeconfig (after-link): New variable.
8699 (+link-pie, +link-pie-tests): Use it.
8700 (+link-static, +link-static-tests): Likewise.
8701 (+link, +link-tests): Likewise.
8702 * Makerules (build-module, build-module-asneeded): Likewise.
8703 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8704 Likewise.
8705 * elf/Makefile ($(objpfx)ld.so): Likewise.
8706
8707 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8708
8709 [BZ #17965]
8710 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8711 both struct timeval and struct timespec.
8712
8713 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8714
8715 [BZ #16560]
8716 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8717 and redefine.
8718 (__ieee754_exp2l): Do not multiply small fractional parts by
8719 M_LN2l.
8720 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8721 small argument.
8722 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8723 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8724 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8725 * math/auto-libm-test-in: Add more tests of exp2.
8726 * math/auto-libm-test-out: Regenerated.
8727
8728 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8729
8730 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8731 unaligned path.
8732
8733 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8734
8735 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8736 little endian.
8737
8738 2015-02-12 Andreas Schwab <schwab@suse.de>
8739
8740 [BZ #15790]
8741 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8742 Filter out elision flags from value returned in kind.
8743 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8744 * nptl/tst-pthread-mutexattr.c: New file.
8745
8746 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8747
8748 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8749 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8750 into gnu-gnu, and update comment to refer to abi-tags.
8751
8752 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8753
8754 [BZ #15467]
8755 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8756 (__sincos): Set errno to EDOM for infinite argument.
8757 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8758 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8759 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8760 (__sincosl): Set errno to EDOM for infinite argument.
8761 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8762 (__sincosl): Set errno to EDOM for infinite argument.
8763 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8764 (__sincosl): Set errno to EDOM for infinite argument.
8765 * math/libm-test.inc (sincos_test_data): Test errno setting.
8766
8767 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8768
8769 * string/strxfrm_l.c: Remove #define STRCMP.
8770 * string/strcoll_l.c: Remove #define STRLEN.
8771 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8772 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8773
8774 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8775
8776 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8777 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8778 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8779 * sysdeps/mips/mips64/Makefile: ... here.
8780 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8781 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8782 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8783 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8784 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8785 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8786 * sysdeps/mips/mips64/n64/Implies: Likewise.
8787
8788 2015-02-10 Roland McGrath <roland@hack.frob.com>
8789
8790 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8791 <sys/time.h>, <string.h>, and <errno.h>.
8792 (dest_offset, dest_address, value, zero): Remove unused variables.
8793 (ldouble): Remove typedef.
8794 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8795 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8796 1). Fix code style.
8797 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8798 (check): Function removed.
8799 (CHECK): New macro.
8800 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8801 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8802 Don't call set_sigaction_FP and remove_sigaction_FP here.
8803 (ldouble_test): Just use 'long double' as macro argument, no need for
8804 the 'ldouble' typedef.
8805 (do_test): Set up SIGFPE handler at start, using plain signal rather
8806 than sigaction. Fix code style.
8807
8808 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8809
8810 [BZ #17949]
8811 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8812 jump label.
8813
8814 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8815
8816 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8817 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8818
8819 * sysdeps/powerpc/configure.ac: Remove file.
8820 * sysdeps/powerpc/configure: Likewise.
8821
8822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8823 [sysdep_routines]: Remove wordcopy-power6 object.
8824 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8825 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8827 (__memmove_ppc32): Likewise.
8828 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8829 file.
8830 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8831 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8832 Remove preprocessor.
8833
8834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8835 [sysdep_routines]: Remove wide chars objects.
8836 [wcsmbs]: New rule for wide char objects.
8837
8838 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8839 Remove wordcopy-power6 obejct.
8840 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8841 Use local call for wordcopy and memcpy symbols.
8842 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8843 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8844 implementation for loader.
8845 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8846
8847 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8848 Remove wordcopy-power7 object.
8849 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8850 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8851 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8852 (_wordcopy_fwd_dest_aligned): Likewise.
8853 (_wordcopy_bwd_aligned): Likewise.
8854 (_wordcopy_bwd_dest_aligned): Likewise.
8855
8856 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8857 Rewrite to call __memmove_ppc instead of include default
8858 implementation.
8859
8860 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8861 Remove wide chars objects.
8862 [wcsmbs]: New rule for wide char objects.
8863
8864 2015-02-09 Andreas Schwab <schwab@suse.de>
8865
8866 [BZ #17912]
8867 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8868 in terms of __O_DIRECTORY.
8869
8870 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8871
8872 * time/getdate.c: Include <stdbool.h>.
8873 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8874 call PTR_MANGLE.
8875 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8876 PTR_DEMANGLE.
8877
8878 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8879
8880 Add ersatz _Static_assert on older C hosts
8881 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8882 pre-C11 C platform that is not known to support _Static_assert.
8883
8884 2015-02-07 Richard Braun <rbraun@sceen.net>
8885
8886 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8887 sigstate.
8888 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8889
8890 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8891
8892 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8893 priority against unexistent AIO_PRIO_DELTA_MAX.
8894 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8895 instead of int.
8896 * misc/fchflags.c (fchflags): Likewise.
8897 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8898 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8899 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8900 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8901 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8902 Declare macros.
8903 [__USE_MISC] (chflags, fchflags): Declare functions.
8904 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8905 EINVAL when nfds is greater than FD_SETSIZE.
8906 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8907 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8908 45.
8909 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8910 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8911 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8912 MACH_RCV_TIMED_OUT.
8913 * hurd/hurd/signal.h (_hurd_self_sigstate,
8914 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8915 Explicit casts from void *.
8916 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8917 * abi-tags: Rename gnu-gnu os into gnu.
8918
8919 [BZ #4719]
8920 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8921 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8922 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8923 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8924 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8925 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8926
8927 [BZ #17944]
8928 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8929 duplicates ADDR->sun_path with sockaddr LEN limitation.
8930 * sysdeps/mach/hurd/connect.c: Include <string.h>
8931 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8932 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8933 * sysdeps/mach/hurd/sendto.c: Likewise.
8934 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8935 implementing it by hand.
8936
8937 2015-02-06 Roland McGrath <roland@hack.frob.com>
8938
8939 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8940 Use sfi_breg on ldr.
8941 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8942 Likewise.
8943
8944 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8945 it's defined.
8946 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8947 Test SIGSETXID only if it's defined.
8948
8949 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8950
8951 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8952 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8953
8954 * nptl/tst-align2.c: Moved ...
8955 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8956 * nptl/Makefile (tests): Remove tst-align2.
8957 * sysdeps/unix/sysv/linux/Makefile
8958 [$(subdir) = nptl] (tests): Add tst-align-clone.
8959 * nptl/tst-getpid1.c: Moved ...
8960 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8961 * nptl/tst-getpid2.c: Moved ...
8962 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8963 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8964 * sysdeps/unix/sysv/linux/Makefile
8965 [$(subdir) = nptl] (tests): ... here.
8966 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8967 * sysdeps/unix/sysv/linux/Makefile
8968 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8969
8970 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8971 Drop trailing \n from perror argument. Use return rather than exit.
8972
8973 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8974 on [SA_SIGINFO].
8975 * nptl/tst-cancel21.c (do_test): Likewise.
8976 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8977 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8978 [!SA_SIGINFO]: Make it a stub test.
8979
8980 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8981 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8982
8983 * posix/tst-getlogin.c: Move to ...
8984 * login/tst-getlogin.c: ... here.
8985 * posix/Makefile (tests): Move tst-getlogin to ...
8986 * login/Makefile (tests): ... here.
8987
8988 * libio/tst-atime.c (do_test): Move local variables SV and E
8989 inside [ST_NOATIME] conditional.
8990
8991 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8992
8993 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8994
8995 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8996 (wait_code): New function replaces macro.
8997 Call nanosleep rather than syscall.
8998
8999 * nptl/pt-system.c: Rewritten. Put everything under
9000 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9001 Use IFUNC to redirect when possible.
9002
9003 * nptl/pt-longjmp.c: Rewritten. Put everything under
9004 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9005 Use IFUNC to redirect when possible.
9006
9007 * nptl/pt-fork.c: Rewritten. Put everything under
9008 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9009 Use IFUNC to redirect when possible.
9010 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9011
9012 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9013 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9014 unconditionally nowadays. This included the only reference to
9015 __vdso_clock_gettime that appears outside libc proper.
9016 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9017 Remove version set (containing only __vdso_clock_gettime).
9018 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9019 Add attribute_hidden.
9020 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9021 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9022 libc_hidden_data_def.
9023 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9024 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9025
9026 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9027 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9028 setrpcent, and getrpcport to ...
9029 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9030 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9031 getrpcbynumber_r, and getrpcent_r to ...
9032 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9033 * inet/getrpcbyname.c: Moved ...
9034 * sunrpc/getrpcbyname.c: ... here.
9035 * inet/getrpcbyname_r.c: Moved ...
9036 * sunrpc/getrpcbyname_r.c: ... here.
9037 * inet/getrpcbynumber.c: Moved ...
9038 * sunrpc/getrpcbynumber.c: ... here.
9039 * inet/getrpcbynumber_r.c: Moved ...
9040 * sunrpc/getrpcbynumber_r.c: ... here.
9041 * inet/getrpcent.c: Moved ...
9042 * sunrpc/getrpcent.c: ... here.
9043 * inet/getrpcent_r.c: Moved ...
9044 * sunrpc/getrpcent_r.c: ... here.
9045 * inet/Makefile (routines): Move those to ...
9046 * sunrpc/Makefile (routines): ... here.
9047 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9048 the $(subdirs) list.
9049 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9050 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9051 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9052 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9053
9054 * elf/Makefile (routines): Include $(all-dl-routines), not just
9055 $(dl-routines).
9056 (rtld-routines): Likewise. Use = rather than :=.
9057 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9058 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9059 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9060 * sysdeps/arm/Makefile: Likewise.
9061 * sysdeps/i386/Makefile: Likewise.
9062 * sysdeps/x86_64/Makefile: Likewise.
9063 * sysdeps/hppa/Makefile [$(subdir) = elf]
9064 (sysdep_routines, sysdep-rtld-routines): Don't add
9065 $(sysdep-dl-routines) to these.
9066 * sysdeps/ia64/Makefile: Likewise.
9067 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9068 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9069 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9070 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9071 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9072 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9073 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9074 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9075 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9076 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9077 these; sysdep-dl-routines alone is enough.
9078
9079 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9080
9081 [BZ #17932]
9082 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9083 where multiplication results in zero and third argument is finite
9084 and nonzero.
9085 * math/auto-libm-test-in: Add more tests of fma.
9086 * math/auto-libm-test-out: Regenerated.
9087
9088 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9089 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9090 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9091 (_FP_CMP_EQ): Likewise.
9092 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9093
9094 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9095 extra argument CHECK_NAN. Redefine as wrapper around
9096 _FP_EXTEND_CNAN.
9097
9098 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9099
9100 * version.h (RELEASE): Set to "stable".
9101 (VERSION): Set to "2.21"
9102 * include/features.h (__GLIBC_MINOR__): Set to 21.
9103
9104 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9105
9106 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9107 Paul Eggert <eggert@cs.ucla.edu>
9108
9109 [BZ #16618]
9110 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9112 size in bytes. Store needed elements in wpmax. Use needed size
9113 in bytes for extend_alloca.
9114
9115 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9116
9117 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9118 binutls 2.25, and texinfo 5.2.
9119 * INSTALL: Regenerate.
9120 * sysdeps/nios2/configure: Regenerate.
9121 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9122 * manual/contrib.texi: Update.
9123 * po/be.po: Update.
9124 * po/bg.po: Update.
9125 * po/ca.po: Update.
9126 * po/cs.po: Update.
9127 * po/da.po: Update.
9128 * po/de.po: Update.
9129 * po/el.po: Update.
9130 * po/eo.po: Update.
9131 * po/es.po: Update.
9132 * po/fi.po: Update.
9133 * po/fr.po: Update.
9134 * po/gl.po: Update.
9135 * po/hr.po: Update.
9136 * po/hu.po: Update.
9137 * po/ia.po: Update.
9138 * po/id.po: Update.
9139 * po/it.po: Update.
9140 * po/ja.po: Update.
9141 * po/ko.po: Update.
9142 * po/lt.po: Update.
9143 * po/nb.po: Update.
9144 * po/nl.po: Update.
9145 * po/pl.po: Update.
9146 * po/pt_BR.po: Update.
9147 * po/ru.po: Update.
9148 * po/rw.po: Update.
9149 * po/sk.po: Update.
9150 * po/sl.po: Update.
9151 * po/sv.po: Update.
9152 * po/tr.po: Update.
9153 * po/uk.po: Update.
9154 * po/vi.po: Update.
9155 * po/zh_CN.po: Update.
9156 * po/zh_TW.po: Update.
9157
9158 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9159 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9160 * sysdeps/hppa/dl-irel.h: Remove #warning.
9161 * sysdeps/hppa/entry.h: Provide prototype for
9162 __canonicalize_funcptr_for_compare and cast argument.
9163 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9164 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9165 * sysdeps/hppa/sotruss-lib.c: New file.
9166 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9167 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9168 (atomic_compare_and_exchange_bool_acq): Likewise.
9169 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9170 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9171
9172 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9173 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9174 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9175
9176 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9177
9178 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9179 called function in non-PIC case.
9180
9181 2015-01-31 David S. Miller <davem@davemloft.net>
9182
9183 * sysdeps/sparc/sparc32/bits/atomic.h
9184 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9185 unlock not after it.
9186 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9187 volatile register usage warnings from the compiler.
9188
9189 * sysdeps/sparc/nptl/sem_init.c: Delete.
9190 * sysdeps/sparc/nptl/sem_post.c: Delete.
9191 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9192 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9193 * sysdeps/sparc/sparc32/sem_init.c: New file.
9194 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9195 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9196 padding explicitly initialized.
9197 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9198 padding for in-semaphore spinlock.
9199 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9200 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9201 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9202 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9203 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9204 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9205 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9206 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9207 version.
9208 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9209 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9210
9211 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9212
9213 [BZ #17801]
9214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9215 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9216 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9217 New.
9218 (index_AVX_Fast_Unaligned_Load): Likewise.
9219 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9220 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9221 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9222 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9223 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9224 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9225 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9226 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9227 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9228
9229 2015-01-29 Andreas Schwab <schwab@suse.de>
9230
9231 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9232
9233 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9234
9235 [BZ #17892]
9236 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9237
9238 2015-01-28 Martin Sebor <msebor@redhat.com>
9239
9240 * math/README.libm-test: Clarify. Add "How to read the test output."
9241
9242 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9243
9244 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9245 Define to 0.
9246
9247 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9248
9249 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9250 (__HAVE_64B_ATOMICS): Define to 0.
9251
9252 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9253
9254 [BZ #17885]
9255 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9256 value to set as new flag.
9257
9258 [BZ #16576]
9259 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9260 and use _ARCH_PPCSQ instead.
9261 (__ieee754_sqrt): Likewise.
9262 (__ieee754_sqrtf): Likewise.
9263 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9264 _ARCH_PPCSQ is defined.
9265 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9266 fsqrt instruction.
9267 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9268 _ARCH_PPCSQ is defined.
9269 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9270 fsqrts instruction.
9271 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9272
9273 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9274
9275 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9276 bug (GCC BZ #64739).
9277
9278 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9279
9280 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9281 Mark _retval as used.
9282 (lll_futex_wake_unlock): Likewise.
9283 (lll_futex_timed_wait_requeue_pi): Likewise.
9284
9285 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9286 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9287 register variables.
9288
9289 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9290 libm_hidden_def.
9291
9292 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9293 (__bswap_64): Mark as __always_inline.
9294
9295 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9296
9297 [BZ #15378]
9298 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9299 when none of the search directories exist.
9300
9301 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9302
9303 [BZ #17869]
9304 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9305 power8 in .machine directive.
9306
9307 [BZ #17868]
9308 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9309 set dependency from opd value.
9310
9311 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9314 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9315 architecture.
9316
9317 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9318
9319 [BZ #17870]
9320 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9321 with uint64_t.
9322 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9323 (uint64_t) 1.
9324 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9325 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9326 Replace 1UL with (uint64_t) 1.
9327 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9328 int with uint64_t.
9329
9330 2015-01-23 Roland McGrath <roland@hack.frob.com>
9331
9332 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9333 (if_freenameindex): Likewise.
9334
9335 * resource/getrlimit64.c: Add missing libc_hidden_def.
9336
9337 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9338
9339 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9340 __label__.
9341 (_FP_FMA): Likewise.
9342 (_FP_TO_INT_ROUND): Likewise.
9343 (_FP_FROM_INT): Likewise.
9344
9345 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9346
9347 [BZ #16418]
9348 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9349 Make code racy and cancel safe.
9350
9351 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9352
9353 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9354 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9355 attribution.
9356
9357 * pwd/tst-getpw.c: Rewrite.
9358
9359 [BZ #17702]
9360 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9361 (modules-names): Add moddummy1 and moddummy2.
9362 ($(objpfx)tst-rec-dlopen): Define.
9363 * dlfcn/moddummy1.c: New file.
9364 * dlfcn/moddummy2.c: New file.
9365 * dlfcn/tst-rec-dlopen.c: New file.
9366 * elf/dl-cache.c (_dl_load_cache_lookup):
9367 Return char*. Copy result with alloca/strcpy/strdup.
9368 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9369 returns char*. Free cached. If not saving realname
9370 free cached.
9371 * elf/dl-open.c (dl_open_worker): Do not assert that
9372 _r_debug->r_state is RT_CONSISTENT.
9373 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9374 returns char*.
9375
9376 2015-01-21 Torvald Riegel <triegel@redhat.com>
9377 Carlos O'Donell <carlos@redhat.com>
9378
9379 [BZ #12674]
9380 * nptl/sem_waitcommon.c: New file.
9381 * nptl/sem_wait.c: Include sem_waitcommon.c.
9382 (__sem_wait_cleanup, do_futex_wait): Remove.
9383 (__new_sem_wait): Adapt.
9384 (__new_sem_trywait): New function.
9385 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9386 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9387 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9388 (sem_timedwait): Adapt.
9389 * nptl/sem_post.c (__new_sem_post): Adapt.
9390 (futex_wake): New function.
9391 (__old_sem_post): Add release MO fence.
9392 * nptl/sem_open.c (sem_open): Adapt.
9393 * nptl/sem_init.c (__new_sem_init): Adapt.
9394 (futex_private_if_supported): New function.
9395 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9396 (__old_sem_getvalue): Add using previous code.
9397 * sysdeps/nptl/internaltypes.h: Adapt.
9398 * nptl/tst-sem13.c (do_test): Adapt.
9399 * nptl/tst-sem11.c (main): Adapt.
9400 * nptl/sem_trywait.c: Remove.
9401 * nptl/DESIGN-sem.txt: Remove.
9402 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9403 (gen-as-const-headers): Remove structsem.sym.
9404 * nptl/structsem.sym: Remove.
9405 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9406 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9407 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9408 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9409 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9410 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9411 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9412 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9413 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9414 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9415 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9416 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9417 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9418 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9419 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9420 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9421 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9422 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9423 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9424 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9425 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9426 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9427
9428 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9429
9430 * INSTALL: Regenerated.
9431
9432 * po/libc.pot: Regenerated.
9433
9434 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9435 Sandra Loosemore <sandra@codesourcery.com>
9436 Andrew Jenner <andrew@codesourcery.com>
9437 Joseph Myers <joseph@codesourcery.com>
9438 Nathan Sidwell <nathan@codesourcery.com>
9439
9440 * NEWS: Mention new Nios II port.
9441 * sysdeps/nios2/Implies: New file.
9442 * sysdeps/nios2/Makefile: New file.
9443 * sysdeps/nios2/Subdirs: New file.
9444 * sysdeps/nios2/Versions: New file.
9445 * sysdeps/nios2/__longjmp.S: New file.
9446 * sysdeps/nios2/abort-instr.h: New file.
9447 * sysdeps/nios2/backtrace.c: New file.
9448 * sysdeps/nios2/bits/endian.h: New file.
9449 * sysdeps/nios2/bits/fenv.h: New file.
9450 * sysdeps/nios2/bits/link.h: New file.
9451 * sysdeps/nios2/bits/setjmp.h: New file.
9452 * sysdeps/nios2/bsd-_setjmp.S: New file.
9453 * sysdeps/nios2/bsd-setjmp.S: New file.
9454 * sysdeps/nios2/configure: New generated file.
9455 * sysdeps/nios2/configure.ac: New file.
9456 * sysdeps/nios2/crti.S: New file.
9457 * sysdeps/nios2/crtn.S: New file.
9458 * sysdeps/nios2/dl-init.c: New file.
9459 * sysdeps/nios2/dl-machine.h: New file.
9460 * sysdeps/nios2/dl-sysdep.h: New file.
9461 * sysdeps/nios2/dl-tls.h: New file.
9462 * sysdeps/nios2/dl-trampoline.S: New file.
9463 * sysdeps/nios2/gccframe.h: New file.
9464 * sysdeps/nios2/gmp-mparam.h: New file.
9465 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9466 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9467 * sysdeps/nios2/ldsodefs.h: New file.
9468 * sysdeps/nios2/libc-tls.c: New file.
9469 * sysdeps/nios2/libm-test-ulps: New file.
9470 * sysdeps/nios2/machine-gmon.h: New file.
9471 * sysdeps/nios2/math-tests.h: New file.
9472 * sysdeps/nios2/math_private.h: New file.
9473 * sysdeps/nios2/memusage.h: New file.
9474 * sysdeps/nios2/nptl/Makefile: New file.
9475 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9476 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9477 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9478 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9479 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9480 * sysdeps/nios2/nptl/tls.h: New file.
9481 * sysdeps/nios2/preconfigure: New file.
9482 * sysdeps/nios2/s_fma.c: New file.
9483 * sysdeps/nios2/s_fmaf.c: New file.
9484 * sysdeps/nios2/setjmp.S: New file.
9485 * sysdeps/nios2/sfp-machine.h: New file.
9486 * sysdeps/nios2/sotruss-lib.c: New file.
9487 * sysdeps/nios2/stackguard-macros.h: New file.
9488 * sysdeps/nios2/stackinfo.h: New file.
9489 * sysdeps/nios2/start.S: New file.
9490 * sysdeps/nios2/sysdep.h: New file.
9491 * sysdeps/nios2/tls-macros.h: New file.
9492 * sysdeps/nios2/tst-audit.h: New file.
9493 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9494 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9495 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9496 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9497 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9498 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9499 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9500 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9501 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9502 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9503 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9504 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9505 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9506 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9507 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9508 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9509 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9510 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9511 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9512 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9513 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9514 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9515 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9516 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9517 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9518 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9519 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9520 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9521 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9522 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9523 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9524 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9525 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9526 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9527 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9528 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9529 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9530 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9531 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9532 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9533 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9534 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9535 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9536 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9537
9538 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9539
9540 [BZ #17844]
9541 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9542 (getutent): Use weak_alias in non SHARED case
9543 and default_symbol_version in SHARED case.
9544 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9545 (getutent_r, pututline): Likewise.
9546 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9547 (getutid): Likewise.
9548 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9549 (getutid_r): Likewise.
9550 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9551 (getutline): Likewise.
9552 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9553 (getutline_r): Likewise.
9554 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9555 (updwtmp): Likewise.
9556
9557 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9558
9559 [BZ #17848]
9560 * sysdeps/s390/s390-32/memcmp.S
9561 (memcmp_g5): Rename to __memcmp_g5.
9562 * sysdeps/s390/s390-32/memcpy.S
9563 (memcpy_g5): Rename to __memcpy_g5.
9564 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9565 (memcpy_mvcle) Rename to __memcpy_mvcle.
9566 * sysdeps/s390/s390-32/memset.S
9567 (memset_g5): Rename to __memset_g5.
9568 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9569 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9570 and use prefixed functions.
9571 * sysdeps/s390/s390-32/multiarch/memcmp.S
9572 (memcmp_z196): Rename to __memcmp_z196.
9573 (memcmp_z10): Rename to __memcmp_z10.
9574 (memcmp): Set alias to __memcmp_g5.
9575 (bcmp): Set alias to __memcmp_g5.
9576 * sysdeps/s390/s390-32/multiarch/memcpy.S
9577 (memcpy_z196): Rename to __memcpy_z196.
9578 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9579 (memcpy_z10): Rename to __memcpy_z10.
9580 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9581 (memcpy): Set alias to __memcpy_g5.
9582 * sysdeps/s390/s390-32/multiarch/memset.S
9583 (memset_z196): Rename to __memset_z196.
9584 Jump to __memset_mvcle instead of memset_mvcle.
9585 (memset_z10): Rename to __memset_z10.
9586 Jump to __memset_mvcle instead of memset_mvcle.
9587 (memset_mvcle) Rename to __memset_mvcle.
9588 (memset): Set alias to __memset_g5.
9589 * sysdeps/s390/s390-64/memcmp.S
9590 (memcmp_z900): Rename to __memcmp_z900.
9591 * sysdeps/s390/s390-64/memcpy.S
9592 (memcpy_z900): Rename to __memcpy_z900.
9593 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9594 (memcpy_mvcle) Rename to __memcpy_mvcle.
9595 * sysdeps/s390/s390-64/memset.S
9596 (memset_z900): Rename to __memset_z900.
9597 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9598 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9599 and use prefixed functions.
9600 * sysdeps/s390/s390-64/multiarch/memcmp.S
9601 (memcmp_z196): Rename to __memcmp_z196.
9602 (memcmp_z10): Rename to __memcmp_z10.
9603 (memcmp): Set alias to __memcmp_z900.
9604 (bcmp): Set alias to __memcmp_z900.
9605 * sysdeps/s390/s390-64/multiarch/memcpy.S
9606 (memcpy_z196): Rename to __memcpy_z196.
9607 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9608 (memcpy_z10): Rename to __memcpy_z10.
9609 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9610 (memcpy): Set alias to __memcpy_z900.
9611 * sysdeps/s390/s390-64/multiarch/memset.S
9612 (memset_z196): Rename to __memset_z196.
9613 Jump to __memset_mvcle instead of memset_mvcle.
9614 (memset_z10): Rename to __memset_z10.
9615 Jump to __memset_mvcle instead of memset_mvcle.
9616 (memset_mvcle) Rename to __memset_mvcle.
9617 (memset): Set alias to __memset_z900.
9618
9619 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9620
9621 [BZ #17748]
9622 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9623 __fesetenv instead of fesetenv.
9624
9625 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9626
9627 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9628 macro.
9629
9630 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9631
9632 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9633 regression on LE.
9634
9635 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9636 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9637 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9638 strncmp-power8 object.
9639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9640 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9641 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9642 * NEWS: Update.
9643
9644 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9645 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9646
9647 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9648 trailing byte check.
9649
9650 2015-01-13 David S. Miller <davem@davemloft.net>
9651
9652 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9653
9654 2015-01-13 Roland McGrath <roland@hack.frob.com>
9655
9656 * login/logout.c (logout): Use memset rather than bzero.
9657 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9658 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9659 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9660 (_gethtbyaddr): Likewise.
9661 * locale/programs/simple-hash.c (bcopy): Macro removed.
9662
9663 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9664
9665 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9666 Add strcmp-power8 object.
9667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9668 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9669 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9670 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9671 __strcmp_power8 implementation.
9672 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9673 * NEWS: Update.
9674
9675 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9676 Add strncpy-power8 and stpncpy-power8 objects.
9677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9678 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9679 implementations.
9680 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9681 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9682 __stpncpy_power8 implementation.
9683 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9684 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9685 __strncpy_power8 implementation.
9686 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9687 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9688 * NEWS: Update.
9689
9690 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9691 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9692 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9693
9694 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9695 strncat-power8 object.
9696 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9697 __strcat_power8 implementation.
9698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9699 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9700 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9701 optimized strcat for power8.
9702
9703 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9704 strcpy-power8 and stpcpy-power8 objects.
9705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9706 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9707 implementations.
9708 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9709 multiarch stpcpy implementation for POWER8.
9710 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9711 multiarch strcpy implementation for POWER8.
9712 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9713 __strcpy_power8 function.
9714 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9715 stpcpy for POWER8.
9716 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9717 strcpy for POWER8.
9718 * NEWS: Update.
9719
9720 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9721
9722 [BZ #16009]
9723 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9724 weights and rules. Use do_xfrm_cached if data fits in cache,
9725 do_xfrm otherwise. Moved former main loop to...
9726 * (do_xfrm_cached): New function.
9727 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9728 find_idx, find_position and stack_push.
9729 * (find_idx): New function.
9730 * (find_position): Likewise.
9731 * localedata/sort-test.sh: Added test run for do_xfrm.
9732 * localedata/xfrm-test.c (main): Added command line option
9733 -nocache to run the test with strings that are too large for
9734 the STRXFRM cache.
9735
9736 2015-01-13 Torvald Riegel <triegel@redhat.com>
9737
9738 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9739 variable to lll_futex_wake call, not the value itself.
9740
9741 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9742
9743 [BZ #17803]
9744 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9745 twom64. Adjust value to 0x1p-64L.
9746 (__scalblnl): Only return standard underflowing result for K <=
9747 -64 not K <= -63; adjust exponent for underflowing result by 64
9748 not 63.
9749 * math/libm-test.inc (scalbn_test_data): Add more tests.
9750 (scalbln_test_data): Likewise.
9751
9752 [BZ #17834]
9753 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9754 0x1p63L.
9755 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9756 not HX.
9757 * math/libm-test.inc (scalbn_test_data): Add more tests.
9758 (scalbln_test_data): Likewise.
9759
9760 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9761 Stefani Seibold <stefani@seibold.net>
9762
9763 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9764 (sysdep_routines): Add dl-vdso here, ...
9765 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9766 (sysdep_routines): ... not here.
9767 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9768 fallback when vDSO is not presented.
9769 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9770 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9771 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9772 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9773 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9774 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9775 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9776 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9777 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9779 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9780 fallback configurable symbol when vDSO is not available.
9781 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9782 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9783 be able to redefine fallback symbol when vDSO is not available.
9784 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9785 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9786
9787 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9788
9789 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9790 (TLS_INIT_TP): Add tm_capable initialization.
9791 (TLS_DEFINE_INIT_TP): Likewise.
9792 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9793 TCB.
9794 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9795 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9796 calculation.
9797 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9798 transactoion is lock elision is built and TCB tm_capable is set.
9799 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9801 (INTERNAL_SYSCALL_NCS): Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9803 (INTERNAL_SYSCALL_NCS): Likewise.
9804 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9805
9806 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9807 for powerpc.
9808 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9809 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9810 and remove it for 32 bits case.
9811 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9812 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9813 initialization.
9814 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9815 Disable lock elision with rdlocks if elision is not available.
9816
9817 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9818 (sysdep_routines): Add lock elision objects.
9819 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9820 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9821 [pthread_mutex_t] (__elision): Add field.
9822 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9823 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9824 elision definitions for powerpc.
9825 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9826 implementation of lock elision for powerpc.
9827 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9828 implementation of timed lock elision for powerpc.
9829 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9830 implementation of trylock with lock elision for powerpc.
9831 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9832 implementaion of unlock for lock elision for powerpc.
9833 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9834 automatic enable lock elision for mutexes.
9835 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9836 transaction execution definitions for powerpc.
9837 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9838 definitions.
9839 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9840 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9841 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9842 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9843 * NEWS: Update.
9844
9845 2015-01-09 Roland McGrath <roland@hack.frob.com>
9846
9847 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9848 for #include of <shm-directory.h>.
9849
9850 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9851
9852 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9853 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9854
9855 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9856
9857 [BZ #17791]
9858 * NEWS: Mention bug fix.
9859 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9860 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9861 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9862
9863 2015-01-09 Torvald Riegel <triegel@redhat.com>
9864
9865 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9866
9867 2015-01-09 Torvald Riegel <triegel@redhat.com>
9868
9869 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9870
9871 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9872
9873 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9874 pointer and cast to uintptr_t.
9875
9876 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9877
9878 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9879 removed.
9880 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9881
9882 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9883
9884 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9885 of 0.
9886
9887 2015-01-08 Roland McGrath <roland@hack.frob.com>
9888
9889 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9890 <nptl/pthreadP.h> instead.
9891 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9892
9893 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9894 already defined.
9895 [__SIGRTMIN] (init): Function removed.
9896 [__SIGRTMIN] (initialized): Variable removed.
9897 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9898 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9899 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9900 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9901 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9902 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9903 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9904 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9905 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9906 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9907 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9908 * sysdeps/nptl/allocrtsig.c: New file.
9909 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9910 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9911 * sysdeps/generic/testrtsig.h: File removed.
9912
9913 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9914 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9915
9916 * nptl/nptl-init.c (pthread_functions): Conditionalize
9917 .ptr__nptl_setxid initialization on [SIGSETXID].
9918
9919 * sysdeps/nptl/sys/procfs.h: New file.
9920 * nptl_db/Makefile (headers): Add it.
9921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9922
9923 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9924 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9925 * nptl/pthread_attr_setaffinity.c: Include it.
9926 * nptl/pthread_setattr_default_np.c: Likewise.
9927 * nptl/check-cpuset.h: New file.
9928
9929 2015-01-08 Richard Henderson <rth@redhat.com>
9930
9931 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9932 (CFLAGS-tst-execstack-prog.c): Likewise.
9933 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9934
9935 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9936 Sandra Loosemore <sandra@codesourcery.com>
9937 Andrew Jenner <andrew@codesourcery.com>
9938 Joseph Myers <joseph@codesourcery.com>
9939 Nathan Sidwell <nathan@codesourcery.com>
9940
9941 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9942 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9943 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9944 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9945 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9946 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9947 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9948 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9949 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9950 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9951 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9952 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9953 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9954 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9955 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9956 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9957 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9958
9959 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9960
9961 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9962 timespec struct member in syscall macro.
9963 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9964 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9965 first timeval struct member in syscall macro.
9966 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9967
9968 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9969
9970 [BZ #17748]
9971 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9972 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9973 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9974 __feupdateenv and define as weak alias of __feupdateenv. Use
9975 libm_hidden_weak.
9976 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9977 libm_hidden_def.
9978 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9979 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9980 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9981 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9982 libm_hidden_def.
9983 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9984 __feupdateenv and define as weak alias of __feupdateenv. Use
9985 libm_hidden_weak.
9986 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9987 libm_hidden_def.
9988 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9989 __feupdateenv and define as weak alias of __feupdateenv. Use
9990 libm_hidden_weak.
9991 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9992 libm_hidden_def.
9993 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9994 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9995 (__feupdateenv): Likewise.
9996 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9997 __feupdateenv and define as weak alias of __feupdateenv. Use
9998 libm_hidden_weak.
9999 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10000 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10001 libm_hidden_def.
10002 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10003 function.
10004 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10005 libm_hidden_def.
10006 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10007 __feupdateenv instead of feupdateenv.
10008 (default_libc_feupdateenv_test): Likewise.
10009 (libc_feresetround_ctx): Likewise.
10010
10011 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10012
10013 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10014 prototype.
10015
10016 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10017
10018 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10019 COLL_SYM in a couple of places to avoid uninitialized variable
10020 wanings on tilegx gcc 4.8.2.
10021
10022 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10023
10024 * sysdeps/aarch64/strcpy.S: New file.
10025 * sysdeps/aarch64/stpcpy.S: New file.
10026 * NEWS: Updated.
10027
10028 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10029
10030 * sysdeps/aarch64/strrchr.S: New file.
10031 * NEWS: Updated.
10032
10033 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10034
10035 [BZ #17658]
10036 * stdlib/setenv.c: Fix memory leak when setting large,
10037 duplicate string.
10038
10039 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10040
10041 [BZ #17273]
10042 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10043 and tabs from buffer before parsing fstab entry.
10044 * misc/tst-mntent.c (main): Add test for mount entry with
10045 trailing spaces and tabs.
10046
10047 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10048
10049 [BZ #17748]
10050 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10051 * math/fesetround.c (fesetround): Rename to __fesetround and
10052 define as weak alias of __fesetround. Use libm_hidden_weak.
10053 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10054 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10055 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10056 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10057 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10058 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10059 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10060 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10061 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10062 __fesetround_inline.
10063 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10064 __fesetround_inline instead of __fesetround.
10065 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10066 __fesetround and define as weak alias of __fesetround. Use
10067 libm_hidden_weak. Call __fesetround_inline instead of
10068 __fesetround.
10069 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10070 __fesetround and define as weak alias of __fesetround. Use
10071 libm_hidden_weak.
10072 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10073 Likewise.
10074 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10075 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10076 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10077 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10078 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10079 __fesetround and define as weak alias of __fesetround. Use
10080 libm_hidden_weak.
10081 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10082 __fesetround instead of fesetround.
10083 (default_libc_feholdexcept_setround): Likewise.
10084 (libc_feholdsetround_ctx): Likewise.
10085 (libc_feholdsetround_noex_ctx): Likewise.
10086
10087 [BZ #17748]
10088 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10089 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10090 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10091 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10092 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10093 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10094 define as weak alias of __fesetenv. Use libm_hidden_weak.
10095 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10096 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10097 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10098 define as weak alias of __fesetenv. Use libm_hidden_weak.
10099 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10100 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10101 define as weak alias of __fesetenv. Use libm_hidden_weak.
10102 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10103 libm_hidden_def.
10104 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10105 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10106 Likewise.
10107 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10108 define as weak alias of __fesetenv. Use libm_hidden_weak.
10109 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10110 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10111 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10112 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10113 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10114 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10115 __fesetenv instead of fesetenv.
10116 (libc_feresetround_noex_ctx): Likewise.
10117 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10118 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10119 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10120 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10121 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10122 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10123 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10124 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10125 (__feupdateenv): Likewise.
10126 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10127 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10128 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10129 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10130
10131 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10132
10133 [BZ #17806]
10134 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10135 addresses have been freed.
10136
10137 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10138
10139 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10140 and nservall.
10141
10142 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10143
10144 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10145 Clean up check_pf allocation pattern. addresses
10146
10147 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10148
10149 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10150 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10151 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10152 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10153 * nptl/pthread_join.c (pthread_join): Likewise.
10154 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10155 * sysdeps/posix/waitid.c (__waitid): Likewise.
10156 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10157 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10158 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10159 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10160 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10161 Likewise.
10162 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10163 (__libc_pread64): Likewise.
10164 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10165 (__libc_pwrite): Likewise.
10166 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10167 (__libc_pwrite64): Likewsie.
10168 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10169 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10170 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10171 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10172 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10173 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10174 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10176 Likewise.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10178 (__libc_pread64): Likewise.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10180 Likewise.
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10182 (__libc_pwrite64): Likewise.
10183 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10184 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10185 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10186 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10187 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10188 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10189 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10190 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10191 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10192 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10193 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10194 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10195 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10196 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10197 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10198 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10199 Likewise.
10200
10201 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10202
10203 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10204 (CFLAGS-test-double.c): Likewise.
10205 (CFLAGS-test-ldouble.c): Likewise.
10206 (CPPFLAGS-test-ifloat.c): Likewise.
10207 (CPPFLAGS-test-idouble.c): Likewise.
10208 (CPPFLAGS-test-ildoubl.c): Likewise.
10209 (CFLAGS-test-test-fenv.c): Remove variable.
10210 (CFLAGS-test-misc.c): Likewise.
10211
10212 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10213
10214 [BZ #17797]
10215 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10216 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10217 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10218 CLOCKS_PER_SEC == 1000000.
10219 * time/clocktest.c (main): Replace %ld with %jd and cast to
10220 intmax_t.
10221
10222 2015-01-05 Roland McGrath <roland@hack.frob.com>
10223
10224 * sysdeps/generic/unwind-resume.h: New file.
10225 * sysdeps/gnu/unwind-resume.c: Include it.
10226 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10227 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10228 argument list.
10229 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10230 global rather than static.
10231 (_Unwind_Resume): Update user.
10232 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10233 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10234 rather than static. Add __attribute__ ((cold)).
10235 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10236 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10237 * sysdeps/arm/arm-unwind-resume.S: New file.
10238 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10239 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10240 * sysdeps/arm/Makefile [$(subdir) = csu]
10241 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10242 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10243 Add rt-arm-unwind-resume.
10244 [$(subdir) = nptl]
10245 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10246 Add pt-arm-unwind-resume.
10247 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10248 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10249
10250 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10251
10252 [BZ #17748]
10253 * include/fenv.h (__feholdexcept): Declare. Use
10254 libm_hidden_proto.
10255 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10256 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10257 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10258 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10259 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10260 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10261 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10262 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10263 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10264 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10265 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10266 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10267 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10268 (feholdexcept): Likewise.
10269 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10270 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10271 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10272 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10273 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10274 __feholdexcept instead of feholdexcept.
10275 (default_libc_feholdexcept_setround): Likewise.
10276
10277 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10278
10279 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10280 to avoid using stl/str to align destination.
10281
10282 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10283
10284 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10285
10286 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10287
10288 [BZ #17796]
10289 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10290 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10291 Define as weak alias not strong alias.
10292
10293 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10294
10295 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10296 bltzal with addiupc.
10297 (RTLD_START): Ditto.
10298
10299 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10300
10301 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10302 for __vdso_* functions in declarations.
10303 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10304 definitions.
10305 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10306 INTERNAL_VSYSCALL): Use struct return types to check for error.
10307
10308 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10309 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10310 function with cast from llround().
10311 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10312 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10313 Define.
10314
10315 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10316
10317 [BZ #17793]
10318 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10319 Define as weak alias not strong alias.
10320
10321 [BZ #17635]
10322 * ctype/ctype-c99.c: New file. isblank implementation moved from
10323 ...
10324 * ctype/ctype-extn.c: ... here.
10325 (__isblank_l): Move to ...
10326 * ctype/ctype-c99_l.c: ... here. New file.
10327 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10328 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10329 Remove variable.
10330 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10331 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10332 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10333 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10334 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10335
10336 [BZ #17777]
10337 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10338 (posix_fadvise64): Define as weak alias not strong alias.
10339 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10340 (posix_fallocate64): Likewise.
10341 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10342 Remove variable.
10343 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10344 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10345 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10346 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10347 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10348
10349 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10350
10351 [BZ #16191]
10352 * NEWS: Mention bug fix.
10353 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10354 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10355 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10356 (HOST_STACK_END_ADDR): Likewise.
10357
10358 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10359
10360 [BZ #17748]
10361 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10362 * math/fegetround.c (fegetround): Rename to __fegetround and
10363 define as weak alias of __fegetround. Use libm_hidden_weak.
10364 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10365 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10366 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10367 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10368 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10369 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10370 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10371 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10372 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10373 Undefine after rather than before function definition; use
10374 parentheses around function name in definition.
10375 (__fegetround): Also undefine macro after function definition.
10376 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10377 __fegetround and define as weak alias of __fegetround. Use
10378 libm_hidden_weak. Do not undefine as macro.
10379 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10380 Likewise.
10381 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10382 __fegetround and define as weak alias of __fegetround. Use
10383 libm_hidden_weak.
10384 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10385 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10386 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10387 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10388 __fegetround and define as weak alias of __fegetround. Use
10389 libm_hidden_weak.
10390 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10391 __fegetround instead of fegetround.
10392
10393 [BZ #17782]
10394 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10395 Condition macro definition on [__USE_MISC].
10396
10397 [BZ #17781]
10398 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10399 (struct sigaction): Change type of sa_flags field to int.
10400
10401 [BZ #17780]
10402 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10403 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10404 __glibc_reserved0.
10405
10406 * nptl/version.c (banner): Use single year in copyright notice.
10407
10408 * NEWS: Update copyright dates.
10409 * catgets/gencat.c (print_version): Likewise.
10410 * csu/version.c (banner): Likewise.
10411 * debug/catchsegv.sh: Likewise.
10412 * debug/pcprofiledump.c (print_version): Likewise.
10413 * debug/xtrace.sh (do_version): Likewise.
10414 * elf/ldconfig.c (print_version): Likewise.
10415 * elf/ldd.bash.in: Likewise.
10416 * elf/pldd.c (print_version): Likewise.
10417 * elf/sotruss.sh: Likewise.
10418 * elf/sprof.c (print_version): Likewise.
10419 * iconv/iconv_prog.c (print_version): Likewise.
10420 * iconv/iconvconfig.c (print_version): Likewise.
10421 * locale/programs/locale.c (print_version): Likewise.
10422 * locale/programs/localedef.c (print_version): Likewise.
10423 * login/programs/pt_chown.c (print_version): Likewise.
10424 * malloc/memusage.sh (do_version): Likewise.
10425 * malloc/memusagestat.c (print_version): Likewise.
10426 * malloc/mtrace.pl: Likewise.
10427 * manual/libc.texinfo: Likewise.
10428 * nptl/version.c (banner): Likewise.
10429 * nscd/nscd.c (print_version): Likewise.
10430 * nss/getent.c (print_version): Likewise.
10431 * nss/makedb.c (print_version): Likewise.
10432 * posix/getconf.c (main): Likewise.
10433 * scripts/test-installation.pl: Likewise.
10434 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10435
10436 2015-01-02 Will Newton <will.newton@linaro.org>
10437
10438 * sysdeps/arm/armv7/configure: Removed.
10439 * sysdeps/arm/armv7/configure.ac: Likewise.
10440
10441 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10442
10443 * All files with FSF copyright notices: Update copyright dates
10444 using scripts/update-copyrights.
10445 * intl/plural.c: Regenerated.
10446 * locale/programs/charmap-kw.h: Likewise.
10447 * locale/programs/locfile-kw.h: Likewise.
10448
10449 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10450
10451 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10452
10453 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10454
10455 [BZ #17748]
10456 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10457 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10458 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10459 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10460 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10461 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10462 define as weak alias of __fegetenv. Use libm_hidden_weak.
10463 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10464 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10465 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10466 define as weak alias of __fegetenv. Use libm_hidden_weak.
10467 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10468 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10469 define as weak alias of __fegetenv. Use libm_hidden_weak.
10470 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10471 libm_hidden_def.
10472 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10473 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10474 Likewise.
10475 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10476 define as weak alias of __fegetenv. Use libm_hidden_weak.
10477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10478 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10479 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10480 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10481 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10482 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10483 __fegetenv instead of fegetenv.
10484 (libc_feholdsetround_noex_ctx): Likewise.
10485
10486 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10487
10488 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10489 (Elf_MIPS_ABIFlags_v0): New structure.
10490 (EF_MIPS_FP64): Define.
10491 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10492 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10493 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10494 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10495 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10496 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10497 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10498 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10499 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10500 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10501 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10502 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10503 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10504 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10505 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10506 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10507 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10508 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10509 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10510 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10511 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10512 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10513 field.
10514 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10515 EF_MIPS_FP64.
10516 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10517 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10518 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10519 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10520 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10521 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10522 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10523 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10524 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10525 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10526 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10527 record the current FP ABI extension.
10528 (mips-mode-switch): Define to show if kernel headers support mode
10529 switching.
10530 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10531 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10532 supported SYSV ABI version to 3.
10533 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10534 feature.
10535
10536 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10537 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10538
10539 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10540 path.
10541 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10542
10543 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10544
10545 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10546 __fegetround and redefine to call __fegetround. Remove condition
10547 on [!__NO_MATH_INLINES].
10548 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10549 function.
10550 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10551 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10552 Remove macro.
10553 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10554 instead of <fenv_libc.h>.
10555 (__llrintl): Call fegetround instead of __fegetround.
10556 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10557 instead of <fenv_libc.h>.
10558 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10559 (__lrintl): Call fegetround instead of __fegetround.
10560 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10561 instead of <fenv_libc.h>.
10562 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10563 (__rintl): Call fegetround instead of __fegetround.
10564
10565 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10566
10567 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10568 arrays.
10569
10570 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10571
10572 [BZ #17775]
10573 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10574 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10575 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10576
10577 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10578
10579 * sysdeps/i386/tls-macros.h: Include <features.h>.
10580 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10581 (TLS_IE): Likewise.
10582 (TLS_LD): Likewise.
10583 (TLS_GD): Likewise.
10584 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10585 define for GCC >= 5.0.
10586
10587 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10588
10589 * math/test-fenv.c (test_single_exception, set_single_exc,
10590 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10591 feexcp_mask_test, feenable_test, fe_single_test): Add
10592 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10593 case where they are not used.
10594 * math/libm-test.inc: Likewise.
10595 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10596 unused in the absence of FP rounding/exception support.
10597 * stdio-common/tst-printf-round.c: Likewise.
10598 * stdlib/tst-strtod-round.c: Likewise.
10599 * stdlib/tst-strtod-underflow.c: Likewise.
10600
10601 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10602
10603 [BZ #17723]
10604 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10605 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10606 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10607 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10608 libm_hidden_weak.
10609 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10610 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10611 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10612 libm_hidden_def.
10613 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10614 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10615 libm_hidden_weak.
10616 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10617 Likewise.
10618 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10619 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10620 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10621 libm_hidden_weak.
10622 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10623 libm_hidden_def.
10624 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10625 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10626 (__feraiseexcept): Likewise.
10627 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10628 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10629 libm_hidden_weak.
10630 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10631 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10632 libm_hidden_def.
10633 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10634 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10635 Use libm_hidden_def.
10636 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10637 libm_hidden_def.
10638 (feraiseexcept): Define as weak not strong alias. Use
10639 libm_hidden_weak.
10640 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10641 New inline function. Factored out of ...
10642 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10643 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10644 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10645 feraiseexcept.
10646 * math/w_acos.c (__acos): Likewise.
10647 * math/w_asin.c (__asin): Likewise.
10648 * math/w_ilogb.c (__ilogb): Likewise.
10649 * math/w_j0.c (y0): Likewise.
10650 * math/w_j1.c (y1): Likewise.
10651 * math/w_jn.c (yn): Likewise.
10652 * math/w_log.c (__log): Likewise.
10653 * math/w_log10.c (__log10): Likewise.
10654 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10655 * sysdeps/aarch64/fpu/math_private.h
10656 (libc_feupdateenv_test_aarch64): Likewise.
10657 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10658 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10659 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10660 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10661 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10662 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10663 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10664 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10665 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10666 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10667
10668 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10669
10670 [BZ #17732]
10671 * io/test-utime.c (main): Replace %ld with %jd and cast to
10672 intmax_t.
10673 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10674 * nptl/tst-mutex5.c: Include <stdint.h>.
10675 (do_test): Replace %ld with %jd and cast to intmax_t.
10676 * posix/tst-regex.c (run_test): Likewise.
10677 (run_test_backwards): Likewise.
10678 * rt/tst-clock.c: Include <stdint.h>.
10679 (clock_test): Replace %ld with %jd and cast to intmax_t.
10680 * rt/tst-cpuclock1.c: Include <stdint.h>.
10681 (do_test): Replace %lu with %ju and cast to uintmax_t.
10682 * rt/tst-cpuclock2.c: Include <stdint.h>.
10683 (do_test): Replace %lu with %ju and cast to uintmax_t.
10684 * rt/tst-mqueue1.c: Include <stdint.h>.
10685 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10686 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10687 intmax_t.
10688 * rt/tst-mqueue4.c (do_test): Likewise.
10689 * rt/tst-timer4.c: Include <stdint.h>.
10690 (check_ts): Replace %ld with %jd and cast to intmax_t.
10691 (do_test): Likewise.
10692 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10693 and cast to intmax_t.
10694 * sysdeps/pthread/tst-timer.c (main): Likewise.
10695 * time/clocktest.c (main): Likewise.
10696 * time/tst-posixtz.c (do_test): Likewise.
10697 * timezone/tst-timezone.c (main): Likewise.
10698
10699 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10700 H.J. Lu <hongjiu.lu@intel.com>
10701
10702 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10703 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10704 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10705 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10706 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10707 version if bit_Fast_Unaligned_Load is set.
10708 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10709 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10710 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10711 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10712 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10713 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10715 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10716 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10717 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10718 to 4.
10719 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10720 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10721 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10722 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10723
10724 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10725
10726 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10727 instead of #if to avoid a Wundef warning.
10728 * stdlib/tst-limits.c (do_test): Likewise.
10729
10730 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10731 parallel other exception macros.
10732 (fegetenv): Convert from macro to extern inline so that it applies
10733 retroactively to inline functions already seen by the compiler.
10734 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10735
10736 * posix/Makefile (before-compile): Use $(objpfx) for
10737 posix-conf-vars-def.h.
10738
10739 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10740
10741 * posix/getconf.c (main): Use size_t for type of I.
10742 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10743 NSPEC.
10744
10745 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10746 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10747 * posix/posix-envs.def: Likewise.
10748 * sysdeps/posix/sysconf.c: Likewise.
10749 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10750 (specs): Remove array.
10751 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10752 array.
10753
10754 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10755 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10756 (__sysconf): Use CONF_IS_* macros.
10757
10758 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10759 ($(objpfx)posix-conf-vars-def.h): New target.
10760 * posix/posix-conf-vars.list: New file.
10761 * posix/posix-conf-vars.h: New file.
10762 * posix/confstr.c: Include posix-conf-vars.h.
10763 (confstr): Use CONF_IS_* macros.
10764 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10765 CONF_IS_* macros.
10766 * scripts/gen-posix-conf-vars.awk: New file.
10767
10768 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10769
10770 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10771 fegetround): Add no-op macros to avoid linknamespace issues.
10772
10773 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10774 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10775
10776 * sysdeps/unix/sysv/linux/tile/sysdep.h
10777 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10778 assembly-specific section to avoid a redefinition warning.
10779
10780 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10781 long before casting to pointer to avoid a cast warning.
10782
10783 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10784
10785 * sysdeps/tile/tilegx/Implies: New file.
10786
10787 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10788
10789 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10790
10791 2014-12-23 Florian Weimer <fweimer@redhat.com>
10792
10793 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10794
10795 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10796
10797 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10798 not define.
10799 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10800 <kernel-features.h>.
10801 (__utimes) [__NR_utimes]: Make code unconditional.
10802 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10803 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10804 (__ASSUME_UTIMES): Do not undefine.
10805 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10806 (__ASSUME_UTIMES): Likewise.
10807 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10808 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10809 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10810 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10811
10812 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10813
10814 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10815
10816 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10817
10818 [BZ #17747]
10819 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10820 alias to weak alias for j0l, y0l.
10821 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10822 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10823
10824 [BZ #17746]
10825 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10826 conversion.
10827
10828 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10829
10830 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10831 to zero if not already defined.
10832
10833 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10834
10835 [BZ #17724]
10836 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10837 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10838 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10839 (char *) casts added.
10840 * sysdeps/ieee754/k_standardf.c: New file.
10841 * sysdeps/ieee754/k_standardl.c: Likewise.
10842 * math/Makefile (libm-support): Remove k_standard.
10843 (libm-calls): Add k_standard.
10844
10845 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10846
10847 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10848 Optimize to avoid an unnecessary FPCR read.
10849
10850 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10851
10852 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10853 Optimize to reduce FPCR/FPSR accesses.
10854
10855 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10856
10857 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10858 Call libc_fetestexcept_aarch64.
10859
10860 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10861
10862 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10863 Call libc_fesetround_aarch64.
10864
10865 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10866
10867 [BZ #17733]
10868 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10869 (__bind): Do not define as weak alias.
10870 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10871 define.
10872 (__getsockname): Do not define as weak alias.
10873
10874 2014-12-22 Will Newton <will.newton@linaro.org>
10875
10876 * manual/install.texi: Document that we require bison 2.7
10877 or above.
10878 * INSTALL: Regenerate.
10879 * configure.ac: Use AC_CHECK_PROG_VER instead of
10880 AC_PATH_PROG when checking for bison and check for
10881 version 2.7 or above.
10882 * configure: Regenerate.
10883
10884 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10885
10886 [BZ #17745]
10887 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10888 * sysdeps/tile/ffsll.c (ffsll): To here.
10889
10890 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10891
10892 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10893
10894 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10895 if not defined.
10896 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10897 definition.
10898 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10899 hidden ___tls_get_addr.
10900 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10901 hidden __tls_get_addr.
10902 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10903 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10904 Likewise.
10905
10906 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10907
10908 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10909 _dl_init call.
10910
10911 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10912
10913 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10914 from "call _dl_init@PLT".
10915 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10916
10917 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10918
10919 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10920 guarantees.
10921
10922 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10923
10924 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10925
10926 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10927
10928 [BZ #17744]
10929 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10930 strnlen.
10931
10932 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10933
10934 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10935 of multu on MIPSr6.
10936 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10937 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10938 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10939 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10940 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10941
10942 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10943
10944 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10945 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10946 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10947 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10948 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10949 mips32r6/mips64r6.
10950 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10951
10952 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10953
10954 * string/strncat.c (STRNCAT): Simplify implementation.
10955
10956 2014-12-19 David S. Miller <davem@davemloft.net>
10957
10958 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10959 access the quad as both a long double and as a series of 4 words.
10960
10961 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10962 link_map->l_info array access.
10963
10964 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10965
10966 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10967
10968 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10969 * math/atest-exp2.c (TIMEOUT): Likewise.
10970 * math/atest-sincos.c (TIMEOUT): Likewise.
10971
10972 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10973
10974 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10975 -Wno-error with -fno-builtin-lround.
10976
10977 2014-12-19 Torvald Riegel <triegel@redhat.com>
10978
10979 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10980 Contains futex constants and functions moved over from ...
10981 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10982 <lowlevellock-futex.h>.
10983 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10984 (lll_timedwait_tid): Add comments and parentheses around macro
10985 arguments.
10986
10987 2014-12-19 Torvald Riegel <triegel@redhat.com>
10988
10989 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10990 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10991 (__lll_private_flag): Remove.
10992 (lll_futex_wait): Likewise.
10993 (lll_futex_timed_wait): Likewise.
10994 (lll_futex_wake): Likewise.
10995 (lll_futex_requeue): Likewise.
10996 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10997 (__lll_timedwait_tid): Spell out argument names.
10998 (lll_timedwait_tid): Add comments and parentheses around macro
10999 arguments.
11000 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11001 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11002
11003 2014-12-19 Torvald Riegel <triegel@redhat.com>
11004
11005 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11006 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11007 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11008 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11009 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11010 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11011 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11012 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11013 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11014 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11015 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11016 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11017 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11018 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11019 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11020 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11021 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11022 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11023 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11024
11025 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11026
11027 * sysdeps/x86_64/x32/Makefile: New file.
11028
11029 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11030
11031 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11032 1L with (mp_limb_t) 1.
11033
11034 2014-12-17 Roland McGrath <roland@hack.frob.com>
11035
11036 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11037 * nptl/libc_pthread_init.c: ... here.
11038 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11039 * nptl/register-atfork.c: ... here.
11040
11041 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11042 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11043 Use assert_perror to check its return value.
11044 (__gai_create_helper_thread): Likewise.
11045
11046 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11047
11048 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11049
11050 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11051
11052 [BZ #17725]
11053 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11054 __profil_counter.
11055 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11056 Likewise.
11057 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11058 Likewise.
11059 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11060 Likewise.
11061 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11062 (profil_counter): Likewise.
11063 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11064 (profil_counter): Likewise.
11065 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11066 Likewise.
11067 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11068 Likewise.
11069 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11070 (profil_counter): Likewise.
11071 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11072 Likewise.
11073 [!__profil_counter] (profil_counter): Define as weak alias of
11074 __profil_counter.
11075 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11076 (profil_counter): Rename to __profil_counter.
11077 [!__profil_counter] (profil_counter): Define as weak alias of
11078 __profil_counter.
11079 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11080 (profil_counter): Rename to __profil_counter.
11081 [!__profil_counter] (profil_counter): Define as weak alias of
11082 __profil_counter.
11083 * sysdeps/posix/profil.c: Update comment referring to
11084 profil_counter.
11085 (__profil): Use __profil_counter instead of profil_counter.
11086 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11087 __profil_counter. Use __profil_counter_ushort and
11088 __profil_counter_uint in definitions.
11089 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11090 instead of profil_counter_uint and profil_counter_ushort.
11091
11092 [BZ #17722]
11093 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11094 define as weak alias of __inet_makeaddr.
11095 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11096 as weak alias of __inet_addr.
11097 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11098 as weak alias of __inet_pton. Use libc_hidden_weak.
11099 * include/arpa/inet.h (__inet_pton): Declare. Use
11100 libc_hidden_proto.
11101 (inet_makeaddr): Don't use libc_hidden_proto.
11102 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11103 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11104 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11105 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11106 Remove variable.
11107 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11108 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11109
11110 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11111
11112 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11113
11114 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11115
11116 * stdio-common/bug-vfprintf-nargs.c (do_test):
11117 Cast value to intptr_t to avoid format warning
11118 for usage with PRIdPTR printing macro.
11119
11120 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11121
11122 * libio/tst-widetext.c (do_test):
11123 Use format type %td instead of %Zd for ptrdiff_t
11124 in order to avoid format warning.
11125
11126 2014-12-17 Andreas Schwab <schwab@suse.de>
11127
11128 * nscd/mem.c (gc): Add size_t cast to match printf format.
11129
11130 2014-12-16 Roland McGrath <roland@hack.frob.com>
11131
11132 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11133 (init): Apply PTR_MANGLE to pointers before storing them.
11134 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11135 before using them.
11136
11137 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11138
11139 [BZ #17719]
11140 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11141 define as weak alias of __memrchr.
11142 (__memrchr): Do not define as strong alias of memrchr.
11143 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11144 Remove variable.
11145 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11146 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11147 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11148
11149 [BZ #17717]
11150 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11151 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11152 (if_indextoname): Rename to __if_indextoname and define as weak
11153 alias of __if_indextoname. Use libc_hidden_weak.
11154 (if_freenameindex): Rename to __if_freenameindex and define as
11155 weak alias of __if_freenameindex.
11156 (if_nameindex): Rename to __if_nameindex and define as weak alias
11157 of __if_nameindex.
11158 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11159 __if_nametoindex and define as weak alias of __if_nametoindex.
11160 Use libc_hidden_weak.
11161 (if_freenameindex): Rename to __if_freenameindex and define as
11162 weak alias of __if_freenameindex.
11163 (if_nameindex): Rename to __if_nameindex and define as weak alias
11164 of __if_nameindex.
11165 (if_indextoname): Rename to __if_indextoname and define as weak
11166 alias of __if_indextoname. Use libc_hidden_weak.
11167 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11168 __if_nametoindex and define as weak alias of __if_nametoindex.
11169 Use libc_hidden_weak.
11170 (if_freenameindex): Rename to __if_freenameindex and define as
11171 weak alias of __if_freenameindex. Use libc_hidden_weak.
11172 (if_nameindex_netlink): Use __if_freenameindex instead of
11173 if_freenameindex.
11174 (if_nameindex): Rename to __if_nameindex and define as weak alias
11175 of __if_nameindex. Use libc_hidden_weak.
11176 (if_indextoname): Rename to __if_indextoname and define as weak
11177 alias of __if_indextoname. Use libc_hidden_weak.
11178 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11179 libc_hidden_proto.
11180 [!_ISOMAC] (__if_freenameindex): Likewise.
11181 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11182 if_nametoindex.
11183 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11184 variable.
11185 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11186 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11187 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11188 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11189 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11190 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11191 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11192
11193 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11194 Remove variable.
11195 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11196 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11197
11198 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11199
11200 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11201 subscript above bounds'
11202
11203 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11204 bounds.
11205
11206 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11207
11208 * libio/tst-fopenloc.c: Use test-skeleton.c.
11209
11210 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11211 (entry): Rename to ITEM.
11212 (do_test, comp): Adjust.
11213
11214 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11215
11216 2014-12-16 Torvald Riegel <triegel@redhat.com>
11217
11218 * string/tester.c: Include <libc-internal.h>.
11219 (test_memset): Ignore -Wmemset-transposed-args.
11220
11221 2014-12-16 Torvald Riegel <triegel@redhat.com>
11222
11223 * misc/tst-mntent2.c (do_test): Fix warning.
11224
11225 2014-12-16 Torvald Riegel <triegel@redhat.com>
11226
11227 * elf/tst-unique4lib.cc(a): Mark as used.
11228
11229 2014-12-16 Florian Weimer <fweimer@redhat.com>
11230
11231 [BZ #17630]
11232 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11233 names.
11234
11235 2014-12-16 Allan McRae <allan@archlinux.org>
11236
11237 * stdio-common/Makefile (tests): Re-add bug26.
11238
11239 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11240
11241 [BZ #17657]
11242 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11243 static array.
11244
11245 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11246
11247 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11248 (__lll_lock_wait): Likewise.
11249 (__lll_timedlock_wait): Likewise.
11250 (__lll_timedwait_tid): Likewise.
11251 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11252 (__lll_robust_timedlock_wait): Likewise.
11253 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11254 (lll_cond_trylock): Likewise.
11255 (__lll_lock): Likewise.
11256 (__lll_robust_lock): Likewise.
11257 (__lll_cond_lock): Likewise.
11258 (lll_robust_cond_lock): Likewise.
11259 (__lll_timedlock): Likewise.
11260 (__lll_robust_timedlock): Likewise.
11261 (__lll_unlock): Likewise.
11262 (__lll_robust_unlock): Likewise.
11263 (lll_wait_tid): Likewise.
11264 (lll_timedwait_tid): Likewise.
11265
11266 2014-12-15 Torvald Riegel <triegel@redhat.com>
11267
11268 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11269
11270 2014-12-15 Torvald Riegel <triegel@redhat.com>
11271
11272 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11273
11274 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11275
11276 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11277 * stdio-common/tst-sprintf.c: Likewise.
11278
11279 2014-12-15 Torvald Riegel <triegel@redhat.com>
11280
11281 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11282
11283 2014-12-15 Jeff Law <law@redhat.com>
11284
11285 [BZ #16617]
11286 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11287 on the heap. (CVE-2012-3406)
11288 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11289 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11290 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11291
11292 2014-12-15 Will Newton <will.newton@linaro.org>
11293
11294 * manual/install.texi: Bump required version of texinfo
11295 to 4.7 from 4.5.
11296 * INSTALL: Regenerated.
11297 * configure.ac: Check for makeinfo version 4.7 and above.
11298 * configure: Regenerated.
11299
11300 2014-12-12 Roland McGrath <roland@hack.frob.com>
11301
11302 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11303 PREFIX, string constant to insert between directory and name.
11304 * sysdeps/posix/shm_open.c: Update caller.
11305 * sysdeps/posix/shm_unlink.c: Likewise.
11306 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11307 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11308 (SEM_SHM_PREFIX): New macro.
11309 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11310 [$(have-thread-library) = no].
11311 * nptl/Makefile (libpthread-routines): Add shm-directory.
11312 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11313 * sysdeps/nptl/shm-directory.h: New file.
11314 * sysdeps/posix/shm-directory.c
11315 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11316 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11317 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11318 INTERNAL_SYSCALL.
11319 (__where_is_shmfs): Function removed.
11320 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11321 Variables removed.
11322 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11323 Use SHM_GET_NAME.
11324 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11325
11326 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11327 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11328 unconditional for use inside libpthread.
11329 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11330
11331 2014-12-12 Roland McGrath <roland@hack.frob.com>
11332
11333 * nptl/pthread_getaffinity.c: New file.
11334 * nptl/pthread_setaffinity.c: New file.
11335 * nptl/pthread_getname.c: New file.
11336 * nptl/pthread_setname.c: New file.
11337
11338 * nptl/pthread_create.c (START_THREAD_DEFN)
11339 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11340
11341 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11342 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11343
11344 * resolv/res_send.c (send_vc): Disable warning resplen may
11345 be used uninitialized.
11346
11347 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11348
11349 * nptl/tst-mutex6.c
11350 (ATTR_NULL): New define checks ATTR against NULL.
11351 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11352 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11353
11354 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11355
11356 [BZ #17581]
11357 * malloc/hooks.c
11358 (mem2mem_check): Revert my previous change.
11359 (malloc_check_get_size): Revert my previous change.
11360 (mem2chunk_check): Revert my previous change.
11361
11362 2014-12-11 Roland McGrath <roland@hack.frob.com>
11363
11364 * sysdeps/posix/shm-directory.c: New file.
11365 * sysdeps/posix/shm-directory.h: New file.
11366 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11367 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11368 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11369 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11370 Transmute EPERM to EACCES.
11371 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11372 from ...
11373 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11374 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11375
11376 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11377
11378 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11379 pointer and cast to uintptr_t.
11380 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11381 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11382 Add cast to avoid warning.
11383 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11384
11385 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11386
11387 * nptl/semaphore.h: Move to ...
11388 * sysdeps/pthread/semaphore.h: ... here.
11389 * Makefile (installed-headers): Change nptl/semaphore.h to
11390 sysdeps/pthread/semaphore.h.
11391
11392 2014-12-11 Roland McGrath <roland@hack.frob.com>
11393
11394 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11395 generated error format strings.
11396
11397 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11398 -Wformat-extra-args warnings for scanf formats.
11399 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11400 test of zero-length format (duh).
11401 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11402 corner-case scanf format test.
11403 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11404 generated fprintf format string.
11405 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11406 corner-case sprintf format tests.
11407 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11408 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11409 -Wformat-extra-args warnings throughout.
11410 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11411 (CFLAGS-scanf4.c): Likewise.
11412 (CFLAGS-scanf7.c): Likewise.
11413 (CFLAGS-tst-sprintf.c): Likewise.
11414 (CFLAGS-tst-printf.c): Likewise.
11415 (CFLAGS-tst-printfsz.c): Likewise.
11416
11417 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11418
11419 * include/cpio.h: New file.
11420 * include/fmtmsg.h: Likewise.
11421
11422 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11423 corresponding format argument to size_t.
11424 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11425 arguments.
11426 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11427 corresponding format argument to size_t.
11428 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11429 arguments.
11430 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11431 corresponding format argument to size_t.
11432 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11433 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11434 (CFLAGS-tst-mbswcs2.c): Likewise.
11435 (CFLAGS-tst-mbswcs3.c): Likewise.
11436 (CFLAGS-tst-mbswcs4.c): Likewise.
11437 (CFLAGS-tst-mbswcs5.c): Likewise.
11438 (CFLAGS-tst-trans.c): Likewise
11439
11440 2014-12-11 Roland McGrath <roland@hack.frob.com>
11441
11442 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11443 rather than assuming they won't contain any '%'s.
11444
11445 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11446
11447 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11448 inhibit_loop_to_libcall to avoid recursive calls.
11449 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11450 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11451
11452 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11453
11454 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11455 prototype.
11456
11457 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11458
11459 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11460 integer value instead of boolean.
11461
11462 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11463
11464 * malloc/malloc.c: Fix powerof2 check.
11465
11466 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11467
11468 * locale/programs/locfile.h (maybe_swap_uint32):
11469 Remove inline and add unused attribute.
11470
11471 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11472
11473 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11474 Truncating assembler expression to a .long expression.
11475
11476 2014-12-11 Andreas Schwab <schwab@suse.de>
11477
11478 * elf/rtld.c (struct map_args): Constify str member.
11479 (do_preload): Constify fname argument.
11480
11481 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11482
11483 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11484 constants definition.
11485
11486 2014-12-11 Andreas Schwab <schwab@suse.de>
11487
11488 [BZ #16657]
11489 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11490 FORCE_ELISION instead of DO_ELISION.
11491 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11492 Remove.
11493 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11494 Likewise.
11495
11496 * iconvdata/gconv-modules: Remove duplicate entry.
11497
11498 2014-12-11 Will Newton <will.newton@linaro.org>
11499
11500 Merge gettext 0.19.3 into intl/.
11501
11502 This involves a number of cosmetic changes to comments
11503 and ANSI function definitions and prototypes throughout
11504 all the files. The gettext copyright header is used but
11505 with the date ranges taken from the glibc copy.
11506
11507 * NEWS: Add gettext merge to 2.21.
11508 * intl/bindtextdom.c: Switch to gettext copyright.
11509 Use ANSI definitions and prototypes.
11510 Use gl_* locking primitives rather than __libc_* ones.
11511 Use __builtin_expect rather than __glibc_likely/unlikely.
11512 * intl/dcgettext.c: Switch to gettext copyright.
11513 Use ANSI definitions and prototypes.
11514 * intl/dcigettext.c: Switch to gettext copyright.
11515 Use ANSI definitions and prototypes.
11516 (INTDIV0_RAISES_SIGFPE): New define.
11517 Use gl_* locking primitives rather than __libc_* ones.
11518 Include eval-plural.h instead of plural-eval.c.
11519 Use __builtin_expect rather than __glibc_likely/unlikely.
11520 * intl/dcngettext.c: Switch to gettext copyright.
11521 Use ANSI definitions and prototypes.
11522 * intl/dgettext.c: Likewise.
11523 * intl/dngettext.c: Likewise.
11524 * intl/plural-eval.c: Renamed to...
11525 * intl/eval-plural.h: ...this.
11526 * intl/explodename.c: Switch to gettext copyright.
11527 Use ANSI definitions and prototypes.
11528 (_nl_explode_name): Use strchr instead of __rawmemchr.
11529 * intl/finddomain.c: Switch to gettext copyright.
11530 Use ANSI definitions and prototypes.
11531 Use gl_* locking primitives rather than __libc_* ones.
11532 (_nl_find_domain): Use malloc rather than alloca for
11533 allocation of temporary locale name.
11534 * intl/gettext.c: Switch to gettext copyright.
11535 Use ANSI definitions and prototypes.
11536 * intl/gettextP.h: Switch to gettext copyright.
11537 Use ANSI definitions and prototypes.
11538 Use gl_* locking primitives rather than __libc_* ones.
11539 * intl/gmo.h: Switch to gettext copyright.
11540 (struct sysdep_string): Move struct segment_pair outside of
11541 struct definition.
11542 * intl/hash-string.c: Use ANSI definitions and prototypes.
11543 * intl/hash-string.h: Switch to gettext copyright.
11544 Use ANSI definitions and prototypes.
11545 * intl/l10nflist.c: Switch to gettext copyright.
11546 Use ANSI definitions and prototypes.
11547 (_nl_normalize_codeset): Avoid integer overflow.
11548 * intl/loadinfo.h: Switch to gettext copyright.
11549 Use ANSI definitions and prototypes.
11550 (LIBINTL_DLL_EXPORTED): New define.
11551 (PATH_SEPARATOR): New define.
11552 * intl/loadmsgcat.c: Switch to gettext copyright.
11553 * intl/localealias.c: Switch to gettext copyright.
11554 Use ANSI definitions and prototypes.
11555 (_nl_expand_alias): Use PATH_SEPARATOR.
11556 * intl/ngettext.c: Switch to gettext copyright.
11557 Use ANSI definitions and prototypes.
11558 * intl/plural-exp.c: Likewise.
11559 * intl/plural-exp.h: Switch to gettext copyright.
11560 Use ANSI definitions and prototypes.
11561 (struct expression): Move definition of enum operator outside
11562 of struct definition.
11563 * intl/plural.c: Regenerate.
11564 * intl/plural.y: Switch to gettext copyright.
11565 Use ANSI definitions and prototypes.
11566 Port to bison 3.0.
11567 * intl/textdomain.c: Switch to gettext copyright.
11568 Use ANSI definitions and prototypes.
11569 Use gl_* locking primitives rather than __libc_* ones.
11570
11571 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11572
11573 * debug/warning-nop.c: Add used atrribute.
11574
11575 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11576
11577 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11578
11579 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11580 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11581 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11582
11583 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11584 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11585
11586 [BZ #17634]
11587 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11588 Undefine after defining function. Define as weak alias of
11589 __wcschr. Use libc_hidden_weak.
11590 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11591 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11592 (libc_hidden_def): Also define __GI___wcschr alias.
11593 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11594 __wcschr and define as weak alias of __wcschr.
11595 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11596 __wcschr.
11597 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11598 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11599 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11600 libc_hidden_weak. Do not use libc_hidden_def.
11601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11602 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11603 __GI___wcschr alias.
11604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11605 [IS_IN (libc)] (wcschr): Define as macro expanding to
11606 __redirect_wcschr.
11607 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11608 [IS_IN (libc)] (__wcschr_power6): Likewise.
11609 [IS_IN (libc)] (__wcschr_power7): Likewise.
11610 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11611 instead of wcschr.
11612 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11613 __libc_wcschr.
11614 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11615 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11616 __wcschr and define as weak alias of __wcschr. Use
11617 libc_hidden_builtin_def.
11618 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11619 as weak alias of __wcschr. Use libc_hidden_weak.
11620 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11621 wcschr.
11622 * time/era.c (_nl_init_era_entries): Likewise.
11623 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11624 variable.
11625 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11626 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11627
11628 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11629
11630 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11631 format for long int variable.
11632
11633 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11634
11635 [BZ #10672]
11636 * manual/search.texi: (Array Sort Function): Remove claim how to make
11637 qsort stable.
11638
11639 2014-12-10 Andreas Schwab <schwab@suse.de>
11640
11641 [BZ #12847]
11642 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11643 user-controlled locks.
11644
11645 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11646
11647 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11648 register.
11649
11650 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11651
11652 * configure.ac (--disable-werror): New configure option.
11653 (enable_werror): New AC_SUBST.
11654 * configure: Regenerated.
11655 * config.make.in (enable-werror): New variable.
11656 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11657 -Wno-error=undef.
11658 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11659 * manual/install.texi (Configuring and compiling): Document
11660 --disable-werror.
11661 * INSTALL: Regenerated.
11662 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11663 (CFLAGS-tst-chk2.c): Likewise.
11664 (CFLAGS-tst-chk3.c): Likewise.
11665 (CFLAGS-tst-chk4.cc): Likewise.
11666 (CFLAGS-tst-chk5.cc): Likewise.
11667 (CFLAGS-tst-chk6.cc): Likewise.
11668 (CFLAGS-tst-lfschk1.c): Likewise.
11669 (CFLAGS-tst-lfschk2.c): Likewise.
11670 (CFLAGS-tst-lfschk3.c): Likewise.
11671 (CFLAGS-tst-lfschk4.cc): Likewise.
11672 (CFLAGS-tst-lfschk5.cc): Likewise.
11673 (CFLAGS-tst-lfschk6.cc): Likewise.
11674
11675 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11676 (main): Disable -Wdeprecated-declarations around calls to
11677 register_printf_function.
11678
11679 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11680 (do_test): Disable -Wdiv-by-zero around some calls to
11681 fwrite_unlocked and fread_unlocked.
11682
11683 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11684 (DIAG_POP_NEEDS_COMMENT): Likewise.
11685 (_DIAG_STR1): Likewise.
11686 (_DIAG_STR): Likewise.
11687 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11688 * stdio-common/bug21.c: Include <libc-internal.h>.
11689 (do_test): Disable -Wformat around call to sscanf.
11690 * stdio-common/scanf14.c: Include <libc-internal.h>.
11691 (main): Disable -Wformat around some calls to scanf functions.
11692
11693 2014-12-09 Torvald Riegel <triegel@redhat.com>
11694
11695 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11696
11697 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11698
11699 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11700 stack variable alignment.
11701
11702 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11703
11704 [BZ #17682]
11705 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11706 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11707 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11708 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11709 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11710 __getrlimit instead of getrlimit.
11711 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11712 __gettimeofday instead of gettimeofday.
11713 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11714 Likewise.
11715 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11716 Likewise.
11717 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11718 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11719 Remove variable.
11720 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11721 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11722
11723 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11724
11725 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11726 for wide-character tests.
11727
11728 2014-12-04 Roland McGrath <roland@hack.frob.com>
11729
11730 * io/openat64.c: #include <libc-internal.h>
11731 (__openat64): Prototypify. Use ignore_value on MODE.
11732 * io/openat.c: Likewise.
11733 * misc/reboot.c: #include <libc-internal.h>
11734 (reboot): Prototypify. Use ignore_value on HOWTO.
11735 * misc/ptrace.c: #include <libc-internal.h>
11736 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11737
11738 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11739
11740 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11741 XPG4, UNIX98 and XOPEN2K.
11742 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11743 Remove variable.
11744 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11745
11746 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11747
11748 * libio/fileops.c: Use ISO C style for function definitions.
11749 * libio/iofopen.c: Likewise.
11750 * libio/wfileops.c: Likewise.
11751
11752 [BZ #17653]
11753 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11754 offset on EOF.
11755 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11756 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11757 (fgets_func): Function pointer to fgets and fgetws.
11758 (do_ftell_test): Add test to verify ftell value after read
11759 EOF.
11760 (do_test): Set fgets_func.
11761
11762 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11763 O_TRUNC flag for w and w+ modes.
11764 (do_rewind_test): Likewise.
11765 (do_ftell_test): Likewise.
11766 (do_write_test): Likewise.
11767
11768 [BZ #17647]
11769 * libio/fileops.c (do_ftell): Seek only when there are
11770 unflushed writes.
11771 * libio/wfileops.c (do_ftell_wide): Likewise.
11772 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11773 test case.
11774 (do_one_test): Call it.
11775
11776 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11777
11778 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11779 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11780 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11781 Remove variable.
11782 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11783 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11784 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11785
11786 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11787
11788 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11789 Remove variable.
11790 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11791
11792 [BZ #17668]
11793 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11794 as weak alias of __getifaddrs. Use libc_hidden_weak.
11795 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11796 __freeifaddrs. Use libc_hidden_weak.
11797 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11798 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11799 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11800 __freeifaddrs. Use libc_hidden_weak.
11801 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11802 __getifaddrs and define as weak alias of __getifaddrs. Use
11803 libc_hidden_weak.
11804 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11805 __freeifaddrs. Use libc_hidden_weak.
11806 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11807 Remove variable.
11808 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11809 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11810
11811 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11812
11813 [BZ #17601]
11814 * sysdeps/mips/start.S (__start): Use indirect jump to call
11815 __libc_start_main.
11816
11817 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11818
11819 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11820
11821 * nptl/tst-mutex1.c: Include <stdbool.h>.
11822 [!ATTR] (ATTR_NULL): New macro.
11823 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11824 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11825 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11826
11827 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11828 to char *.
11829
11830 [BZ #17665]
11831 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11832 Change conditional to [__USE_MISC].
11833
11834 [BZ #17664]
11835 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11836 fgets_unlocked.
11837 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11838 __fgets_unlocked.
11839 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11840 fgets_unlocked.
11841 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11842 Remove variable.
11843 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11844 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11845 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11846 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11847 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11848 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11849 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11850 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11851 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11852
11853 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11854
11855 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11856
11857 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11858 Remove strpbrk objects.
11859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11860 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11861 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11862 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11863 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11864 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11865
11866 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11867 Remove strcspn objects.
11868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11869 (__libc_ifunc_impl_list): Remove strcspn implementation.
11870 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11871 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11872 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11873 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11874
11875 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11876 Remove strspn objetcs.
11877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11878 (__libc_ifunc_impl_list): Remove strspn implementation.
11879 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11880 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11881 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11882 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11883
11884 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11885
11886 [BZ #17581]
11887 * malloc/hooks.c
11888 (mem2mem_check): Add a terminator to the chain of checking blocks.
11889 (malloc_check_get_size): Use it here.
11890 (mem2chunk_check): Ditto.
11891
11892 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11893
11894 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11895 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11896
11897 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11898
11899 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11900
11901 * nptl/nptl-init.c: Include libc-internal.h.
11902 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11903
11904 * elf/ldconfig.c (search_dir): Expand comment.
11905
11906 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11907
11908 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11909 variable.
11910 (linknamespace-symlist-stdlibs-tests): Likewise.
11911 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11912 instead of $(objpfx)symlist-stdlibs.
11913 (linknamespace-libs-isoc): New variable.
11914 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11915 (linknamespace-libs-ISO): New variable.
11916 (linknamespace-libs-ISO99): Likewise.
11917 (linknamespace-libs-ISO11): Likewise.
11918 (linknamespace-libs-XPG3): Likewise.
11919 (linknamespace-libs-XPG4): Likewise.
11920 (linknamespace-libs-POSIX): Likewise.
11921 (linknamespace-libs-UNIX98): Likewise.
11922 (linknamespace-libs-XOPEN2K): Likewise.
11923 (linknamespace-libs-POSIX2008): Likewise.
11924 (linknamespace-libs-XOPEN2K8): Likewise.
11925 ($(objpfx)symlist-stdlibs): Replace by
11926 $(linknamespace-symlist-stdlibs-tests). Use
11927 $(linknamespace-libs-$*) as set of libraries.
11928 ($(linknamespace-header-tests)): Update dependencies. Use
11929 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11930 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11931 * conform/linknamespace.pl: Remove comment about considering
11932 definitions of symbols from irrelevant libraries.
11933
11934 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11935
11936 [BZ #13862]
11937 * elf/dl-tls.c: Include <atomic.h>.
11938 (oom): Remove #ifdef SHARED/#endif.
11939 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11940 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11941 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11942 big enough.
11943 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11944 * nptl/Makefile (tests): Add tst-stack4.
11945 (modules-names): Add tst-stack4mod.
11946 ($(objpfx)tst-stack4): New.
11947 (tst-stack4mod.sos): Likewise.
11948 ($(objpfx)tst-stack4.out): Likewise.
11949 ($(tst-stack4mod.sos)): Likewise.
11950 (clean): Likewise.
11951 * nptl/tst-stack4.c: New file.
11952 * nptl/tst-stack4mod.c: Likewise.
11953
11954 2014-11-27 J. Brown <jb999@gmx.de>
11955
11956 * sysdeps/x86/bits/string.h: Add recent CPUs.
11957
11958 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11959
11960 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11961 sigblock.
11962
11963 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11964 feof.
11965
11966 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11967 variable.
11968
11969 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11970
11971 * nscd/connections.c: Include libc-internal.h because of macro
11972 usage ignore_value.
11973
11974 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11975
11976 * string/bits/string3.h (__warn_memset_zero_len): Don't
11977 declare for gcc newer than 5.0.
11978 (memset): Don't test for zero-length __LEN for gcc newer than
11979 5.0.
11980
11981 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11982
11983 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11984 size_t for %zu format.
11985
11986 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11987 difference, not %ju.
11988
11989 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11990
11991 * include/libc-internal.h (ignore_value): New macro.
11992 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11993 with ignore_value.
11994
11995 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11996 definition.
11997
11998 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11999 pthread_cleanup_push to void *.
12000
12001 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12002 Undefine.
12003
12004 [BZ #16619]
12005 [BZ #16740]
12006 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12007 instead of 1L << 52.
12008
12009 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12010 * libio/bug-rewind2.c (do_test): Likewise.
12011
12012 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12013 * debug/test-strcpy_chk-ifunc.c: Likewise.
12014 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12015 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12016 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12017 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12018 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12019 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12020 * Rules [$(multi-arch) = no] (tests): Do not filter out
12021 $(tests-ifunc).
12022 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12023 * debug/Makefile (tests-ifunc): Remove variable.
12024 (tests): Do not add $(tests-ifunc).
12025 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12026 (tests): Do not add $(tests-ifunc).
12027 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12028 [TEST_IFUNC]: Remove conditionals.
12029 * string/test-string.h (TEST_IFUNC): Remove macro.
12030 [TEST_IFUNC]: Remove conditionals.
12031
12032 * string/test-strchr.c [!WIDE] (L): New macro.
12033 [WIDE] (L): Likewise.
12034 (check1): Use CHAR instead of char. Use L on string and character
12035 constants.
12036
12037 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12038
12039 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12040 tests.
12041 * sysdeps/powerpc/bits/atomic.h
12042 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12043 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12044 (atomic_exchange_and_add_acq): Likewise.
12045 (atomic_exchange_and_add_rel): Likewise.
12046 * sysdeps/powerpc/powerpc32/bits/atomic.h
12047 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12048 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12049 * sysdeps/powerpc/powerpc64/bits/atomic.h
12050 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12051 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12052
12053 2014-11-26 Torvald Riegel <triegel@redhat.com>
12054
12055 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12056 Change synchronization of __sched_fifo_min_prio and
12057 __sched_fifo_max_prio.
12058 * nptl/pthread_mutexattr_getprioceiling.c
12059 (pthread_mutexattr_getprioceiling): Likewise.
12060 * nptl/pthread_mutexattr_setprioceiling.c
12061 (pthread_mutexattr_setprioceiling): Likewise.
12062 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12063 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12064 Likewise.
12065
12066 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12067
12068 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12069 void.
12070
12071 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12072
12073 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12074 third argument const.
12075
12076 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12077
12078 fnmatch: work around GCC compiler warning bug with uninit var
12079 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12080 This works around a bug with x86-64 GCC 4.9.2 and earlier
12081 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12082 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12083 used uninitialized in this function [-Wmaybe-uninitialized]".
12084
12085 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12086
12087 * posix/bug-regex31.c (main): Return RES not 0.
12088
12089 2014-11-25 Anton Blanchard <anton@samba.org>
12090
12091 * sysdeps/powerpc/bits/atomic.h
12092 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12093
12094 2014-11-24 Sterling Augustine <saugustine@google.com>
12095
12096 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12097
12098 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12099
12100 [BZ #17608]
12101 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12102
12103 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12104
12105 [BZ #17633]
12106 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12107 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12108 variable.
12109 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12110 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12111
12112 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12113
12114 * string/strncpy.c (strncpy): Improve performance by using memset.
12115
12116 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12117
12118 * string/strcpy.c (strcpy):
12119 Improve performance by using strlen and memcpy.
12120
12121 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12122
12123 * string/strcoll_l.c (get_next_seq): __always_inline.
12124 * string/strcoll_l.c (do_compare): __always_inline.
12125
12126 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12127
12128 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12129 defined.
12130 * include/mqueue.h: Likewise.
12131 * include/stdlib.h: Likewise.
12132
12133 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12134 (get_null_defines): Adjust.
12135 * sunrpc/Makefile: Adjust comment.
12136 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12137 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12138 (CFLAGS-interp.c): Likewise.
12139 (CFLAGS-ldconfig.c): Likewise.
12140 (CPPFLAGS-.os): Likewise.
12141 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12142 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12143 * extra-modules.mk (extra-modules.mk): Likewise.
12144 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12145 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12146 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12147 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12148 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12149 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12150 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12151 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12152 * iconvdata/Makefile (CPPFLAGS): Likewise.
12153 (cpp-srcs-left): Add libof for all iconvdata routines.
12154 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12155 * include/assert.h: Likewise.
12156 * include/ctype.h: Likewise.
12157 * include/errno.h: Likewise.
12158 * include/libc-symbols.h: Likewise.
12159 * include/math.h: Likewise.
12160 * include/netdb.h: Likewise.
12161 * include/resolv.h: Likewise.
12162 * include/stdio.h: Likewise.
12163 * include/stdlib.h: Likewise.
12164 * include/string.h: Likewise.
12165 * include/sys/stat.h: Likewise.
12166 * include/wctype.h: Likewise.
12167 * intl/l10nflist.c: Likewise.
12168 * libidn/idn-stub.c: Likewise.
12169 * libio/libioP.h: Likewise.
12170 * nptl/libc_multiple_threads.c: Likewise.
12171 * nptl/pthreadP.h: Likewise.
12172 * posix/regex_internal.h: Likewise.
12173 * resolv/res_hconf.c: Likewise.
12174 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12175 * sysdeps/arm/memmove.S: Likewise.
12176 * sysdeps/arm/sysdep.h: Likewise.
12177 * sysdeps/generic/_itoa.h: Likewise.
12178 * sysdeps/generic/symbol-hacks.h: Likewise.
12179 * sysdeps/gnu/errlist.awk: Likewise.
12180 * sysdeps/gnu/errlist.c: Likewise.
12181 * sysdeps/i386/i586/memcpy.S: Likewise.
12182 * sysdeps/i386/i586/memset.S: Likewise.
12183 * sysdeps/i386/i686/memcpy.S: Likewise.
12184 * sysdeps/i386/i686/memmove.S: Likewise.
12185 * sysdeps/i386/i686/mempcpy.S: Likewise.
12186 * sysdeps/i386/i686/memset.S: Likewise.
12187 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12188 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12189 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12190 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12191 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12192 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12193 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12194 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12195 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12196 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12197 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12198 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12199 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12200 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12201 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12202 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12203 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12204 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12205 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12206 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12207 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12208 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12209 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12210 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12211 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12212 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12213 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12214 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12215 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12220 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12222 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12223 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12224 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12225 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12226 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12227 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12228 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12229 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12230 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12231 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12232 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12234 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12235 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12236 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12237 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12238 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12239 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12240 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12241 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12242 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12243 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12244 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12245 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12246 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12247 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12248 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12249 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12250 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12251 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12252 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12253 * sysdeps/posix/closedir.c: Likewise.
12254 * sysdeps/posix/opendir.c: Likewise.
12255 * sysdeps/posix/readdir.c: Likewise.
12256 * sysdeps/posix/rewinddir.c: Likewise.
12257 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12258 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12259 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12260 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12261 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12263 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12271 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12272 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12274 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12275 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12276 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12278 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12280 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12284 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12293 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12294 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12295 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12296 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12297 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12298 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12299 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12301 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12302 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12303 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12304 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12305 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12306 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12307 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12308 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12309 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12310 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12311 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12312 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12313 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12314 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12315 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12316 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12317 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12318 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12319 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12320 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12321 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12322 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12323 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12324 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12325 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12326 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12327 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12328 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12329 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12330 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12331 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12333 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12334 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12335 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12336 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12337 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12338 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12339 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12340 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12341 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12342 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12343 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12344 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12345 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12346 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12347 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12348 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12349 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12350 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12351 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12353 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12355 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12356 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12358 * sysdeps/unix/alpha/sysdep.S: Likewise.
12359 * sysdeps/unix/alpha/sysdep.h: Likewise.
12360 * sysdeps/unix/make-syscalls.sh: Likewise.
12361 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12362 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12363 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12364 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12365 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12366 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12367 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12368 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12369 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12370 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12372 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12373 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12374 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12375 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12376 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12377 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12378 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12379 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12380 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12381 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12382 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12383 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12384 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12385 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12386 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12387 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12390 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12391 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12394 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12395 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12396 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12399 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12400 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12401 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12402 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12403 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12404 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12405 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12406 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12408 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12411 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12412 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12413 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12414 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12415 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12416 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12417 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12419 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12420 * sysdeps/x86_64/memcpy.S: Likewise.
12421 * sysdeps/x86_64/memmove.c: Likewise.
12422 * sysdeps/x86_64/memset.S: Likewise.
12423 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12424 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12425 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12426 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12427 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12430 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12431 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12432 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12433 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12434 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12435 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12436 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12437 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12438 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12439 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12440 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12441 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12442 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12443 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12444 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12445 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12446 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12447 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12448 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12449 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12450 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12451 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12452 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12453 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12454 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12455 * sysdeps/x86_64/strcmp.S: Likewise.
12456
12457 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12458
12459 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12460 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12461 * elf/rtld-Rules: Likewise.
12462 * elf/setup-vdso.h: Likewise.
12463 * include/assert.h: Likewise.
12464 * include/bits/stdlib-float.h: Likewise.
12465 * include/errno.h: Likewise.
12466 * include/sys/stat.h: Likewise.
12467 * include/unistd.h: Likewise.
12468 * sysdeps/aarch64/setjmp.S: Likewise.
12469 * sysdeps/alpha/setjmp.S: Likewise.
12470 * sysdeps/arm/__longjmp.S: Likewise.
12471 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12472 * sysdeps/arm/setjmp.S: Likewise.
12473 * sysdeps/arm/sysdep.h: Likewise.
12474 * sysdeps/generic/_itoa.h: Likewise.
12475 * sysdeps/generic/dl-sysdep.h: Likewise.
12476 * sysdeps/generic/ldsodefs.h: Likewise.
12477 * sysdeps/i386/dl-tls.h: Likewise.
12478 * sysdeps/i386/setjmp.S: Likewise.
12479 * sysdeps/m68k/setjmp.c: Likewise.
12480 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12481 * sysdeps/mach/hurd/opendir.c: Likewise.
12482 * sysdeps/posix/getcwd.c: Likewise.
12483 * sysdeps/posix/opendir.c: Likewise.
12484 * sysdeps/posix/profil.c: Likewise.
12485 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12486 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12487 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12488 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12489 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12490 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12491 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12492 * sysdeps/s390/dl-tls.h: Likewise.
12493 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12494 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12495 * sysdeps/sh/sh3/setjmp.S: Likewise.
12496 * sysdeps/sh/sh4/setjmp.S: Likewise.
12497 * sysdeps/unix/alpha/sysdep.h: Likewise.
12498 * sysdeps/unix/arm/sysdep.S: Likewise.
12499 * sysdeps/unix/i386/sysdep.S: Likewise.
12500 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12501 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12502 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12503 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12505 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12506 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12507 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12508 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12509 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12510 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12511 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12515 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12518 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12519 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12520 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12521 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12523 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12524 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12525 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12528 * sysdeps/x86_64/setjmp.S: Likewise.
12529
12530 * include/math.h: Use IS_IN instead of IS_IN_libm.
12531 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12532 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12533 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12534 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12536 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12537 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12540 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12541 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12542 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12543 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12551 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12552 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12553 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12554 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12555 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12556 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12558 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12559 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12560 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12561 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12562 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12563 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12565 Likewise.
12566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12567 Likewise.
12568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12569 Likewise.
12570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12571 Likewise.
12572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12573 Likewise.
12574 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12576 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12577 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12578 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12579 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12585 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12586 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12587 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12588 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12589 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12590 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12591 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12592 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12593 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12594 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12595 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12596 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12597 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12598 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12600 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12601
12602 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12603 * nptl/pthreadP.h: Likewise.
12604 * nptl_db/structs.def: Likewise.
12605 * sysdeps/arm/sysdep.h: Likewise.
12606 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12607 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12608 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12609 * sysdeps/unix/alpha/sysdep.h: Likewise.
12610 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12611 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12612 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12613 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12614 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12615 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12616 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12617 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12618 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12619 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12620 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12621 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12622 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12623 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12628 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12631 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12632 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12633 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12634 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12635 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12636
12637 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12638 * nptl/pthreadP.h: Likewise.
12639 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12640 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12641 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12642 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12643 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12644 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12645 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12646 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12647 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12648 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12649 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12650 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12652 Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12654 Likewise.
12655 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12657 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12660 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12661 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12662 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12663
12664 * dlfcn/dladdr.c: Use IS_IN.
12665 * dlfcn/dladdr1.c: Likewise.
12666 * dlfcn/dlclose.c: Likewise.
12667 * dlfcn/dlerror.c: Likewise.
12668 * dlfcn/dlinfo.c: Likewise.
12669 * dlfcn/dlmopen.c: Likewise.
12670 * dlfcn/dlopen.c: Likewise.
12671 * dlfcn/dlsym.c: Likewise.
12672 * dlfcn/dlvsym.c: Likewise.
12673
12674 * include/ifaddrs.h: Use IS_IN.
12675 * inet/check_pf.c: Likewise.
12676 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12677 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12678
12679 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12680 IS_IN_ldconfig.
12681 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12682 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12683
12684 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12685 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12686 IS_IN (libc).
12687
12688 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12689
12690 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12691 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12692 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12693 * include/libc-symbols.h (IS_IN_LIB): New macro.
12694 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12695 * include/netdb.h: Likewise.
12696 * include/stap-probe.h: Remove all uses of IN_LIB.
12697
12698 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12699 instead of IN_MODULE.
12700 * include/libc-symbols.h (IN_MODULE): Define using
12701 MODULE_NAME.
12702 (PASTE_NAME, PASTE_NAME1): New macros.
12703 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12704 of IN_LIB.
12705 (STAP_PROBE_ASM): Likewise.
12706
12707 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12708
12709 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12710 __mach_init in dlopened libc.
12711
12712 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12713
12714 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12715 * sysdeps/arm/preconfigure: Regenerate.
12716
12717 2014-11-21 Roland McGrath <roland@hack.frob.com>
12718
12719 * nptl/pthread_create.c (__pthread_create_2_1): Set
12720 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12721 when copying values from IATTR into PD.
12722
12723 2014-11-21 Will Newton <will.newton@linaro.org>
12724 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12725
12726 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12727 Refactor inline-asm. Also add comment.
12728
12729 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12730 ElfW macro instead of hardcoded Elf64 types.
12731 (la_aarch64_gnu_pltenter): Likewise.
12732 * sysdeps/aarch64/dl-machine.h
12733 (elf_machine_runtime_setup): Use ElfW(Addr).
12734
12735 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12736 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12737 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12738 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12739 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12740 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12741 (R_AARCH64_TLS_DTPMOD): This.
12742 (R_AARCH64_TLS_DTPREL64): Rename to ...
12743 (R_AARCH64_TLS_DTPREL): This.
12744 (R_AARCH64_TLS_TPREL64): Rename to ...
12745 (R_AARCH64_TLS_TPREL): This.
12746 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12747 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12748 R_AARCH64_TLS_TPREL64.
12749 (elf_machine_rela): Likewise.
12750
12751 2014-11-21 Torvald Riegel <triegel@redhat.com>
12752
12753 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12754 by setting it to 0. 64b atomics are not supported currently.
12755
12756 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12757
12758 [BZ #16469]
12759 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12760 search domain names.
12761
12762 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12763
12764 [BZ #16469]
12765 * NEWS: Update.
12766 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12767 trailing dot.
12768 * posix/tst-getaddrinfo5.c: New.
12769 * posix/Makefile (tests): Add it.
12770
12771 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12772
12773 [BZ #14498]
12774 * NEWS: Fixed.
12775 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12776 after parsing line but before break_if_match.
12777 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12778 if there is a protocol mismatch.
12779
12780 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12781
12782 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12783 because the potential race is on the user-supplied stream.
12784
12785 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12786
12787 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12788 string literal if not passed a buffer.
12789 * manual/job.texi (ctermid): Update reasoning, note deviation
12790 from posix, suggest mtasurace when not passed a buffer, for
12791 future non-preliminary safety notes.
12792
12793 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12794
12795 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12796 of not passing it a buffer.
12797 Reported by Peng Haitao.
12798
12799 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12800
12801 * manual/Makefile ($(objpfx)stamp-summary): Require
12802 check-safety.sh to pass.
12803 * manual/check-safety.sh: Wish for verification that every
12804 @deftypefn and @deftypefun is followed by a @safety remark.
12805
12806 2014-11-20 Roland McGrath <roland@hack.frob.com>
12807
12808 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12809
12810 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12811 PTHREAD_CANCEL_ASYNCHRONOUS.
12812 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12813 send SIGCANCEL.
12814
12815 * nptl/default-sched.h: New file.
12816 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12817 * nptl/pthread_create.c: Include it.
12818 (__pthread_create_2_1): Use collect_default_sched instead of making
12819 Linux syscalls here directly.
12820
12821 2014-11-20 Torvald Riegel <triegel@redhat.com>
12822
12823 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12824 __pthread_once): Use C11 atomics.
12825
12826 2014-11-20 Torvald Riegel <triegel@redhat.com>
12827
12828 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12829
12830 2014-11-20 Torvald Riegel <triegel@redhat.com>
12831
12832 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12833 atomic_thread_fence_acquire, atomic_thread_fence_release,
12834 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12835 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12836 atomic_compare_exchange_weak_relaxed,
12837 atomic_compare_exchange_weak_acquire,
12838 atomic_compare_exchange_weak_release,
12839 atomic_exchange_acquire, atomic_exchange_release,
12840 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12841 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12842 atomic_fetch_and_acquire,
12843 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12844
12845 2014-11-20 Torvald Riegel <triegel@redhat.com>
12846
12847 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12848 USE_ATOMIC_COMPILER_BUILTINS): Define.
12849 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12850 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12851 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12852 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12853 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12854 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12855 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12856 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12857 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12858 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12859 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12860 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12861 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12862 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12863 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12864 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12865 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12866 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12867 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12868 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12869 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12870 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12871 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12872 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12873 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12874 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12875 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12876 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12877 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12878 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12879 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12880 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12881 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12882 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12883 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12884 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12885 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12886 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12887 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12888 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12889
12890 2014-11-19 Roland McGrath <roland@hack.frob.com>
12891
12892 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12893 the sched_priority value here. It was already checked when the user
12894 called pthread_attr_setschedparam.
12895
12896 * nptl/tst-bad-schedattr.c: New file.
12897 * nptl/Makefile (tests): Add it.
12898
12899 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12900 Florian Weimer <fweimer@redhat.com>
12901 Joseph Myers <joseph@codesourcery.com>
12902 Adam Conrad <adconrad@0c3.net>
12903 Andreas Schwab <schwab@suse.de>
12904 Brooks <bmoses@google.com>
12905
12906 [BZ #17625]
12907 * wordexp-test.c (__dso_handle): Add prototype.
12908 (__register_atfork): Likewise.
12909 (__app_register_atfork): New function.
12910 (registered_forks): New global.
12911 (register_fork): New function.
12912 (test_case): Add 3 new tests for WRDE_CMDSUB.
12913 (main): Call __app_register_atfork.
12914 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12915 fork count is non-zero fail the test.
12916 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12917 is set.
12918 (parse_dollars): Remove check for WRDE_NOCMD.
12919 (parse_dquote): Likewise.
12920
12921 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12922
12923 * Makeconfig (built-modules): List non-library modules to be
12924 built.
12925 (module-cppflags): Include libc-modules.h for
12926 everything except shlib-versions.v.i.
12927 (CPPFLAGS): Use it.
12928 (before-compile): Add libc-modules.h.
12929 ($(common-objpfx)libc-modules.h,
12930 $(common-objpfx)libc-modules.stmp): New targets.
12931 (common-generated): Add libc-modules.h and libc-modules.stmp.
12932 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12933 * include/libc-symbols.h: Don't include libc-modules.h.
12934 * include/libc-modules.h: Remove file.
12935 * scripts/gen-libc-modules.awk: New script to generate
12936 libc-modules.h.
12937 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12938 Depend on libc-modules.stmp.
12939
12940 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12941
12942 * Makeconfig (in-module): Get value of libof set for the
12943 translation unit.
12944 (CPPFLAGS): Use $(in-module).
12945 * Makerules: Don't suffix routine names for nonlib.
12946 * include/libc-modules.h: New file.
12947 * include/libc-symbols.h: Include libc-modules.h
12948 (IS_IN): New macro to replace IS_IN_* macros.
12949 * elf/Makefile: Set libof-* for each routine.
12950 * elf/rtld-Rules: Likewise.
12951 * extra-modules.mk: Likewise.
12952 * iconv/Makefile: Likewise.
12953 * iconvdata/Makefile: Likewise.
12954 * locale/Makefile: Likewise.
12955 * malloc/Makefile: Likewise.
12956 * nss/Makefile: Likewise.
12957 * sysdeps/gnu/Makefile: Likewise.
12958 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12959 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12960 * sysdeps/s390/s390-64/Makefile: Likewise.
12961 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12962 CPPFLAGS for nscd instead of nonlib.
12963
12964 2014-11-18 Roland McGrath <roland@hack.frob.com>
12965
12966 * nptl/createthread.c: New file.
12967
12968 * nptl/createthread.c: Moved ...
12969 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12970
12971 * nptl/createthread.c: Add proper top-line comment.
12972 (do_clone): Folded into ...
12973 (create_thread): ... here. Take new arguments STOPPED_START and
12974 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12975 increment __nptl_threads, do event-reporting logic, do
12976 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12977 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12978 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12979 just send SIGCANCEL.
12980 * nptl/pthread_create.c: Forward-declare create_thread before
12981 including createthread.c.
12982 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12983 declaration, and new macro START_THREAD_SELF to replace argument.
12984 Remove return statement.
12985 (report_thread_creation): New function.
12986 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12987 synchronization logic, and __nptl_nthreads increment here, around
12988 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12989 PD->parent_cancelhandling here, before create_thread. When
12990 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12991 __deallocate_stack, and ENOMEM translation here.
12992
12993 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12994
12995 [BZ #17616]
12996 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12997 (mptwo): Rename to __mptwo.
12998 (__inv): Use __mptwo instead of mptwo.
12999 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13000 (mptwo): Rename to __mptwo.
13001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13002 of mpone and __mptwo instead of mptwo.
13003 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13004 instead of mpone.
13005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13006 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13007 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13008 of mpone and __mptwo instead of mptwo.
13009 (__mpranred): Use __mpone instead of mpone.
13010 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13011 variable.
13012 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13013 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13014 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13015 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13016 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13017 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13018 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13019 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13020 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13021 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13022 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13023 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13024 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13025 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13026 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13027 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13028 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13029 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13030 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13031
13032 2014-11-18 Tom de Vries <tom@codesoucery.com>
13033
13034 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13035 replace BSD Handler xref with BSD Signal Handling.
13036
13037 2014-11-17 Richard Henderson <rth@redhat.com>
13038
13039 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13040 (_FP_PACK_RAW_2): Remove.
13041 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13042 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13043 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13044 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13045 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13046 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13047 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13048 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13049 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13050 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13051 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13052 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13053 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13054 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13055 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13056 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13057
13058 2014-11-14 Roland McGrath <roland@hack.frob.com>
13059
13060 * signal/signal.h [__USE_MISC]
13061 (struct sigvec): Remove type.
13062 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13063 (sigvec): Remove declaration.
13064 * sysdeps/posix/sigvec.c: Moved ...
13065 * signal/sigvec.c: ... here, replacing old file.
13066 (struct sigvec): New type, copied from old signal.h definition.
13067 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13068 (__sigvec): Convert definition to prototype.
13069 (sigvec): Replace weak_alias with compat_symbol.
13070 * signal/Versions (libc: GLIBC_2.21): New version set.
13071 * include/signal.h: Remove __sigvec declaration.
13072 * sysdeps/unix/bsd/sigvec.c: Remove file.
13073 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13074 * manual/signal.texi (BSD Handler): Remove subsection.
13075 Move siginterrupt up to ...
13076 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13077 (Blocking in BSD): Fold subsection into its parent.
13078 * NEWS: Mention sigvec removal.
13079
13080 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13081
13082 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13083 (DLA_FMS): Make definition conditional only on [__FMA4__].
13084 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13085 definition.
13086
13087 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13088 Make definition conditional only on [PROF].
13089 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13090 definition.
13091 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13092 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13093
13094 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13095 !__GNUC__].
13096 * include/signal.h (__sigpause): Move declaration above call to
13097 libc_hidden_proto.
13098 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13099 variable.
13100 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13101 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13102
13103 2014-11-14 David S. Miller <davem@davemloft.net>
13104
13105 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13106 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13107
13108 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13109
13110 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13111 * configure: Regenerated.
13112 * manual/install.texi (Tools for Compilation): Document a
13113 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13114 compiler verified to work.
13115 * INSTALL: Regenerated.
13116
13117 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13118 redeclare with asm name.
13119 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13120 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13121 including <string.h>.
13122 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13123 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13124 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13125 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13126 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13127 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13128 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13129
13130 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13131
13132 * stdlib/strtol.c (__strtol): Use prototype definition.
13133
13134 [BZ #17594]
13135 * stdlib/strtol.c (SYM__): New macro.
13136 (SYM__1): Likewise.
13137 (__strtol): Likewise.
13138 (strtol): Rename to __strtol and define as weak alias of
13139 __strtol. Use libc_hidden_weak.
13140
13141 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13142
13143 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13144 Use numbered labels in inline assembly.
13145
13146 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13147
13148 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13149 Add setjmp LIBC_PROBE.
13150 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13151 Likewise.
13152 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13153 Add longjmp, longjmp_target LIBC_PROBE.
13154 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13155 Likewise.
13156
13157 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13158
13159 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13160 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13161 to get rid of unused variable warning.
13162
13163 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13164
13165 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13166 Check for unwind_backtrace == NULL only in SHARED case.
13167 (__backchain_backtrace): Compile only in SHARED case.
13168 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13169 Likewise.
13170 (__backchain_backtrace): Declare as static.
13171
13172 2014-11-12 Roland McGrath <roland@hack.frob.com>
13173
13174 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13175 (__libc_multiple_threads_ptr): Variable moved ...
13176 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13177
13178 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13179
13180 * conform/GlibcConform.pm: New file.
13181 * conform/conformtest.pl: Use GlibcConform module.
13182 * conform/linknamespace.pl: New file.
13183 * conform/list-header-symbols.pl: Likewise.
13184 * conform/Makefile (linknamespace-symlists-base): New variable.
13185 (linknamespace-symlists-tests): Likewise.
13186 (linknamespace-header-base): Likewise.
13187 (linknamespace-header-tests): Likewise.
13188 (tests-special): Add new tests.
13189 ($(linknamespace-symlists-tests)): New rule.
13190 (linknamespace-libs): New variable.
13191 ($(objpfx)symlist-stdlibs): New rule.
13192 ($(linknamespace-header-tests)): Likewise.
13193 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13194 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13195 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13196 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13197 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13198 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13199 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13200 (test-xfail-ISO/math.h/linknamespace): Likewise.
13201 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13202 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13203 (test-xfail-ISO/time.h/linknamespace): Likewise.
13204 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13205 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13206 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13207 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13208 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13209 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13210 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13211 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13212 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13213 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13214 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13215 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13216 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13217 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13218 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13219 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13220 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13221 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13222 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13223 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13224 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13225 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13226 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13227 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13228 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13229 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13230 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13231 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13232 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13233 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13234 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13235 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13236 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13237 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13238 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13239 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13240 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13241 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13242 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13243 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13244 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13245 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13246 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13247 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13248 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13249 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13250 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13251 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13252 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13253 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13254 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13255 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13256 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13257 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13258 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13259 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13260 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13261 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13262 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13263 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13264 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13265 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13266 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13267 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13268 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13269 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13270 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13271 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13272 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13273 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13274 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13275 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13276 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13277 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13278 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13279 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13280 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13281 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13282 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13283 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13284 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13285 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13286 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13287 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13288 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13289 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13290 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13291 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13292 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13293 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13294 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13295 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13296 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13297 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13298 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13299 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13300 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13301 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13302 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13303 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13304 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13305 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13306 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13307 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13308 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13309 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13310 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13311 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13312 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13313 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13314 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13315 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13316 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13317 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13318 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13319 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13320 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13321 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13322 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13323 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13324 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13325 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13326 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13327 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13328 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13329 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13330 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13331 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13332 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13333 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13334 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13335 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13336 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13337 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13338 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13339 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13340 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13341 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13342 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13343 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13344 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13345 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13346 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13347 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13348 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13349 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13350 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13351 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13352 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13353 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13354
13355 [BZ #17589]
13356 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13357 of fgets_unlocked.
13358
13359 [BZ #17585]
13360 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13361 (memmem): Rename to __memmem and define as weak alias of
13362 __memmem. Use libc_hidden_weak.
13363 (__memmem): Use libc_hidden_def.
13364 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13365 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13366 memmem.
13367
13368 [BZ #17582]
13369 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13370 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13371 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13372 and define as weak alias of __fgets_unlocked. Use
13373 libc_hidden_weak.
13374 (__fgets_unlocked): Use libc_hidden_def.
13375 * include/stdio.h (__fgets_unlocked): Declare. Use
13376 libc_hidden_proto.
13377 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13378 __fgets_unlocked instead of fgets_unlocked.
13379 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13380 (GET_NPROCS_CONF_PARSER): Likewise.
13381 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13382 (GET_NPROCS_CONF_PARSER): Likewise.
13383
13384 [BZ #17574]
13385 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13386 weak alias of __wmemset. Use libc_hidden_weak.
13387 (__wmemset): Use libc_hidden_def.
13388 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13389 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13390 of wmemset.
13391
13392 [BZ #17573]
13393 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13394 with asm name __mempcpy.
13395 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13396
13397 [BZ #17572]
13398 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13399 and define as weak alias of __rawmemchr.
13400 (__rawmemchr): Do not define as strong alias of rawmemchr.
13401
13402 [BZ #17571]
13403 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13404 alias of __qsort_r.
13405 (qsort): Call __qsort_r instead of qsort_r.
13406 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13407 (__qsort_r): Declare. Call libc_hidden_proto.
13408 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13409 instead of qsort_r.
13410 * nscd/gai.c (__qsort_r): Define to qsort_r.
13411 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13412 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13413 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13414
13415 [BZ #17570]
13416 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13417 define as weak alias of __malloc_info.
13418
13419 [BZ #17584]
13420 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13421 as weak alias of __rewinddir. Don't use libc_hidden_def.
13422 (__rewinddir): Use libc_hidden_def.
13423 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13424 as weak alias of __rewinddir. Don't use libc_hidden_def.
13425 (__rewinddir): Use libc_hidden_def.
13426 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13427 weak alias of __rewinddir. Don't use libc_hidden_def.
13428 (__rewinddir): Use libc_hidden_def.
13429 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13430 (__rewinddir): Use libc_hidden_proto.
13431 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13432 rewinddir.
13433 (__getcwd): Use __rewinddir instead of rewinddir.
13434
13435 [BZ #17583]
13436 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13437 alias of __fileno. Use libc_hidden_weak.
13438 (__fileno): Use libc_hidden_def.
13439 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13440 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13441 alias of __ftello.
13442 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13443 __ftello.
13444 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13445 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13446 libc_hidden_def.
13447 (fread_unlocked): Don't use libc_hidden_ver.
13448 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13449 and define as weak alias of __fread_unlocked. Don't use
13450 libc_hidden_def.
13451 (__fread_unlocked): Use libc_hidden_def.
13452 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13453 (ftello): Don't use libc_hidden_proto.
13454 (__ftello): Declare. Use libc_hidden_proto.
13455 (fread_unlocked): Don't use libc_hidden_proto.
13456 (__fread_unlocked): Declare. Use libc_hidden_proto.
13457 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13458 and __ftello instead of fileno, fread_unlocked and ftello.
13459
13460 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13461
13462 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13463 GOT12.
13464 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13465 Likewise.
13466 (_dl_start_user): Likewise.
13467 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13468
13469 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13470 Siddhesh Poyarekar <siddhesh@redhat.com>
13471
13472 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13473 Move argv and envp down instead of moving argc up.
13474 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13475
13476 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13477
13478 [BZ #17506]
13479 * test-skeleton.c (main): Return successful if one of
13480 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13481 * string/tst-strcoll-overflow.c: Define expected status.
13482
13483 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13484
13485 [BZ #17475]
13486 * locale/iso-639.def: Define Bhili and Tulu language codes.
13487
13488 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13489
13490 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13491
13492 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13493
13494 [BZ #17555]
13495 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13496
13497 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13498
13499 * configure.ac: Updated check of minimal required version to
13500 2.22.
13501 * manual/install.texi (Tools for Compilation): Updated version
13502 number.
13503 * configure: Regenerated.
13504 * INSTALL: Likewise.
13505
13506 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13507
13508 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13509 __tls_get_addr.
13510
13511 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13512
13513 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13514 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13515 (__waitpid): Don't define as alias. Use libc_hidden_def not
13516 libc_hidden_weak.
13517 (waitpid): Define as alias of __waitpid.
13518 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13519 __waitpid.
13520 (__waitpid): Don't define as alias. Use libc_hidden_def not
13521 libc_hidden_weak.
13522 (waitpid): Define as alias of __waitpid.
13523 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13524 __libc_waitpid alias.
13525 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13526 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13527 Likewise.
13528 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13529 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13530 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13531 alias.
13532 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13533 __waitpid.
13534 (__waitpid): Don't define as alias. Use libc_hidden_def not
13535 libc_hidden_weak.
13536 (waitpid): Define as alias of __waitpid.
13537
13538 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13539
13540 * manual/llio.texi: Add comment that write safety has been
13541 fixed in Linux.
13542
13543 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13544 (localplt-build-dso): Add elf/ld.so.
13545 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13546 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13547 and free for ld.so.
13548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13549 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13551 Likewise.
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13553 Likewise.
13554 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13555 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13556 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13557 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13558 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13559 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13560 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13561 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13562 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13563 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13564 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13565
13566 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13567
13568 [BZ #14132]
13569 * include/libc-symbols.h (INTUSE): Remove macro.
13570 (INTDEF): Likewise.
13571 (INTVARDEF): Likewise.
13572 (_INTVARDEF): Likewise.
13573 (INTDEF2): Likewise.
13574 (INTVARDEF2): Likewise.
13575 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13576 rtld_hidden_def instead of INTVARDEF.
13577 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13578 (_dl_starting_up_internal): Remove declaration.
13579 (_dl_starting_up): Use rtld_hidden_proto.
13580 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13581 declaration.
13582 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13583 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13584 _dl_starting_up.
13585 * elf/dl-writev.h (_dl_writev): Likewise.
13586 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13587 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13588 _dl_starting_up_internal.
13589
13590 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13591
13592 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13593 test-skeleton.c.
13594
13595 2014-11-05 Will Newton <will.newton@linaro.org>
13596
13597 * benchtests/Makefile: (bench-malloc): Add malloc thread
13598 scalability benchmark.
13599 * benchtests/bench-malloc-threads.c: New file.
13600
13601 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13602
13603 * sysdeps/aarch64/strchrnul.S: New file.
13604
13605 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13606
13607 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13608 definition.
13609 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13610 Likwise.
13611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13612 Likewise.
13613 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13614 Likewise.
13615 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13616 Likewise.
13617 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13618 Likewise.
13619
13620 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13621
13622 * catgets/test-gencat.c: Use test-skeleton.c.
13623 * catgets/tst-catgets.c: Likewise.
13624 * csu/tst-empty.c: Likewise.
13625 * elf/tst-audit2.c: Likewise.
13626 * elf/tst-global1.c: Likewise.
13627 * elf/tst-pathopt.c: Likewise.
13628 * elf/tst-piemod1.c: Likewise.
13629 * elf/tst-tls10.c: Likewise.
13630 * elf/tst-tls11.c: Likewise.
13631 * elf/tst-tls12.c: Likewise.
13632 * gnulib/tst-gcc.c: Likewise.
13633 * iconvdata/tst-e2big.c: Likewise.
13634 * iconvdata/tst-loading.c: Likewise.
13635 * iconv/tst-iconv1.c: Likewise.
13636 * iconv/tst-iconv2.c: Likewise.
13637 * inet/test-inet6_opt.c: Likewise.
13638 * inet/tst-gethnm.c: Likewise.
13639 * inet/tst-network.c: Likewise.
13640 * inet/tst-ntoa.c: Likewise.
13641 * intl/tst-codeset.c: Likewise.
13642 * intl/tst-gettext2.c: Likewise.
13643 * intl/tst-gettext3.c: Likewise.
13644 * intl/tst-ngettext.c: Likewise.
13645 * intl/tst-translit.c: Likewise.
13646 * io/test-stat.c: Likewise.
13647 * libio/test-fmemopen.c: Likewise.
13648 * libio/tst-freopen.c: Likewise.
13649 * libio/tst-sscanf.c: Likewise.
13650 * libio/tst-ungetwc1.c: Likewise.
13651 * libio/tst-ungetwc2.c: Likewise.
13652 * libio/tst-widetext.c: Likewise.
13653 * localedata/tst-ctype.c: Likewise.
13654 * localedata/tst-digits.c: Likewise.
13655 * localedata/tst-leaks.c: Likewise.
13656 * localedata/tst-mbswcs1.c: Likewise.
13657 * localedata/tst-mbswcs2.c: Likewise.
13658 * localedata/tst-mbswcs3.c: Likewise.
13659 * localedata/tst-mbswcs4.c: Likewise.
13660 * localedata/tst-mbswcs5.c: Likewise.
13661 * localedata/tst-setlocale.c: Likewise.
13662 * localedata/tst-trans.c: Likewise.
13663 * localedata/tst-wctype.c: Likewise.
13664 * localedata/tst-xlocale1.c: Likewise.
13665 * login/tst-grantpt.c: Likewise.
13666 * malloc/tst-calloc.c: Likewise.
13667 * malloc/tst-malloc.c: Likewise.
13668 * malloc/tst-mallocstate.c: Likewise.
13669 * malloc/tst-mcheck.c: Likewise.
13670 * malloc/tst-mtrace.c: Likewise.
13671 * malloc/tst-obstack.c: Likewise.
13672 * math/atest-exp2.c: Likewise.
13673 * math/atest-exp.c: Likewise.
13674 * math/atest-sincos.c: Likewise.
13675 * math/test-matherr.c: Likewise.
13676 * math/test-misc.c: Likewise.
13677 * math/test-powl.c: Likewise.
13678 * math/tst-definitions.c: Likewise.
13679 * misc/tst-dirname.c: Likewise.
13680 * misc/tst-efgcvt.c: Likewise.
13681 * misc/tst-fdset.c: Likewise.
13682 * misc/tst-hsearch.c: Likewise.
13683 * misc/tst-mntent2.c: Likewise.
13684 * nptl/tst-sem7.c: Likewise.
13685 * nptl/tst-sem8.c: Likewise.
13686 * nptl/tst-sem9.c: Likewise.
13687 * nss/test-netdb.c: Likewise.
13688 * posix/tst-fnmatch.c: Likewise.
13689 * posix/tst-getlogin.c: Likewise.
13690 * posix/tst-gnuglob.c: Likewise.
13691 * posix/tst-mmap.c: Likewise.
13692 * pwd/tst-getpw.c: Likewise.
13693 * resolv/tst-inet_ntop.c: Likewise.
13694 * rt/tst-timer.c: Likewise.
13695 * stdio-common/test-fseek.c: Likewise.
13696 * stdio-common/test-popen.c: Likewise.
13697 * stdio-common/test-vfprintf.c: Likewise.
13698 * stdio-common/tst-cookie.c: Likewise.
13699 * stdio-common/tst-fileno.c: Likewise.
13700 * stdio-common/tst-gets.c: Likewise.
13701 * stdio-common/tst-obprintf.c: Likewise.
13702 * stdio-common/tst-perror.c: Likewise.
13703 * stdio-common/tst-sprintf2.c: Likewise.
13704 * stdio-common/tst-sprintf3.c: Likewise.
13705 * stdio-common/tst-sprintf.c: Likewise.
13706 * stdio-common/tst-swprintf.c: Likewise.
13707 * stdio-common/tst-tmpnam.c: Likewise.
13708 * stdio-common/tst-unbputc.c: Likewise.
13709 * stdio-common/tst-wc-printf.c: Likewise.
13710 * stdlib/tst-environ.c: Likewise.
13711 * stdlib/tst-fmtmsg.c: Likewise.
13712 * stdlib/tst-limits.c: Likewise.
13713 * stdlib/tst-rand48-2.c: Likewise.
13714 * stdlib/tst-rand48.c: Likewise.
13715 * stdlib/tst-random2.c: Likewise.
13716 * stdlib/tst-random.c: Likewise.
13717 * stdlib/tst-strtol.c: Likewise.
13718 * stdlib/tst-strtoll.c: Likewise.
13719 * stdlib/tst-tls-atexit.c: Likewise.
13720 * stdlib/tst-xpg-basename.c: Likewise.
13721 * string/test-ffs.c: Likewise.
13722 * string/tst-bswap.c: Likewise.
13723 * string/tst-inlcall.c: Likewise.
13724 * string/tst-strtok.c: Likewise.
13725 * string/tst-strxfrm.c: Likewise.
13726 * sysdeps/x86_64/tst-audit10.c: Likewise.
13727 * sysdeps/x86_64/tst-audit3.c: Likewise.
13728 * sysdeps/x86_64/tst-audit4.c: Likewise.
13729 * sysdeps/x86_64/tst-audit5.c: Likewise.
13730 * time/tst-ftime_l.c: Likewise.
13731 * time/tst-getdate.c: Likewise.
13732 * time/tst-mktime3.c: Likewise.
13733 * time/tst-mktime.c: Likewise.
13734 * time/tst-posixtz.c: Likewise.
13735 * time/tst-strptime2.c: Likewise.
13736 * time/tst-strptime3.c: Likewise.
13737 * wcsmbs/tst-btowc.c: Likewise.
13738 * wcsmbs/tst-mbrtowc.c: Likewise.
13739 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13740 * wcsmbs/tst-wchar-h.c: Likewise.
13741 * wcsmbs/tst-wcpncpy.c: Likewise.
13742 * wcsmbs/tst-wcrtomb.c: Likewise.
13743 * wcsmbs/tst-wcsnlen.c: Likewise.
13744 * wcsmbs/tst-wcstof.c: Likewise.
13745
13746 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13747
13748 [BZ #14132]
13749 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13750 INTDEF.
13751 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13752 declaration.
13753 (_dl_mcount): Use rtld_hidden_proto.
13754 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13755 _dl_mcount.
13756 * elf/rtld.c (_rtld_global_ro): Likewise.
13757
13758 [BZ #14132]
13759 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13760 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13761 of _dl_init_internal.
13762 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13763 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13764 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13765 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13766 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13767 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13768 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13769 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13770 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13771 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13772 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13773 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13774 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13775 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13776 * sysdeps/tile/dl-start.S (_start): Likewise.
13777 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13778 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13779
13780 [BZ #14132]
13781 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13782 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13783 (rtld_progname): Make macro definition unconditional.
13784 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13785 INTDEF.
13786 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13787 (dl_main): Likewise.
13788 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13789 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13790 instead of _dl_argv_internal.
13791 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13792 __GI__dl_argv instead of INTUSE(_dl_argv).
13793 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13794 __GI__dl_argv instead of _dl_argv_internal.
13795
13796 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13797 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13798 macro.
13799 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13800 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13801 New macro.
13802 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13803 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13804 macro.
13805 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13806 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13807
13808 2014-11-04 Andreas Schwab <schwab@suse.de>
13809
13810 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13811
13812 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13813
13814 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13815 mtvsrd instruction in binary form.
13816
13817 2014-11-03 Andreas Schwab <schwab@suse.de>
13818
13819 [BZ #17522]
13820 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13821 for less than MB_LEN_MAX use a local buffer of that size.
13822 * libio/tst-fputws.c: New file.
13823 * libio/Makefile (tests): Add tst-fputws.
13824
13825 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13826
13827 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13828 the size of the fpu_fr.fpu_dregs[] array.
13829
13830 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13831
13832 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13833 (__nanosleep): Do not define as alias.
13834 (nanosleep): Define as alias of __nanosleep.
13835 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13836 __libc_nanosleep name.
13837
13838 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13839
13840 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13841 install.texi in comment.
13842
13843 2014-10-31 Torvald Riegel <triegel@redhat.com>
13844
13845 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13846 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13847 ... add here and use lwsync or sync ...
13848 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13849 ... and add here using lwsync.
13850
13851 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13852
13853 * elf/dl-machine-reject-phdr.h: New file.
13854 * elf/dl-load.c: #include that.
13855 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13856 if that returned true.
13857
13858 2014-10-31 Roland McGrath <roland@hack.frob.com>
13859
13860 [BZ #17496]
13861 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13862 gen-as-const-headers chunk. Add a big scare comment after the last
13863 safe place to touch before-compile.
13864
13865 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13866
13867 * manual/install.texi (Tools for Compilation): Update autoconf
13868 version requirements.
13869 * INSTALL: Regenerated.
13870
13871 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13872 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13873 (__libc_pselect): Likewise.
13874
13875 [BZ #14138]
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13880
13881 2014-10-31 Torvald Riegel <triegel@redhat.com>
13882
13883 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13884 correct barrier instruction.
13885 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13886 Likewise.
13887 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13888 Likewise.
13889
13890 2014-10-30 Roland McGrath <roland@hack.frob.com>
13891
13892 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13893 after defining inlines. Instead, just use parens to defeat macro
13894 expansion of __isctype in its declaration.
13895
13896 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13897
13898 * include/sys/uio.h (__libc_readv): Remove declaration.
13899 (__libc_writev): Likewise.
13900 * misc/readv.c (__libc_readv): Rename to __readv.
13901 (__readv): Do not define as alias.
13902 (readv): Define as alias of __readv.
13903 * misc/writev.c (__libc_writev): Rename to __writev.
13904 (__writev): Do not define as alias.
13905 (writev): Define as alias of __writev.
13906 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13907 (__readv): Do not define as alias.
13908 (readv): Define unconditionally as alias of __readv.
13909 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13910 (__writev): Do not define as alias.
13911 (writev): Define unconditionally as alias of __writev.
13912 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13913 name.
13914 (writev): Do not define __libc_writev name.
13915
13916 2014-10-30 Roland McGrath <roland@hack.frob.com>
13917
13918 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13919 (convert_charseq): New function, broken out of ...
13920 (use_from_charmap): ... here. Call it.
13921 (use_to_charmap): Use convert_charseq and free instead of duplicating
13922 its code with a variable-length stack struct.
13923
13924 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13925
13926 * include/fcntl.h (__libc_creat): Remove declaration.
13927 * io/creat.c (__libc_creat): Rename to creat.
13928 (creat): Do not define as alias.
13929 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13930 of creat instead of __libc_creat.
13931 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13932 to creat.
13933 (creat): Do not define as alias.
13934 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13935 __libc_creat.
13936 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13937 __libc_creat name.
13938 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13939 Likewise.
13940
13941 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13942
13943 * manual/llio.texi: Add comments discussing why write() may be
13944 considered MT-unsafe on Linux.
13945
13946 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13947
13948 * dl-load.c (local_strdup): Remove.
13949 (expand_dynamic_string_token): Use __strdup.
13950 (decompose_rpath): Likewise.
13951 (_dl_map_object): Likewise.
13952
13953 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13954
13955 [BZ #14132]
13956 * sysdeps/generic/unwind-dw2-fde.c
13957 (__register_frame_info_bases_internal): Do not declare.
13958 (__register_frame_info_table_bases_internal): Likewise.
13959 (__deregister_frame_info_bases_internal): Likewise.
13960 (__register_frame_info_bases): Declare and use hidden_proto before
13961 definition. Use hidden_def instead of INTDEF.
13962 (__register_frame_info_table_bases): Likewise.
13963 (__deregister_frame_info_bases): Likewise.
13964 (__register_frame_info): Do not use INTUSE.
13965 (__register_frame): Likewise.
13966 (__register_frame_info_table): Likewise.
13967 (__register_frame_table): Likewise.
13968 (__deregister_frame_info): Likewise.
13969 (__deregister_frame): Likewise.
13970
13971 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13972
13973 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13974 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13975 not undefine.
13976 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13977 Likewise.
13978 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13979 Likewise.
13980
13981 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13982
13983 [BZ #14138]
13984 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13985 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13986 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13987 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13988 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13989 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13990 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13991 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13992 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13993 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13995 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13996 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13997 syscall.
13998 (setfsuid): Likewise.
13999 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14000 (setfsuid): Likewise.
14001 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14002 (setfsuid): Likewise.
14003 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14004 Likewise.
14005 (setfsuid): Likewise.
14006 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14007 (setfsuid): Likewise.
14008 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14009 Likewise.
14010 (setfsuid): Likewise.
14011
14012 2014-10-27 Andreas Schwab <schwab@suse.de>
14013
14014 [BZ #17501]
14015 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14016 check for Slow_SSE4_2 feature bit.
14017 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14018 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14019 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14020 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14021
14022 2014-10-24 Roland McGrath <roland@hack.frob.com>
14023
14024 * configure.ac: Validate compiler version with a empirical test of
14025 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14026 $CC -v output.
14027 * configure: Regenerated.
14028
14029 * inet/htons.c (htons): Prototypify.
14030 * inet/htonl.c (htonl): Likewise.
14031
14032 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14033
14034 * string/strncat.c (strncat): Improve performance by using strlen.
14035
14036 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14037
14038 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14039
14040 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14041
14042 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14043 Call libc_fetestexcept_aarch64.
14044
14045 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14046
14047 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14048 Call libc_feholdexcept_aarch64.
14049
14050 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14051
14052 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14053 Call get_rounding_mode.
14054
14055 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14056
14057 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14058 Simplify logic.
14059
14060 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14061
14062 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14063 Simplify logic.
14064
14065 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14066
14067 [BZ #14138]
14068 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14069 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14070 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14071 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14072 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14073 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14074 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14075 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14076 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14077 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14078 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14079 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14080 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14081 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14082 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14083 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14084 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14085 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14086 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14087 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14088 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14089 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14090 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14091 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14092 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14093 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14094 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14095 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14096 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14097 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14098 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14099 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14100 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14101 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14102 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14103 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14104 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14105 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14106 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14107 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14108 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14109 syscall.
14110 (geteuid): Likewise.
14111 (getgid): Likewise.
14112 (getuid): Likewise.
14113 (getresgid): Likewise.
14114 (getresuid): Likewise.
14115 (getgroups): Likewise.
14116 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14117 (geteuid): Likewise.
14118 (getgid): Likewise.
14119 (getuid): Likewise.
14120 (getresgid): Likewise.
14121 (getresuid): Likewise.
14122 (getgroups): Likewise.
14123 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14124 (geteuid): Likewise.
14125 (getgid): Likewise.
14126 (getuid): Likewise.
14127 (getresgid): Likewise.
14128 (getresuid): Likewise.
14129 (getgroups): Likewise.
14130 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14131 Likewise.
14132 (geteuid): Likewise.
14133 (getgid): Likewise.
14134 (getuid): Likewise.
14135 (getresgid): Likewise.
14136 (getresuid): Likewise.
14137 (getgroups): Likewise.
14138 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14139 (geteuid): Likewise.
14140 (getgid): Likewise.
14141 (getuid): Likewise.
14142 (getresgid): Likewise.
14143 (getresuid): Likewise.
14144 (getgroups): Likewise.
14145 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14146 Likewise.
14147 (geteuid): Likewise.
14148 (getgid): Likewise.
14149 (getuid): Likewise.
14150 (getgroups): Likewise.
14151
14152 [BZ #14138]
14153 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14154 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14155 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14156 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14157 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14158 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14159 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14160 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14161 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14162 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14164 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14165 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14166 __chown.
14167 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14168 (lchown): Likewise.
14169 (fchown): Likewise.
14170 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14171 Likewise.
14172 (lchown): Likewise.
14173 (fchown): Likewise.
14174 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14175 (lchown): Likewise.
14176 (fchown): Likewise.
14177 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14178 Likewise.
14179 (lchown): Likewise.
14180 (fchown): Likewise.
14181
14182 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14183
14184 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14185 Simplify logic.
14186
14187 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14188
14189 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14190 Cleanup logic.
14191
14192 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14193
14194 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14195 Remove unused include.
14196
14197 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14198
14199 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14200 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14201 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14202 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14203
14204 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14205 Helge Deller <deller@gmx.de>
14206
14207 [BZ #17508]
14208 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14209 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14210 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14211
14212 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14213
14214 [BZ #14132]
14215 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14216 Remove macro definition.
14217 (__ashrdi3_v_glibc20): Likewise.
14218 (__lshrdi3_v_glibc20): Likewise.
14219 (__cmpdi2_v_glibc20): Likewise.
14220 (__ucmpdi2_v_glibc20): Likewise.
14221 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14222 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14223 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14224 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14225 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14226 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14227
14228 2014-10-22 Roland McGrath <roland@hack.frob.com>
14229
14230 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14231 old GNU extension [0] syntax.
14232 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14233 alloca rather than an array member with variable length.
14234 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14235 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14236 (parse_opt): ... here. Likewise use alloca there.
14237 Validate the -i argument before checking for rootness.
14238 (send_shutdown): New function, broken out of ...
14239 (parse_opt): ... here.
14240
14241 2014-10-22 Roland McGrath <roland@hack.frob.com>
14242
14243 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14244 macro to get at the _rt_local_ro field.
14245 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14246 ([PIC] case) or _dl_hwcap ([!PIC] case).
14247 * sysdeps/arm/setjmp.S: Likewise.
14248
14249 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14250 * sysdeps/arm/configure.ac: New check to define it.
14251 * sysdeps/arm/configure: Regenerated.
14252 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14253 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14254 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14255 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14256 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14257 Use move/movt pair instead of a load.
14258 (LDST_GLOBAL): Macro removed.
14259 (LDR_GLOBAL): New macro replaces it.
14260 (LDR_HIDDEN): New macro.
14261 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14262 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14263
14264 * setjmp/tst-setjmp-static.c: New file.
14265 * setjmp/Makefile (tests): Add it.
14266 (tests-static): New variable.
14267
14268 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14269
14270 [BZ #17485]
14271 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14272
14273 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14274
14275 [BZ #14132]
14276 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14277
14278 2014-10-21 Roland McGrath <roland@hack.frob.com>
14279
14280 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14281
14282 2014-10-20 Roland McGrath <roland@hack.frob.com>
14283
14284 * io/fts.c (dirent_not_directory): New function.
14285 (fts_build): Call it.
14286
14287 2014-10-20 Roland McGrath <roland@hack.frob.com>
14288
14289 * nptl/version.c (__nptl_main): Use normal __write rather than
14290 INTERNAL_SYSCALL.
14291 (banner): Update copyright years.
14292
14293 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14294 gettimeofday.
14295 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14296 * nptl/pthread_cond_timedwait.c: Likewise.
14297 * nptl/pthread_mutex_timedlock.c: Likewise.
14298 * nptl/sem_timedwait.c: Likewise.
14299
14300 * sysdeps/nptl/bits/libc-lock.h
14301 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14302 (__libc_lock_init_recursive): Return void, not 0.
14303 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14304 (__libc_rwlock_init): Likewise.
14305 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14306
14307 2014-10-20 Torvald Riegel <triegel@redhat.com>
14308
14309 [BZ #15215]
14310 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14311 (__pthread_once_slow): ... here.
14312 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14313 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14314
14315 2014-10-20 Torvald Riegel <triegel@redhat.com>
14316
14317 [BZ #15215]
14318 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14319 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14320 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14321 * nptl/pthread_once.c (__pthread_once): Likewise.
14322 Update comments.
14323
14324 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14325
14326 [BZ #14138]
14327 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14328 name.
14329 (writev): Use __libc_writev as strong name.
14330 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14331 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14332
14333 2014-10-17 Roland McGrath <roland@hack.frob.com>
14334
14335 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14336
14337 * sysdeps/i386/nptl/tls.h
14338 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14339 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14340 New macros.
14341 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14342 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14343 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14344 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14345 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14346 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14347
14348 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14349 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14350 on [__NR_futex].
14351 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14352 broken out of ...
14353 (__pthread_mutex_init): ... here. Call it.
14354 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14355 Conditionalize PI cases on [__NR_futex].
14356 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14357 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14358 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14359
14360 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14361 conditional on [SIGSETXID].
14362 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14363 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14364 is defined. Likewise for SIGSETXID.
14365 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14366 Conditionalize definitions on [SIGSETXID].
14367 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14368 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14369 unblocking on [SIGCANCEL].
14370
14371 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14372 [__NR_set_robust_list].
14373
14374 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14375
14376 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14377 (do_compare): Likewise.
14378
14379 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14380
14381 [BZ #15884]
14382 * string/strcoll_l.c: Don't include stdio.h.
14383 (coll_seq): Remove members idxarr and rulearr.
14384 (get_next_seq_cached): Remove function.
14385 (get_next_seq): Likewise.
14386 (get_next_seq_nocache): Rename to get_next_seq.
14387 (do_compare): Remove function.
14388 (do_compare_nocache): Rename to do_compare.
14389 (STRCOLL): Remove weight and rules cache.
14390
14391 2014-10-16 Roland McGrath <roland@hack.frob.com>
14392
14393 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14394 * sysdeps/arm/sfp-machine.h: ... to here.
14395 * sysdeps/arm/Implies: Remove arm/soft-fp.
14396
14397 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14398
14399 * conform/data/sys/utsname.h-data (*_t): Allow.
14400 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14401 [POSIX] (WEXITED): Do not expect constant.
14402 [POSIX] (WSTOPPED): Likewise.
14403 [POSIX] (WNOHANG): Likewise.
14404 [POSIX] (WNOWAIT): Likewise.
14405 [POSIX] (siginfo_t): Do not expect type or elements.
14406 [POSIX] (pid_t): Do not expect type.
14407 [POSIX] (signal.h): Do not allow header.
14408 [POSIX] (sys/resource.h): Likewise.
14409 [POSIX] (si_*): Do not allow pattern.
14410 [POSIX] (W*): Likewise.
14411 [POSIX] (P_*): Likewise.
14412 [POSIX] (BUS_*): Likewise.
14413 [POSIX] (CLD_*): Likewise.
14414 [POSIX] (FPE_*): Likewise.
14415 [POSIX] (ILL_*): Likewise.
14416 [POSIX] (POLL_*): Likewise.
14417 [POSIX] (SEGV_*): Likewise.
14418 [POSIX] (SI_*): Likewise.
14419 [POSIX] (TRAP_*): Likewise.
14420 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14421 variable.
14422
14423 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14424
14425 [BZ #12926]
14426 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14427 infinite loop when __recvmsg returns 0.
14428
14429 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14430
14431 * CANCEL-FCT-WAIVE: Remove file.
14432 * CANCEL-FILE-WAIVE: Likewise.
14433
14434 [BZ #14132]
14435 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14436 instead of INTVARDEF.
14437 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14438 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14439 rtld_hidden_data_def instead of INTVARDEF.
14440 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14441 * elf/dl-deps.c (expand_dst): Likewise.
14442 * elf/dl-load.c (_dl_dst_count): Likewise.
14443 (_dl_dst_substitute): Likewise.
14444 (decompose_rpath): Likewise.
14445 (_dl_init_paths): Likewise.
14446 (open_path): Likewise.
14447 (_dl_map_object): Likewise.
14448 * elf/rtld.c (dl_main): Likewise.
14449 (process_dl_audit): Likewise.
14450 (process_envvars): Likewise.
14451 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14452 Remove declaration.
14453 (__libc_enable_secure): Use rtld_hidden_proto.
14454
14455 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14456
14457 * elf/dl-load.c
14458 (add_path): New function broken out of _dl_rtld_di_serinfo.
14459 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14460
14461 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14462
14463 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14464 parentheses around macro arguments.
14465 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14466 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14467 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14468 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14469 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14470 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14471 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14472 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14473 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14474 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14475 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14476 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14477 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14478 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14479 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14480 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14481 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14482 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14483 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14484 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14485 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14486 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14487 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14488 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14489 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14490 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14491 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14492 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14493 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14494 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14495 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14496 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14497 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14498 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14499 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14500 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14501 Likewise.
14502 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14503 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14504 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14505 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14506 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14507 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14508 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14509 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14510 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14511 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14512 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14513 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14514 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14515 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14516 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14517 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14518 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14519 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14520 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14521 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14522 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14523 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14524 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14525 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14526 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14527 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14528 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14529 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14530 (_FP_FRAC_SRS_1): Likewise.
14531 (_FP_FRAC_CLZ_1): Likewise.
14532 (_FP_MUL_MEAT_1_imm): Likewise.
14533 (_FP_MUL_MEAT_1_wide): Likewise.
14534 (_FP_MUL_MEAT_1_hard): Likewise.
14535 (_FP_SQRT_MEAT_1): Likewise.
14536 (_FP_FRAC_ASSEMBLE_1): Likewise.
14537 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14538 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14539 (__FP_CLZ_2): Likewise.
14540 (_FP_MUL_MEAT_2_wide): Likewise.
14541 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14542 (_FP_MUL_MEAT_2_gmp): Likewise.
14543 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14544 (_FP_SQRT_MEAT_2): Likewise.
14545 (_FP_FRAC_ASSEMBLE_2): Likewise.
14546 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14547 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14548 (_FP_FRAC_CLZ_4): Likewise.
14549 (_FP_MUL_MEAT_4_wide): Likewise.
14550 (_FP_MUL_MEAT_4_gmp): Likewise.
14551 (_FP_SQRT_MEAT_4): Likewise.
14552 (_FP_FRAC_ASSEMBLE_4): Likewise.
14553 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14554 * soft-fp/op-common.h (_FP_CMP): Likewise.
14555 (_FP_CMP_EQ): Likewise.
14556 (_FP_CMP_UNORD): Likewise.
14557 (_FP_TO_INT): Likewise.
14558 (_FP_FROM_INT): Likewise.
14559 [!__FP_CLZ] (__FP_CLZ): Likewise.
14560 (_FP_DIV_HELP_imm): Likewise.
14561 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14562 Likewise.
14563 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14564 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14565 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14566 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14567 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14568 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14569 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14570 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14571 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14572 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14573 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14574 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14575 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14576 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14577 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14578 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14579 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14580 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14581 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14582 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14583 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14584 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14585 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14586 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14587 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14588 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14589 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14590 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14591 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14592 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14593 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14594 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14595 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14596 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14597 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14598 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14599 (FP_UNPACK_RAW_SP): Likewise.
14600 (FP_PACK_RAW_S): Likewise.
14601 (FP_PACK_RAW_SP): Likewise.
14602 (FP_UNPACK_S): Likewise.
14603 (FP_UNPACK_SP): Likewise.
14604 (FP_UNPACK_SEMIRAW_S): Likewise.
14605 (FP_UNPACK_SEMIRAW_SP): Likewise.
14606 (FP_PACK_S): Likewise.
14607 (FP_PACK_SP): Likewise.
14608 (FP_PACK_SEMIRAW_S): Likewise.
14609 (FP_PACK_SEMIRAW_SP): Likewise.
14610 (_FP_SQRT_MEAT_S): Likewise.
14611 (FP_CMP_S): Likewise.
14612 (FP_CMP_EQ_S): Likewise.
14613 (FP_CMP_UNORD_S): Likewise.
14614 (FP_TO_INT_S): Likewise.
14615 (FP_FROM_INT_S): Likewise.
14616
14617 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14618
14619 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14620 (FP_EX_INVALID_IMZ): Likewise.
14621 (FP_EX_INVALID_IMZ_FMA): Likewise.
14622 (FP_EX_INVALID_ISI): Likewise.
14623 (FP_EX_INVALID_ZDZ): Likewise.
14624 (FP_EX_INVALID_IDI): Likewise.
14625 (FP_EX_INVALID_SQRT): Likewise.
14626 (FP_EX_INVALID_CVI): Likewise.
14627 (FP_EX_INVALID_VC): Likewise.
14628 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14629 "invalid" exceptions.
14630 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14631 (_FP_ADD_INTERNAL): Likewise.
14632 (_FP_MUL): Likewise.
14633 (_FP_FMA): Likewise.
14634 (_FP_DIV): Likewise.
14635 (_FP_CMP_CHECK_NAN): Likewise.
14636 (_FP_SQRT): Likewise.
14637 (_FP_TO_INT): Likewise.
14638 (FP_EXTEND): Likewise.
14639
14640 2014-10-09 Allan McRae <allan@archlinux.org>
14641
14642 * po/fr.po: Update French translation from translation project.
14643
14644 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14645
14646 [BZ #14132]
14647 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14648 of INTDEF.
14649 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14650 (__cxa_atexit): Use libc_hidden_proto.
14651 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14652
14653 [BZ #14132]
14654 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14655 declaration.
14656 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14657 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14658 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14659 [!_ISOMAC] (__iswctype_internal): Likewise.
14660 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14661 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14662 alias.
14663 (fcntl): Remove __fcntl_internal alias.
14664 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14665 __connect_internal alias.
14666 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14667 Likewise.
14668
14669 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14670 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14671 FP_DENORM_ZERO.
14672 (_FP_CHECK_FLUSH_ZERO): New macro.
14673 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14674 (_FP_CMP): Likewise.
14675 (_FP_CMP_EQ): Likewise.
14676 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14677 FP_DENORM_ZERO.
14678 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14679 (FP_TRUNC): Likewise.
14680
14681 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14682 treated as invalid conversion, not as normal exponent.
14683
14684 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14685 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14686 (_FP_CMP_EQ): Likewise.
14687 (_FP_CMP_UNORD): Likewise.
14688 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14689 (FP_CMP_EQ_D): Likewise.
14690 (FP_CMP_UNORD_D): Likewise.
14691 * soft-fp/extended.h (FP_CMP_E): Likewise.
14692 (FP_CMP_EQ_E): Likewise.
14693 (FP_CMP_UNORD_E): Likewise.
14694 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14695 (FP_CMP_EQ_Q): Likewise.
14696 (FP_CMP_UNORD_Q): Likewise.
14697 * soft-fp/single.h (FP_CMP_S): Likewise.
14698 (FP_CMP_EQ_S): Likewise.
14699 (FP_CMP_UNORD_S): Likewise.
14700 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14701 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14702 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14703 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14704 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14705 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14706 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14707 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14708 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14709 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14710 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14711 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14712 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14713 to FP_CMP_Q.
14714 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14715 FP_CMP_Q.
14716 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14717 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14718 FP_CMP_EQ_Q.
14719 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14720 FP_CMP_Q.
14721 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14722 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14723 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14724 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14725 FP_CMP_EQ_Q.
14726 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14727 FP_CMP_Q.
14728 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14729 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14730 FP_CMP_EQ_Q.
14731 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14732 FP_CMP_Q.
14733 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14734 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14735 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14736 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14737 FP_CMP_EQ_Q.
14738
14739 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14740 a subnormal result, set the underflow exception if trapping on
14741 underflow is enabled.
14742 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14743 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14744 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14745 redefine to 0.
14746 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14747 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14748 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14749 * soft-fp/extendxftf2.c (__extendxftf2): Use
14750 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14751
14752 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14753 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14754 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14755 FP_HANDLE_EXCEPTIONS.
14756 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14757 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14758 FP_HANDLE_EXCEPTIONS.
14759 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14760 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14761 FP_HANDLE_EXCEPTIONS.
14762 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14763 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14764 FP_HANDLE_EXCEPTIONS.
14765
14766 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14767
14768 [BZ #14132]
14769 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14770 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14771 use INTUSE.
14772 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14773 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14774 Remove alias.
14775 (__adjtimex): Define using libc_hidden_ver.
14776 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14777 Remove declaration.
14778 (ntp_gettime): Call __adjtimex directly.
14779 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14780 Remove declaration.
14781 (ntp_gettimex): Call __adjtimex directly.
14782 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14783 __adjtimex_internal alias.
14784
14785 2014-10-08 Roland McGrath <roland@hack.frob.com>
14786
14787 [BZ #17460]
14788 * nscd/nscd.c (more_help): Rewrite list of tables collection
14789 using xstrdup and asprintf.
14790
14791 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14792
14793 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14794 Roland McGrath <roland@hack.frob.com>
14795
14796 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14797 (do_lookup_unique): ... local function 'enter' here; update callers.
14798
14799 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14800
14801 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14802 compat_symbol calls on [SHARED].
14803 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14804 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14805 Remove.
14806 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14807 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14808 (oldsetrlimit): Remove.
14809 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14811 (lchown): New syscall entry.
14812 (oldsetrlimit): Remove.
14813 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14814 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14815 (oldsetrlimit): Remove.
14816 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14817
14818 [BZ #14138]
14819 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14820 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14821 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14822 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14823 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14824 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14825 (fchown): Likewise.
14826 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14827 (fchown): Likewise.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14829 Likewise.
14830
14831 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14832
14833 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14834 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14835 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14836 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14837 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14838 Likewise.
14839 (__old_sem_post): Likewise.
14840
14841 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14842
14843 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14844 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14845 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14846 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14847 Use INLINE_VSYSCALL macro.
14848 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14849 __vdso_clock_gettime.
14850 * sysdeps/unix/sysv/linux/tile/init-first.c
14851 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14852 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14853 __vdso_clock_gettime.
14854
14855 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14856 to set up frame more cleanly.
14857
14858 * sysdeps/tile/memcmp.c: New file.
14859
14860 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14861
14862 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14863 * sysdeps/tile/tilegx/strcasestr.c: New file.
14864 * sysdeps/tile/tilegx/strnlen.c: New file.
14865 * sysdeps/tile/tilegx/strstr.c: New file.
14866
14867 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14868
14869 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14870
14871 * nptl/tst-setuid3.c: Write errors to stdout.
14872
14873 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14874
14875 * elf/dl-deps.c
14876 (preload): New functions broken out of _dl_map_object_deps.
14877 (_dl_map_object_deps): Remove a nested function. Update call sites.
14878
14879 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14880
14881 [BZ #14138]
14882 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14883 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14884
14885 2014-10-01 Steve Ellcey <sellcey@mips.com>
14886
14887 * sysdeps/mips/strcmp.S: New.
14888
14889 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14890
14891 [BZ #14138]
14892 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14893 (linkat): Likewise.
14894 (mkdirat): Likewise.
14895 (readlinkat): Likewise.
14896 (renameat): Likewise.
14897 (symlinkat): Likewise.
14898 (unlinkat): Likewise.
14899 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14900 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14901 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14902 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14903 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14904 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14905 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14906
14907 2014-09-30 Will Newton <will.newton@linaro.org>
14908
14909 * math/math.h: Define long double math functions if
14910 _LIBC_TEST is defined.
14911 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14912
14913 * localedata/Makefile: Move assignment to tests-special
14914 into an ifdef testing run-built-tests.
14915 * timezone/Makefile: Likewise.
14916
14917 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14918
14919 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14920 with $(BASH) not $(SHELL).
14921
14922 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14923 Matthew LeGendre <legendre1@llnl.gov>
14924
14925 [BZ #17411]
14926 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14927 l_reloc_result.
14928
14929 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14930
14931 * stdio-common/printf_fp.c
14932 (hack_digit): New function, broken out of ...
14933 (__printf_fp): ... local function here. Update call sites.
14934 hack_digit now takes an additional parameter that is a pointer
14935 to a struct of the referenced locals. Those locals moved inside
14936 the struct and references updated.
14937
14938 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14939
14940 * aclocal.m4: Require autoconf 2.69.
14941 * configure: Regenerated.
14942 * sysdeps/aarch64/configure: Likewise.
14943 * sysdeps/alpha/configure: Likewise.
14944 * sysdeps/arm/armv7/configure: Likewise.
14945 * sysdeps/arm/configure: Likewise.
14946 * sysdeps/ia64/configure: Likewise.
14947 * sysdeps/mach/configure: Likewise.
14948 * sysdeps/mips/configure: Likewise.
14949 * sysdeps/s390/configure: Likewise.
14950 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14952
14953 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14954 file.
14955 * sysdeps/ia64/configure.ac: Likewise.
14956
14957 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14958
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14960 specify symbol version for ld.so. Do not include entry for
14961 libpthread.
14962 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14963 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14964 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14965
14966 [BZ #14171]
14967 * Makeconfig [$(build-shared) = yes]
14968 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14969 makefiles.
14970 [$(build-shared) = yes && $(soversions.mk-done) = t]
14971 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14972 [$(build-shared) = yes && $(soversions.mk-done) = t]
14973 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14974 to Makerules.
14975 [$(build-shared) = yes && $(soversions.mk-done) = t]
14976 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14977 here.
14978 [$(build-shared) = yes && $(soversions.mk-done) = t]
14979 (common-generated): Don't append gnu/lib-names.h and
14980 gnu/lib-names.stmp here.
14981 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14982 (lib-names-h-abi): New variable.
14983 [$(build-shared) = yes && $(soversions.mk-done) = t]
14984 (lib-names-stmp-abi): Likewise.
14985 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14986 abi-variants] (before-compile): Append
14987 $(common-objpfx)$(lib-names-h-abi).
14988 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14989 abi-variants] (common-generated): Append gnu/lib-names.h.
14990 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14991 abi-variants] (install-others-nosubdir): Depend on
14992 $(inst_includedir)/$(lib-names-h-abi).
14993 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14994 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14995 [$(build-shared) = yes && $(soversions.mk-done) = t]
14996 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14997 [$(build-shared) = yes && $(soversions.mk-done) = t]
14998 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14999 [$(build-shared) = yes && $(soversions.mk-done) = t]
15000 (common-generated): Append $(lib-names-h-abi) and
15001 $(lib-names-stmp-abi).
15002 * scripts/lib-names.awk: Do not handle multi being set.
15003 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15004 Remove variable.
15005 (abi-lp64_be-ld-soname): Likewise.
15006 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15007 Likewise.
15008 (abi-hard-ld-soname): Likewise.
15009 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15010 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15011 Remove variable.
15012 (abi-o32_hard-ld-soname): Likewise.
15013 (abi-o32_soft_2008-ld-soname): Likewise.
15014 (abi-o32_hard_2008-ld-soname): Likewise.
15015 (abi-n32_soft-ld-soname): Likewise.
15016 (abi-n32_hard-ld-soname): Likewise.
15017 (abi-n32_soft_2008-ld-soname): Likewise.
15018 (abi-n32_hard_2008-ld-soname): Likewise.
15019 (abi-n64_soft-ld-soname): Likewise.
15020 (abi-n64_hard-ld-soname): Likewise.
15021 (abi-n64_soft_2008-ld-soname): Likewise.
15022 (abi-n64_hard_2008-ld-soname): Likewise.
15023 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15024 Likewise.
15025 (abi-64-v2-ld-soname): Likewise.
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15027 ld.so entries.
15028 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15029 variable.
15030 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15031 entry.
15032 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15033 variable.
15034 (abi-64-ld-soname): Likewise.
15035 (abi-x32-ld-soname): Likewise.
15036 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15037 entry.
15038 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15039
15040 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15041
15042 [BZ #14138]
15043 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15044 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15045 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15046 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15047 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15048 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15049 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15050 syscall entry for GLIBC_2.2 symbol version.
15051 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15052 Likewise.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15054 (setrlimit): Likewise.
15055 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15056 Likewise.
15057
15058 2014-09-23 Will Newton <will.newton@linaro.org>
15059
15060 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15061 _LINUX_ARM_SYSDEP_H include guard too.
15062 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15063 define.
15064
15065 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15066
15067 * sysdeps/unix/sysv/linux/eventfd.c:
15068 Make first argument unsigned.
15069 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15070 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15071
15072 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15073
15074 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15075 * socket/sys/socket.h: Likewise
15076 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15077
15078 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15079
15080 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15081
15082 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15083
15084 * time/tst-ftime.c: New test.
15085 * time/Makefile (tests): Add tst-ftime.
15086
15087 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15088
15089 * soft-fp/extended.h: Fix comment formatting.
15090 * soft-fp/op-1.h: Likewise.
15091 * soft-fp/op-2.h: Likewise.
15092 * soft-fp/op-4.h: Likewise.
15093 * soft-fp/op-8.h: Likewise.
15094 * soft-fp/op-common.h: Likewise.
15095 * soft-fp/soft-fp.h: Likewise.
15096
15097 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15098
15099 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15100
15101 [BZ #6652]
15102 * Makeconfig (soversions-default-setname): Remove variable.
15103 ($(common-objpfx)soversions.i): Don't pass default_setname to
15104 soversions.awk.
15105 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15106 oldest_abi to abi-versions.awk.
15107 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15108 * config.make.in (oldest-abi): Remove variable.
15109 * configure.ac (--enable-oldest-abi): Remove configure option.
15110 * configure: Regenerated.
15111 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15112 text.
15113 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15114 * scripts/soversions.awk: Do not handle default_setname variable.
15115 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15116 variable.
15117 * sysdeps/mach/hurd/configure: Regenerated.
15118 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15119 variable.
15120 * sysdeps/unix/sysv/linux/configure: Regenerated.
15121
15122 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15123
15124 * elf/Makefile (CFLAGS-interp.c): Remove.
15125 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15126 path string.
15127 * elf/interp.c: Include generated runtime-linker.h
15128
15129 * Makerules (lib%.so): Don't include $(+interp) in
15130 prerequisites.
15131 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15132 * dlfcn/eval.c: Remove file.
15133
15134 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15135 macros.
15136
15137 [BZ #17266]
15138 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15139 4.2 and newer.
15140
15141 [BZ #17370]
15142 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15143
15144 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15145 Jakub Jelinek <jakub@redhat.com>
15146
15147 [BZ #17266]
15148 * libio/stdio.h: Check definition of __fortify_function
15149 instead of __extern_always_inline to include bits/stdio2.h.
15150 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15151 check if __extern_always_inline is defined.
15152 [__USE_MISC || __USE_XOPEN]: Likewise.
15153 [__USE_ISOC99] Likewise.
15154 * misc/sys/cdefs.h (__fortify_function): Define only if
15155 __extern_always_inline is defined.
15156 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15157 __extern_always_inline and __extern_inline only for g++-4.3
15158 and newer or a compatible gcc.
15159
15160 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15161
15162 [BZ #17371]
15163 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15164 last change to handle zero prefix length.
15165
15166 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15167
15168 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15169 _SC_REGEX_VERSION.
15170
15171 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15172 _POSIX_RAW_SOCKETS.
15173
15174 2014-09-13 Allan McRae <allan@archlinux.org>
15175
15176 * po/ru.po: Update Russian translation from translation project.
15177
15178 2014-09-12 Roland McGrath <roland@hack.frob.com>
15179
15180 * locale/programs/locale.c (show_locale_vars): Inline local function
15181 into its sole call site. Clean up some style nits.
15182 (print_item): New function, broken out of ...
15183 (show_info): ... local function here. Clean up style nits.
15184
15185 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15186 out of ...
15187 (set_class_defaults): ... local function set_default here.
15188 Define set_default as a macro locally to pass constant parameters.
15189 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15190 rather than a shared local.
15191
15192 * stdlib/rpmatch.c (try): New function, broken out of ...
15193 (rpmatch): ... local function here. Also, prototypify definition.
15194
15195 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15196
15197 * scripts/soversions.awk: Do not handle configuration names.
15198 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15199 vendor and os variables to soversions.awk.
15200 * configure.ac: Do not modify gnu-* host_os.
15201 * configure: Regenerated
15202 * shlib-versions: Remove first column with configuration names.
15203 * nptl/shlib-versions: Likewise.
15204 * nptl_db/shlib-versions: Likewise.
15205 * sysdeps/hppa/shlib-versions: Likewise.
15206 * sysdeps/m68k/shlib-versions: Likewise.
15207 * sysdeps/mach/hurd/shlib-versions: Likewise.
15208 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15209 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15210 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15211 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15212 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15213 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15214 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15215 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15217 Likewise.
15218 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15219 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15220 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15221 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15222 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15223 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15224 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15225 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15226
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15228 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15230 Regenerated.
15231 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15233 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15234
15235 * shlib-versions: Remove OS-specific entries. Moved to files in
15236 sysdeps.
15237 * sysdeps/mach/hurd/shlib-versions: New file.
15238 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15239
15240 * nptl/shlib-versions: Remove architecture-specific entries.
15241 Moved to files in sysdeps.
15242 * shlib-versions: Likewise.
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15244 file.
15245 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15246 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15247 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15248 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15249
15250 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15251 (UDP_NO_CHECK6_RX): Likewise.
15252
15253 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15254
15255 * sysdeps/posix/sysconf.c (__sysconf): Spell
15256 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15257
15258 2014-08-12 Florian Weimer <fweimer@redhat.com>
15259
15260 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15261 loading.
15262 * iconv/Versions (__gconv_transliterate): Export for use from
15263 gconv modules.
15264 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15265 (struct __gconv_trans_data, __gconv_trans_fct,
15266 __gconv_trans_context_fct, __gconv_trans_query_fct,
15267 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15268 definitions.
15269 (struct __gconv_step_data): Remove __trans member.
15270 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15271 longer hidden. Remove unused trans_data argument.
15272 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15273 (__gconv_translit_find): Remove declaration.
15274 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15275 prototype.
15276 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15277 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15278 trans_data argument. Add hidden definition.
15279 (__gconv_translit_find): Remove.
15280 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15281 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15282 * iconv/skeleton.c: Remove transliteration initialization.
15283 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15284 __gconv_step_data initialization.
15285 * libio/iofwide.c (__libio_translit_): Remove.
15286 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15287 * wcsmbs/btowc.c (__btowc): Likewise.
15288 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15289 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15290 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15291 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15292 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15293 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15294 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15295 * wcsmbs/wctob.c (wctob): Likewise.
15296
15297 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15298
15299 [BZ #16194]
15300 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15301 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15302 register usage.
15303 * sysdeps/x86/Makefile: Adjust.
15304
15305 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15306 Roland McGrath <roland@hack.frob.com>
15307
15308 * locale/weight.h: Add include guard.
15309 (findidx): Make static rather than auto; take new parameters
15310 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15311 * locale/weightwc.h: Likewise.
15312 * posix/fnmatch_loop.c
15313 (FCT): Change type of EXTRA from int32_t to wint_t.
15314 Don't include either header inside the function.
15315 Call FINDIDX rather than findidx, and pass new arguments.
15316 #undef FINDIDX at the end of the file.
15317 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15318 FINDIDX before including fnmatch_loop.c for the non-wide version.
15319 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15320 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15321 for the wide version.
15322 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15323 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15324 Pass new arguments to findidx.
15325 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15326 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15327 Don't #include it inside the function. Pass new arguments to findidx.
15328 * posix/regex_internal.h
15329 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15330 (re_string_elem_size_at): Don't #include it inside the function.
15331 Pass new arguments to findidx.
15332 * string/strcoll_l.c: #include WEIGHT_H at top level.
15333 (get_next_seq): Don't #include it inside the function.
15334 Pass new arguments to findidx.
15335 (get_next_seq_nocache): Likewise.
15336 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15337 (STRXFRM): Don't #include it inside the function.
15338 Pass new arguments to findidx.
15339
15340 2014-09-11 Florian Weimer <fweimer@redhat.com>
15341
15342 [BZ #17344]
15343 * malloc/malloc.c (unlink): Turn asserts into a call to
15344 malloc_printerr.
15345
15346 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15347
15348 [BZ #17370]
15349 * libio/wfileops (do_ftell_wide): Free OUT.
15350
15351 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15352
15353 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15354
15355 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15356
15357 [BZ #17363]
15358 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15359 group if the current group is empty.
15360
15361 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15362
15363 * benchtests/bench-memset.c (test_main): Add more test from size
15364 from 32 to 512 bytes.
15365 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15366 Add POWER8 memset object.
15367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15368 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15369 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15370 implementation.
15371 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15372 Likewise.
15373 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15374 multiarch POWER8 memset optimization.
15375 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15376 POWER8 memset optimization.
15377
15378 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15379 Remove bzero multiarch objects.
15380 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15381 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15382 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15383 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15384 Remove define.
15385 [__bzero]: Redefine to specific name.
15386 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15387 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15388 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15389 define.
15390 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15391 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15392
15393 2014-09-10 Florian Weimer <fweimer@redhat.com>
15394
15395 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15396 warnings into errors.
15397
15398 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15399 __cxa_thread_atexit_impl prototype.
15400
15401 2014-09-09 Steve Ellcey <sellcey@mips.com>
15402
15403 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15404 Fix capitalization of error message.
15405
15406 2014-09-09 Steve Ellcey <sellcey@mips.com>
15407
15408 * sysdeps/mips/preconfigure: Modify ABI tests.
15409
15410 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15411
15412 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15413
15414 2014-09-07 Roland McGrath <roland@hack.frob.com>
15415 Carlos O'Donell <carlos@systemhalted.org>
15416
15417 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15418 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15419 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15420 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15421 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15422 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15423 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15424 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15425 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15426 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15427 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15428 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15429 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15430 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15431 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15432 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15433 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15434 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15435 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15436 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15437 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15438 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15439 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15440 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15441 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15442 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15443 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15444 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15445 Deconditionalize the code that was previously under [RESET_PID].
15446 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15447 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15448 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15449 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15450 include sysdep.h.
15451
15452 2014-09-08 Allan McRae <allan@archlinux.org>
15453
15454 * version.h (RELEASE): Set to "development".
15455 (VERSION): Set to "2.20.90"
15456
15457 2014-09-07 Allan McRae <allan@archlinux.org
15458
15459 * version.h (RELEASE): Set to "stable".
15460 (VERSION): Set to "2.20"
15461 * include/features.h (__GLIBC_MINOR__): Set to 20.
15462
15463 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15464 Liebler.
15465
15466 * po/ko.po: Update Korean translation from translation project.
15467
15468 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15469
15470 [BZ #17354]
15471 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15472 macro for handling signed relocations.
15473
15474 2014-09-03 Florian Weimer <fweimer@redhat.com>
15475
15476 [BZ #17325]
15477 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15478 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15479 assert.
15480 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15481 * iconvdata/ibm935.c (BODY): Likewise.
15482 * iconvdata/ibm937.c (BODY): Likewise.
15483 * iconvdata/ibm939.c (BODY): Likewise.
15484 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15485 assert.
15486 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15487 script.
15488 * iconvdata/run-iconv-test.sh: New test loop for checking for
15489 decoder crashers.
15490
15491 2014-09-02 Khem Raj <raj.khem@gmail.com>
15492
15493 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15494 libm_hidden_ver.
15495
15496 2014-09-01 Allan McRae <allan@archlinux.org>
15497
15498 * po/eo.po: Update Esperanto translation from translation project.
15499
15500 * po/ca.po: Update Catalan translation from translation project.
15501
15502 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15503
15504 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15505 __proc_dostop call.
15506
15507 2014-08-27 Mark Wielaard <mjw@redhat.com>
15508
15509 [BZ #17319]
15510 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15511 to call set_thread_area instead of hand written asm.
15512 (__NR_set_thread_area): Removed define.
15513 (TLS_FLAG_WRITABLE): Likewise.
15514 (__ASSUME_SET_THREAD_AREA): Remove check.
15515 (TLS_EBX_ARG): Remove define.
15516 (TLS_LOAD_EBX): Likewise.
15517
15518 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15519
15520 Simplify atomicity of socket creation in bind.
15521
15522 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15523 looking up the name after linking the file.
15524
15525 2014-08-27 Allan McRae <allan@archlinux.org>
15526
15527 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15528
15529 2014-08-26 Florian Weimer <fweimer@redhat.com>
15530
15531 [BZ #17187]
15532 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15533 trans_compare, open_translit, __gconv_translit_find):
15534 Remove module loading code.
15535
15536 2014-08-26 Allan McRae <allan@archlinux.org>
15537
15538 * po/vi.po: Update Vietnamese translation from translation project.
15539
15540 * po/uk.po: Update Ukrainian translation from translation project.
15541
15542 * po/fr.po: Update French translation from translation project.
15543
15544 * po/ru.po: Update Russian translation from translation project.
15545
15546 * po/pl.po: Update Polish translation from translation project.
15547
15548 * po/cs.po: Update Czech translation from translation project.
15549
15550 * po/de.po: Update German translation from translation project.
15551
15552 * po/bg.po: Update Bulgarian translation from translation project.
15553
15554 * po/sv.po: Update Sweedish translation from translation project.
15555
15556 * po/nl.po: Update Dutch translation from translation project.
15557
15558 * po/es.po: Update Spanish translation from translation project.
15559
15560 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15561
15562 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15563
15564 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15565 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15566 (CPPFLAGS-iconvconfig): Likewise.
15567 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15568
15569 * include/libc-symbols.h: Remove unnecessary check for
15570 NOT_IN_libc.
15571 * nptl/pthreadP.h: Likewise.
15572 * sysdeps/aarch64/setjmp.S: Likewise.
15573 * sysdeps/alpha/setjmp.S: Likewise.
15574 * sysdeps/arm/sysdep.h: Likewise.
15575 * sysdeps/i386/setjmp.S: Likewise.
15576 * sysdeps/m68k/setjmp.c: Likewise.
15577 * sysdeps/posix/getcwd.c: Likewise.
15578 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15579 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15580 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15581 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15582 * sysdeps/sh/sh3/setjmp.S: Likewise.
15583 * sysdeps/sh/sh4/setjmp.S: Likewise.
15584 * sysdeps/unix/alpha/sysdep.h: Likewise.
15585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15586 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15587 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15588 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15593 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15596 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15598 * sysdeps/x86_64/setjmp.S: Likewise.
15599
15600 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15601
15602 [BZ #17263]
15603 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15604 <stdint.h>.
15605 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15606 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15607
15608 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15609
15610 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15611
15612 [BZ #17262]
15613 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15614 and __x86_64__ when disabling x87 inline functions.
15615
15616 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15617
15618 [BZ #17259]
15619 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15620 asm statement with __cpuid_count.
15621
15622 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15623
15624 * configure.ac: Change __ehdr_start code to dereference the struct.
15625 Run readelf on the output to look for relocations.
15626 * configure: Regenerated.
15627
15628 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15629
15630 [BZ #17261]
15631 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15632 value to 0.
15633 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15634
15635 2014-08-12 Roland McGrath <roland@hack.frob.com>
15636
15637 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15638
15639 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15640
15641 [BZ #16892]
15642 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15643 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15644
15645 2014-08-12 Sean Anderson <seanga2@gmail.com>
15646
15647 * malloc/malloc.c: Fix typo in comment.
15648
15649 2014-08-09 Allan McRae <allan@archlinux.org>
15650
15651 * Regenerate libc.po.
15652
15653 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15654
15655 * intl/tst-gettext2.sh: Check every lang file for creation.
15656
15657 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15658
15659 * sysdeps/aarch64/fpu/math_private.h
15660 (libc_feholdsetround_noex_aarch64_ctx): New function.
15661
15662 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15663
15664 * sysdeps/arm/armv6/strcpy.S (strcpy):
15665 Fix performance issue in misaligned cases.
15666
15667 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15668
15669 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15670 Move definition from termios.h.
15671 (struct termio): Likewise.
15672 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15673 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15674 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15675 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15676 Likewise.
15677 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15678 Move definition to ioctl-types.h
15679 (struct termio): Likewise.
15680 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15681 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15682 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15683 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15684 Likewise.
15685
15686 2014-08-05 Richard Henderson <rth@redhat.com>
15687
15688 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15689 exceptions.
15690 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15691 Add fraiseexcpt.
15692 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15693 Use __feraiseexcept.
15694 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15695 Protect libm symbols with IS_IN_libm.
15696
15697 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15698
15699 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15700
15701 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15702
15703 2014-08-04 Will Newton <will.newton@linaro.org>
15704
15705 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15706 file.
15707
15708 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15709
15710 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15711 variants for each function.
15712
15713 2014-08-04 Roland McGrath <roland@hack.frob.com>
15714
15715 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15716 appended ...
15717 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15718 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15719 appended ...
15720 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15721 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15722 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15723 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15724 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15725 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15726 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15727 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15728 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15729 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15730 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15731 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15732 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15733 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15734 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15735 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15736 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15737 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15738 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15739 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15740 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15741 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15742 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15743 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15744 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15745 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15746 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15747 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15748 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15749 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15750 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15751 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15752 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15753 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15754 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15755 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15756 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15757 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15758 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15759 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15760 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15761 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15762 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15763 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15764 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15765 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15766 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15767 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15768 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15769 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15770 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15771 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15772 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15773 Update #include.
15774 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15775 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15776
15777 2014-08-04 Roland McGrath <roland@hack.frob.com>
15778
15779 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15780 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15781 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15782 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15783 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15784 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15785
15786 2014-08-04 Roland McGrath <roland@hack.frob.com>
15787
15788 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15789 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15790 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15791 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15792
15793 2014-08-04 Roland McGrath <roland@hack.frob.com>
15794
15795 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15796 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15797 (__libc_vfork): Define function under this name.
15798 (__vfork): Define as an alias.
15799 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15800 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15801
15802 2014-08-04 Roland McGrath <roland@hack.frob.com>
15803
15804 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15805 that was previously under [RESET_PID].
15806 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15807
15808 2014-08-04 Andreas Schwab <schwab@suse.de>
15809
15810 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15811
15812 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15813
15814 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15815 (main): Likewise.
15816
15817 2014-08-01 Roland McGrath <roland@hack.frob.com>
15818
15819 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15820
15821 2014-08-01 Richard Henderon <rth@redhat.com>
15822
15823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15824 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15825 typo in exact zero test.
15826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15827 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15829
15830 2014-08-01 Roland McGrath <roland@hack.frob.com>
15831
15832 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15833 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15834 * sysdeps/arm/sysdep.h: ... here.
15835 [!__ASSEMBLER__]: Include <stdint.h>.
15836
15837 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15838
15839 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15840 (HAVE_WCTYPE_H): Likewise.
15841 (HAVE_ISWCTYPE): Likewise.
15842 (ENABLE_NLS): Likewise.
15843 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15844 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15845
15846 * posix/regex_internal.c: Check if DEBUG is defined and is
15847 set.
15848
15849 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15850 (HAVE_MBSRTOWCS): Likewise.
15851 * posix/fnmatch.c: Include string.h unconditionally.
15852
15853 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15854
15855 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15856 reversal.
15857
15858 2014-07-31 Roland McGrath <roland@hack.frob.com>
15859
15860 * sysdeps/generic/safe-fatal.h: New file.
15861 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15862 * nptl/forward.c: Include it.
15863 (__pthread_unwind): Use __safe_fatal as default action, rather
15864 than a bogus use of INTERNAL_SYSCALL that could never work.
15865
15866 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15867 * configure.ac (libc_cv_builtin_trap): New test.
15868 * configure: Regenerated.
15869 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15870 (ABORT_INSTRUCTION): Define using __builtin_trap.
15871
15872 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15873 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15874 * sysdeps/nptl/nptl-signals.h: New file.
15875 * nptl/pthreadP.h: Include <nptl-signals.h>.
15876
15877 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15878
15879 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15880 (ONE_DIRECTION): Define.
15881 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15882 (ONE_DIRECTION): Define.
15883 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15884 (ONE_DIRECTION): Define.
15885
15886 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15887
15888 * sysdeps/s390/Makefile: Delete file.
15889 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15890 * sysdeps/s390/__longjmp.c: Delete file.
15891 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15892 Remove fields __flags and __reserved.
15893 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15894 and add versioning.
15895 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15896 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15897 * sysdeps/s390/rtld-setjmp.S: Likewise.
15898 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15899 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15900 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15901 * sysdeps/s390/s390-32/setjmp.S: ... here.
15902 Add versioning.
15903 (__sigsetjmp): Remove setting __flags field.
15904 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15905 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15906 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15907 * sysdeps/s390/s390-64/setjmp.S: ... here.
15908 Add versioning.
15909 (__sigsetjmp): Remove setting __flags field.
15910 * sysdeps/s390/setjmp.S: Delete file.
15911 * sysdeps/s390/sigjmp.c: Likewise.
15912 * sysdeps/s390/v1-longjmp.c: Likewise.
15913 * sysdeps/s390/v1-setjmp.h: Likewise.
15914 * sysdeps/s390/v1-sigjmp.c: Likewise.
15915 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15916 Remove v1-longjmp_chk.
15917 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15918 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15919 Include debug/longjmp_chk.c and add versioning.
15920 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15921 Include nptl/pt-longjmp.c and add versioning.
15922 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15923 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15924 Include __longjmp.c.
15925 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15926 Move to ...
15927 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15928 (__getcontext): Remove setting __flags field.
15929 Add versioning.
15930 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15931 Don't restore upper high grps.
15932 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15933 Likewise.
15934 (__swapcontext): Remove setting uc_flags field.
15935 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15936 Delete file.
15937 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15938 Include __longjmp.c.
15939 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15940 Move to ...
15941 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15942 (__getcontext): Remove setting __flags field.
15943 Add versioning.
15944 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15945 (__swapcontext): Remove setting uc_flags field.
15946 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15947 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15948 Remove fields uc_high_gprs and __reserved.
15949 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15950 New file with reverted content.
15951 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15952 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15953 Regenerated.
15954 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15955 Regenerated.
15956
15957 2014-07-31 Andreas Schwab <schwab@suse.de>
15958
15959 * config.h.in (HAVE_IFUNC): Define to 0.
15960 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15961 definedness.
15962
15963 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15964
15965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15966 memmove-avx-unaligned, memcpy-avx-unaligned and
15967 mempcpy-avx-unaligned.
15968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15969 Add tests for AVX memcpy functions.
15970 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15971 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15972 memcpy_chk.
15973 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15974 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15975 memmove_chk.
15976 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15978 mempcpy_chk.
15979 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15980 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15981 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15982
15983 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15984
15985 [BZ #17213]
15986 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15987 powerpc64le.
15988
15989 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15990
15991 [BZ #16839]
15992 * manual/llio.texi: Add section about open file description locks.
15993 * manual/examples/ofdlocks.c: Example of open file description
15994 lock usage.
15995 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15996 F_OFD_SETLK, and F_OFD_SETLKW.
15997
15998 2014-07-23 Allan McRae <allan@archlinux.org>
15999
16000 * po/es.po: Update Spanish translation from translation project.
16001
16002 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16003
16004 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16005
16006 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16007
16008 [BZ #17078]
16009 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16010 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16011 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16012
16013 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16014
16015 [BZ #17088]
16016 * math/fesetenv.c (__fesetenv)
16017 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16018 * math/feupdateenv.c (__feupdateenv)
16019 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16020
16021 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16022 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16023 (__ASSUME_SOCKETCALL): Do not define.
16024
16025 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16026 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16027 (__ASSUME_SOCKETCALL): Do not define.
16028 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16029 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16030 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16031 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16032 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16033 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16034 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16035 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16036
16037 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16038 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16039 (__ASSUME_SOCKETCALL): Do not define.
16040 (__ASSUME_IPC64): Define unconditionally.
16041 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16042 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16043 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16044 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16045 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16046 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16047 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16048 Likewise.
16049
16050 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16051 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16052 (__ASSUME_SOCKETCALL): Do not define.
16053 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16054 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16055 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16056 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16057 (__ASSUME_REQUEUE_PI): Define unconditionally.
16058 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16059 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16060 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16061 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16062 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16063 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16064
16065 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16066 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16067 (__ASSUME_SOCKETCALL): Do not define.
16068 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16069 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16070 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16071 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16072 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16073 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16074
16075 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16076 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16077 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16078 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16079 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16080 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16081 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16082 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16083 (__ASSUME_GETCPU_SYSCALL): Likewise.
16084
16085 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16086 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16087 cases for individual architectures.
16088 * sysdeps/gnu/configure: Regenerated.
16089 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16090 LIBC_SLIBDIR_RTLDDIR.
16091 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16092 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16093 LIBC_SLIBDIR_RTLDDIR.
16094 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16096 LIBC_SLIBDIR_RTLDDIR.
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16098 Regenerated.
16099 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16100 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16101 file.
16102 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16103 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16104 file.
16105 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16106 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16107 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16108 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16109
16110 * sysdeps/aarch64/shlib-versions: Move to ...
16111 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16112 * sysdeps/alpha/shlib-versions: Move to ...
16113 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16114 * sysdeps/arm/shlib-versions: Move to ...
16115 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16116 * sysdeps/hppa/shlib-versions: Move all contents except for
16117 libgcc_s entry to ...
16118 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16119 entry from ...
16120 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16121 * sysdeps/ia64/shlib-versions: Move to ...
16122 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16123 entry from ...
16124 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16125 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16126 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16127 * sysdeps/microblaze/shlib-versions: Move to ...
16128 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16129 * sysdeps/mips/shlib-versions: Move to ...
16130 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16131 entry from ...
16132 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16133 * sysdeps/tile/shlib-versions: Move to ...
16134 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16135 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16136 from ...
16137 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16138 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16139 entry from ...
16140 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16141
16142 2014-07-17 Will Newton <will.newton@linaro.org>
16143
16144 * sysdeps/arm/bits/atomic.h
16145 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16146 (__arch_compare_and_exchange_bool_16_int): Likewise.
16147 (__arch_compare_and_exchange_bool_64_int): Likewise.
16148
16149 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16150 into an #else block.
16151
16152 2014-07-16 Roland McGrath <roland@hack.frob.com>
16153
16154 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16155 just Linux configurations. Test empirically that the compiler sets
16156 __ARM_EABI__, rather than using the tuple to decide.
16157 * sysdeps/arm/preconfigure: Regenerated.
16158 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16159 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16160 contents appended ...
16161 * sysdeps/arm/configure.ac: ... here.
16162 * sysdeps/arm/configure: Regenerated.
16163
16164 2014-07-15 Roland McGrath <roland@hack.frob.com>
16165
16166 * nptl/pthread_kill.c: New file.
16167 * nptl/pthread_sigmask.c: New file.
16168 * nptl/pthread_sigqueue.c: New file.
16169
16170 * sysdeps/nptl/lowlevellock.h: New file.
16171 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16172 * sysdeps/nptl/lowlevellock-futex.h: New file.
16173
16174 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16175 Remove dead declarations.
16176
16177 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16178
16179 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16180 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16181 config-cflags-avx2.
16182 * sysdeps/x86_64/configure.ac: Likewise.
16183 * sysdeps/i386/configure: Regenerated.
16184 * sysdeps/x86_64/configure: Likewise.
16185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16186 memset-avx2 only if config-cflags-avx2 is yes.
16187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16188 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16189 defined.
16190 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16191 only if HAVE_AVX2_SUPPORT is defined.
16192 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16193
16194 2014-07-14 Alan Modra <amodra@gmail.com>
16195
16196 [BZ #17153]
16197 * elf/elf.h (DT_PPC64_NUM): Correct value.
16198 * NEWS: Add to fixed bug list.
16199
16200 2014-07-13 Jim Meyering <meyering@fb.com>
16201
16202 [BZ 17150]
16203 regex: don't deref NULL upon heap allocation failure
16204 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16205 failure in one more place.
16206 To trigger the segfault, configure grep -with-included-regex,
16207 build it, and run these commands:
16208 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16209
16210 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16211
16212 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16213
16214 2014-07-11 Richard Henderson <rth@redhat.com>
16215
16216 * sysdeps/aarch64/libm-test-ulps: Update.
16217
16218 2014-07-10 Florian Weimer <fweimer@redhat.com>
16219
16220 [BZ #17135]
16221 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16222 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16223 (__nptl_setxid): Initialize error member. Call
16224 __nptl_setxid_error.
16225 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16226 * nptl/descr.h (struct xid_command): Add error member.
16227 * nptl/tst-setuid3.c: New file.
16228 * nptl/Makefile (tests): Add it.
16229
16230 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16231
16232 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16233 New define.
16234 (__lll_trylock): Use __lll_base_trylock.
16235 (__lll_cond_trylock): Likewise.
16236
16237 2014-07-10 Roland McGrath <roland@hack.frob.com>
16238
16239 * nptl/pthread_create.c (start_thread): Use atomic_or and
16240 lll_futex_wake directly rather than lll_robust_dead.
16241 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16242 (lll_robust_dead): Macro removed.
16243 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16244 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16245 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16246 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16247 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16248 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16249 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16250 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16251 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16252 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16253 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16254 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16255 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16256 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16257 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16258
16259 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16260 Use atomic_compare_and_exchange_val_acq directly rather than
16261 lll_robust_trylock.
16262 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16263 (__lll_robust_trylock, lll_robust_trylock): Removed.
16264 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16265 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16266 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16267 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16268 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16269 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16270 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16271 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16272 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16273 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16274 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16275 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16276 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16277 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16278
16279 2014-07-02 Florian Weimer <fweimer@redhat.com>
16280
16281 * manual/locale.texi (Locale Names): New section documenting
16282 locale name syntax. Adjust menu and node chaining accordingly.
16283 (Choosing Locale): Reference Locale Names, Locale Categories.
16284 Mention setting LC_ALL=C. Reflect that name syntax is now
16285 documented.
16286 (Locale Categories): New section title. Reference Locale Names.
16287 LC_ALL is an environment variable, but not a category.
16288 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16289 description, now in Locale Name. Reference that section. Locale
16290 name syntax is now documented.
16291
16292 2014-07-02 Florian Weimer <fweimer@redhat.com>
16293
16294 [BZ #17137]
16295 * locale/findlocale.c (name_present, valid_locale_name): New
16296 functions.
16297 (_nl_find_locale): Use the loc_name variable to store name
16298 candidates. Call name_present and valid_locale_name to check and
16299 validate locale names. Return an error if the locale is invalid.
16300
16301 2014-07-02 Florian Weimer <fweimer@redhat.com>
16302
16303 * locale/setlocale.c (setlocale): Use strdup for allocating
16304 composite name copy.
16305
16306 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16307
16308 Sync up with gnulib.
16309 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16310 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16311 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16312 and _GL_ARG_NONNULL.
16313 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16314 [!_LIBC]: Include code for Windows and Cygwin.
16315 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16316 Include prototype for int strerror_r.
16317 [!_LIBC] (is_open): New function.
16318 (flush_stdout): New function.
16319 (print_errno_message): Use it.
16320 (error): Likewise.
16321 (error_at_line): Likewise.
16322 (error_tail) Add function attribute macros. Use
16323 __builtin_expect.
16324
16325 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16326
16327 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16328
16329 * io/ftw.c: Include sys/param.h unconditionally.
16330
16331 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16332
16333 [BZ #17125]
16334 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16335 libc_freeres_ptr.
16336 (freecache): New function to free CACHE on exit.
16337
16338 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16339 initialization.
16340
16341 2014-07-09 David S. Miller <davem@davemloft.net>
16342
16343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16344
16345 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16346 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16347 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16348 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16349 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16350 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16351 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16352 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16353 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16354 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16355 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16356 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16357 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16358
16359 2014-07-09 Andreas Schwab <schwab@suse.de>
16360
16361 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16362 output.
16363 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16364 (do_test): Likewise.
16365
16366 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16367
16368 2014-07-09 Will Newton <will.newton@linaro.org>
16369
16370 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16371 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16372 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16373 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16374 * sysdeps/hppa/start.S (_start): Likewise.
16375
16376 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16377
16378 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16379
16380 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16381 defined.
16382
16383 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16384
16385 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16386 after checking that it is non-NULL.
16387
16388 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16389
16390 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16391
16392 * sysdeps/powerpc/memmove.c: Remove file.
16393 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16394 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16395 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16396 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16397 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16398 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16399 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16400 string memmove instead of removed powerpc one.
16401
16402 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16403 [weak_alias]: Fix compiler warning due trailing data.
16404 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16405 [weak_alias]: Likewise.
16406 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16407 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16408
16409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16410 (__libc_ifunc_impl_list): Add memmove functions.
16411
16412 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16413
16414 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16415 Remove code.
16416 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16417 Likewise
16418 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16419 Likewise
16420 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16421 Likewise
16422 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16423 Likewise
16424 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16425 Likewise
16426 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16427 Likewise
16428 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16429 Likewise
16430 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16431 Likewise
16432 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16433 Likewise
16434 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16435 Likewise
16436 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16437 Likewise
16438 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16439 Likewise
16440 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16441 Likewise
16442 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16443 Likewise
16444 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16445 Likewise
16446 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16447 Likewise
16448
16449 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16450
16451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16452 to avoid alignment traps in non-cacheable memory.
16453 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16454
16455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16456 multiarch objects.
16457 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16458 file: multiarch power7 memmove.
16459 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16460 multiarch default memmove.
16461 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16462 multiarch memove for powerpc32/power4.
16463
16464 * string/bcopy.c: Use full path to include memmove.c.
16465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16466 multiarch objects.
16467 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16468 bcopy for powerpc64.
16469 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16470 bcopy for powerpc64.
16471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16472 and memmove implementations.
16473 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16474 optimized multiarch memmove for POWER7/powerpc64.
16475 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16476 default multiarch memmove for powerpc64.
16477 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16478 multiarch for powerpc64.
16479 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16480 for POWER7/powerpc64.
16481 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16482 memmove for POWER7/powerpc64.
16483
16484 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16485 glibc default one.
16486
16487 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16488 __ELF_NATIVE_CLASS equal to 64.
16489
16490 2014-07-07 Roland McGrath <roland@hack.frob.com>
16491
16492 * sysdeps/nptl/lowlevellock.h: File removed.
16493
16494 * NEWS: NPTL is no longer an add-on!
16495 * nptl/internaltypes.h: Moved ...
16496 * sysdeps/nptl/internaltypes.h: ... here.
16497 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16498 * sysdeps/nptl/fork.c: Likewise.
16499 * sysdeps/nptl/gai_misc.h: Likewise.
16500 * sysdeps/nptl/librt-cancellation.c: Likewise.
16501 * sysdeps/nptl/jmp-unwind.c: Likewise.
16502 * sysdeps/nptl/setxid.h: Likewise.
16503 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16504 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16505 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16506 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16507 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16508 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16509 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16510 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16511 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16512 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16513 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16514 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16515 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16516 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16517 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16518 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16519 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16520 * nptl/Makeconfig: Moved ...
16521 * sysdeps/nptl/Makeconfig: ... here.
16522 * nptl/configure: File removed.
16523 * nptl/ANNOUNCE: File removed.
16524 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16525 * sysdeps/unix/sysv/linux/configure: Regenerated.
16526
16527 * nptl/Makefile (routines): Add libc_pthread_init,
16528 libc_multiple_threads, register-atfork and unregister-atfork.
16529 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16530 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16531 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16532 pthread-pi-defines.sym, structsem.sym.
16533 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16534 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16535 [$(subdir) = nptl] (tests): Add tst-setgetname.
16536 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16537 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16538 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16539 [!LIBC_SIGACTION]: Remove aliases.
16540 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16541 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16542 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16543 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16544 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16545 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16546 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16548 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16549 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16550 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16551 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16552 __libc_allocate_rtsig_private.
16553 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16554 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16555 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16556 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16557 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16558 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16559 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16560 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16561 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16562 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16563 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16564 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16565 * nptl/internaltypes.h: ... here.
16566 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16567 * sysdeps/nptl/jmp-unwind.c: ... here.
16568 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16569 * nptl/libc-lowlevellock.c: ... here.
16570 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16571 * nptl/libc_multiple_threads.c: ... here.
16572 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16573 * nptl/libc_pthread_init.c: ... here.
16574 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16575 * nptl/lowlevelbarrier.sym: ... here.
16576 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16577 * nptl/lowlevelcond.sym: ... here.
16578 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16579 * nptl/lowlevellock.c: ... here.
16580 * nptl/lowlevellock.h: Moved ...
16581 * sysdeps/nptl/lowlevellock.h: ... here.
16582 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16583 * nptl/lowlevelrobustlock.c: ... here.
16584 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16585 * nptl/lowlevelrobustlock.sym: ... here.
16586 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16587 * nptl/lowlevelrwlock.sym: ... here.
16588 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16589 * nptl/pt-fork.c: ... here.
16590 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16591 * nptl/pthread-pi-defines.sym: ... here.
16592 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16593 * nptl/pthread_attr_getaffinity.c: ... here.
16594 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16595 * nptl/pthread_attr_setaffinity.c: ... here.
16596 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16597 * nptl/pthread_mutex_cond_lock.c: ... here.
16598 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16599 Update #include.
16600 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16601 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16602 * nptl/pthread_once.c: ... here, replacing old file.
16603 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16604 * nptl/pthread_yield.c: ... here.
16605 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16606 * nptl/register-atfork.c: ... here.
16607 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16608 * nptl/sem_post.c: ... here.
16609 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16610 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16611 * nptl/sem_timedwait.c: ... here.
16612 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16613 * nptl/sem_trywait.c: ... here.
16614 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16615 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16616 * nptl/sem_wait.c: ... here.
16617 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16618 * nptl/structsem.sym: ... here.
16619 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16620 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16621 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16622 * nptl/unregister-atfork.c: ... here.
16623 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16624 * nptl/unwindbuf.sym: ... here.
16625 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16626 * sysdeps/nptl/fork.c: ... here.
16627 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16628 * sysdeps/nptl/fork.h: ... here.
16629 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16630 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16631 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16632 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16633 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16634 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16635 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16636 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16637 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16638 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16639 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16640 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16641 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16642 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16643 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16644 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16645 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16646 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16647 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16648 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16649 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16650 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16651 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16652 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16653 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16654 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16655 * sysdeps/unix/sysv/linux/raise.c: ... here.
16656 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16657 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16658 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16659 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16660 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16661 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16662 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16663 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16664 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16665 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16666 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16667 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16668 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16669 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16670 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16671
16672 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16673
16674 * sysdeps/generic/memcopy.h: Add comment for
16675 MEMCPY_OK_FOR_FWD_MEMMOVE.
16676
16677 2014-07-04 Will Newton <will.newton@linaro.org>
16678
16679 * string/memchr.c: Merge from gnulib.
16680 [_LIBC]: Remove conditionals.
16681 (__ptr_t): Remove define.
16682 (LONG_MAX_32_BITS): Likewise.
16683 (LONG_MAX): Likewise.
16684 (MEMCHR): Use ANSI prototype and optimize algorithm.
16685
16686 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16687
16688 2014-07-03 Roland McGrath <roland@hack.frob.com>
16689
16690 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16691 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16692
16693 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16694 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16695 in a bare environment with no <stdlib.h> installed.
16696 * sysdeps/nptl/configure: Regenerated.
16697
16698 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16699
16700 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16701 AC_EGREP_CPP for kernel header checks, so they only succeed if
16702 including <linux/version.h> actually works right.
16703 * sysdeps/unix/sysv/linux/configure: Regenerated.
16704
16705 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16706 value so it's not diagnosed as unused.
16707
16708 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16709 thing) with "ifeq ($(subdir),rt)".
16710
16711 2014-07-03 Richard Henderson <rth@redhat.com>
16712
16713 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16714 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16715 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16716
16717 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16718 (math_force_eval): New.
16719
16720 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16721 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16722
16723 * sysdeps/alpha/fpu/s_round.c: Remove file.
16724 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16725
16726 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16727 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16728 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16729 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16730 (_dl_start, print_statistics): Likewise.
16731 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16732 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16733
16734 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16735 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16736 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16737 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16738 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16739 (HP_SMALL_TIMING_AVAIL): Define.
16740 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16741 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16742 (HP_SMALL_TIMING_AVAIL): Define.
16743 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16744 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16745
16746 * sysdeps/aarch64/hp-timing.h: New file.
16747
16748 * sysdeps/generic/hp-timing.h: Remove dead comment.
16749 * sysdeps/generic/hp-timing-common.h: New file.
16750 * sysdeps/alpha/hp-timing.h: Include it.
16751 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16752 * sysdeps/i386/i686/hp-timing.h: Likewise.
16753 * sysdeps/ia64/hp-timing.h: Likewise.
16754 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16755 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16756 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16757 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16758 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16759 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16760 (hp_timing_t): New.
16761
16762 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16763 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16764 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16765 * elf/rtld.c (_dl_start_final): Likewise.
16766 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16767 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16768 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16769 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16770 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16772 (HP_TIMING_DIFF_INIT): Remove.
16773 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16774 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16775 (HP_TIMING_DIFF_INIT): Remove.
16776 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16777 * sysdeps/i386/i686/hp-timing.c: Remove file.
16778 * sysdeps/x86_64/hp-timing.c: Remove file.
16779 * sysdeps/ia64/hp-timing.c: Remove file.
16780 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16781 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16782 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16783 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16784
16785 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16786 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16787 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16788 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16789 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16790 (HP_TIMING_ACCUM): Remove.
16791 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16792 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16793 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16794
16795 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16796 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16797 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16798 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16799 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16800 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16801 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16802 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16803
16804 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16805
16806 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16807
16808 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16809
16810 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16811
16812 Sync up with gettext.
16813 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16814 [_MSC_VER]: Include malloc.h
16815 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16816 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16817 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16818 TEMP_FAILURE_RETRY. Cast return of alloca.
16819 [!_LIBC] Call gl_rwlock_init.
16820 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16821
16822 2014-07-02 Roland McGrath <roland@hack.frob.com>
16823
16824 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16825 before checking its value.
16826
16827 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16828
16829 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16830
16831 * debug/memcpy_chk.c: Don't include pagecopy.h.
16832 * debug/mempcpy_chk.c: Likewise.
16833 * string/memcpy.c: Likewise.
16834 * string/memmove.c: Likewise.
16835 * sysdeps/powerpc/memmove.c: Likewise.
16836 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16837 definition of PAGE_COPY_FWD_MAYBE here...
16838 * sysdeps/generic/pagecopy.h: ... from here.
16839 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16840
16841 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16842 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16843
16844 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16846 optimizations.
16847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16848 (__libc_ifunc_impl_list): Likewise.
16849 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16850 multiarch strcat for PPC64.
16851 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16852 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16853
16854 2014-07-02 Roland McGrath <roland@hack.frob.com>
16855
16856 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16857
16858 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16859
16860 * intl/loadmsgcat.c: Remove declaration of
16861 get_sysdep_segment_value.
16862 (get_sysdep_segment_value): Use ISO C style.
16863 (_nl_load_domain): Use ISO C style. Get rid of redundant
16864 semicolon. Fix typo and formatting in comment.
16865 (_nl_unload_domain): Use ISO C style.
16866
16867 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16868
16869 2014-07-02 Will Newton <will.newton@linaro.org>
16870
16871 * malloc/obstack.c: Merge from gnulib master.
16872 [HAVE_CONFIG_H]: Remove conditional code.
16873 [!_LIBC]: Include config.h.
16874 [!ELIDE_CODE]: Don't include inttypes.h, include
16875 stdint.h unconditionally.
16876 (print_and_abort): Mark as _Noreturn.
16877 (_obstack_allocated_p): Mark as __attribute_pure__.
16878 (obstack_free): Rename to __obstack_free.
16879 [!__attribute__]: Remove conditional code.
16880 * malloc/obstack.h: Merge from gnulib master.
16881 [__cplusplus]: Move conditional down.
16882 [!__attribute_pure__]: Define __attribute_pure__ here
16883 if it is not already defined.
16884 (_obstack_memory_used): Mark as __attribute_pure__.
16885 [!__obstack_free]: Define as obstack_free.
16886 [__GNUC__]: Remove check for ancient NeXT gcc.
16887
16888 2014-07-02 Will Newton <will.newton@linaro.org>
16889 Paul Eggert <eggert@cs.ucla.edu>
16890
16891 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16892
16893 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16894
16895 * resolv/gethnamaddr.c: Add comment warning that the file is
16896 not maintained.
16897
16898 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16899
16900 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16901 entries.
16902
16903 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16904 entry for aio_cancel and aio_cancel64.
16905 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16906 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16907 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16908 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16909 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16910 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16911 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16912 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16913 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16914 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16915 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16916 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16917 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16918
16919 2014-07-01 Roland McGrath <roland@hack.frob.com>
16920
16921 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16922 * nptl/pthread_mutex_lock.c: Likewise.
16923 * nptl/pthread_mutex_timedlock.c: Likewise.
16924 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16925
16926 2014-07-01 Richard henderson <rth@redhat.com>
16927
16928 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16929 (__isnan, __isnanl): Remove.
16930 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16931
16932 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16933
16934 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16935
16936 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16937
16938 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16939
16940 * resolv/nss_dns/dns-host.c (getanswer_r)
16941 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16942
16943 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16944
16945 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16946 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16947 undefine.
16948 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16949 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16950
16951 2014-07-01 Roland McGrath <roland@hack.frob.com>
16952
16953 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16954 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16955
16956 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16957 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16958
16959 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16960 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16961 ... here.
16962 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16963 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16964
16965 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16966 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16967 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16968 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16969
16970 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16971 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16972 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16973 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16974 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16975 Moved ...
16976 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16977 ... here.
16978 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16979 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16980 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16981 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16982 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16983 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16984 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16985 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16986 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16987 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16988 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16989 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16990 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16991 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16992 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16993 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16994 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16995 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16996 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16997 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16998 ... here.
16999 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17000 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17001 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17002 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17003 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17004 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17005 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17006 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17007
17008 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17009
17010 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17011 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17012 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17013 Add sysdep.
17014
17015 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17016
17017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17018
17019 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17020
17021 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17022 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17023
17024 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17025
17026 * sysdeps/arm/libm-test-ulps: Regenerated.
17027
17028 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17029 Roland McGrath <roland@hack.frob.com>
17030
17031 * test-skeleton.c (signal_handler): Kill the whole process group
17032 before killing the child individually.
17033 (main): Report any failure on `setpgid'.
17034
17035 2014-06-30 Roland McGrath <roland@hack.frob.com>
17036
17037 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17038 from _TLS_H to _ARM_NPTL_TLS_H.
17039 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17040 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17041
17042 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17043
17044 [BZ #16539]
17045 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17046 (__expm1l): Return argument unchanged when small but not
17047 subnormal.
17048
17049 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17050 include macro name.
17051 (_FP_UNPACK_RAW_1_P): Likewise.
17052 (_FP_PACK_RAW_1): Likewise.
17053 (_FP_PACK_RAW_1_P): Likewise.
17054 (_FP_MUL_MEAT_1_wide): Likewise.
17055 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17056 (_FP_MUL_MEAT_1_hard): Likewise.
17057 (_FP_DIV_MEAT_1_imm): Likewise.
17058 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17059 (_FP_DIV_MEAT_1_udiv): Likewise.
17060 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17061 (_FP_UNPACK_RAW_2): Likewise.
17062 (_FP_UNPACK_RAW_2_P): Likewise.
17063 (_FP_PACK_RAW_2): Likewise.
17064 (_FP_PACK_RAW_2_P): Likewise.
17065 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17066 (_FP_MUL_MEAT_2_wide): Likewise.
17067 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17068 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17069 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17070 (_FP_MUL_MEAT_2_gmp): Likewise.
17071 (_FP_DIV_MEAT_2_udiv): Likewise.
17072 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17073 (_FP_FRAC_SRL_4): Likewise.
17074 (_FP_FRAC_SRST_4): Likewise.
17075 (_FP_FRAC_SRS_4): Likewise.
17076 (_FP_UNPACK_RAW_4): Likewise.
17077 (_FP_UNPACK_RAW_4_P): Likewise.
17078 (_FP_PACK_RAW_4): Likewise.
17079 (_FP_PACK_RAW_4_P): Likewise.
17080 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17081 (_FP_MUL_MEAT_4_wide): Likewise.
17082 (_FP_MUL_MEAT_4_gmp): Likewise.
17083 (umul_ppppmnnn): Likewise.
17084 (_FP_DIV_MEAT_4_udiv): Likewise.
17085 (__FP_FRAC_ADD_4): Likewise.
17086 (__FP_FRAC_SUB_3): Likewise.
17087 (__FP_FRAC_SUB_4): Likewise.
17088 (__FP_FRAC_DEC_3): Likewise.
17089 (__FP_FRAC_DEC_4): Likewise.
17090 (__FP_FRAC_ADDI_4): Likewise.
17091 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17092 (_FP_FRAC_SRL_8): Likewise.
17093 (_FP_FRAC_SRS_8): Likewise.
17094
17095 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17096 include macro name.
17097 (FP_UNPACK_RAW_EP): Likewise.
17098 (FP_PACK_RAW_E): Likewise.
17099 (FP_PACK_RAW_EP): Likewise.
17100 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17101 (_FP_ISSIGNAN): Likewise.
17102 (_FP_ADD_INTERNAL): Likewise.
17103 (_FP_FMA): Likewise.
17104 (_FP_CMP): Likewise.
17105 (_FP_SQRT): Likewise.
17106 (_FP_TO_INT): Likewise.
17107 (_FP_FROM_INT): Likewise.
17108 (FP_EXTEND): Likewise.
17109 (_FP_DIV_MEAT_N_loop): Likewise.
17110
17111 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17112
17113 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17114 throughout.
17115
17116 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17117
17118 [BZ #17097]
17119 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17120 result with correct sign in case of exponents that produce
17121 overflow except for X very close to 1.
17122
17123 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17124
17125 mktime: merge #if/#ifdef usage from glibc
17126 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17127 as that works with both Glibc's and Gnulib's style.
17128 See thread starting at Siddhesh Poyarekar's bug report at:
17129 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17130
17131 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17132
17133 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17134 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17135 * sysdeps/tile/tilegx/memmove.c: Remove file.
17136
17137 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17138
17139 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17140 abi-name definition.
17141 * scripts/soversions.awk: Do not handle or generate ABI lines.
17142 * shlib-versions: Remove ABI entries.
17143 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17144 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17145
17146 2014-06-27 Roland McGrath <roland@hack.frob.com>
17147
17148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17149 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17150 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17151 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17153 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17155 Moved ...
17156 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17157 ... here.
17158 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17159 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17161 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17163 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17165 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17166 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17167 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17168 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17169 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17170 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17171 Moved ...
17172 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17173 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17174 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17175 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17176 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17177 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17178 Moved ...
17179 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17180 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17181 Moved ...
17182 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17184 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17185 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17186 Moved ...
17187 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17188 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17189 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17190 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17191 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17192 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17193 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17194 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17195 Moved ...
17196 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17198 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17199 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17200 Moved ...
17201 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17202 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17203 Moved ...
17204 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17205 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17206 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17207 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17208 Moved ...
17209 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17210 ... here.
17211 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17212 Identical file removed.
17213 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17214 Moved ...
17215 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17216 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17217 Identical file removed.
17218 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17219 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17220 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17221 Moved ...
17222 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17223 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17224 Identical file removed.
17225 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17226 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17227 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17228 Identical file removed.
17229 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17230 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17231 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17232 Identical file removed.
17233 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17234 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17236 Identical file removed.
17237 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17238 Moved ...
17239 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17240 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17241 Identical file removed.
17242 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17243 Moved ...
17244 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17245 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17246 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17247 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17248 Identical file removed.
17249 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17250 Moved ...
17251 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17252 ... here.
17253 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17254 Identical file removed.
17255 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17256 Moved ...
17257 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17258 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17259 Identical file removed.
17260 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17261 Moved ...
17262 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17263 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17264 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17265 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17266 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17267 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17268 Moved ...
17269 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17270 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17271 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17272
17273 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17274 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17275 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17276 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17277 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17278
17279 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17280
17281 [BZ #17092]
17282 * nscd/nscd.c (monitor_child): Return exit status of child
17283 instead of return value from wait syscall.
17284
17285 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17286
17287 * configure.ac (libc_commonpagesize): Remove variable.
17288 (libc_relro_required): Likewise.
17289 (libc_cv_z_relro): Remove configure test.
17290 * configure: Regenerated.
17291 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17292 variable.
17293 (libc_relro_required): Likewise.
17294 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17295 (libc_relro_required): Likewise.
17296 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17297 (libc_relro_required): Likewise.
17298 * sysdeps/arm/preconfigure: Regenerated.
17299 * sysdeps/ia64/preconfigure: Remove file.
17300 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17301 variable.
17302 (libc_relro_required): Likewise.
17303
17304 [BZ #16561]
17305 [BZ #16562]
17306 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17307 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17308 recompute overflowing results in original rounding mode.
17309 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17310 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17311 recompute overflowing results in original rounding mode.
17312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17313 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17314 recompute overflowing results in original rounding mode.
17315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17316 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17317 recompute overflowing results in original rounding mode.
17318 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17319 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17320 recompute overflowing results in original rounding mode.
17321 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17322 (libc_feholdsetround_ctx): New macro.
17323 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17324 * sysdeps/i386/fpu/libm-test-ulps: Update.
17325 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17326
17327 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17328
17329 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17330 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17331 corresponding .cpsetup call.
17332
17333 2014-06-26 Roland McGrath <roland@hack.frob.com>
17334
17335 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17336 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17337 * sysdeps/arm/Makefile [$(subdir) = csu]
17338 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17339 (static-only-routines): Add aeabi_read_tp here.
17340 (shared-only-routines): Add libc-aeabi_read_tp here.
17341 (CFLAGS-libc-start.c): Add -fexceptions here.
17342 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17343 (sysdep_routines, static-only-routines, shared-only-routines):
17344 Don't add to these here.
17345 (CFLAGS-libc-start.c): Likewise.
17346
17347 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17348 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17349 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17350 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17351 * sysdeps/arm/Makefile [$(subdir) = rt]
17352 (librt-sysdep_routines, librt-shared-only-routines):
17353 Append rt-aeabi_unwind_cpp_pr1 here.
17354 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17355 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17356 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17357 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17358 Append nptl-aeabi_unwind_cpp_pr1 here.
17359 (tests): Filter out tst-cleanupx4 here.
17360 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17361 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17362 Don't do those here.
17363
17364 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17365
17366 * scripts/list-sources.sh: Do not handle ports specially.
17367
17368 2014-06-26 Roland McGrath <roland@hack.frob.com>
17369
17370 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17371 * sysdeps/arm/feupdateenv.c: Likewise.
17372
17373 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17374
17375 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17376
17377 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17378 trailing whitespace removed.
17379 * scripts/config.guess: Update to version 2014-03-23.
17380 * scripts/config.sub: Update to version 2014-05-01
17381 * scripts/install-sh: Update to version 2013-12-25.23.
17382 * scripts/move-if-change: Update from gnulib.
17383
17384 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17385
17386 * debug/memmove_chk.c: Remove pagecopy.h include.
17387
17388 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17389
17390 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17391 identical to gnulib mktime.
17392
17393 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17394
17395 * configure.ac: Do not test for machine being rs6000. Do not test
17396 for powerpc*-*soft.
17397 * configure: Regenerated.
17398
17399 [BZ #11505]
17400 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17401 test.
17402 * configure: Regenerated.
17403 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17404 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17405 Remove configure test.
17406 * sysdeps/arm/configure: Regenerated.
17407 * sysdeps/nptl/configure.ac: Do not check
17408 libc_cv_asm_cfi_directives.
17409 * sysdeps/nptl/configure: Regenerated.
17410 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17411 * sysdeps/x86_64/nptl/configure: Remove generated file.
17412 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17413 unconditional.
17414 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17415
17416 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17417
17418 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17419 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17420 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17421 it is defined.
17422
17423 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17424 instead of whether it is defined.
17425 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17426 * sysdeps/hppa/dl-machine.h: Likewise.
17427 * sysdeps/ia64/dl-machine.h: Likewise.
17428 * sysdeps/m68k/dl-machine.h: Likewise.
17429 * sysdeps/microblaze/dl-machine.h: Likewise.
17430 * sysdeps/mips/dl-machine.: Likewise.
17431 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17432 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17433 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17434 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17435 * sysdeps/sh/dl-machine.h: Likewise.
17436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17437 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17438 * sysdeps/tile/dl-machine.h: Likewise.
17439 * sysdeps/x86_64/dl-machine.h: Likewise.
17440
17441 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17442 code.
17443 (verify_persistent_db): Likewise.
17444
17445 2014-06-26 Roland McGrath <roland@hack.frob.com>
17446
17447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17448 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17450 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17452 Moved ...
17453 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17454 ... here.
17455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17456 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17458 Identical file removed.
17459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17460 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17462 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17464 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17466 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17468 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17470 Moved ...
17471 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17473 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17475 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17477 Moved ...
17478 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17480 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17482 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17484 Identical file removed.
17485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17486 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17488 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17490 Moved ...
17491 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17492 ... here.
17493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17494 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17496 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17498 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17500 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17502 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17504 Moved ...
17505 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17507 Moved ...
17508 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17510 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17512 Moved ...
17513 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17515 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17516
17517 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17518 folded into ...
17519 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17520 * sysdeps/unix/sysv/linux/s390/Versions
17521 (libpthread: GLIBC_2.19): New version set.
17522 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17523 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17524 (librt: GLIBC_2.3.3): New version set.
17525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17526 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17527 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17528 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17529 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17530 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17531 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17532 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17533 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17534 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17535 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17536 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17537 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17538 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17539 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17540 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17541 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17542 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17543 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17544 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17545 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17546 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17547 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17548 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17549 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17550 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17551 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17552 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17553 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17554 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17555 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17556 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17557 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17558 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17559 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17561 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17562 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17563 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17564 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17565 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17566 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17567 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17569 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17570
17571 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17572 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17573 (__libc_vfork): Define the function under this name.
17574 [!NOT_IN_libc] (__vfork): Make this an alias.
17575 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17576 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17577 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17578 (__libc_vfork): Define the function under this name.
17579 [!NOT_IN_libc] (__vfork): Make this an alias.
17580 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17581 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17582 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17584 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17585 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17586
17587 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17588 code that was previously under [RESET_PID].
17589 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17590 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17591 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17592
17593 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17594 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17595 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17596 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17597 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17598 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17599 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17600 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17601 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17602 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17603 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17604 Moved ...
17605 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17606 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17607 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17608 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17609 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17610 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17611 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17612 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17613 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17614 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17615 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17616 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17617 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17618 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17619 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17620 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17621 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17622 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17623 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17624 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17625 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17626 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17627 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17628 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17629 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17630 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17631 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17632 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17633 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17634
17635 2014-06-25 Roland McGrath <roland@hack.frob.com>
17636
17637 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17638 that was previously under [RESET_PID].
17639 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17640
17641 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17642
17643 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17644 not undefine and redefine.
17645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17646 [O_CLOEXEC]: Make code unconditional.
17647 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17648 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17649 <kernel-features.h>.
17650 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17651 conditional variable definition.
17652 (shm_open) [O_CLOEXEC]: Make code unconditional.
17653 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17654 code.
17655
17656 * configure.ac (USE_REGPARMS): Don't define here.
17657 * configure: Regenerated.
17658 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17659 * sysdeps/i386/configure: Regenerated.
17660
17661 * nptl/createthread.c: Don't include kernel-features.h.
17662 * nptl/pthread_cancel.c: Likewise.
17663 * nptl/pthread_condattr_setclock.c: Likewise.
17664 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17665 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17666 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17667 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17668 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17669 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17670 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17671 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17673 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17674 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17675 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17676 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17677 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17678 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17679 * nscd/gai.c: Likewise.
17680 * nss/nss_db/db-open.c: Likewise.
17681 * sysdeps/generic/ldsodefs.h: Likewise.
17682 * sysdeps/sh/nptl/tls.h: Likewise.
17683 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17684 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17685 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17686 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17687 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17688 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17689 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17690 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17691 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17692 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17693 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17694 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17695 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17696 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17697 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17698 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17699 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17700 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17701 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17702 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17703 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17704 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17705 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17706 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17707 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17708 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17709 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17710 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17711 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17712 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17713 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17714 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17715 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17716 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17717 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17718 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17719 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17720 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17721 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17722 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17723 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17724 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17725 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17726 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17727 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17728 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17729 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17730 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17731 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17732 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17733 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17734 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17735 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17736 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17737 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17738 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17739 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17740 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17763 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17764 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17765 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17766 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17767 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17768 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17769 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17770 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17771 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17772 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17773 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17774 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17775 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17776 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17777 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17778 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17779 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17780 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17781 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17782 * sysdeps/unix/sysv/linux/system.c: Likewise.
17783 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17784 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17785 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17786 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17787 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17788 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17789 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17790
17791 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17792 * configure: Regenerated.
17793 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17794
17795 * configure.ac (base_machine): Do not set specially for particular
17796 machines here.
17797 * configure: Regenerated.
17798 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17799 settings from configure.ac.
17800 * sysdeps/i386/preconfigure: New file.
17801 * sysdeps/s390/preconfigure: Likewise.
17802 * sysdeps/sh/preconfigure: Likewise.
17803 * sysdeps/sparc/preconfigure: Likewise.
17804
17805 2014-06-25 Roland McGrath <roland@hack.frob.com>
17806
17807 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17808 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17809 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17810 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17811 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17812 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17813 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17814 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17815 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17816 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17817 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17818 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17819 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17820 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17821 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17822 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17823 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17824 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17825 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17826
17827 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17828 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17829 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17830 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17831 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17832 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17833 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17834 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17835 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17836 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17837 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17838 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17839 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17840 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17841 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17842 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17843 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17844 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17845 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17846 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17848 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17849 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17850 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17851 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17852 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17853 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17854 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17855 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17856 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17857 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17858 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17859 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17860 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17861 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17862 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17863 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17864 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17865
17866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17867 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17869 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17871 Moved ...
17872 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17873 ... here.
17874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17875 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17877 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17879 Moved ...
17880 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17882 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17884 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17886 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17888 Moved ...
17889 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17891 Moved ...
17892 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17894 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17896 Moved ...
17897 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17899 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17901 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17905 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17907 Moved ...
17908 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17909 ... here.
17910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17911 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17913 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17915 Moved ...
17916 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17918 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17920 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17922 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17924 Moved ...
17925 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17927 Moved ...
17928 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17930 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17932 Moved ...
17933 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17935 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17937 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17938
17939 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17940
17941 * timezone/checktab.awk: Update from tzcode 2014e.
17942 * timezone/private.h: Likewise.
17943 * timezone/tzfile.h: Likewise.
17944 * timezone/zdump.c: Likewise.
17945 * timezone/zic.c: Likewise.
17946
17947 * sysdeps/unix/sysv/linux/kernel-features.h
17948 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17950 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17951 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17952 Remove conditional code.
17953
17954 2014-06-25 Will Newton <will.newton@linaro.org>
17955
17956 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17957 (_dl_arm_cap_flags): Add HWCAP2 values.
17958 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17959 (_DL_HWCAP_COUNT): Increase to 37.
17960 (_DL_HWCAP_LAST): New define.
17961 (_DL_HWCAP2_LAST): New define.
17962 (_dl_procinfo): Add support for printing
17963 AT_HWCAP2 entries.
17964 (_dl_string_hwcap): Use _dl_hwcap_string.
17965
17966 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17967
17968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17969
17970 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17971
17972 * README: Do not mention ports directory.
17973
17974 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17975 Remove macro.
17976 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17977 <kernel-features.h>.
17978 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17979 conditional variable definition.
17980 (__futimes): Update comment.
17981 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17982 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17983
17984 [BZ #16560]
17985 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17986 arguments close to 0.
17987 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17988 Likewise.
17989 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17990 Likewise.
17991 * math/auto-libm-test-in: Add more tests of exp10.
17992 * math/auto-libm-test-out: Regenerated.
17993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17994
17995 * sysdeps/unix/sysv/linux/kernel-features.h
17996 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17997 * sysdeps/unix/sysv/linux/readv.c: Do not include
17998 <kernel-features.h>.
17999 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18000 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18001 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18002 unconditional.
18003 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18004 conditional code.
18005 * sysdeps/unix/sysv/linux/writev.c: Do not include
18006 <kernel-features.h>.
18007 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18008 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18009 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18010 unconditional.
18011 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18012 conditional code.
18013
18014 2014-06-25 Will Newton <will.newton@linaro.org>
18015
18016 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18017 comment changes throughout the file. Remove checks
18018 for HAVE_*_H definitions that are not required.
18019 (__gen_tempname): Call abort if an unknown kind value is
18020 passed.
18021
18022 2014-06-25 Andreas Schwab <schwab@suse.de>
18023
18024 [BZ #17086]
18025 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18026 scalbln, scalblnf, scalblnl in libc.
18027
18028 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18029
18030 [BZ #17086]
18031 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18032 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18033 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18034
18035 2014-06-24 Roland McGrath <roland@hack.frob.com>
18036
18037 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18038 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18039 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18040 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18041 Update #include.
18042 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18043 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18044 Update #include.
18045 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18046 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18047 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18048 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18049 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18050 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18051 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18052 * sysdeps/x86/bits/semaphore.h: ... here.
18053 * sysdeps/x86/nptl/elide.h: Moved ...
18054 * sysdeps/x86/elide.h: ... here.
18055 * sysdeps/x86_64/nptl/Implies: File removed.
18056 * sysdeps/i386/nptl/Implies: File removed.
18057
18058 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18059
18060 [BZ #16539]
18061 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18062 return the argument for normal arguments with exponent below -64.
18063 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18064 Likewise.
18065 * math/auto-libm-test-in: Add another test of expm1.
18066 * math/auto-libm-test-out: Regenerated.
18067
18068 [BZ #16287]
18069 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18070 calling __erfcl for arguments at least 16.
18071 * math/auto-libm-test-in: Add more tests of erf.
18072 * math/auto-libm-test-out: Regenerated.
18073
18074 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18075 individual architectures.
18076 * sysdeps/unix/sysv/linux/configure: Regenerated.
18077 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18078 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18079 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18080 (ldd_rewrite_script): Define variable.
18081 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18083 file.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18085 generated file.
18086 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18087 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18088 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18089 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18090 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18091 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18092 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18093 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18094
18095 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18096
18097 [BZ #17084]
18098 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18099 Rename member __data.d to __data.__elision_data.
18100
18101 2014-06-24 Wilco <wdijkstr@arm.com>
18102
18103 * NEWS: Add 16918 to fixed bug list.
18104
18105 2014-06-24 Wilco <wdijkstr@arm.com>
18106
18107 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18108
18109 2014-06-24 Wilco <wdijkstr@arm.com>
18110
18111 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18112 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18113 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18114 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18115 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18116 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18117 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18118 Use _FPU_MASK_RM.
18119
18120 2014-06-24 Wilco <wdijkstr@arm.com>
18121
18122 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18123
18124 2014-06-24 Wilco <wdijkstr@arm.com>
18125
18126 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18127 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18128 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18129 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18130
18131 2014-06-24 Wilco <wdijkstr@arm.com>
18132
18133 [BZ #16918]
18134 * sysdeps/arm/feupdateenv.c (feupdateenv):
18135 Rewrite to reduce FPSCR accesses and fix return value.
18136
18137 2014-06-24 Wilco <wdijkstr@arm.com>
18138
18139 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18140 Optimize to avoid unnecessary FPSCR writes.
18141 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18142 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18143 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18144 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18145
18146 2014-06-24 Wilco <wdijkstr@arm.com>
18147
18148 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18149 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18150 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18151 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18152 Call libc_fetestexcept_vfp.
18153 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18154 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18155 __SOFTFP__ ifdef so that they can be built for softfp.
18156
18157 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18158
18159 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18160 argument type signed char.
18161
18162 * Makerules (check-abi): Dump diff of symlist if the test
18163 fails.
18164
18165 2014-06-23 Roland McGrath <roland@hack.frob.com>
18166
18167 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18168 using abort.
18169
18170 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18171 Remove unused variable ST.
18172
18173 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18174
18175 [BZ #16354]
18176 [BZ #17061]
18177 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18178 small arguments before calling __expm1.
18179 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18180 small arguments before calling __expm1f.
18181 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18182 small arguments before calling __expm1l.
18183 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18184 Likewise.
18185 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18186 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18187 spurious underflow for some cosh tests.
18188 * math/auto-libm-test-out: Regenerated.
18189 * sysdeps/i386/fpu/libm-test-ulps: Update.
18190
18191 [BZ #17050]
18192 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18193 (__ieee754_y1): Set errno if return value overflows.
18194 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18195 (__ieee754_y1f): Set errno if return value overflows.
18196 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18197 (__ieee754_y1l): Set errno if return value overflows.
18198 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18199 (__ieee754_y1l): Set errno if return value overflows.
18200 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18201 * math/auto-libm-test-out: Regenerated.
18202
18203 * math/gen-auto-libm-tests.c: Document use of
18204 ignore-zero-inf-sign.
18205 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18206 (input_flags): Add ignore-zero-inf-sign.
18207 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18208 * math/gen-libm-test.pl (generate_testfile): Handle
18209 ignore-zero-inf-sign.
18210 * math/auto-libm-test-in: Mark some cpow tests with
18211 ignore-zero-inf-sign and some with xfail-rounding.
18212 * math/auto-libm-test-out: Regenerated.
18213 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18214 * sysdeps/i386/fpu/libm-test-ulps: Update.
18215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18216
18217 [BZ #16315]
18218 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18219 overflowing or underflowing operations take place with sign of
18220 result.
18221 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18222 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18223 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18224 (__ieee754_pow): Recompute overflowing and underflowing results in
18225 original rounding mode.
18226 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18227 (__powl_helper): Allow negative argument X and scale negated value
18228 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18229 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18230 overflowing or underflowing operations take place with sign of
18231 result.
18232 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18233 Include <math.h>.
18234 * math/auto-libm-test-in: Add more tests of pow.
18235 * math/auto-libm-test-out: Regenerated.
18236 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18237 (pow_tonearest_test_data): Remove.
18238 (pow_test_tonearest): Likewise.
18239 (pow_towardzero_test_data): Likewise.
18240 (pow_test_towardzero): Likewise.
18241 (pow_downward_test_data): Likewise.
18242 (pow_test_downward): Likewise.
18243 (pow_upward_test_data): Likewise.
18244 (pow_test_upward): Likewise.
18245 (main): Don't call removed functions.
18246 * sysdeps/i386/fpu/libm-test-ulps: Update.
18247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18248
18249 2014-06-23 Roland McGrath <roland@hack.frob.com>
18250
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18252 Moved ...
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18255 Moved ...
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18258 Moved ...
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18261 Moved ...
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18264 File removed.
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18266 File removed.
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18268 File removed.
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18270 File removed.
18271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18272 File removed.
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18274 File removed.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18276 File removed.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18278 File removed.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18280 File removed.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18282 File removed.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18284 File removed.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18286 File removed.
18287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18288 Moved ...
18289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18291 Moved ...
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18293 ... here.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18295 Moved ...
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18298 Moved ...
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18301 Moved ...
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18304 Moved ...
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18307 Moved ...
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18310 Moved ...
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18313 Moved ...
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18317 ... here.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18319 Moved ...
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18322 Moved ...
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18324 ... here.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18326 Moved ...
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18328 ... here.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18330 Moved ...
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18332 ... here.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18334 Moved ...
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18337 Moved ...
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18342 Moved ...
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18344 ... here.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18346 Moved ...
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18348 ... here.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18350 Moved ...
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18353 Moved ...
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18356 Moved ...
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18359 Moved ...
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18362 Moved ...
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18364 ... here.
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18366 Moved ...
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18369 Moved ...
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18372 Moved ...
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18375 Moved ...
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18380 Moved ...
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18383 Moved ...
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18386 Moved ...
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18388 ... here.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18390 Moved ...
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18392 ... here.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18394 Moved ...
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18396 ... here.
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18398 Moved ...
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18401 Moved ...
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18404 Moved ...
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18407 Moved ...
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18409 ... here.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18411 Moved ...
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18413 ... here.
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18415 Moved ...
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18417 ... here.
18418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18419 Moved ...
18420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18422 Moved ...
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18424
18425 2014-06-23 Will Newton <will.newton@linaro.org>
18426 Wilco <wdijkstr@arm.com>
18427
18428 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18429 implementation. Include get-rounding-mode.h.
18430 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18431 [!libc_feholdsetround_noex_ctx]: Define
18432 libc_feholdsetround_noex_ctx.
18433 [!libc_feholdsetround_noexf_ctx]: Define
18434 libc_feholdsetround_noexf_ctx.
18435 [!libc_feholdsetround_noexl_ctx]: Define
18436 libc_feholdsetround_noexl_ctx.
18437 (libc_feholdsetround_ctx): New function.
18438 (libc_feresetround_ctx): New function.
18439 (libc_feholdsetround_noex_ctx): New function.
18440 (libc_feresetround_noex_ctx): New function.
18441
18442 2014-06-23 Roland McGrath <roland@hack.frob.com>
18443
18444 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18445 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18446 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18447 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18448 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18449 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18450
18451 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18452 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18453 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18454 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18455 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18456 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18458 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18460 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18461 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18462 Moved ...
18463 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18464 ... here.
18465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18466 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18468 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18469 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18470 Moved ...
18471 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18472 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18473 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18474 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18475 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18477 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18479 Moved ...
18480 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18481 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18482 Moved ...
18483 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18484 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18485 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18486 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18487 Moved ...
18488 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18489 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18490 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18491 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18492 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18493 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18494 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18495 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18496 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18498 Moved ...
18499 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18500 ... here.
18501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18502 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18504 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18506 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18507 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18508 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18509 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18510 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18511 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18512 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18513 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18514 Moved ...
18515 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18516 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18517 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18518 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18519 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18520 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18521 Moved ...
18522 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18523 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18524 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18525 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18526 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18527
18528 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18529 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18530 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18531 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18532 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18533 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18534 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18535 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18537 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18538 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18539 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18540 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18541 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18542 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18543 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18544 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18545 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18546 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18547 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18548 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18549 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18550 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18551 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18552 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18553 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18554 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18555 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18556
18557 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18558
18559 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18560 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18561 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18562 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18563 (IPV6_PMTUDISC_INTERFACE): Likewise.
18564 (IPV6_PMTUDISC_OMIT): Likewise.
18565
18566 2014-06-23 Andreas Schwab <schwab@suse.de>
18567
18568 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18569 Remove unused errout label.
18570
18571 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18572
18573 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18574 macro: hardware supports Vector Crypto instructions.
18575
18576 2014-06-23 Will Newton <will.newton@linaro.org>
18577
18578 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18579 rather than __builtin_expect.
18580
18581 * elf/dl-lookup.c (undefined_msg): Remove variable.
18582 (_dl_lookup_symbol_x): Replace undefined_msg with string
18583 literal.
18584
18585 * elf/dl-lookup.c (do_lookup_unique): New function.
18586 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18587 to a separate function.
18588
18589 2014-06-23 Andreas Schwab <schwab@suse.de>
18590
18591 [BZ #17079]
18592 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18593 before reading the next line.
18594
18595 2014-06-23 Will Newton <will.newton@linaro.org>
18596
18597 * test-skeleton.c (signal_handler): Use printf and %m
18598 rather than perror. Use printf rather than fprintf to
18599 stderr. Use puts rather than fputs to stderr.
18600 (main): Likewise.
18601
18602 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18603
18604 * nscd/nscd.c (thread_info_t): Remove typedef.
18605 (thread_info): Remove variable.
18606
18607 2014-06-21 Allan McRae <allan@archlinux.org>
18608
18609 * NEWS: Mention CVE-2014-4043.
18610
18611 2014-06-20 Roland McGrath <roland@hack.frob.com>
18612
18613 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18614 * nptl/smp.h: ... here.
18615
18616 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18617
18618 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18619 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18620 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18621 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18622
18623 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18624 * nptl/stack-aliasing.h: New file.
18625 * sysdeps/i386/i686/stack-aliasing.h: New file.
18626 * sysdeps/i386/i686/nptl/Makefile: File removed.
18627 * sysdeps/x86_64/stack-aliasing.h: New file.
18628 * sysdeps/x86_64/nptl/Makefile
18629 (CFLAGS-pthread_create.c): Variable removed.
18630
18631 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18632 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18633 old file.
18634 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18635 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18636 old file.
18637
18638 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18639
18640 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18641 (__ASSUME_SIGFRAME_V2): Remove macro.
18642 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18643 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18644 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18645 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18646 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18647 Declare as function. Remove conditional macro definitions.
18648 (__default_rt_sa_restorer): Likewise.
18649 (__default_sa_restorer_v1): Remove declaration.
18650 (__default_sa_restorer_v2): Likewise.
18651 (__default_rt_sa_restorer_v1): Likewise.
18652 (__default_rt_sa_restorer_v2): Likewise.
18653 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18654 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18655 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18656
18657 2014-06-20 Roland McGrath <roland@hack.frob.com>
18658
18659 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18660 (libpthread-routines): Add sysdep.
18661 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18662 * sysdeps/unix/sysv/linux/sparc/Versions
18663 (libpthread: GLIBC_2.3.3): New version set.
18664 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18665 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18666 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18667 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18668 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18669 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18670 Moved ...
18671 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18672 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18673 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18674 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18675 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18676 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18677 * sysdeps/sparc/nptl/sem_init.c: ... here.
18678 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18679 * sysdeps/sparc/nptl/sem_post.c: ... here.
18680 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18681 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18682 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18683 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18684 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18685 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18686 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18687 (libpthread-routines): Add cpu_relax.
18688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18689 File removed.
18690 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18691 (librt: GLIBC_2.3.3): New version set.
18692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18693 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18694 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18695 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18698 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18700 Moved ...
18701 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18703 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18705 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18707 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18709 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18711 Moved ...
18712 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18713 Update #include.
18714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18715 Moved ...
18716 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18717 Update #include.
18718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18719 Moved ...
18720 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18721 Update #include.
18722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18723 Moved ...
18724 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18725 Update #include.
18726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18727 Moved ...
18728 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18729 Update #include.
18730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18731 Moved ...
18732 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18733 Update #include.
18734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18735 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18741 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18743 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18745 Moved ...
18746 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18748 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18750 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18751
18752 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18753
18754 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18755 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18756 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18757 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18758 * nscd/nscd.c: Likewise.
18759 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18760 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18761 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18762 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18763
18764 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18765 <kernel-features.h>.
18766 (init_mq_netlink): Remove conditional have_sock_cloexec
18767 definitions. Remove code conditional on have_sock_cloexec < 0.
18768 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18769 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18770 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18771 <kernel-features.h>.
18772 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18773 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18774
18775 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18776
18777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18778 Add tests for memset_chk and memset.
18779
18780 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18781 with AVX2_Usable.
18782
18783 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18784
18785 [BZ #16046]
18786 * elf/tst-dl-iter-static.c: New file.
18787 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18788
18789 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18790 error.
18791
18792 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18793
18794 * sysdeps/unix/sysv/linux/kernel-features.h
18795 (__ASSUME_F_GETOWN_EX): Remove macro.
18796 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18797 <kernel-features.h>.
18798 (miss_F_GETOWN_EX): Remove variable or macro.
18799 (do_fcntl): Do not check miss_F_GETOWN_EX.
18800 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18801
18802 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18803 Remove macro.
18804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18805 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18806 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18807
18808 * sysdeps/unix/sysv/linux/kernel-features.h
18809 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18810 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18811 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18812 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18813
18814 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18815
18816 [BZ #17075]
18817 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18818 Fix calculation of the symbol's value.
18819 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18820 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18821 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18822 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18823 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18824 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18825 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18826 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18827 (modules-names): Add `tst-armtlsdescmod',
18828 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18829 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18830 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18831 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18832 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18833 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18834 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18835 ($(objpfx)tst-armtlsdescloc): New dependency.
18836 ($(objpfx)tst-armtlsdescextnow): Likewise.
18837 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18838 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18839 TLS scheme support.
18840 * sysdeps/arm/configure: Regenerate.
18841
18842 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18843
18844 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18845 (__atfct_seterrno_2): Likewise.
18846 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18847 <kernel-features.h>.
18848 (__ASSUME_ATFCTS): Do not undefine and redefine.
18849 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18850 (__have_atfcts): Remove conditional definition.
18851 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18852 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18853 unreachable if [__ASSUME_ATFCTS].
18854 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18855 not undefine and redefine.
18856 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18857 <kernel-features.h>.
18858 (faccessat) [__NR_faccessat]: Make code unconditional.
18859 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18860 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18861 <kernel-features.h>.
18862 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18863 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18864 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18865 <kernel-features.h>.
18866 (fchownat) [__NR_fchownat]: Make code unconditional.
18867 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18868 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18869 <kernel-features.h>.
18870 (futimesat) [__NR_futimesat]: Make code unconditional.
18871 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18872 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18873 <kernel-features.h>.
18874 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18875 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18876 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18877 <kernel-features.h>.
18878 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18879 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18880 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18881 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18882 <kernel-features.h>.
18883 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18884 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18885 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18886 <kernel-features.h>.
18887 (linkat) [__NR_linkat]: Make code unconditional.
18888 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18889 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18890 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18891 <kernel-features.h>.
18892 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18893 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18894 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18895 <kernel-features.h>.
18896 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18897 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18898 * sysdeps/unix/sysv/linux/openat.c: Do not include
18899 <kernel-features.h>.
18900 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18901 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18902 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18903 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18904 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18905 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18906 <kernel-features.h>.
18907 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18908 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18909 result of INLINE_SYSCALL directly, not via int variable.
18910 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18911 <kernel-features.h>.
18912 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18913 (renameat) [__NR_renameat]: Make code unconditional.
18914 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18915 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18916 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18917 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18918 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18919 (__ASSUME_ATFCTS): Do not undefine and redefine.
18920 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18921 <kernel-features.h>.
18922 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18923 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18924 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18925 <kernel-features.h>.
18926 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18927 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18928 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18929 (__ASSUME_ATFCTS): Do not undefine and redefine.
18930 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18931 <kernel-features.h>.
18932 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18933 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18934 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18935 <kernel-features.h>.
18936 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18937 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18938
18939 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18940
18941 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18942
18943 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18944
18945 [BZ #17069]
18946 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18947 constructed tree before returning error.
18948 * posix/bug-regexp36.c: Expand test case.
18949
18950 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18951
18952 [BZ #6803]
18953 * math/libm-test.inc (scalbln_test_date):
18954 Add errno expectations.
18955 * math/w_scalblnf.c: New File.
18956 Add wrapper which checks for setting errno to ERANGE.
18957 Add weak_alias for corresponding scalbln function.
18958 * math/w_scalbln.c: Likewise.
18959 * math/w_scalblnl.c: Likewise.
18960 * math/Makefile (libm-calls): Add w_scalbln.
18961 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18962 Remove weak_alias for corresponding scalbln function.
18963 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18965 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18967 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18968 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18969 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18970 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18971 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18972 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18973 Remove long_double_symbol for scalblnl function in libm, libc.
18974 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18975 Add wrapper which checks for setting errno to ERANGE.
18976 Add long_double_symbol for scalblnl function in libm, libc.
18977 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18978 Remove long_double_symbol for scalblnl in libm.
18979 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18980 Add wrapper which checks for setting errno to ERANGE.
18981 Add long_double_symbol for scalblnl function in libm.
18982 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18983 Do not use wrapper because of own implementation.
18984
18985 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18986
18987 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18988 3 bytes for __pad1 for x32.
18989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18990
18991 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18992 H.J. Lu <hongjiu.lu@intel.com>
18993
18994 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18995 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18998 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18999
19000 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19001
19002 [BZ #17069]
19003 * posix/regcomp.c (parse_expression): Deallocate partially
19004 constructed tree before returning error.
19005 * posix/Makefile.c (tests): Add bug-regex36.
19006 (generated): Add bug-regex36.mtrace.
19007 (tests-special): Add $(objpfx)bug-regex36-mem.out
19008 (bug-regex36-ENV): New variable.
19009 ($(objpfx)bug-regex36-mem.out): New rule.
19010 * posix/bug-regex36.c: New file.
19011
19012 2014-06-19 Will Newton <will.newton@linaro.org>
19013
19014 * malloc/malloc.c (systrim): If extra is zero then return
19015 early.
19016
19017 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19018
19019 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19020
19021 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19022
19023 * sysdeps/aarch64/strchr.S: New file.
19024
19025 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19026
19027 [BZ #17022]
19028 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19029 from arguments -2 or below.
19030 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19031 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19032
19033 2014-06-18 Andreas Schwab <schwab@suse.de>
19034
19035 [BZ #17062]
19036 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19037 of a bracket expr not to run off the end of the string.
19038 * posix/Makefile (tests): Add tst-fnmatch3.
19039 * posix/tst-fnmatch3.c: New file.
19040
19041 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19042
19043 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19044 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19045 [$(cross-compiling) = no]: Likewise.
19046 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19047 [$(cross-compiling) = no]: Likewise.
19048
19049 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19050
19051 [BZ #17031]
19052 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19053 double, adjusted for any remainder from the high double.
19054 * math/libm-test.inc (nearbyint): Add tests.
19055 (rint): Likewise.
19056
19057 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19058
19059 * nptl/sysdeps/powerpc/Makefile: Moved ...
19060 * sysdeps/powerpc/nptl/Makefile: ... here.
19061 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19062 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19063 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19064 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19065 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19066 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19067 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19068 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19069 * nptl/sysdeps/powerpc/tls.h: Moved ...
19070 * sysdeps/powerpc/nptl/tls.h: ... here.
19071
19072 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19073
19074 [BZ #16681]
19075 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19076 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19077 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19078 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19079 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19080 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19081 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19082 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19083 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19084
19085 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19086
19087 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19088
19089 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19090
19091 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19092 defined operator.
19093
19094 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19095 $TIMEOUTFACTOR.
19096
19097 2014-06-16 Florian Weimer <fweimer@redhat.com>
19098
19099 [BZ #17058]
19100 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19101 non-executed part of the test.
19102
19103 2014-06-16 Andreas Schwab <schwab@suse.de>
19104
19105 * string/bits/string2.h (strdup, strndup): Update feature guard.
19106
19107 2014-06-14 David S. Miller <davem@davemloft.net>
19108
19109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19110
19111 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19112
19113 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19114 that was previously under [RESET_PID].
19115 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19116
19117 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19118 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19119 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19120 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19121 (__libc_vfork): New strong alias.
19122 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19123
19124 2014-06-14 Andi Kleen <ak@linux.intel.com>
19125
19126 * sysdeps/generic/elide.h: New file.
19127
19128 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19129
19130 * Makefile (installed-headers): Adjust path of pthread.h header.
19131
19132 2014-06-13 Roland McGrath <roland@hack.frob.com>
19133
19134 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19135 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19136 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19137 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19138
19139 * nptl/sysdeps/s390/Makefile: Moved ...
19140 * sysdeps/s390/nptl/Makefile: ... here.
19141 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19142 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19143 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19144 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19145 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19146 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19147 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19148 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19149 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19150 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19151 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19152 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19153 * nptl/sysdeps/s390/tls.h: Moved ...
19154 * sysdeps/s390/nptl/tls.h: ... here.
19155
19156 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19157 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19158
19159 2014-06-13 David S. Miller <davem@davemloft.net>
19160
19161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19164 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19168 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19169 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19170 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19171 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19172 Remove RESET_PID cpp guards.
19173 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19174 Remove RESET_PID cpp guards.
19175 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19176
19177 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19178
19179 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19180 __sp to uintptr_t.
19181
19182 2014-06-13 Andi Kleen <ak@linux.intel.com>
19183
19184 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19185 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19186 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19187 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19188 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19189 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19190 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19191 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19192 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19193 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19194 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19195 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19196 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19197 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19198 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19199 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19200 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19201 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19202 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19203 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19204
19205 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19206 (pthread_rwlock_rdlock): Add elision.
19207 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19208 (pthread_rwlock_wrlock): Add elision.
19209 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19210 (pthread_rwlock_trywrlock): Add elision.
19211 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19212 (pthread_rwlock_tryrdlock): Add elision.
19213 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19214 (pthread_rwlock_tryrdlock): Add elision unlock.
19215 * nptl/sysdeps/pthread/pthread.h:
19216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19217 (PTHREAD_RWLOCK_INITIALIZER,
19218 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19219 Handle new elision field.
19220 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19221 * sysdeps/arm/nptl/bits/pthreadtypes.h
19222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19223 * sysdeps/sh/nptl/bits/pthreadtypes.h
19224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19225 * sysdeps/tile/nptl/bits/pthreadtypes.h
19226 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19227 * sysdeps/a/nptl/bits/pthreadtypes.h
19228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19229 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19231 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19233 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19235 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19237 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19239 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19240 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19241 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19243 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19244 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19245 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19246 (elision_init): Set try_xbegin to zero when no RTM.
19247 * sysdeps/x86/nptl/bits/pthreadtypes.h
19248 (pthread_rwlock_t): Change __pad1 to __rwelision.
19249 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19250
19251 2014-06-13 Andi Kleen <ak@linux.intel.com>
19252
19253 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19254 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19255 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19256 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19257
19258 2014-06-13 Meador Inge <meadori@codesourcery.com>
19259
19260 [BZ #16996]
19261 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19262 that the cached result has been set before returning it.
19263
19264 2014-06-12 Roland McGrath <roland@hack.frob.com>
19265
19266 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19267 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19268 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19269 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19270 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19271 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19272
19273 * nptl/sysdeps/sparc/Makefile: Moved ...
19274 * sysdeps/sparc/nptl/Makefile: ... here.
19275 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19276 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19277 * nptl/sysdeps/sparc/tls.h: Moved ...
19278 * sysdeps/sparc/nptl/tls.h: ... here.
19279 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19280 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19281 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19282 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19283 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19284 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19285 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19286 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19287 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19288 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19289 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19290 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19291 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19292 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19293 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19294 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19295 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19296 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19297 Update #include.
19298 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19299 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19300 Update #include.
19301 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19302 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19303 Update #include.
19304 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19305 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19306 Update #include.
19307
19308 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19309
19310 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19311 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19312
19313 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19314 (struct list_links): Type removed.
19315 (struct thread_node, struct timer_node): Replace struct list_links
19316 with struct list_head.
19317 (list_unlink_ip): Likewise.
19318 * sysdeps/pthread/timer_routines.c
19319 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19320 (list_append, list_insbefore): Likewise.
19321 (list_init): Function removed.
19322 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19323 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19324 * sysdeps/pthread/Makefile: ... here, new file.
19325
19326 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19327 * sysdeps/nptl/Implies: ... here.
19328 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19329 * nptl/sysdeps/pthread/list.h: Moved ...
19330 * include/list.h: ... here.
19331 * nptl/sysdeps/pthread/createthread.c: Moved ...
19332 * nptl/createthread.c: ... here.
19333 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19334 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19335 * nptl/pt-longjmp.c: ... here.
19336 * nptl/sysdeps/pthread/Makefile: Moved ...
19337 * sysdeps/nptl/Makefile: ... here.
19338 * nptl/sysdeps/pthread/Subdirs: Moved ...
19339 * sysdeps/nptl/Subdirs: ... here.
19340 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19341 * sysdeps/nptl/aio_misc.h: ... here.
19342 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19343 * sysdeps/nptl/bits/libc-lock.h: ... here.
19344 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19345 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19346 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19347 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19348 * nptl/sysdeps/pthread/configure: Moved ...
19349 * sysdeps/nptl/configure: ... here.
19350 * nptl/sysdeps/pthread/configure.ac: Moved ...
19351 * sysdeps/nptl/configure.ac: ... here.
19352 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19353 * sysdeps/nptl/gai_misc.h: ... here.
19354 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19355 * sysdeps/nptl/librt-cancellation.c: ... here.
19356 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19357 * sysdeps/nptl/malloc-machine.h: ... here.
19358 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19359 * sysdeps/nptl/pthread-functions.h: ... here.
19360 * nptl/sysdeps/pthread/pthread.h: Moved ...
19361 * sysdeps/nptl/pthread.h: ... here.
19362 * nptl/sysdeps/pthread/setxid.h: Moved ...
19363 * sysdeps/nptl/setxid.h: ... here.
19364 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19365 * sysdeps/nptl/sigfillset.c: ... here.
19366 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19367 * sysdeps/nptl/tcb-offsets.h: ... here.
19368 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19369 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19370 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19371 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19372 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19373 * sysdeps/pthread/allocalim.h: ... here.
19374 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19375 * sysdeps/pthread/bits/sigthread.h: ... here.
19376 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19377 * sysdeps/pthread/flockfile.c: ... here.
19378 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19379 * sysdeps/pthread/ftrylockfile.c: ... here.
19380 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19381 * sysdeps/pthread/funlockfile.c: ... here.
19382 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19383 * sysdeps/pthread/posix-timer.h: ... here.
19384 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19385 * sysdeps/pthread/timer_create.c: ... here.
19386 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19387 * sysdeps/pthread/timer_delete.c: ... here.
19388 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19389 * sysdeps/pthread/timer_getoverr.c: ... here.
19390 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19391 * sysdeps/pthread/timer_gettime.c: ... here.
19392 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19393 * sysdeps/pthread/timer_routines.c: ... here.
19394 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19395 * sysdeps/pthread/timer_settime.c: ... here.
19396 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19397 * sysdeps/pthread/tst-timer.c: ... here.
19398 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19399 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19400
19401 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19402 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19403
19404 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19405 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19406 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19407 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19408 Update #include target.
19409 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19410 * sysdeps/i386/i686/nptl/Makefile: ... here.
19411 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19412 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19413 Update #include target.
19414 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19415 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19416 * nptl/sysdeps/i386/Makefile: Moved ...
19417 * sysdeps/i386/nptl/Makefile: ... here.
19418 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19419 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19420 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19421 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19422 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19423 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19424 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19425 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19426 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19427 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19428 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19429 * nptl/sysdeps/i386/tls.h: Moved ...
19430 * sysdeps/i386/nptl/tls.h: ... here.
19431
19432 * sysdeps/sh/Makefile [$(subdir) = csu]
19433 (gen-as-const-headers): Add tcb-offsets.sym.
19434 * nptl/sysdeps/sh/Makefile: File removed.
19435 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19436 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19437 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19438 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19439 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19440 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19441 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19442 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19443 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19444 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19445 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19446 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19447 * nptl/sysdeps/sh/tls.h: Moved ...
19448 * sysdeps/sh/nptl/tls.h: ... here.
19449 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19450 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19451 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19452 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19453 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19454 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19455 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19456 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19457 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19458 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19460 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19461 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19462 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19463 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19464 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19465 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19466 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19467 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19468 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19469 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19470 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19471 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19472 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19474 Moved ...
19475 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19476 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19477 Moved ...
19478 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19479 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19480 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19481 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19482 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19483 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19484 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19485 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19486 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19487 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19488 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19489 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19490 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19491 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19492 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19493 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19494 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19495 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19496 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19497
19498 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19499
19500 * posix/spawn_faction_addopen.c: Include string.h.
19501
19502 2014-06-11 Roland McGrath <roland@hack.frob.com>
19503
19504 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19505 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19506 * nptl/sysdeps/x86_64/Makefile: Moved ...
19507 * sysdeps/x86_64/nptl/Makefile: ... here.
19508 * nptl/sysdeps/x86_64/configure: Moved ...
19509 * sysdeps/x86_64/nptl/configure: ... here.
19510 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19511 * sysdeps/x86_64/nptl/configure.ac: ... here.
19512 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19513 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19514 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19515 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19516 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19517 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19518 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19519 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19520 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19521 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19522 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19523 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19524 * nptl/sysdeps/x86_64/tls.h: Moved ...
19525 * sysdeps/x86_64/nptl/tls.h: ... here.
19526 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19527 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19528 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19529 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19530
19531 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19532
19533 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19534
19535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19536
19537 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19538
19539 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19540 type.
19541 [POSIX] (off_t): Likewise.
19542 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19543 [POSIX] (S_ISBLK): Require macro.
19544 [POSIX] (S_ISCHR): Likewise.
19545 [POSIX] (S_ISDIR): Likewise.
19546 [POSIX] (S_ISFIFO): Likewise.
19547 [POSIX] (S_ISREG): Likewise.
19548 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19549 optional-macro.
19550 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19551 type.
19552 [POSIX] (time_t): Likewise.
19553 [POSIX] (timer_t): Likewise.
19554
19555 2014-06-11 Florian Weimer <fweimer@redhat.com>
19556
19557 [BZ #17048]
19558 * posix/spawn_int.h (struct __spawn_action): Make the path string
19559 non-const to support deallocation.
19560 * posix/spawn_faction_addopen.c
19561 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19562 * posix/spawn_faction_destroy.c
19563 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19564 path in all spawn_do_open actions.
19565 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19566 posix_spawn_file_actions_addopen.
19567
19568 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19569
19570 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19571 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19572 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19573 conditional code always true.
19574 (__libc_vfork): New alias.
19575
19576 2014-06-11 Roland McGrath <roland@hack.frob.com>
19577
19578 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19579 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19580
19581 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19582
19583 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19584 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19585
19586 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19587 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19588
19589 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19590 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19591
19592 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19593
19594 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19595 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19596 multiarch strcmp for PPC64.
19597 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19598 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19600 multiarch optimizations.
19601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19602 (__libc_ifunc_impl_list): Likewise.
19603
19604 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19605
19606 * benchtests/scripts/validate_benchout.py: New script.
19607 * benchtests/Makefile (bench-func): Call it.
19608 * benchtests/scripts/benchout.schema.json: New file.
19609
19610 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19611
19612 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19613 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19614 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19615 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19616 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19617 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19618 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19619 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19620 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19621 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19622 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19623 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19624 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19625 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19626 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19627 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19629 Moved ...
19630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19631 ... here.
19632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19633 Moved ...
19634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19636 Moved ...
19637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19638 ... here.
19639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19640 Moved ...
19641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19642 ... here.
19643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19644 Moved ...
19645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19647 Moved ...
19648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19649 ... here.
19650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19651 Moved ...
19652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19653 ... here.
19654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19655 Moved ...
19656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19658 Moved ...
19659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19660 ... here.
19661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19662 Moved ...
19663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19664 ... here.
19665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19666 Moved ...
19667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19668 ... here.
19669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19670 Moved ...
19671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19673 Moved ...
19674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19675 ... here.
19676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19677 Moved ...
19678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19679 ... here.
19680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19681 Moved ...
19682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19683 ... here.
19684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19685 Moved ...
19686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19688 Moved ...
19689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19690 ... here.
19691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19692 Moved ...
19693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19694 ... here.
19695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19696 Moved ...
19697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19699 Moved ...
19700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19701 ... here.
19702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19703 Moved ...
19704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19706 Moved ...
19707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19709 Moved ...
19710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19711 ... here.
19712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19713 Moved ...
19714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19715 ... here.
19716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19717 Moved ...
19718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19719 ... here.
19720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19721 Moved ...
19722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19724 Moved ...
19725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19726 ... here.
19727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19728 Moved ...
19729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19730 ... here.
19731 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19732 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19734 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19736 Moved ...
19737 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19738 ... here.
19739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19740 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19742 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19744 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19745 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19746 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19747 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19748 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19750 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19752 Moved ...
19753 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19754 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19755 Moved ...
19756 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19757 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19758 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19759 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19760 Moved ...
19761 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19762 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19763 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19764 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19765 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19766 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19767 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19768
19769 2014-06-10 Wilco <wdijkstr@arm.com>
19770
19771 * math/test-fenv-return.c: New file.
19772 * math/Makefile: Add new test test-fenv-return.
19773
19774 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19775
19776 [BZ #17042]
19777 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19778 when x - 1 is zero.
19779 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19780 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19781 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19782 0.0L for an argument of 1.0L.
19783 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19784 Likewise.
19785 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19786 value when x - 1 is zero.
19787 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19788 * sysdeps/i386/fpu/libm-test-ulps: Update.
19789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19790
19791 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19792
19793 [BZ #15119]
19794 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19795
19796 2014-06-09 Roland McGrath <roland@hack.frob.com>
19797
19798 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19799 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19800
19801 2014-06-09 Roland McGrath <roland@hack.frob.com>
19802
19803 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19804 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19805
19806 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19807 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19808
19809 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19810 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19811
19812 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19813 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19814
19815 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19816 if not already defined.
19817 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19818 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19819 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19820 (TLS_INIT_TP): Use it.
19821 (TLS_DEFINE_INIT_TP): New macro.
19822 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19823
19824 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19825
19826 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19827 constant.
19828 [POSIX] (IXANY): Likewise.
19829 [POSIX] (OLCUC): Likewise.
19830 [POSIX || POSIX2008] (CBAUD): Do not allow.
19831 [POSIX || POSIX2008] (DEFECHO): Likewise.
19832 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19833 [POSIX || POSIX2008] (ECHOKE): Likewise.
19834 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19835 [POSIX || POSIX2008] (EXTA): Likewise.
19836 [POSIX || POSIX2008] (EXTB): Likewise.
19837 [POSIX || POSIX2008] (FLUSHO): Likewise.
19838 [POSIX || POSIX2008] (LOBLK): Likewise.
19839 [POSIX || POSIX2008] (PENDIN): Likewise.
19840 [POSIX || POSIX2008] (SWTCH): Likewise.
19841 [POSIX || POSIX2008] (VDISCARD): Likewise.
19842 [POSIX || POSIX2008] (VDSUSP): Likewise.
19843 [POSIX || POSIX2008] (VLNEXT): Likewise.
19844 [POSIX || POSIX2008] (VREPRINT): Likewise.
19845 [POSIX || POSIX2008] (VSTATUS): Likewise.
19846 [POSIX || POSIX2008] (VWERASE): Likewise.
19847 (B*): Change to B[0123456789]*.
19848 * conform/data/time.h-data [POSIX || UNIX98]
19849 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19850 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19851 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19852 [POSIX] (tm_*): Do not allow.
19853
19854 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19855
19856 * Makefile (install): Don't set LANGUAGE.
19857 * Makefile.in (install): Likewise.
19858 * assert/Makefile (test-assert-ENV): Remove variable.
19859 (test-assert-perr-ENV): Likewise.
19860 * elf/Makefile (neededtest4-ENV): Likewise.
19861 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19862 [$(cross-compiling) = no]: Don't set LANGUAGE.
19863 * io/ftwtest-sh (LANG): Remove variable.
19864 * libio/Makefile (tst-widetext-ENV): Likewise.
19865 * manual/install.texi (Running make install): Don't refer to
19866 environment settings for make install.
19867 * INSTALL: Regenerated.
19868 * nptl/tst-tls6.sh: Don't set LANG.
19869 * posix/globtest.sh (LANG): Remove variable.
19870 * string/Makefile (tester-ENV): Likewise.
19871 (inl-tester-ENV): Likewise.
19872 (noinl-tester-ENV): Likewise.
19873 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19874 [$(cross-compiling) = no]: Don't set LANGUAGE.
19875 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19876 without explicit environment settings.
19877
19878 2014-06-06 Roland McGrath <roland@hack.frob.com>
19879
19880 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19881 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19882 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19883 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19884
19885 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19886
19887 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19888 other files in the crypt directory.
19889 * crypt/crypt.c: Remove duplicate includes.
19890 * crypt/crypt-entry.c: Likewise.
19891 * crypt/crypt_util.c: Likewise.
19892
19893 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19894
19895 * Makeconfig (run-program-env): New variable.
19896 (run-program-prefix-before-env): Likewise.
19897 (run-program-prefix-after-env): Likewise.
19898 (run-program-prefix): Define in terms of new variables.
19899 (built-program-cmd-before-env): New variable.
19900 (built-program-cmd-after-env): Likewise.
19901 (built-program-cmd): Define in terms of new variables.
19902 (test-program-prefix-before-env): New variable.
19903 (test-program-prefix-after-env): Likewise.
19904 (test-program-prefix): Define in terms of new variables.
19905 (test-program-cmd-before-env): New variable.
19906 (test-program-cmd-after-env): Likewise.
19907 (test-program-cmd): Define in terms of new variables.
19908 * Rules (make-test-out): Use $(run-program-env).
19909 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19910 (help): Do not mention environment variables. Mention
19911 --timeoutfactor option.
19912 (timeoutfactor): New variable.
19913 (blacklist_exports): Remove function.
19914 (exports): Remove variable.
19915 (command): Do not include ${exports}.
19916 * manual/install.texi (Configuring and compiling): Do not mention
19917 test wrappers preserving environment variables. Mention that last
19918 assignment to a variable must take precedence.
19919 * INSTALL: Regenerated.
19920 * benchtests/Makefile (run-bench): Use $(run-program-env).
19921 * catgets/Makefile ($(objpfx)test1.cat): Use
19922 $(built-program-cmd-before-env), $(run-program-env) and
19923 $(built-program-cmd-after-env).
19924 ($(objpfx)test2.cat): Do not specify environment variables
19925 explicitly.
19926 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19927 $(run-program-env) and $(built-program-cmd-after-env).
19928 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19929 $(run-program-env) and $(test-program-cmd-after-env).
19930 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19931 explicitly.
19932 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19933 run_program_env and test_program_cmd_after_env arguments.
19934 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19935 * elf/tst-pathopt.sh: Use run_program_env argument.
19936 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19937 $(test-wrapper-env) and $(run-program-env).
19938 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19939 run_program_env arguments.
19940 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19941 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19942 $(test-program-prefix-before-env), $(run-program-env) and
19943 $(test-program-prefix-after-env).
19944 ($(objpfx)tst-gettext2.out): Likewise.
19945 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19946 run_program_env and test_program_prefix_after_env arguments.
19947 * intl/tst-gettext2.sh: Likewise.
19948 * intl/tst-gettext4.sh: Do not set environment variables
19949 explicitly.
19950 * intl/tst-gettext6.sh: Likewise.
19951 * intl/tst-translit.sh: Likewise.
19952 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19953 $(test-program-prefix-before-env), $(run-program-env) and
19954 $(test-program-prefix-after-env).
19955 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19956 run_program_env and test_program_prefix_after_env arguments.
19957 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19958 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19959 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19960 explicitly with each use of ${test_wrapper_env}.
19961 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19962 $(test-program-prefix-before-env), $(run-program-env) and
19963 $(test-program-prefix-after-env).
19964 * posix/tst-getconf.sh: Do not set environment variables
19965 explicitly.
19966 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19967 run_program_env and test_program_prefix_after_env arguments.
19968 * stdio-common/tst-printf.sh: Do not set environment variables
19969 explicitly.
19970 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19971 $(test-program-prefix-before-env), $(run-program-env) and
19972 $(test-program-prefix-after-env).
19973 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19974 run_program_env and test_program_prefix_after_env arguments.
19975 Split $test calls into $test_pre and $test.
19976 * timezone/Makefile (build-testdata): Use
19977 $(built-program-cmd-before-env), $(run-program-env) and
19978 $(built-program-cmd-after-env).
19979
19980 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19981
19982 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19983 strlen for non SHARED builds.
19984
19985 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19986
19987 * nptl/allocatestack.c (check_list): Inlined function...
19988 (__reclaim_stacks): ... here.
19989
19990 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19991
19992 [BZ #15698]
19993 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19994 memory overrun.
19995
19996 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19997
19998 * Rules (make-test-out): Include
19999 LOCPATH=$(common-objpfx)localedata in default environment.
20000 * debug/Makefile (tst-chk1-ENV): Remove variable.
20001 (tst-chk2-ENV): Likewise.
20002 (tst-chk3-ENV): Likewise.
20003 (tst-chk4-ENV): Likewise.
20004 (tst-chk5-ENV): Likewise.
20005 (tst-chk6-ENV): Likewise.
20006 (tst-lfschk1-ENV): Likewise.
20007 (tst-lfschk2-ENV): Likewise.
20008 (tst-lfschk3-ENV): Likewise.
20009 (tst-lfschk4-ENV): Likewise.
20010 (tst-lfschk5-ENV): Likewise.
20011 (tst-lfschk6-ENV): Likewise.
20012 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20013 (tst-iconv7-ENV): Likewise.
20014 * intl/Makefile (LOCPATH-ENV): Likewise.
20015 (tst-codeset-ENV): Likewise.
20016 (tst-gettext3-ENV): Likewise.
20017 (tst-gettext5-ENV): Likewise.
20018 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20019 (tst-fopenloc-ENV): Likewise.
20020 (tst-fgetws-ENV): Remove variable.
20021 (tst-ungetwc1-ENV): Likewise.
20022 (tst-ungetwc2-ENV): Likewise.
20023 (bug-ungetwc2-ENV): Likewise.
20024 (tst-swscanf-ENV): Likewise.
20025 (bug-ftell-ENV): Likewise.
20026 (tst-fgetwc-ENV): Likewise.
20027 (tst-fseek-ENV): Likewise.
20028 (tst-ftell-partial-wide-ENV): Likewise.
20029 (tst-ftell-active-handler-ENV): Likewise.
20030 (tst-ftell-append-ENV): Likewise.
20031 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20032 (tst-regexloc-ENV): Likewise.
20033 (bug-regex1-ENV): Likewise.
20034 (tst-regex-ENV): Likewise.
20035 (tst-regex2-ENV): Likewise.
20036 (bug-regex5-ENV): Likewise.
20037 (bug-regex6-ENV): Likewise.
20038 (bug-regex17-ENV): Likewise.
20039 (bug-regex18-ENV): Likewise.
20040 (bug-regex19-ENV): Likewise.
20041 (bug-regex20-ENV): Likewise.
20042 (bug-regex22-ENV): Likewise.
20043 (bug-regex23-ENV): Likewise.
20044 (bug-regex25-ENV): Likewise.
20045 (bug-regex26-ENV): Likewise.
20046 (bug-regex30-ENV): Likewise.
20047 (bug-regex32-ENV): Likewise.
20048 (bug-regex33-ENV): Likewise.
20049 (bug-regex34-ENV): Likewise.
20050 (bug-regex35-ENV): Likewise.
20051 (tst-rxspencer-ENV): Likewise.
20052 (tst-rxspencer-no-utf8-ENV): Likewise.
20053 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20054 (tst-sscanf-ENV): Likewise.
20055 (tst-swprintf-ENV): Likewise.
20056 (tst-swscanf-ENV): Likewise.
20057 (test-vfprintf-ENV): Likewise.
20058 (scanf13-ENV): Likewise.
20059 (bug14-ENV): Likewise.
20060 (tst-grouping-ENV): Likewise.
20061 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20062 (tst-strtod3-ENV): Likewise.
20063 (tst-strtod4-ENV): Likewise.
20064 (tst-strtod5-ENV): Likewise.
20065 (testmb2-ENV): Likewise./
20066 * string/Makefile (tst-strxfrm-ENV): Likewise.
20067 (tst-strxfrm2-ENV): Likewise.
20068 (bug-strcoll1-ENV): Likewise.
20069 (test-strcasecmp-ENV): Likewise.
20070 (test-strncasecmp-ENV): Likewise.
20071 * time/Makefile (tst-strptime-ENV): Likewise.
20072 (tst-ftime_l-ENV): Likewise.
20073 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20074 (tst-mbrtowc-ENV): Likewise.
20075 (tst-wcrtomb-ENV): Likewise.
20076 (tst-mbrtowc2-ENV): Likewise.
20077 (tst-c16c32-1-ENV): Likewise.
20078 (tst-mbsnrtowcs-ENV): Likewise.
20079
20080 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20081
20082 * manual/resource.texi (How to get information about the memory
20083 subsystem?): Fix typo.
20084 Reported by Peon de la Parra Ivan <peon@keba.com>
20085
20086 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20087
20088 [BZ #16882]
20089 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20090 (pthread_spin_lock): Branch out of spin loop to proper location.
20091 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20092 (pthread_spin_lock): Likewise.
20093
20094 * nptl/tst-spin4.c: New test.
20095 * nptl/Makefile (tests): Add tst-spin4.
20096
20097 2014-06-03 Andreas Schwab <schwab@suse.de>
20098
20099 [BZ #15946]
20100 * resolv/res_send.c (send_dg): Reload file descriptor after
20101 calling reopen.
20102
20103 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20104
20105 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20106
20107 2014-06-03 Richard Henderson <rth@redhat.com>
20108
20109 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20110 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20111 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20112 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20113 in the SAVE_PID block.
20114 (__libc_vfork): New alias.
20115 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20116
20117 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20118 child in registers, not on the stack. Remove RESET_PID conditionals.
20119 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20120
20121 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20122
20123 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20124
20125 2014-06-03 Wilco <wdijkstr@arm.com>
20126
20127 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20128 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20129 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20130 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20131 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20132 Likewise.
20133
20134 2014-06-03 Wilco <wdijkstr@arm.com>
20135
20136 * sysdeps/aarch64/fpu/math_private.h
20137 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20138 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20139 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20140 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20141 Fix declarations.
20142
20143 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20144
20145 * crypt/crypt-private.h: Include ufc-crypt.h.
20146 (__b64_from_24bit): Declare extern.
20147 * crypt/crypt_util.c(__b64_from_24bit): New function.
20148 (b64t): New static const variable.
20149 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20150 (b64t): Remove variable.
20151 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20152 * crypt/sha256-crypt.c: Include crypt-private.h.
20153 (b64t): Remove variable.
20154 (__sha256_crypt_r): Remove b64_from_24bit and replace
20155 with __b64_from_24bit.
20156 * crypt/sha512-crypt.c: Likewise.
20157
20158 2014-06-02 Roland McGrath <roland@hack.frob.com>
20159
20160 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20161 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20162 Label the code __libc_vfork rather than __vfork.
20163 [!NOT_IN_libc] (vfork): Define as weak alias.
20164 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20165 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20166 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20167
20168 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20169
20170 * malloc/malloc.c (malloc_info): Fix format specifier for
20171 n_mmaps.
20172
20173 2014-06-02 Wilco <wdijkstr@arm.com>
20174
20175 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20176 FPCR write.
20177
20178 2014-06-02 Wilco <wdijkstr@arm.com>
20179
20180 [BZ #17009]
20181 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20182 Rewrite to reduce FPCR/FPSR accesses.
20183
20184 2014-06-01 David S. Miller <davem@davemloft.net>
20185
20186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20187
20188 2014-05-31 David S. Miller <davem@davemloft.net>
20189
20190 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20191 to occur in round to nearest mode when |x| >= 2.0
20192
20193 2014-05-30 Richard Henderson <rth@twiddle.net>
20194
20195 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20196 (PSEUDO_RET_NOERRNO): Remove.
20197 (ret): Don't redefine.
20198 (ret_NOERRNO): Define in terms of ret.
20199 (ret_ERRVAL): Likewise.
20200
20201 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20202 use of PSEUDO_RET; perform the error check directly.
20203
20204 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20205
20206 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20207 with __int128_t.
20208
20209 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20210
20211 * malloc/malloc (malloc_info): Fix formatting.
20212
20213 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20214 Roland McGrath <roland@hack.frob.com>
20215
20216 * malloc/malloc (malloc_info): Also print mmapped statistics.
20217
20218 2014-05-30 Roland McGrath <roland@hack.frob.com>
20219
20220 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20221 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20222
20223 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20224
20225 * malloc/malloc.c (malloc_info): Inline mi_arena.
20226
20227 2014-05-29 Richard Henderson <rth@twiddle.net>
20228
20229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20230 Remove comma before expanding ASM_ARGS_##nr.
20231 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20232 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20233 of ASM_ARGS_##nr.
20234 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20235 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20236 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20237 (ASM_ARGS_1): Add leading comma.
20238
20239 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20240 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20241 to __errno_location.
20242 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20243 Remove the expected plt for __errno_location.
20244
20245 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20246 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20247 call to __read_tp.
20248
20249 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20250 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20251 it and break it down.
20252 (DOCARGS_0, DOCARGS_1): Do nothing.
20253 (DOCARGS_2): Update to store into the new stack frame.
20254 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20255 (UNDOCARGS_1): Update to restore from the new stack frame.
20256 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20257 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20258
20259 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20260 (SINGLE_THREAD_P): New parameter for result regno.
20261 (PSEUDO): Update to match; use cbz instead of beq.
20262
20263 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20264 Use ENTRY to define the _nocancel entry point. Share the syscall
20265 and syscall error check paths with the cancel path.
20266 (PSEUDO_END): New.
20267
20268 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20269 whitespace; tabs before and after asm mnemonics.
20270
20271 2014-05-29 Eric Wong <normalperson@yhbt.net>
20272
20273 [BZ #15132]
20274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20275 Call fstat64 or stat64 internally, depending on arguments passed.
20276 Replace stat buffer argument with file descriptor argument.
20277 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20278 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20279 Pass fd to __internal_statvfs instead of calling fstat64.
20280 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20281 Pass fd to __internal_statvfs64 instead of calling fstat64.
20282 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20283 Pass -1 to __internal_statvfs instead of calling stat64.
20284 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20285 Pass -1 to __internal_statvfs64 instead of calling stat64.
20286
20287 2014-05-28 Roland McGrath <roland@hack.frob.com>
20288
20289 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20290 that was previously under [RESET_PID].
20291 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20292
20293 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20294 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20295
20296 2014-05-27 Roland McGrath <roland@hack.frob.com>
20297
20298 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20299
20300 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20301 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20302
20303 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20304
20305 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20306
20307 2014-05-27 Andreas Schwab <schwab@suse.de>
20308
20309 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20310 TLS_INIT_TP macro.
20311 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20312 * elf/rtld.c (init_tls, dl_main): Likewise.
20313 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20314 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20315 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20316 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20317 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20318 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20319 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20320 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20321 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20322 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20323 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20324 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20325 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20326 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20327 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20328 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20329 * sysdeps/generic/tls.h: Update description.
20330
20331 2014-05-27 Will Newton <will.newton@linaro.org>
20332
20333 [BZ #16990]
20334 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20335 and restore r2 rather than just restoring.
20336
20337 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20338
20339 [BZ #16724]
20340 * libio/tst-ftell-append.c: New test case.
20341 * libio/Makefile (tests): Add test case.
20342 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20343 append mode.
20344 * libio/wfileops.c (do_ftell_wide): Likewise.
20345
20346 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20347
20348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20349
20350 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20351 ...
20352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20354 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20355 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20356 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20357 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20358 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20359 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20360 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20361 Moved ...
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20363 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20364 Moved ...
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20366 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20367 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20368 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20369 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20370 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20371 ...
20372 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20373 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20374 Moved ...
20375 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20376 here.
20377 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20378 ...
20379 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20380 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20381 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20382
20383 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20384 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20385 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20386 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20387
20388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20389 merge into ...
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20392 ...
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20394 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20395 ...
20396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20398 Moved ...
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20400 here.
20401 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20402 Moved ...
20403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20404 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20405 Moved ...
20406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20407
20408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20409 conditional [RESET_PID].
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20412 removed.
20413 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20414 removed.
20415
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20417 <tcb-offsets.h>.
20418 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20419 (__libc_vfork): New strong alias.
20420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20421 removed.
20422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20423 Removed.
20424
20425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20426 <tcb-offsets.h>.
20427 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20428 (__libc_vfork): New strong alias.
20429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20430 removed.
20431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20432 removed.
20433
20434 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20435
20436 * malloc/malloc.c (mi_arena): New function.
20437 (malloc_info): Remove nested function mi_arena. Call non-nosted
20438 function mi_arena.
20439
20440 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20441
20442 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20443 by insrwi.
20444 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20445 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20446 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20447 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20448 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20449 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20450 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20451
20452 2014-05-26 Andreas Schwab <schwab@suse.de>
20453
20454 [BZ #16984]
20455 * locale/programs/repertoire.c (repertoire_read): Add slash
20456 between I18NPATH element and file name.
20457 * locale/programs/locfile.c (locfile_read): Likewise.
20458
20459 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20460
20461 * nptl/pthread_mutexattr_settype.c
20462 (__pthread_mutexattr_settype):
20463 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20464
20465 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20466
20467 * nptl/tst-mutex5 (do_test):
20468 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20469
20470 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20471
20472 * benchtests/README: Document 'init' directive.
20473 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20474 BENCH_INIT.
20475 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20476 (parse_file): Recognize 'init' directive.
20477
20478 2014-05-26 Kyle McMartin <kyle@redhat.com>
20479
20480 [BZ #16796]
20481 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20482 alignment of struct pthread.
20483
20484 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20485
20486 [BZ #16878]
20487 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20488 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20489 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20490 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20491
20492 2014-05-25 Richard Henderson <rth@twiddle.net>
20493
20494 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20495 (SINGLE_THREAD_P_PIC): Remove.
20496 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20497 (SINGLE_THREAD_P_PIC): Remove.
20498
20499 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20500 branch to syscall error ...
20501 (PSEUDO): ... here.
20502 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20503 from __local_syscall_error to .Lsyscall_error.
20504 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20505 (SYSCALL_ERROR): Update label name.
20506
20507 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20508 Do not use DOARGS/UNDOARGS.
20509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20510 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20511 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20512 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20513 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20514
20515 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20516 block comment.
20517
20518 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20519 define if !NOT_IN_libc.
20520 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20521 define with non-default symbol versions.
20522
20523 2014-05-23 Richard Henderson <rth@twiddle.net>
20524
20525 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20526 (vfork, __vfork): Define via compat_symbol.
20527
20528 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20529 [!HAVE_IFUNC] (vfork_compat): Remove.
20530 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20531
20532 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20533
20534 [BZ #16978]
20535 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20536 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20537 variable.
20538
20539 2014-05-23 Richard Henderson <rth@twiddle.net>
20540
20541 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20542 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20543 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20544 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20545
20546 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20547 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20548 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20549 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20550 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20551 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20552 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20553 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20554 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20555 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20556 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20557 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20558 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20559 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20560 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20561 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20562 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20563 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20564 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20565 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20566 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20567 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20568 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20569 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20570 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20571 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20572 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20573 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20574 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20575 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20576 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20577 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20578 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20579 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20580 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20581 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20582 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20583 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20584 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20585 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20586 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20587 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20588 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20589 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20590 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20591 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20593 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20594 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20595 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20596 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20597 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20598 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20599 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20600 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20601 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20602
20603 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20604 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20605 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20606 before exiting on error.
20607 (__libc_vfork): New strong alias.
20608 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20609 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20610
20611 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20612 that was previously under [RESET_PID].
20613 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20614
20615 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20616
20617 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20618
20619 [BZ #16977]
20620 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20621 value when x - 1 is zero.
20622 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20623 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20624 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20625 0.0L for an argument of 1.0L.
20626 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20627 Likewise.
20628 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20629 value when x - 1 is zero.
20630 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20631 * sysdeps/i386/fpu/libm-test-ulps: Update.
20632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20633
20634 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20635
20636 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20637 alphasort and versionsort.
20638
20639 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20640
20641 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20642 macro.
20643 [copysignf]: Likewise.
20644
20645 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20646
20647 * crypt/md5-crypt.c: Fix formatting.
20648
20649 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20650
20651 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20652 (b64_from_24bit): New function.
20653
20654 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20655
20656 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20657 libc_hidden_builtin_def to ifunc.
20658 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20659 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20660
20661 2014-05-21 Roland McGrath <roland@hack.frob.com>
20662
20663 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20664 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20665
20666 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20667
20668 * nscd/Depend (linuxthreads): Remove.
20669 (nptl): Add.
20670 * resolv/Depend (linuxthreads): Remove.
20671 * rt/Depend (linuxthreads): Remove.
20672
20673 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20674 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20675 $(common-objpfx)elf/.
20676 (link-libc-before-gnulib): Likewise.
20677 (elfobjdir): Remove variable.
20678 * Makefile (install): Use $(elf-objpfx) instead of
20679 $(common-objpfx)elf/.
20680 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20681 $(elfobjdir)/.
20682 (link-libc-deps): Likewise.
20683 ($(common-objpfx)libc.so): Likewise.
20684 ($(common-objpfx)linkobj/libc.so): Likewise.
20685 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20686 instead of $(common-objpfx)elf/.
20687 (symbolic-link-list): Likewise.
20688 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20689 [$(cross-compiling) = no]: Likewise.
20690 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20691 $(elfobjdir)/.
20692 (static-gnulib-arch): Likewise.
20693 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20694 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20695 $(common-objpfx)elf/.
20696
20697 2014-05-21 Richard Henderson <rth@redhat.com>
20698
20699 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20700 (SINGLE_THREAD_P): Use the correct width load. Fold
20701 into the ldr offset.
20702
20703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20704 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20705
20706 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20707
20708 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20709 (libgcc_s_resume): Use __attribute_used__.
20710 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20711 Likewise.
20712
20713 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20714
20715 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20716 optimization when used with float constants.
20717
20718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20719
20720 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20721
20722 [BZ #16915]
20723 * locale/nl_langinfo_l.c: Make direct reference to every
20724 _nl_current_CATEGORY symbol.
20725 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20726 (tests-static): Add tst-langinfo-static.
20727 (tests-special): Add tst-langinfo-static.out.
20728 ($(objpfx)tst-langinfo.out): Redirect output.
20729 ($(objpfx)tst-langinfo-static.out): New.
20730 * localedata/tst-langinfo.sh: Send output to stdout.
20731 * localedata/tst-langinfo-static.c: New file.
20732
20733 [BZ #16965]
20734 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20735 when the shift amount is modulo the limb size.
20736
20737 2014-05-20 Richard Henderson <rth@redhat.com>
20738
20739 [BZ #16967]
20740 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20741 Change type of sa_flags from unsigned int to int.
20742
20743 [BZ #16966]
20744 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20745
20746 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20747
20748 2014-05-20 Will Newton <will.newton@linaro.org>
20749
20750 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20751 Test the return value of the system call in the nocancel case.
20752
20753 2014-05-20 Will Newton <will.newton@linaro.org>
20754 Yvan Roux <yvan.roux@linaro.org>
20755
20756 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20757 #include of asm/ptrace.h.
20758 (PTRACE_GET_THREAD_AREA): Remove #undef.
20759 (PTRACE_GETHBPREGS): Likewise.
20760 (PTRACE_SETHBPREGS): Likewise.
20761 (struct user_regs_struct): New structure.
20762 (struct user_fpsimd_struct): New structure.
20763 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20764 #include of asm/ptrace.h and second #include of sys/user.h.
20765 (PTRACE_GET_THREAD_AREA): Remove #undef.
20766 (PTRACE_GETHBPREGS): Likewise.
20767 (PTRACE_SETHBPREGS): Likewise.
20768 (ELF_NGREG): Use new struct user_regs_struct.
20769 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20770
20771 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20772
20773 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20774 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20775
20776 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20777
20778 [BZ #16958]
20779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20780 membar to avoid block loads/stores to overlap previous stores.
20781
20782 2014-05-17 Richard Henderson <rth@redhat.com>
20783
20784 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20785 Create the __##syscall_name##_nocancel entry point.
20786 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20787 Remove; let the sysdep-cancel.h code create it.
20788
20789 2014-05-17 David S. Miller <davem@davemloft.net>
20790
20791 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20792 Protect with __USE_GNU.
20793 (TIOCSET_TEMPT): Likewise.
20794 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20795 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20796 these are already provided in bits/ioctl-types.h
20797
20798 2014-05-16 Roland McGrath <roland@hack.frob.com>
20799
20800 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20801 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20802
20803 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20804 Use wait4 regardless of [__NR_waitpid].
20805
20806 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20807
20808 PR libgcc/60166
20809 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20810 (_FP_NANSIGN_Q): Set the quiet bit.
20811
20812 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20813
20814 * benchtests/Makefile
20815 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20816 not $(common-objpfx)math/libm.so.
20817 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20818 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20819 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20820 $(common-objpfx)dlfcn/libdl.so.
20821 ($(objpfx)tst-audit8): Depend on $(libm), not
20822 $(common-objpfx)math/libm.so.
20823 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20824 not $(common-objpfx)dlfcn/libdl.so.
20825 * math/Makefile
20826 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20827 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20828 [$(build-shared) = yes].
20829 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20830 $(common-objpfx)nptl/libpthread.so.
20831 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20832 $(common-objpfx)math/libm.so$(libm.so-version) or
20833 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20834 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20835 $(common-objpfx)dlfcn/libdl.so.
20836 * setjmp/Makefile (link-libm): Remove variable.
20837 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20838 * stdio-common/Makefile (link-libm): Remove variable.
20839 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20840 * stdlib/Makefile (link-libm): Remove variable.
20841 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20842 ($(objpfx)tst-strtod-round): Likewise.
20843 ($(objpfx)tst-tininess): Likewise.
20844 ($(objpfx)tst-strtod-underflow): Likewise.
20845 ($(objpfx)tst-strtod6): Likewise.
20846 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20847 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20848 $(common-objpfx)dlfcn/libdl.so.
20849
20850 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20851
20852 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20853 BSD terminal modes definitions.
20854
20855 2014-05-16 Roland McGrath <roland@hack.frob.com>
20856
20857 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20858 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20859
20860 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20861 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20862 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20863 Don't do #include_next.
20864 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20865 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20866 Don't do #include_next.
20867 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20868 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20869 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20870 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20871
20872 2014-05-16 Allan McRae <allan@archlinux.org>
20873
20874 * po/sv.po: Update Swedish translation from translation project.
20875
20876 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20877 in sed expression.
20878
20879 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20880
20881 [BZ #16917]
20882 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20883 errno if the TIOCGPTN ioctl fails with an error different than
20884 EINVAL.
20885 * login/tst-ptsname.c: New file.
20886 * login/Makefile (tests): Add tst-ptsname.
20887
20888 [BZ #16943]
20889 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20890 and prlimit64.
20891
20892 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20893
20894 [BZ #16849]
20895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20896 herrno to return EAI_AGAIN.
20897
20898 2014-05-14 Roland McGrath <roland@hack.frob.com>
20899
20900 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20901 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20902 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20903 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20904 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20905 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20906 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20907 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20908 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20909 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20910 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20911 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20912 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20913 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20914 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20915 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20916 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20917 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20918 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20919 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20920 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20921 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20922 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20923 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20924 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20925 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20926 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20927 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20928 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20929 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20931 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20933 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20935 Moved ...
20936 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20938 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20940 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20942 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20944 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20946 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20948 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20950 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20952 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20954 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20956 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20958 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20960 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20962 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20964 Moved ...
20965 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20967 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20969 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20971 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20973 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20975 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20977 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20979 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20981 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20983 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20985 Moved ...
20986 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20988 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20989
20990 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20991 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20992 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20993 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20994 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20995 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20996 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20997 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20998 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20999 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21000 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21001 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21002 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21003 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21004 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21005 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21006 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21007 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21008 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21009 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21010 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21011 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21012 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21013 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21014 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21015 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21016 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21017 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21018 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21019 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21020 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21021
21022 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21023 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21024
21025 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21026 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21027 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21028 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21029 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21030 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21031 Moved ...
21032 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21033 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21034 Moved ...
21035 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21036 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21037 Moved ...
21038 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21039 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21040 Moved ...
21041 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21042 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21043 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21044 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21045 Moved ...
21046 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21047 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21048 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21049 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21050 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21051 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21052 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21053 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21054 Moved ...
21055 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21056 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21057 Moved ...
21058 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21059 ... here.
21060 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21061 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21062 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21063 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21064 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21065 Moved ...
21066 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21067 ... here.
21068 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21069 Moved ...
21070 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21071 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21072 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21073 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21074 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21075 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21076 Moved ...
21077 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21078 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21079 Moved ...
21080 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21081 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21082 Moved ...
21083 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21084 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21085 Moved ...
21086 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21087 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21088 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21089 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21090 Moved ...
21091 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21092 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21093 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21094 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21095 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21096 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21097 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21098 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21099 Moved ...
21100 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21101 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21102 Moved ...
21103 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21104 ... here.
21105 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21106 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21107 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21108 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21109 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21110 Moved ...
21111 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21112 ... here.
21113 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21114 Moved ...
21115 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21116 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21117 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21118 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21119 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21120 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21121 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21122 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21123 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21124 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21125 Moved ...
21126 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21127 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21128 Moved ...
21129 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21130 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21131 Moved ...
21132 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21133 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21134 Moved ...
21135 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21136 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21137 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21138 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21139 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21140 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21141 Moved ...
21142 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21143 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21144 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21145 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21146 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21147 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21148 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21149 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21150 Moved ...
21151 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21152 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21153 Moved ...
21154 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21155 ... here.
21156 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21157 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21158 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21159 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21160 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21161 Moved ...
21162 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21163 ... here.
21164 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21165 Moved ...
21166 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21167 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21168 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21169 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21170 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21171 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21172 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21173 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21174 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21175 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21176 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21177
21178 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21179 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21180
21181 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21182 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21183
21184 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21185 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21186 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21187 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21188 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21189 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21190 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21191 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21192 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21193 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21194 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21195 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21196 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21197 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21198 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21200 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21202 Moved ...
21203 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21204 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21205 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21206 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21207 Moved ...
21208 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21209 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21210 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21211 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21212 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21214 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21216 Moved ...
21217 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21218 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21219 Moved ...
21220 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21221 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21222 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21223 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21224 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21225 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21226 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21227 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21228 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21229 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21230 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21231 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21232 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21233 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21234 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21235 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21236 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21237
21238 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21239 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21240 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21241 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21242 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21243
21244 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21245 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21246 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21247 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21248 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21249 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21250 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21251 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21252 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21253 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21254
21255 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21256 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21257
21258 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21259 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21260 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21261 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21262 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21263 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21264 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21265 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21266 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21267 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21268 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21269 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21270 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21271 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21273 Update #include.
21274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21275 Likewise.
21276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21277 Likewise.
21278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21279 Likewise.
21280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21281 Likewise.
21282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21283 Likewise.
21284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21285 Likewise.
21286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21287 Likewise.
21288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21289 Likewise.
21290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21291 Likewise.
21292 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21293 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21295 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21296 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21297 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21298 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21299 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21300 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21301 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21302 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21303 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21304 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21305 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21306 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21307
21308 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21309 that was previously under [RESET_PID].
21310 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21311 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21312 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21313
21314 * sysdeps/i386/nptl/Implies: New file.
21315 * sysdeps/x86_64/nptl/Implies: New file.
21316 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21317 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21318 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21319 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21320
21321 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21322 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21323 (__libc_vfork): New strong alias.
21324 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21325 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21326
21327 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21328 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21329 (__libc_vfork): New strong alias.
21330 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21331 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21332
21333 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21334 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21335 (__libc_vfork): New strong alias.
21336 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21337 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21338 * nptl/pt-vfork.c: New file.
21339 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21340 (libpthread: GLIBC_2.20): New version set (empty).
21341
21342 2014-05-14 Will Newton <will.newton@linaro.org>
21343
21344 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21345 rather than #if.
21346
21347 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21348
21349 [BZ #16564]
21350 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21351 arguments with exponent 65 or above.
21352 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21353 arguments 0x1p113L or above.
21354 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21355 to arguments 0x1p107L or above.
21356 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21357 positive arguments with exponent 65 or above.
21358 * math/auto-libm-test-in: Add more tests of log1p.
21359 * math/auto-libm-test-out: Regenerated.
21360
21361 [BZ #16928]
21362 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21363 non-finite arguments is +0.
21364 * math/s_cacosf.c (__cacosf): Likewise.
21365 * math/s_cacosl.c (__cacosl): Likewise.
21366 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21367 * sysdeps/i386/fpu/libm-test-ulps: Update.
21368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21369
21370 [BZ #16927]
21371 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21372 value.
21373 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21374 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21375 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21376 for explicit high bit of mantissa when testing for argument equal
21377 to 1.
21378 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21379 * sysdeps/i386/fpu/libm-test-ulps: Update.
21380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21381
21382 [BZ #16516]
21383 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21384 (__erf): Scale by 16 instead of 8 in potentially underflowing
21385 case. Ensure exception if result actually underflows.
21386 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21387 (__erff): Scale by 16 instead of 8 in potentially underflowing
21388 case. Ensure exception if result actually underflows.
21389 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21390 (efx8): Remove variable.
21391 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21392 case. Ensure exception if result actually underflows.
21393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21394 (efx8): Remove variable.
21395 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21396 case. Ensure exception if result actually underflows.
21397 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21398 (efx8): Remove variable.
21399 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21400 case. Ensure exception if result actually underflows.
21401 * math/auto-libm-test-in: Add more tests of erf.
21402 * math/auto-libm-test-out: Regenerated.
21403
21404 2014-05-14 Andreas Schwab <schwab@suse.de>
21405
21406 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21407 Remove code conditionalized on USE___THREAD.
21408
21409 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21410 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21411 not definedness.
21412
21413 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21414
21415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21416 Define unconditionally.
21417 (__ASSUME_O_CLOEXEC): Likewise.
21418 (__ASSUME_SOCK_CLOEXEC): Likewise.
21419 (__ASSUME_IN_NONBLOCK): Likewise.
21420 (__ASSUME_PIPE2): Likewise.
21421 (__ASSUME_EVENTFD2): Likewise.
21422 (__ASSUME_SIGNALFD4): Likewise.
21423 (__ASSUME_DUP3): Likewise.
21424 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21425 (__ASSUME_DUP3): Do not define.
21426 (__ASSUME_EVENTFD2): Likewise.
21427 (__ASSUME_IN_NONBLOCK): Likewise.
21428 (__ASSUME_O_CLOEXEC): Likewise.
21429 (__ASSUME_PIPE2): Likewise.
21430 (__ASSUME_SIGNALFD4): Likewise.
21431 (__ASSUME_SOCK_CLOEXEC): Likewise.
21432 (__ASSUME_UTIMES): Undefine.
21433 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21434 (__ASSUME_UTIMES): Do not define.
21435 (__ASSUME_O_CLOEXEC): Likewise.
21436 (__ASSUME_SOCK_CLOEXEC): Likewise.
21437 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21438 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21439 0x020621].
21440 (__ASSUME_PIPE2): Likewise.
21441 (__ASSUME_EVENTFD2): Likewise.
21442 (__ASSUME_SIGNALFD4): Likewise.
21443 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21444 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21445 Do not define.
21446 (__ASSUME_EVENTFD2): Likewise.
21447 (__ASSUME_SIGNALFD4): Likewise.
21448 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21449 (__ASSUME_32BITUIDS): Likewise.
21450 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21451 (__ASSUME_IPC64): Likewise.
21452 (__ASSUME_ST_INO_64_BIT): Likewise.
21453 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21454 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21455 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21456 (__ASSUME_UTIMES): Do not define.
21457 (__ASSUME_PSELECT): Likewise.
21458 (__ASSUME_PPOLL): Likewise.
21459 (__ASSUME_O_CLOEXEC): Likewise.
21460 (__ASSUME_SOCK_CLOEXEC): Likewise.
21461 (__ASSUME_IN_NONBLOCK): Likewise.
21462 (__ASSUME_PIPE2): Likewise.
21463 (__ASSUME_EVENTFD2): Likewise.
21464 (__ASSUME_SIGNALFD4): Likewise.
21465 (__ASSUME_DUP3): Likewise.
21466 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21467 (__ASSUME_UTIMES): Likewise.
21468 (__ASSUME_O_CLOEXEC): Likewise.
21469 (__ASSUME_SOCK_CLOEXEC): Likewise.
21470 (__ASSUME_IN_NONBLOCK): Likewise.
21471 (__ASSUME_PIPE2): Likewise.
21472 (__ASSUME_EVENTFD2): Likewise.
21473 (__ASSUME_SIGNALFD4): Likewise.
21474 (__ASSUME_DUP3): Likewise.
21475 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21476 (__ASSUME_UTIMES): Likewise.
21477 (__ASSUME_O_CLOEXEC): Likewise.
21478 (__ASSUME_SOCK_CLOEXEC): Likewise.
21479 (__ASSUME_IN_NONBLOCK): Likewise.
21480 (__ASSUME_PIPE2): Likewise.
21481 (__ASSUME_EVENTFD2): Likewise.
21482 (__ASSUME_SIGNALFD4): Likewise.
21483 (__ASSUME_DUP3): Likewise.
21484 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21485 Likewise.
21486 (__ASSUME_UTIMES): Likewise.
21487 (__ASSUME_EVENTFD2): Likewise.
21488 (__ASSUME_SIGNALFD4): Likewise.
21489 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21490 (__ASSUME_O_CLOEXEC): Likewise.
21491 (__ASSUME_SOCK_CLOEXEC): Likewise.
21492 (__ASSUME_IN_NONBLOCK): Likewise.
21493 (__ASSUME_PIPE2): Likewise.
21494 (__ASSUME_EVENTFD2): Likewise.
21495 (__ASSUME_SIGNALFD4): Likewise.
21496 (__ASSUME_DUP3): Likewise.
21497 (__ASSUME_UTIMES): Undefine.
21498
21499 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21500 feclearexcept. Remove symbol versioning code.
21501 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21502 symbol versioning code.
21503 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21504 symbol versioning code.
21505 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21506 feupdateenv. Remove symbol versioning code.
21507 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21508 fegetexceptflag. Remove symbol versioning code.
21509 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21510 fesetexceptflag. Remove symbol versioning code.
21511 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21512 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21513 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21514 (__posix_fadvise64_l32): Remove prototype.
21515 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21516 code.
21517
21518 2014-05-13 Roland McGrath <roland@hack.frob.com>
21519
21520 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21521 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21522 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21523 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21524
21525 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21526
21527 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21528 current working directory
21529
21530 2014-05-13 Roland McGrath <roland@hack.frob.com>
21531
21532 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21533 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21534 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21535 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21536 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21537 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21538 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21539 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21540 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21541 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21542 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21543 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21544 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21545 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21546 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21547 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21548 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21549 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21550 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21551 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21552 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21553 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21554 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21555 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21556 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21557 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21558 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21559 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21560 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21561 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21562 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21563 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21564 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21565 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21566 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21567 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21568 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21569 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21570 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21571 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21572 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21573 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21574
21575 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21576 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21577
21578 * sysdeps/unix/sysv/linux/arm/Makefile
21579 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21580 Add rt-aeabi_unwind_cpp_pr1.
21581 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21582 Add nptl-aeabi_unwind_cpp_pr1.
21583 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21584 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21585 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21586 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21587 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21588 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21589
21590 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21591 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21592 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21593 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21594
21595 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21596 Deconditionalize the code that was previously under [RESET_PID].
21597 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21598
21599 * sysdeps/generic/exit-thread.h: New file.
21600 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21601 * include/unistd.h (__exit_thread): Remove declaration.
21602 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21603 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21604 * csu/libc-start.c: Include <exit-thread.h>.
21605 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21606 * nptl/pthread_create.c: Include <exit-thread.h>.
21607 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21608 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21609 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21610 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21611 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21612 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21613 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21614 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21615 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21616 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21617 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21618 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21619 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21620 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21621 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21622 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21623 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21624
21625 2014-05-13 Andreas Schwab <schwab@suse.de>
21626
21627 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21628
21629 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21630
21631 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21632 (__ASSUME_UTIMES): Do not condition on kernel version.
21633 (__ASSUME_PSELECT): Define unconditionally.
21634 (__ASSUME_PPOLL): Likewise.
21635 (__ASSUME_ATFCTS): Likewise.
21636 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21637 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21638 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21639 (__ASSUME_UTIMENSAT): Define unconditionally.
21640 (__ASSUME_PRIVATE_FUTEX): Likewise.
21641 (__ASSUME_FALLOCATE): Likewise.
21642 (__ASSUME_O_CLOEXEC): Likewise.
21643 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21644 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21645 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21646 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21647 (__ASSUME_IN_NONBLOCK): Likewise.
21648 (__ASSUME_PIPE2): Likewise.
21649 (__ASSUME_EVENTFD2): Likewise.
21650 (__ASSUME_SIGNALFD4): Likewise.
21651 (__ASSUME_DUP3): Likewise.
21652 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21653 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21654 (__ASSUME_AT_RANDOM): Likewise.
21655 (__ASSUME_PREADV): Likewise.
21656 (__ASSUME_PWRITEV): Likewise.
21657 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21658 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21659 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21660 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21661 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21662 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21663 (__ASSUME_O_CLOEXEC): Define unconditionally.
21664 (__ASSUME_PSELECT): Do not undefine conditionally.
21665 (__ASSUME_PPOLL): Likewise.
21666 (__ASSUME_ATFCTS): Likewise.
21667 (__ASSUME_SET_ROBUST_LIST): Likewise.
21668 (__ASSUME_UTIMENSAT): Likewise.
21669 (__ASSUME_FDATASYNC): Define unconditionally.
21670 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21671 (__ASSUME_SIGFRAME_V2): Likewise.
21672 )__ASSUME_EVENTFD2): Likewise.
21673 (__ASSUME_SIGNALFD4): Likewise.
21674 (__ASSUME_PSELECT): Do not undefine conditionally.
21675 (__ASSUME_PPOLL): Likewise.
21676 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21677 (__ASSUME_PSELECT): Define unconditionally.
21678 (__ASSUME_PPOLL): Likewise.
21679 (__ASSUME_O_CLOEXEC): Likewise.
21680 (__ASSUME_SOCK_CLOEXEC): Likewise.
21681 (__ASSUME_IN_NONBLOCK): Likewise.
21682 (__ASSUME_PIPE2): Likewise.
21683 (__ASSUME_EVENTFD2): Likewise.
21684 (__ASSUME_SIGNALFD4): Likewise.
21685 (__ASSUME_DUP3): Likewise.
21686 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21687 (__ASSUME_O_CLOEXEC): Likewise.
21688 (__ASSUME_SOCK_CLOEXEC): Likewise.
21689 (__ASSUME_IN_NONBLOCK): Likewise.
21690 (__ASSUME_PIPE2): Likewise.
21691 (__ASSUME_EVENTFD2): Likewise.
21692 (__ASSUME_SIGNALFD4): Likewise.
21693 (__ASSUME_DUP3): Likewise.
21694 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21695 (__ASSUME_EVENTFD2): Likewise.
21696 (__ASSUME_SIGNALFD4): Likewise.
21697 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21698
21699 2014-05-12 Andreas Schwab <schwab@suse.de>
21700
21701 [BZ #16932]
21702 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21703 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21704 than maximum RPC packet size.
21705 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21706 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21707 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21708 (_nss_nis_getservbyport_r): Likewise.
21709
21710 2014-05-12 Will Newton <will.newton@linaro.org>
21711
21712 * malloc/Makefile (tests): Add tst-mallopt.
21713 * malloc/tst-mallopt.c: New file.
21714
21715 2014-05-09 Roland McGrath <roland@hack.frob.com>
21716
21717 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21718 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21719
21720 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21721
21722 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21723 (tst-tlsmod6.so): Likewise.
21724
21725 2014-05-09 Roland McGrath <roland@hack.frob.com>
21726
21727 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21728
21729 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21730
21731 [BZ #16064]
21732 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21733 and <dl-procinfo.h>.
21734 (__fegetenv): Save SSE state in envp->__eip if supported.
21735 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21736 envp->__eip if supported.
21737 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21738 and <dl-procinfo.h>.
21739 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21740 __data_offset and __data_selector in environment to 0. Set SSE
21741 state if supported.
21742 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21743 test-fenv-sse.
21744 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21745 -mfpmath=sse.
21746 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21747
21748 2014-05-09 Will Newton <will.newton@linaro.org>
21749
21750 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21751 and libc_relro_required for ARM.
21752 * sysdeps/arm/preconfigure: Regenerate.
21753
21754 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21755 Stefan Liebler <stli@linux.vnet.ibm.com>
21756
21757 * config.make.in (enable-lock-elision): New Makefile variable.
21758 * configure.ac: Likewise.
21759 * configure: Regenerate.
21760 * sysdeps/s390/configure.ac:
21761 Add check for gcc transactions support.
21762 * sysdeps/s390/configure: Regenerate.
21763 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21764 Build elision files if enabled.
21765 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21766 Add lock elision support for s390.
21767 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21768 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21769 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21770 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21771 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21772 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21773 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21774 Likewise.
21775 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21776 Likewise.
21777 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21778 Likewise.
21779 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21780 Likewise.
21781 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21782 (__lll_timedlock_elision, __lll_lock_elision)
21783 (__lll_unlock_elision, __lll_trylock_elision)
21784 (lll_timedlock_elision, lll_lock_elision)
21785 (lll_unlock_elision, lll_trylock_elision): Add.
21786 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21787 (pthread_mutex_t): Add lock elision support for s390.
21788
21789 2014-05-14 Wilco <wdijkstr@arm.com>
21790
21791 * sysdeps/arm/fclrexcpt.c: Cleanup.
21792 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21793 * sysdeps/arm/feenablxcpt.c: Cleanup.
21794 * sysdeps/arm/fegetenv.c: Cleanup.
21795 * sysdeps/arm/fegetexcept.c: Cleanup.
21796 * sysdeps/arm/fegetround.c: Cleanup.
21797 * sysdeps/arm/feholdexcpt.c: Cleanup.
21798 * sysdeps/arm/fesetenv.c: Cleanup.
21799 * sysdeps/arm/fesetround.c: Cleanup.
21800 * sysdeps/arm/feupdateenv.c: Cleanup.
21801 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21802 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21803 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21804 * sysdeps/arm/ftestexcept.c: Cleanup.
21805 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21806 * sysdeps/arm/setfpucw.c: Cleanup.
21807
21808 2014-05-09 Will Newton <will.newton@linaro.org>
21809
21810 * sysdeps/arm/armv7/strcmp.S: New file.
21811 * NEWS: Mention addition of ARMv7 optimized strcmp.
21812
21813 2014-05-08 Roland McGrath <roland@hack.frob.com>
21814
21815 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21816 look for %.ac rather than %.in.
21817
21818 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21819 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21820 * sysdeps/mach/hurd/configure: Regenerated.
21821 * sysdeps/unix/sysv/linux/configure: Regenerated.
21822
21823 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21824
21825 2014-05-07 Steve Ellcey <sellcey@mips.com>
21826
21827 [BZ# 16922]
21828 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21829 (LONG_SUB): Ditto.
21830 (PTR_SUB): Ditto.
21831
21832 2014-05-07 Andreas Schwab <schwab@suse.de>
21833
21834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21835 when skipping over non-matching result from nscd.
21836
21837 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21838
21839 [BZ #16876]
21840 * nptl/sockperf.c (client): Check socket return value.
21841
21842 [BZ #16877]
21843 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21844 nscd security class.
21845
21846 2014-05-06 Roland McGrath <roland@hack.frob.com>
21847
21848 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21849 * sysdeps/arm/unwind.h: ... here.
21850
21851 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21852
21853 [BZ# 16916]
21854 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21855 Define.
21856
21857 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21858
21859 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21860 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21861 multiarch strncpy for PPC64.
21862 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21863 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21865 multiarch optimizations.
21866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21867 (__libc_ifunc_impl_list): Likewise.
21868 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21869 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21870 multiarch stpncpy for PPC64.
21871 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21872 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21873
21874 2014-05-06 Andreas Schwab <schwab@suse.de>
21875
21876 [BZ #16912]
21877 * gmon/mcount.c (_MCOUNT_DECL): Use
21878 atomic_compare_and_exchange_bool_acq instead of
21879 catomic_compare_and_exchange_bool_acq.
21880
21881 2014-05-05 Roland McGrath <roland@hack.frob.com>
21882
21883 * elf/Makefile (others, install-bin): Remove pldd.
21884 (pldd-modules): Variable removed.
21885 ($(objpfx)pldd): Target removed.
21886 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21887 (others, install-bin): Append pldd here.
21888 ($(objpfx)pldd): New target.
21889
21890 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21891 to 0, so the first #if test emitted later doesn't see it undefined.
21892 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21893 * sysdeps/gnu/errlist.c: Regenerated.
21894
21895 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21896
21897 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21898 [libc_hidden_builtin_def]: Define to empty value.
21899 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21900 [libc_hidden_builtin_def]: Likewise.
21901 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21902 [libc_hidden_builtin_def]: Likewise.
21903 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21904 [libc_hidden_builtin_def]: Likewise.
21905 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21906 __redirect_memcpy and define ifunc as default hidden symbol.
21907 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21908 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21909
21910 2014-05-04 Adam Conrad <adconrad@0c3.net>
21911
21912 * locale/iso-4217.def: Reintroduce XDR currency.
21913
21914 2014-05-04 Allan McRae <allan@archlinux.org>
21915
21916 * po/eo.po: Update Esperanto translation from translation project.
21917
21918 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21919
21920 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21921 and FEATURE_INDEX_MAX to 1.
21922 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21923
21924 2014-05-01 Steve Ellcey <sellcey@mips.com>
21925
21926 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21927 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21928 * iconvdata/big5.c (ONE_DIRECTION): Define.
21929 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21930 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21931 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21932 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21933 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21934 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21935 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21936 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21937 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21938 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21939 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21940 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21941 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21942 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21943 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21944 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21945 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21946 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21947 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21948 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21949 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21950 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21951 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21952 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21953 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21954 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21955 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21956 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21957 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21958 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21959 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21960 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21961 * iconvdata/johab.c (ONE_DIRECTION): Define.
21962 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21963 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21964 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21965 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21966 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21967 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21968 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21969 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21970 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21971 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21972
21973 2014-05-01 Roland McGrath <roland@hack.frob.com>
21974
21975 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21976 (_IO_JUMPS_OFFSET): Define to 0.
21977
21978 * nptl/sysdeps/pthread/bits/libc-lock.h
21979 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21980 (__libc_lock_define_initialized_recursive): Always define using
21981 initializer. Modern compilers treat uninitialized (implicit zero) and
21982 explicit zero initializers the same (i.e. put the datum in bss).
21983
21984 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21985
21986 * nscd/nscd-client.h: Include <string.h>.
21987
21988 2014-05-01 David S. Miller <davem@davemloft.net>
21989
21990 [BZ #16885]
21991 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21992 multiple zero bytes exist at the end of a string.
21993 Reported by Aurelien Jarno <aurelien@aurel32.net>
21994
21995 * string/test-strcmp.c (check): Add explicit test for situations where
21996 there are multiple zero bytes after the first.
21997
21998 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21999
22000 [BZ #16890]
22001 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22002 when compiling wprintf.
22003 * stdio-common/tstdiomisc.c (t3): New function.
22004 (main): Call it.
22005
22006 2014-05-01 Steve Ellcey <sellcey@mips.com>
22007
22008 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22009 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22010 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22011 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22012
22013 2014-05-01 Steve Ellcey <sellcey@mips.com>
22014
22015 * stdlib/longlong.h: Updated from GCC.
22016
22017 2014-05-01 Will Newton <will.newton@linaro.org>
22018 Bernard Ogden <bernie.ogden@linaro.org>
22019
22020 * NEWS: Update fixed bug list.
22021
22022 [BZ #15119]
22023 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22024
22025 2014-04-30 David S. Miller <davem@davemloft.net>
22026
22027 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22028 (libc_feholdexcept_setround_sparc_ctx): New function.
22029 (libc_fesetenv_sparc_ctx): Likewise.
22030 (libc_feupdateenv_sparc_ctx): Likewise.
22031 (libc_feholdsetround_sparc_ctx): Likewise.
22032 (libc_feholdexcept_setround_ctx): Define.
22033 (libc_feholdexcept_setroundf_ctx): Likewise.
22034 (libc_feholdexcept_setroundl_ctx): Likewise.
22035 (libc_fesetenv_ctx): Likewise.
22036 (libc_fesetenvf_ctx): Likewise.
22037 (libc_fesetenvl_ctx): Likewise.
22038 (libc_feupdateenv_ctx): Likewise.
22039 (libc_feupdateenvf_ctx): Likewise.
22040 (libc_feupdateenvl_ctx): Likewise.
22041 (libc_feresetround_ctx): Likewise.
22042 (libc_feresetroundf_ctx): Likewise.
22043 (libc_feresetroundl_ctx): Likewise.
22044 (libc_feholdsetround_ctx): Likewise.
22045 (libc_feholdsetroundf_ctx): Likewise.
22046 (libc_feholdsetroundl_ctx): Likewise.
22047
22048 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22049 with __USE_GNU instead of XOPEN cpp guards.
22050
22051 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22052 0.
22053
22054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22055 with XOPEN cpp guards.
22056
22057 2014-04-30 Julian Brown <julian@codesourcery.com>
22058
22059 [BZ #16888]
22060 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22061 handling.
22062
22063 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22064
22065 [BZ #9894]
22066 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22067 Change to 2.6.32.
22068 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22069 * sysdeps/unix/sysv/linux/configure: Regenerated.
22070 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22071 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22072 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22073 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22074 * README: Update reference to required Linux kernel version.
22075 * manual/install.texi (Linux): Update reference to required Linux
22076 kernel headers version.
22077 * INSTALL: Regenerated.
22078
22079 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22080 header inclusion.
22081 [POSIX] (limits.h): Likewise.
22082 [POSIX] (math.h): Likewise.
22083 [POSIX] (sys/wait.h): Likewise.
22084 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22085 function.
22086 [POSIX] (stddef.h): Do not allow header inclusion.
22087
22088 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22089
22090 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22091
22092 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22093
22094 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22095 Return immediately after lll_futex_wake.
22096
22097 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22098
22099 [BZ #16791]
22100 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22101 structure.
22102 (datahead_init_pos): Call datahead_init_common early.
22103 (datahead_init_neg): Likewise.
22104
22105 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22106 datahead_init_neg): New functions.
22107 * nscd/aicache.c (addhstaiX): Use them.
22108 * nscd/grpcache.c (cache_addgr): Likewise.
22109 * nscd/hstcache.c (cache_addhst): Likewise.
22110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22111 * nscd/netgroupcache.c (do_notfound): Likewise.
22112 (addgetnetgrentX): Likewise.
22113 (addinnetgrX): Likewise.
22114 * nscd/pwdcache.c (cache_addpw): Likewise.
22115 * nscd/servicescache.c (cache_addserv): Likewise.
22116
22117 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22118 Atsushi Onoe <atsushi@onoe.org>
22119
22120 [BZ #14308]
22121 [BZ #12994]
22122 [BZ #13651]
22123 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22124 one response is valid.
22125 * resolv/res_send.c (send_dg): Check for validity of other
22126 response if the current response is a referral.
22127
22128 2014-04-29 Steve Ellcey <sellcey@mips.com>
22129
22130 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22131
22132 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22133
22134 [BZ #16823]
22135 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22136 Always divide by positive zero when computing -Inf result.
22137 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22138 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22139
22140 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22141
22142 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22143 FPSCR if value do not change.
22144 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22145 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22146 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22147 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22148 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22149 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22150 function.
22151
22152 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22153
22154 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22155 * sysdeps/unix/sysv/linux/hppa: Move directory from
22156 ports/systeps/unix/sysv/linux/hppa.
22157 * README: Update listing for hppa-*-linux-gnu.
22158
22159 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22160
22161 [BZ #16754]
22162 * manual/stdio.texi (Hook functions): Fix types of stream hook
22163 functions.
22164 [BZ #16854]
22165 * socket/sys/socket.h: Fix typo in comment.
22166
22167 2014-04-28 Wilco <wdijkstr@arm.com>
22168
22169 * sysdeps/arm/fenv_private.h: New file.
22170 * sysdeps/arm/math_private.h: New file.
22171 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22172
22173 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22174
22175 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22176 with __int128_t.
22177 (La_x86_64_retval): Likewise.
22178
22179 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22180
22181 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22182 fpsr if value didn't change.
22183 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22184 to fpcr if value didn't change.
22185 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22186 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22187 fpsr or fpcr if value didn't change.
22188 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22189 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22190 fpcr if value didn't change.
22191 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22192 to fpsr if value didn't change.
22193
22194 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22195
22196 * nptl/tst-sem3.c: Use test-skeleton.c
22197 (main): Rename to do_test. Use return instead of
22198 exit.
22199 * nptl/tst-sem4.c: Use test-skeleton.c
22200 (main): Rename to do_test.
22201
22202 2014-04-22 David S. Miller <davem@davemloft.net>
22203
22204 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22205 (struct sigaction): New struct member __glibc_reserved0, change
22206 type of sa_flags to int.
22207
22208 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22209
22210 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22211 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22212
22213 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22214
22215 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22216 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22217
22218 2014-04-22 Will Newton <will.newton@linaro.org>
22219 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22220
22221 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22222 (__longjmp): Add longjmp and longjmp_target SystemTap
22223 probes.
22224 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22225 (__sigsetjmp): Add setjmp SystemTap probe.
22226
22227 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22228
22229 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22230 match manual order.
22231
22232 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22233
22234 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22235
22236 * sysdeps/powerpc/fpu/fenv_private.h
22237 (libc_feholdexcept_setroundl_ctx): Define to
22238 libc_feholdexcept_setround_ppc_ctx.
22239 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22240 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22241 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22242 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22243
22244 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22245
22246 * sysdeps/aarch64/math-tests.h: New file.
22247
22248 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22249
22250 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22251 New.
22252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22253 Check and set bit_AVX2_Usable.
22254 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22255 macro.
22256 (bit_AVX2): Likewise.
22257 (index_AVX2_Usable): Likewise.
22258 (CPUID_AVX2): Likewise.
22259 (HAS_AVX2): Likewise.
22260
22261 2014-04-17 Will Newton <will.newton@linaro.org>
22262
22263 * manual/setjmp.texi (System V contexts): Add note that
22264 calling setcontext on a context created by a call to a
22265 signal handler is undefined. Update text to note that
22266 setcontext from a signal handler is possible but not
22267 recommended.
22268
22269 [BZ #16629]
22270 * stdlib/tst-setcontext.c: Include signal.h.
22271 (main): Check that the signal stack before and
22272 after swapcontext is the same.
22273
22274 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22275 Re-implement to restore registers in user code and avoid
22276 rt_sigreturn system call.
22277
22278 2014-04-17 Wilco <wdijkstr@arm.com>
22279
22280 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22281 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22282 * math/test-fenv.c: Skip exception trap tests on targets which only
22283 support non-stop mode.
22284
22285 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22286 Wilco Dijkstra <wilco.dijkstra@arm.com>
22287
22288 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22289 (libc_feholdsetround_aarch64_ctx)
22290 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22291 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22292 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22293 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22294 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22295 (libc_feresetround_noexl_ctx): Define.
22296
22297 2014-04-16 Richard Henderson <rth@redhat.com>
22298
22299 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22300
22301 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22302 unwind tables.
22303
22304 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22305 const from the non-libc, non-ldso copy.
22306
22307 * sysdeps/alpha/libm-test-ulps: Regenerate.
22308
22309 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22310 Wilco Dijkstra <wilco.dijkstra@arm.com>
22311
22312 * sysdeps/aarch64/fpu/math_private.h: New file.
22313
22314 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22315
22316 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22317
22318 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22319
22320 [BZ #16275]
22321 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22322 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22324 Intel MPX bound registers before _dl_profile_fixup.
22325 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22326 registers after _dl_profile_fixup. Save and restore bound
22327 registers bnd0/bnd1 when calling _dl_call_pltexit.
22328 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22329 (LR_BND_OFFSET): Likewise.
22330 (LRV_BND0_OFFSET): Likewise.
22331 (LRV_BND1_OFFSET): Likewise.
22332
22333 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22334
22335 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22336 to...
22337 * sysdeps/mach/hurd/i386/tls.h: ... here.
22338 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22339 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22340 fields.
22341
22342 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22343
22344 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22345
22346 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22347
22348 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22349
22350 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22351
22352 [BZ #14770]
22353 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22354 * sysdeps/s390/configure: Regenerate.
22355
22356 [BZ #16824]
22357 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22358 Set round-to-nearest internally to reduce error accumulation.
22359
22360 2014-04-16 Alan Modra <amodra@gmail.com>
22361
22362 [BZ #16740]
22363 [BZ #16619]
22364 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22365 * math/libm-test.inc (frexp_test_data): Add tests.
22366 * NEWS: Update fixed bug list.
22367
22368 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22369
22370 * benchtests/Makefile: Depend on libraries in build directory.
22371 (bench-math): Separate out math tests.
22372 (bench-pthread): Separate out pthread tests.
22373 (bench): Include math and pthread tests.
22374
22375 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22376
22377 [BZ #16831]
22378 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22379 _dl_debug_initialize.
22380
22381 * configure.ac: Remove SELinux header check.
22382 * configure: Regenerate.
22383 * nscd/selinux.c (perms): Array of const char* to permission names.
22384 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22385 default policy. Call string_to_security_class and string_to_av_perm to
22386 translate strings. Enforce default policy and call avs_has_perm with
22387 results of translated strings.
22388
22389 2014-04-13 David S. Miller <davem@davemloft.net>
22390
22391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22392
22393 2014-04-12 Allan McRae <allan@archlinux.org>
22394
22395 [BZ #16838]
22396 * manual/string.texi (Collation Functions): Fix qsort argument
22397 order in example.
22398 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22399
22400 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22401
22402 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22403 Make the test a no-op if there are no exceptions defined.
22404
22405 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22406
22407 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22408 enable-hardcoded-path-in-tests
22409
22410 2014-04-11 Will Newton <will.newton@linaro.org>
22411
22412 * benchtests/Makefile (extra-objs): Add json-lib.o.
22413 (bench-func): Tidy up JSON output.
22414 * benchtests/bench-skeleton.c: Include json-lib.h.
22415 (main): Use JSON library functions to do output of
22416 benchmark results.
22417 * benchtests/bench-timing-type.c (main): Output the
22418 timing type simply, leaving formatting to the user.
22419 * benchtests/json-lib.c: New file.
22420 * benchtests/json-lib.h: Likewise.
22421
22422 2014-04-11 Torvald Riegel <triegel@redhat.com>
22423
22424 [BZ #15215]
22425 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22426 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22427 memory barriers. Add comments.
22428 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22429 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22430 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22431 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22432 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22433 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22434
22435 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22436
22437 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22438 * sysdeps/s390/s390-64/configure.ac: ... this ...
22439 * sysdeps/s390/configure.ac: ... to here.
22440 * sysdeps/s390/s390-32/configure: Delete file.
22441 * sysdeps/s390/s390-64/configure: Delete file.
22442 * sysdeps/s390/configure: Regenerate.
22443
22444 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22445
22446 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22447
22448 2014-04-11 Will Newton <will.newton@linaro.org>
22449
22450 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22451 to zero if it is not defined elsewhere. (mtrim): Test
22452 the value of MALLOC_DEBUG with #if rather than #ifdef.
22453
22454 2014-04-10 Torvald Riegel <triegel@redhat.com>
22455
22456 * benchtests/pthread_once-inputs: New file.
22457 * benchtests/pthread_once-source.c: New file.
22458 * benchtests/README: Update documentation.
22459
22460 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22461 H.J. Lu <hongjiu.lu@intel.com>
22462
22463 [BZ #16275]
22464 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22465 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22466 * sysdeps/x86_64/configure: Regenerated.
22467 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22468 macro.
22469 (REGISTER_SAVE_RAX): Likewise.
22470 (REGISTER_SAVE_RCX): Likewise.
22471 (REGISTER_SAVE_RDX): Likewise.
22472 (REGISTER_SAVE_RSI): Likewise.
22473 (REGISTER_SAVE_RDI): Likewise.
22474 (REGISTER_SAVE_R8): Likewise.
22475 (REGISTER_SAVE_R9): Likewise.
22476 (REGISTER_SAVE_BND0): Likewise.
22477 (REGISTER_SAVE_BND1): Likewise.
22478 (REGISTER_SAVE_BND2): Likewise.
22479 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22480 bound registers when calling _dl_fixup.
22481
22482 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22483
22484 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22485 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22486 of its definition.
22487 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22488 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22489 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22490 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22491 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22492 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22493 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22494
22495 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22496
22497 [BZ #15514]
22498 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22499 pathconf(_PC_NAME_MAX).
22500
22501 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22502
22503 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22504 Remove macro usage.
22505 (__PTHREAD_SPINS): Move definition to ...
22506 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22507 (__PTHREAD_SPINS): ... here.
22508 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22509 (__PTHREAD_SPIN): Likewise.
22510 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22511 (__PTHREAD_SPIN): Likewise.
22512 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22513 (__PTHREAD_SPIN): Likewise.
22514 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22515 (__PTHREAD_SPIN): Likewise.
22516 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22517 (__PTHREAD_SPIN): Likewise.
22518 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22519 (__PTHREAD_SPIN): Likewise.
22520 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22521 (__PTHREAD_SPIN): Likewise.
22522 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22523 (__PTHREAD_SPIN): Likewise.
22524 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22525 (__PTHREAD_SPIN): Likewise.
22526 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22527 (__PTHREAD_SPIN): Likewise.
22528 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22529 (__PTHREAD_SPIN): Likewise.
22530 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22531 (__PTHREAD_SPIN): Likewise.
22532
22533 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22534 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22535 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22536 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22537 imply folder.
22538 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22539 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22540 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22541 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22542 correct imply path.
22543 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22544 strlen symbol for non multi-arch builds.
22545 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22546 missing hidden_def and weak_alias.
22547
22548 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22549
22550 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22551
22552 2014-04-07 Will Newton <will.newton@linaro.org>
22553
22554 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22555 and contents. [!_LIBC] Remove #ifndef and contents.
22556 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22557 * string/memccpy.c (__memccpy): Use ANSI prototype.
22558 * string/memfrob.c (memfrob): Likewise.
22559 * string/strcoll.c (STRCOLL): Likewise.
22560 * string/strlen.c (strlen): Likewise.
22561 * string/strtok.c (STRTOK): Likewise.
22562 * string/strcat.c: Remove unused #include of memcopy.h.
22563 (strcat): Use ANSI prototype.
22564 * string/strchr.c: Remove unused #include of memcopy.h.
22565 (strchr): Use ANSI prototype.
22566 * string/strcmp.c: Remove unused #include of memcopy.h.
22567 (strcmp): Use ANSI prototype.
22568 * string/strcpy.c: Remove unused #include of memcopy.h.
22569 (strcpy): Use ANSI prototype.
22570
22571 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22572
22573 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22574 * config.make.in (config-extra-cppflags): Set it from
22575 libc_extra_cppflags.
22576 * configure.ac (libc_extra_cflags): Make it accumulate over
22577 configure fragments.
22578 (libc_extra_cppflags): New flag.
22579 * configure. Regenerate.
22580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22581 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22582 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22584
22585 [BZ #16815]
22586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22587 result for FE_DOWNWARD rounding mode.
22588 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22589 Likewise.
22590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22591
22592 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22593
22594 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22595 in function argument name.
22596
22597 2014-04-03 David Svoboda <svoboda@cert.org>
22598
22599 [BZ #5666]
22600 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22601 explicitly.
22602
22603 2014-04-03 Roland McGrath <roland@hack.frob.com>
22604
22605 * elf/dl-unmap-segments.h: New file.
22606 * sysdeps/generic/ldsodefs.h
22607 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22608 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22609 * elf/dl-fptr.c: Likewise.
22610 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22611 * sysdeps/aarch64/tlsdesc.c: Likewise.
22612 * sysdeps/arm/tlsdesc.c: Likewise.
22613 * sysdeps/i386/tlsdesc.c: Likewise.
22614 * sysdeps/tile/dl-runtime.c: Likewise.
22615 * sysdeps/x86_64/tlsdesc.c: Likewise.
22616 * elf/dl-load.h: New file.
22617 * elf/dl-load.c: Include it.
22618 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22619 Macros moved to dl-load.h.
22620 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22621 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22622 Use _dl_unmap_segments in place of __munmap.
22623 Break out segment-mapping loop into ...
22624 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22625
22626 2014-04-03 Will Newton <will.newton@linaro.org>
22627
22628 * elf/dl-lookup.c (do_lookup_x): Remove comment
22629 referring to nested function and move variable
22630 declarations down to before first use.
22631
22632 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22633
22634 [BZ #16799]
22635 [BZ #16800]
22636 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22637 with 0 numerator.
22638 * math/s_catanf.c (__catanf): Likewise.
22639 * math/s_catanh.c (__catanh): Likewise.
22640 * math/s_catanhf.c (__catanhf): Likewise.
22641 * math/s_catanhl.c (__catanhl): Likewise.
22642 * math/s_catanl.c (__catanl): Likewise.
22643 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22644 by positive zero when computing -Inf result.
22645 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22646 (catanh_test): Likewise.
22647 * sysdeps/i386/fpu/libm-test-ulps: Update.
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22649
22650 [BZ #16789]
22651 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22652 instead of using underflowing value in computing result.
22653 * math/s_clog10.c (__clog10): Likewise.
22654 * math/s_clog10f.c (__clog10f): Likewise.
22655 * math/s_clog10l.c (__clog10l): Likewise.
22656 * math/s_clogf.c (__clogf): Likewise.
22657 * math/s_clogl.c (__clogl): Likewise.
22658 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22659 (clog10_test): Likewise.
22660 * sysdeps/i386/fpu/libm-test-ulps: Update.
22661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22662
22663 2014-04-02 Alan Modra <amodra@gmail.com>
22664
22665 [BZ #16739]
22666 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22667 output when value is near a power of two. Use int64_t for lx and
22668 remove casts. Use decimal rather than hex exponent constants.
22669 Don't use long double multiplication when double will suffice.
22670 * math/libm-test.inc (nextafter_test_data): Add tests.
22671 * NEWS: Add 16739 and 16786 to bug list.
22672
22673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22674
22675 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22676
22677 2014-04-01 Will Newton <will.newton@linaro.org>
22678
22679 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22680 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22681
22682 2014-04-01 Florian Weimer <fweimer@redhat.com>
22683
22684 [BZ #13347]
22685 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22686 * nptl/tst-setuid2.c: New file.
22687 * nptl/Makefile (xtests): Add tst-setuid2.
22688
22689 2014-04-01 Alan Modra <amodra@gmail.com>
22690
22691 [BZ #16786]
22692 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22693
22694 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22695
22696 [BZ #6803]
22697 [BZ #6804]
22698 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22699 set errno as appropriate.
22700 * math/w_scalbf.c (__scalbf): Likewise.
22701 * math/w_scalbl.c (__scalbl): Likewise.
22702 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22703 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22704 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22705 Add more NaN tests.
22706
22707 [BZ #16349]
22708 * math/w_atan2.c: Include <errno.h>.
22709 (__atan2): Set errno for result underflowing to zero.
22710 * math/w_atan2f.c: Include <errno.h>.
22711 (__atan2f): Set errno for result underflowing to zero.
22712 * math/w_atan2l.c: Include <errno.h>.
22713 (__atan2l): Set errno for result underflowing to zero.
22714 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22715 tests.
22716 * math/auto-libm-test-out: Regenerated.
22717
22718 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22719
22720 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22721 Encode instruction correctly in little endian.
22722 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22723 Likewise.
22724 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22725 Likewise.
22726 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22727 Likewise.
22728 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22729 Likewise.
22730
22731 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22732
22733 [BZ #9894]
22734 * sysdeps/unix/sysv/linux/kernel-features.h
22735 [__sparc__ && !__arch64__ && !__sparc_v9__]
22736 (__ASSUME_SET_ROBUST_LIST): Do not define.
22737 [__sparc__ && !__arch64__ && !__sparc_v9__]
22738 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22739 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22740 Likewise.
22741 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22742 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22743 (__ASSUME_REQUEUE_PI): Likewise.
22744 (__ASSUME_SET_ROBUST_LIST): Likewise.
22745 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22746 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22747 Undefine.
22748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22749 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22750 Likewise.
22751 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22752 Likewise.
22753 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22754 Likewise.
22755 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22756 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22757 Undefine.
22758 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22759 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22760 Likewise.
22761
22762 [BZ #16648]
22763 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22764 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22765 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22766
22767 2014-03-31 Will Newton <will.newton@linaro.org>
22768
22769 * benchtests/Makefile (bench): Add ffs and ffsll to list
22770 of tests.
22771 * benchtests/ffs-inputs: New file.
22772 * benchtests/ffsll-inputs: Likewise.
22773
22774 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22775
22776 [BZ #16770]
22777 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22778 too large before casting to int.
22779 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22780 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22781 * math/libm-test.inc (scalb_test_data): Add more tests.
22782
22783 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22784
22785 * benchtests/Makefile (DETAILED_OPT): New make option.
22786 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22787 set.
22788 * benchtests/bench-skeleton.c: Include stdbool.h.
22789 (main): Store and print timings per input.
22790 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22791 member to each argument value.
22792 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22793 (_print_arg_data): Initialize per-input timing to 0.
22794
22795 * benchtests/Makefile (timing-type): New binary.
22796 (bench-clean): Also remove bench-timing-type.
22797 (bench): New target for timing-type.
22798 (bench-func): Print output in JSON format.
22799 * benchtests/bench-skeleton.c (main): Print output in JSON
22800 format.
22801 * benchtests/bench-timing-type.c: New file.
22802 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22803 (TIMING_PRINT_STATS): Remove.
22804 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22805 name separately.
22806
22807 * benchtests/bench-modf.c: Remove.
22808 * benchtests/modf-inputs: New inputs file.
22809
22810 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22811
22812 [BZ #16362]
22813 * math/s_clog10.c (M_PI_LOG10E): New macro.
22814 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22815 imaginary parts are 0.
22816 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22817 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22818 imaginary parts are 0.
22819 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22820 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22821 imaginary parts are 0.
22822 * math/libm-test.inc (clog10_test_data): Update expected results
22823 for when real and imaginary parts are 0.
22824
22825 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22826
22827 * elf/dl-load.c: Finish conversion of __builtin_expect into
22828 __glibc_{un}likely.
22829
22830 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22831
22832 [BZ #16348]
22833 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22834 1+x for argument with exponent below -67.
22835 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22836 Likewise.
22837 * math/auto-libm-test-in: Add more tests of exp.
22838 * math/auto-libm-test-out: Regenerated.
22839
22840 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22841
22842 [BZ #16759]
22843 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22844 (nscd_getnetgrent): Use it.
22845
22846 [BZ #16760]
22847 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22848 of stpcpy.
22849
22850 2014-03-27 Andi Kleen <ak@linux.intel.com>
22851
22852 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22853 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22854 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22855 (lll_robust_unlock): Remove out of line section. Use cfi
22856 intrinsics.
22857 (LLL_STUB_UNWIND_INFO*): Remove.
22858 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22859 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22860 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22861 (lll_robust_unlock): Remove out of line section. Use cfi
22862 intrinsics.
22863 (LLL_STUB_UNWIND_INFO*): Remove.
22864
22865 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22866
22867 [BZ #16758]
22868 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22869 blank values.
22870
22871 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22872
22873 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22874
22875 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22876
22877 [BZ #16198]
22878 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22879 fnstenv.
22880 * math/test-fenv-preserve.c: New file.
22881 * math/Makefile (tests): Add test-fenv-preserve.
22882
22883 2014-03-26 Will Newton <will.newton@linaro.org>
22884
22885 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22886
22887 2014-03-25 Roland McGrath <roland@hack.frob.com>
22888
22889 * scripts/versionlist.awk: Partition the version sets and emit all
22890 GLIBC_* (sorted) before all others (sorted).
22891
22892 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22893
22894 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22895 GLIBC_2.2.5 version.
22896
22897 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22898
22899 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22900 calls.
22901
22902 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22903 previous change.
22904
22905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22906
22907 2014-03-25 Andreas Schwab <schwab@suse.de>
22908
22909 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22910 label to be used after in6ailist is initialized.
22911
22912 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22913
22914 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22915 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22916
22917 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22918
22919 [BZ #16357]
22920 [BZ #16599]
22921 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22922 min_plus_half.
22923 (fp_formats): Update initializers.
22924 (init_fp_formats): Initialize new field.
22925 (output_for_one_input_case): Allow underflow for results up to
22926 min_plus_half.
22927 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22928 * math/auto-libm-test-in: Don't mark some underflows from asin and
22929 atanh as spurious.
22930 * math/auto-libm-test-out: Regenerated.
22931 * sysdeps/i386/fpu/libm-test-ulps: Update.
22932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22933
22934 2014-03-25 Andreas Schwab <schwab@suse.de>
22935
22936 * libio/Makefile (tst-ftell-partial-wide-ENV)
22937 (tst-ftell-active-handler-ENV): Define.
22938
22939 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22940
22941 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22942
22943 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22944
22945 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22946
22947 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22948
22949 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22950 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22951 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22952
22953 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22954
22955 [BZ #16634]
22956 * elf/dl-load.c (open_verify): Add mode parameter.
22957 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22958 (open_path): Change from boolean 'secure' to complete flag 'mode'
22959 (_dl_map_object): Adjust.
22960 * elf/Makefile (tests): Add tst-dlopen-aout.
22961 * elf/tst-dlopen-aout.c: New test.
22962
22963 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22964
22965 [BZ #16714]
22966 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22967 (struct stat): Rename member pad0 to __glibc_reserved0.
22968
22969 [BZ #16712]
22970 * sysdeps/s390/s390-32/bits/wordsize.h
22971 (__WORDSIZE32_SIZE_ULONG): New define.
22972 * sysdeps/s390/s390-64/bits/wordsize.h
22973 (__WORDSIZE32_SIZE_ULONG): Likewise.
22974 * sysdeps/generic/stdint.h (SIZE_MAX):
22975 Define as UL if __WORDSIZE32_SIZE_ULONG.
22976
22977 [BZ #16713]
22978 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22979 (__glibc_reserved0): New variable.
22980 (sa_flags): Change type to int.
22981
22982 * posix/Makefile (before-compile): Use += before-compile instead
22983 of a :=.
22984
22985 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22986 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22987
22988 2014-03-20 Andreas Schwab <schwab@suse.de>
22989
22990 [BZ #16743]
22991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22992 non-matching result from nscd.
22993
22994 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22995
22996 * scripts/bench.py: Moved to ...
22997 * benchtests/scripts/bench.py: ... here.
22998 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22999
23000 2014-03-24 Andreas Schwab <schwab@suse.de>
23001
23002 [BZ #16002]
23003 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23004 alloca_account and account alloca use for struct in6ailist.
23005
23006 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23007
23008 [BZ #16284]
23009 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23010 rounding mode to recompute results that overflow to infinity or
23011 underflow to zero.
23012 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23013 bug 16284.
23014 * math/auto-libm-test-out: Regenerated.
23015 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23016 (ccosh_test): Likewise.
23017 (csin_test_data): Use plus_oflow.
23018 (csin_test): Use ALL_RM_TEST.
23019 (csinh_test_data): Use plus_oflow.
23020 (csinh_test): Use ALL_RM_TEST.
23021 * sysdeps/i386/fpu/libm-test-ulps: Update.
23022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23023
23024 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23025
23026 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23027 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23028 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23029
23030 [BZ #16731]
23031 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23032 when x - 1 is zero.
23033 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23034 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23035 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23036 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23037 argument is 1.
23038 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23039 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23040 zero.
23041 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23042 * sysdeps/i386/fpu/libm-test-ulps: Update.
23043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23044
23045 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23046
23047 * scripts/bench.pl: Remove file.
23048 * scripts/bench.py: New benchmark script.
23049 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23050 * benchtests/README: Mention python dependency.
23051 * scripts/pylintrc: New file.
23052 * scripts/pylint: New file.
23053
23054 * bits/mathdef.h: Use #ifdef instead of #if.
23055 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23056 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23057 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23058 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23059 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23060 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23061
23062 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23063 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23064
23065 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23067 and strpbrk-ppc64 objects.
23068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23069 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23070 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23071 multiarch strpbrk for POWER7.
23072 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23073 multiarch strpbrk for PPC64.
23074 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23075 ifunc selector.
23076 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23077 strpbrk for POWER7.
23078
23079 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23080
23081 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23082 (atan_test): Likewise.
23083 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23084 (atanh_test): Use ALL_RM_TEST.
23085 (atan2_test_data): Likewise.
23086 (cabs_test): Likewise.
23087 (cacosh_test): Likewise.
23088 (carg_test): Likewise.
23089 (casin_test): Likewise.
23090 (casinh_test): Likewise.
23091 (cbrt_test): Likewise.
23092 (csqrt_test): Likewise.
23093 (erf_test): Likewise.
23094 (erfc_test): Likewise.
23095 (pow10_test): Likewise.
23096 (exp2_test): Likewise.
23097 (hypot_test): Likewise.
23098 (j0_test): Likewise.
23099 (j1_test): Likewise.
23100 (lgamma_test): Likewise.
23101 (gamma_test): Likewise.
23102 (sincos_test): Likewise.
23103 (tanh_test): Likewise.
23104 (y0_test): Likewise.
23105 (y1_test): Likewise.
23106 * sysdeps/i386/fpu/libm-test-ulps: Update.
23107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23108
23109 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23110
23111 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23113 and strcspn-ppc64 objects.
23114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23115 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23116 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23117 multiarch strcspn for POWER7.
23118 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23119 multiarch strcspn for PPC64.
23120 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23121 ifunc selector.
23122 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23123 strcspn for POWER7.
23124
23125 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23126
23127 * math/gen-libm-test.pl (generate_testfile): Expect only function
23128 name as argument to AUTO_TESTS_* and pass results for all rounding
23129 modes to parse_args.
23130 (parse_auto_input): Separate inputs of automatic tests from
23131 outputs before storing in %auto_tests.
23132 * math/libm-test.inc (acos_test_data): Update call to
23133 AUTO_TESTS_f_f.
23134 (acos_test): Use ALL_RM_TEST.
23135 (acos_tonearest_test_data): Remove.
23136 (acos_test_tonearest): Likewise.
23137 (acos_towardzero_test_data): Likewise.
23138 (acos_test_towardzero): Likewise.
23139 (acos_downward_test_data): Likewise.
23140 (acos_test_downward): Likewise.
23141 (acos_upward_test_data): Likewise.
23142 (acos_test_upward): Likewise.
23143 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23144 (asin_test_data): Likewise.
23145 (asin_test): Use ALL_RM_TEST.
23146 (asin_tonearest_test_data): Remove.
23147 (asin_test_tonearest): Likewise.
23148 (asin_towardzero_test_data): Likewise.
23149 (asin_test_towardzero): Likewise.
23150 (asin_downward_test_data): Likewise.
23151 (asin_test_downward): Likewise.
23152 (asin_upward_test_data): Likewise.
23153 (asin_test_upward): Likewise.
23154 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23155 (atan_test_data): Likewise.
23156 (atanh_test_data): Likewise.
23157 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23158 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23159 (carg_test_data): Likewise.
23160 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23161 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23162 (ccosh_test_data): Likewise.
23163 (cexp_test_data): Likewise.
23164 (clog_test_data): Likewise.
23165 (clog10_test_data): Likewise.
23166 (cos_test_data): Update call to AUTO_TESTS_f_f.
23167 (cos_test): Use ALL_RM_TEST.
23168 (cos_tonearest_test_data): Remove.
23169 (cos_test_tonearest): Likewise.
23170 (cos_towardzero_test_data): Likewise.
23171 (cos_test_towardzero): Likewise.
23172 (cos_downward_test_data): Likewise.
23173 (cos_test_downward): Likewise.
23174 (cos_upward_test_data): Likewise.
23175 (cos_test_upward): Likewise.
23176 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23177 (cosh_test): Use ALL_RM_TEST.
23178 (cosh_tonearest_test_data): Remove.
23179 (cosh_test_tonearest): Likewise.
23180 (cosh_towardzero_test_data): Likewise.
23181 (cosh_test_towardzero): Likewise.
23182 (cosh_downward_test_data): Likewise.
23183 (cosh_test_downward): Likewise.
23184 (cosh_upward_test_data): Likewise.
23185 (cosh_test_upward): Likewise.
23186 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23187 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23188 (ctan_test_data): Likewise.
23189 (ctan_test): Use ALL_RM_TEST.
23190 (ctan_tonearest_test_data): Remove.
23191 (ctan_test_tonearest): Likewise.
23192 (ctan_towardzero_test_data): Likewise.
23193 (ctan_test_towardzero): Likewise.
23194 (ctan_downward_test_data): Likewise.
23195 (ctan_test_downward): Likewise.
23196 (ctan_upward_test_data): Likewise.
23197 (ctan_test_upward): Likewise.
23198 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23199 (ctanh_test): Use ALL_RM_TEST.
23200 (ctanh_tonearest_test_data): Remove.
23201 (ctanh_test_tonearest): Likewise.
23202 (ctanh_towardzero_test_data): Likewise.
23203 (ctanh_test_towardzero): Likewise.
23204 (ctanh_downward_test_data): Likewise.
23205 (ctanh_test_downward): Likewise.
23206 (ctanh_upward_test_data): Likewise.
23207 (ctanh_test_upward): Likewise.
23208 (erf_test_data): Update call to AUTO_TESTS_f_f.
23209 (erfc_test_data): Likewise.
23210 (exp_test_data): Likewise.
23211 (exp_test): Use ALL_RM_TEST.
23212 (exp_tonearest_test_data): Remove.
23213 (exp_test_tonearest): Likewise.
23214 (exp_towardzero_test_data): Likewise.
23215 (exp_test_towardzero): Likewise.
23216 (exp_downward_test_data): Likewise.
23217 (exp_test_downward): Likewise.
23218 (exp_upward_test_data): Likewise.
23219 (exp_test_upward): Likewise.
23220 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23221 (exp10_test): Use ALL_RM_TEST.
23222 (exp10_tonearest_test_data): Remove.
23223 (exp10_test_tonearest): Likewise.
23224 (exp10_towardzero_test_data): Likewise.
23225 (exp10_test_towardzero): Likewise.
23226 (exp10_downward_test_data): Likewise.
23227 (exp10_test_downward): Likewise.
23228 (exp10_upward_test_data): Likewise.
23229 (exp10_test_upward): Likewise.
23230 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23231 (expm1_test_data): Likewise.
23232 (expm1_test): Use ALL_RM_TEST.
23233 (expm1_tonearest_test_data): Remove.
23234 (expm1_test_tonearest): Likewise.
23235 (expm1_towardzero_test_data): Likewise.
23236 (expm1_test_towardzero): Likewise.
23237 (expm1_downward_test_data): Likewise.
23238 (expm1_test_downward): Likewise.
23239 (expm1_upward_test_data): Likewise.
23240 (expm1_test_upward): Likewise.
23241 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23242 (fma_test): Use ALL_RM_TEST.
23243 (fma_towardzero_test_data): Remove.
23244 (fma_test_towardzero): Likewise.
23245 (fma_downward_test_data): Likewise.
23246 (fma_test_downward): Likewise.
23247 (fma_upward_test_data): Likewise.
23248 (fma_test_upward): Likewise.
23249 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23250 (j0_test_data): Update call to AUTO_TESTS_f_f.
23251 (j1_test_data): Likewise.
23252 (jn_test_data): Update call to AUTO_TESTS_if_f.
23253 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23254 (log_test_data): Update call to AUTO_TESTS_f_f.
23255 (log10_test_data): Likewise.
23256 (log1p_test_data): Likewise.
23257 (log2_test_data): Likewise.
23258 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23259 (pow_tonearest_test_data): Likewise.
23260 (sin_test_data): Update call to AUTO_TESTS_f_f.
23261 (sin_test): Use ALL_RM_TEST.
23262 (sin_tonearest_test_data): Remove.
23263 (sin_test_tonearest): Likewise.
23264 (sin_towardzero_test_data): Likewise.
23265 (sin_test_towardzero): Likewise.
23266 (sin_downward_test_data): Likewise.
23267 (sin_test_downward): Likewise.
23268 (sin_upward_test_data): Likewise.
23269 (sin_test_upward): Likewise.
23270 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23271 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23272 (sinh_test): Use ALL_RM_TEST.
23273 (sinh_tonearest_test_data): Remove.
23274 (sinh_test_tonearest): Likewise.
23275 (sinh_towardzero_test_data): Likewise.
23276 (sinh_test_towardzero): Likewise.
23277 (sinh_downward_test_data): Likewise.
23278 (sinh_test_downward): Likewise.
23279 (sinh_upward_test_data): Likewise.
23280 (sinh_test_upward): Likewise.
23281 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23282 (sqrt_test): Use ALL_RM_TEST.
23283 (sqrt_tonearest_test_data): Remove.
23284 (sqrt_test_tonearest): Likewise.
23285 (sqrt_towardzero_test_data): Likewise.
23286 (sqrt_test_towardzero): Likewise.
23287 (sqrt_downward_test_data): Likewise.
23288 (sqrt_test_downward): Likewise.
23289 (sqrt_upward_test_data): Likewise.
23290 (sqrt_test_upward): Likewise.
23291 (tan_test_data): Update call to AUTO_TESTS_f_f.
23292 (tan_test): Use ALL_RM_TEST.
23293 (tan_tonearest_test_data): Remove.
23294 (tan_test_tonearest): Likewise.
23295 (tan_towardzero_test_data): Likewise.
23296 (tan_test_towardzero): Likewise.
23297 (tan_downward_test_data): Likewise.
23298 (tan_test_downward): Likewise.
23299 (tan_upward_test_data): Likewise.
23300 (tan_test_upward): Likewise.
23301 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23302 (tgamma_test_data): Likewise.
23303 (y0_test_data): Likewise.
23304 (y1_test_data): Likewise.
23305 (yn_test_data): Update call to AUTO_TESTS_if_f.
23306 (main): Do not call removed functions.
23307
23308 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23309
23310 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23311 (ldexp_test_data): Remove.
23312 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23313 scalbn_test_data.
23314 (scalb_test): Use ALL_RM_TEST.
23315
23316 2014-03-19 Andreas Schwab <schwab@suse.de>
23317
23318 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23319
23320 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23321
23322 [BZ #16649]
23323 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23324 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23325 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23327 (__ASSUME_PREADV): Undefine.
23328 (__ASSUME_PWRITEV): Likewise.
23329
23330 2014-03-18 Roland McGrath <roland@hack.frob.com>
23331
23332 * bits/mman-linux.h: Add comment about non-Linux use.
23333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23334 bits/mman-linux.h resting place.
23335
23336 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23337 * bits/mman-linux.h: ... here.
23338
23339 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23340
23341 * conform/conformtest.pl: Add standard definition when calling C
23342 preprocessor on data files.
23343 (checknamespace): Remove unused variable.
23344
23345 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23346
23347 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23348 minus_oflow, plus_uflow and minus_uflow in expected results.
23349 * math/libm-test.inc (scalbn_test_data): Add more tests of
23350 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23351 minus_uflow.
23352 (scalbn_test): Use ALL_RM_TEST.
23353 (scalbln_test_data): Add more tests of negative arguments. Use
23354 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23355 (scalbln_test): Use ALL_RM_TEST.
23356
23357 2014-03-18 Roland McGrath <roland@hack.frob.com>
23358
23359 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23360
23361 2014-03-18 Will Newton <will.newton@linaro.org>
23362
23363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23364 inaccurate comment.
23365
23366 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23367
23368 * Makerules [!subdir] (check-abi): Exit with error status if a
23369 test failed.
23370
23371 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23372
23373 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23374 for rint. Include results for all rounding modes.
23375 (nearbyint_test): Use ALL_RM_TEST.
23376 (rint_test_data): Include all tests used for nearbyint.
23377
23378 2014-03-17 Will Newton <will.newton@linaro.org>
23379
23380 * nptl/sysdeps/pthread/pthread.h: Revert previous
23381 change.
23382
23383 * sysdeps/generic/ldsodefs.h: Revert previous
23384 change.
23385
23386 * libio/genops.c: Revert previous change.
23387 * libio/libioP.h: Likewise.
23388 * stdio-common/vfprintf.c: Likewise.
23389
23390 * sysdeps/generic/math_private.h: Revert previous
23391 change.
23392
23393 * sysdeps/generic/math_private.h: Check whether
23394 HAVE_RM_CTX is defined with #ifdef rather
23395 than #if.
23396
23397 * argp/argp-fmtstream.h: Check whether
23398 __STRICT_ANSI__ is defined with #ifdef rather
23399 than #if.
23400 * argp/argp.h: Likewise.
23401
23402 * libio/genops.c: Check whether
23403 _IO_JUMPS_OFFSET is defined with #ifdef rather
23404 than #if.
23405 * libio/libioP.h: Likewise.
23406 * stdio-common/vfprintf.c: Likewise.
23407
23408 * sysdeps/generic/ldsodefs.h: Check whether
23409 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23410 than #if.
23411
23412 * nptl/sysdeps/pthread/pthread.h: Check
23413 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23414 its value.
23415
23416 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23417
23418 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23419 setting O_APPEND.
23420 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23421 test case.
23422
23423 [BZ #16680]
23424 * libio/fileops.c (_IO_file_open): Seek to end of file but
23425 don't cache the offset.
23426 (get_file_offset): Remove function.
23427 (do_ftell): Use cached offset when available.
23428 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23429 don't cache the offset.
23430 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23431 case.
23432 (do_one_test): Call it.
23433 (do_ftell_test): Fix up expected old offset for a+ mode.
23434 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23435 available.
23436
23437 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23438 up test status with function return status.
23439 (do_write_test): Likewise.
23440 (do_append_test): Likewise.
23441
23442 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23443 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23444 Remove.
23445
23446 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23447
23448 * math/gen-libm-test.pl (parse_args): Handle results specified for
23449 each rounding mode separately.
23450 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23451 tests and results from lrint_tonearest_test_data,
23452 lrint_towardzero_test_data, lrint_downward_test_data and
23453 lrint_upward_test_data.
23454 (lrint_test): Use ALL_RM_TEST.
23455 (lrint_tonearest_test_data): Remove.
23456 (lrint_test_tonearest): Likewise.
23457 (lrint_towardzero_test_data): Likewise.
23458 (lrint_test_towardzero): Likewise.
23459 (lrint_downward_test_data): Likewise.
23460 (lrint_test_downward): Likewise.
23461 (lrint_upward_test_data): Likewise.
23462 (lrint_test_upward): Likewise.
23463 (llrint_test_data): Merge in per-rounding-mode tests and results
23464 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23465 llrint_downward_test_data and llrint_upward_test_data.
23466 (llrint_test): Use ALL_RM_TEST.
23467 (llrint_tonearest_test_data): Remove.
23468 (llrint_test_tonearest): Likewise.
23469 (llrint_towardzero_test_data): Likewise.
23470 (llrint_test_towardzero): Likewise.
23471 (llrint_downward_test_data): Likewise.
23472 (llrint_test_downward): Likewise.
23473 (llrint_upward_test_data): Likewise.
23474 (llrint_test_upward): Likewise.
23475 (rint_test_data): Merge in per-rounding-mode tests and results
23476 from rint_tonearest_test_data, rint_towardzero_test_data,
23477 rint_downward_test_data and rint_upward_test_data. Add
23478 per-rounding-mode results for tests not in those arrays.
23479 (rint_test): Use ALL_RM_TEST.
23480 (rint_tonearest_test_data): Remove.
23481 (rint_test_tonearest): Likewise.
23482 (rint_towardzero_test_data): Likewise.
23483 (rint_test_towardzero): Likewise.
23484 (rint_downward_test_data): Likewise.
23485 (rint_test_downward): Likewise.
23486 (rint_upward_test_data): Likewise.
23487 (rint_test_upward): Likewise.
23488 (main): Don't call removed functions.
23489
23490 2014-03-14 Roland McGrath <roland@hack.frob.com>
23491
23492 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23493 "Compiled on ..." crapola. It is anti-useful.
23494
23495 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23496
23497 * scripts/evaluate-test.sh: Handle fourth argument to determine
23498 whether test run should stop on failure.
23499 * Makeconfig (stop-on-test-failure): New variable.
23500 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23501 $(stop-on-test-failure).
23502 * Makefile (tests): Give a summary of results from testing and
23503 exit with failure status if they include an ERROR or FAIL.
23504 (xtests): Likewise.
23505 * manual/install.texi (Configuring and compiling): Mention
23506 stop-on-test-failure=y.
23507 * INSTALL: Regenerated.
23508
23509 2014-03-14 Roland McGrath <roland@hack.frob.com>
23510
23511 * scripts/versionlist.awk: New file.
23512 * Makerules [$(build-shared) = yes]
23513 (postclean-generated): Add Versions.def, not Versions.def.v and
23514 Versions.def.v.i.
23515 ($(common-objpfx)Versions.def.v.i): Target removed.
23516 ($(common-objpfx)Versions.def): New target.
23517 ($(common-objpfx)Versions.all): Depend on that rather that
23518 $(common-objpfx)Versions.def.v.
23519 * Versions.def: File removed.
23520
23521 * Makeconfig (+gccwarn): Add -Wundef.
23522 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23523 a dl-sysdep.h breaking its contract.
23524 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23525 * include/stackinfo.h: New file.
23526 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23527 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23528 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23529 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23530 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23531 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23532 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23533 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23534 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23535 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23536 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23537 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23538 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23539 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23540 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23541
23542 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23543
23544 [BZ #16707]
23545 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23546 implementation.
23547 * math/libm-test.inc (round_test_data): Add more tests.
23548
23549 [BZ #16706]
23550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23551 implementation.
23552 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23553
23554 [BZ #16701]
23555 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23556 implementation.
23557 * math/libm-test.inc (ceil_test_data): Add more tests.
23558
23559 * math/libm-test.inc (trunc_test_data): Add more tests related to
23560 BZ#16414.
23561
23562 2014-03-14 Roland McGrath <roland@hack.frob.com>
23563
23564 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23565 with #if rather than #ifdef.
23566 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23567
23568 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23569
23570 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23571 first. Disable AVX-512 GCC support if assembler doesn't support
23572 it.
23573 * sysdeps/x86_64/configure: Regenerated.
23574
23575 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23576
23577 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23578 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23579 (__old_pthread_attr_setstack): Likewise.
23580 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23581 [!_STACK_GROWS_DOWN]: Likewise.
23582
23583 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23584
23585 * config.make.in (have-bash2): Delete.
23586 * configure.ac (libc_cv_have_bash2): Delete.
23587 * configure: Regenerate.
23588 * elf/Makefile (common-ldd-rewrite): Rename to ...
23589 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23590 (sh-ldd-rewrite): Delete.
23591 (bash-ldd-rewrite): Delete.
23592 (have-bash2): Delete checks.
23593 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23594 ldd-rewrite.
23595
23596 * config.make.in (have-ksh): Delete.
23597 (KSH): Delete.
23598 * configure.ac (libc_cv_have_ksh): Delete.
23599 * configure: Regenerate.
23600
23601 * elf/Makefile: Delete $(have-ksh) check.
23602 ($(objpfx)sotruss): Change KSH to BASH.
23603 * elf/sotruss.ksh: Rename to ...
23604 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23605 function style to match POSIX. Drop ksh vim mode setting.
23606
23607 * manual/time.texi (Specifying the Time Zone with TZ): Change
23608 Tuesday to Thursday.
23609
23610 * debug/tst-longjmp_chk2.c: Update header comment.
23611 (stackoverflow_handler): Add comment. Call assert on pass value.
23612
23613 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23614
23615 [BZ #16194]
23616 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23617 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23618 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23619 (La_x86_64_vector): Add zmm.
23620 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23621 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23622 ($(objpfx)tst-audit10): New target.
23623 ($(objpfx)tst-audit10.out): Likewise.
23624 (tst-audit10-ENV): New.
23625 (AVX512-CFLAGS): Likewise.
23626 (CFLAGS-tst-audit10.c): Likewise.
23627 (CFLAGS-tst-auditmod10a.c): Likewise.
23628 (CFLAGS-tst-auditmod10b.c): Likewise.
23629 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23630 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23631 * sysdeps/x86_64/configure: Regenerated.
23632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23633 AVX-512 zmm register support.
23634 (_dl_x86_64_save_sse): Likewise.
23635 (_dl_x86_64_restore_sse): Likewise.
23636 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23637 size vector registers.
23638 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23639 (ZMM_SIZE): Likewise.
23640 * sysdeps/x86_64/tst-audit10.c: New file.
23641 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23642 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23643
23644 2014-03-13 Roland McGrath <roland@hack.frob.com>
23645
23646 * configure.ac (HAVE_EHDR_START): New check.
23647 * configure: Regenerated.
23648 * config.h.in (HAVE_EHDR_START): New #undef.
23649 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23650 assuming the lowest-addressed segment maps the start of the file.
23651
23652 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23653
23654 * INSTALL: Regenerated.
23655
23656 2014-03-13 Will Newton <will.newton@linaro.org>
23657
23658 * manual/setjmp.texi (System V contexts): Improve
23659 clarity and grammar of documentation.
23660
23661 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23662
23663 [BZ #16381]
23664 * elf/Makefile (tests): Add tst-pie2.
23665 (tests-pie): Add tst-pie2.
23666 * elf/tst-pie2.c: New file.
23667 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23668 for ET_EXEC.
23669 * elf/rtld.c (map_doit): Load executable as lt_executable.
23670 (dl_main): Likewise.
23671
23672 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23673
23674 [BZ #16642]
23675 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23676 (__ASSUME_PSELECT): Undefine.
23677
23678 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23679
23680 [BZ #16689]
23681 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23682 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23683 static build.
23684 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23685 selector for static builds.
23686
23687 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23688
23689 [BZ #16695]
23690 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23691 key in the buffer.
23692
23693 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23694
23695 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23696 IFUNC selector for static builds.
23697
23698 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23699
23700 * sysdeps/mips/math_private.h [__mips_hard_float]
23701 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23702 libc_feresetround_mips_ctx.
23703 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23704 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23705 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23706
23707 [BZ #16677]
23708 * math/s_nextafter.c (__nextafter): Do not return value from
23709 overflowing computation.
23710 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23711 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23712 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23713 Likewise.
23714 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23715 Likewise.
23716 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23717 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23718
23719 2014-03-11 Roland McGrath <roland@hack.frob.com>
23720
23721 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23722 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23723 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23724 the new mov targetting sp.
23725
23726 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23727
23728 [BZ #16683]
23729 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23730 Define it for static builds as well.
23731 (NO_BZERO_IMPL): Likewise.
23732
23733 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23734
23735 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23736 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23737 multiarch strspn for PPC64.
23738 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23739 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23741 (__libc_ifunc_impl_list): Likewise.
23742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23743 multiarch optimizations
23744 * string/strspn.c (strspn): Using macro to redefine symbol name.
23745
23746 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23747 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23748
23749 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23750 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23751 multiarch strncat for PPC64.
23752 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23753 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23755 (__libc_ifunc_impl_list): Likewise.
23756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23757 multiarch optimizations
23758
23759 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23760
23761 [BZ #16639]
23762 * nscd/nscd.service: Make service type forking.
23763
23764 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23765
23766 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23767 sign in non default rounding modes.
23768 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23769
23770 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23771
23772 * math/libm-test.inc (ALL_RM_TEST): New macro.
23773 (ceil_test): Use ALL_RM_TEST.
23774 (cimag_test): Likewise.
23775 (conj_test): Likewise.
23776 (copysign_test): Likewise.
23777 (cproj_test): Likewise.
23778 (creal_test): Likewise.
23779 (fabs_test): Likewise.
23780 (floor_test): Likewise.
23781 (fmax_test): Likewise.
23782 (fmin_test): Likewise.
23783 (fmod_test): Likewise.
23784 (fpclassify_test): Likewise.
23785 (frexp_test): Likewise.
23786 (ilogb_test): Likewise.
23787 (isfinite_test): Likewise.
23788 (finite_test): Likewise.
23789 (isgreater_test): Likewise.
23790 (isgreaterequal_test): Likewise.
23791 (isinf_test): Likewise.
23792 (isless_test): Likewise.
23793 (islessequal_test): Likewise.
23794 (islessgreater_test): Likewise.
23795 (isnan_test): Likewise.
23796 (isnormal_test): Likewise.
23797 (issignaling_test): Likewise.
23798 (isunordered_test): Likewise.
23799 (logb_test): Likewise.
23800 (logb_downward_test_data): Remove.
23801 (logb_test_downward): Likewise.
23802 (lround_test): Use ALL_RM_TEST.
23803 (llround_test): Likewise.
23804 (modf_test): Likewise.
23805 (nexttoward_test): Likewise.
23806 (remainder_test): Likewise.
23807 (drem_test): Likewise.
23808 (remainder_tonearest_test_data): Likewise.
23809 (remainder_test_tonearest): Likewise.
23810 (drem_test_tonearest): Likewise.
23811 (remainder_towardzero_test_data): Likewise.
23812 (remainder_test_towardzero): Likewise.
23813 (drem_test_towardzero): Likewise.
23814 (remainder_downward_test_data): Likewise.
23815 (remainder_test_downward): Likewise.
23816 (drem_test_downward): Likewise.
23817 (remainder_upward_test_data): Likewise.
23818 (remainder_test_upward): Likewise.
23819 (drem_test_upward): Likewise.
23820 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23821 (round_test): Use ALL_RM_TEST.
23822 (signbit_test): Likewise.
23823 (trunc_test): Likewise.
23824 (significand_test): Likewise.
23825 (main): Don't call removed functions.
23826
23827 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23828
23829 [BZ #16674]
23830 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23831 || __USE_XOPEN2K8].
23832 (ILL_ILLOPN): Likewise.
23833 (ILL_ILLADR): Likewise.
23834 (ILL_ILLTRP): Likewise.
23835 (ILL_PRVOPC): Likewise.
23836 (ILL_PRVREG): Likewise.
23837 (ILL_COPROC): Likewise.
23838 (ILL_BADSTK): Likewise.
23839 (FPE_INTDIV): Likewise.
23840 (FPE_INTOVF): Likewise.
23841 (FPE_FLTDIV): Likewise.
23842 (FPE_FLTOVF): Likewise.
23843 (FPE_FLTUND): Likewise.
23844 (FPE_FLTRES): Likewise.
23845 (FPE_FLTINV): Likewise.
23846 (FPE_FLTSUB): Likewise.
23847 (SEGV_MAPERR): Likewise.
23848 (SEGV_ACCERR): Likewise.
23849 (BUS_ADRALN): Likewise.
23850 (BUS_ADRERR): Likewise.
23851 (BUS_OBJERR): Likewise.
23852 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23853 (TRAP_TRACE): Likewise.
23854 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23855 __USE_XOPEN2K8].
23856 (CLD_KILLED): Likewise.
23857 (CLD_DUMPED): Likewise.
23858 (CLD_TRAPPED): Likewise.
23859 (CLD_STOPPED): Likewise.
23860 (CLD_CONTINUED): Likewise.
23861 (POLL_IN): Likewise.
23862 (POLL_OUT): Likewise.
23863 (POLL_MSG): Likewise.
23864 (POLL_ERR): Likewise.
23865 (POLL_PRI): Likewise.
23866 (POLL_HUP): Likewise.
23867 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23868 Likewise.
23869 (ILL_ILLOPN): Likewise.
23870 (ILL_ILLADR): Likewise.
23871 (ILL_ILLTRP): Likewise.
23872 (ILL_PRVOPC): Likewise.
23873 (ILL_PRVREG): Likewise.
23874 (ILL_COPROC): Likewise.
23875 (ILL_BADSTK): Likewise.
23876 (FPE_INTDIV): Likewise.
23877 (FPE_INTOVF): Likewise.
23878 (FPE_FLTDIV): Likewise.
23879 (FPE_FLTOVF): Likewise.
23880 (FPE_FLTUND): Likewise.
23881 (FPE_FLTRES): Likewise.
23882 (FPE_FLTINV): Likewise.
23883 (FPE_FLTSUB): Likewise.
23884 (SEGV_MAPERR): Likewise.
23885 (SEGV_ACCERR): Likewise.
23886 (BUS_ADRALN): Likewise.
23887 (BUS_ADRERR): Likewise.
23888 (BUS_OBJERR): Likewise.
23889 (BUS_MCEERR_AR): Likewise.
23890 (BUS_MCEERR_AO): Likewise.
23891 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23892 (TRAP_TRACE): Likewise.
23893 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23894 __USE_XOPEN2K8].
23895 (CLD_KILLED): Likewise.
23896 (CLD_DUMPED): Likewise.
23897 (CLD_TRAPPED): Likewise.
23898 (CLD_STOPPED): Likewise.
23899 (CLD_CONTINUED): Likewise.
23900 (POLL_IN): Likewise.
23901 (POLL_OUT): Likewise.
23902 (POLL_MSG): Likewise.
23903 (POLL_ERR): Likewise.
23904 (POLL_PRI): Likewise.
23905 (POLL_HUP): Likewise.
23906 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23907 (ILL_ILLOPN): Likewise.
23908 (ILL_ILLADR): Likewise.
23909 (ILL_ILLTRP): Likewise.
23910 (ILL_PRVOPC): Likewise.
23911 (ILL_PRVREG): Likewise.
23912 (ILL_COPROC): Likewise.
23913 (ILL_BADSTK): Likewise.
23914 (FPE_INTDIV): Likewise.
23915 (FPE_INTOVF): Likewise.
23916 (FPE_FLTDIV): Likewise.
23917 (FPE_FLTOVF): Likewise.
23918 (FPE_FLTUND): Likewise.
23919 (FPE_FLTRES): Likewise.
23920 (FPE_FLTINV): Likewise.
23921 (FPE_FLTSUB): Likewise.
23922 (SEGV_MAPERR): Likewise.
23923 (SEGV_ACCERR): Likewise.
23924 (BUS_ADRALN): Likewise.
23925 (BUS_ADRERR): Likewise.
23926 (BUS_OBJERR): Likewise.
23927 (BUS_MCEERR_AR): Likewise.
23928 (BUS_MCEERR_AO): Likewise.
23929 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23930 (TRAP_TRACE): Likewise.
23931 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23932 __USE_XOPEN2K8].
23933 (CLD_KILLED): Likewise.
23934 (CLD_DUMPED): Likewise.
23935 (CLD_TRAPPED): Likewise.
23936 (CLD_STOPPED): Likewise.
23937 (CLD_CONTINUED): Likewise.
23938 (POLL_IN): Likewise.
23939 (POLL_OUT): Likewise.
23940 (POLL_MSG): Likewise.
23941 (POLL_ERR): Likewise.
23942 (POLL_PRI): Likewise.
23943 (POLL_HUP): Likewise.
23944 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23945 Likewise.
23946 (ILL_ILLOPN): Likewise.
23947 (ILL_ILLADR): Likewise.
23948 (ILL_ILLTRP): Likewise.
23949 (ILL_PRVOPC): Likewise.
23950 (ILL_PRVREG): Likewise.
23951 (ILL_COPROC): Likewise.
23952 (ILL_BADSTK): Likewise.
23953 (ILL_BADIADDR): Likewise.
23954 (ILL_BREAK): Likewise.
23955 (FPE_INTDIV): Likewise.
23956 (FPE_INTOVF): Likewise.
23957 (FPE_FLTDIV): Likewise.
23958 (FPE_FLTOVF): Likewise.
23959 (FPE_FLTUND): Likewise.
23960 (FPE_FLTRES): Likewise.
23961 (FPE_FLTINV): Likewise.
23962 (FPE_FLTSUB): Likewise.
23963 (FPE_DECOVF): Likewise.
23964 (FPE_DECDIV): Likewise.
23965 (FPE_DECERR): Likewise.
23966 (FPE_INVASC): Likewise.
23967 (FPE_INVDEC): Likewise.
23968 (SEGV_MAPERR): Likewise.
23969 (SEGV_ACCERR): Likewise.
23970 (SEGV_PSTKOVF): Likewise.
23971 (BUS_ADRALN): Likewise.
23972 (BUS_ADRERR): Likewise.
23973 (BUS_OBJERR): Likewise.
23974 (BUS_MCEERR_AR): Likewise.
23975 (BUS_MCEERR_AO): Likewise.
23976 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23977 (TRAP_TRACE): Likewise.
23978 (TRAP_BRANCH): Likewise.
23979 (TRAP_HWBKPT): Likewise.
23980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23981 __USE_XOPEN2K8].
23982 (CLD_KILLED): Likewise.
23983 (CLD_DUMPED): Likewise.
23984 (CLD_TRAPPED): Likewise.
23985 (CLD_STOPPED): Likewise.
23986 (CLD_CONTINUED): Likewise.
23987 (POLL_IN): Likewise.
23988 (POLL_OUT): Likewise.
23989 (POLL_MSG): Likewise.
23990 (POLL_ERR): Likewise.
23991 (POLL_PRI): Likewise.
23992 (POLL_HUP): Likewise.
23993 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23994 (ILL_ILLOPN): Likewise.
23995 (ILL_ILLADR): Likewise.
23996 (ILL_ILLTRP): Likewise.
23997 (ILL_PRVOPC): Likewise.
23998 (ILL_PRVREG): Likewise.
23999 (ILL_COPROC): Likewise.
24000 (ILL_BADSTK): Likewise.
24001 (FPE_INTDIV): Likewise.
24002 (FPE_INTOVF): Likewise.
24003 (FPE_FLTDIV): Likewise.
24004 (FPE_FLTOVF): Likewise.
24005 (FPE_FLTUND): Likewise.
24006 (FPE_FLTRES): Likewise.
24007 (FPE_FLTINV): Likewise.
24008 (FPE_FLTSUB): Likewise.
24009 (SEGV_MAPERR): Likewise.
24010 (SEGV_ACCERR): Likewise.
24011 (BUS_ADRALN): Likewise.
24012 (BUS_ADRERR): Likewise.
24013 (BUS_OBJERR): Likewise.
24014 (BUS_MCEERR_AR): Likewise.
24015 (BUS_MCEERR_AO): Likewise.
24016 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24017 (TRAP_TRACE): Likewise.
24018 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24019 __USE_XOPEN2K8].
24020 (CLD_KILLED): Likewise.
24021 (CLD_DUMPED): Likewise.
24022 (CLD_TRAPPED): Likewise.
24023 (CLD_STOPPED): Likewise.
24024 (CLD_CONTINUED): Likewise.
24025 (POLL_IN): Likewise.
24026 (POLL_OUT): Likewise.
24027 (POLL_MSG): Likewise.
24028 (POLL_ERR): Likewise.
24029 (POLL_PRI): Likewise.
24030 (POLL_HUP): Likewise.
24031 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24032 (ILL_ILLOPN): Likewise.
24033 (ILL_ILLADR): Likewise.
24034 (ILL_ILLTRP): Likewise.
24035 (ILL_PRVOPC): Likewise.
24036 (ILL_PRVREG): Likewise.
24037 (ILL_COPROC): Likewise.
24038 (ILL_BADSTK): Likewise.
24039 (FPE_INTDIV): Likewise.
24040 (FPE_INTOVF): Likewise.
24041 (FPE_FLTDIV): Likewise.
24042 (FPE_FLTOVF): Likewise.
24043 (FPE_FLTUND): Likewise.
24044 (FPE_FLTRES): Likewise.
24045 (FPE_FLTINV): Likewise.
24046 (FPE_FLTSUB): Likewise.
24047 (SEGV_MAPERR): Likewise.
24048 (SEGV_ACCERR): Likewise.
24049 (BUS_ADRALN): Likewise.
24050 (BUS_ADRERR): Likewise.
24051 (BUS_OBJERR): Likewise.
24052 (BUS_MCEERR_AR): Likewise.
24053 (BUS_MCEERR_AO): Likewise.
24054 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24055 (TRAP_TRACE): Likewise.
24056 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24057 __USE_XOPEN2K8].
24058 (CLD_KILLED): Likewise.
24059 (CLD_DUMPED): Likewise.
24060 (CLD_TRAPPED): Likewise.
24061 (CLD_STOPPED): Likewise.
24062 (CLD_CONTINUED): Likewise.
24063 (POLL_IN): Likewise.
24064 (POLL_OUT): Likewise.
24065 (POLL_MSG): Likewise.
24066 (POLL_ERR): Likewise.
24067 (POLL_PRI): Likewise.
24068 (POLL_HUP): Likewise.
24069 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24070 (ILL_ILLOPN): Likewise.
24071 (ILL_ILLADR): Likewise.
24072 (ILL_ILLTRP): Likewise.
24073 (ILL_PRVOPC): Likewise.
24074 (ILL_PRVREG): Likewise.
24075 (ILL_COPROC): Likewise.
24076 (ILL_BADSTK): Likewise.
24077 (FPE_INTDIV): Likewise.
24078 (FPE_INTOVF): Likewise.
24079 (FPE_FLTDIV): Likewise.
24080 (FPE_FLTOVF): Likewise.
24081 (FPE_FLTUND): Likewise.
24082 (FPE_FLTRES): Likewise.
24083 (FPE_FLTINV): Likewise.
24084 (FPE_FLTSUB): Likewise.
24085 (SEGV_MAPERR): Likewise.
24086 (SEGV_ACCERR): Likewise.
24087 (BUS_ADRALN): Likewise.
24088 (BUS_ADRERR): Likewise.
24089 (BUS_OBJERR): Likewise.
24090 (BUS_MCEERR_AR): Likewise.
24091 (BUS_MCEERR_AO): Likewise.
24092 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24093 (TRAP_TRACE): Likewise.
24094 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24095 __USE_XOPEN2K8].
24096 (CLD_KILLED): Likewise.
24097 (CLD_DUMPED): Likewise.
24098 (CLD_TRAPPED): Likewise.
24099 (CLD_STOPPED): Likewise.
24100 (CLD_CONTINUED): Likewise.
24101 (POLL_IN): Likewise.
24102 (POLL_OUT): Likewise.
24103 (POLL_MSG): Likewise.
24104 (POLL_ERR): Likewise.
24105 (POLL_PRI): Likewise.
24106 (POLL_HUP): Likewise.
24107 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24108 (ILL_ILLOPN): Likewise.
24109 (ILL_ILLADR): Likewise.
24110 (ILL_ILLTRP): Likewise.
24111 (ILL_PRVOPC): Likewise.
24112 (ILL_PRVREG): Likewise.
24113 (ILL_COPROC): Likewise.
24114 (ILL_BADSTK): Likewise.
24115 (ILL_DBLFLT): Likewise.
24116 (ILL_HARDWALL): Likewise.
24117 (FPE_INTDIV): Likewise.
24118 (FPE_INTOVF): Likewise.
24119 (FPE_FLTDIV): Likewise.
24120 (FPE_FLTOVF): Likewise.
24121 (FPE_FLTUND): Likewise.
24122 (FPE_FLTRES): Likewise.
24123 (FPE_FLTINV): Likewise.
24124 (FPE_FLTSUB): Likewise.
24125 (SEGV_MAPERR): Likewise.
24126 (SEGV_ACCERR): Likewise.
24127 (BUS_ADRALN): Likewise.
24128 (BUS_ADRERR): Likewise.
24129 (BUS_OBJERR): Likewise.
24130 (BUS_MCEERR_AR): Likewise.
24131 (BUS_MCEERR_AO): Likewise.
24132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24133 (TRAP_TRACE): Likewise.
24134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24135 __USE_XOPEN2K8].
24136 (CLD_KILLED): Likewise.
24137 (CLD_DUMPED): Likewise.
24138 (CLD_TRAPPED): Likewise.
24139 (CLD_STOPPED): Likewise.
24140 (CLD_CONTINUED): Likewise.
24141 (POLL_IN): Likewise.
24142 (POLL_OUT): Likewise.
24143 (POLL_MSG): Likewise.
24144 (POLL_ERR): Likewise.
24145 (POLL_PRI): Likewise.
24146 (POLL_HUP): Likewise.
24147 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24148 (ILL_ILLOPN): Likewise.
24149 (ILL_ILLADR): Likewise.
24150 (ILL_ILLTRP): Likewise.
24151 (ILL_PRVOPC): Likewise.
24152 (ILL_PRVREG): Likewise.
24153 (ILL_COPROC): Likewise.
24154 (ILL_BADSTK): Likewise.
24155 (FPE_INTDIV): Likewise.
24156 (FPE_INTOVF): Likewise.
24157 (FPE_FLTDIV): Likewise.
24158 (FPE_FLTOVF): Likewise.
24159 (FPE_FLTUND): Likewise.
24160 (FPE_FLTRES): Likewise.
24161 (FPE_FLTINV): Likewise.
24162 (FPE_FLTSUB): Likewise.
24163 (SEGV_MAPERR): Likewise.
24164 (SEGV_ACCERR): Likewise.
24165 (BUS_ADRALN): Likewise.
24166 (BUS_ADRERR): Likewise.
24167 (BUS_OBJERR): Likewise.
24168 (BUS_MCEERR_AR): Likewise.
24169 (BUS_MCEERR_AO): Likewise.
24170 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24171 (TRAP_TRACE): Likewise.
24172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24173 __USE_XOPEN2K8].
24174 (CLD_KILLED): Likewise.
24175 (CLD_DUMPED): Likewise.
24176 (CLD_TRAPPED): Likewise.
24177 (CLD_STOPPED): Likewise.
24178 (CLD_CONTINUED): Likewise.
24179 (POLL_IN): Likewise.
24180 (POLL_OUT): Likewise.
24181 (POLL_MSG): Likewise.
24182 (POLL_ERR): Likewise.
24183 (POLL_PRI): Likewise.
24184 (POLL_HUP): Likewise.
24185 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24186 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24187
24188 [BZ #16670]
24189 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24190 before #include of <time.h>.
24191 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24192 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24193 (test-xfail-UNIX98/sched.h/conform): Likewise.
24194
24195 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24196
24197 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24198 error absence of trapping exception support.
24199 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24200
24201 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24202
24203 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24204 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24205 * timezone/Makefile (testdata): Move definition above include of
24206 Rules.
24207 (test-zones): New variable.
24208 (tests-special): Add zone files.
24209 (build-testdata): Use $(evaluate-test).
24210
24211 * elf/Makefile (tests-special): Rename tests to end with .out.
24212 ($(objpfx)noload-mem): Likewise.
24213 ($(objpfx)tst-leaks1-mem): Likewise.
24214 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24215 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24216 $(objpfx)test-iconvconfig.out.
24217 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24218 set -e inside subshell and redirect output to file.
24219 * iconvdata/Makefile (generated): Rename tests to end with .out.
24220 Correct type.
24221 (tests-special): Rename tests to end with .out.
24222 ($(objpfx)mtrace-tst-loading): Likewise.
24223 * intl/Makefile (generated): Likewise.
24224 (tests-special): Likewise.
24225 ($(objpfx)mtrace-tst-gettext): Likewise.
24226 * misc/Makefile (generated): Likewise.
24227 (tests-special): Likewise.
24228 ($(objpfx)tst-error1-mem): Likewise.
24229 * nptl/Makefile (tests-special): Likewise.
24230 ($(objpfx)tst-stack3-mem): Likewise.
24231 (generated): Likewise.
24232 * posix/Makefile (generated): Likewise.
24233 (tests-special): Likewise.
24234 (xtests-special): Likewise.
24235 ($(objpfx)tst-fnmatch-mem): Likewise.
24236 ($(objpfx)bug-regex2-mem): Likewise.
24237 ($(objpfx)bug-regex14-mem): Likewise.
24238 ($(objpfx)bug-regex21-mem): Likewise.
24239 ($(objpfx)bug-regex31-mem): Likewise.
24240 ($(objpfx)tst-vfork3-mem): Likewise.
24241 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24242 ($(objpfx)tst-pcre-mem): Likewise.
24243 ($(objpfx)tst-boost-mem): Likewise.
24244 ($(objpfx)bug-ga2-mem): Likewise.
24245 ($(objpfx)bug-glob2-mem): Likewise.
24246 * resolv/Makefile (generate): Likewise.
24247 (tests-special): Likewise.
24248 (xtests-special): Likewise.
24249 (generated): Likewise.
24250 ($(objpfx)mtrace-tst-leaks): Likewise.
24251 ($(objpfx)mtrace-tst-leaks2): Likewise.
24252
24253 * scripts/merge-test-results.sh: New file.
24254 * Makefile (tests-special-notdir): New variable.
24255 (tests): Run merge-test-results.sh.
24256 (xtests): Likewise.
24257 * Rules (tests-special-notdir): New variable.
24258 (xtests-special-notdir): Likewise.
24259 (tests): Run merge-test-results.sh
24260 (xtests): Likewise.
24261
24262 * Makeconfig (test-xfail-name): New variable.
24263 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24264 compute variable name for expected failures.
24265 * conform/Makefile (conformtest-headers-data): New variable.
24266 (conformtest-standards): Likewise.
24267 (conformtest-headers-ISO): Likewise.
24268 (conformtest-headers-ISO99): Likewise.
24269 (conformtest-headers-ISO11): Likewise.
24270 (conformtest-headers-POSIX): Likewise.
24271 (conformtest-headers-XPG3): Likewise.
24272 (conformtest-headers-XPG4): Likewise.
24273 (conformtest-headers-UNIX98): Likewise.
24274 (conformtest-headers-XOPEN2K): Likewise.
24275 (conformtest-headers-POSIX2008): Likewise.
24276 (conformtest-headers-XOPEN2K8): Likewise.
24277 (conformtest-header-list-base): Likewise.
24278 (conformtest-header-list-tests): Likewise.
24279 (conformtest-header-base): Likewise.
24280 (conformtest-header-tests): Likewise.
24281 (tests-special): Add $(conformtest-header-list-tests). If
24282 [$(fast-check) && !$(cross-compiling)], add
24283 $(conformtest-header-tests) instead of
24284 $(objpfx)run-conformtest.out.
24285 (generated): Add $(conformtest-header-list-base). If
24286 [$(fast-check) && !$(cross-compiling)], add
24287 $(conformtest-header-base). Remove previous setting.
24288 ($(conformtest-header-list-tests)): New target.
24289 (test-xfail-run-conformtest): Remove variable.
24290 ($(objpfx)run-conformtest.out): Remove target.
24291 (test-xfail-ISO11/complex.h/conform): New variable.
24292 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24293 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24294 (test-xfail-XPG3/varargs.h/conform): Likewise.
24295 (test-xfail-XPG4/varargs.h/conform): Likewise.
24296 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24297 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24298 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24299 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24300 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24301 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24302 (test-xfail-XPG3/ftw.h/conform): Likewise.
24303 (test-xfail-XPG3/grp.h/conform): Likewise.
24304 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24305 (test-xfail-XPG3/limits.h/conform): Likewise.
24306 (test-xfail-XPG3/pwd.h/conform): Likewise.
24307 (test-xfail-XPG3/search.h/conform): Likewise.
24308 (test-xfail-XPG3/signal.h/conform): Likewise.
24309 (test-xfail-XPG3/stdio.h/conform): Likewise.
24310 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24311 (test-xfail-XPG3/string.h/conform): Likewise.
24312 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24313 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24314 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24315 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24316 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24317 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24318 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24319 (test-xfail-XPG3/termios.h/conform): Likewise.
24320 (test-xfail-XPG3/time.h/conform): Likewise.
24321 (test-xfail-XPG3/unistd.h/conform): Likewise.
24322 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24323 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24324 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24325 (test-xfail-XPG4/netdb.h/conform): Likewise.
24326 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24327 (test-xfail-XPG4/signal.h/conform): Likewise.
24328 (test-xfail-XPG4/stdio.h/conform): Likewise.
24329 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24330 (test-xfail-XPG4/stropts.h/conform): Likewise.
24331 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24332 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24333 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24334 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24335 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24336 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24337 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24338 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24339 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24340 (test-xfail-XPG4/termios.h/conform): Likewise.
24341 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24342 (test-xfail-XPG4/unistd.h/conform): Likewise.
24343 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24344 (test-xfail-POSIX/sched.h/conform): Likewise.
24345 (test-xfail-POSIX/signal.h/conform): Likewise.
24346 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24347 (test-xfail-POSIX/tar.h/conform): Likewise.
24348 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24349 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24350 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24351 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24352 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24353 (test-xfail-UNIX98/sched.h/conform): Likewise.
24354 (test-xfail-UNIX98/signal.h/conform): Likewise.
24355 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24356 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24357 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24358 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24359 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24360 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24361 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24362 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24363 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24364 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24365 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24366 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24367 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24368 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24369 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24370 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24371 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24372 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24373 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24374 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24375 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24376 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24377 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24378 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24379 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24380 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24381 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24382 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24383 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24384 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24385 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24386 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24387 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24388 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24389 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24390 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24391 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24392 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24393 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24394 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24395 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24396 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24397 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24398 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24399 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24400 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24401 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24402 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24403 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24404 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24405 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24406 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24407 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24408 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24409 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24410 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24411 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24412 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24413 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24414 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24415 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24416 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24417 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24418 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24419 (conformtest-cc-flags): Likewise.
24420 ($(conformtest-header-tests): New target.
24421 * conform/check-header-lists.sh: New file.
24422 * conform/run-conformtest.sh: Remove.
24423
24424 * conform/conformtest.pl: Allow ' and \ in values given for
24425 constants.
24426 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24427 inclusion.
24428 [POSIX] (sys/types.h): Likewise.
24429 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24430 inclusion.
24431 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24432 inclusion.
24433 * conform/data/signal.h-data (SIGIO): Remove expectation.
24434 [XPG3] (SIGBUS): Do not expect.
24435 [POSIX || XPG3] (SIGPOLL): Likewise.
24436 [POSIX || XPG3] (SIGPROF): Likewise.
24437 [POSIX || XPG3] (SIGSYS): Likewise.
24438 [XPG3] (SIGTRAP): Likewise.
24439 [POSIX || XPG3] (SIGURG): Likewise.
24440 [POSIX || XPG3] (SIGVTALRM): Likewise.
24441 [POSIX || XPG3] (SIGXCPU): Likewise.
24442 [POSIX || XPG3] (SIGXFSZ): Likewise.
24443 [POSIX] (SA_SIGINFO): Expect.
24444 [XPG3] (siginfo_t): Do not expect type or contents.
24445 [POSIX] (si_pid): Do not expect element.
24446 [POSIX] (si_uid): Likewise.
24447 [POSIX] (si_addr): Likewise.
24448 [POSIX] (si_status): Likewise.
24449 [POSIX] (si_band): Likewise.
24450 [XPG4] (si_value): Likewise.
24451 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24452 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24453 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24454 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24455 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24456 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24457 [POSIX || XPG3] (ILL_COPROC): Likewise.
24458 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24459 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24460 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24461 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24462 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24463 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24464 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24465 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24466 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24467 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24468 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24469 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24470 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24471 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24472 [POSIX || XPG3] (CLD_EXITED): Likewise.
24473 [POSIX || XPG3] (CLD_KILLED): Likewise.
24474 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24475 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24476 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24477 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24478 [POSIX || XPG3] (POLL_IN): Likewise.
24479 [POSIX || XPG3] (POLL_OUT): Likewise.
24480 [POSIX || XPG3] (POLL_MSG): Likewise.
24481 [POSIX || XPG3] (POLL_ERR): Likewise.
24482 [POSIX || XPG3] (POLL_PRI): Likewise.
24483 [POSIX || XPG3] (POLL_HUP): Likewise.
24484 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24485 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24486 (SIG*): Do not allow.
24487 [XPG3] (si_*): Likewise.
24488 [XPG3] (SI_*): Likewise.
24489 [XPG3 || XPG4] (sigev_*): Likewise.
24490 [XPG3 || XPG4] (SIGEV_*): Likewise.
24491 [XPG3 || XPG4] (sival_*): Likewise.
24492 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24493 [POSIX || XPG3] (BUS_*): Likewise.
24494 [POSIX || XPG3] (CLD_*): Likewise.
24495 [POSIX || XPG3] (FPE_*): Likewise.
24496 [POSIX || XPG3] (ILL_*): Likewise.
24497 [POSIX || XPG3] (POLL_*): Likewise.
24498 [POSIX || XPG3] (SEGV_*): Likewise.
24499 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24500 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24501 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24502 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24503 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24504 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24505 Specify type and value.
24506 (TVERSLEN): Likewise.
24507 (REGTYPE): Likewise.
24508 (AREGTYPE): Likewise.
24509 (LNKTYPE): Likewise.
24510 (SYMTYPE): Likewise.
24511 (CHRTYPE): Likewise.
24512 (BLKTYPE): Likewise.
24513 (DIRTYPE): Likewise.
24514 (FIFOTYPE): Likewise.
24515 (CONTTYPE): Likewise.
24516 (TSUID): Likewise.
24517 (TSGID): Likewise.
24518 (TSVTX): Likewise.
24519 (TUREAD): Likewise.
24520 (TUWRITE): Likewise.
24521 (TUEXEC): Likewise.
24522 (TGREAD): Likewise.
24523 (TGWRITE): Likewise.
24524 (TGEXEC): Likewise.
24525 (TOREAD): Likewise.
24526 (TOWRITE): Likewise.
24527 (TOEXEC): Likewise.
24528 [POSIX] (TSVTX): Expect constant.
24529
24530 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24531
24532 * Makefile (tests): Change dependencies to ....
24533 (tests-special): ... additions to this variable.
24534 (tests): Depend on $(tests-special).
24535 * Makerules (check-abi-list): New variable.
24536 (check-abi): Depend on $(check-abi-list).
24537 [$(subdir) = elf] (tests-special): Add
24538 $(objpfx)check-abi-libc.out.
24539 [$(build-shared) = yes && subdir] (tests-special): Add
24540 $(check-abi-list).
24541 [$(build-shared) = yes && subdir] (tests): Do not depend on
24542 check-abi.
24543 * Rules (tests): Depend on $(tests-special).
24544 (xtests): Depend on $(xtests-special).
24545 * catgets/Makefile (tests): Change dependencies to ....
24546 (tests-special): ... additions to this variable.
24547 * conform/Makefile (tests): Change dependencies to ....
24548 (tests-special): ... additions to this variable.
24549 * elf/Makefile (tests): Change dependencies to ....
24550 (tests-special): ... additions to this variable.
24551 * grp/Makefile (tests): Change dependencies to ....
24552 (tests-special): ... additions to this variable.
24553 * iconv/Makefile (xtests): Change dependencies to ....
24554 (xtests-special): ... additions to this variable.
24555 * iconvdata/Makefile (tests): Change dependencies to ....
24556 (tests-special): ... additions to this variable.
24557 * intl/Makefile (tests): Change dependencies to ....
24558 (tests-special): ... additions to this variable. Also add
24559 $(objpfx)tst-gettext.out.
24560 * io/Makefile (tests): Change dependencies to ....
24561 (tests-special): ... additions to this variable.
24562 * libio/Makefile (tests): Change dependencies to ....
24563 (tests-special): ... additions to this variable.
24564 * malloc/Makefile (tests): Change dependencies to ....
24565 (tests-special): ... additions to this variable.
24566 * misc/Makefile (tests): Change dependencies to ....
24567 (tests-special): ... additions to this variable.
24568 * nptl/Makefile (tests): Change dependencies to ....
24569 (tests-special): ... additions to this variable.
24570 * nptl_db/Makefile (tests): Change dependencies to ....
24571 (tests-special): ... additions to this variable.
24572 * posix/Makefile (tests): Change dependencies to ....
24573 (tests-special): ... additions to this variable.
24574 (xtests): Change dependencies to ....
24575 (xtests-special): ... additions to this variable.
24576 * resolv/Makefile (tests): Change dependencies to ....
24577 (tests-special): ... additions to this variable.
24578 (xtests): Change dependencies to ....
24579 (xtests-special): ... additions to this variable.
24580 * stdio-common/Makefile (tests): Change dependencies to ....
24581 (tests-special): ... additions to this variable.
24582 (do-tst-unbputc): Remove target.
24583 (do-tst-printf): Likewise.
24584 * stdlib/Makefile (tests): Change dependencies to ....
24585 (tests-special): ... additions to this variable.
24586 * string/Makefile (tests): Change dependencies to ....
24587 (tests-special): ... additions to this variable.
24588 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24589 (tests-special): ... additions to this variable.
24590
24591 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24592 whole file.
24593 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24594 whole file.
24595 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24596 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24597
24598 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24599 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24600 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24601 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24602 * conform/data/libgen.h-data [XPG3]: Likewise.
24603 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24604 * conform/data/ndbm.h-data [XPG3]: Likewise.
24605 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24606 * conform/data/netdb.h-data [XPG3]: Likewise.
24607 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24608 * conform/data/poll.h-data [XPG3]: Likewise.
24609 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24610 * conform/data/strings.h-data [XPG3]: Likewise.
24611 * conform/data/stropts.h-data [XPG3]: Likewise.
24612 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24613 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24614 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24615 Likewise.
24616 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24617 * conform/data/sys/time.h-data [XPG3]: Likewise.
24618 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24619 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24620 * conform/data/sys/un.h-data [XPG3]: Likewise.
24621 * conform/data/syslog.h-data [XPG3]: Likewise.
24622 * conform/data/ucontext.h-data [XPG3]: Likewise.
24623 * conform/data/utmpx.h-data [XPG3]: Likewise.
24624 * conform/data/varargs.h-data [UNIX98]: Enable file.
24625
24626 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24627
24628 * math/libm-test.inc (struct test_f_f_data): Move expected results
24629 into structure for each rounding mode.
24630 (struct test_ff_f_data): Likewise.
24631 (struct test_ff_f_data_nexttoward): Likewise.
24632 (struct test_fi_f_data): Likewise.
24633 (struct test_fl_f_data): Likewise.
24634 (struct test_if_f_data): Likewise.
24635 (struct test_fff_f_data): Likewise.
24636 (struct test_c_f_data): Likewise.
24637 (struct test_f_f1_data): Likewise.
24638 (struct test_fF_f1_data): Likewise.
24639 (struct test_ffI_f1_data): Likewise.
24640 (struct test_c_c_data): Likewise.
24641 (struct test_cc_c_data): Likewise.
24642 (struct test_f_i_data): Likewise.
24643 (struct test_ff_i_data): Likewise.
24644 (struct test_f_l_data): Likewise.
24645 (struct test_f_L_data): Likewise.
24646 (struct test_fFF_11_data): Likewise.
24647 (RM_): New macro.
24648 (RM_FE_DOWNWARD): Likewise.
24649 (RM_FE_TONEAREST): Likewise.
24650 (RM_FE_TOWARDZERO): Likewise.
24651 (RM_FE_UPWARD): Likewise.
24652 (RUN_TEST_LOOP_f_f): Update references to expected results.
24653 (RUN_TEST_LOOP_2_f): Likewise.
24654 (RUN_TEST_LOOP_fff_f): Likewise.
24655 (RUN_TEST_LOOP_c_f): Likewise.
24656 (RUN_TEST_LOOP_f_f1): Likewise.
24657 (RUN_TEST_LOOP_fF_f1): Likewise.
24658 (RUN_TEST_LOOP_fI_f1): Likewise.
24659 (RUN_TEST_LOOP_ffI_f1): Likewise.
24660 (RUN_TEST_LOOP_c_c): Likewise.
24661 (RUN_TEST_LOOP_cc_c): Likewise.
24662 (RUN_TEST_LOOP_f_i): Likewise.
24663 (RUN_TEST_LOOP_f_i_tg): Likewise.
24664 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24665 (RUN_TEST_LOOP_f_b): Likewise.
24666 (RUN_TEST_LOOP_f_b_tg): Likewise.
24667 (RUN_TEST_LOOP_f_l): Likewise.
24668 (RUN_TEST_LOOP_f_L): Likewise.
24669 (RUN_TEST_LOOP_fFF_11): Likewise.
24670 * math/gen-libm-test.pl (parse_args): Output four copies of
24671 expected results for each test.
24672
24673 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24674 (__ASSUME_UTIMES): Remove.
24675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24676 (__ASSUME_UTIMES): Likewise.
24677
24678 * math/gen-auto-libm-tests.c: Update comment on output format.
24679 (output_for_one_input_case): Generate before-rounding and
24680 after-rounding information as conditions on output flags not
24681 floating-point format.
24682 * math/auto-libm-test-out: Regenerated.
24683 * math/gen-libm-test.pl (cond_value): New function.
24684 (or_cond_value): Use cond_value.
24685 (generate_testfile): Handle conditional exceptions.
24686
24687 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24688
24689 * math/libm-test.inc (max_valid_error): New variable.
24690 (init_max_error): Take new argument specifying whether function
24691 results are exactly determined. Set max_valid_error and bound
24692 other variables for errors based on this argument.
24693 (set_max_error): Do not record results above max_valid_error.
24694 (check_float_internal): Only accept errors of up to 0.5ulps if
24695 also at most max_valid_error.
24696 (START): Take new argument EXACT and pass it to init_max_error.
24697 (acos_test): Update call to START.
24698 (acos_test_tonearest): Likewise.
24699 (acos_test_towardzero): Likewise.
24700 (acos_test_downward): Likewise.
24701 (acos_test_upward): Likewise.
24702 (acosh_test): Likewise.
24703 (asin_test): Likewise.
24704 (asin_test_tonearest): Likewise.
24705 (asin_test_towardzero): Likewise.
24706 (asin_test_downward): Likewise.
24707 (asin_test_upward): Likewise.
24708 (asinh_test): Likewise.
24709 (atan_test): Likewise.
24710 (atanh_test): Likewise.
24711 (atan2_test): Likewise.
24712 (cabs_test): Likewise.
24713 (cacos_test): Likewise.
24714 (cacosh_test): Likewise.
24715 (carg_test): Likewise.
24716 (casin_test): Likewise.
24717 (casinh_test): Likewise.
24718 (catan_test): Likewise.
24719 (catanh_test): Likewise.
24720 (cbrt_test): Likewise.
24721 (ccos_test): Likewise.
24722 (ccosh_test): Likewise.
24723 (ceil_test): Likewise.
24724 (cexp_test): Likewise.
24725 (cimag_test): Likewise.
24726 (clog_test): Likewise.
24727 (clog10_test): Likewise.
24728 (conj_test): Likewise.
24729 (copysign_test): Likewise.
24730 (cos_test): Likewise.
24731 (cos_test_tonearest): Likewise.
24732 (cos_test_towardzero): Likewise.
24733 (cos_test_downward): Likewise.
24734 (cos_test_upward): Likewise.
24735 (cosh_test): Likewise.
24736 (cosh_test_tonearest): Likewise.
24737 (cosh_test_towardzero): Likewise.
24738 (cosh_test_downward): Likewise.
24739 (cosh_test_upward): Likewise.
24740 (cpow_test): Likewise.
24741 (cproj_test): Likewise.
24742 (creal_test): Likewise.
24743 (csin_test): Likewise.
24744 (csinh_test): Likewise.
24745 (csqrt_test): Likewise.
24746 (ctan_test): Likewise.
24747 (ctan_test_tonearest): Likewise.
24748 (ctan_test_towardzero): Likewise.
24749 (ctan_test_downward): Likewise.
24750 (ctan_test_upward): Likewise.
24751 (ctanh_test): Likewise.
24752 (ctanh_test_tonearest): Likewise.
24753 (ctanh_test_towardzero): Likewise.
24754 (ctanh_test_downward): Likewise.
24755 (ctanh_test_upward): Likewise.
24756 (erf_test): Likewise.
24757 (erfc_test): Likewise.
24758 (exp_test): Likewise.
24759 (exp_test_tonearest): Likewise.
24760 (exp_test_towardzero): Likewise.
24761 (exp_test_downward): Likewise.
24762 (exp_test_upward): Likewise.
24763 (exp10_test): Likewise.
24764 (exp10_test_tonearest): Likewise.
24765 (exp10_test_towardzero): Likewise.
24766 (exp10_test_downward): Likewise.
24767 (exp10_test_upward): Likewise.
24768 (pow10_test): Likewise.
24769 (exp2_test): Likewise.
24770 (expm1_test): Likewise.
24771 (expm1_test_tonearest): Likewise.
24772 (expm1_test_towardzero): Likewise.
24773 (expm1_test_downward): Likewise.
24774 (expm1_test_upward): Likewise.
24775 (fabs_test): Likewise.
24776 (fdim_test): Likewise.
24777 (floor_test): Likewise.
24778 (fma_test): Likewise.
24779 (fma_test_towardzero): Likewise.
24780 (fma_test_downward): Likewise.
24781 (fma_test_upward): Likewise.
24782 (fmax_test): Likewise.
24783 (fmin_test): Likewise.
24784 (fmod_test): Likewise.
24785 (fpclassify_test): Likewise.
24786 (frexp_test): Likewise.
24787 (hypot_test): Likewise.
24788 (ilogb_test): Likewise.
24789 (isfinite_test): Likewise.
24790 (finite_test): Likewise.
24791 (isgreater_test): Likewise.
24792 (isgreaterequal_test): Likewise.
24793 (isinf_test): Likewise.
24794 (isless_test): Likewise.
24795 (islessequal_test): Likewise.
24796 (islessgreater_test): Likewise.
24797 (isnan_test): Likewise.
24798 (isnormal_test): Likewise.
24799 (issignaling_test): Likewise.
24800 (isunordered_test): Likewise.
24801 (j0_test): Likewise.
24802 (j1_test): Likewise.
24803 (jn_test): Likewise.
24804 (ldexp_test): Likewise.
24805 (lgamma_test): Likewise.
24806 (gamma_test): Likewise.
24807 (lrint_test): Likewise.
24808 (lrint_test_tonearest): Likewise.
24809 (lrint_test_towardzero): Likewise.
24810 (lrint_test_downward): Likewise.
24811 (lrint_test_upward): Likewise.
24812 (llrint_test): Likewise.
24813 (llrint_test_tonearest): Likewise.
24814 (llrint_test_towardzero): Likewise.
24815 (llrint_test_downward): Likewise.
24816 (llrint_test_upward): Likewise.
24817 (log_test): Likewise.
24818 (log10_test): Likewise.
24819 (log1p_test): Likewise.
24820 (log2_test): Likewise.
24821 (logb_test): Likewise.
24822 (logb_test_downward): Likewise.
24823 (lround_test): Likewise.
24824 (llround_test): Likewise.
24825 (modf_test): Likewise.
24826 (nearbyint_test): Likewise.
24827 (nextafter_test): Likewise.
24828 (nexttoward_test): Likewise.
24829 (pow_test): Likewise.
24830 (pow_test_tonearest): Likewise.
24831 (pow_test_towardzero): Likewise.
24832 (pow_test_downward): Likewise.
24833 (pow_test_upward): Likewise.
24834 (remainder_test): Likewise.
24835 (drem_test): Likewise.
24836 (remainder_test_tonearest): Likewise.
24837 (drem_test_tonearest): Likewise.
24838 (remainder_test_towardzero): Likewise.
24839 (drem_test_towardzero): Likewise.
24840 (remainder_test_downward): Likewise.
24841 (drem_test_downward): Likewise.
24842 (remainder_test_upward): Likewise.
24843 (drem_test_upward): Likewise.
24844 (remquo_test): Likewise.
24845 (rint_test): Likewise.
24846 (rint_test_tonearest): Likewise.
24847 (rint_test_towardzero): Likewise.
24848 (rint_test_downward): Likewise.
24849 (rint_test_upward): Likewise.
24850 (round_test): Likewise.
24851 (scalb_test): Likewise.
24852 (scalbn_test): Likewise.
24853 (scalbln_test): Likewise.
24854 (signbit_test): Likewise.
24855 (sin_test): Likewise.
24856 (sin_test_tonearest): Likewise.
24857 (sin_test_towardzero): Likewise.
24858 (sin_test_downward): Likewise.
24859 (sin_test_upward): Likewise.
24860 (sincos_test): Likewise.
24861 (sinh_test): Likewise.
24862 (sinh_test_tonearest): Likewise.
24863 (sinh_test_towardzero): Likewise.
24864 (sinh_test_downward): Likewise.
24865 (sinh_test_upward): Likewise.
24866 (sqrt_test): Likewise.
24867 (sqrt_test_tonearest): Likewise.
24868 (sqrt_test_towardzero): Likewise.
24869 (sqrt_test_downward): Likewise.
24870 (sqrt_test_upward): Likewise.
24871 (tan_test): Likewise.
24872 (tan_test_tonearest): Likewise.
24873 (tan_test_towardzero): Likewise.
24874 (tan_test_downward): Likewise.
24875 (tan_test_upward): Likewise.
24876 (tanh_test): Likewise.
24877 (tgamma_test): Likewise.
24878 (trunc_test): Likewise.
24879 (y0_test): Likewise.
24880 (y1_test): Likewise.
24881 (yn_test): Likewise.
24882 (significand_test): Likewise.
24883
24884 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24885 individual tests in comment.
24886 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24887 (prev_max_error): New variable.
24888 (prev_real_max_error): Likewise.
24889 (prev_imag_max_error): Likewise.
24890 (compare_ulp_data): Don't refer to test names in comment.
24891 (find_test_ulps): Remove function.
24892 (find_function_ulps): Likewise.
24893 (find_complex_function_ulps): Likewise.
24894 (init_max_error): Take function name as argument. Look up ulps
24895 for that function.
24896 (print_ulps): Remove function.
24897 (print_max_error): Use prev_max_error instead of calling
24898 find_function_ulps.
24899 (print_complex_max_error): Use prev_real_max_error and
24900 prev_imag_max_error instead of calling find_complex_function_ulps.
24901 (check_float_internal): Take max_ulp parameter instead of calling
24902 find_test_ulps. Don't call print_ulps.
24903 (check_float): Update call to check_float_internal.
24904 (check_complex): Update calls to check_float_internal.
24905 (START): Pass argument to init_max_error.
24906 * math/gen-libm-test.pl (%results): Don't include "kind"
24907 information.
24908 (parse_ulps): Don't handle ulps of individual tests.
24909 (print_ulps_file): Likewise.
24910 (output_ulps): Likewise.
24911 * math/README.libm-test: Update.
24912 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24913 individual tests.
24914 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24915 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24916 * sysdeps/arm/libm-test-ulps: Likewise.
24917 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24918 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24919 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24920 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24921 * sysdeps/microblaze/libm-test-ulps: Likewise.
24922 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24923 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24924 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24925 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24926 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24927 * sysdeps/sh/libm-test-ulps: Likewise.
24928 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24929 * sysdeps/tile/libm-test-ulps: Likewise.
24930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24931
24932 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24933
24934 * math/libm-test.inc (print_complex_max_error): Check separately
24935 whether real and imaginary errors are within allowed range and
24936 pass 0 to print_complex_function_ulps instead of value within
24937 allowed range.
24938
24939 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24940
24941 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24942 formatting.
24943 (get_handles_fopen): Likewise.
24944 (do_write_test): Likewise.
24945
24946 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24947
24948 * libio/fileops.c (do_ftell): Use cached offset when
24949 available.
24950 * libio/iofwide.c (do_ftell_wide): Likewise.
24951 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24952 _IO_file_attach.
24953 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24954
24955 [BZ #16532]
24956 * libio/libioP.h (get_file_offset): New function.
24957 * libio/fileops.c (get_file_offset): Likewise.
24958 (do_ftell): Likewise.
24959 (_IO_new_file_seekoff): Split out ftell logic.
24960 * libio/wfileops.c (do_ftell_wide): Likewise.
24961 (_IO_wfile_seekoff): Split out ftell logic.
24962 * libio/tst-ftell-active-handler.c: New test case.
24963 * libio/Makefile (tests): Add it.
24964
24965 2014-03-03 Roland McGrath <roland@hack.frob.com>
24966
24967 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24968 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24969
24970 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24971
24972 [BZ #16639]
24973 * nscd/connections.c (nscd_init): Call do_exit.
24974 (start_threads): Call do_exit and notify_parent.
24975 (begin_drop_privileges): Call do_exit.
24976 (finish_drop_privileges): Likewise.
24977 * nscd/selinux.c (preserve_capabilities): Likewise.
24978 (install_real_capabilities): Likewise.
24979 (nscd_selinux_enabled): Likewise.
24980 (avc_create_thread): Likewise.
24981 (avc_alloc_lock): Likewise.
24982 (nscd_avc_init): Likewise.
24983 * nscd/nscd.c (parent_fd): New static variable.
24984 (main): Create a pipe between parent and child processes.
24985 Skip closing parent_fd.
24986 (monitor_child): New function.
24987 (do_exit): Likewise.
24988 (notify_parent): Likewise.
24989 * nscd/nscd.h (notify_parent): Likewise.
24990 (do_exit): Likewise.
24991
24992 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24993
24994 * malloc/malloc.c (__libc_calloc): Revert last change.
24995
24996 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24997
24998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24999
25000 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25001
25002 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25004 implementation.
25005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25006 (__libc_ifunc_impl_list): Likewise.
25007 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25008 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25009 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25010 * string/strrchr.c: Define STRRCHR.
25011
25012 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25013
25014 * benchtest/bench-strtok.c (simple_strtok): Delete.
25015 (strtok_string): Use as benchmark.
25016 * string/strtok (STRTOK): New macro.
25017
25018 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25019
25020 * manual/threads.texi: Add header and standard comments to all
25021 functions.
25022
25023 * elf/dl-lookup.c (check_match): New function.
25024 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25025 (do_lookup_x): Remove nested function check_match. Use non-nested
25026 function check_match.
25027
25028 2014-02-28 Roland McGrath <roland@hack.frob.com>
25029
25030 * csu/Makefile (generated, before-compile): Use += rather than =.
25031 * catgets/Makefile (generated, generated-dirs): Likewise.
25032 * debug/Makefile (generated): Likewise.
25033 * dlfcn/Makefile (generated): Likewise.
25034 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25035 * iconvdata/Makefile (before-compile, generated): Likewise.
25036 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25037 * libio/Makefile (generated): Likewise.
25038 * malloc/Makefile (generated): Likewise.
25039 * manual/Makefile (generated, generated-dirs): Likewise.
25040 * misc/Makefile (generated): Likewise.
25041 * posix/Makefile (generated): Likewise.
25042 * resolv/Makefile (generated): Likewise.
25043 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25044 * timezone/Makefile (generated, generated-dirs): Likewise.
25045
25046 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25047
25048 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25049
25050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25051 power8 implementation.
25052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25053 file: POWER8 llround ifunc implementation.
25054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25055 (__lllround): Add POWER8 implementation.
25056 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25057 POWER8 llround implementation.
25058
25059 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25060 power8 implementation.
25061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25062 file: POWER8 llrint ifunc implementation.
25063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25064 Add POWER8 implementation.
25065 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25066 POWER8 llrint implementation.
25067
25068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25069 power8 implementation.
25070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25071 file: POWER8 finite ifunc implementation.
25072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25073 Add POWER8 implementation.
25074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25075 Likewise.
25076 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25077 POWER8 finite implementation.
25078 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25079
25080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25081 power8 implementation.
25082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25083 file: POWER8 isinf ifunc implementation.
25084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25085 POWER8 implementation.
25086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25087 Likewise.
25088 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25089 isinf implementation.
25090 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25091
25092 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25093 (INIT_ARCH): Add hwcap2 initialization.
25094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25095 power8 implementation.
25096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25097 file: POWER8 isnan ifunc implementation.
25098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25099 POWER8 implementation.
25100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25101 Likewise.
25102 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25103 isnan implementation.
25104 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25105
25106 2014-02-27 Joey Ye <joey.ye@arm.com>
25107
25108 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25109 (_FP_NANFRAC_Q): Set to zero.
25110
25111 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25112
25113 [BZ #16623]
25114 * math/auto-libm-test-in: New test inputs.
25115 * math/auto-libm-test-out: Regenerate.
25116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25117 and DA.
25118 (__cos): Likewise.
25119 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25120
25121 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25122
25123 * scripts/evaluate-test.sh: Take new argument indicating whether
25124 failure is expected.
25125 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25126 indicating whether failure is expected.
25127 * conform/Makefile (test-xfail-run-conformtest): New variable.
25128 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25129 level.
25130 * posix/Makefile (test-xfail-annexc): New variable.
25131 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25132
25133 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25134
25135 * argp/Makefile: Include Makeconfig immediately after defining
25136 subdir.
25137 * assert/Makefile: Likewise.
25138 * benchtests/Makefile: Likewise.
25139 * catgets/Makefile: Likewise.
25140 * conform/Makefile: Likewise.
25141 * crypt/Makefile: Likewise.
25142 * csu/Makefile: Likewise.
25143 (all): Remove target.
25144 * ctype/Makefile: Include Makeconfig immediately after defining
25145 subdir.
25146 * debug/Makefile: Likewise.
25147 * dirent/Makefile: Likewise.
25148 * dlfcn/Makefile: Likewise.
25149 * gmon/Makefile: Likewise.
25150 * gnulib/Makefile: Likewise.
25151 * grp/Makefile: Likewise.
25152 * gshadow/Makefile: Likewise.
25153 * hesiod/Makefile: Likewise.
25154 * hurd/Makefile: Likewise.
25155 (all): Remove target.
25156 * iconvdata/Makefile: Include Makeconfig immediately after
25157 defining subdir.
25158 * inet/Makefile: Likewise.
25159 * intl/Makefile: Likewise.
25160 * io/Makefile: Likewise.
25161 * libio/Makefile: Likewise.
25162 (all): Remove target.
25163 * locale/Makefile: Include Makeconfig immediately after defining
25164 subdir.
25165 * login/Makefile: Likewise.
25166 * mach/Makefile: Likewise.
25167 (all): Remove target.
25168 * malloc/Makefile: Include Makeconfig immediately after defining
25169 subdir.
25170 (all): Remove target.
25171 * manual/Makefile: Include Makeconfig immediately after defining
25172 subdir.
25173 * math/Makefile: Likewise.
25174 * misc/Makefile: Likewise.
25175 * nis/Makefile: Likewise.
25176 * nss/Makefile: Likewise.
25177 * po/Makefile: Likewise.
25178 (all): Remove target.
25179 * posix/Makefile: Include Makeconfig immediately after defining
25180 subdir.
25181 * pwd/Makefile: Likewise.
25182 * resolv/Makefile: Likewise.
25183 * resource/Makefile: Likewise.
25184 * rt/Makefile: Likewise.
25185 * setjmp/Makefile: Likewise.
25186 * shadow/Makefile: Likewise.
25187 * signal/Makefile: Likewise.
25188 * socket/Makefile: Likewise.
25189 * soft-fp/Makefile: Likewise.
25190 * stdio-common/Makefile: Likewise.
25191 * stdlib/Makefile: Likewise.
25192 * streams/Makefile: Likewise.
25193 * string/Makefile: Likewise.
25194 * sunrpc/Makefile: Likewise.
25195 (all): Remove target.
25196 * sysvipc/Makefile: Include Makeconfig immediately after defining
25197 subdir.
25198 * termios/Makefile: Likewise.
25199 * time/Makefile: Likewise.
25200 * timezone/Makefile: Likewise.
25201 (all): Remove target.
25202 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25203 subdir.
25204 * wctype/Makefile: Likewise.
25205
25206 2014-02-26 Steve Ellcey <sellcey@mips.com>
25207
25208 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25209 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25210 (libc_feholdexcept_setround_mips): Ditto.
25211 (libc_feholdsetround): New.
25212 (libc_feholdsetroundf): New.
25213 (libc_feholdsetroundl): New.
25214 (libc_feupdateenv_test_mips): New.
25215 (libc_feupdateenv_test): New.
25216 (libc_feupdateenv_testf): New.
25217 (libc_feupdateenv_testl): New.
25218 (libc_feresetround): New.
25219 (libc_feresetroundf): New.
25220 (libc_feresetroundl): New.
25221 (libc_fetestexcept_mips): New.
25222 (libc_fetestexcept): New.
25223 (libc_fetestexceptf): New.
25224 (libc_fetestexceptl): New.
25225 (HAVE_RM_CTX): New.
25226 (libc_feholdexcept_setround_mips_ctx): New.
25227 (libc_feholdexcept_setround_ctx): New.
25228 (libc_feholdexcept_setroundf_ctx): New.
25229 (libc_feholdexcept_setroundl_ctx): New.
25230 (libc_fesetenv_mips_ctx): New.
25231 (libc_fesetenv_ctx): New.
25232 (libc_fesetenv_ctxf): New.
25233 (libc_fesetenv_ctxl): New.
25234 (libc_feupdateenv_mips_ctx): New.
25235 (libc_feupdateenv_ctx): New.
25236 (libc_feupdateenvf_ctx): New.
25237 (libc_feupdateenvl_ctx): New.
25238 (libc_feholdsetround_mips_ctx): New.
25239 (libc_feholdsetround_ctx): New.
25240 (libc_feholdsetroundf_ctx): New.
25241 (libc_feholdsetroundl_ctx): New.
25242 (libc_feresetround_mips_ctx): New.
25243 (libc_feresetround_ctx): New.
25244 (libc_feresetroundf_ctx): New.
25245 (libc_feresetroundl_ctx): New.
25246
25247 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25248
25249 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25250
25251 * manual/ipc.texi: New file.
25252 * manual/Makefile (chapters): Add ipc.
25253 * manual/job.texi: Add "Inter-Process Communication" to next.
25254 * manual/process.texi: Add "Inter-Process Communication" to prev.
25255
25256 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25257
25258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25259
25260 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25261
25262 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25263
25264 * manual/arith.texi: Fix spaces after sentences.
25265 * manual/charset.texi: Likewise.
25266 * manual/errno.texi: Likewise.
25267 * manual/install.texi: Likewise.
25268 * manual/llio.texi: Likewise.
25269 * manual/locale.texi: Likewise.
25270 * manual/maint.texi: Likewise.
25271 * manual/math.texi: Likewise.
25272 * manual/memory.texi: Likewise.
25273 * manual/message.texi: Likewise.
25274 * manual/probes.texi: Likewise.
25275 * manual/resource.texi: Likewise.
25276 * manual/signal.texi: Likewise.
25277 * manual/socket.texi: Likewise.
25278 * manual/stdio.texi: Likewise.
25279 * manual/string.texi: Likewise.
25280 * manual/time.texi: Likewise.
25281 * manual/users.texi: Likewise.
25282
25283 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25284
25285 [BZ #16632]
25286 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25287 _DEFAULT_SOURCE is defined.
25288
25289 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25290 Carlos O'Donell <carlos@redhat.com>
25291
25292 [BZ #16613]
25293 * elf/dl-tls.c (_dl_count_modids): New function.
25294 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25295 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25296 audit library and increment generation counter.
25297 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25298 * elf/tst-audit9.c: New file.
25299 * elf/tst-auditmod9a.c: New file.
25300 * elf/tst-auditmod9b.c: New file.
25301 * elf/Makefile: Add rules to build and run tst-audit9.
25302
25303 2014-02-25 Florian Weimer <fweimer@redhat.com>
25304
25305 [BZ #15347]
25306 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25307
25308 2014-02-25 Will Newton <will.newton@linaro.org>
25309
25310 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25311 (__longjmp): Restore sp and lr before restoring callee
25312 saved registers. Add longjmp and longjmp_target
25313 SystemTap probe point.
25314 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25315 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25316 Define to zero to match jmpbuf layout.
25317 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25318 (__sigsetjmp): Save sp and lr before saving callee
25319 saved registers. Add setjmp SystemTap probe point.
25320
25321 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25322
25323 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25324
25325 2014-02-24 Andreas Schwab <schwab@suse.de>
25326
25327 [BZ #15804]
25328 * elf/pldd.c (wait_for_ptrace_stop): New function.
25329 (main): Call it after attaching.
25330
25331 2014-02-22 Roland McGrath <roland@hack.frob.com>
25332
25333 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25334 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25335 Versions files is now verboten.
25336 * hurd/Versions (libc: GLIBC_2.0):
25337 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25338 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25339 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25340 * mach/Versions: Likewise.
25341
25342 * csu/Versions: Remove unused %include.
25343 * resolv/Versions: Likewise.
25344
25345 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25346
25347 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25348 ($(objpfx)check-local-headers.out): Likewise.
25349 ($(objpfx)begin-end-check.out): Likewise.
25350 * Makerules (check-abi-%.out): Likewise.
25351 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25352 ($(objpfx)test2.cat): Likewise.
25353 ($(objpfx)de/libc.cat): Likewise.
25354 ($(objpfx)test-gencat.out): Likewise.
25355 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25356 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25357 ($(objpfx)noload-mem): Likewise.
25358 ($(objpfx)tst-pathopt.out): Likewise.
25359 ($(objpfx)tst-rtld-load-self.out): Likewise.
25360 ($(objpfx)tst-array1-cmp.out): Likewise.
25361 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25362 ($(objpfx)tst-array2-cmp.out): Likewise.
25363 ($(objpfx)tst-array3-cmp.out): Likewise.
25364 ($(objpfx)tst-array4-cmp.out): Likewise.
25365 ($(objpfx)tst-array5-cmp.out): Likewise.
25366 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25367 ($(objpfx)check-textrel.out): Likewise.
25368 ($(objpfx)check-execstack.out): Likewise.
25369 ($(objpfx)check-localplt.out): Likewise.
25370 ($(objpfx)order2-cmp.out): Likewise.
25371 ($(objpfx)tst-leaks1-mem): Likewise.
25372 ($(objpfx)tst-leaks1-static-mem): Likewise.
25373 ($(objpfx)tst-initorder-cmp.out): Likewise.
25374 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25375 ($(objpfx)tst-unused-dep.out): Likewise.
25376 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25377 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25378 * iconv/Makefile (test-iconvconfig): Likewise.
25379 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25380 ($(objpfx)iconv-test.out): Likewise.
25381 ($(objpfx)tst-tables.out): Likewise.
25382 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25383 ($(objpfx)tst-gettext.out): Likewise.
25384 ($(objpfx)tst-translit.out): Likewise.
25385 ($(objpfx)tst-gettext2.out): Likewise.
25386 ($(objpfx)tst-gettext4.out): Likewise.
25387 ($(objpfx)tst-gettext6.out): Likewise.
25388 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25389 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25390 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25391 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25392 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25393 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25394 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25395 ($(objpfx)wordexp-tst.out): Likewise.
25396 ($(objpfx)annexc.out): Likewise.
25397 ($(objpfx)tst-fnmatch-mem): Likewise.
25398 ($(objpfx)bug-regex2-mem): Likewise.
25399 ($(objpfx)bug-regex14-mem): Likewise.
25400 ($(objpfx)bug-regex21-mem): Likewise.
25401 ($(objpfx)bug-regex31-mem): Likewise.
25402 ($(objpfx)tst-vfork3-mem): Likewise.
25403 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25404 ($(objpfx)tst-pcre-mem): Likewise.
25405 ($(objpfx)tst-boost-mem): Likewise.
25406 ($(objpfx)tst-getconf.out): Likewise.
25407 ($(objpfx)bug-ga2-mem): Likewise.
25408 ($(objpfx)bug-glob2-mem): Likewise.
25409 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25410 ($(objpfx)mtrace-tst-leaks2): Likewise.
25411 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25412 ($(objpfx)tst-printf.out): Likewise.
25413 ($(objpfx)tst-setvbuf1.out): Likewise.
25414 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25415 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25416 ($(objpfx)tst-fmtmsg.out): Likewise.
25417 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25418 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25419
25420 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25421 * bits/sigaction.h [__USE_MISC]: Likewise.
25422 * bits/waitstatus.h: Update #endif comments.
25423 * ctype/ctype.h: Likewise.
25424 * dirent/dirent.h: Likewise.
25425 [__USE_MISC]: Remove redundant conditionals.
25426 * grp/grp.h: Update #endif comments.
25427 [__USE_GNU]: Remove redundant conditionals.
25428 [__USE_MISC]: Likewise.
25429 * inet/netinet/in.h [__USE_GNU]: Likewise.
25430 * io/sys/stat.h [__USE_MISC]: Likewise.
25431 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25432 * libio/bits/stdio.h: Update #endif comments.
25433 [__USE_MISC]: Remove redundant conditionals.
25434 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25435 * libio/stdio.h: Update #endif comments.
25436 [__USE_MISC]: Remove redundant conditionals.
25437 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25438 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25439 * math/math.h: Update #else and #endif comments.
25440 [__USE_MISC]: Remove redundant conditionals.
25441 * misc/sys/uio.h: Update #endif comments.
25442 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25443 * posix/glob.h [__USE_MISC]: Likewise.
25444 * posix/sys/types.h: Update #endif comments.
25445 [__USE_MISC]: Remove redundant conditionals.
25446 * posix/sys/wait.h: Update #endif comments.
25447 [__USE_MISC]: Remove redundant conditionals.
25448 * posix/unistd.h: Update #endif comments.
25449 [__USE_MISC]: Remove redundant conditionals.
25450 * pwd/pwd.h [__USE_GNU]: Likewise.
25451 [__USE_MISC]: Likewise.
25452 * resolv/netdb.h [__USE_GNU]: Likewise.
25453 * signal/signal.h: Update #endif comments.
25454 [__USE_MISC]: Remove redundant conditionals.
25455 * stdlib/stdlib.h: Update #else and #endif comments.
25456 [__USE_MISC]: Remove redundant conditionals.
25457 [__USE_GNU]: Likewise.
25458 * string/bits/string2.h [__USE_MISC]: Likewise.
25459 * string/string.h: Update #endif comments.
25460 [__USE_MISC]: Remove redundant conditionals.
25461 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25462 Likewise.
25463 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25464 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25465 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25466 Likewise.
25467 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25468 Likewise.
25469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25470 comments.
25471 [__USE_MISC]: Remove redundant conditionals.
25472 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25473 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25474 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25475 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25476 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25477 Likewise.
25478 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25479 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25480 Likewise.
25481 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25482 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25483 Likewise.
25484 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25485 Likewise.
25486 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25487 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25488 Likewise.
25489 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25490 Likewise.
25491 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25492 * sysdeps/x86/bits/string.h: Update #endif comments.
25493 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25494 conditionals.
25495 * time/sys/time.h: Update #endif comments.
25496 * time/time.h: Likewise.
25497 [__USE_MISC]: Remove redundant conditionals.
25498
25499 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25500
25501 [BZ #16600]
25502 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25503
25504 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25505
25506 * Versions.def (librt): Add GLIBC_2.17.
25507
25508 2014-02-21 Adam Conrad <adconrad@0c3.net>
25509
25510 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25511 synonym for _SYS_AUXV_H to allow direct inclusion.
25512 * sysdeps/sparc/bits/hwcap.h: Likewise.
25513 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25514 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25515 * sysdeps/sparc/sysdep.h: Likewise.
25516
25517 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25518
25519 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25520
25521 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25522
25523 * benchtests/bench-strrchr.c: Print length instead of position.
25524
25525 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25526
25527 [BZ #16611]
25528 * sysdeps/unix/sysv/linux/kernel-features.h
25529 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25530 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25531 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25532 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25533 Likewise.
25534 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25535 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25536 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25537 (__ASSUME_SENDMMSG): Define instead of using previous
25538 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25539 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25540 (__ASSUME_SENDMMSG_SYSCALL): Define.
25541 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25542 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25543 Likewise.
25544 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25545 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25546 Likewise.
25547 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25548 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25549 Likewise.
25550 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25551 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25552 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25553 [__ASSUME_SENDMMSG]: Change conditionals to
25554 [__ASSUME_SENDMMSG_SOCKETCALL].
25555 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25556 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25557 Define.
25558 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25559 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25560 Likewise.
25561 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25562 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25563 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25564 [!__ASSUME_SENDMMSG]: Change conditional to
25565 [!__ASSUME_SENDMMSG_SOCKETCALL].
25566 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25567 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25568 Define.
25569
25570 [BZ #16610]
25571 * sysdeps/unix/sysv/linux/kernel-features.h
25572 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25573 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25574 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25575 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25576 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25577 [__i386__ || __sparc__]
25578 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25579 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25580 (__ASSUME_RECVMMSG): Define instead of using previous
25581 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25582 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25583 (__ASSUME_RECVMMSG_SYSCALL): Define.
25584 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25585 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25586 Likewise.
25587 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25588 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25589 Likewise.
25590 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25591 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25592 Likewise.
25593 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25594 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25595 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25596 [__ASSUME_RECVMMSG]: Change condition to
25597 [__ASSUME_RECVMMSG_SOCKETCALL].
25598 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25599 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25600 Define.
25601 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25602 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25603 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25604 Likewise.
25605 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25606 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25607 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25608 [!__ASSUME_RECVMMSG]: Change condition to
25609 [!__ASSUME_RECVMMSG_SOCKETCALL].
25610 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25611 (__ASSUME_RECVMMSG_SYSCALL): Define.
25612
25613 [BZ #16609]
25614 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25615 __powerpc__ || __s390__ || __sh__ || __sparc__]
25616 (__ASSUME_SOCKETCALL): Define.
25617 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25618 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25619 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25620 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25621 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25622 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25623 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25624 (__ASSUME_ACCEPT4): Define instead of using previous
25625 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25626 __powerpc__ || __sparc__ || __s390__)] condition.
25627 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25628 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25629 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25630 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25631 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25632 [!__ASSUME_ACCEPT4]: Change condition to
25633 [!__ASSUME_ACCEPT4_SOCKETCALL].
25634 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25635 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25636 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25637 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25638 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25639 __ASSUME_ACCEPT4_SYSCALL.
25640 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25641 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25642 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25643 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25644 __ASSUME_ACCEPT4_SYSCALL.
25645 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25646 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25647 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25648 [__ASSUME_ACCEPT4]: Change condition to
25649 [__ASSUME_ACCEPT4_SOCKETCALL].
25650 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25651 (__ASSUME_SOCKETCALL): Define.
25652 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25654 (__ASSUME_SOCKETCALL): Define.
25655 (__ASSUME_ACCEPT4): Remove.
25656 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25657 Define.
25658 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25659 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25660 Likewise.
25661 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25662 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25663
25664 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25665 macro.
25666 (HWCAP_ARM_LPAE): Likewise.
25667 (HWCAP_ARM_EVTSTRM): Likewise.
25668 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25669 Add vpfd32, lpae and evtstrm.
25670 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25671 Increase to 22.
25672
25673 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25674
25675 * math/auto-libm-test-in: Add tests of clog10.
25676 * math/auto-libm-test-out: Regenerated.
25677 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25678 * sysdeps/i386/fpu/libm-test-ulps: Update.
25679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25680
25681 2014-02-18 Andreas Schwab <schwab@suse.de>
25682
25683 [BZ #16574]
25684 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25685 Store non-zero if the second buffer was newly allocated.
25686 (send_dg): Likewise.
25687 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25688 to send_vc and send_dg.
25689 (res_nsend): Pass NULL for ansp2_malloced.
25690 * resolv/res_query.c (__libc_res_nquery): Add parameter
25691 answerp2_malloced and pass it down to __libc_res_nsend.
25692 (res_nquery): Pass additional NULL to __libc_res_nquery.
25693 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25694 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25695 second answer buffer if answerp2_malloced was set.
25696 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25697 (__libc_res_nquerydomain): Add parameter
25698 answerp2_malloced and pass it down to __libc_res_nquery.
25699 (res_nquerydomain): Pass additional NULL to
25700 __libc_res_nquerydomain.
25701 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25702 additional NULL to __libc_res_nsend and __libc_res_nquery.
25703 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25704 additional NULL to __libc_res_nsearch.
25705 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25706 parameter of __libc_res_nsearch to check for separately allocated
25707 second buffer.
25708 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25709 __libc_res_nquery.
25710 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25711 additional NULL to __libc_res_nquery.
25712 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25713 __libc_res_nsearch.
25714 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25715 * include/resolv.h: Update prototypes of __libc_res_nquery,
25716 __libc_res_nsearch, __libc_res_nsend.
25717
25718 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25719
25720 * math/auto-libm-test-in: Add tests of fma.
25721 * math/auto-libm-test-out: Regenerated.
25722 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25723 (fma_towardzero_test_data): Likewise.
25724 (fma_downward_test_data): Likewise.
25725 (fma_upward_test_data): Likewise.
25726 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25727 mpc_mode.
25728 (rounding_modes): Add values for new field.
25729 (func_calc_method): Add value mpfr_fff_f.
25730 (func_calc_desc): Add mpfr_fff_f union field.
25731 (test_function): Add field exact_args.
25732 (FUNC): Add macro argument EXACT_ARGS.
25733 (FUNC_mpfr_f_f): Update call to FUNC.
25734 (FUNC_mpfr_f_f): Likewise.
25735 (FUNC_mpfr_ff_f): Likewise.
25736 (FUNC_mpfr_if_f): Likewise.
25737 (FUNC_mpc_c_f): Likewise.
25738 (FUNC_mpc_c_c): Likewise.
25739 (test_functions): Add fma. Update calls to FUNC.
25740 (handle_input_arg): Add argument exact_args.
25741 (add_test): Update call to handle_input_arg.
25742 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25743 (output_for_one_input_case): Update call to calc_generic_results.
25744 Recalculate exact zero results in each rounding mode.
25745
25746 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25747 non-negative before setting low bit.
25748 * math/auto-libm-test-in: Mark one asin test possibly having
25749 spurious underflow.
25750 * math/auto-libm-test-out: Regenerated.
25751 * sysdeps/i386/fpu/libm-test-ulps: Update.
25752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25753
25754 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25755
25756 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25757 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25758 ports/sysdeps/unix/sysv/linux/microblaze.
25759 * README: Add missing listing for microblaze*-*-linux-gnu.
25760
25761 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25762
25763 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25764 duplicate code
25765
25766 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25767
25768 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25769 * sysdeps/unix/sysv/linux/ia64: Move directory from
25770 ports/sysdeps/unix/sysv/linux/ia64.
25771 * README: Update listing for ia64-*-linux-gnu.
25772
25773 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25774 Joseph Myers <joseph@codesourcery.com>
25775
25776 * Makeconfig (test-name): New variable.
25777 (evaluate-test): Likewise.
25778 * Makerules (do-test-clean): Remove .test-result files.
25779 (common-mostlyclean): Likewise.
25780 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25781 * scripts/evaluate-test.sh: New file.
25782
25783 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25784
25785 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25786 separate $(objpfx)tst-fopenloc-cmp.out and
25787 $(objpfx)tst-fopenloc-mem.out targets.
25788 (tests): Update dependencies.
25789 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25790 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25791 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25792 (tst-rxspencer-no-utf8-ARGS): New variable.
25793 (tst-rxspencer-no-utf8-ENV): Likewise.
25794 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25795 instead of $(objpfx)tst-rxspencer-mem.
25796 ($(objpfx)tst-rxspencer-mem): Change target to
25797 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25798 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25799 * posix/tst-rxspencer-no-utf8.c: New file.
25800
25801 * elf/Makefile ($(objpfx)order.out): Remove rule.
25802 [$(run-built-tests) = yes] (tests): Depend on
25803 $(objpfx)order-cmp.out.
25804 ($(objpfx)order-cmp.out): New rule.
25805 [$(run-built-tests) = yes] (tests): Depend on
25806 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25807 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25808 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25809 $(objpfx)tst-array5-static-cmp.out.
25810 ($(objpfx)tst-array1.out): Remove rule.
25811 ($(objpfx)tst-array1-cmp.out): New rule.
25812 ($(objpfx)tst-array1-static.out): Remove rule.
25813 ($(objpfx)tst-array1-static-cmp.out): New rule.
25814 ($(objpfx)tst-array2.out): Remove rule.
25815 ($(objpfx)tst-array2-cmp.out): New rule.
25816 ($(objpfx)tst-array3.out): Remove rule.
25817 ($(objpfx)tst-array3-cmp.out): New rule.
25818 ($(objpfx)tst-array4.out): Remove rule.
25819 ($(objpfx)tst-array4-cmp.out): New rule.
25820 ($(objpfx)tst-array5.out): Remove rule.
25821 ($(objpfx)tst-array5-cmp.out): New rule.
25822 ($(objpfx)tst-array5-static.out): Remove rule.
25823 ($(objpfx)tst-array5-static-cmp.out): New rule.
25824 [$(run-built-tests) = yes] (tests): Depend on
25825 $(objpfx)order2-cmp.out.
25826 ($(objpfx)order2.out): Remove rule.
25827 ($(objpfx)order2-cmp.out): New rule.
25828 ($(objpfx)tst-initorder.out): Remove rule.
25829 [$(run-built-tests) = yes] (tests): Depend on
25830 $(objpfx)tst-initorder-cmp.out.
25831 ($(objpfx)tst-initorder-cmp.out): New rule.
25832 ($(objpfx)tst-initorder2.out): Remove rule.
25833 [$(run-built-tests) = yes] (tests): Depend on
25834 $(objpfx)tst-initorder2-cmp.out.
25835 ($(objpfx)tst-initorder2-cmp.out): New rule.
25836 [$(run-built-tests) = yes] (tests): Depend on
25837 $(objpfx)tst-unused-dep-cmp.out.
25838 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25839 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25840 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25841 on $(objpfx)tst-setvbuf1-cmp.out.
25842 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25843 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25844 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25845 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25846 ($(objpfx)tst-svc.out): Remove rule.
25847 ($(objpfx)tst-svc-cmp.out): New rule.
25848
25849 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25850
25851 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25852 * ctype/ctype.h [__USE_MISC]: Likewise.
25853 * dirent/dirent.h [__USE_MISC]: Likewise.
25854 * grp/grp.h [__USE_MISC]: Likewise.
25855 * io/fcntl.h [__USE_MISC]: Likewise.
25856 * io/sys/stat.h [__USE_MISC]: Likewise.
25857 * libio/stdio.h [__USE_MISC]: Likewise.
25858 * posix/unistd.h [__USE_MISC]: Likewise.
25859 * pwd/pwd.h [__USE_MISC]: Likewise.
25860 * stdlib.h [__USE_MISC]: Likewise.
25861 * string/bits/string2.h [__USE_MISC]: Likewise.
25862 * string/string.h [__USE_MISC]: Likewise.
25863 * time/time.h [__USE_MISC]: Likewise.
25864
25865 2014-02-13 Andreas Schwab <schwab@suse.de>
25866
25867 [BZ #16574]
25868 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25869 second answer buffer if it was separately allocated.
25870
25871 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25872
25873 * sysdeps/mips/math-tests.h: Include <features.h>.
25874 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25875 (ROUNDING_TESTS_long_double): Do not define.
25876 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25877 (EXCEPTION_TESTS_long_double): Likewise.
25878 * sysdeps/mips/mips64/libm-test-ulps: Update.
25879
25880 * include/features.h (__USE_BSD): Remove macro definitions.
25881 (__USE_SVID): Likewise.
25882 (_BSD_SOURCE): Likewise.
25883 (_SVID_SOURCE): Likewise.
25884 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25885 from definition of _DEFAULT_SOURCE.
25886 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25887 [_DEFAULT_SOURCE].
25888 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25889 * bits/mman.h [__USE_BSD]: Likewise.
25890 * bits/termios.h [__USE_BSD]: Likewise.
25891 * bits/waitstatus.h [__USE_BSD]: Likewise.
25892 * ctype/ctype.h [__USE_SVID]: Likewise.
25893 * dirent/dirent.h [__USE_BSD]: Likewise.
25894 * grp/grp.h [__USE_SVID]: Likewise.
25895 [__USE_BSD]: Likewise.
25896 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25897 * io/fcntl.h [__USE_BSD]: Likewise.
25898 * io/ftw.h [__USE_BSD]: Likewise.
25899 * io/sys/stat.h [__USE_BSD]: Likewise.
25900 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25901 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25902 * libio/stdio.h [__USE_SVID]: Likewise.
25903 [__USE_BSD]: Likewise.
25904 * math/math.h [__USE_SVID]: Likewise.
25905 [__USE_BSD]: Likewise.
25906 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25907 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25908 * misc/search.h [__USE_SVID]: Likewise.
25909 * misc/sys/mman.h [__USE_BSD]: Likewise.
25910 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25911 * misc/sys/uio.h [__USE_BSD]: Likewise.
25912 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25913 * posix/glob.h [__USE_BSD]: Likewise.
25914 * posix/regex.h [__USE_BSD]: Likewise.
25915 * posix/sys/types.h [__USE_BSD]: Likewise.
25916 [__USE_SVID]: Likewise.
25917 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25918 * posix/sys/wait.h [__USE_BSD]: Likewise.
25919 [__USE_SVID]: Likewise.
25920 * posix/unistd.h [__USE_BSD]: Likewise.
25921 [__USE_SVID]: Likewise.
25922 * pwd/pwd.h [__USE_SVID]: Likewise.
25923 * resolv/netdb.h [__USE_BSD]: Likewise.
25924 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25925 * signal/signal.h [__USE_BSD]: Likewise.
25926 [__USE_SVID]: Likewise.
25927 * socket/sys/socket.h [__USE_BSD]: Likewise.
25928 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25929 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25930 [__USE_SVID]: Likewise.
25931 * string/bits/string2.h [__USE_BSD]: Likewise.
25932 [__USE_SVID]: Likewise.
25933 * string/bits/string3.h [__USE_BSD]: Likewise.
25934 * string/endian.h [__USE_BSD]: Likewise.
25935 * string/string.h [__USE_SVID]: Likewise.
25936 [__USE_BSD]: Likewise.
25937 * string/strings.h [__USE_BSD]: Likewise.
25938 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25939 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25940 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25941 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25942 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25943 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25944 Likewise.
25945 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25946 Likewise.
25947 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25948 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25949 Likewise.
25950 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25951 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25952 Likewise.
25953 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25954 Likewise.
25955 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25956 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25957 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25958 Likewise.
25959 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25960 Likewise.
25961 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25962 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25963 * termios/termios.h [__USE_BSD]: Likewise.
25964 * time/sys/time.h [__USE_BSD]: Likewise.
25965 * time/time.h [__USE_BSD]: Likewise.
25966 [__USE_SVID]: Likewise.
25967
25968 * Makefile (subdir_targets): Remove subdir_lint.out.
25969
25970 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25971 (do-tst-printf): Likewise.
25972 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25973 $(objpfx)tst-printf.out.
25974
25975 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25976
25977 * Makerules (check-abi-%): Change target to
25978 $(objpfx)check-abi-%.out.
25979 (check-abi target): Update dependencies.
25980 (check-abi-pattern variable): Redirect output of diff to $@.
25981 (check-abi variable): Likewise.
25982 * elf/Makefile (check-abi): Update dependencies.
25983
25984 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25985 unused.
25986 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25987 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25988 subnormal range.
25989 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25990 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25991 value has largest subnormal exponent.
25992 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25993 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25994 * sysdeps/aarch64/soft-fp/sfp-machine.h
25995 (_FP_TININESS_AFTER_ROUNDING): New macro.
25996 * sysdeps/alpha/soft-fp/sfp-machine.h
25997 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25998 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25999 Likewise.
26000 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26001 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26002 * sysdeps/mips/soft-fp/sfp-machine.h
26003 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26004 * sysdeps/powerpc/soft-fp/sfp-machine.h
26005 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26006 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26007 Likewise.
26008 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26009 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26010 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26011 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26012 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26013 Likewise.
26014
26015 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26016
26017 [BZ #16545]
26018 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26019 model 1.
26020
26021 2014-02-12 Richard Henderson <rth@redhat.com>
26022
26023 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26024 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26025 * sysdeps/unix/sysv/linux/alpha: Move directory from
26026 ports/sysdeps/unix/sysv/linux/alpha.
26027 * README: Update listing for alpha-*-linux-gnu.
26028
26029 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26030
26031 * include/features.h: Update comment documenting feature test
26032 macros.
26033 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26034 _DEFAULT_SOURCE.
26035 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26036 (_SVID_SOURCE): Likewise.
26037 (_DEFAULT_SOURCE): Update description of default features.
26038 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26039 with _GNU_SOURCE.
26040 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26041 (S_ISVTX): Likewise.
26042 * manual/math.texi (Mathematical Constants): Likewise.
26043 * manual/signal.texi (Interrupted Primitives): Likewise.
26044 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26045 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26046 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26047 Don't refer to _SVID_SOURCE in warning text.
26048
26049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26050
26051 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26052 already defined.
26053 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26054 * sysdeps/mips/dl-lookup.c: Remove.
26055 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26056
26057 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26058
26059 [BZ #16447]
26060 * math/auto-libm-test-in: Add testcase for expl.
26061 * math/auto-libm-test-out: Regenerate.
26062 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26063 calculation of unsafe.
26064 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26065
26066 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26067
26068 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26069 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26070 ports/sysdeps/unix/sysv/linux/aarch64.
26071 * README: Update listing for aarch64*-*-linux-gnu.
26072
26073 2014-02-11 Will Newton <will.newton@linaro.org>
26074
26075 * manual/probes.texi (Mathematical Function Probes): Use
26076 "triggered" instead of "hit".
26077
26078 * manual/probes.texi (Internal Probes): Add documentation
26079 of setjmp, longjmp and longjmp_target probes.
26080
26081 * include/stap-probe.h: Add comment about probe argument
26082 format.
26083
26084 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26085 definition. (tr_where, tr_freehook, tr_mallochook,
26086 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26087
26088 2014-02-11 David S. Miller <davem@davemloft.net>
26089
26090 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26091 processing int_tests.
26092
26093 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26094
26095 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26096 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26097 * sysdeps/unix/sysv/linux/mips: Move directory from
26098 ports/sysdeps/unix/sysv/linux/mips.
26099 * README: Update listing for mips-*-linux-gnu and
26100 mips64-*-linux-gnu.
26101
26102 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26103
26104 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26105 * sysdeps/unix/sysv/linux/m68k: Move directory from
26106 ports/sysdeps/unix/sysv/linux/m68k.
26107 * README: Update listing for m68k-*-linux-gnu.
26108
26109 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26110
26111 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26112 * sysdeps/unix/sysv/linux/generic: Move directory from
26113 ports/sysdeps/unix/sysv/linux/generic.
26114 * sysdeps/unix/sysv/linux/tile: Move directory from
26115 ports/sysdeps/unix/sysv/linux/tile.
26116 * README: Update listing for tile*-*-linux-gnu.
26117
26118 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26119
26120 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26121 __builtin_expect.
26122 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26123 * catgets/open_catalog.c (__open_catalog): Likewise.
26124 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26125 * debug/confstr_chk.c: Likewise.
26126 * debug/fread_chk.c (__fread_chk): Likewise.
26127 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26128 * debug/getgroups_chk.c: Likewise.
26129 * debug/mbsnrtowcs_chk.c: Likewise.
26130 * debug/mbsrtowcs_chk.c: Likewise.
26131 * debug/mbstowcs_chk.c: Likewise.
26132 * debug/memcpy_chk.c: Likewise.
26133 * debug/memmove_chk.c: Likewise.
26134 * debug/mempcpy_chk.c: Likewise.
26135 * debug/memset_chk.c: Likewise.
26136 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26137 * debug/strcat_chk.c (__strcat_chk): Likewise.
26138 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26139 * debug/strncat_chk.c (__strncat_chk): Likewise.
26140 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26141 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26142 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26143 * debug/wcpncpy_chk.c: Likewise.
26144 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26145 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26146 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26147 * debug/wcsncpy_chk.c: Likewise.
26148 * debug/wcsnrtombs_chk.c: Likewise.
26149 * debug/wcsrtombs_chk.c: Likewise.
26150 * debug/wcstombs_chk.c: Likewise.
26151 * debug/wmemcpy_chk.c: Likewise.
26152 * debug/wmemmove_chk.c: Likewise.
26153 * debug/wmempcpy_chk.c: Likewise.
26154 * debug/wmemset_chk.c: Likewise.
26155 * dirent/scandirat.c (SCANDIRAT): Likewise.
26156 * dlfcn/dladdr1.c (dladdr1): Likewise.
26157 * dlfcn/dladdr.c (dladdr): Likewise.
26158 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26159 * dlfcn/dlerror.c (__dlerror): Likewise.
26160 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26161 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26162 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26163 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26164 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26165 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26166 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26167 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26168 Likewise.
26169 * elf/dl-conflict.c: Likewise.
26170 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26171 * elf/dl-dst.h: Likewise.
26172 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26173 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26174 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26175 * elf/dl-init.c (call_init, _dl_init): Likewise.
26176 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26177 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26178 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26179 Likewise.
26180 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26181 Likewise.
26182 * elf/dl-minimal.c (__libc_memalign): Likewise.
26183 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26184 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26185 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26186 * elf/dl-sym.c (do_sym): Likewise.
26187 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26188 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26189 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26190 * elf/dl-writev.h (_dl_writev): Likewise.
26191 * elf/ldconfig.c (search_dir): Likewise.
26192 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26193 (dl_main): Likewise.
26194 * elf/setup-vdso.h (setup_vdso): Likewise.
26195 * grp/compat-initgroups.c (compat_call): Likewise.
26196 * grp/fgetgrent.c (fgetgrent): Likewise.
26197 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26198 * grp/putgrent.c (putgrent): Likewise.
26199 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26200 Likewise.
26201 * hurd/hurdinit.c: Likewise.
26202 * iconvdata/8bit-gap.c (struct): Likewise.
26203 * iconvdata/ansi_x3.110.c : Likewise.
26204 * iconvdata/big5.c : Likewise.
26205 * iconvdata/big5hkscs.c : Likewise.
26206 * iconvdata/cp1255.c: Likewise.
26207 * iconvdata/cp1258.c : Likewise.
26208 * iconvdata/cp932.c : Likewise.
26209 * iconvdata/euc-cn.c: Likewise.
26210 * iconvdata/euc-jisx0213.c : Likewise.
26211 * iconvdata/euc-jp.c: Likewise.
26212 * iconvdata/euc-jp-ms.c : Likewise.
26213 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26214 * iconvdata/gb18030.c : Likewise.
26215 * iconvdata/gbbig5.c (const): Likewise.
26216 * iconvdata/gbgbk.c: Likewise.
26217 * iconvdata/gbk.c : Likewise.
26218 * iconvdata/ibm1364.c : Likewise.
26219 * iconvdata/ibm930.c : Likewise.
26220 * iconvdata/ibm932.c: Likewise.
26221 * iconvdata/ibm933.c : Likewise.
26222 * iconvdata/ibm935.c : Likewise.
26223 * iconvdata/ibm937.c : Likewise.
26224 * iconvdata/ibm939.c : Likewise.
26225 * iconvdata/ibm943.c: Likewise.
26226 * iconvdata/iso_11548-1.c: Likewise.
26227 * iconvdata/iso-2022-cn.c : Likewise.
26228 * iconvdata/iso-2022-cn-ext.c : Likewise.
26229 * iconvdata/iso-2022-jp-3.c: Likewise.
26230 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26231 * iconvdata/iso-2022-kr.c : Likewise.
26232 * iconvdata/iso646.c (gconv_end): Likewise.
26233 * iconvdata/iso_6937-2.c : Likewise.
26234 * iconvdata/iso_6937.c : Likewise.
26235 * iconvdata/iso8859-1.c: Likewise.
26236 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26237 * iconvdata/shift_jisx0213.c : Likewise.
26238 * iconvdata/sjis.c : Likewise.
26239 * iconvdata/t.61.c : Likewise.
26240 * iconvdata/tcvn5712-1.c : Likewise.
26241 * iconvdata/tscii.c: Likewise.
26242 * iconvdata/uhc.c : Likewise.
26243 * iconvdata/unicode.c (gconv_end): Likewise.
26244 * iconvdata/utf-16.c (gconv_end): Likewise.
26245 * iconvdata/utf-32.c (gconv_end): Likewise.
26246 * iconvdata/utf-7.c (base64): Likewise.
26247 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26248 * iconv/gconv_close.c (__gconv_close): Likewise.
26249 * iconv/gconv_open.c (__gconv_open): Likewise.
26250 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26251 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26252 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26253 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26254 (ucs4le_internal_loop_single): Likewise.
26255 * iconv/iconv.c (iconv): Likewise.
26256 * iconv/iconv_close.c: Likewise.
26257 * iconv/loop.c (SINGLE): Likewise.
26258 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26259 * include/atomic.h: Likewise.
26260 * inet/inet6_option.c (option_alloc): Likewise.
26261 * intl/bindtextdom.c (set_binding_values): Likewise.
26262 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26263 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26264 * intl/localealias.c (read_alias_file): Likewise.
26265 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26266 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26267 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26268 * libio/fmemopen.c (fmemopen): Likewise.
26269 * libio/iofgets.c (_IO_fgets): Likewise.
26270 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26271 * libio/iofgetws.c (fgetws): Likewise.
26272 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26273 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26274 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26275 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26276 * locale/findlocale.c (_nl_find_locale): Likewise.
26277 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26278 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26279 Likewise.
26280 * locale/setlocale.c (setlocale): Likewise.
26281 * login/programs/pt_chown.c (main): Likewise.
26282 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26283 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26284 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26285 (mmap, mmap64, mremap, munmap): Likewise.
26286 * math/e_exp2l.c: Likewise.
26287 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26288 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26289 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26290 * math/s_catan.c (__catan): Likewise.
26291 * math/s_catanf.c (__catanf): Likewise.
26292 * math/s_catanh.c (__catanh): Likewise.
26293 * math/s_catanhf.c (__catanhf): Likewise.
26294 * math/s_catanhl.c (__catanhl): Likewise.
26295 * math/s_catanl.c (__catanl): Likewise.
26296 * math/s_ccosh.c (__ccosh): Likewise.
26297 * math/s_ccoshf.c (__ccoshf): Likewise.
26298 * math/s_ccoshl.c (__ccoshl): Likewise.
26299 * math/s_cexp.c (__cexp): Likewise.
26300 * math/s_cexpf.c (__cexpf): Likewise.
26301 * math/s_cexpl.c (__cexpl): Likewise.
26302 * math/s_clog10.c (__clog10): Likewise.
26303 * math/s_clog10f.c (__clog10f): Likewise.
26304 * math/s_clog10l.c (__clog10l): Likewise.
26305 * math/s_clog.c (__clog): Likewise.
26306 * math/s_clogf.c (__clogf): Likewise.
26307 * math/s_clogl.c (__clogl): Likewise.
26308 * math/s_csin.c (__csin): Likewise.
26309 * math/s_csinf.c (__csinf): Likewise.
26310 * math/s_csinh.c (__csinh): Likewise.
26311 * math/s_csinhf.c (__csinhf): Likewise.
26312 * math/s_csinhl.c (__csinhl): Likewise.
26313 * math/s_csinl.c (__csinl): Likewise.
26314 * math/s_csqrt.c (__csqrt): Likewise.
26315 * math/s_csqrtf.c (__csqrtf): Likewise.
26316 * math/s_csqrtl.c (__csqrtl): Likewise.
26317 * math/s_ctan.c (__ctan): Likewise.
26318 * math/s_ctanf.c (__ctanf): Likewise.
26319 * math/s_ctanh.c (__ctanh): Likewise.
26320 * math/s_ctanhf.c (__ctanhf): Likewise.
26321 * math/s_ctanhl.c (__ctanhl): Likewise.
26322 * math/s_ctanl.c (__ctanl): Likewise.
26323 * math/w_pow.c: Likewise.
26324 * math/w_powf.c: Likewise.
26325 * math/w_powl.c: Likewise.
26326 * math/w_scalb.c (sysv_scalb): Likewise.
26327 * math/w_scalbf.c (sysv_scalbf): Likewise.
26328 * math/w_scalbl.c (sysv_scalbl): Likewise.
26329 * misc/error.c (error_tail): Likewise.
26330 * misc/pselect.c (__pselect): Likewise.
26331 * nis/nis_callback.c (__nis_create_callback): Likewise.
26332 * nis/nis_call.c (__nisfind_server): Likewise.
26333 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26334 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26335 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26336 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26337 * nis/nis_lookup.c (nis_lookup): Likewise.
26338 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26339 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26340 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26341 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26342 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26343 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26344 * nis/nss_compat/compat-initgroups.c (add_group)
26345 (internal_getgrent_r): Likewise.
26346 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26347 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26348 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26349 (internal_getspnam_r): Likewise.
26350 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26351 (_nss_nis_getaliasbyname_r): Likewise.
26352 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26353 (_nss_nis_getntohost_r): Likewise.
26354 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26355 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26356 (_nss_nis_getgrgid_r): Likewise.
26357 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26358 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26359 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26360 (_nss_nis_gethostbyname4_r): Likewise.
26361 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26362 (initgroups_netid): Likewise.
26363 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26364 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26365 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26366 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26367 (_nss_nis_getprotobynumber_r): Likewise.
26368 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26369 (_nss_nis_getsecretkey): Likewise.
26370 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26371 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26372 (_nss_nis_getpwuid_r): Likewise.
26373 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26374 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26375 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26376 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26377 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26378 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26379 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26380 Likewise.
26381 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26382 (_nss_nisplus_getntohost_r): Likewise.
26383 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26384 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26385 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26386 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26387 Likewise.
26388 * nis/nss_nisplus/nisplus-initgroups.c
26389 (_nss_nisplus_initgroups_dyn): Likewise.
26390 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26391 (_nss_nisplus_getnetbyaddr_r): Likewise.
26392 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26393 (_nss_nisplus_getprotobynumber_r): Likewise.
26394 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26395 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26396 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26397 Likewise.
26398 * nis/nss_nisplus/nisplus-service.c
26399 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26400 (_nss_nisplus_getservbyport_r): Likewise.
26401 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26402 (_nss_nisplus_getspnam_r): Likewise.
26403 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26404 Likewise.
26405 * nscd/aicache.c (addhstaiX): Likewise.
26406 * nscd/cache.c (cache_search, prune_cache): Likewise.
26407 * nscd/connections.c (register_traced_file, send_ro_fd)
26408 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26409 (main_loop_epoll): Likewise.
26410 * nscd/grpcache.c (addgrbyX): Likewise.
26411 * nscd/hstcache.c (addhstbyX): Likewise.
26412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26413 * nscd/mem.c (gc, mempool_alloc): Likewise.
26414 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26415 (addinnetgrX): Likewise.
26416 * nscd/nscd-client.h (__nscd_acquire_maplock)
26417 (__nscd_drop_map_ref): Likewise.
26418 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26419 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26420 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26421 Likewise.
26422 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26423 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26424 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26425 (__nscd_get_map_ref): Likewise.
26426 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26427 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26428 Likewise.
26429 * nscd/pwdcache.c (addpwbyX): Likewise.
26430 * nscd/selinux.c (preserve_capabilities): Likewise.
26431 * nscd/servicescache.c (addservbyX): Likewise.
26432 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26433 * posix/fnmatch.c (fnmatch): Likewise.
26434 * posix/getopt.c (_getopt_internal_r): Likewise.
26435 * posix/glob.c (glob, glob_in_dir): Likewise.
26436 * posix/wordexp.c (exec_comm_child): Likewise.
26437 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26438 (getanswer_r, gaih_getanswer_slice): Likewise.
26439 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26440 * resolv/res_init.c: Likewise.
26441 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26442 * resolv/res_query.c (__libc_res_nquery): Likewise.
26443 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26444 Likewise.
26445 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26446 * stdio-common/perror.c (perror): Likewise.
26447 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26448 * stdio-common/tmpnam.c (tmpnam): Likewise.
26449 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26450 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26451 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26452 Likewise.
26453 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26454 * stdlib/putenv.c (putenv): Likewise.
26455 * stdlib/setenv.c (__add_to_environ): Likewise.
26456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26457 * stdlib/strtol_l.c (INTERNAL): Likewise.
26458 * string/memmem.c (memmem): Likewise.
26459 * string/strerror.c (strerror): Likewise.
26460 * string/strnlen.c (__strnlen): Likewise.
26461 * string/test-memmem.c (simple_memmem): Likewise.
26462 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26463 * sunrpc/pm_getport.c (__get_socket): Likewise.
26464 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26465 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26466 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26467 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26468 Likewise.
26469 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26470 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26471 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26472 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26473 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26474 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26475 Likewise.
26476 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26477 Likewise.
26478 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26479 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26480 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26481 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26482 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26484 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26485 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26486 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26487 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26488 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26489 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26490 Likewise.
26491 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26492 Likewise.
26493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26494 Likewise.
26495 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26497 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26498 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26499 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26500 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26501 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26502 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26503 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26504 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26505 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26506 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26507 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26508 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26511 Likewise.
26512 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26513 Likewise.
26514 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26515 Likewise.
26516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26517 Likewise.
26518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26520 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26521 Likewise.
26522 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26523 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26524 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26525 * sysdeps/posix/sleep.c: Likewise.
26526 * sysdeps/posix/tempname.c: Likewise.
26527 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26528 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26529 Likewise.
26530 * sysdeps/powerpc/powerpc32/dl-machine.h
26531 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26532 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26533 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26534 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26535 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26536 Likewise.
26537 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26539 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26541 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26542 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26543 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26544 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26545 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26546 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26547 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26548 (elf_machine_lazy_rel): Likewise.
26549 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26550 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26551 (elf_machine_lazy_rel): Likewise.
26552 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26553 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26554 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26555 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26556 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26557 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26558 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26559 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26560 Likewise.
26561 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26562 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26563 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26564 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26565 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26566 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26567 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26568 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26569 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26570 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26571 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26572 Likewise.
26573 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26574 (__posix_fallocate64_l64): Likewise.
26575 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26576 (posix_fallocate): Likewise.
26577 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26578 Likewise.
26579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26580 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26581 (getifaddrs_internal): Likewise.
26582 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26583 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26584 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26585 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26586 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26587 (__posix_fallocate64_l64): Likewise.
26588 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26589 Likewise.
26590 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26591 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26592 (__get_clockfreq): Likewise.
26593 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26594 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26595 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26597 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26598 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26599 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26600 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26601 Likewise.
26602 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26603 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26604 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26606 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26607 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26608 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26609 Likewise.
26610 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26611 (posix_fallocate): Likewise.
26612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26613 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26614 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26615 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26616 (elf_machine_rela, elf_machine_rela_relative)
26617 (elf_machine_lazy_rel): Likewise.
26618 * time/asctime.c (asctime_internal): Likewise.
26619 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26620 * time/tzset.c (__tzset_parse_tz): Likewise.
26621 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26622 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26623 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26624 * wcsmbs/wcsmbsload.h: Likewise.
26625
26626 [BZ #15894]
26627 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26628
26629 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26630 (arena_get2): Remove THREAD_STATS conditionals.
26631 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26632 (__malloc_stats, int): Likewise.
26633
26634 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26635
26636 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26637 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26638
26639 * manual/setjmp.texi: Fix typos/grammar errors.
26640
26641 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26642 Only return early when n is <= 0. Delete unused return statement.
26643
26644 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26645 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26646 * debug/tst-longjmp_chk3.c: New file.
26647
26648 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26649 (test_main): Replace code with set_fortify_handler call.
26650 * debug/test-strcpy_chk.c: Likewise.
26651 * debug/tst-chk1.c: Likewise.
26652 * debug/tst-longjmp_chk.c: Likewise.
26653 * test-skeleton.c: Include fcntl.h & paths.h
26654 (set_fortify_handler): Define.
26655
26656 * debug/tst-longjmp_chk.c: Add header comment and include
26657 ../test-skeleton.c.
26658 (do_test): Mark static.
26659 (TEST_FUNCTION): Define.
26660
26661 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26662 (IP_PMTUDISC_INTERFACE): Likewise.
26663 (IP_MULTICAST_IF): Likewise.
26664 (IP_MULTICAST_TTL): Likewise.
26665 (IP_MULTICAST_LOOP): Likewise.
26666 (IP_ADD_MEMBERSHIP): Likewise.
26667 (IP_DROP_MEMBERSHIP): Likewise.
26668 (IP_UNBLOCK_SOURCE): Likewise.
26669 (IP_BLOCK_SOURCE): Likewise.
26670 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26671 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26672 (IP_MSFILTER): Likewise.
26673 (MCAST_JOIN_GROUP): Likewise.
26674 (MCAST_BLOCK_SOURCE): Likewise.
26675 (MCAST_UNBLOCK_SOURCE): Likewise.
26676 (MCAST_LEAVE_GROUP): Likewise.
26677 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26678 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26679 (MCAST_MSFILTER): Likewise.
26680 (IP_MULTICAST_ALL): Likewise.
26681 (IP_UNICAST_IF): Likewise.
26682
26683 * timezone/Makefile: Delete $(have-ksh) check.
26684 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26685 * timezone/tzselect.ksh: Add +x mode bits.
26686
26687 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26688 (ANON_INODE_FS_MAGIC): Likewise.
26689 (BDEVFS_MAGIC): Likewise.
26690 (BINFMTFS_MAGIC): Likewise.
26691 (BTRFS_TEST_MAGIC): Likewise.
26692 (CRAMFS_MAGIC_WEND): Likewise.
26693 (DEBUGFS_MAGIC): Likewise.
26694 (ECRYPTFS_SUPER_MAGIC): Likewise.
26695 (EXT3_SUPER_MAGIC): Likewise.
26696 (EXT4_SUPER_MAGIC): Likewise.
26697 (FUTEXFS_SUPER_MAGIC): Likewise.
26698 (HOSTFS_SUPER_MAGIC): Likewise.
26699 (HUGETLBFS_MAGIC): Likewise.
26700 (MINIX3_SUPER_MAGIC): Likewise.
26701 (MTD_INODE_FS_MAGIC): Likewise.
26702 (NILFS_SUPER_MAGIC): Likewise.
26703 (OPENPROM_SUPER_MAGIC): Likewise.
26704 (PIPEFS_MAGIC): Likewise.
26705 (PSTOREFS_MAGIC): Likewise.
26706 (QNX6_SUPER_MAGIC): Likewise.
26707 (RAMFS_MAGIC): Likewise.
26708 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26709 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26710 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26711 (SECURITYFS_MAGIC): Likewise.
26712 (SELINUX_MAGIC): Likewise.
26713 (SMACK_MAGIC): Likewise.
26714 (SOCKFS_MAGIC): Likewise.
26715 (SQUASHFS_MAGIC): Likewise.
26716 (STACK_END_MAGIC): Likewise.
26717 (TMPFS_MAGIC): Likewise.
26718 (USBDEVICE_SUPER_MAGIC): Likewise.
26719 (V9FS_MAGIC): Likewise.
26720 (XENFS_SUPER_MAGIC): Likewise.
26721 (CRAMFS_MAGIC): Fix typo in comment.
26722 (EXT2_SUPER_MAGIC): Update comment.
26723 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26724
26725 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26726
26727 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26728 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26729 * sysdeps/unix/sysv/linux/arm: Move directory from
26730 ports/sysdeps/unix/sysv/linux/arm.
26731 * README: Update listing for arm-*-linux-gnueabi.
26732
26733 * README: Remove mention of am33.
26734
26735 2014-02-07 Roland McGrath <roland@hack.frob.com>
26736
26737 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26738 than the comma operator, to avoid "rhs of comma has no effect"
26739 compiler warnings.
26740 (__sigfillset, __sigandset, __sigorset): Likewise.
26741 * include/signal.h (__sigemptyset): Likewise.
26742 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26743
26744 2014-02-07 Allan McRae <allan@archlinux.org>
26745
26746 * version.h (RELEASE): Set to "development".
26747 (VERSION): Set to "2.19.90"
26748 * NEWS: Add 2.20 section.
26749
26750 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26751
26752 [BZ #16529]
26753 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26754
26755 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26756
26757 * manual/contrib.texi: Update entry for Carlos O'Donell,
26758 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26759
26760 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26761
26762 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26763
26764 * sysdeps/unix/sysv/linux/kernel-features.h
26765 [__LINUX_KERNEL_VERSION >= 0x020621]
26766 (__ASSUME_PROC_PID_TASK_COMM): Define.
26767
26768 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26769
26770 [BZ #16398]
26771 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26772 conversion when destination buffer does not have enough space.
26773 * libio/tst-ftell-partial-wide.c: New test case.
26774 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26775
26776 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26777 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26778 Leonard and Allan McRae.
26779
26780 2014-02-04 David S. Miller <davem@davemloft.net>
26781
26782 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26783 32-bit.
26784
26785 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26786
26787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26788 New file
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26790 New file
26791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26792 New file.
26793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26794 New file.
26795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26796 New file.
26797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26798 New file.
26799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26800 New file.
26801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26802 New file.
26803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26804 New file.
26805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26806 New file.
26807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26808 New file.
26809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26810 New file.
26811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26812 New file.
26813
26814 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26815
26816 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26817 * shlib-versions: Likewise.
26818
26819 2014-02-04 Roland McGrath <roland@hack.frob.com>
26820 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26821
26822 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26823 (abilist-pattern): New variable, set to %-le.abilist.
26824
26825 * Makerules (abilist-pattern): New variable.
26826 (vpath): Use $(abilist-pattern) in place of %.abilist.
26827 (check-abi-% pattern rule): Likewise.
26828 (check-abi, update-abi): Likewise.
26829
26830 2014-02-04 Eric Wong <normalperson@yhbt.net>
26831
26832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26833
26834 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26835
26836 * manual/startup.texi: Add next, previous, and top entries for
26837 the `Program Arguments' and `Environment Variables' nodes.
26838
26839 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26840
26841 * manual/macros.texi: Add comments before MTASC-safety macros.
26842
26843 * manual/users.texi: Document MTASC-safety properties.
26844
26845 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26846 (pthread_getspecific, pthread_setspecific): Format with
26847 @deftypefun, and add @safety note.
26848 * manual/signal.texi: Move comments that analyze the above
26849 functions to their home place.
26850
26851 2014-02-03 Allan McRae <allan@archlinux.org>
26852
26853 * po/sl.po: Update Slovenian translation from translation project.
26854
26855 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26856
26857 * manual/time.texi (timegm): Add missing blank after @c.
26858 Reported by Joseph Myers <joseph@codesourcery.com>.
26859
26860 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26861
26862 * manual/check-safety.sh: New.
26863 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26864
26865 * manual/terminal.texi: Document MTASC-safety properties.
26866
26867 * manual/filesys.texi: Document MTASC-safety properties.
26868
26869 * manual/errno.texi: Document MTASC-safety properties.
26870
26871 * manual/intro.texi: Document safety identifiers and
26872 conditionals.
26873
26874 * manual/string.texi (wcstok): Fix prototype.
26875 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26876
26877 * manual/time.texi: Document MTASC-safety properties.
26878
26879 * manual/string.texi: Document MTASC-safety properties.
26880
26881 * manual/threads.texi: Document MTASC-safety properties.
26882
26883 * manual/stdio.texi: Document MTASC-safety properties.
26884
26885 * manual/syslog.texi: Document MTASC-safety properties.
26886
26887 * manual/sysinfo.texi: Document MTASC-safety properties.
26888
26889 * manual/startup.texi: Document MTASC-safety properties.
26890
26891 * manual/socket.texi: Document MTASC-safety properties.
26892
26893 * manual/signal.texi: Document MTASC-safety properties.
26894
26895 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26896
26897 * manual/setjmp.texi: Document MTASC-safety properties.
26898
26899 * manual/search.texi: Document MTASC-safety properties.
26900
26901 * manual/resource.texi: Document MTASC-safety properties.
26902
26903 * manual/process.texi: Document MTASC-safety properties.
26904
26905 * manual/platform.texi: Document MTASC-safety properties.
26906
26907 * manual/pipe.texi: Document MTASC-safety properties.
26908
26909 * manual/pattern.texi: Document MTASC-safety properties.
26910
26911 * manual/message.texi: Document MTASC-safety properties.
26912
26913 [BZ #12751]
26914 * manual/memory.texi: Document MTASC-safety properties.
26915
26916 * manual/math.texi: Document MTASC-safety properties.
26917
26918 * manual/locale.texi: Document MTASC-safety properties.
26919
26920 * manual/llio.texi: Document MTASC-safety properties.
26921
26922 * manual/libdl.texi: New.
26923
26924 * manual/lang.texi: Document MTASC-safety properties.
26925
26926 * manual/job.texi: Document MTASC-safety properties.
26927
26928 * manual/getopt.texi: Document MTASC-safety properties.
26929
26930 * manual/ctype.texi: Document MTASC-safety properties.
26931
26932 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26933
26934 [BZ #16046]
26935 * csu/libc-tls.c (static_map): Remove variable.
26936 (__libc_setup_tls): Use main executable's link map for TLS data.
26937 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26938 casing for LM_ID_BASE and GL(dl_nns).
26939 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26940 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26941 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26942 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26943 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26944 member.
26945 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26946 l_phnum members.
26947
26948 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26949
26950 * manual/debug.texi: Document MTASC-safety properties.
26951
26952 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26953
26954 [BZ #16510]
26955 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26956 of __x86_64__ when disabling x87 inline functions.
26957
26958 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26959
26960 * manual/charset.texi: Document MTASC-safety properties.
26961
26962 * manual/crypt.texi: Document MTASC-safety properties.
26963
26964 * manual/conf.texi: Document MTASC-safety properties.
26965
26966 * manual/arith.texi: Document MTASC-safety properties.
26967
26968 * manual/argp.texi: Document MTASC-safety properties.
26969
26970 * manual/macros.texi: Introduce macros to document multi
26971 thread, asynchronous signal and asynchronous cancellation
26972 safety properties.
26973 * manual/intro.texi: Introduce the properties themselves.
26974
26975 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26976
26977 * sysdeps/sh/sh4/Makefile: New file.
26978
26979 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26980
26981 * math/gen-libm-test.pl ($srcdir): New variable.
26982 ($auto_input): Use it.
26983
26984 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26985
26986 [BZ #16506]
26987 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26988 access beyond array bounds when parsing netgroups file.
26989
26990 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26991 the old buffer before realloc.
26992
26993 2014-01-27 Allan McRae <allan@archlinux.org>
26994
26995 * po/fr.po: Update French translation from translation project.
26996
26997 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26998
26999 * sysdeps/sh/libm-test-ulps: Regenerate.
27000
27001 2014-01-24 David S. Miller <davem@davemloft.net>
27002
27003 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27004
27005 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27006
27007 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27008 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27009
27010 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27011
27012 [BZ #16474]
27013 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27014 string pointers after reallocation.
27015
27016 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27017
27018 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27019 __SH4A__ instead of __SH_FPU_ANY__.
27020
27021 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27022
27023 * sysdeps/sh/fpu_control.h: New file.
27024 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27025 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27026 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27027 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27028 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27029 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27030 * sysdeps/sh/sys/ucontext.h: Remove.
27031 * sysdeps/sh/sys: Remove directory.
27032
27033 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27034
27035 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27036 s390/sys/ucontext.h.
27037 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27038 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27039
27040 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27041
27042 [BZ #15605]
27043 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27044
27045 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27046
27047 [BZ#16431]
27048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27049 Adjust the vDSO correctly for internal calls.
27050 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27051
27052 2014-01-20 Allan McRae <allan@archlinux.org>
27053
27054 * po/ca.po: Update Catalan translation from translation project.
27055
27056 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27057
27058 * sysdeps/s390/sotruss-lib.c: New file.
27059
27060 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27061
27062 [BZ#16430]
27063 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27064 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27065 local calls issues by not having a PLT stub required for IFUNC calls.
27066 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27067
27068 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27069
27070 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27071 * math/test-fpucw-static.c: Likewise.
27072
27073 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27074
27075 [BZ #16453]
27076 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27077
27078 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27079
27080 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27081 implementation for powerpc.
27082
27083 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27084
27085 [BZ #14782]
27086 * sysdeps/posix/system.c (__libc_system): Do not enable
27087 asynchronous cancellation.
27088
27089 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27090
27091 [BZ #16427]
27092 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27093 handling only for numbers special also in the IEEE case.
27094
27095 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27096
27097 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27098
27099 2014-01-11 Allan McRae <allan@archlinux.org>
27100
27101 * po/bg.po: Update Bulgarian translation from translation project.
27102
27103 * po/de.po: Update German translation from translation project.
27104
27105 2014-01-10 Roland McGrath <roland@hack.frob.com>
27106
27107 * sysdeps/generic/gcc-compat.h: New file.
27108
27109 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27110
27111 * benchtests/asin-inputs: Correct slow inputs.
27112 * benchtests/acos-inputs: Likewise.
27113
27114 2014-01-10 Allan McRae <allan@archlinux.org>
27115
27116 * po:sv.po: Update Swedish translation from translation project.
27117
27118 * po/vi.po: Update Vietnamese translation from translation project.
27119
27120 * po/eo.po: Update Esperanto translation from translation project.
27121
27122 * po/cs.po: Update Czech translation from translation project.
27123
27124 * po/nl.po: Update Dutch translation from translation project.
27125
27126 * po/pl.po: Update Polish translation from translation project.
27127
27128 * po/ru.po: Update Russian translation from translation project.
27129
27130 * po/uk.po: Update Ukrainian translation from translation project.
27131
27132 2014-01-08 Brooks Moses <bmoses@google.com>
27133
27134 * elf/dl-load.c: Fix comment typo.
27135
27136 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27137
27138 * po/header.pot: Rename to...
27139 * po/pot.header: ... this.
27140 * po/Makefile: Use pot.header.
27141
27142 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27143 Maxim Kuvyrkov <maxim@kugelworks.com>
27144
27145 [BZ #16394]
27146 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27147 SRC and DEST against LEN.
27148
27149 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27150
27151 [BZ #16414]
27152 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27153 implementation.
27154 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27155
27156 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27157
27158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27159
27160 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27161
27162 [BZ #16408]
27163 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27164 for large positive arguments.
27165
27166 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27167
27168 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27169
27170 * math/auto-libm-test-in: Mark various tests with
27171 xfail-rounding:ldbl-128ibm.
27172 * math/auto-libm-test-out: Regenerated.
27173
27174 [BZ #16407]
27175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27176 Increase overflow threshold.
27177
27178 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27179
27180 [BZ #14286]
27181 * stdio-common/vfprintf.c: Check for integer overflow.
27182
27183 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27184
27185 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27186 the first argument and return value of __tls_get_addr_internal.
27187
27188 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27189
27190 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27191 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27192
27193 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27194
27195 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27196 * sysdeps/s390/rtld-global-offsets.sym: New file.
27197 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27198 GLIBC_2.19 symbol.
27199 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27200 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27201 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27202 ... this.
27203 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27204 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27205 ... this.
27206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27207 Regenerate.
27208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27209 Regenerate.
27210 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27211 halfs of GPRs for high_gprs contexts.
27212 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27213 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27214 field.
27215 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27216 uc_flags field.
27217 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27218 64 bit versions:
27219 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27220 for high GPRs (uc_high_gprs) and for future extensions
27221 (__reserved).
27222 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27223 for future extensions (__reserved).
27224 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27225 64 bit versions:
27226 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27227 SC_HIGHGPRS offset definition.
27228 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27229 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27230
27231 * Versions.def: Add GLIBC_2.19 for libpthread.
27232 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27233 siglongjmp for libpthread with GLIBC_2.19 symver.
27234 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27235 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27236 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27237 * sysdeps/s390/__longjmp.c: New file.
27238 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27239 * sysdeps/s390/longjmp.c: New file.
27240 * sysdeps/s390/setjmp.S: New file.
27241 * sysdeps/s390/sigjmp.S: New file.
27242 * sysdeps/s390/v1-longjmp.c: New file.
27243 * sysdeps/s390/v1-setjmp.h: New file.
27244 * sysdeps/s390/v1-sigjmp.c: New file.
27245 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27246 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27247 GLIBC_2.19 version.
27248 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27249 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27250 versioned symbols for ____longjmp_chk.
27251 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27252 Likewise.
27253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27254 Regenerate.
27255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27256 Regenerate.
27257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27258 Regenerate.
27259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27260 Regenerate.
27261 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27262 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27263 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27264 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27265 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27266 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27267 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27268 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27269 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27270 * sysdeps/s390/rtld-__longjmp.c: New file.
27271 * sysdeps/s390/rtld-setjmp.S: New file.
27272
27273 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27274
27275 [BZ #16400]
27276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27277 Return -__logl (x) for small positive arguments without evaluating
27278 a polynomial.
27279
27280 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27281
27282 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27283 Rename to ...
27284 (__ptrace_peeksiginfo_args): ... this.
27285 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27286 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27287 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27288
27289 2014-01-06 Allan McRae <allan@archlinux.org>
27290
27291 * inet/netinet/in.h: Fix typo in comment.
27292
27293 2014-01-05 Andreas Jaeger <aj@suse.de>
27294
27295 * sysdeps/i386/fpu/libm-test-ulps: Update.
27296
27297 2014-01-05 Allan McRae <allan@archlinux.org>
27298
27299 * po/libc.pot: Regenerated.
27300
27301 * malloc/memusagestat.c: Fix gettext call formatting.
27302
27303 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27304
27305 * nscd/nscd.c: Improve usage() output.
27306
27307 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27308
27309 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27310 * sysdeps/unix/sysv/linux/configure: Regenerated.
27311 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27312 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27313
27314 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27315
27316 [BZ #16390]
27317 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27318 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27319
27320 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27321
27322 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27323 extra tokens at end of #undef directive.
27324 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27325 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27327
27328 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27329
27330 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27331
27332 * math/auto-libm-test-in: Mark various tests with
27333 xfail-rounding:ldbl-128ibm.
27334 * math/auto-libm-test-out: Regenerated.
27335
27336 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27337
27338 [BZ #16386]
27339 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27340 numbers with subnormal high part when calculating exponent.
27341
27342 [BZ #16385]
27343 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27344 fabs.
27345
27346 [BZ #16384]
27347 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27348 M_LN2l.
27349 (__ieee754_acoshl): Use __log1pl not __log1p.
27350
27351 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27352
27353 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27354 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27355 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27356 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27357 (reused_arena, arena_get2): Convert to GNU style.
27358 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27359 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27360 (memalign_check, __malloc_set_state): Likewise.
27361 * malloc/mallocbug.c (main): Likewise.
27362 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27363 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27364 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27365 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27366 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27367 (__posix_memalign, malloc_info): Likewise.
27368 * malloc/malloc.h: Likewise.
27369 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27370 (mallochook, memalignhook, reallochook, mabort): Likewise.
27371 * malloc/mcheck.h: Likewise.
27372 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27373 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27374 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27375 * malloc/morecore.c (__default_morecore): Likewise.
27376 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27377 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27378 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27379 (print_and_abort): Likewise.
27380 * malloc/obstack.h: Likewise.
27381 * malloc/set-freeres.c (__libc_freeres): Likewise.
27382 * malloc/tst-mallocstate.c (main): Likewise.
27383 * malloc/tst-mtrace.c (main): Likewise.
27384 * malloc/tst-realloc.c (do_test): Likewise.
27385
27386 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27387
27388 [BZ #16366]
27389 * nscd/netgroupcache.c (do_notfound): New function.
27390 (addgetnetgrentX): Use it.
27391
27392 [BZ # 16365]
27393 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27394 NSS_STATUS_NOTFOUND.
27395
27396 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27397
27398 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27400
27401 2014-01-01 Allan McRae <allan@archlinux.org>
27402
27403 * scripts/update-copyrights: Update configure input file suffix.
27404
27405 * NEWS: Update copyright year.
27406 * catgets/gencat.c: Likewise.
27407 * csu/version.c: Likewise.
27408 * debug/catchsegv.sh: Likewise.
27409 * debug/pcprofiledump.c: Likewise.
27410 * debug/xtrace.sh: Likewise.
27411 * elf/ldconfig.c: Likewise.
27412 * elf/ldd.bash.in: Likewise.
27413 * elf/pldd.c: Likewise.
27414 * elf/sotruss.ksh: Likewise.
27415 * elf/sprof.c: Likewise.
27416 * iconv/iconv_prog.c: Likewise.
27417 * iconv/iconvconfig.c: Likewise.
27418 * locale/programs/locale.c: Likewise.
27419 * locale/programs/localedef.c: Likewise.
27420 * login/programs/pt_chown.c: Likewise.
27421 * malloc/memusage.sh: Likewise.
27422 * malloc/memusagestat.c: Likewise.
27423 * malloc/mtrace.pl: Likewise.
27424 * manual/libc.texinfo: Likewise.
27425 * nscd/nscd.c: Likewise.
27426 * nss/getent.c: Likewise.
27427 * nss/makedb.c: Likewise.
27428 * posix/getconf.c: Likewise.
27429 * scripts/test-installation.pl: Likewise.
27430
27431 * All files with FSF copyright notices: Update copyright dates
27432 using scripts/update-copyrights.
27433 * intl/plural.c: Regenerated.
27434 * locale/programs/charmap-kw.h: Likewise.
27435 * locale/programs/locfile-kw.h: Likewise.
27436
27437 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27438
27439 * sysdeps/unix/sysv/linux/configure: Regenerated.
27440 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27441 the linux/fanotify.h header.
27442 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27443 HAVE_LINUX_FANOTIFY_H is defined.
27444
27445 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27446
27447 * benchtests/cos-inputs: New inputs.
27448 * benchtests/sin-inputs: Likewise.
27449
27450 * benchtests/atan-inputs: New inputs. Fix name of multiple
27451 precision fallback inputs.
27452
27453 * benchtests/atanh-inputs: New inputs.
27454 * benchtests/tanh-inputs: Likewise.
27455
27456 * benchtests/acosh-inputs: New inputs.
27457 * benchtests/asinh-inputs: Likewise.
27458
27459 * benchtests/cosh-inputs: New inputs.
27460 * benchtests/sinh-inputs: Likewise.
27461
27462 * benchtests/acos-inputs: Add more inputs.
27463 * benchtests/asin-inputs: Likewise.
27464
27465 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27466
27467 [BZ #16375]
27468 * manual/arith.texi: Fix spelling.
27469 * manual/charset.texi: Likewise.
27470 * manual/errno.texi: Likewise.
27471 * manual/filesys.texi: Likewise.
27472 * manual/lang.texi: Likewise.
27473 * manual/llio.texi: Likewise.
27474 * manual/locale.texi: Likewise.
27475 * manual/message.texi: Likewise.
27476 * manual/resource.texi: Likewise.
27477 * manual/search.texi: Likewise.
27478 * manual/setjmp.texi: Likewise.
27479 * manual/stdio.texi: Likewise.
27480 * manual/string.texi: Likewise.
27481 * manual/sysinfo.texi: Likewise.
27482 * manual/time.texi: Likewise.
27483
27484 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27485
27486 * po/sl.po: New file.
27487
27488 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27489
27490 * .gitignore: Add core/.gdbinit/.gdb_history.
27491
27492 2013-12-27 Allan McRae <allan@archlinux.org>
27493
27494 [BZ #16369]
27495 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27496 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27497
27498 2013-12-24 Brooks Moses <bmoses@google.com>
27499
27500 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27501 all compilers that claim C++98 compliance, not just GCC.
27502 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27503 Likewise.
27504
27505 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27506
27507 * NEWS: Restore accidentally deleted bug-fix entries.
27508
27509 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27510 Ondřej Bílka <neleai@seznam.cz>
27511
27512 [BZ #15073]
27513 * malloc/malloc.c (_int_free): Perform sanity check only if we
27514 have_lock.
27515
27516 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27517
27518 [BZ #12986]
27519 * manual/stdio.texi (String Input Conversions): Clarify that character
27520 classes are not supported.
27521
27522 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27523
27524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27525
27526 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27527
27528 [BZ #16337]
27529 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27530 Calculate results for small negative arguments directly rather
27531 than using reflection formula with special underflow handling.
27532
27533 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27534 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27535 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27536 (fchflags): Likewise.
27537 (revoke): Likewise.
27538 (setlogin): Likewise.
27539 (sigaltstack): Likewise.
27540 (wait4): Likewise.
27541 (sigblock): Remove.
27542 (sigsetmask): Likewise.
27543 (wait3): Likewise.
27544 (waitpid): Likewise.
27545 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27546 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27547 file.
27548 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27549 * sysdeps/unix/bsd/Makefile: ... here.
27550 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27551 * sysdeps/unix/bsd/Versions: ... here.
27552 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27553 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27554 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27555 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27556 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27557 * sysdeps/unix/bsd/sigblock.c: ... here.
27558 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27559 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27560 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27561 * sysdeps/unix/bsd/sigvec.c: ... here.
27562 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27563 * sysdeps/unix/bsd/tcdrain.c: ... here.
27564 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27565 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27566 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27567 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27568 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27569 * sysdeps/unix/bsd/wait.c: ... here.
27570 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27571 * sysdeps/unix/bsd/wait3.c: ... here.
27572 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27573 * sysdeps/unix/bsd/waitpid.c: ... here.
27574
27575 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27576
27577 [BZ #16356]
27578 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27579 round-to-nearest for [!USE_AS_EXPM1L].
27580 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27581 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27582 more tests of exp and exp10. Expect some exp10 tests to miss
27583 exceptions or fail in directed rounding modes.
27584 * math/auto-libm-test-out: Regenerated.
27585 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27586 (exp10_test_tonearest): New function.
27587 (exp10_towardzero_test_data): New array.
27588 (exp10_test_towardzero): New function.
27589 (exp10_downward_test_data): New array.
27590 (exp10_test_downward): New function.
27591 (exp10_upward_test_data): New array.
27592 (exp10_test_upward): New function.
27593 (main): Call the new functions.
27594 * sysdeps/i386/fpu/libm-test-ulps: Update.
27595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27596
27597 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27598
27599 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27600 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27601 * math/auto-libm-test-out: Regenerated.
27602 * math/libm-test.inc (acosh_test_data): Add more tests.
27603 (atanh_test_data): Likewise.
27604 (ceil_test_data): Likewise.
27605 (copysign_test_data): Likewise.
27606 * sysdeps/i386/fpu/libm-test-ulps: Update.
27607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27608
27609 * timezone/checktab.awk: Update from tzcode 2013i.
27610 * timezone/private.h: Likewise.
27611 * timezone/scheck.c: Likewise.
27612 * timezone/tzfile.h: Likewise.
27613 * timezone/tzselect.ksh: Likewise.
27614 * timezone/zdump.c: Likewise.
27615 * timezone/zic.c: Likewise.
27616
27617 * math/auto-libm-test-in: Add tests of cpow.
27618 * math/auto-libm-test-out: Regenerated.
27619 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27620 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27621 mpc_cc_c.
27622 (func_calc_desc): Add mpc_cc_c union field.
27623 (test_functions): Add cpow.
27624 (special_fill_2pi): New function.
27625 (special_real_inputs): Add 2pi.
27626 (calc_generic_results): Handle mpc_cc_c.
27627 * sysdeps/i386/fpu/libm-test-ulps: Update.
27628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27629
27630 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27631 csqrt, ctan and ctanh.
27632 * math/auto-libm-test-out: Regenerated.
27633 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27634 (TEST_COND_x86): Likewise.
27635 (ccos_test_data): Use AUTO_TESTS_c_c.
27636 (ccosh_test_data): Likewise.
27637 (cexp_test_data): Likewise.
27638 (clog_test_data): Likewise.
27639 (csqrt_test_data): Likewise.
27640 (ctan_test_data): Likewise.
27641 (ctan_tonearest_test_data): Likewise.
27642 (ctan_towardzero_test_data): Likewise.
27643 (ctan_downward_test_data): Likewise.
27644 (ctan_upward_test_data): Likewise.
27645 (ctanh_test_data): Likewise.
27646 (ctanh_tonearest_test_data): Likewise.
27647 (ctanh_towardzero_test_data): Likewise.
27648 (ctanh_downward_test_data): Likewise.
27649 (ctanh_upward_test_data): Likewise.
27650 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27651 mpc_c_c.
27652 (func_calc_desc): Add mpc_c_c union field.
27653 (FUNC_mpc_c_c): New macro.
27654 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27655 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27656 ctanh.
27657 (special_fill_min_subnorm_p120): New function.
27658 (special_real_inputs): Add min_subnorm_p120.
27659 (calc_generic_results): Handle mpc_c_c.
27660 * sysdeps/i386/fpu/libm-test-ulps: Update.
27661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27662
27663 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27664
27665 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27666 (do_sin_slow): New functions.
27667 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27668 (cslow2, csloww1, csloww2): Use the new functions.
27669
27670 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27671 Use M to change sign of result instead of X. Assume X is
27672 positive.
27673 (csloww1): Likewise.
27674 (__sin): Adjust.
27675 (__cos): Adjust.
27676
27677 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27678 arguments A and DA.
27679 (__sin): Adjust.
27680 (__cos): Likewise.
27681
27682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27683 (__cos): Likewise.
27684 (sloww1): Don't adjust sign of DX.
27685 (csloww1): Likewise.
27686 (sloww2): Use X directly and don't adjust sign of DX.
27687 (csloww2): Likewise.
27688
27689 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27690
27691 * math/auto-libm-test-in: Add tests of cabs and carg.
27692 * math/auto-libm-test-out: Regenerated.
27693 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27694 (carg_test_data): Likewise.
27695 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27696 mpc_c_f.
27697 (func_calc_desc): Add mpc_c_f union field.
27698 (test_functions): Add cabs and carg.
27699 (calc_generic_results): Handle mpc_c_f.
27700
27701 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27702 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27703 as a macro and a compat symbol.
27704 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27705 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27706 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27707 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27708 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27709 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27710 not use .hidden.
27711 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27712 Likewise.
27713 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27714 Likewise.
27715 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27716 Likewise.
27717 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27718 Likewise.
27719 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27720 Likewise.
27721 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27722 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27723 from GLIBC_2.3.2.
27724
27725 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27726
27727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27728
27729 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27730
27731 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27732 trailing whitespace removed.
27733 * scripts/config.guess: Update to version 2013-11-29.
27734 * scripts/config.sub: Update to version 2013-10-01.
27735
27736 * math/auto-libm-test-in: Add tests of sincos.
27737 * math/auto-libm-test-out: Regenerated.
27738 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27739 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27740 mpfr_f_11.
27741 (func_calc_desc): Add mpfr_f_11 union field.
27742 (test_functions): Add sincos.
27743 (calc_generic_results): Handle mpfr_f_11.
27744 * sysdeps/i386/fpu/libm-test-ulps: Update.
27745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27746
27747 2013-12-19 Andreas Schwab <schwab@suse.de>
27748
27749 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27750 CALL_MCOUNT.
27751 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27752 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27753 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27754
27755 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27756
27757 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27758 * sysdeps/i386/fpu/libm-test-ulps: Update.
27759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27760
27761 [BZ #16293]
27762 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27763 round-to-nearest mode when using frndint.
27764 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27765 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27766 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27767 Likewise.
27768 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27769 sinh test to fail.
27770 * math/auto-libm-test-out: Regenerated.
27771 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27772 (TEST_COND_x86): Likewise.
27773 (expm1_tonearest_test_data): New array.
27774 (expm1_test_tonearest): New function.
27775 (expm1_towardzero_test_data): New array.
27776 (expm1_test_towardzero): New function.
27777 (expm1_downward_test_data): New array.
27778 (expm1_test_downward): New function.
27779 (expm1_upward_test_data): New array.
27780 (expm1_test_upward): New function.
27781 (main): Run the new test functions.
27782 * sysdeps/i386/fpu/libm-test-ulps: Update.
27783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27784
27785 * include/features.h: Update comment documenting feature test
27786 macros. Mention _DEFAULT_SOURCE in comment.
27787 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27788 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27789 _BSD_SOURCE and _SVID_SOURCE.
27790 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27791 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27792 !_SVID_SOURCE]: Likewise.
27793 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27794 (__USE_POSIX_IMPLICITLY): Define.
27795 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27796 (_POSIX_SOURCE): Undefine and redefine.
27797 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27798 (_POSIX_C_SOURCE): Likewise.
27799 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27800 (Feature Test Macros): Update documentation of default features.
27801
27802 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27803
27804 * benchtests/Makefile: Add bench-strtok.
27805 * benchtests/bench-strtok.c: New file: strtok benchtest.
27806
27807 2013-12-19 Allan McRae <allan@archlinux.org>
27808
27809 * manual/install.texi: Suppress menu for plain text output.
27810 * INSTALL: Regenerated.
27811
27812 2013-12-18 Brooks Moses <bmoses@google.com>
27813
27814 [BZ #15846]
27815 * misc/getauxval.c: Include errno.h.
27816 (__getauxval): Set errno to ENOENT if the requested type is not
27817 found.
27818 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27819 don't declare with __attribute_const__.
27820 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27821 * manual/startup.texi: Document that getauxval sets errno.
27822
27823 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27824
27825 * math/auto-libm-test-in: Add tests of jn and yn.
27826 * math/auto-libm-test-out: Regenerated.
27827 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27828 (yn_test_data): Likewise.
27829 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27830 mpfr_if_f.
27831 (func_calc_desc): Add mpfr_if_f union field.
27832 (FUNC_mpfr_if_f): New macro.
27833 (test_functions): Add jn and yn.
27834 (calc_generic_results): Assert type of second input for
27835 mpfr_ff_f. Handle mpfr_if_f.
27836 (output_for_one_input_case): Disable all checking for arguments
27837 fitting floating-point types in case of an integer argument.
27838 * sysdeps/i386/fpu/libm-test-ulps: Update.
27839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27840
27841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27842 Don't expect fegetround reference in libm.so.
27843
27844 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27845
27846 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27847 $(config-cflags-nofma).
27848
27849 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27850
27851 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27852 * math/auto-libm-test-out: Regenerated.
27853
27854 [BZ #16338]
27855 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27856 to determine exponent and adjust argument to have exponent of -1.
27857 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27858 log2.
27859 * math/auto-libm-test-out: Regenerated.
27860 * sysdeps/i386/fpu/libm-test-ulps: Update.
27861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27862
27863 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27864
27865 * manual/probes.texi: Remove cases when per-thread arenas are
27866 disabled.
27867
27868 2013-12-18 Andreas Schwab <schwab@suse.de>
27869
27870 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27871 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27872 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27873 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27874 * sysdeps/i386/i686/multiarch/Makefile: Update.
27875 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27876
27877 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27878
27879 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27880 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27881
27882 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27883
27884 [BZ #15968]
27885 Support TZ transition times < 00:00:00.
27886 This is needed for version-3 tz-format files; it supports time
27887 stamps past 2037 for America/Godthab (the only entry in the tz
27888 database for which this change is relevant).
27889 * manual/time.texi (TZ Variable): Document transition times
27890 from -167:59:59 through -00:00:01.
27891 * time/tzset.c (tz_rule): Time of day is now signed.
27892 (__tzset_parse_tz): Parse negative time of day.
27893
27894 Document TZ transition times >= 25:00:00.
27895 * manual/time.texi (TZ Variable): Document transition times from
27896 25:00:00 through 167:59:59. These are already supported, and this
27897 support will help with version-3 tz-format files.
27898
27899 * manual/time.texi (TZ Variable): Modernize North America example
27900 to reflect current (i.e., 2007-and-later) daylight saving rules.
27901
27902 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27903
27904 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27905
27906 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27907 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27908 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27909 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27910 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27911 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27912 * sysdeps/unix/bsd/clock.c: Likewise.
27913 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27914 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27915 * sysdeps/unix/bsd/init-posix.c: Likewise.
27916 * sysdeps/unix/bsd/poll.c: Likewise.
27917 * sysdeps/unix/bsd/ptsname.c: Likewise.
27918 * sysdeps/unix/bsd/seekdir.c: Likewise.
27919 * sysdeps/unix/bsd/setegid.c: Likewise.
27920 * sysdeps/unix/bsd/seteuid.c: Likewise.
27921 * sysdeps/unix/bsd/setgid.c: Likewise.
27922 * sysdeps/unix/bsd/setrgid.c: Likewise.
27923 * sysdeps/unix/bsd/setruid.c: Likewise.
27924 * sysdeps/unix/bsd/setsid.c: Likewise.
27925 * sysdeps/unix/bsd/setuid.c: Likewise.
27926 * sysdeps/unix/bsd/sigaction.c: Likewise.
27927 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27928 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27929 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27930 * sysdeps/unix/bsd/telldir.c: Likewise.
27931 * sysdeps/unix/bsd/times.c: Likewise.
27932 * sysdeps/unix/bsd/usleep.c: Likewise.
27933
27934 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27935 ($(objpfx)libbsd-compat.a): Remove rule.
27936
27937 * include/features.h (__FAVOR_BSD): Do not define.
27938 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27939 features conflicting with POSIX.
27940 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27941 (_BSD_SOURCE): Remove description of not being a subset of other
27942 feature test macros.
27943 * manual/job.texi (getpgrp): Do not document BSD version.
27944 (getpgid): Do not document by reference to BSD getpgrp.
27945 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27946 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27947 * signal/signal.h [__FAVOR_BSD]: Likewise.
27948 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27949 instead of making contents conditional on [__FAVOR_BSD].
27950 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27951
27952 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27953
27954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27955
27956 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27957
27958 [BZ #16314]
27959 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27960 values below 2**-450, not 2**-500.
27961 * math/auto-libm-test-in: Don't allow spurious underflow from
27962 hypot.
27963 * math/auto-libm-test-out: Regenerated.
27964
27965 [BZ #16316]
27966 [BZ #16330]
27967 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27968 values of ha and hb and sort them after adjusting subnormal
27969 arguments.
27970 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27971 Likewise.
27972 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27973 values of ea and eb and sort them after adjusting subnormal
27974 arguments.
27975 * math/auto-libm-test-in: Do not expect some hypot tests of
27976 subnormals to fail. Add more hypot tests.
27977 * math/auto-libm-test-out: Regenerated.
27978
27979 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27980
27981 [BZ #13304]
27982 * sysdeps/sh/s_fma.c: New file.
27983 * sysdeps/sh/s_fmaf.c: New file.
27984 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27985 version.
27986 * sysdeps/sh/Implies: Add sh/soft-fp.
27987
27988 2013-12-16 Roland McGrath <roland@hack.frob.com>
27989
27990 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27991 level of indirection to members `objname', `errstring', `malloced'.
27992 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27993 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27994 it as the __longjmp argument (just pass 1 instead).
27995 (_dl_catch_error): Initialize C with argument pointers and address of
27996 volatile local ERRCODE rather than copying values out of C at return.
27997
27998 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27999
28000 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28001 * math/auto-libm-test-out: Regenerated.
28002 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28003 (hypot_test_data): Likewise.
28004 (pow_test_data): Likewise.
28005 (pow_tonearest_test_data): Likewise.
28006 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28007 mpfr_ff_f.
28008 (func_calc_desc): Add mpfr_ff_f union field.
28009 (FUNC_mpfr_ff_f): New macro.
28010 (test_functions): Add atan2, hypot and pow.
28011 (special_fill_min): New function.
28012 (special_fill_minus_min): Likewise.
28013 (special_fill_min_subnorm): Likewise.
28014 (special_fill_minus_min_subnorm): Likewise.
28015 (special_real_inputs): Add min, -min, min_subnorm and
28016 -min_subnorm.
28017 (calc_generic_results): Handle mpfr_ff_f.
28018 * sysdeps/i386/fpu/libm-test-ulps: Update.
28019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28020
28021 2013-12-16 Will Newton <will.newton@linaro.org>
28022
28023 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28024 (Aligned Memory Blocks): Add documentation for aligned_alloc
28025 and suggest it as an alternative to posix_memalign.
28026 (Hooks for Malloc): Document __memalign_hook is also called
28027 for aligned_alloc. (Summary of Malloc): Add summary for
28028 aligned alloc. Document __memalign_hook is also called
28029 for aligned_alloc.
28030
28031 2013-12-16 Will Newton <will.newton@linaro.org>
28032
28033 * manual/memory.texi (Malloc Examples): Clarify default
28034 alignment documentation. Suggest posix_memalign rather
28035 than memalign or valloc.
28036 (Aligned Memory Blocks): Remove suggestion to use memalign
28037 or valloc. Remove obsolete comment about BSD.
28038 Document memalign errno values and mark the function obsolete.
28039 Document posix_memalign returned error codes. Mark valloc
28040 as obsolete. (Hooks for Malloc): __memalign_hook is also
28041 called for posix_memalign and valloc.
28042 (Summary of Malloc): Add posix_memalign to function summary.
28043 __memalign_hook is also called for posix_memalign and valloc.
28044
28045 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28046
28047 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28048 TAYLOR_SIN.
28049 (__sin): Adjust.
28050 (__cos): Likewise.
28051 (sloww): Use mynumber union. Expand ternary operator into
28052 if-else statements.
28053 (cslow): use mynumber union.
28054
28055 2013-12-16 Allan McRae <allan@archlinux.org>
28056
28057 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28058 * configure: Regenerated.
28059
28060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28061
28062 [BZ #14120]
28063 * configure.ac: Added --enable-maintainer-mode. Check for
28064 autoconf when enabled.
28065 * configure: Regenerated.
28066
28067 * nscd/nscd.service: New file.
28068 * nscd/nscd.tmpfiles: New file.
28069
28070 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28071
28072 [BZ #12100]
28073 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28074 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28075 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28076 (strstr): Add __strstr_sse2_unaligned ifunc.
28077 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28078 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28079 (strcasestr): Remove __strcasestr_sse42 ifunc.
28080 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28083
28084 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28085
28086 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28087 * sysdeps/sh/bits/fenv.h: ... here.
28088 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28089
28090 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28091
28092 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28093
28094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28095 hypotf multiarch implementations.
28096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28098 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28099 multiarch hypot for PPC64.
28100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28103 multiarch hypotf for PPC64.
28104
28105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28106 modff multiarch implementations.
28107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28110 multiarch modf for PPC64.
28111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28114 multiarch modff for PPC64.
28115
28116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28117 and logl multiarch implementations.
28118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28121 multiarch logb for PPC64.
28122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28125 multiarch logb for PPC64.
28126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28129 multiarch logb for PPC64.
28130
28131 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28132 isinff multiarch implementation.
28133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28134 file.
28135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28137 multiarch isinf for PPC64.
28138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28139 file.
28140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28141 multiarch isinff for PPC64.
28142
28143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28144 finitef multiarch implementation.
28145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28146 file.
28147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28149 multiarch finite for PPC64.
28150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28151 file.
28152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28153 multiarch finitef for PPC64.
28154
28155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28156 lrint multiarch implementation.
28157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28158 file.
28159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28161 multiarch llrint for PPC64.
28162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28163 multiarch lrint for PPC64.
28164
28165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28166 copysignf multiarch implementation.
28167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28168 file.
28169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28170 file.
28171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28172 multiarch copysign for PPC64.
28173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28174 multiarch copysignf for PPC64.
28175
28176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28177 multiarch implementation.
28178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28179 file.
28180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28181 file.
28182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28183 file.
28184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28185 file.
28186 multiarch llround for PPC64.
28187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28188 multiarch trunc for PPC64.
28189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28190 multiarch truncf for PPC64.
28191
28192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28193 multiarch implementation.
28194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28195 file.
28196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28197 file.
28198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28199 file.
28200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28201 file.
28202 multiarch llround for PPC64.
28203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28204 multiarch round for PPC64.
28205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28206 multiarch roundf for PPC64.
28207
28208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28209 multiarch implementation.
28210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28211 file.
28212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28213 file.
28214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28215 file.
28216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28217 file.
28218 multiarch llround for PPC64.
28219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28220 multiarch floor for PPC64.
28221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28222 multiarch floorf for PPC64.
28223
28224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28225 multiarch implementation.
28226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28227 file.
28228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28229 file.
28230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28231 file.
28232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28233 file.
28234 multiarch llround for PPC64.
28235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28236 multiarch ceil for PPC64.
28237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28238 multiarch ceilf for PPC64.
28239
28240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28241 multiarch implementation.
28242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28243 file.
28244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28245 file.
28246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28247 file.
28248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28249 multiarch llround for PPC64.
28250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28251 multiarch lround for PPC64.
28252
28253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28254 multiarch implementation.
28255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28258 file.
28259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28262 multiarch isnan for PPC64.
28263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28264 multiarch isnanf for PPC64.
28265
28266 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28267 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28268 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28269 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28270 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28272
28273 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28274 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28277
28278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28279 multiarch implementations.
28280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28281 (__libc_ifunc_impl_list): Likewise.
28282 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28283 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28284 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28285 multiarch stpcpy for PPC64.
28286
28287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28288 multiarch implementations.
28289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28290 (__libc_ifunc_impl_list): Likewise.
28291 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28292 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28293 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28294 multiarch strcpy for PPC64.
28295
28296 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28297 redefine function name.
28298 (_wordcopy_fwd_dest_aligned): Likewise.
28299 (_wordcopy_bwd_aligned): Likewise.
28300 (_wordcopy_bwd_dest_aligned): Likewise.
28301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28302 multiarch implementations.
28303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28304 (__libc_ifunc_impl_list): Likewise.
28305 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28306 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28307 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28308 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28309 multiarch wcscpy for PPC64.
28310
28311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28312 multiarch implementations.
28313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28314 (__libc_ifunc_impl_list): Likewise.
28315 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28316 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28317 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28318 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28319 multiarch wcscpy for PPC64.
28320
28321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28322 multiarch implementations.
28323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28324 (__libc_ifunc_impl_list): Likewise.
28325 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28326 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28327 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28328 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28329 multiarch wcsrchr for PPC64.
28330
28331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28332 multiarch implementations.
28333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28334 (__libc_ifunc_impl_list): Likewise.
28335 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28336 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28337 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28338 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28339 multiarch wcschr for PPC64.
28340
28341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28342 multiarch implementations.
28343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28344 (__libc_ifunc_impl_list): Likewise.
28345 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28346 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28347 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28348 multiarch strchrnul for PPC64.
28349
28350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28351 implementations.
28352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28353 (__libc_ifunc_impl_list): Likewise.
28354 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28355 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28356 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28357 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28358 strchr for PPC64.
28359
28360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28361 implementations.
28362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28363 (__libc_ifunc_impl_list): Likewise.
28364 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28365 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28366 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28367 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28368 strncmp for PPC64.
28369
28370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28371 multiarch implementations.
28372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28373 (__libc_ifunc_impl_list): Likewise.
28374 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28375 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28376 strncasecmp for PPC64.
28377 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28378 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28379 multiarch strncasecmp_l for PPC64.
28380
28381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28382 multiarch implementations.
28383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28384 (__libc_ifunc_impl_list): Likewise.
28385 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28386 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28387 multiarch strcasecmp for PPC64.
28388 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28389 file.
28390 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28391 multiarch strcasecmp_l for PPC64.
28392
28393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28394 implementations.
28395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28396 (__libc_ifunc_impl_list): Likewise.
28397 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28398 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28399 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28400 strnlen for PPC64.
28401
28402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28403 implementations.
28404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28405 (__libc_ifunc_impl_list): Likewise.
28406 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28407 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28408 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28409 strlen for PPC64.
28410
28411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28412 implementations.
28413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28414 (__libc_ifunc_impl_list): Likewise.
28415 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28416 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28417 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28418 rawmemrchr for PPC64.
28419
28420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28421 implementation.
28422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28423 (__libc_ifunc_impl_list): Likewise.
28424 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28425 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28426 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28427 memrchr for PPC64.
28428
28429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28430 implementation.
28431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28432 (__libc_ifunc_impl_list): Likewise.
28433 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28434 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28435 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28436 memchr for PPC64.
28437
28438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28439 implementation.
28440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28441 (__libc_ifunc_impl_list): Likewise.
28442 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28443 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28444 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28445 mempcpy for PPC64.
28446
28447 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28448 avoid cretion of __bzero symbol.
28449 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28450 Likewise.
28451 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28452 Likewise.
28453 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28454 Likewise.
28455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28456 multiarch implementations.
28457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28458 (__libc_ifunc_impl_list): Likewise.
28459 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28460 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28461 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28462 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28463 bzero for PPC32.
28464 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28465 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28466 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28467 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28468 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28469 memset for PPC64.
28470 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28471
28472 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28474 implementations.
28475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28476 (__libc_ifunc_impl_list): Likewise.
28477 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28478 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28479 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28480 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28481 memcmp for PPC64.
28482
28483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28484 multiarch for POWER/PPC64.
28485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28486 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28489 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28490 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28491 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28492 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28493 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28494 memcpy for PPC64.
28495
28496 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28497 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28498 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28499 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28500 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28501 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28502 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28503 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28504 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28505 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28506 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28507 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28508 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28509 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28510 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28518
28519 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28520
28521 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28522
28523 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28524
28525 * benchtests/Makefile (bench): Add exp2 and log2.
28526 (LDLIBS-bench-exp2): Add -lm.
28527 (LDLIBS-bench-log2): Likewise.
28528 * benchtests/exp2-inputs: New inputs file.
28529 * benchtests/log2-inputs: New inputs file.
28530 * benchtests/log-inputs: Add new inputs.
28531 * benchtests/tan-inputs: Likewise.
28532
28533 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28534
28535 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28536 definition...
28537 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28538 (csloww2): ... from here.
28539
28540 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28541 instead of structures.
28542 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28543 (POLYNOMIAL): Likewise.
28544 (TAYLOR_SLOW): Likewise.
28545 (__sin): Likewise.
28546 (__cos): Likewise.
28547 (slow1): Likewise.
28548 (slow2): Likewise.
28549 (sloww): Likewise.
28550 (sloww1); Likewise.
28551 (sloww2): Likewise.
28552 (bsloww1): Likewise.
28553 (bsloww2): Likewise.
28554 (cslow2): Likewise.
28555 (csloww): Likewise.
28556 (csloww1): Likewise.
28557 (csloww2): Likewise.
28558
28559 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28560
28561 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28562 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28563 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28564 * malloc/hooks.c (realloc_check): Likewise.
28565
28566 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28567 * malloc/arena.c: Remove PER_THREAD conditional.
28568 [!PER_THREAD]: Remove code.
28569 (ptmalloc_unlock_all2): Likewise.
28570 (ptmalloc_init): Likewise.
28571 (_int_new_arena): Likewise.
28572 (arena_get2): Likewise.
28573 * malloc/hooks.c (__malloc_get_state): Likewise.
28574 (__malloc_set_state): Likewise.
28575 * malloc/malloc.c: Likewise.
28576 (struct malloc_state): Likewise.
28577 (struct malloc_par): Likewise.
28578 (__libc_realloc): Likewise.
28579 (__libc_mallopt): Likewise.
28580
28581 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28582
28583 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28584
28585 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28586
28587 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28588 macro to a function. Check for zero perturb_byte.
28589 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28590
28591 * malloc/malloc.c: (force_reg): Remove.
28592 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28593 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28594 force_reg by atomic_forced_read.
28595 * malloc/arena.c (ptmalloc_init): Likewise.
28596 * malloc/hooks.c (top_check): Likewise.
28597
28598 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28599
28600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28601
28602 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28603
28604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28605
28606 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28607
28608 * math/auto-libm-test-in: Add tests of lgamma.
28609 * math/auto-libm-test-out: Regenerated.
28610 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28611 (M_LOG_2_SQRT_PIl): Likewise.
28612 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28613 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28614 mpfr_f_f1.
28615 (func_calc_desc): Add mpfr_f_f1 union field.
28616 (ARGS1): New macro.
28617 (ARGS2): Likewise.
28618 (ARGS3): Likewise.
28619 (ARGS4): Likewise.
28620 (RET1): Likewise.
28621 (RET2): Likewise.
28622 (CALC): Likewise.
28623 (FUNC): Likewise.
28624 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28625 (test_functions): Add lgamma.
28626 (calc_generic_results): Handle mpfr_f_f1.
28627 * sysdeps/i386/fpu/libm-test-ulps: Update.
28628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28629
28630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28631
28632 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28633 __mpn_add_n for PowerPC64/POWER7.
28634 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28635 __mpn_sub_n for PowerPC64/POWER7.
28636
28637 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28638 __mpn_addmul_1 for PowerPC64.
28639 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28640 __mpn_submul_1 for PowerPC64.
28641 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28642 for PowerPC64.
28643 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28644 for PowerPC64.
28645
28646 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28647
28648 [BZ #15089]
28649 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28650
28651 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28652
28653 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28654
28655 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28656 add multiarch folders.
28657 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28658 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28659 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28660 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28661 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28662 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28663 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28664 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28665 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28666 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28667 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28674
28675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28676 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28678 New file.
28679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28680 New file.
28681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28682 multiarch __ieee754_hypot for PowerPC32.
28683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28684 New file.
28685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28686 New file.
28687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28688 multiarch __ieee754_hypotf for PowerPC32.
28689
28690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28691 long_double_symbol only if __logbl is defined.
28692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28693 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28695 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28697 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28698 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28699 path for implementation.
28700 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28701 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28703 logb, and logbl multiarch implementations for PowerPC32.
28704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28705 file.
28706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28707 file.
28708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28709 multiarch logb for PowerPC32.
28710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28711 file.
28712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28713 file.
28714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28715 multiarch logbf for PowerPC32.
28716 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28718 file.
28719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28720 multiarch logbl implementation for PowerPC32.
28721
28722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28723 and modff multiarch implementations.
28724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28725 New file.
28726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28727 New file.
28728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28729 multiarch modf for PowerPC32.
28730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28731 New file.
28732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28733 New file.
28734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28735 multiarch modff for PowerPC32.
28736
28737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28738 and lrintf multiarch implementations.
28739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28740 New file.
28741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28742 New file.
28743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28744 multiarch lrint for PowerPC32.
28745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28746 file: multiarch lrintf for PowerPC32.
28747
28748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28749 and lroundf multiarch implementations.
28750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28751 New file.
28752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28753 New file.
28754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28755 New file.
28756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28757 multiarch lround for PowerPC32.
28758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28759 file: multiarch lroundf for PowerPC32.
28760
28761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28762 copysign and copysignf multiarch implementations.
28763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28764 New file.
28765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28766 New file.
28767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28768 file: multiarch copysign for PowerPC32.
28769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28770 file: multiarch copysignf for PowerPC32.
28771
28772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28773 and truncf multiarch implementations.
28774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28775 New file.
28776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28777 file.
28778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28779 multiarch trunc for PowerPC32.
28780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28781 New file.
28782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28783 New file.
28784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28785 multiarch truncf for PowerPC32.
28786
28787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28788 and roundf multiarch implementations.
28789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28790 New file.
28791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28792 file.
28793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28794 multiarch round for PowerPC32.
28795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28796 New file.
28797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28798 New file.
28799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28800 multiarch roundf for PowerPC32.
28801
28802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28803 and floorf multiarch implementations.
28804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28805 New file.
28806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28807 file.
28808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28809 multiarch floor for PowerPC32.
28810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28811 New file.
28812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28813 New file.
28814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28815 multiarch floorf for PowerPC32.
28816
28817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28818 and ceilf multiarch implementations.
28819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28820 New file.
28821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28822 file.
28823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28824 multiarch ceil for PowerPC32.
28825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28826 New file.
28827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28828 file.
28829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28830 multiarch ceilf for PowerPC32.
28831
28832 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28833 is defined.
28834 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28835 FINITEF is defined.
28836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28837 and finitef multiarch implementations.
28838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28839 New file.
28840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28841 file.
28842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28843 multiarch finite for PowerPC32.
28844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28845 New file.
28846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28847 file: multiarch finitef for PowerPC32.
28848
28849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28850 and isinff multiarch implementations.
28851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28852 file.
28853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28854 file.
28855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28856 multiarch isinf for PowerPC32.
28857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28858 New file.
28859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28860 multiarch isinff for PowerPC32.
28861
28862 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28863 alias when __isnan is defined.
28864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28865 and isnanf multiarch implementations.
28866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28867 file.
28868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28869 file.
28870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28871 file.
28872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28873 file.
28874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28875 multiarch isnan for PowerPC32.
28876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28877 New file.
28878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28879 New file.
28880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28881 multiarch isnanf for PowerPC32.
28882
28883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28884 and sqrtf multiarch implementations.
28885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28886 file.
28887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28888 file.
28889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28890 multiarch sqrt for PowerPC32.
28891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28892 file.
28893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28894 file.
28895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28896 multiarch sqrtf for PowerPC32.
28897
28898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28899 and llroundf multiarch implementations.
28900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28901 New file.
28902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28903 New file.
28904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28905 New file.
28906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28907 file: multiarch llround for PowerPC32.
28908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28909 file: multiarch llroundf for PowerPC32.
28910
28911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28912 multiarch PowerPC32 fpu implementations.
28913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28914 New file.
28915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28916 New file.
28917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28918 multiarch llrint for PowerPC32.
28919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28920 New file.
28921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28922 New file.
28923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28924 file.
28925
28926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28927
28928 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28929 file.
28930 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28931 file.
28932 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28933 file.
28934 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28935 multiarch wordcopy for PPC32.
28936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28937 wordcopy objects.
28938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28939 (__libc_ifunc_impl_list): Likewise.
28940 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28941 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28942 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28943 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28944 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28945 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28946
28947 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28949 file.
28950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28951 file.
28952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28953 file.
28954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28955 multiarch wcscpy for PPC32.
28956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28957 multiarch objects.
28958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28959 (__libc_ifunc_impl_list): Likewise.
28960 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28961 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28962 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28963 sysdeps/powerpc/power6/wcscpy.c.
28964
28965 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28967 file.
28968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28969 file.
28970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28971 file.
28972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28973 multiarch wcsrchr for PPC32.
28974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28975 multiarch objects.
28976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28977 (__libc_ifunc_impl_list): Likewise.
28978 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28979 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28980 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28981 sysdeps/powerpc/power6/wcsrchr.c.
28982
28983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28984 file.
28985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28986 file.
28987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28989 multiarch wcschr for PPc32.
28990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28991 multiarch objects.
28992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28993 (__libc_ifunc_impl_list): Likewise.
28994 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28995 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28996 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28997 sysdeps/powerpc/power6/wcschr.c.
28998
28999 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29000 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29001 file.
29002 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29003 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29004 file: multiarch strchr for PPC32.
29005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29006 multiarch objects.
29007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29008 (__libc_ifunc_impl_list): Likewise.
29009
29010 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29011 name.
29012 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29013 file.
29014 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29015 file.
29016 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29017 multiarch strchrnul for PPC32.
29018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29019 multiarch objects.
29020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29021 (__libc_ifunc_impl_list): Likewise.
29022
29023 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29024 file.
29025 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29026 multiarch strncasecmp for PPC32.
29027 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29028 file.
29029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29030 multiarch strncasecmp_l for PPC32.
29031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29032 strncasecmp multiarch objects.
29033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29034 (__libc_ifunc_impl_list): Likewise.
29035
29036 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29037 file.
29038 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29039 multiarch strncasecmp for PPC32.
29040 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29041 New file.
29042 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29043 multiarch strcasecmp_l for PPC32.
29044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29045 multiarch objects.
29046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29047 (__libc_ifunc_impl_list): Likewise.
29048
29049 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29050 file.
29051 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29052 file.
29053 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29054 multiarch strncmp for PPC32.
29055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29056 multiarch objects.
29057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29058 (__libc_ifunc_impl_list): Likewise.
29059
29060 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29061 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29062 file.
29063 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29064 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29066 multiarch objects.
29067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29068 (__libc_ifunc_impl_list): Likewise.
29069
29070 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29071 file.
29072 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29073 file.
29074 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29076 multiarch objects.
29077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29078 (__libc_ifunc_impl_list): Likewise.
29079
29080 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29081 file.
29082 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29083 file.
29084 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29085 multiarch rawmemchr for PPC32.
29086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29087 multiarch objects.
29088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29089 (__libc_ifunc_impl_list): Likewise.
29090
29091 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29092 file.
29093 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29094 file.
29095 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29096 file: memrchr multiarch for PPC32.
29097 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29098 multiarch objects.
29099 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29100 (__libc_ifunc_impl_list): Likewise.
29101
29102 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29103 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29104 file.
29105 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29106 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29107 multiarch memchr for PPC32.
29108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29109 multiarch objects.
29110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29111 (__libc_ifunc_impl_list): Likewise.
29112
29113 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29114 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29115 file.
29116 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29117 file.
29118 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29119 file: multiarch mempcpy for PPC32.
29120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29121 multiarch objects.
29122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29123 (__libc_ifunc_impl_list): Likewise.
29124
29125 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29126 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29127 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29128 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29129 multiarch bzero for PPC32.
29130 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29131 file.
29132 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29133 file.
29134 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29135 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29136 file: multiarch memset for PPC32.
29137 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29139 memset multiarch objects.
29140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29141 (__libc_ifunc_impl_list): Likewise.
29142
29143 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29144 file.
29145 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29146 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29147 memcmp for PPC32.
29148 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29150 multiarch objects.
29151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29152 (__libc_ifunc_impl_list): Likewise.
29153
29154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29156 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29157 file.
29158 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29159 file.
29160 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29161 file.
29162 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29163 multiarch memcpy for PPC32.
29164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29165 multiarch objects.
29166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29167 (__libc_ifunc_impl_list): Likewise.
29168
29169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29170 support multiarch for POWER/PPC32.
29171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29172 Likewise.
29173 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29175 Implies file to make multiarch folder appers before the fpu and
29176 default folder for power4 configuration.
29177
29178 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29179
29180 * scripts/bench.pl: Append volatile keyword to type.
29181
29182 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29183
29184 * sysdeps/sh/sotruss-lib.c: New file.
29185 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29186
29187 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29188
29189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29190
29191 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29192
29193 [BZ #6810]
29194 * math/w_tgamma.c: Include <errno.h>.
29195 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29196 * math/w_tgammaf.c: Include <errno.h>.
29197 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29198 * math/w_tgammal.c: Include <errno.h>.
29199 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29200 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29201 underflow. Add more tgamma tests.
29202 * math/auto-libm-test-out: Regenerated.
29203 * sysdeps/i386/fpu/libm-test-ulps: Update.
29204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29205
29206 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29207 sin, sinh, tan, tanh, tgamma, y0 and y1.
29208 * math/auto-libm-test-out: Regenerated.
29209 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29210 (TEST_COND_x86): Likewise.
29211 (M_E2l): Remove macro.
29212 (M_E3l): Likewise.
29213 (M_2_SQRT_PIl): Likewise.
29214 (M_SQRT_PIl): Likewise.
29215 (M_1_DIV_El): Likewise.
29216 (log_test_data): Use AUTO_TESTS_f_f.
29217 (log10_test_data): Likewise.
29218 (log1p_test_data): Likewise.
29219 (log2_test_data): Likewise.
29220 (sin_test_data): Likewise.
29221 (sin_tonearest_test_data): Likewise.
29222 (sin_towardzero_test_data): Likewise.
29223 (sin_downward_test_data): Likewise.
29224 (sin_upward_test_data): Likewise.
29225 (sinh_test_data): Likewise.
29226 (sinh_tonearest_test_data): Likewise.
29227 (sinh_towardzero_test_data): Likewise.
29228 (sinh_downward_test_data): Likewise.
29229 (sinh_upward_test_data): Likewise.
29230 (tan_test_data): Likewise.
29231 (tan_tonearest_test_data): Likewise.
29232 (tan_towardzero_test_data): Likewise.
29233 (tan_downward_test_data): Likewise.
29234 (tan_upward_test_data): Likewise.
29235 (tanh_test_data): Likewise.
29236 (tgamma_test_data): Likewise.
29237 (y0_test_data): Likewise.
29238 (y1_test_data): Likewise.
29239 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29240 (special_real_inputs): Add pi/4.
29241 * sysdeps/i386/fpu/libm-test-ulps: Update.
29242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29243
29244 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29245
29246 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29247 "longjmp_target" static probes.
29248 (__longjmp): Rename to __longjmp_symbol.
29249 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29250 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29251 on which longjmp to generate.
29252 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29253 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29254 probe.
29255 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29256 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29257 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29258 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29259 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29260 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29262 __longjmp_symbol based on which __longjmp to generate.
29263 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29264 probe.
29265 (setjmp): Rename to setjmp_symbol.
29266 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29267 (_setjmp): Rename to _setjmp_symbol.
29268 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29269 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29270 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29271 which setjmp to generate.
29272 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29273 "longjmp_target" static probes.
29274
29275 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29276
29277 * benchtests/README: Add note about output arguments.
29278 * benchtests/bench-sincos.c: Remove file.
29279 * benchtests/sincos-inputs: New file.
29280 * scripts/bench.pl: Identify output arguments and define
29281 static variables for them.
29282
29283 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29284
29285 [BZ #15941]
29286 * Makefile (INSTALL): Add install-plain.texi as the primary
29287 dependency.
29288 * manual/install-plain.texi: New file.
29289 * manual/install.texi: Include node directive only for
29290 non-plaintext output.
29291
29292 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29293
29294 * stdlib/longlong.h: Update from GCC.
29295
29296 [BZ #6807]
29297 [BZ #15901]
29298 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29299 * math/w_j0f.c (y0f): Likewise.
29300 * math/w_j0l.c (__y0l): Likewise.
29301 * math/w_j1.c (y1): Likewise.
29302 * math/w_j1f.c (y1f): Likewise.
29303 * math/w_j1l.c (__y1l): Likewise
29304 * math/w_jn.c (yn): Likewise.
29305 * math/w_jnf.c (ynf): Likewise.
29306 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29307 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29308 value for Bessel function domain errors outside _SVID_ mode.
29309 Adjust sign of return value for yn (negative integer, 0).
29310 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29311 by zero in return for negative x and set sign appropriately for
29312 negative n.
29313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29314 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29315 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29316 expectations in error cases.
29317 (y1_test_data): Likewise.
29318 (yn_test_data): Likewise.
29319 * sysdeps/i386/fpu/libm-test-ulps: Update.
29320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29321
29322 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29323
29324 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29325 "64" to "64-v1". Add "64-v2".
29326 (abi-64-options): Rename to ...
29327 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29328 (abi-64-condition): Rename to ...
29329 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29330 (abi-64-ld-soname): Rename to ...
29331 (abi-64-v1-ld-soname): ... this.
29332 (abi-64-v2-options): Define.
29333 (abi-64-v2-condition): Likewise.
29334 (abi-64-v2-ld-soname): Likewise.
29335 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29336 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29340
29341 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29342 Alan Modra <amodra@gmail.com>
29343
29344 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29345 New versions for use with the ELFv2 ABI.
29346 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29347 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29348 declaration.
29349 (struct La_ppc64v2_retval): Likewise.
29350 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29351 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29352 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29353 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29354 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29355 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29356 Do not save or restore CR.
29357 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29358 (_dl_profile_resolve): Do no save or restore CR. Support extended
29359 return values for ELFv2 ABI. Fix location of FPR return registers.
29360 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29361 updated values for _CALL_ELF == 2.
29362 (La_regs, La_retval, int_retval): Likewise.
29363
29364 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29365
29366 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29367 (FRAME_MIN_SIZE_PARM): Likewise.
29368 (FRAME_BACKCHAIN): Likewise.
29369 (FRAME_CR_SAVE): Likewise.
29370 (FRAME_LR_SAVE): Likewise.
29371 (FRAME_TOC_SAVE): Likewise.
29372 (FRAME_PARM_SAVE): Likewise.
29373 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29374 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29375 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29376 (call_mcount_parm_offset): New macro.
29377 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29378 (PROF): Use symbolic stack frame offsets.
29379 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29380 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29381 Redefine in terms of FRAME_MIN_SIZE.
29382 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29383 (_dl_profile_resolve): Likewise. Update comment.
29384 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29385 symbols stack frame offsets.
29386 (__sigsetjmp): Likewise.
29387 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29388 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29389 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29390 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29391
29392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29393 (FRAME_BACKCHAIN): Remove.
29394 (FRAME_CR_SAVE): Likewise.
29395 (FRAME_LR_SAVE): Likewise.
29396 (FRAME_COMPILER_DW): Likewise.
29397 (FRAME_LINKER_DW): Likewise.
29398 (FRAME_TOC_SAVE): Likewise.
29399 (FRAME_PARM_SAVE): Likewise.
29400 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29401 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29402 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29404 (CHECK_SP): Use symbolic stack frame offsets.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29406 zone" instead of caller's parameter save area for temp storage.
29407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29408 Likewise. Also, use symbolic stack frame offsets.
29409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29410 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29411 our own stack frame instead of the caller's.
29412 (__socket): Use symbolic stack frame offsets.
29413
29414 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29415 Alan Modra <amodra@gmail.com>
29416
29417 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29418 Define.
29419 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29420 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29421 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29422 New function.
29423 (elf_machine_fixup_plt): Call it.
29424 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29425 reloc arguments.
29426 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29427 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29428 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29429 r2 before calling target.
29430
29431 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29432 Alan Modra <amodra@gmail.com>
29433
29434 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29435 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29436 versions of macros to support ELFv2 ABI.
29437 (LOCALENTRY): New macro.
29438 (ENTRY, EALIGN): Use it.
29439 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29440 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29441 fall through into ENTRY entry point.
29442 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29443 Only define if _CALL_ELF != 2.
29444
29445 (elf_machine_matches_host): Verify ABI version matches.
29446 (RTLD_START): Use LOCALENTRY.
29447 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29448 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29449 (PLT_ENTRY_WORDS): New macro.
29450 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29451 (elf_machine_runtime_setup): Support ELFv2 ABI.
29452 (elf_machine_fixup_plt): Likewise.
29453 (elf_machine_plt_conflict): Likewise.
29454 (resolve_ifunc): Likewise.
29455 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29457 Likewise.
29458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29459 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29461 (makecontext): Support ELFv2 ABI.
29462 * elf/elf.h (EF_PPC64_ABI): Define.
29463
29464 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29465
29466 * sysdeps/powerpc/powerpc64/sysdep.h
29467 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29468 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29469 (ENTRY) [ASSEMBLER]: ... but instead here ...
29470 (EALIGN) [ASSEMBLER]: ... and here.
29471 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29472 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29473 (ENTRY_2) [!ASSEMBLER]: Use it.
29474 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29475 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29476 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29477 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29478 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29480 Use PPC64_LOAD_FUNCPTR.
29481
29482 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29483
29484 2013-12-04 Alan Modra <amodra@gmail.com>
29485
29486 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29487 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29488 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29489 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29490
29491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29492 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29493 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29494 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29495 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29496 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29497
29498 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29499
29500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29501 (__makecontext): Fix incorrect CFI when backtracing out of
29502 context created via makecontext.
29503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29504 (__setcontext): Fix incorrect CFI during switch to new context.
29505 (__novec_setcontext): Likewise.
29506
29507 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29508
29509 [BZ #4772]
29510 * time/strptime_l.c (__strptime_internal): Allow modifiers
29511 in strptime.
29512 * time/tst-strptime.c (day_tests): Add testcase.
29513
29514 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29515
29516 * scripts/bench.pl: Skip over blank lines.
29517
29518 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29519
29520 [BZ #926]
29521 * manual/time.texi (Calendar Time): Clarify what timezone functions
29522 use.
29523
29524 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29525
29526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29527
29528 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29529
29530 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29531 implementation.
29532 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29533 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29534 * debug/memset_chk.c (__memset_chk): Likewise.
29535 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29536 * debug/strncpy_chk.c: Likewise.
29537
29538 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29539
29540 [BZ #15268]
29541 [BZ #15425]
29542 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29543 (__ieee754_exp): For possibly underflowing results, check size of
29544 result and force underflow exception if required.
29545 * math/auto-libm-test-in: Add more tests of exp.
29546 * math/auto-libm-test-out: Regenerated.
29547 * sysdeps/i386/fpu/libm-test-ulps: Update.
29548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29549
29550 [BZ #16283]
29551 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29552 * math/w_exp2f.c (__exp2f): Likewise.
29553 * math/w_exp2l.c (__exp2l): Likewise.
29554 * math/auto-libm-test-in: Do not allow missing errno on exp2
29555 underflow.
29556 * math/auto-libm-test-out: Regenerated.
29557
29558 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29559
29560 [BZ #16274]
29561 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29562 handle filename validation.
29563 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29564 (do_open): Delete.
29565
29566 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29567
29568 [BZ #6786]
29569 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29570 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29571 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29572 <float.h>.
29573 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29575 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29577 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29578 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29579 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29580 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29581 Add more erfc tests.
29582 * math/auto-libm-test-out: Regenerated.
29583 * sysdeps/i386/fpu/libm-test-ulps: Update.
29584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29585
29586 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29587 exp2, expm1, j0 and j1.
29588 * math/auto-libm-test-out: Regenerated.
29589 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29590 (erfc_test_data): Likewise.
29591 (exp_test_data): Likewise.
29592 (exp_tonearest_test_data): Likewise.
29593 (exp_towardzero_test_data): Likewise.
29594 (exp_downward_test_data): Likewise.
29595 (exp_upward_test_data): Likewise.
29596 (exp10_test_data): Likewise.
29597 (exp2_test_data): Likewise.
29598 (expm1_test_data): Likewise.
29599 (j0_test_data): Likewise.
29600 (j1_test_data): Likewise.
29601 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29602 (input_flag_type): Add flag_xfail_rounding.
29603 (input_flags): Add xfail-rounding.
29604 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29605 (output_for_one_input_case): Handle flag_xfail_rounding.
29606 * sysdeps/i386/fpu/libm-test-ulps: Update.
29607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29608
29609 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29610
29611 [BZ #16289]
29612 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29613 division by 0.
29614
29615 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29616
29617 [BZ #16195]
29618 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29619 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29620 (STAP_PROBE0): New macro.
29621 (STAP_PROBE1): Likewise.
29622 (STAP_PROBE2): Likewise.
29623 (STAP_PROBE3): Likewise.
29624 (STAP_PROBE4): Likewise.
29625
29626 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29627
29628 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29629
29630 2013-12-02 Steve Ellcey <sellcey@mips.com>
29631
29632 * benchtests/Makefile (bench): Add sqrt.
29633 (LDLIBS-bench-sqrt): New.
29634 * benchtests/sqrt-input: New.
29635
29636 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29637
29638 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29639 (GAIH_EAI): Likewise.
29640 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29641 (gaih_inet): Likewise.
29642 (getaddrinfo): Don't use GAIH_EAI.
29643
29644 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29645 (struct gaih): Remove definition.
29646
29647 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29648
29649 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29650 Use HERRNOP directly.
29651
29652 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29653
29654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29655
29656 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29657
29658 * math/gen-auto-libm-tests.c (test_functions): Add more
29659 single-argument functions.
29660 (special_fill_pi_2): New function.
29661 (special_fill_minus_pi_2): Likewise.
29662 (special_fill_pi_6): Likewise.
29663 (special_fill_minus_pi_6): Likewise.
29664 (special_fill_pi_3): Likewise.
29665 (special_fill_2pi_3): Likewise.
29666 (special_fill_e): Likewise.
29667 (special_fill_1_e): Likewise.
29668 (special_fill_e_minus_1): Likewise.
29669 (special_real_inputs): Add more special inputs.
29670 (output_for_one_input_case): Do not require ERANGE on underflow to
29671 zero if round-to-nearest result does not underflow to zero, unless
29672 exact results required.
29673 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29674 atan, atanh, cbrt, cos and cosh.
29675 * math/auto-libm-test-out: Regenerated.
29676 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29677 (acos_tonearest_test_data): Likewise.
29678 (acos_towardzero_test_data): Likewise.
29679 (acos_downward_test_data): Likewise.
29680 (acos_upward_test_data): Likewise.
29681 (acosh_test_data): Likewise.
29682 (asin_test_data): Likewise.
29683 (asin_tonearest_test_data): Likewise.
29684 (asin_towardzero_test_data): Likewise.
29685 (asin_upward_test_data): Likewise.
29686 (asinh_test_data): Likewise.
29687 (atan_test_data): Likewise.
29688 (atanh_test_data): Likewise.
29689 (cbrt_test_data): Likewise.
29690 (cos_test_data): Likewise.
29691 (cos_tonearest_test_data): Likewise.
29692 (cos_towardzero_test_data): Likewise.
29693 (cos_downward_test_data): Likewise.
29694 (cos_upward_test_data): Likewise.
29695 (cosh_test_data): Likewise.
29696 (cosh_tonearest_test_data): Likewise.
29697 (cosh_towardzero_test_data): Likewise.
29698 (cosh_downward_test_data): Likewise.
29699 (cosh_upward_test_data): Likewise.
29700 * sysdeps/i386/fpu/libm-test-ulps: Update.
29701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29702
29703 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29704
29705 [BZ #6787]
29706 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29707 * math/w_exp10f.c (__exp10f): Likewise.
29708 * math/w_exp10l.c (__exp10l): Likewise.
29709 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29710 errno settings in existing tests.
29711
29712 [BZ #14032]
29713 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29714 precision control set to double precision.
29715 * sysdeps/i386/fpu/w_sqrt.c: New file.
29716 * math/auto-libm-test-in: Add more tests.
29717 * math/auto-libm-test-out: Update.
29718
29719 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29720 (sqrt_test_tonearest): New function.
29721 (sqrt_towardzero_test_data): New variable.
29722 (sqrt_test_towardzero): New function.
29723 (sqrt_downward_test_data): New variable.
29724 (sqrt_test_downward): New function.
29725 (sqrt_upward_test_data): New variable.
29726 (sqrt_test_upward): New function.
29727 (main): Call the new functions.
29728
29729 * math/gen-auto-libm-tests.c: New file.
29730 * math/auto-libm-test-in: Likewise.
29731 * math/auto-libm-test-out: New generated file.
29732 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29733 variables.
29734 (%beautify): Add generated representations of zero.
29735 (top level): Set $auto_input and call parse_auto_input.
29736 (beautify): Remove trailing "f" from hex float constants.
29737 (parse_args): Handle XFAIL_TEST.
29738 (convert_condition): New function.
29739 (or_value): Likewise.
29740 (or_cond_value): Likewise.
29741 (generate_testfile): Handle AUTO_TESTS_* lines.
29742 (parse_auto_input): New function.
29743 * math/libm-test.inc (XFAIL_TEST): New macro.
29744 (ERRNO_UNCHANGED): Update value.
29745 (ERRNO_EDOM): Likewise.
29746 (ERRNO_ERANGE): Likewise.
29747 (IGNORE_RESULT): Likewise.
29748 (TEST_COND_flt_32): New macro.
29749 (TEST_COND_dbl_64): Likewise.
29750 (TEST_COND_ldbl_96_intel): Likewise.
29751 (TEST_COND_ldbl_96_m68k): Likewise.
29752 (TEST_COND_ldbl_128): Likewise.
29753 (TEST_COND_ldbl_128ibm): Likewise.
29754 (TEST_COND_long32): Likewise.
29755 (TEST_COND_long64): Likewise.
29756 (TEST_COND_before_rounding): Likewise.
29757 (TEST_COND_after_rounding): Likewise.
29758 (enable_test): Handle XFAIL_TEST flag.
29759 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29760 with finite results.
29761 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29762 auto-libm-test-out.
29763
29764 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29765 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29766
29767 [BZ #16214]
29768 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29769 __tls_get_addr_internal instead of __tls_get_offset in order to
29770 avoid GOT pointer dependency. Make rtld export
29771 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29772 __tls_get_addr since we are a __tls_get_offset platform.
29773 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29774 GOT pointer being set up before.
29775 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29776
29777 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29778
29779 * manual/math.texi (Errors in Math Functions): Document accuracy
29780 goals.
29781
29782 [BZ #15004]
29783 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29784 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29785 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29786 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29787 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29788 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29789 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29790 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29791 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29793 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29796 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29798 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29799
29800 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29801 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29802 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29803 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29804 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29805 Likewise.
29806 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29807 Likewise.
29808 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29809 Likewise.
29810 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29811 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29812 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29813 atomic-feupdateenv and flt-rounds.
29814 * sysdeps/powerpc/nofpu/Versions (libc): Add
29815 __atomic_feholdexcept, __atomic_feclearexcept,
29816 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29818 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29819 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29820 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29821 here.
29822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29823 Update.
29824
29825 * manual/arith.texi (FP Exceptions): Document that exceptions may
29826 not be raised when matherr is used.
29827 (Math Error Reporting): Document overflow in directed rounding
29828 modes. Document that errno may not be set when finite values are
29829 returned on overflow. Document intent to set errno on underflow
29830 only for underflow to zero.
29831
29832 [BZ #16271]
29833 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29834 round-to-nearest then adjust result for other rounding modes.
29835 * include/fenv.h (fegetround): Use libm_hidden_proto.
29836 * math/fegetround.c (fegetround): Use libm_hidden_def.
29837 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29838 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29839 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29840 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29841 Likewise.
29842 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29843 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29844 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29845 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29846
29847 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29848
29849 [BZ #16077]
29850 * nss/Versions (libnss_files): Add
29851 _nss_files_gethostbyname3_r.
29852 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29853 New function.
29854 (HOST_DB_LOOKUP): Remove macro.
29855 (_nss_files_gethostbyname_r): Implement function without the
29856 HOST_DB_LOOKUP macro.
29857 (_nss_files_gethostbyname2_r): Likewise.
29858
29859 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29860
29861 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29862
29863 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29864
29865 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29866 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29867 warning.
29868
29869 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29870
29871 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29872 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29873 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29874 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29875 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29876 __fe_nomask_env_priv and attribute_hidden.
29877 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29878 (libc_feupdateenv_test_ppc): Likewise.
29879 (libc_feresetround_ppc): Likewise.
29880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29881 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29882 compat_symbol macro.
29883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29884 (__fe_nomask_env): Likewise.
29885 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29886
29887 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29888
29889 * string/Makefile: Remove ifunc tests.
29890 * string/test-string.h: Define TEST_IFUNC.
29891 * string/test-bcopy-ifunc.c: Remove.
29892 * string/test-bzero-ifunc.c: Likewise.
29893 * string/test-memccpy-ifunc.c: Likewise.
29894 * string/test-memchr-ifunc.c: Likewise.
29895 * string/test-memcmp-ifunc.c: Likewise.
29896 * string/test-memcpy-ifunc.c: Likewise.
29897 * string/test-memmem-ifunc.c: Likewise.
29898 * string/test-memmove-ifunc.c: Likewise.
29899 * string/test-mempcpy-ifunc.c: Likewise.
29900 * string/test-memrchr-ifunc.c: Likewise.
29901 * string/test-memset-ifunc.c: Likewise.
29902 * string/test-rawmemchr-ifunc.c: Likewise.
29903 * string/test-stpcpy-ifunc.c: Likewise.
29904 * string/test-stpncpy-ifunc.c: Likewise.
29905 * string/test-strcasecmp-ifunc.c: Likewise.
29906 * string/test-strcasestr-ifunc.c: Likewise.
29907 * string/test-strcat-ifunc.c: Likewise.
29908 * string/test-strchr-ifunc.c: Likewise.
29909 * string/test-strchrnul-ifunc.c: Likewise.
29910 * string/test-strcmp-ifunc.c: Likewise.
29911 * string/test-strcpy-ifunc.c: Likewise.
29912 * string/test-strcspn-ifunc.c: Likewise.
29913 * string/test-strlen-ifunc.c: Likewise.
29914 * string/test-strncasecmp-ifunc.c: Likewise.
29915 * string/test-strncat-ifunc.c: Likewise.
29916 * string/test-strncmp-ifunc.c: Likewise.
29917 * string/test-strncpy-ifunc.c: Likewise.
29918 * string/test-strnlen-ifunc.c: Likewise.
29919 * string/test-strpbrk-ifunc.c: Likewise.
29920 * string/test-strrchr-ifunc.c: Likewise.
29921 * string/test-strspn-ifunc.c: Likewise.
29922 * string/test-strstr-ifunc.c: Likewise.
29923
29924 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29925
29926 * benchtests/Makefile: Remove ifunc tests.
29927 * benchtests/bench-string.h: Define TEST_IFUNC.
29928 * benchtests/bench-bcopy-ifunc.c: Remove.
29929 * benchtests/bench-bzero-ifunc.c: Likewise.
29930 * benchtests/bench-memccpy-ifunc.c: Likewise.
29931 * benchtests/bench-memchr-ifunc.c: Likewise.
29932 * benchtests/bench-memcmp-ifunc.c: Likewise.
29933 * benchtests/bench-memcpy-ifunc.c: Likewise.
29934 * benchtests/bench-memmem-ifunc.c: Likewise.
29935 * benchtests/bench-memmove-ifunc.c: Likewise.
29936 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29937 * benchtests/bench-memrchr-ifunc.c: Likewise.
29938 * benchtests/bench-memset-ifunc.c: Likewise.
29939 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29940 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29941 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29942 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29943 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29944 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29945 * benchtests/bench-strcat-ifunc.c: Likewise.
29946 * benchtests/bench-strchr-ifunc.c: Likewise.
29947 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29948 * benchtests/bench-strcmp-ifunc.c: Likewise.
29949 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29950 * benchtests/bench-strcpy-ifunc.c: Likewise.
29951 * benchtests/bench-strcspn-ifunc.c: Likewise.
29952 * benchtests/bench-strlen-ifunc.c: Likewise.
29953 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29954 * benchtests/bench-strncat-ifunc.c: Likewise.
29955 * benchtests/bench-strncmp-ifunc.c: Likewise.
29956 * benchtests/bench-strncpy-ifunc.c: Likewise.
29957 * benchtests/bench-strnlen-ifunc.c: Likewise.
29958 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29959 * benchtests/bench-strrchr-ifunc.c: Likewise.
29960 * benchtests/bench-strsep-ifunc.c: Likewise.
29961 * benchtests/bench-strspn-ifunc.c: Likewise.
29962 * benchtests/bench-strstr-ifunc.c: Likewise.
29963
29964 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29965
29966 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29967
29968 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29969
29970 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29971 * rt/aio.h: Likewise.
29972 * sysdeps/gnu/bits/utmp.h: Likewise.
29973 * sysdeps/gnu/bits/utmpx.h: Likewise.
29974 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29975 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29976 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29977 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29978 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29979 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29980 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29981 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29982 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29983 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29984 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29985 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29986 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29988 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29989 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29990 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29991 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29992 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29993 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29994 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29995 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29996 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29997 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29998 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30000 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30001 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30002 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30003 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30004 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30005 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30006 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30007 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30008 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30009 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30010 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30011 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30012 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30013 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30014 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30015 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30016
30017 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30018
30019 [BZ #16245]
30020 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30021 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30022
30023 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30024
30025 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30026 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30027 Likewise.
30028
30029 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30030
30031 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30032 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30033 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30034 (__fesetround): Remove define.
30035 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30036 rounding and exceptions handling.
30037 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30038 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30039 (__fe_nomask_env): Likewise.
30040 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30041 __fegetround instead of fegetround.
30042 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30043 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30044
30045 2013-11-21 Roland McGrath <roland@hack.frob.com>
30046
30047 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30048 it's there.
30049
30050 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30051
30052 2013-11-21 Meador Inge <meadori@codesourcery.com>
30053
30054 [BZ #11157]
30055 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30056 (encrypt_r): Likewise.
30057 * malloc/obstack.h (obstack_free): Likewise.
30058 * posix/unistd.h (encrypt): Likewise.
30059
30060 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30061
30062 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30063 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30064 DL_CALL_DT_FINI() that call the functions directly.
30065 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30066 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30067 * elf/dl-fini.c: Likewise.
30068
30069 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30070
30071 * malloc/hooks.c (memalign_check): Add alignment rounding.
30072 * malloc/malloc.c (_mid_memalign): New function.
30073 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30074 Implement by calling _mid_memalign.
30075 * manual/probes.texi (Memory Allocation Probes): Remove
30076 memory_valloc_retry and memory_pvalloc_retry.
30077
30078 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30079
30080 * locale/programs/locarchive.c (open_archive): Add const
30081 qualifier to ARCHIVEFNAME and copy default fname to
30082 DEFAULT_FNAME.
30083
30084 [BZ #15601]
30085 * libio/tst-widetext.input: Rename Oriya to Odia.
30086 * locale/iso-639.def: Likewise.
30087
30088 * manual/probes.texi (Mathematical Function Probes): Add
30089 documentation for sin, cos, asin and acos probes.
30090 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30091 (__sin32): Add slowasin probe.
30092 (__cos32): Add slowacos probe.
30093 (__mpsin): Add slowsin probe.
30094 (__mpcos): Add slowcos probe.
30095
30096 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30097
30098 [BZ #15483]
30099 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30100 thread-local __sim_exceptions_thread and global
30101 __sim_exceptions_global.
30102 (__sim_disabled_exceptions): Change to thread-local
30103 __sim_disabled_exceptions_thread and global
30104 __sim_disabled_exceptions_global.
30105 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30106 and global __sim_round_mode_global.
30107 (__simulate_exceptions): Use thread-local floating-point state and
30108 set global state from it as needed.
30109 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30110 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30111 __sim_round_mode_thread.
30112 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30113 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30114 and global __sim_exceptions_global.
30115 (__sim_disabled_exceptions): Change to thread-local
30116 __sim_disabled_exceptions_thread and global
30117 __sim_disabled_exceptions_global.
30118 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30119 and global __sim_round_mode_global.
30120 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30121 (SIM_SET_GLOBAL): Likewise.
30122 * sysdeps/powerpc/soft-fp/sfp-machine.h
30123 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30124 __sim_round_mode_thread.
30125 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30126 __sim_disabled_exceptions_thread.
30127 (__sim_exceptions): Change to __sim_exceptions_thread.
30128 (__sim_disabled_exceptions): Change to
30129 __sim_disabled_exceptions_thread.
30130 (__sim_round_mode): Change to __sim_round_mode_thread.
30131 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30132 thread-local floating-point state and set global state from it as
30133 needed.
30134 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30135 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30136 (__sim_disabled_exceptions): Remove extern declaration.
30137 (feenableexcept): Use thread-local floating-point state and set
30138 global state from it as needed.
30139 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30140 extern declaration.
30141 (__sim_disabled_exceptions): Likewise.
30142 (__sim_round_mode): Likewise.
30143 (__fegetenv): Use thread-local floating-point state.
30144 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30145 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30146 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30147 floating-point state and set global state from it as needed.
30148 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30149 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30150 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30151 Likewise.
30152 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30153 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30154 Likewise.
30155 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30156 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30157 Use __sim_round_mode_thread.
30158 * math/test-fenv-tls.c: New file.
30159 * math/Makefile (tests): Add test-fenv-tls.
30160 ($(objpfx)test-fenv-tls): Depend on
30161 $(common-objpfx)nptl/libpthread.so.
30162
30163 2013-11-19 Andreas Schwab <schwab@suse.de>
30164
30165 * locale/programs/locale.c (show_info): Decode wordarray elements.
30166 * locale/categories.def (LC_MONETARY): Add element for
30167 _NL_MONETARY_CRNCYSTR.
30168 * locale/C-monetary.c (conversion_rate): New variable.
30169 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30170 element.
30171
30172 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30173
30174 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30175 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30176
30177 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30178
30179 * elf/Makefile (tst-auxv): New test.
30180 * elf/tst-auxv.c: New
30181 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30182
30183 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30184
30185 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30186 (hidden_proto): Caller changed.
30187 (hidden_tls_proto): New macro.
30188 (libc_hidden_tls_proto): Likewise.
30189 (rtld_hidden_tls_proto): Likewise.
30190 (libm_hidden_tls_proto): Likewise.
30191 (libresolv_hidden_tls_proto): Likewise.
30192 (librt_hidden_tls_proto): Likewise.
30193 (libdl_hidden_tls_proto): Likewise.
30194 (libnss_files_hidden_tls_proto): Likewise.
30195 (libnsl_hidden_tls_proto): Likewise.
30196 (libnss_nisplus_hidden_tls_proto): Likewise.
30197 (libutil_hidden_tls_proto): Likewise.
30198
30199 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30200
30201 [BZ #10253]
30202 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30203 (decompose_rpath): Defer expansion to fillin_rpath.
30204 (_dl_init_paths): Pass linkmap to fillin_rpath.
30205
30206 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30207
30208 * benchtests/Makefile: Add strsep.
30209 * benchtests/bench-strsep.c: New file: strsep benchtest.
30210 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30211
30212 2013-11-18 Andreas Schwab <schwab@suse.de>
30213
30214 * locale/programs/locale.c (show_info) [case byte]: Check for
30215 '\377' instead of '\177'.
30216 * locale/C-monetary.c (not_available): Always use "\377".
30217 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30218 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30219 detect unavailable sign_posn locale elements.
30220 * locale/localeconv.c (__localeconv): For grouping and
30221 mon_grouping handle "\177" and "\377" like no grouping.
30222 (INT_ELEM): New macro. Use it to set all numeric members.
30223 * locale/programs/ld-monetary.c (monetary_read)
30224 <tok_mon_grouping>: Normalize single -1 to the empty string.
30225 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30226 Likewise.
30227
30228 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30229
30230 [BZ #16055]
30231 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30232 when we match (nil).
30233 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30234
30235 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30236
30237 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30238 (NO_TEST_INLINE): Update value.
30239 (ERRNO_UNCHANGED): Likewise.
30240 (ERRNO_EDOM): Likewise.
30241 (ERRNO_ERANGE): Likewise.
30242 (IGNORE_RESULT): Likewise.
30243 (check_float_internal): Check signs of NaN results if
30244 TEST_NAN_SIGN used.
30245 (check_complex): Pass TEST_NAN_SIGN flag through to second
30246 check_float_internal call.
30247 (copysign_test_data): Add tests with quiet NaNs as second
30248 argument. Use TEST_NAN_SIGN.
30249 (fabs_test_data): Add test of negative quiet NaN argument. Use
30250 TEST_NAN_SIGN.
30251 (signbit_test_data): Add tests of quiet NaN argument.
30252 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30253
30254 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30255 $ignore_result.
30256 (parse_args): Handle function results specified as IGNORE.
30257 * math/libm-test.inc (IGNORE_RESULT): New macro.
30258 (check_float_internal): Do not check numerical result if flag
30259 IGNORE_RESULT set.
30260 (check_complex): Pass through IGNORE_RESULT to second
30261 check_float_internal call.
30262 (check_int): Do not check numerical result if flag IGNORE_RESULT
30263 set.
30264 (check_long): Likewise.
30265 (check_bool): Likewise.
30266 (check_longlong): Likewise.
30267 (lrint_test_data): Add tests of infinite and NaN arguments.
30268 (lrint_tonearest_test_data): Likewise.
30269 (lrint_towardzero_test_data): Likewise.
30270 (lrint_downward_test_data): Likewise.
30271 (lrint_upward_test_data): Likewise.
30272 (llrint_test_data): Likewise.
30273 (llrint_tonearest_test_data): Likewise.
30274 (llrint_towardzero_test_data): Likewise.
30275 (llrint_downward_test_data): Likewise.
30276 (llrint_upward_test_data): Likewise.
30277 (lround_test_data): Likewise.
30278 (llround_test_data): Likewise.
30279
30280 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30281 (ERRNO_UNCHANGED): Update value.
30282 (ERRNO_EDOM): Likewise.
30283 (ERRNO_ERANGE): Likewise.
30284 (NO_TEST_INLINE_FLOAT): New macro.
30285 (NO_TEST_INLINE_DOUBLE): Likewise.
30286 (enable_test): New function.
30287 (RUN_TEST_f_f): Check enable_test before running test.
30288 (RUN_TEST_2_f): Likewise.
30289 (RUN_TEST_fff_f): Likewise.
30290 (RUN_TEST_c_f): Likewise.
30291 (RUN_TEST_f_f1): Likewise.
30292 (RUN_TEST_fF_f1): Likewise.
30293 (RUN_TEST_fI_f1): Likewise.
30294 (RUN_TEST_ffI_f1): Likewise.
30295 (RUN_TEST_c_c): Likewise.
30296 (RUN_TEST_cc_c): Likewise.
30297 (RUN_TEST_f_i): Likewise.
30298 (RUN_TEST_f_i_tg): Likewise.
30299 (RUN_TEST_ff_i_tg): Likewise.
30300 (RUN_TEST_f_b): Likewise.
30301 (RUN_TEST_f_b_tg): Likewise.
30302 (RUN_TEST_f_l): Likewise.
30303 (RUN_TEST_f_L): Likewise.
30304 (RUN_TEST_fFF_11): Likewise.
30305 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30306 conditionals.
30307 (cosh_test_data): Likewise.
30308 (exp_test_data): Likewise.
30309 (expm1_test_data): Likewise.
30310 (hypot_test_data): Likewise.
30311 (pow_test_data): Likewise.
30312 (sinh_test_data): Likewise.
30313 (tanh_test_data): Likewise.
30314 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30315 flags argument.
30316
30317 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30318 tests with quiet NaN input and output.
30319 (acosh_test_data): Likewise.
30320 (asin_test_data): Likewise.
30321 (asinh_test_data): Likewise.
30322 (atan_test_data): Likewise.
30323 (atanh_test_data): Likewise.
30324 (atan2_test_data): Likewise.
30325 (cbrt_test_data): Likewise.
30326 (cos_test_data): Likewise.
30327 (cosh_test_data): Likewise.
30328 (erf_test_data): Likewise.
30329 (erfc_test_data): Likewise.
30330 (exp_test_data): Likewise.
30331 (exp10_test_data): Likewise.
30332 (exp2_test_data): Likewise.
30333 (expm1_test_data): Likewise.
30334 (hypot_test_data): Likewise.
30335 (j0_test_data): Likewise.
30336 (j1_test_data): Likewise.
30337 (jn_test_data): Likewise.
30338 (lgamma_test_data): Likewise.
30339 (log_test_data): Likewise.
30340 (log10_test_data): Likewise.
30341 (log1p_test_data): Likewise.
30342 (log2_test_data): Likewise.
30343 (pow_test_data): Likewise.
30344 (scalb_test_data): Likewise.
30345 (sin_test_data): Likewise.
30346 (sincos_test_data): Likewise.
30347 (sinh_test_data): Likewise.
30348 (tan_test_data): Likewise.
30349 (tanh_test_data): Likewise.
30350 (tgamma_test_data): Likewise.
30351 (y0_test_data): Likewise.
30352 (y1_test_data): Likewise.
30353 (yn_test_data): Likewise.
30354
30355 [BZ #16167]
30356 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30357 argument being NaN and avoid computations with second argument in
30358 that case.
30359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30360 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30361 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30362
30363 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30364
30365 * locale/iso-639.def: Add Chitwani Tharu (the).
30366
30367 2013-11-14 Andreas Schwab <schwab@suse.de>
30368
30369 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30370 word instead of empty string.
30371
30372 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30373
30374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30375 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30377 (__fe_nomask_env): Likewise.
30378
30379 2013-11-13 Steve Ellcey <sellcey@mips.com>
30380
30381 * benchtests/bench-timing.h: Include time.h.
30382
30383 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30384
30385 [BZ #15997]
30386 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30387 to 3.4.0 for x32.
30388 * sysdeps/unix/sysv/linux/configure: Regenerated.
30389
30390 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30391
30392 [BZ #16151]
30393 * stdlib/strtod_l.c (round_and_return): Do not consider
30394 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30395 exponent one less than half the least subnormal exponent.
30396 * stdlib/test-strtod-round-data: Add more tests.
30397 * stdlib/tst-strtod-round.c (tests): Regenerated.
30398
30399 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30400
30401 [BZ #14143]
30402 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30403 (__fe_mask_env): Likewise.
30404 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30405 libm_hidden_proto and add function prototype.
30406 (__fe_mask_env): Add function prototype.
30407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30408 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30410 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30412 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30413
30414 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30415
30416 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30417 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30418
30419 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30420
30421 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30422 of htab_find_slot().
30423
30424 2013-11-11 David S. Miller <davem@davemloft.net>
30425
30426 [BZ #16150]
30427 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30428 symbol in the non-vis3 case in static builds.
30429 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30430 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30431 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30432 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30433
30434 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30435
30436 [BZ #387]
30437 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30438 it is empty.
30439
30440 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30441
30442 * benchtests/Makefile: Add bench-strtod.
30443 * benchtests/bench-strtod.c: New file: strtod benchtest
30444
30445 2013-11-11 Andreas Schwab <schwab@suse.de>
30446
30447 [BZ #16153]
30448 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30449 terminating NUL in key length.
30450
30451 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30452
30453 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30454 Add artificial ODP entry for vDSO symbol for PPC64.
30455 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30456 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30457
30458 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30459
30460 [BZ #15374]
30461 * nss/getent.c (services_keys): Recognize services starting with digit.
30462
30463 2013-11-06 David S. Miller <davem@davemloft.net>
30464
30465 [BZ #15985]
30466 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30467 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30468
30469 2013-11-06 Will Newton <will.newton@linaro.org>
30470
30471 * manual/memory.texi (Malloc Examples): Remove register
30472 keyword from examples.
30473
30474 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30475
30476 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30477
30478 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30479
30480 [BZ #6981]
30481 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30482 depending on [__GCC_IEC_559 > 0].
30483 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30484 depending on [__GCC_IEC_559_COMPLEX > 0].
30485
30486 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30487
30488 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30489 to iso-639.def.
30490
30491 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30492
30493 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30494
30495 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30496
30497 [BZ #16112]
30498 * malloc/malloc (malloc_info): Do not handle first bin as
30499 special case.
30500
30501 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30502
30503 * locale/iso-639.def: Add Central Nahuatl (nhn).
30504
30505 2013-11-01 Bruno Haible <bruno@clisp.org>
30506
30507 [BZ #7003]
30508 * manual/math.texi (BSD Random): Specify range upper bound as
30509 in POSIX.
30510
30511 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30512
30513 * locale/iso-639.def: Add Meadow Mari (mhr).
30514
30515 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30516
30517 [BZ #14752], [BZ #15763]
30518 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30519 Validate name.
30520 * rt/tst_shm.c: Add test for escaping directory.
30521
30522 2013-10-31 Andreas Schwab <schwab@suse.de>
30523
30524 [BZ #15917]
30525 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30526 followed by 'x' as part of digit sequence.
30527 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30528
30529 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30530
30531 [BZ #16037]
30532 * configure.ac: allow GNU Make 4.0 and greater.
30533 * configure: Regenerated.
30534
30535 2013-10-30 Will Newton <will.newton@linaro.org>
30536
30537 [BZ #16038]
30538 * malloc/hooks.c (memalign_check): Limit alignment to the
30539 maximum representable power of two.
30540 * malloc/malloc.c (__libc_memalign): Likewise.
30541 * malloc/tst-memalign.c (do_test): Add test for very
30542 large alignment values.
30543 * malloc/tst-posix_memalign.c (do_test): Likewise.
30544
30545 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30546
30547 [BZ #11087]
30548 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30549 (munmap_chunk): Likewise.
30550 (mremap_chunk): Likewise.
30551
30552 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30553
30554 [BZ #15799]
30555 * stdlib/div.c (div): Remove obsolete code.
30556 * stdlib/ldiv.c (ldiv): Likewise.
30557 * stdlib/lldiv.c (lldiv): Likewise.
30558
30559 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30560
30561 [BZ #16071]
30562 * nss/nss_files/files-XXX.c (get_contents_ret): New
30563 enumerator.
30564 (get_contents): New function.
30565 (internal_getent): Use it. Expand size of LINEBUFLEN.
30566
30567 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30568
30569 * configure.in: Moved to ...
30570 * configure.ac: ... here. Change reference to configure.in
30571 to configure.ac.
30572 * sysdeps/arm/preconfigure.ac: ... here.
30573 configure.in to configure.ac.
30574 * sysdeps/gnu/configure.in: Moved to ...
30575 * sysdeps/gnu/configure.ac: ... here.
30576 * sysdeps/i386/configure.in: Moved to ...
30577 * sysdeps/i386/configure.ac: ... here.
30578 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30579 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30580 * sysdeps/mach/configure.in: Moved to ...
30581 * sysdeps/mach/configure.ac: ... here.
30582 * sysdeps/mach/hurd/configure.in: Moved to ...
30583 * sysdeps/mach/hurd/configure.ac: ... here.
30584 * sysdeps/powerpc/configure.in: Moved to ...
30585 * sysdeps/powerpc/configure.ac: ... here.
30586 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30587 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30588 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30589 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30590 * sysdeps/s390/s390-32/configure.in: Moved to ...
30591 * sysdeps/s390/s390-32/configure.ac: ... here.
30592 * sysdeps/s390/s390-64/configure.in: Moved to ...
30593 * sysdeps/s390/s390-64/configure.ac: ... here.
30594 * sysdeps/sh/configure.in: Moved to ...
30595 * sysdeps/sh/configure.ac: ... here.
30596 * sysdeps/sparc/configure.in: Moved to ...
30597 * sysdeps/sparc/configure.ac: ... here.
30598 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30599 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30600 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30601 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30602 * sysdeps/x86_64/configure.in: Moved to ...
30603 * sysdeps/x86_64/configure.ac: ... here.
30604 * sysdeps/x86_64/preconfigure.in: Moved to ...
30605 * sysdeps/x86_64/preconfigure.ac: ... here.
30606 * aclocal.m4: Change reference to configure.in to configure.ac.
30607 * config.h.in: Likewise.
30608 * manual/install.texi: Likewise.
30609 * manual/maint.texi: Likewise.
30610 * Makefile: Likewise.
30611 * malloc/Makefile: Likewise.
30612 * nscd/Makefile: Likewise.
30613 * Makeconfig: Change reference to configure.in and
30614 preconfigure.in to configure.ac and preconfigure.ac
30615 respectively.
30616 * INSTALL: Regenerated.
30617 * configure: Likewise.
30618 * sysdeps/gnu/configure: Likewise.
30619 * sysdeps/i386/configure: Likewise.
30620 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30621 * sysdeps/mach/configure: Likewise.
30622 * sysdeps/mach/hurd/configure: Likewise.
30623 * sysdeps/powerpc/configure: Likewise.
30624 * sysdeps/powerpc/powerpc32/configure: Likewise.
30625 * sysdeps/powerpc/powerpc64/configure: Likewise.
30626 * sysdeps/s390/s390-32/configure: Likewise.
30627 * sysdeps/s390/s390-64/configure: Likewise.
30628 * sysdeps/sh/configure: Likewise.
30629 * sysdeps/sparc/configure: Likewise.
30630 * sysdeps/unix/sysv/linux/configure: Likewise.
30631 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30632 * sysdeps/x86_64/configure: Likewise.
30633 * sysdeps/x86_64/preconfigure: Likewise.
30634
30635 2013-10-29 Andreas Schwab <schwab@suse.de>
30636
30637 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30638
30639 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30640
30641 * benchtests/pow-inputs: Add new inputs.
30642
30643 * benchtests/exp-inputs: Add new inputs.
30644
30645 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30646 conditional check for return value.
30647 (__cos32): Likewise.
30648
30649 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30650
30651 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30652 to provide a boost for large inputs with word alignment.
30653 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30654 implementation based on optimized PPC64 strcpy.
30655 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30656 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30657 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30658 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30659
30660 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30661
30662 [BZ #2801]
30663 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30664
30665 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30666
30667 [BZ #14876]
30668 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30669 * time/tst-strptime.c (day_tests): Add testcase.
30670
30671 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30672
30673 [BZ #14029]
30674 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30675
30676 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30677
30678 [BZ #16074]
30679 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30680 MAP_FAILED on error.
30681
30682 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30683
30684 [BZ #16072]
30685 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30686 heap for large requests.
30687
30688 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30689
30690 [BZ #9954]
30691 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30692 result if the result has no associated interface.
30693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30694 interface for all 127.X.Y.Z addresses.
30695
30696 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30697
30698 * locale/iso-639.def: Add Ligurian (lij)
30699
30700 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30701
30702 [BZ #15825]
30703 * sunrpc/rpc_main.c: Document rpcgen -5.
30704
30705 2013-10-19 Michael Stahl <mstahl@redhat.com>
30706
30707 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30708
30709 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30710
30711 [BZ #10278]
30712 * posix/glob.c: Match only directories when trailing slash is present.
30713 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30714 (main): Add testcase.
30715
30716 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30717
30718 [BZ #15670]
30719 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30720
30721 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30722
30723 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30724 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30725 AUTH_DES and cindex for FIPS 140-2.
30726 (DES Encryption): Add cindex FIPS 46-3.
30727
30728 * locale/locarchive.h (struct locarhandle): Add fname.
30729 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30730 if an optional argument was specified to --list-archive,
30731 otherwise NULL.
30732 * locale/programs/locarchive.c (show_archive_content): Take new
30733 argument fname and pass it via ah.fname to open_archive.
30734 * locale/programs/localedef.h: Update decl.
30735 (open_archive): If AH->fname is non-null, open that file
30736 rather than the default file name, and don't ignore ENOENT.
30737 (create_archive): Set AH.fname to NULL.
30738 (delete_locales_from_archive): Likewise.
30739 (add_locales_to_archive): Likewise.
30740 * locale/programs/locfile.c (write_all_categories): Likewise.
30741
30742 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30743 Aldy Hernandez <aldyh@redhat.com>
30744
30745 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30746 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30747 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30748 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30749 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30750 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30751 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30752 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30753 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30754 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30755 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30756 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30757 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30758 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30759 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30760 Likewise.
30761 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30762 Likewise.
30763 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30764 Likewise.
30765 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30766 Likewise.
30767 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30768 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30769 Likewise.
30770 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30771 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30772 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30773 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30774 Likewise.
30775 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30776 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30777 * sysdeps/powerpc/preconfigure: Likewise.
30778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30779 Likewise.
30780 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30781 Replace contents of file by #include of <fenv_libc.h>.
30782 * sysdeps/powerpc/soft-fp/sfp-machine.h
30783 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30784 and <sys/prctl.h>.
30785 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30790 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30792 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30793 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30796 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30798 Allow copysignl PLT reference to be missing.
30799
30800 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30801 Joseph Myers <joseph@codesourcery.com
30802
30803 [BZ #15948]
30804 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30805 single character.
30806 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30807
30808 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30809
30810 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30811 * elf/tst-tls1.c: Likewise.
30812 * elf/tst-tls10.h: Likewise.
30813 * elf/tst-tls14.c: Likewise.
30814 * elf/tst-tls2.c: Likewise.
30815 * elf/tst-tls3.c: Likewise.
30816 * elf/tst-tls4.c: Likewise.
30817 * elf/tst-tls5.c: Likewise.
30818 * elf/tst-tls6.c: Likewise.
30819 * elf/tst-tls7.c: Likewise.
30820 * elf/tst-tls8.c: Likewise.
30821 * elf/tst-tls9.c: Likewise.
30822 * elf/tst-tlsmod1.c: Likewise.
30823 * elf/tst-tlsmod13.c: Likewise.
30824 * elf/tst-tlsmod13a.c: Likewise.
30825 * elf/tst-tlsmod14a.c: Likewise.
30826 * elf/tst-tlsmod16a.c: Likewise.
30827 * elf/tst-tlsmod16b.c: Likewise.
30828 * elf/tst-tlsmod2.c: Likewise.
30829 * elf/tst-tlsmod3.c: Likewise.
30830 * elf/tst-tlsmod4.c: Likewise.
30831 * elf/tst-tlsmod5.c: Likewise.
30832 * elf/tst-tlsmod6.c: Likewise.
30833
30834 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30835
30836 [BZ #12486]
30837 * malloc/malloc.c: remove checks for statistics.
30838
30839 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30840
30841 [BZ #15277]
30842 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30843 * inet/tst-network.c: Add testcase.
30844
30845 2013-10-17 Andreas Schwab <schwab@suse.de>
30846
30847 [BZ #15218]
30848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30849 to determine canonical name.
30850
30851 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30852
30853 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30854 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30856 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30858 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30859 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30860 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30861 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30862 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30863 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30877 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30878 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30883 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30885 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30886 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30887 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30888 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30889 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30890 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30891 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30893 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30894 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30895 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30896 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30898 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30899 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30900 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30902 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30911
30912 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30913
30914 [BZ #16041]
30915 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30916 make result into a quiet NaN.
30917
30918 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30919
30920 * soft-fp/adddf3.c: Fix horizontal whitespace.
30921 * soft-fp/addsf3.c: Likewise.
30922 * soft-fp/addtf3.c: Likewise.
30923 * soft-fp/divdf3.c: Likewise.
30924 * soft-fp/divsf3.c: Likewise.
30925 * soft-fp/divtf3.c: Likewise.
30926 * soft-fp/double.h: Likewise.
30927 * soft-fp/eqdf2.c: Likewise.
30928 * soft-fp/eqsf2.c: Likewise.
30929 * soft-fp/eqtf2.c: Likewise.
30930 * soft-fp/extenddftf2.c: Likewise.
30931 * soft-fp/extended.h: Likewise.
30932 * soft-fp/extendsfdf2.c: Likewise.
30933 * soft-fp/extendsftf2.c: Likewise.
30934 * soft-fp/extendxftf2.c: Likewise.
30935 * soft-fp/fixdfdi.c: Likewise.
30936 * soft-fp/fixdfsi.c: Likewise.
30937 * soft-fp/fixdfti.c: Likewise.
30938 * soft-fp/fixsfdi.c: Likewise.
30939 * soft-fp/fixsfsi.c: Likewise.
30940 * soft-fp/fixsfti.c: Likewise.
30941 * soft-fp/fixtfdi.c: Likewise.
30942 * soft-fp/fixtfsi.c: Likewise.
30943 * soft-fp/fixtfti.c: Likewise.
30944 * soft-fp/fixunsdfdi.c: Likewise.
30945 * soft-fp/fixunsdfsi.c: Likewise.
30946 * soft-fp/fixunsdfti.c: Likewise.
30947 * soft-fp/fixunssfdi.c: Likewise.
30948 * soft-fp/fixunssfsi.c: Likewise.
30949 * soft-fp/fixunssfti.c: Likewise.
30950 * soft-fp/fixunstfdi.c: Likewise.
30951 * soft-fp/fixunstfsi.c: Likewise.
30952 * soft-fp/fixunstfti.c: Likewise.
30953 * soft-fp/floatdidf.c: Likewise.
30954 * soft-fp/floatdisf.c: Likewise.
30955 * soft-fp/floatditf.c: Likewise.
30956 * soft-fp/floatsidf.c: Likewise.
30957 * soft-fp/floatsisf.c: Likewise.
30958 * soft-fp/floatsitf.c: Likewise.
30959 * soft-fp/floattidf.c: Likewise.
30960 * soft-fp/floattisf.c: Likewise.
30961 * soft-fp/floattitf.c: Likewise.
30962 * soft-fp/floatundidf.c: Likewise.
30963 * soft-fp/floatundisf.c: Likewise.
30964 * soft-fp/floatunditf.c: Likewise.
30965 * soft-fp/floatunsidf.c: Likewise.
30966 * soft-fp/floatunsisf.c: Likewise.
30967 * soft-fp/floatunsitf.c: Likewise.
30968 * soft-fp/floatuntidf.c: Likewise.
30969 * soft-fp/floatuntisf.c: Likewise.
30970 * soft-fp/floatuntitf.c: Likewise.
30971 * soft-fp/fmadf4.c: Likewise.
30972 * soft-fp/fmasf4.c: Likewise.
30973 * soft-fp/fmatf4.c: Likewise.
30974 * soft-fp/gedf2.c: Likewise.
30975 * soft-fp/gesf2.c: Likewise.
30976 * soft-fp/getf2.c: Likewise.
30977 * soft-fp/ledf2.c: Likewise.
30978 * soft-fp/lesf2.c: Likewise.
30979 * soft-fp/letf2.c: Likewise.
30980 * soft-fp/muldf3.c: Likewise.
30981 * soft-fp/mulsf3.c: Likewise.
30982 * soft-fp/multf3.c: Likewise.
30983 * soft-fp/negdf2.c: Likewise.
30984 * soft-fp/negsf2.c: Likewise.
30985 * soft-fp/negtf2.c: Likewise.
30986 * soft-fp/op-1.h: Likewise.
30987 * soft-fp/op-2.h: Likewise.
30988 * soft-fp/op-4.h: Likewise.
30989 * soft-fp/op-8.h: Likewise.
30990 * soft-fp/op-common.h: Likewise.
30991 * soft-fp/quad.h: Likewise.
30992 * soft-fp/single.h: Likewise.
30993 * soft-fp/soft-fp.h: Likewise.
30994 * soft-fp/sqrtdf2.c: Likewise.
30995 * soft-fp/sqrtsf2.c: Likewise.
30996 * soft-fp/sqrttf2.c: Likewise.
30997 * soft-fp/subdf3.c: Likewise.
30998 * soft-fp/subsf3.c: Likewise.
30999 * soft-fp/subtf3.c: Likewise.
31000 * soft-fp/truncdfsf2.c: Likewise.
31001 * soft-fp/trunctfdf2.c: Likewise.
31002 * soft-fp/trunctfsf2.c: Likewise.
31003 * soft-fp/trunctfxf2.c: Likewise.
31004 * soft-fp/unorddf2.c: Likewise.
31005 * soft-fp/unordsf2.c: Likewise.
31006 * soft-fp/unordtf2.c: Likewise.
31007
31008 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31009
31010 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31011 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31012
31013 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31014
31015 * elf/dl-libc.c: Clear initfini list after freeing.
31016
31017 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31018
31019 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31020 * soft-fp/addsf3.c: Likewise.
31021 * soft-fp/addtf3.c: Likewise.
31022 * soft-fp/divdf3.c: Likewise.
31023 * soft-fp/divsf3.c: Likewise.
31024 * soft-fp/divtf3.c: Likewise.
31025 * soft-fp/double.h: Likewise.
31026 * soft-fp/eqdf2.c: Likewise.
31027 * soft-fp/eqsf2.c: Likewise.
31028 * soft-fp/eqtf2.c: Likewise.
31029 * soft-fp/extenddftf2.c: Likewise.
31030 * soft-fp/extended.h: Likewise.
31031 * soft-fp/extendsfdf2.c: Likewise.
31032 * soft-fp/extendsftf2.c: Likewise.
31033 * soft-fp/extendxftf2.c: Likewise.
31034 * soft-fp/fixdfdi.c: Likewise.
31035 * soft-fp/fixdfsi.c: Likewise.
31036 * soft-fp/fixdfti.c: Likewise.
31037 * soft-fp/fixsfdi.c: Likewise.
31038 * soft-fp/fixsfsi.c: Likewise.
31039 * soft-fp/fixsfti.c: Likewise.
31040 * soft-fp/fixtfdi.c: Likewise.
31041 * soft-fp/fixtfsi.c: Likewise.
31042 * soft-fp/fixtfti.c: Likewise.
31043 * soft-fp/fixunsdfdi.c: Likewise.
31044 * soft-fp/fixunsdfsi.c: Likewise.
31045 * soft-fp/fixunsdfti.c: Likewise.
31046 * soft-fp/fixunssfdi.c: Likewise.
31047 * soft-fp/fixunssfsi.c: Likewise.
31048 * soft-fp/fixunssfti.c: Likewise.
31049 * soft-fp/fixunstfdi.c: Likewise.
31050 * soft-fp/fixunstfsi.c: Likewise.
31051 * soft-fp/fixunstfti.c: Likewise.
31052 * soft-fp/floatdidf.c: Likewise.
31053 * soft-fp/floatdisf.c: Likewise.
31054 * soft-fp/floatditf.c: Likewise.
31055 * soft-fp/floatsidf.c: Likewise.
31056 * soft-fp/floatsisf.c: Likewise.
31057 * soft-fp/floatsitf.c: Likewise.
31058 * soft-fp/floattidf.c: Likewise.
31059 * soft-fp/floattisf.c: Likewise.
31060 * soft-fp/floattitf.c: Likewise.
31061 * soft-fp/floatundidf.c: Likewise.
31062 * soft-fp/floatundisf.c: Likewise.
31063 * soft-fp/floatunsidf.c: Likewise.
31064 * soft-fp/floatunsisf.c: Likewise.
31065 * soft-fp/floatuntidf.c: Likewise.
31066 * soft-fp/floatuntisf.c: Likewise.
31067 * soft-fp/floatuntitf.c: Likewise.
31068 * soft-fp/fmadf4.c: Likewise.
31069 * soft-fp/fmasf4.c: Likewise.
31070 * soft-fp/fmatf4.c: Likewise.
31071 * soft-fp/gedf2.c: Likewise.
31072 * soft-fp/gesf2.c: Likewise.
31073 * soft-fp/getf2.c: Likewise.
31074 * soft-fp/ledf2.c: Likewise.
31075 * soft-fp/lesf2.c: Likewise.
31076 * soft-fp/letf2.c: Likewise.
31077 * soft-fp/muldf3.c: Likewise.
31078 * soft-fp/mulsf3.c: Likewise.
31079 * soft-fp/multf3.c: Likewise.
31080 * soft-fp/negdf2.c: Likewise.
31081 * soft-fp/negsf2.c: Likewise.
31082 * soft-fp/negtf2.c: Likewise.
31083 * soft-fp/op-1.h: Likewise.
31084 * soft-fp/op-2.h: Likewise.
31085 * soft-fp/op-4.h: Likewise.
31086 * soft-fp/op-8.h: Likewise.
31087 * soft-fp/op-common.h: Likewise.
31088 * soft-fp/quad.h: Likewise.
31089 * soft-fp/single.h: Likewise.
31090 * soft-fp/soft-fp.h: Likewise.
31091 * soft-fp/sqrtdf2.c: Likewise.
31092 * soft-fp/sqrtsf2.c: Likewise.
31093 * soft-fp/sqrttf2.c: Likewise.
31094 * soft-fp/subdf3.c: Likewise.
31095 * soft-fp/subsf3.c: Likewise.
31096 * soft-fp/subtf3.c: Likewise.
31097 * soft-fp/truncdfsf2.c: Likewise.
31098 * soft-fp/trunctfdf2.c: Likewise.
31099 * soft-fp/trunctfsf2.c: Likewise.
31100 * soft-fp/trunctfxf2.c: Likewise.
31101 * soft-fp/unorddf2.c: Likewise.
31102 * soft-fp/unordsf2.c: Likewise.
31103 * soft-fp/unordtf2.c: Likewise.
31104
31105 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31106
31107 [BZ #15672]
31108 * misc/error.c (error_tail): Fix possible buffer overflow.
31109
31110 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31111
31112 [BZ #13028]
31113 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31114 address.
31115
31116 2013-10-14 P. J. McDermott <pj@pehjota.net>
31117
31118 [BZ #832]
31119 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31120 testing pipefail option.
31121
31122 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31123
31124 * soft-fp/double.h: Indent preprocessor directives inside #if.
31125 * soft-fp/extended.h: Likewise.
31126 * soft-fp/op-2.h: Likewise.
31127 * soft-fp/op-4.h: Likewise.
31128 * soft-fp/op-common.h: Likewise.
31129 * soft-fp/quad.h: Likewise.
31130 * soft-fp/single.h: Likewise.
31131 * soft-fp/soft-fp.h: Likewise.
31132
31133 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31134
31135 * iconv/iconv_prog.c: Fix typos.
31136 * stdio-common/psiginfo-data.h: Likewise.
31137
31138 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31139
31140 [BZ #15764]
31141 * locale/setlocale.c: Fix typo.
31142
31143 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31144
31145 [BZ #16036]
31146 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31147 signaling NaN arguments.
31148 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31149 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31150
31151 [BZ #14910]
31152 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31153 unordered operands.
31154 * soft-fp/gesf2.c (__gesf2): Likewise.
31155 * soft-fp/getf2.c (__getf2): Likewise.
31156 * soft-fp/ledf2.c (__ledf2): Likewise.
31157 * soft-fp/lesf2.c (__lesf2): Likewise.
31158 * soft-fp/letf2.c (__letf2): Likewise.
31159
31160 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31161 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31162 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31163 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31164 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31165 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31166 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31167 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31168 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31169 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31170 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31171 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31172 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31173 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31174 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31175 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31176 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31177 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31178 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31179 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31180 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31181 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31182 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31183 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31184 * soft-fp/floattidf.c (__floattidf): Likewise.
31185 * soft-fp/floattisf.c (__floattisf): Likewise.
31186 * soft-fp/floattitf.c (__floattitf): Likewise.
31187 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31188 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31189 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31190 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31191 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31192 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31193 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31194 * soft-fp/gesf2.c (__gesf2): Likewise.
31195 * soft-fp/getf2.c (__getf2): Likewise.
31196 * soft-fp/ledf2.c (__ledf2): Likewise.
31197 * soft-fp/lesf2.c (__lesf2): Likewise.
31198 * soft-fp/letf2.c (__letf2): Likewise.
31199
31200 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31201 Undefine and redefine.
31202 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31203 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31204 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31205 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31206 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31207 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31208 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31209 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31210 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31211 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31212 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31213 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31214 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31215 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31216 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31217
31218 [BZ #16032]
31219 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31220 without decrementing exponent if mantissa >= that for the
31221 denominator, not >.
31222 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31223 denominator, not >. Decrement exponent in < case instead of
31224 incrementing in >= case.
31225 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31226 without decrementing exponent if mantissa >= that for the
31227 denominator, not >.
31228
31229 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31230 computing saturated result for unsigned overflow.
31231
31232 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31233 Jeff Law <law@redhat.com>
31234
31235 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31236 (atan2Mp): Add systemtap probe marker.
31237 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31238 (__ieee754_log): Add systemtap probe marker.
31239 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31240 (atanMp): Add systemtap probe marker.
31241 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31242 (tanMp): Add systemtap probe marker.
31243 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31244 (__slowexp): Add systemtap probe marker.
31245 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31246 (__slowpow): Add systemtap probe marker.
31247 * manual/probes.texi: Document probes.
31248
31249 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31250
31251 [BZ #15362]
31252 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31253 written.
31254 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31255 written.
31256 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31257 written to buffer but not flushed.
31258 * libio/iofwrite_u.c: Likewise.
31259 * libio/iopadn.c: Return bytes returned even if EOF was
31260 encountered.
31261 * libio/iowpadn.c: Likewise.
31262 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31263 if _IO_padn does not write the whole buffer.
31264 [!COMPILE_WPRINTF] (PAD): Likewise.
31265
31266 2013-10-10 David S. Miller <davem@davemloft.net>
31267
31268 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31269 directory block.
31270
31271 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31272
31273 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31274 instead of FSF address.
31275 * soft-fp/fixdfti.c: Likewise.
31276 * soft-fp/fixsfti.c: Likewise.
31277 * soft-fp/fixtfti.c: Likewise.
31278 * soft-fp/fixunsdfti.c: Likewise.
31279 * soft-fp/fixunssfti.c: Likewise.
31280 * soft-fp/fixunstfti.c: Likewise.
31281 * soft-fp/floattidf.c: Likewise.
31282 * soft-fp/floattisf.c: Likewise.
31283 * soft-fp/floattitf.c: Likewise.
31284 * soft-fp/floatuntidf.c: Likewise.
31285 * soft-fp/floatuntisf.c: Likewise.
31286 * soft-fp/floatuntitf.c: Likewise.
31287 * soft-fp/trunctfxf2.c: Likewise.
31288
31289 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31290 * soft-fp/fixdfti.c: Likewise.
31291 * soft-fp/fixsfti.c: Likewise.
31292 * soft-fp/fixtfti.c: Likewise.
31293 * soft-fp/fixunsdfti.c: Likewise.
31294 * soft-fp/fixunssfti.c: Likewise.
31295 * soft-fp/fixunstfti.c: Likewise.
31296 * soft-fp/floattidf.c: Likewise.
31297 * soft-fp/floattisf.c: Likewise.
31298 * soft-fp/floattitf.c: Likewise.
31299 * soft-fp/floatuntidf.c: Likewise.
31300 * soft-fp/floatuntisf.c: Likewise.
31301 * soft-fp/floatuntitf.c: Likewise.
31302 * soft-fp/trunctfxf2.c: Likewise.
31303
31304 2013-10-10 David S. Miller <davem@davemloft.net>
31305
31306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31307
31308 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31309
31310 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31311 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31312 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31313 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31314 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31315 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31316 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31317
31318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31319 for NaNs before doing comparisons on argument.
31320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31321 Likewise.
31322
31323 2013-10-10 Will Newton <will.newton@linaro.org>
31324
31325 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31326 passed to _int_memalign does not overflow.
31327
31328 2013-10-10 Torvald Riegel <triegel@redhat.com>
31329
31330 * scripts/bench.pl: Add include-sources directive.
31331 * benchtests/README: Update documentation.
31332
31333 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31334
31335 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31336 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31337 instead of FP_INIT_ROUNDMODE.
31338 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31339 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31340
31341 [BZ #16034]
31342 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31343 copy class of input value.
31344 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31345 not handle exceptions.
31346 * soft-fp/negsf2.c (__negsf2): Likewise.
31347 * soft-fp/negtf2.c (__negtf2): Likewise.
31348 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31349
31350 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31351
31352 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31353 semicolon. From Linux kernel.
31354
31355 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31356
31357 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31358
31359 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31360
31361 [BZ #156]
31362 * manual/socket.texi: Added statement about buffer
31363 for gethostbyname2_r.
31364
31365 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31366
31367 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31368 Use .p2align directive instead, throughout.
31369 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31370 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31371 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31374 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31375 * sysdeps/x86_64/strchr.S: Likewise.
31376 * sysdeps/x86_64/strrchr.S: Likewise.
31377
31378 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31379
31380 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31381
31382 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31383
31384 * sysdeps/generic/math_private.h (__mpsin1): Remove
31385 declaration.
31386 (__mpcos1): Likewise.
31387 (__mpsin): New argument __range_reduce.
31388 (__mpcos): Likewise.
31389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31390 (slow): Use __mpsin and __mpcos.
31391 (slow1): Likewise.
31392 (slow2): Likewise.
31393 (sloww): Likewise.
31394 (sloww1): Likewise.
31395 (sloww2): Likewise.
31396 (bsloww): Likewise.
31397 (bsloww1): Likewise.
31398 (bsloww2): Likewise.
31399 (cslow2): Likewise.
31400 (csloww): Likewise.
31401 (csloww1): Likewise.
31402 (csloww2): Likewise.
31403 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31404 range_reduce. Merge in __mpsin1.
31405 (__mpcos): Likewise.
31406 (__mpsin1): Remove.
31407 (__mpcos1): Likewise.
31408
31409 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31410
31411 * locale/loadlocale.c (_nl_intern_locale_data): Use
31412 LOCFILE_ALIGNED_P.
31413 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31414 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31415 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31416 obstack data is appropriately aligned.
31417 (obstack_int32_grow_fast): Likewise.
31418 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31419 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31420 (add_locale_uint32_array): Likewise.
31421
31422 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31423
31424 * benchtests/Makefile: Remove ARGLIST and RET variables.
31425 ($(objpfx)bench-%.c): Pass only function name to the script.
31426 * benchtests/README: Update documentation.
31427 * benchtests/acos-inputs: Add new directives.
31428 * benchtests/acosh-inputs: Likewise.
31429 * benchtests/asin-inputs: Likewise.
31430 * benchtests/asinh-inputs: Likewise.
31431 * benchtests/atan-inputs: Likewise.
31432 * benchtests/atanh-inputs: Likewise.
31433 * benchtests/cos-inputs: Likewise.
31434 * benchtests/cosh-inputs: Likewise.
31435 * benchtests/exp-inputs: Likewise.
31436 * benchtests/log-inputs: Likewise.
31437 * benchtests/pow-inputs: Likewise.
31438 * benchtests/rint-inputs: Likewise.
31439 * benchtests/sin-inputs: Likewise.
31440 * benchtests/sinh-inputs: Likewise.
31441 * benchtests/tan-inputs: Likewise.
31442 * benchtests/tanh-inputs: Likewise.
31443 * scripts/bench.pl: Add support for new directives.
31444
31445 2013-10-07 Alan Modra <amodra@gmail.com>
31446
31447 * README: Fix careless merge.
31448
31449 2013-10-05 Alan Modra <amodra@gmail.com>
31450
31451 * NEWS: Mention powerpc64le support and bugs fixed.
31452 * README: Both big-endian and little-endian powerpc64 supported.
31453
31454 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31455
31456 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31457 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31458 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31459 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31460
31461 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31462
31463 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31464 match prototype.
31465
31466 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31467
31468 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31469 Move -mhard-float appending from
31470 ports/sysdeps/powerpc/powerpc32/Makefile.
31471 [$(with-fp) = yes] (ASFLAGS): Likewise.
31472 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31473 * sysdeps/powerpc/nofpu: Move directory from
31474 ports/sysdeps/powerpc/nofpu.
31475 * sysdeps/powerpc/soft-fp: Move directory from
31476 ports/sysdeps/powerpc/soft-fp.
31477 * sysdeps/powerpc/powerpc32/405: Move directory from
31478 ports/sysdeps/powerpc/powerpc32/405.
31479 * sysdeps/powerpc/powerpc32/440: Move directory from
31480 ports/sysdeps/powerpc/powerpc32/440.
31481 * sysdeps/powerpc/powerpc32/464: Move directory from
31482 ports/sysdeps/powerpc/powerpc32/464.
31483 * sysdeps/powerpc/powerpc32/476: Move directory from
31484 ports/sysdeps/powerpc/powerpc32/476.
31485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31486 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31488 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31490 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31492 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31494 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31495 * README: Update for powerpc-*-linux-gnu software floating point
31496 support in libc.
31497
31498 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31499 case to powerpc/powerpc32*.
31500 * sysdeps/unix/sysv/linux/configure: Regenerated.
31501
31502 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31503 (_FPU_MASK_OM): Define as 0x04.
31504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31506 0x00c10080.
31507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31508 0x0000003c.
31509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31510
31511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31512 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31513 getcontext_e500.
31514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31515 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31516 setcontext_e500.
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31518 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31519 and setcontext_e500.
31520
31521 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31522
31523 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31524
31525 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31526
31527 * manual/threads.texi (Default Thread Attributes): Fix typo.
31528
31529 2013-10-04 Will Newton <will.newton@linaro.org>
31530
31531 * malloc/Makefile: Add tst-memalign.
31532 * malloc/tst-memalign.c: New file.
31533
31534 * malloc/tst-posix_memalign.c: Add comments.
31535 (do_test): Add comments and call free on all potentially
31536 allocated pointers. Add space after cast.
31537
31538 * malloc/tst-pvalloc.c: Add comments.
31539 (do_test): Add comments and call free on all potentially
31540 allocated pointers. Remove duplicate check for NULL pointer.
31541 Add space after cast.
31542
31543 * malloc/tst-valloc.c: Add comments.
31544 (do_test): Add comments and call free on all potentially
31545 allocated pointers. Remove duplicate check for NULL pointer.
31546 Add space after cast.
31547
31548 2013-10-04 Alan Modra <amodra@gmail.com>
31549
31550 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31551 Use stdint types in rather than __attribute__((mode())).
31552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31553
31554 2013-10-04 Alan Modra <amodra@gmail.com>
31555
31556 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31557 Correct handling of unaligned relocs for little-endian.
31558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31559
31560 2013-10-04 Alan Modra <amodra@gmail.com>
31561
31562 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31563 * configure: Regenerate.
31564 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31565 * shlib-versions: Likewise.
31566
31567 2013-10-04 Alan Modra <amodra@gmail.com>
31568
31569 * string/tester.c (test_memrchr): Increment reported test cycle.
31570
31571 2013-10-04 Alan Modra <amodra@gmail.com>
31572
31573 * string/test-memcpy.c (do_one_test): When reporting errors, print
31574 string address and don't overrun end of string.
31575
31576 2013-10-04 Alan Modra <amodra@gmail.com>
31577
31578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31579 insrdi. Make better use of reg selection to speed exit slightly.
31580 Schedule entry path a little better. Remove useless "are we done"
31581 checks on entry to main loop. Handle wrapping around zero address.
31582 Correct main loop count. Handle single left-over word from main
31583 loop inline rather than by using loop_small. Remove extra word
31584 case in loop_small caused by wrong loop count. Add little-endian
31585 support.
31586 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31588 cache hint.
31589 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31590 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31591 support. Avoid rlwimi.
31592 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31593
31594 2013-10-04 Alan Modra <amodra@gmail.com>
31595
31596 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31597 insrdi. Formatting.
31598 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31599 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31600 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31601 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31602 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31603 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31604
31605 2013-10-04 Alan Modra <amodra@gmail.com>
31606
31607 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31610 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31611 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31612 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31613 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31614 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31615 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31616 use of regs. Use power7 mtocrf. Tidy function tails.
31617
31618 2013-10-04 Alan Modra <amodra@gmail.com>
31619
31620 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31621 Formatting. Consistently use rXXX register defines or rN defines.
31622 Use early exit labels that avoid restoring unused non-volatile regs.
31623 Make cr field use more consistent with rWORDn compares. Rename
31624 regs used as shift registers for unaligned loop, using rN defines
31625 for short lifetime/multiple use regs.
31626 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31627 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31628 addi 1,1,64 to pop stack frame. Simplify return value code.
31629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31630
31631 2013-10-04 Alan Modra <amodra@gmail.com>
31632
31633 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31634 support. Correct typos, formatting. Optimize tail. Use insrdi
31635 rather than rlwimi.
31636 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31637 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31638 little-endian support. Correct typos.
31639 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31640 rather than rlwimi.
31641 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31642 in loop and entry code to keep "and." results.
31643 (strchr): Add little-endian support. Comment. Move cntlzd
31644 earlier in tail.
31645 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31646
31647 2013-10-04 Alan Modra <amodra@gmail.com>
31648
31649 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31650 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31651 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31652 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31653
31654 2013-10-04 Alan Modra <amodra@gmail.com>
31655
31656 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31657 (rTMP): Define as r11.
31658 (strcmp): Add little-endian support. Optimise tail.
31659 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31660 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31661 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31662 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31663 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31666
31667 2013-10-04 Alan Modra <amodra@gmail.com>
31668
31669 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31670 little-endian support. Remove unnecessary "are we done" tests.
31671 Handle "s" wrapping around zero and extremely large "size".
31672 Correct main loop count. Handle single left-over word from main
31673 loop inline rather than by using small_loop. Correct comments.
31674 Delete "zero" tail, use "end_max" instead.
31675 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31676
31677 2013-10-04 Alan Modra <amodra@gmail.com>
31678
31679 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31680 support. Don't branch over align.
31681 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31682 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31683 support. Rearrange tmp reg use to suit. Comment.
31684 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31685
31686 2013-10-04 Alan Modra <amodra@gmail.com>
31687
31688 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31689
31690 2013-10-04 Alan Modra <amodra@gmail.com>
31691
31692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31693 conditional form of branch and link when obtaining pc.
31694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31695
31696 2013-10-04 Alan Modra <amodra@gmail.com>
31697
31698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31699 HIWORD/LOWORD.
31700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31702
31703 2013-10-04 Alan Modra <amodra@gmail.com>
31704
31705 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31706 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31707 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31708 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31709 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31710 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31711 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31712 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31713 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31714 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31715
31716 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31717 Alistair Popple <alistair@ozlabs.au.ibm.com>
31718 Alan Modra <amodra@gmail.com>
31719
31720 [BZ #15723]
31721 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31722 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31723 _dl_hwcap access for little-endian.
31724 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31725 destroy vmx regs when saving unaligned.
31726 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31727 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31728 destroy vmx regs when saving unaligned.
31729
31730 2013-10-04 Alan Modra <amodra@gmail.com>
31731
31732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31733 Don't use a union to pack hi/low value.
31734
31735 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31736
31737 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31738 for little-endian.
31739 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31741 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31742 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31743 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31744
31745 2013-10-04 Alan Modra <amodra@gmail.com>
31746
31747 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31748 constants to usual value for .cst8 section, and remove redundant
31749 high address load.
31750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31751 constant for 0x1p52. Load little-endian words of double from
31752 correct stack offsets.
31753
31754 2013-10-04 Alan Modra <amodra@gmail.com>
31755
31756 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31757 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31758 words of double from correct stack offsets.
31759 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31760 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31761 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31762 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31763 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31766 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31767 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31771 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31772 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31773 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31774 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31775 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31776
31777 2013-10-04 Alan Modra <amodra@gmail.com>
31778
31779 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31780 64-bit int/double union.
31781 (_FPU_SETCW): Likewise.
31782 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31783 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31784
31785 2013-10-04 Alan Modra <amodra@gmail.com>
31786
31787 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31788 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31789
31790 2013-10-04 Alan Modra <amodra@gmail.com>
31791
31792 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31793 use vector int constants.
31794 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31795
31796 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31797
31798 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31799 array with long long.
31800 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31801 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31802 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31803 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31804 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31805 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31806 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31807 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31808 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31809 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31810 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31811 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31812 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31813
31814 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31815
31816 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31817 (__signbit): Likewise. Correct for little-endian.
31818 (__signbitl): Call __signbit.
31819 (lrint): Correct for little-endian.
31820 (lrintf): Call lrint.
31821
31822 2013-10-04 Alan Modra <amodra@gmail.com>
31823
31824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31825 union 32-bit int array member with 64-bit int array.
31826 (t515, tm256): Double rather than long double.
31827 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31828
31829 2013-10-04 Alan Modra <amodra@gmail.com>
31830
31831 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31832 Delete.
31833 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31835 version of math_ldbl.h.
31836
31837 2013-10-04 Alan Modra <amodra@gmail.com>
31838
31839 [BZ #15734], [BZ #15735]
31840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31841 all uses of ieee875 long double macros and unions. Simplify test
31842 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31843 ldbl_extract_mantissa value for ix,iy exponents. Properly
31844 normalize after ldbl_extract_mantissa, and don't add hidden bit
31845 already handled. Don't treat low word of ieee854 mantissa like
31846 low word of IBM long double and mask off bit when testing for
31847 zero.
31848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31849 all uses of ieee875 long double macros and unions. Simplify tests
31850 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31851 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31852 two1022, instead use their values. Recognise that tests for large
31853 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31854 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31855 Rewrite all uses of ieee875 long double macros and unions. Simplify
31856 test for 0.0L and nan. Correct negation.
31857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31858 ieee875 long double macros and unions. Correct output for large
31859 magnitude x. Correct absolute value calculation.
31860 (__erfcl): Likewise.
31861 * math/libm-test.inc: Add tests for errors discovered in IBM long
31862 double versions of fmodl, remainderl, erfl and erfcl.
31863
31864 2013-10-04 Alan Modra <amodra@gmail.com>
31865
31866 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31867 all uses of ieee854 long double macros and unions. Simplify tests
31868 for long doubles that are fully specified by the high double.
31869 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31870 Likewise.
31871 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31872 Remove dead code too.
31873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31874 (__ieee754_ynl): Likewise.
31875 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31876 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31878 Remove dead code too.
31879 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31880 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31881 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31882 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31883 Simplify.
31884 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31885 Simplify.
31886 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31887 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31888 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31889 Comment on variable precision.
31890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31891 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31892 Likewise.
31893 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31896 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31897 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31898
31899 2013-10-04 Alan Modra <amodra@gmail.com>
31900
31901 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31902 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31903 all uses of ieee854 long double macros and unions.
31904 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31905 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31906 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31907 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31909 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31910 Likewise.
31911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31912 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31913 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31914 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31915 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31916 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31917 Simplify sign and nan test too.
31918 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31919 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31920 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31921 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31922 Likewise.
31923 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31924 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31925 Likewise.
31926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31927 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31928 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31929 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31930 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31932
31933 2013-10-04 Alan Modra <amodra@gmail.com>
31934
31935 * stdio-common/printf_size.c (__printf_size): Don't use
31936 union ieee854_long_double in fpnum union.
31937 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31938 signbit macro to retrieve sign from long double.
31939 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31940 retrieve sign from long double.
31941 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31942 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31943 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31944 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31945 * math/test-misc.c (main): Don't use union ieee854_long_double.
31946
31947 2013-10-04 Alan Modra <amodra@gmail.com>
31948
31949 [BZ #15680]
31950 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31951 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31952 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31953 calculation. Remove unnecessary test for denormal exponent.
31954 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31955 Correct handling of denormals. Avoid undefined shift behaviour.
31956 Correct normalisation of low mantissa when low double is denormal.
31957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31958 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31959 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31960 Correct normalisation of low mantissa. Test for overflow of high
31961 mantissa and normalise.
31962 (ldbl_nearbyint): Use more readable constant for two52.
31963 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31964 (__mpn_construct_long_double): Fix test for overflow of high
31965 mantissa and correct normalisation. Avoid undefined shift.
31966
31967 2013-10-04 Alan Modra <amodra@gmail.com>
31968
31969 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31970 (union ibm_extended_long_double): Define as an array of ieee754_double.
31971 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31972 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31973 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31974 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31975 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31976 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31978 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31979 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31980 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31981 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31982
31983 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31984
31985 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31986 page size instead of calling getpagesize.
31987
31988 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31989 (LOCFILE_ALIGN_MASK): Likewise.
31990 (LOCFILE_ALIGN_UP): Likewise.
31991 (LOCFILE_ALIGNED_P): Likewise.
31992 * locale/programs/ld-collate.c (collate_output): Use the new
31993 macros instead of __alignof__ (int32_t).
31994 * locale/weight.h (findidx): Likewise.
31995
31996 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31997
31998 [BZ #431]
31999 * manual/string.texi: Fix strncat and wcsncat.
32000
32001 2013-10-03 Brooks Moses <bmoses@google.com>
32002
32003 [BZ #15915]
32004 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32005 * Makerules: ...here, and adjust associated comments.
32006
32007 2013-10-02 Will Newton <will.newton@linaro.org>
32008
32009 * malloc/Makefile: Add tst-pvalloc.
32010 * malloc/tst-pvalloc.c: New file.
32011
32012 2013-10-02 Will Newton <will.newton@linaro.org>
32013
32014 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32015 improve test coverage.
32016
32017 2013-10-02 Will Newton <will.newton@linaro.org>
32018
32019 * malloc/Makefile: Add tst-posix_memalign.
32020 * malloc/tst-posix_memalign.c: New file.
32021
32022 2013-10-01 Eric Blake <eblake@redhat.com>
32023
32024 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32025 Use __THROWNL rather than __THROW on static functions.
32026
32027 2013-09-30 Petr Machata <pmachata@redhat.com>
32028
32029 * elf/elf.h (R_AARCH64_ABS16): New macro.
32030 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32031 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32032 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32033 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32034 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32035 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32036 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32037 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32038 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32039 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32040 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32041 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32042 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32043 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32044 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32045 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32046 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32047 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32048 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32049 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32050 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32051 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32052 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32053 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32054 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32055 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32056 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32057 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32058 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32059 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32060 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32061 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32062 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32063 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32064 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32065 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32066 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32067 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32068 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32069 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32070 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32071 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32072 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32073 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32074 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32075 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32076 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32077 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32078 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32079 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32080 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32081 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32082 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32083 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32084 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32085 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32086 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32087 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32088 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32089 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32090 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32091 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32092 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32093 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32094 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32095 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32096 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32097 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32098 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32099 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32100 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32101 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32102 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32103 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32104 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32105 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32106 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32107 (R_AARCH64_TLSDESC_LDR): Likewise.
32108 (R_AARCH64_TLSDESC_ADD): Likewise.
32109 (R_AARCH64_TLSDESC_CALL): Likewise.
32110
32111 2013-09-30 Andreas Schwab <schwab@suse.de>
32112
32113 [BZ #15048]
32114 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32115 the nss database lookup.
32116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32118
32119 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32120
32121 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32122
32123 2013-09-28 P. J. McDermott <pj@pehjota.net>
32124
32125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32126 ${Bash-specific parameter/pattern/string} parameter expansion.
32127 * sysdeps/unix/make-syscalls.sh: Likewise.
32128
32129 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32130
32131 * sysdeps/sh/stackguard-macros.h: New file.
32132
32133 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32134
32135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32137 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32138 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32139 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32140 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32141
32142 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32143
32144 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32145 Fix thread ID register.
32146
32147 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32148
32149 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32150 [POSIX || UNIX98]: Require rather than permitting all symbols from
32151 <time.h>.
32152 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32153 element of struct sched_param.
32154 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32155 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32156 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32157 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32158 constant.
32159
32160 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32161
32162 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32163 argument calculation.
32164
32165 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32166
32167 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32168 Expect macro.
32169 [POSIX] (pthread_attr_t): Do not require type.
32170 [POSIX] (pthread_cond_t): Likewise.
32171 [POSIX] (pthread_condattr_t): Likewise.
32172 [POSIX] (pthread_key_t): Likewise.
32173 [POSIX] (pthread_mutex_t): Likewise.
32174 [POSIX] (pthread_mutexattr_t): Likewise.
32175 [POSIX] (pthread_once_t): Likewise.
32176 [POSIX] (pthread_t): Likewise.
32177 [POSIX-based standards] (pthread_atfork): Expect function.
32178
32179 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32180 Richard Sandiford <richard@codesourcery.com>
32181
32182 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32183 (swap_endianness_p): New extern variable.
32184 (set_big_endian): New inline function.
32185 (maybe_swap_uint32): Likewise.
32186 (maybe_swap_uint32_array): Likewise.
32187 (maybe_swap_uint32_obstack): Likewise.
32188 * locale/programs/locfile.c: Include <stdbool.h>.
32189 (swap_endianness_p): New variable.
32190 (add_locale_uint32): Call maybe_swap_uint32.
32191 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32192 (write_locale_data): Call maybe_swap_uint32_array.
32193 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32194 maybe_swap_uint32.
32195 (obstack_int32_grow_fast): Likewise.
32196 (output_weightwc): Call maybe_swap_uint32_obstack.
32197 (collate_output): Likewise.
32198 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32199 (OPT_LITTLE_ENDIAN): Likewise.
32200 (options): Add --little-endian and --big-endian options.
32201 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32202 * locale/programs/locarchive.c: Include "locfile.h".
32203 (GET): New macro.
32204 (SET): Likewise.
32205 (INC): Likewise.
32206 (create_archive): Use the new macros to access fields of
32207 structures directly mapped from or written to locale archives.
32208 (oldlocrecentcmp): Likewise.
32209 (enlarge_archive): Likewise.
32210 (insert_name): Likewise.
32211 (add_alias): Likewise.
32212 (add_locale): Likewise.
32213 (delete_locales_from_archive): Likewise.
32214 (show_archive_content): Likewise.
32215 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32216 locale data.
32217
32218 2013-09-24 Roland McGrath <roland@hack.frob.com>
32219
32220 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32221 http://www.gnu.org/doc/freemanuals.texi.
32222 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32223
32224 2013-09-24 Will Newton <will.newton@linaro.org>
32225
32226 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32227 macro.
32228
32229 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32230
32231 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32232 unsigned char.
32233
32234 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32235
32236 * manual/threads.texi (POSIX Threads): Fix a typo.
32237
32238 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32239
32240 [BZ #14547]
32241 * string/tst-strcoll-overflow.c: New test case.
32242 * string/Makefile (xtests): Add tst-strcoll-overflow.
32243 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32244 cache if string sizes may cause integer overflow.
32245
32246 [BZ #14547]
32247 * string/strcoll_l.c (coll_seq): New members rule, idx,
32248 save_idx and back_us.
32249 (get_next_seq_nocache): New function.
32250 (do_compare_nocache): New function.
32251 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32252 when malloc fails.
32253
32254 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32255
32256 [BZ #15754]
32257 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32258 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32259 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32260
32261 [BZ #15754]
32262 * elf/Makefile (tests): Add tst-ptrguard1.
32263 (tests-static): Add tst-ptrguard1-static.
32264 (tst-ptrguard1-ARGS): Define.
32265 (tst-ptrguard1-static-ARGS): Define.
32266 * elf/tst-ptrguard1.c: New file.
32267 * elf/tst-ptrguard1-static.c: New file.
32268 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32269 * sysdeps/i386/stackguard-macros.h: Likewise.
32270 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32271 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32272 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32273 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32274 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32275 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32276
32277 2013-09-23 Hector Marco <hecmargi@upv.es>
32278 Ismael Ripoll <iripoll@disca.upv.es>
32279 Carlos O'Donell <carlos@redhat.com>
32280
32281 [BZ #15754]
32282 * sysdeps/generic/stackguard-macros.h: Define
32283 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32284 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32285 Define __pointer_chk_guard_local.
32286 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32287 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32288
32289 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32290
32291 [BZ #15859]
32292 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32293
32294 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32295
32296 * include/string.h (__ffs): Declare as hidden.
32297 * string/ffs.c (__ffs): Define as hidden.
32298 * sysdeps/i386/ffs.c (__ffs): Likewise.
32299 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32300 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32301 * sysdeps/s390/ffs.c (__ffs): Likewise.
32302 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32303
32304 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32305
32306 * NEWS: Mention malloc probes.
32307
32308 * malloc/arena.c (new_heap): New memory_heap_new probe.
32309 (grow_heap): New memory_heap_more probe.
32310 (shrink_heap): New memory_heap_less probe.
32311 (heap_trim): New memory_heap_free probe.
32312 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32313 (systrim): New memory_sbrk_less probe.
32314 * manual/probes.texi: Document them.
32315
32316 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32317 * manual/probes.texi: Document it.
32318
32319 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32320 (__libc_realloc): Add memory_realloc_retry probe.
32321 (__libc_memalign): Add memory_memalign_retry probe.
32322 (__libc_valloc): Add memory_valloc_retry probe.
32323 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32324 (__libc_calloc): Add memory_calloc_retry probe.
32325 * manual/probes.texi: Document them.
32326
32327 * malloc/arena.c (get_free_list): Add probe
32328 memory_arena_reuse_free_list.
32329 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32330 and memory_arena_reuse.
32331 (arena_get2) [!PER_THREAD]: Likewise.
32332 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32333 memory_arena_reuse_realloc.
32334 * manual/probes.texi: Document them.
32335
32336 * malloc/malloc.c (__libc_free): Add
32337 memory_mallopt_free_dyn_thresholds probe.
32338 (__libc_mallopt): Add multiple memory_mallopt probes.
32339 * manual/probes.texi: Document them.
32340
32341 * malloc/malloc.c: Include stap-probe.h.
32342 (__libc_mallopt): Add memory_mallopt probe.
32343 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32344 * manual/probes.texi: New.
32345 * manual/Makefile (chapters): Add probes.
32346 * manual/threads.texi: Set next node.
32347
32348 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32349
32350 [BZ #15963, #13985]
32351 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32352 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32353 Add `Chinese' to `nan' entry name.
32354
32355 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32356
32357 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32358 (POLYNOMIAL): Likewise.
32359 (TAYLOR_SINCOS): Likewise.
32360 (TAYLOR_SLOW): Likewise.
32361 (__sin): Use TAYLOR_SINCOS.
32362 (__cos): Likewise.
32363 (slow): Use TAYLOR_SLOW.
32364 (sloww): Likewise.
32365 (bsloww): Likewise.
32366 (csloww): Likewise.
32367
32368 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32369
32370 * stdlib/strtod_l.c: Fix buffer overrun.
32371
32372 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32373
32374 * benchtests/Makefile (bench): Add sincos.
32375 * benchtests/bench-sincos.c: New file.
32376
32377 * math/libm-test.inc (cos_test_data): New test inputs.
32378 (sin_test_data): Likewise.
32379
32380 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32381 macro.
32382 (__sin): Use it.
32383 (__cos): Likewise.
32384 (slow1): Likewise.
32385 (slow2): Likewise.
32386 (sloww1): Likewise.
32387 (sloww2): Likewise.
32388 (bsloww1): Likewise.
32389 (bsloww2): Likewise.
32390 (cslow2): Likewise.
32391 (csloww1): Likewise.
32392 (csloww2): Likewise.
32393
32394 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32395 function.
32396 (__sin): Use it.
32397 (__cos): Likewise.
32398
32399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32400 gotos.
32401 (__cos): Likewise.
32402
32403 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32404
32405 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32406 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32407 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32408 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32409 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32410 * elf/cache.c (print_entry): Handle the new cache flags.
32411
32412 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32413 Aldy Hernandez <aldyh@redhat.com>
32414
32415 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32416 Change condition to [_SOFT_FLOAT].
32417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32429 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32432 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32433 declaration.
32434
32435 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32436
32437 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32438 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32439 (__longjmp): Use LOAD_GP to load saved GPRs.
32440 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32441 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32442 (__sigsetjmp): Use SAVE_GP to save GPRs.
32443
32444 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32445 Do not append -msoft-float.
32446 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32447
32448 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32449
32450 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32451
32452 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32453
32454 [BZ #15966]
32455 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32456 (_FPU_GETCW): Use initial "__" on variable and field names but not
32457 on macro parameter name.
32458 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32459 parentheses around reference to macro parameter.
32460
32461 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32462
32463 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32464 prototype.
32465 (ctype_startup): Use uint32_t in cast and sizeof for
32466 ctype->charnames.
32467
32468 2013-09-11 Jia Liu <proljc@gmail.com>
32469
32470 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32471 __daddr_t_defined.
32472 [__FreeBSD__]: Likewise.
32473
32474 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32475
32476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32477 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32478 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32479 (strchr): Remove __strchr_sse42 ifunc selection.
32480 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32481 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32482
32483 2013-09-11 Will Newton <will.newton@linaro.org>
32484
32485 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32486 parameter to RES. Remove hardcoded 1000 value.
32487 * benchtests/bench-skeleton.c (main): Pass RES parameter
32488 to TIMING_INIT and multiply result by 1000.
32489
32490 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32491
32492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32493
32494 2013-09-11 Andreas Schwab <schwab@suse.de>
32495
32496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32497 if not defined.
32498 (O_TMPFILE) [__USE_GNU]: Define.
32499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32500 Define.
32501
32502 2013-09-11 Will Newton <will.newton@linaro.org>
32503
32504 [BZ #15857]
32505 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32506 does not overflow.
32507
32508 2013-09-11 Will Newton <will.newton@linaro.org>
32509
32510 [BZ #15856]
32511 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32512 does not overflow.
32513
32514 2013-09-11 Will Newton <will.newton@linaro.org>
32515
32516 [BZ #15855]
32517 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32518 does not overflow.
32519
32520 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32521
32522 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32527
32528 2013-09-10 Allan McRae <allan@archlinux.org>
32529
32530 [BZ #15748]
32531 * manual/arith.texi (Parsing of Floats): Clarify
32532 cross-reference.
32533
32534 [BZ #15849]
32535 * manual/install.texi (Running make install): Mention
32536 --enable-pt-chown.
32537 * INSTALL: Regenerated.
32538
32539 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32540
32541 * csu/init-first.c (_init): Remove the !SHARED condition around
32542 FPU control word initialization.
32543 * elf/dl-support.c (_dl_fpu_control): New variable.
32544 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32545 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32546 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32547 * math/test-fpucw-static.c: New file.
32548 * math/test-fpucw-ieee.c: New file.
32549 * math/test-fpucw-ieee-static.c: New file.
32550 * math/Makefile (tests): Add `test-fpucw-ieee' and
32551 `$(tests-static)'.
32552 (tests-static): New variable.
32553 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32554 dependency to...
32555 [($(build-shared),yes)]
32556 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32557 ... this.
32558 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32559 New dependency.
32560
32561 2013-09-09 Allan McRae <allan@archlinux.org>
32562
32563 [BZ #15939]
32564 * manual/string.texi (Collation Functions): Fix typo in
32565 strcoll example.
32566 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32567
32568 [BZ #15893]
32569 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32570
32571 [BZ #15892]
32572 * libio/memstream.c (open_memstream): Fix memory leak.
32573 * libio/wmemstream.c (open_wmemstream): Likewise.
32574
32575 [BZ #15895]
32576 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32577
32578 2013-09-09 Will Newton <will.newton@linaro.org>
32579
32580 * malloc/Makefile: Add tst-realloc to tests.
32581 * malloc/tst-realloc.c: New file.
32582
32583 2013-09-09 Allan McRae <allan@archlinux.org>
32584
32585 [BZ #15844]
32586 * COPYING: Update from GNU website to fix FSF address.
32587 * COPYING.LIB: Likewise.
32588
32589 2013-09-06 David S. Miller <davem@davemloft.net>
32590
32591 * po/zh_TW.po: Update Chinese (traditional) translation from
32592 translation project.
32593
32594 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32595 Joseph Myers <joseph@codesourcery.com>
32596
32597 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32598 "localeinfo.h".
32599 (obstack_chunk_alloc): New macro.
32600 (obstack_chunk_free): Likewise.
32601 (record_offset): New function.
32602 (init_locale_data): Likewise.
32603 (align_locale_data): Likewise.
32604 (add_locale_empty): Likewise.
32605 (add_locale_raw_data): Likewise.
32606 (add_locale_raw_obstack): Likewise.
32607 (add_locale_string): Likewise.
32608 (add_locale_wstring): Likewise.
32609 (add_locale_uint32): Likewise.
32610 (add_locale_uint32_array): Likewise.
32611 (add_locale_char): Likewise.
32612 (start_locale_structure): Likewise.
32613 (end_locale_structure): Likewise.
32614 (start_locale_prelude): Likewise.
32615 (end_locale_prelude): Likewise.
32616 (write_locale_data): Take locale_file structure rather than an
32617 iovec.
32618 * locale/programs/locfile.h: Include "obstack.h".
32619 (struct locale_file): Change to store locale file contents instead
32620 of header.
32621 (init_locale_data): New prototype.
32622 (align_locale_data): Likewise.
32623 (add_locale_empty): Likewise.
32624 (add_locale_raw_data): Likewise.
32625 (add_locale_raw_obstack): Likewise.
32626 (add_locale_string): Likewise.
32627 (add_locale_wstring): Likewise.
32628 (add_locale_uint32): Likewise.
32629 (add_locale_uint32_array): Likewise.
32630 (add_locale_char): Likewise.
32631 (start_locale_structure): Likewise.
32632 (end_locale_structure): Likewise.
32633 (start_locale_prelude): Likewise.
32634 (end_locale_prelude): Likewise.
32635 (write_locale_data): Update prototype.
32636 * locale/programs/3level.h (struct TABLE): Remove result field.
32637 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32638 Use new locale_file interface.
32639 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32640 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32641 * locale/programs/ld-address.c (address_output): Use new
32642 locale_file interface.
32643 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32644 NO_ADD_LOCALE.
32645 (collate_finish): Don't call collseq_table_finalize.
32646 (collate_output): Use new locale_file interface.
32647 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32648 in file.
32649 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32650 (TABLE): Move defines earlier in file.
32651 (ELEMENT): Likewise.
32652 (DEFAULT): Likewise.
32653 (wctrans_table_add): Move macro and inline function earlier in
32654 file.
32655 (struct wctype_table): Move type earlier in file.
32656 (add_locale_wctype_table): New static prototype.
32657 (struct locale_ctype_t): Use logical types instead of struct iovec
32658 pointers for members.
32659 (ctype_output): Use new locale_file interface.
32660 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32661 new locale_file interface.
32662 (allocate_arrays): Update for use of new locale_file interface.
32663 * locale/programs/ld-identification.c (identification_output): Use
32664 new locale_file interface.
32665 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32666 * locale/programs/ld-messages.c (messages_output): Likewise.
32667 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32668 * locale/programs/ld-name.c (name_output): Likewise.
32669 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32670 * locale/programs/ld-paper.c (paper_output): Likewise.
32671 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32672 * locale/programs/ld-time.c (time_output): Likewise.
32673
32674 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32675
32676 * benchtests/Makefile: Add memrchr benchmark.
32677 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32678 benchmark as memrchr.
32679 * benchtests/bench-memrchr-ifunc.c: New file.
32680 * benchtests/bench-memrchr.c: New file.
32681
32682 2013-09-06 Will Newton <will.newton@linaro.org>
32683
32684 * benchtests/Makefile (string-bench): Add memcpy.
32685
32686 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32687 Cong Wang <amwang@redhat.com>
32688
32689 [BZ #15850]
32690 * sysdeps/unix/sysv/linux/bits/in.h
32691 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32692 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32693 before __USE_KERNEL_IPV6_DEFS uses.
32694 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32695 IPPROTO_BEETPH.
32696 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32697 sockaddr_in6, or ipv6_mreq.
32698
32699 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32700
32701 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32702 memory access for final bytes in some large inputs.
32703 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32704
32705 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32706
32707 * string/test-memrchr.c: New file.
32708 * string/test-memrchr-ifunc.c: New file.
32709 * string/Makefile: Add new memrchr testcase.
32710
32711 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32712
32713 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32714 fanotify_init returns EPERM.
32715
32716 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32717
32718 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32719 errors.
32720 (top level): Treat second token from macro or constant entries for
32721 allowed headers as allowed.
32722 * include/complex.h: Condition internal declarations on
32723 [!_ISOMAC].
32724 * include/fenv.h: Condition include of <stdbool.h> and internal
32725 declarations on [!_ISOMAC].
32726
32727 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32728
32729 [BZ #15923]
32730 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32731
32732 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32733
32734 * configure.in (--enable-versioning): Remove configure option.
32735 (libc_cv_asm_symver_directive): Remove configure test.
32736 (libc_cv_ld_version_script_option): Likewise.
32737 (VERSIONING): Remove variable and AC_SUBST.
32738 (DO_VERSIONING): Remove AC_DEFINE.
32739 * configure: Regenerated.
32740 * config.h.in (DO_VERSIONING): Remove macro.
32741 * Makerules [$(versioning) = yes]: Change conditionals to
32742 [$(build-shared) = yes].
32743 * config.make.in (versioning): Remove variable.
32744 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32745 [$(build-shared) = yes].
32746 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32747 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32748 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32749 [$(build-shared) = yes].
32750 * extra-lib.mk [$(versioning) = yes]: Likewise.
32751 * hurd/Makefile [$(versioning) = yes]: Likewise.
32752 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32753 [SHARED].
32754 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32755 [SHARED].
32756 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32757 [SHARED && !NO_HIDDEN].
32758 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32759 [SHARED].
32760 [SHARED && DO_VERSIONING]: Likewise..
32761 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32762 [$(build-shared) = yes].
32763 * manual/install.texi (--disable-versioning): Remove
32764 documentation.
32765 * INSTALL: Regenerated.
32766 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32767 to [SHARED].
32768 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32769 [$(build-shared) = yes].
32770 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32771 * sysdeps/i386/i686/multiarch/strstr-c.c
32772 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32773 [SHARED && !NO_HIDDEN].
32774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32775 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32776 * sysdeps/powerpc/powerpc32/dl-machine.c
32777 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32778 * sysdeps/powerpc/powerpc32/sysdep.h
32779 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32780 to [SHARED && PIC && !NO_HIDDEN].
32781 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32782 conditional to [SHARED].
32783
32784 2013-09-04 Will Newton <will.newton@linaro.org>
32785
32786 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32787 * benchtests/bench-string.h: Include bench-timing.h instead
32788 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32789 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32790 call to HP_TIMING_DIFF_INIT.
32791 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32792 instead of hp-timing.h macros.
32793 * benchtests/bench-memchr.c: Likewise.
32794 * benchtests/bench-memcmp.c: Likewise.
32795 * benchtests/bench-memcpy.c: Likewise.
32796 * benchtests/bench-memmem.c: Likewise.
32797 * benchtests/bench-memmove.c: Likewise.
32798 * benchtests/bench-memset.c: Likewise.
32799 * benchtests/bench-rawmemchr.c: Likewise.
32800 * benchtests/bench-strcasecmp.c: Likewise.
32801 * benchtests/bench-strcasestr.c: Likewise.
32802 * benchtests/bench-strcat.c: Likewise.
32803 * benchtests/bench-strchr.c: Likewise.
32804 * benchtests/bench-strcmp.c: Likewise.
32805 * benchtests/bench-strcpy.c: Likewise.
32806 * benchtests/bench-strcpy_chk.c: Likewise.
32807 * benchtests/bench-strlen.c: Likewise.
32808 * benchtests/bench-strncasecmp.c: Likewise.
32809 * benchtests/bench-strncat.c: Likewise.
32810 * benchtests/bench-strncmp.c: Likewise.
32811 * benchtests/bench-strncpy.c: Likewise.
32812 * benchtests/bench-strnlen.c: Likewise.
32813 * benchtests/bench-strpbrk.c: Likewise.
32814 * benchtests/bench-strrchr.c: Likewise.
32815 * benchtests/bench-strspn.c: Likewise.
32816 * benchtests/bench-strstr.c: Likewise.
32817
32818 2013-09-04 Will Newton <will.newton@linaro.org>
32819
32820 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32821
32822 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32823
32824 [BZ #15427]
32825 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32826 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32827 * math/libm-test.inc (lgamma_test_data): Add more tests.
32828 * sysdeps/i386/fpu/libm-test-ulps: Update.
32829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32830
32831 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32832
32833 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32834 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32835 Add ifunc.
32836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32837 Add strcmp-sse2-unaligned
32838 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32839
32840 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32841
32842 * Versions.def (libc): Add GLIBC_2.19.
32843
32844 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32845
32846 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32847 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32848
32849 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32850
32851 [BZ #14155]
32852 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32853 intermediate calculations in recurrence.
32854 (__ieee754_ynf): Likewise.
32855 * math/libm-test.inc (jn_test_data): Do not allow spurious
32856 underflow exception. Add more tests.
32857 (yn_test_data): Add more tests.
32858 * sysdeps/i386/fpu/libm-test-ulps: Update.
32859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32860
32861 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32862
32863 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32864
32865 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32866
32867 * csu/init-first.c: Fix then/than typos.
32868 * locale/programs/ld-collate.c: Likewise.
32869 * locale/programs/linereader.h: Likewise.
32870 * manual/charset.texi: Likewise.
32871 * manual/filesys.texi: Likewise.
32872 * manual/stdio.texi: Likewise.
32873 * manual/string.texi: Likewise.
32874 * stdlib/fmtmsg.c: Likewise.
32875 * sysdeps/i386/stpncpy.S: Likewise.
32876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32877 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32879 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32880
32881 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32882
32883 * elf/dl-open.c: Fix typos.
32884 * iconvdata/gbbig5.c: Likewise.
32885 * iconvdata/iso-2022-jp.c: Likewise.
32886 * iconv/gconv_int.h: Likewise.
32887 * iconv/loop.c: Likewise.
32888 * nis/rpcsvc/nis.h: Likewise.
32889 * resolv/ns_name.c: Likewise.
32890 * stdio-common/vfscanf.c: Likewise.
32891 * streams/stropts.h: Likewise.
32892 * sunrpc/rpc_thread.c: Likewise.
32893 * sysdeps/i386/strpbrk.S: Likewise.
32894 * sysdeps/ieee754/k_standard.c: Likewise.
32895 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32897 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32898 * sysdeps/mach/hurd/profil.c: Likewise.
32899 * sysdeps/s390/dl-procinfo.h: Likewise.
32900 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32901 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32902 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32903 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32904 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32905
32906 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32907
32908 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32910
32911 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32912
32913 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32914 aix specific files.
32915 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32916 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32917 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32918 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32919 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32920 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32921 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32922 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32923
32924 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32925 Roland McGrath <roland@hack.frob.com>
32926
32927 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32928 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32929
32930 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32931
32932 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32933 __executable_start symbol instead of _start.
32934
32935 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32936
32937 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32938 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32939 Move macros to...
32940 * sysdeps/gnu/ldsodefs.h: ... this new file.
32941
32942 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32943 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32944 instead of ELFOSABI_LINUX.
32945
32946 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32947 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32948 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32949 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32950 Likewise.
32951 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32952 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32953 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32954 Likewise.
32955 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32956 (ibm_extended_long_double): Add ieee_nan member.
32957 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32958 (do_test): New function.
32959
32960 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32961 TEST_TRUNC.
32962 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32963 functions, renamed from truncdfsf_test, trunctfsf_test,
32964 trunctfdf_test.
32965 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32966 functions.
32967 (do_test): Run all these.
32968
32969 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32970
32971 * argp/argp-help.c: Fix typos.
32972 * argp/argp-parse.c: Likewise.
32973 * debug/backtracesyms.c: Likewise.
32974 * elf/elf.h: Likewise.
32975 * malloc/malloc.c: Likewise.
32976 * nis/nis_print.c: Likewise.
32977 * resolv/res_comp.c: Likewise.
32978 * stdlib/stdlib.h: Likewise.
32979 * sunrpc/clnt_tcp.c: Likewise.
32980 * sunrpc/clnt_udp.c: Likewise.
32981 * sunrpc/clnt_unix.c: Likewise.
32982 * sysdeps/unix/bsd/ptsname.c: Likewise.
32983 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32984 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32986 Likewise.
32987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32988 Likewise.
32989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32990 Likewise.
32991 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32992
32993 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32994
32995 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32997
32998 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32999
33000 [BZ #15897]
33001 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33002 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33003 ($(objpfx)bug-dl-leaf): New rule.
33004 ($(objpfx)bug-dl-leaf.so): Likewise.
33005 ($(objpfx)bug-dl-leaf.out): Likewise.
33006 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33007 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33008 * dlfcn/bug-dl-leaf.c: New test.
33009 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33010 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33011 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33012 (dlclose): Likewise.
33013 (dlmopen): Likewise.
33014
33015 2013-08-27 Roland McGrath <roland@hack.frob.com>
33016
33017 * include/netdb.h [!_ISOMAC]:
33018 Don't include <tls.h>.
33019 (h_errno, __libc_h_errno): Move declaration and macros out of
33020 [_LIBC_REENTRANT].
33021
33022 * include/resolv.h [_RESOLV_H_]:
33023 Don't include <tls.h>.
33024 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33025 * resolv/res_libc.c: Don't include <tls.h>.
33026 (_res): Use __attribute__ ((nocommon)) in place of
33027 __attribute__ ((section (".bss"))).
33028
33029 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33030 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33031
33032 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33033
33034 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33035 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33036
33037 * resolv/res_mkquery.c: Include <sys/time.h>.
33038
33039 * inet/ifreq.c: Moved to ...
33040 * sysdeps/unix/ifreq.c: ... here.
33041 * inet/ifreq.c: New file, true stub version.
33042
33043 * socket/sa_len.c: New file.
33044 * socket/Makefile (aux): Add it.
33045 * sysdeps/unix/sysv/linux/Makefile
33046 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33047 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33048 and #include <socket/sa_len.c>.
33049 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33050 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33051
33052 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33053 * bits/socket.h: ... here.
33054
33055 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33056 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33057 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33058
33059 2013-08-27 Andreas Schwab <schwab@suse.de>
33060
33061 [BZ #15736]
33062 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33063 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33064 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33065 * string/test-strcasecmp.c (test_main): Run tests in several
33066 locales.
33067 * string/test-strncasecmp.c (test_main): Likewise.
33068
33069 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33070 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33071 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33073 (__strncasecmp_ssse3) [PIC]: Likewise.
33074
33075 2013-08-26 Roland McGrath <roland@hack.frob.com>
33076
33077 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33078
33079 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33080 instead of explicitly declaring xdecrypt.
33081 * nis/nss_nis/nis-publickey.c: Likewise.
33082
33083 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33084
33085 [BZ #15890]
33086 * nscd/aicache.c: Include res_hconf.h.
33087 (addhstaiX): Initialize res_hconf.
33088
33089 2013-08-26 Andreas Schwab <schwab@suse.de>
33090
33091 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33092 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33093
33094 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33095
33096 * nscd/aicache.c (addhstaiX): Fix indentation.
33097
33098 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33099
33100 * configure.ac: Quote $build_pt_chown test.
33101 * configure: Regenerated.
33102
33103 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33104
33105 [BZ #15532]
33106 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33107 * math/s_cexpf.c (__cexpf): Likewise.
33108 * math/s_cexpl.c (__cexpl): Likewise.
33109 * math/libm-test.inc (cexp_test_data): Correct expected return
33110 value for NaN + i0. Add another test.
33111
33112 2013-08-22 David S. Miller <davem@davemloft.net>
33113
33114 * po/ca.po: Update Catalan translation from translation project.
33115 * po/uk.po: Add Ukrainian translations from translation project.
33116
33117 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33118
33119 [BZ #15797]
33120 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33121 is infinite, not alongside NaN test.
33122 * math/s_fdimf.c (__fdimf): Likewise.
33123 * math/s_fdiml.c (__fdiml): Likewise.
33124 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33125 errno is unchanged.
33126
33127 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33128
33129 * argp/argp-help.c: Fix typos.
33130 * crypt/speeds.c: Likewise.
33131 * csu/check_fds.c: Likewise.
33132 * elf/dl-load.c: Likewise.
33133 * elf/dl-open.c: Likewise.
33134 * elf/reldep3.c: Likewise.
33135 * elf/reldep.c: Likewise.
33136 * elf/sprof.c: Likewise.
33137 * iconv/iconv_charmap.c: Likewise.
33138 * iconv/skeleton.c: Likewise.
33139 * iconv/strtab.c: Likewise.
33140 * io/lockf64.c: Likewise.
33141 * libio/libioP.h: Likewise.
33142 * resolv/gai_notify.c: Likewise.
33143 * resolv/ns_name.c: Likewise.
33144 * resolv/ns_samedomain.c: Likewise.
33145 * resolv/res_send.c: Likewise.
33146 * stdlib/random.c: Likewise.
33147 * sunrpc/rpc/xdr.h: Likewise.
33148 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33149 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33150 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33151 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33152 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33153 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33155 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33156 * sysdeps/mach/hurd/check_fds.c: Likewise.
33157 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33158 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33159 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33161 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33162 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33163 * sysdeps/pthread/aio_notify.c: Likewise.
33164 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33165 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33166 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33168 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33169
33170 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33171
33172 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33173 version if bit_Slow_SSE4_2 is set.
33174 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33175 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33176
33177 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33178
33179 [BZ #15867]
33180 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33181 trampoline stack frame information.
33182 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33184 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33185 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33186 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33187 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33188 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33189 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33190 sa_flags value.
33191 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33192 interrupting a syscall and set with option SA_SIGINFO.
33193
33194 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33195
33196 [BZ #15531]
33197 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33198 argument is infinite.
33199 * math/s_cprojf.c (__cprojf): Likewise.
33200 * math/s_cprojl.c (__cprojl): Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33202 * math/libm-test.inc (cproj_test_data): Add more tests.
33203
33204 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33205
33206 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33207 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33208 size. Use __ffs to determine corresponding shift.
33209
33210 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33211 Roland McGrath <roland@hack.frob.com>
33212
33213 * Makefile (INSTALL): Remove trailing blank lines from output of
33214 makeinfo.
33215
33216 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33217
33218 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33219 Align 32 bit compat elf_greg to 8 bytes.
33220
33221 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33222
33223 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33224
33225 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33226
33227 * string/strcoll_l.c (coll_seq): New structure.
33228 (get_next_seq_cached): New function.
33229 (get_next_seq): New function.
33230 (do_compare): New function.
33231 (STRCOLL): Use GNU style definition. Simplify implementation
33232 by using get_next_seq, get_next_seq_cached and do_compare.
33233
33234 2013-08-16 Florian Weimer <fweimer@redhat.com>
33235
33236 [BZ #14699]
33237 CVE-2013-4237
33238 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33239 member.
33240 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33241 member.
33242 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33243 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33244 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33245 conditional.
33246 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33247 GETDENTS_64BIT_ALIGNED.
33248 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33249 * manual/filesys.texi (Reading/Closing Directory): Document
33250 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33251 strongly.
33252 * manual/conf.texi (Limits for Files): Add portability note to
33253 NAME_MAX, PATH_MAX.
33254 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33255
33256 2013-08-13 Andreas Schwab <schwab@suse.de>
33257
33258 [BZ #15749]
33259 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33260 of fabs.
33261 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33262 LDBL_MAX_EXP >= 16384]: Add tests for it.
33263
33264 2013-08-12 David S. Miller <davem@davemloft.net>
33265
33266 * version.h (RELEASE): Set to "development".
33267 (VERSION): Set to "2.18.90".
33268 * NEWS: Add 2.19 section.
33269
33270 2013-08-03 David S. Miller <davem@davemloft.net>
33271
33272 * po/ko.po: Update Korean translation from translation project.
33273
33274 2013-08-01 David S. Miller <davem@davemloft.net>
33275
33276 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33277 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33278 Bilka.
33279
33280 2013-07-30 David S. Miller <davem@davemloft.net>
33281
33282 * po/fr.po: Update French translation from translation project.
33283
33284 2013-07-28 David S. Miller <davem@davemloft.net>
33285
33286 * po/cs.po: Update Czech translation from translation project.
33287
33288 * po/sv.po: Update Swedish translation from translation project.
33289
33290 2013-07-27 David S. Miller <davem@davemloft.net>
33291
33292 * po/eo.po: Update Esperanto translation from translation project.
33293
33294 * po/vi.po: Update Vietnamese translation from translation project.
33295
33296 * po/de.po: Update German translation from translation project.
33297
33298 2013-07-26 David S. Miller <davem@davemloft.net>
33299
33300 * po/bg.po: Update Bulgarian translation from translation project.
33301
33302 * po/nl.po: Update Dutch translation from translation project.
33303 * po/pl.po: Update Polish translation from translation project.
33304 * po/ru.po: Update Russian translation from translation project.
33305
33306 2013-07-24 David S. Miller <davem@davemloft.net>
33307
33308 * po/libc.pot: Update.
33309
33310 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33311
33312 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33313 variable page size.
33314 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33315 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33316 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33317
33318 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33319
33320 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33321
33322 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33323 Andreas Schwab <schwab@suse.de>
33324 Roland McGrath <roland@hack.frob.com>
33325 Joseph Myers <joseph@codesourcery.com>
33326 Carlos O'Donell <carlos@redhat.com>
33327
33328 [BZ #15755]
33329 * config.h.in: Define HAVE_PT_CHOWN.
33330 * config.make.in (build-pt-chown): New variable.
33331 * configure.in (--enable-pt_chown): New configure option.
33332 * configure: Regenerate.
33333 * login/Makefile: Include Makeconfig. Build pt_chown only if
33334 build-pt-chown is enabled.
33335 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33336 pt_chown to fix pty ownership.
33337 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33338 CLOSE_ALL_FDS.
33339 * manual/install.texi (Configuring and compiling): Mention
33340 --enable-pt_chown. Add @findex for grantpt.
33341 * INSTALL: Regenerate.
33342
33343 2013-07-20 David S. Miller <davem@davemloft.net>
33344
33345 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33346 difference between 32-bit and 64-bit.
33347
33348 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33349
33350 [BZ #15711]
33351 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33352 Avoid system header dependency with -ffreestanding.
33353 ($(objpfx)bits/syscall%d): Likewise.
33354
33355 2013-07-13 David S. Miller <davem@davemloft.net>
33356
33357 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33358 underflows from atanl/atan2l due to bug 15319.
33359 (casinh_test_data): Likewise.
33360
33361 2013-07-07 David S. Miller <davem@davemloft.net>
33362
33363 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33364
33365 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33366
33367 * sysdeps/i386/fpu/libm-test-ulps: Update.
33368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33369
33370 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33371
33372 * configure.in (--enable-lock-elision): Fix message text.
33373 * INSTALL: Regenerate.
33374 * configure: Regenerate.
33375
33376 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33377
33378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33379
33380 2013-07-03 Andreas Jaeger <aj@suse.de>
33381
33382 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33383 define.
33384 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33385 (ptrace_peeksiginfo_args): Add.
33386 (__ptrace_peeksiginfo_flags): Add.
33387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33390
33391 2013-07-03 Allan McRae <allan@archlinux.org>
33392
33393 * sysdeps/i386/fpu/libm-test-ulps: Update.
33394
33395 2013-07-02 David S. Miller <davem@davemloft.net>
33396
33397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33398
33399 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33400
33401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33402
33403 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33404
33405 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33407
33408 2013-07-02 Andi Kleen <ak@linux.intel.com>
33409
33410 * config.h.in (ENABLE_LOCK_ELISION): Add.
33411 * configure.in (--enable-lock-elision): Add option.
33412 * manual/install.texi: Document --enable lock elision.
33413 * configure: Regenerate
33414 * INSTALL: Regenerate.
33415
33416 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33417
33418 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33419 SSE4.2 strcasecmp for libc.a.
33420 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33421
33422 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33423
33424 [BZ #13304]
33425 * soft-fp/op-common.h (_FP_FMA): New macro.
33426 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33427 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33428 (_FP_MUL_MEAT_1_imm): ... here.
33429 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33430 (_FP_MUL_MEAT_1_wide): ... here.
33431 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33432 (_FP_MUL_MEAT_1_hard): ... here.
33433 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33434 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33435 (_FP_MUL_MEAT_2_wide): ... here.
33436 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33437 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33438 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33439 (_FP_MUL_MEAT_2_gmp): ... here.
33440 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33441 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33442 (_FP_MUL_MEAT_4_wide): ... here.
33443 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33444 (_FP_MUL_MEAT_4_gmp): ... here.
33445 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33446 (_FP_WFRACBITS_DW_S): Likewise.
33447 (_FP_WFRACXBITS_DW_S): Likewise.
33448 (_FP_HIGHBIT_DW_S): Likewise.
33449 (FP_FMA_S): Likewise.
33450 (_FP_FRAC_HIGH_DW_S): Likewise.
33451 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33452 (_FP_WFRACBITS_DW_D): Likewise.
33453 (_FP_WFRACXBITS_DW_D): Likewise.
33454 (_FP_HIGHBIT_DW_D): Likewise.
33455 (FP_FMA_D): Likewise.
33456 (_FP_FRAC_HIGH_DW_D): Likewise.
33457 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33458 (_FP_WFRACBITS_DW_E): Likewise.
33459 (_FP_WFRACXBITS_DW_E): Likewise.
33460 (_FP_HIGHBIT_DW_E): Likewise.
33461 (FP_FMA_E): Likewise.
33462 (_FP_FRAC_HIGH_DW_E): Likewise.
33463 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33464 (_FP_WFRACBITS_DW_Q): Likewise.
33465 (_FP_WFRACXBITS_DW_Q): Likewise.
33466 (_FP_HIGHBIT_DW_Q): Likewise.
33467 (FP_FMA_Q): Likewise.
33468 (_FP_FRAC_HIGH_DW_Q): Likewise.
33469 * soft-fp/fmasf4.c: New file.
33470 * soft-fp/fmadf4.c: Likewise.
33471 * soft-fp/fmatf4.c: Likewise.
33472
33473 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33474
33475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33476 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33477 Silvermont.
33478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33479 macro.
33480 (index_Slow_SSE4_2): Likewise.
33481 (index_Prefer_PMINUB_for_stringop): Likewise.
33482 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33483 bit_Slow_SSE4_2 is set.
33484 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33485 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33486
33487 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33488
33489 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33490 rtld_global._dl_hwcap2.
33491 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33492 POWER8.
33493 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33494 POWER8 feature descriptions defined in _dl_hwcap2.
33495 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33496 string handling for POWER8 feature bits.
33497 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33498 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33499 _dl_powerpc_cap_flags.
33500 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33501 * sysdeps/powerpc/rtld-global-offsets.sym
33502 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33503 _dl_hwcap2 in the rtld_global_ro structure.
33504
33505 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33506
33507 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33508 hardware capabilities in support of AT_HWCAP2.
33509 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33510 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33511 GLRO(dl_hwcap2).
33512 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33513 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33514 explicitly the unknown a_type display mechanism is used.
33515 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33516 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33517 struct member.
33518 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33519 to macro prototype for AT_HWCAP2 support.
33520 * sysdeps/i386/dl-procinfo.h: Likewise.
33521 * sysdeps/s390/dl-procinfo.h: Likewise.
33522 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33523 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33524 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33525 return -1 for unknown a_type display fallback.
33526 * sysdeps/sparc/dl-procinfo.h: Likewise.
33527 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33528 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33529
33530 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33531
33532 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33533 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33534
33535 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33536
33537 [BZ #12492]
33538 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33539 mprotect making __stack_prot writable.
33540
33541 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33542 Joseph Myers <joseph@codesourcery.com>
33543
33544 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33545 as being properly aligned.
33546
33547 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33548
33549 * dlfcn/modstatic5.c: New file.
33550 * dlfcn/tststatic5.c: New file.
33551 * dlfcn/Makefile (tests): Add tststatic5.
33552 (tests-static): Likewise.
33553 (modules-names): Add modstatic5.
33554 (tststatic5-ENV): New variable.
33555 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33556
33557 [BZ #15022]
33558 * elf/dl-support.c (_dl_main_map): New variable.
33559 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33560 (_dl_nns, _dl_load_adds): Set to 1.
33561 (_dl_initial_searchlist): Refer to _dl_main_map.
33562 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33563 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33564 call to _dl_get_origin.
33565 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33566 around call_map.
33567 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33568 * dlfcn/modstatic3.c: New file.
33569 * dlfcn/tststatic3.c: New file.
33570 * dlfcn/tststatic4.c: New file.
33571 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33572 (tests-static): Likewise.
33573 (modules-names): Add modstatic3.
33574 (tststatic3-ENV, tststatic4-ENV): New variables.
33575 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33576 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33577
33578 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33579
33580 * configure.in (CC): Require GCC version 4.4 or later.
33581 * configure: Regenerated.
33582 * manual/install.texi (Tools for Compilation): Update GCC version
33583 requirement.
33584 * INSTALL: Regenerated.
33585
33586 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33587
33588 [BZ #15674]
33589 * string/test-memcmp.c (check2): New.
33590 (main): Call check2.
33591
33592 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33593
33594 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33595
33596 [BZ #15022]
33597 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33598 over to...
33599 (dl_open_worker) [!SHARED]: ... here.
33600
33601 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33602
33603 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33604
33605 2013-06-25 Richard Henderson <rth@redhat.com>
33606
33607 * locale/programs/locarchive.c: Include <libc-internal.h>
33608
33609 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33610
33611 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33612 trailing whitespace removed.
33613
33614 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33615
33616 [BZ #10283]
33617 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33618 * locale/programs/locarchive.c: Include libc-mmap.h.
33619 (prepare_address_space): Take two new outputs (the mmap base and len).
33620 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33621 values.
33622 (create_archive): Declare new mmap base and len values for
33623 prepare_address_space, and store the result in ah.
33624 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33625 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33626 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33627 Declare new mmap base and len values for
33628 prepare_address_space, and store the result in new_ah.
33629 (open_archive): Declare new mmap base and len values for
33630 prepare_address_space, and store the result in ah.
33631 (close_archive): If ah->mmap_base is not NULL, use that and
33632 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33633 * sysdeps/generic/libc-mmap.h: New file.
33634
33635 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33636
33637 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33638 (ALIGN_UP): Likewise.
33639 (PTR_ALIGN_DOWN): Likewise.
33640 (PTR_ALIGN_UP): Likewise.
33641
33642 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33643
33644 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33645 entry mapped to PPC_PLATFORM_POWER8.
33646 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33647 POWER8.
33648 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33649 (_dl_string_platform): Add case for exporting platform position for
33650 POWER8.
33651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33652 search path to sysdeps/powerpc/powerpc32/power8 directory.
33653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33654 search path to sysdeps/powerpc/powerpc64/power8 directory.
33655 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33656 power7 directories.
33657 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33658 power7 directories.
33659
33660 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33661
33662 * INSTALL: Regenerate.
33663
33664 * nscd/connections.c (nscd_init): Fix comment.
33665
33666 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33667
33668 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33669
33670 [BZ #15667]
33671 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33672 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33673
33674 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33675
33676 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33677 DL_DST_REQ_STATIC.
33678 (DL_DST_REQ_STATIC): Remove macro.
33679
33680 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33681
33682 [BZ #7006]
33683 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33684 with a shift of 0 bits.
33685
33686 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33687
33688 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33689 $(tststatic-ENV).
33690
33691 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33692
33693 [BZ #15655]
33694 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33695
33696 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33697
33698 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33699 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33700 accepts -fno-tree-loop-distribute-patterns.
33701 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33702 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33703 recursive call.
33704 * string/memset.c (memset): Likewise.
33705 * string/test-memmove.c (simple_memmove): Disable loop transformation
33706 to library calls.
33707 * string/test-memset.c (simple_memset): Likewise.
33708 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33709 * benchtests/bench-memset.c (simple_memset): Likewise.
33710 * configure: Regenerated.
33711
33712 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33713
33714 * math/test-misc.c (main): Ignore fesetround failure when failures
33715 of subsequent rounding tests would be ignored.
33716
33717 [BZ #15654]
33718 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33719 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33720 * math/fegetenv.c (__fegetenv): Return 0.
33721 * math/fegetexcept.c (fegetexcept): Return 0.
33722 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33723 FE_TONEAREST.
33724 * math/feholdexcpt.c (feholdexcept): Return 0.
33725 * math/fesetenv.c (__fesetenv): Return 0.
33726 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33727 argument FE_TONEAREST.
33728 * math/feupdateenv.c (__feupdateenv): Return 0.
33729 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33730
33731 2013-06-18 Roland McGrath <roland@hack.frob.com>
33732
33733 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33734 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33735 ($(objpfx)rtld-%.os rules): Use them.
33736
33737 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33738
33739 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33740 fields.
33741
33742 2013-06-17 Roland McGrath <roland@hack.frob.com>
33743
33744 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33745 length of target pattern, then descending length of dependency pattern.
33746 * configure.in (AWK): Require gawk 3.1.2 or newer.
33747 * manual/install.texi (Tools for Compilation): Say that we do.
33748 * configure: Regenerated.
33749
33750 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33751 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33752 * scripts/sysd-rules.awk: ... this new script.
33753 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33754 than a glob-style pattern.
33755
33756 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33757
33758 * math/test-misc.c (main): Do not treat incorrectly rounded
33759 conversions as failure unless ROUNDING_TESTS passes.
33760
33761 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33762
33763 [BZ #15631]
33764 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33765 restore exception state around main square root computation, then
33766 check for inexactness explicitly.
33767
33768 * math/libm-test.inc (fma_test_data): Add another test.
33769
33770 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33771
33772 * manual/threads.texi (Non-POSIX Extensions): New document
33773 node. Document pthread_getattr_default_np and
33774 pthread_setattr_default_np.
33775
33776 * Versions.def (libpthread): Add GLIBC_2.18.
33777 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33779 Likewise.
33780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33781 Likewise.
33782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33783 Likewise.
33784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33785 Likewise.
33786 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33787 Likewise.
33788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33789 Likewise.
33790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33791 Likewise.
33792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33793 Likewise.
33794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33795 Likewise.
33796
33797 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33798
33799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33800 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33801
33802 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33803 H.J. Lu <hjl.tools@gmail.com>
33804
33805 [BZ #15627]
33806 * sysdeps/x86_64/rtld-memset.c: Remove file.
33807 * sysdeps/x86_64/rtld-memset.S: New file.
33808
33809 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33810
33811 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33812 (test_in_one_mode): Take arguments for whether the rounding mode
33813 is supported for each floating-point type.
33814 (do_test): Pass new arguments to test_in_one_mode using
33815 ROUNDING_TESTS.
33816
33817 2013-06-13 Roland McGrath <roland@hack.frob.com>
33818
33819 * posix/tst-waitid.c (do_test): Distinguish different instances of
33820 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33821 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33822 before entering the kernel for waitpid.
33823
33824 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33825
33826 * NEWS: Fix note on clock function precision. Text by Roland
33827 McGrath.
33828
33829 2013-06-13 Roland McGrath <roland@hack.frob.com>
33830
33831 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33832 it into place only when and if the sanity check passes.
33833
33834 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33835
33836 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33837 output for whether conversion result is exact. Take argument
33838 indicating whether type is IBM long double.
33839 (round_for_all): Change need_exact field to ibm_ld.
33840 * stdlib/tst-strtod-round.c (struct exactness): New type.
33841 (struct test): Change bool ld_ok field to struct exactness exact.
33842 (TEST): Update all definitions for change to field.
33843 (tests): Regenerate array contents.
33844 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33845 field value. Check for IBM long double here.
33846 (do_test): Update calls to test_in_one_mode.
33847
33848 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33849
33850 [BZ #12515]
33851 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33852 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33853
33854 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33855
33856 [BZ #15605]
33857 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33858 generated by the compiler on loop optimizations.
33859 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33860 general definitions.
33861
33862 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33863
33864 * math/bug-nextafter.c: Include <math-tests.h>.
33865 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33866 the relevant type.
33867 * math/bug-nexttoward.c: Include <math-tests.h>.
33868 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33869 the relevant type.
33870 * math/test-misc.c: Include <math-tests.h>.
33871 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33872 the relevant type.
33873
33874 2013-06-12 Andreas Jaeger <aj@suse.de>
33875
33876 * po/ia.po: Update Interlingua translation from translation
33877 project.
33878
33879 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33880
33881 * include/fenv.h: Include stdbool.h.
33882 (struct rm_ctx): New structure.
33883 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33884 Define macro.
33885 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33886 (SET_RESTORE_ROUNDF): Likewise.
33887 (SET_RESTORE_ROUNDL): Likewise.
33888 (SET_RESTORE_ROUND_NOEX): Likewise.
33889 (SET_RESTORE_ROUND_NOEXF): Likewise.
33890 (SET_RESTORE_ROUND_NOEXL): Likewise.
33891 (SET_RESTORE_ROUND_53BIT): Likewise.
33892 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33893 (libc_feresetround_noexf_ctx): Likewise.
33894 (libc_feresetround_noexl_ctx): Likewise.
33895 (libc_feholdsetround_53bit_ctx): Likewise.
33896 (libc_feresetround_53bit_ctx): Likewise.
33897 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33898 (libc_feholdexcept_setround_sse_ctx): New function.
33899 (libc_fesetenv_sse_ctx): Likewise.
33900 (libc_feupdateenv_sse_ctx): Likewise.
33901 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33902 (libc_feholdexcept_setround_387_ctx): Likewise.
33903 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33904 (libc_feholdsetround_387_prec_ctx): Likewise.
33905 (libc_feholdsetround_387_ctx): Likewise.
33906 (libc_feholdsetround_387_53bit_ctx): Likewise.
33907 (libc_feholdsetround_sse_ctx): Likewise.
33908 (libc_feresetround_sse_ctx): Likewise.
33909 (libc_feresetround_387_ctx): Likewise.
33910 (libc_feupdateenv_387_ctx): Likewise.
33911 (libc_feholdexcept_setroundf_ctx): Define macro.
33912 (libc_fesetenvf_ctx): Likewise.
33913 (libc_feupdateenvf_ctx): Likewise.
33914 (libc_feholdsetroundf_ctx): Likewise.
33915 (libc_feresetroundf_ctx): Likewise.
33916 (libc_feholdexcept_setround_ctx): Likewise.
33917 (libc_fesetenv_ctx): Likewise.
33918 (libc_feupdateenv_ctx): Likewise.
33919 (libc_feholdsetround_ctx): Likewise.
33920 (libc_feresetround_ctx): Likewise.
33921 (libc_feholdexcept_setroundl_ctx): Likewise.
33922 (libc_feupdateenvl_ctx): Likewise.
33923 (libc_feholdsetroundl_ctx): Likewise.
33924 (libc_feresetroundl_ctx): Likewise.
33925 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33926 (libc_feresetround_53bit_ctx): Likewise.
33927
33928 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33929
33930 * locale/iso-639.def: Convert to UTF-8.
33931
33932 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33933
33934 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33935 (EXCEPTION_TESTS_double): Likewise.
33936 (EXCEPTION_TESTS_long_double): Likewise.
33937 (EXCEPTION_TESTS): Likewise.
33938 * math/libm-test.inc (test_exceptions): Only test exceptions if
33939 EXCEPTION_TESTS (FLOAT).
33940
33941 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33942
33943 * benchtests/Makefile (string-bench): Add strcpy_chk and
33944 stpcpy_chk.
33945 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33946 * benchtests/bench-stpcpy_chk.c: New file.
33947 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33948 * benchtests/bench-strcpy_chk.c: New file.
33949 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33950 code.
33951 (do_test): Likewise.
33952
33953 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33954
33955 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33956 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33957 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33958 with tabs where appropriate.
33959 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33960 dl-procinfo.h.
33961 [PPC_PLATFORM_PPC440]: Likewise.
33962 [PPC_PLATFORM_PPC464]: Likewise.
33963 [PPC_PLATFORM_PPC476]: Likewise.
33964 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33965 ppc464, and ppc476 platform strings merging from ports/
33966 dl-procinfo.h.
33967
33968 2013-06-11 Andreas Schwab <schwab@suse.de>
33969
33970 [BZ #14991]
33971 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33972 (from_ucs4_idx): Regenerate.
33973 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33974 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33975 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33976 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33977 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33978 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33979 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33980 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33981 from FROM_LOOP and TO_LOOP specific macros.
33982 (BODY): Handle combining characters.
33983 * iconvdata/BIG5HKSCS.irreversible: Update.
33984 * iconvdata/BIG5HKSCS.precomposed: New file.
33985 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33986 characters.
33987 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33988
33989 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33990
33991 * include/sys/time.h: Fix indentation and add copyright header.
33992
33993 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33994 (do_test): Likewise.
33995 * string/test-memchr.c (do_one_test): Likewise.
33996 (do_test): Likewise.
33997 * string/test-memcmp.c (do_one_test): Likewise.
33998 (do_test): Likewise.
33999 * string/test-memcpy.c (do_one_test): Likewise.
34000 (do_test): Likewise.
34001 * string/test-memmem.c (do_one_test): Likewise.
34002 (do_test): Likewise.
34003 (do_random_tests): Likewise.
34004 * string/test-memmove.c (do_one_test): Likewise.
34005 (do_test): Likewise.
34006 * string/test-memset.c (do_one_test): Likewise.
34007 (do_test): Likewise.
34008 * string/test-rawmemchr.c (do_one_test): Likewise.
34009 (do_test): Likewise.
34010 * string/test-strcasecmp.c (do_one_test): Likewise.
34011 (do_test): Likewise.
34012 * string/test-strcasestr.c (do_one_test): Likewise.
34013 (do_test): Likewise.
34014 * string/test-strcat.c (do_one_test): Likewise.
34015 (do_test): Likewise.
34016 * string/test-strchr.c (do_one_test): Likewise.
34017 (do_test): Likewise.
34018 * string/test-strcmp.c (do_one_test): Likewise.
34019 (do_test): Likewise.
34020 * string/test-strcpy.c (do_one_test): Likewise.
34021 (do_test): Likewise.
34022 * string/test-string.h: Likewise.
34023 (test_init): Likewise.
34024 * string/test-strlen.c (do_one_test): Likewise.
34025 (do_test): Likewise.
34026 * string/test-strncasecmp.c (do_one_test): Likewise.
34027 (do_test): Likewise.
34028 * string/test-strncat.c (do_one_test): Likewise.
34029 (do_test): Likewise.
34030 * string/test-strncmp.c (do_one_test): Likewise.
34031 (do_test_limit): Likewise.
34032 (do_test): Likewise.
34033 * string/test-strncpy.c (do_one_test): Likewise.
34034 (do_test): Likewise.
34035 * string/test-strnlen.c (do_one_test): Likewise.
34036 (do_test): Likewise.
34037 * string/test-strpbrk.c (do_one_test): Likewise.
34038 (do_test): Likewise.
34039 * string/test-strrchr.c (do_one_test): Likewise.
34040 (do_test): Likewise.
34041 * string/test-strspn.c (do_one_test): Likewise.
34042 (do_test): Likewise.
34043 * string/test-strstr.c (do_one_test): Likewise.
34044 (do_test): Likewise.
34045
34046 * benchtests/Makefile (string-bench): Add string benchmarks.
34047 * benchtests/bench-bcopy-ifunc.c: New file.
34048 * benchtests/bench-bcopy.c: New file.
34049 * benchtests/bench-bzero-ifunc.c: New file.
34050 * benchtests/bench-bzero.c: New file.
34051 * benchtests/bench-memccpy-ifunc.c: New file.
34052 * benchtests/bench-memccpy.c: New file.
34053 * benchtests/bench-memchr-ifunc.c: New file.
34054 * benchtests/bench-memchr.c: New file.
34055 * benchtests/bench-memcmp-ifunc.c: New file.
34056 * benchtests/bench-memcmp.c: New file.
34057 * benchtests/bench-memmem-ifunc.c: New file.
34058 * benchtests/bench-memmem.c: New file.
34059 * benchtests/bench-memmove-ifunc.c: New file.
34060 * benchtests/bench-memmove.c: New file.
34061 * benchtests/bench-mempcpy-ifunc.c: New file.
34062 * benchtests/bench-mempcpy.c: New file.
34063 * benchtests/bench-memset-ifunc.c: New file.
34064 * benchtests/bench-memset.c: New file.
34065 * benchtests/bench-rawmemchr-ifunc.c: New file.
34066 * benchtests/bench-rawmemchr.c: New file.
34067 * benchtests/bench-stpcpy-ifunc.c: New file.
34068 * benchtests/bench-stpcpy.c: New file.
34069 * benchtests/bench-stpncpy-ifunc.c: New file.
34070 * benchtests/bench-stpncpy.c: New file.
34071 * benchtests/bench-strcasecmp-ifunc.c: New file.
34072 * benchtests/bench-strcasecmp.c: New file.
34073 * benchtests/bench-strcasestr-ifunc.c: New file.
34074 * benchtests/bench-strcasestr.c: New file.
34075 * benchtests/bench-strcat-ifunc.c: New file.
34076 * benchtests/bench-strcat.c: New file.
34077 * benchtests/bench-strchr-ifunc.c: New file.
34078 * benchtests/bench-strchr.c: New file.
34079 * benchtests/bench-strchrnul-ifunc.c: New file.
34080 * benchtests/bench-strchrnul.c: New file.
34081 * benchtests/bench-strcmp-ifunc.c: New file.
34082 * benchtests/bench-strcmp.c: New file.
34083 * benchtests/bench-strcpy-ifunc.c: New file.
34084 * benchtests/bench-strcpy.c: New file.
34085 * benchtests/bench-strcspn-ifunc.c: New file.
34086 * benchtests/bench-strcspn.c: New file.
34087 * benchtests/bench-strlen-ifunc.c: New file.
34088 * benchtests/bench-strlen.c: New file.
34089 * benchtests/bench-strncasecmp-ifunc.c: New file.
34090 * benchtests/bench-strncasecmp.c: New file.
34091 * benchtests/bench-strncat-ifunc.c: New file.
34092 * benchtests/bench-strncat.c: New file.
34093 * benchtests/bench-strncmp-ifunc.c: New file.
34094 * benchtests/bench-strncmp.c: New file.
34095 * benchtests/bench-strncpy-ifunc.c: New file.
34096 * benchtests/bench-strncpy.c: New file.
34097 * benchtests/bench-strnlen-ifunc.c: New file.
34098 * benchtests/bench-strnlen.c: New file.
34099 * benchtests/bench-strpbrk-ifunc.c: New file.
34100 * benchtests/bench-strpbrk.c: New file.
34101 * benchtests/bench-strrchr-ifunc.c: New file.
34102 * benchtests/bench-strrchr.c: New file.
34103 * benchtests/bench-strspn-ifunc.c: New file.
34104 * benchtests/bench-strspn.c: New file.
34105 * benchtests/bench-strstr-ifunc.c: New file.
34106 * benchtests/bench-strstr.c: New file.
34107
34108 * benchtests/Makefile: Disable parallel execution of targets.
34109 (string-bench): Add memcpy.
34110 (benchset): New variable to store a list of benchmark sets.
34111 (bench-func): Renamed from bench.
34112 (bench-set): New target.
34113 (bench): Depend on bench-func and bench-set.
34114 * benchtests/README: Add section on benchmark sets.
34115 * benchtests/bench-memcpy-ifunc.c: New file.
34116 * benchtests/bench-memcpy.c: New file.
34117 * benchtests/bench-string.h: New file.
34118
34119 2013-06-11 Andreas Schwab <schwab@suse.de>
34120
34121 [BZ #15577]
34122 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34123 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34124 values in the triple.
34125 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34126 terminator in the group key.
34127
34128 2013-06-11 Andreas Jaeger <aj@suse.de>
34129
34130 * po/zh_TW.po: Update Chinese (traditional) translation from
34131 translation project.
34132
34133 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34134
34135 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34136 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34137 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34138 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34139 (clock_getcpuclockid): Likewise.
34140 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34141 Add weak_alias and libc_hidden_def.
34142 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34143 * rt/clock_gettime.c (clock_gettime): Rename to
34144 __clock_gettime. Add weak_alias and libc_hidden_def.
34145 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34146 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34147 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34148 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34149 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34150 Likewise.
34151 * rt/clock_settime.c (clock_settime): Rename to
34152 __clock_settime. Add weak_alias and libc_hidden_def.
34153 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34154
34155 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34156
34157 * mach/err_boot.sub: Remove trailing whitespace.
34158 * mach/err_ipc.sub: Likewise.
34159 * mach/err_mach.sub: Likewise.
34160
34161 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34162 (ROUNDING_TESTS_double): Likewise.
34163 (ROUNDING_TESTS_long_double): Likewise.
34164 (ROUNDING_TESTS): Likewise.
34165 * math/libm-test.inc: Include <math-tests.h>.
34166 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34167 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34168 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34169 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34170
34171 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34172
34173 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34174 of assigning.
34175
34176 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34177
34178 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34179 otherwise empty TRANS lines.
34180 * sysdeps/gnu/errlist.c: Regenerated.
34181
34182 * catgets/gencat.c (error_print): Use (void) in function
34183 definition.
34184 * crypt/crypt_util.c (__init_des): Likewise.
34185 * crypt/speeds.c (Stop): Likewise.
34186 (main): Likewise.
34187 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34188 * inet/ruserpass.c (token): Likewise.
34189 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34190 * intl/localealias.c (extend_alias_table): Likewise.
34191 * intl/plural-exp.c (init_germanic_plural): Likewise.
34192 * libio/fcloseall.c (__fcloseall): Likewise.
34193 * libio/genops.c (_IO_flush_all): Likewise.
34194 (_IO_flush_all_linebuffered): Likewise.
34195 (_IO_cleanup): Likewise.
34196 (_IO_iter_begin): Likewise.
34197 (_IO_iter_end): Likewise.
34198 (_IO_list_lock): Likewise.
34199 (_IO_list_unlock): Likewise.
34200 (_IO_list_resetlock): Likewise.
34201 * libio/getchar.c (getchar): Likewise.
34202 * libio/getchar_u.c (getchar_unlocked): Likewise.
34203 * libio/getwchar.c (getwchar): Likewise.
34204 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34205 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34206 * login/getpt.c (__getpt): Likewise.
34207 * login/tst-utmp.c (main): Likewise.
34208 * malloc/hooks.c (__malloc_check_init): Likewise.
34209 * malloc/malloc.c (__malloc_stats): Likewise.
34210 * malloc/mtrace.c (tr_break): Likewise.
34211 (mtrace): Likewise.
34212 (muntrace): Likewise.
34213 * misc/fstab.c (endfsent): Likewise.
34214 * misc/getclktck.c (__getclktck): Likewise.
34215 * misc/getdtsz.c (__getdtablesize): Likewise.
34216 * misc/gethostid.c (gethostid): Likewise.
34217 * misc/getpagesize.c (__getpagesize): Likewise.
34218 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34219 (__get_nprocs): Likewise.
34220 (__get_phys_pages): Likewise.
34221 (__get_avphys_pages): Likewise.
34222 * misc/getttyent.c (getttyent): Likewise.
34223 (setttyent): Likewise.
34224 (endttyent): Likewise.
34225 * misc/getusershell.c (getusershell): Likewise.
34226 (endusershell): Likewise.
34227 (setusershell): Likewise.
34228 (initshells): Likewise.
34229 * misc/hsearch.c (__hdestroy): Likewise.
34230 * misc/sync.c (sync): Likewise.
34231 * misc/syslog.c (closelog_internal): Likewise.
34232 (closelog): Likewise.
34233 * misc/ttyslot.c (ttyslot): Likewise.
34234 * misc/vhangup.c (vhangup): Likewise.
34235 * posix/fork.c (__fork): Likewise.
34236 * posix/getegid.c (__getegid): Likewise.
34237 * posix/geteuid.c (__geteuid): Likewise.
34238 * posix/getgid.c (__getgid): Likewise.
34239 * posix/getpid.c (__getpid): Likewise.
34240 * posix/getppid.c (__getppid): Likewise.
34241 * posix/getuid.c (__getuid): Likewise.
34242 * posix/pause.c (pause): Likewise.
34243 * posix/setpgrp.c (setpgrp): Likewise.
34244 * posix/setsid.c (__setsid): Likewise.
34245 * posix/test-vfork.c (noop): Likewise.
34246 * resolv/gethnamaddr.c (_endhtent): Likewise.
34247 (_gethtent): Likewise.
34248 (ht_endhostent): Likewise.
34249 (gethostent): Likewise.
34250 (dns_service): Likewise.
34251 * stdlib/drand48.c (drand48): Likewise.
34252 * stdlib/lrand48.c (lrand48): Likewise.
34253 * stdlib/mrand48.c (mrand48): Likewise.
34254 * stdlib/rand.c (rand): Likewise.
34255 * stdlib/random.c (__random): Likewise.
34256 * stdlib/setenv.c (clearenv): Likewise.
34257 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34258 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34259 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34260 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34261 (__get_nprocs): Likewise.
34262 (__get_phys_pages): Likewise.
34263 (__get_avphys_pages): Likewise.
34264 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34265 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34266 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34267 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34268 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34269 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34270 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34271 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34272 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34273 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34274 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34275 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34276 * sysdeps/posix/clock.c (clock): Likewise.
34277 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34278 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34279 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34280 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34281 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34283 (__get_nprocs_conf): Likewise.
34284 (__get_phys_pages): Likewise.
34285 (__get_avphys_pages): Likewise.
34286 * time/clock.c (clock): Likewise.
34287 * time/tzset.c (__tzname_max): Likewise.
34288
34289 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34290
34291 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34292 (__bswap_32): Do not use "register".
34293 * crypt/crypt.c (_ufc_doit_r): Likewise.
34294 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34295 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34296 * gmon/gmon.c (__monstartup): Likewise.
34297 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34298 * hurd/hurdmalloc.c (more_memory): Likewise.
34299 (malloc): Likewise.
34300 (free): Likewise.
34301 (realloc): Likewise.
34302 (malloc_fork_prepare): Likewise.
34303 (malloc_fork_parent): Likewise.
34304 (malloc_fork_child): Likewise.
34305 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34306 (_svcauth_des): Likewise.
34307 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34308 * inet/inet_net.c (inet_network): Likewise.
34309 * inet/inet_netof.c (inet_netof): Likewise.
34310 * inet/rcmd.c (__validuser2_sa): Likewise.
34311 * io/fts.c (fts_open): Likewise.
34312 (fts_load): Likewise.
34313 (fts_close): Likewise.
34314 (fts_read): Likewise.
34315 (fts_children): Likewise.
34316 (fts_build): Likewise.
34317 (fts_stat): Likewise.
34318 (fts_sort): Likewise.
34319 (fts_alloc): Likewise.
34320 (fts_lfree): Likewise.
34321 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34322 (_IO_file_xsgetn): Likewise.
34323 (_IO_file_xsgetn_mmap): Likewise.
34324 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34325 (_IO_cookie_write): Likewise.
34326 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34327 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34328 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34329 * malloc/obstack.c (_obstack_begin): Likewise.
34330 (_obstack_begin_1): Likewise.
34331 (_obstack_newchunk): Likewise.
34332 (_obstack_allocated_p): Likewise.
34333 (obstack_free): Likewise.
34334 (_obstack_memory_used): Likewise.
34335 * misc/getttyent.c (getttynam): Likewise.
34336 (getttyent): Likewise.
34337 (skip): Likewise.
34338 (value): Likewise.
34339 * misc/getusershell.c (initshells): Likewise.
34340 * misc/syslog.c (__vsyslog_chk): Likewise.
34341 * misc/ttyslot.c (ttyslot): Likewise.
34342 * nis/nis_hash.c (__nis_hash): Likewise.
34343 * posix/fnmatch_loop.c (FCT): Likewise.
34344 * posix/getconf.c (print_all): Likewise.
34345 (main): Likewise.
34346 * posix/getopt.c (exchange): Likewise.
34347 * posix/glob.c (globfree): Likewise.
34348 (prefix_array): Likewise.
34349 (__glob_pattern_type): Likewise.
34350 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34351 (NS_GET32): Likewise.
34352 (NS_PUT16): Likewise.
34353 (NS_PUT32): Likewise.
34354 * resolv/gethnamaddr.c (getanswer): Likewise.
34355 (gethostbyname2): Likewise.
34356 (gethostbyaddr): Likewise.
34357 (_gethtent): Likewise.
34358 (_gethtbyname2): Likewise.
34359 (_gethtbyaddr): Likewise.
34360 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34361 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34362 * resolv/res_init.c (__res_vinit): Likewise.
34363 (net_mask): Likewise.
34364 * resolv/res_mkquery.c (outchar): Likewise.
34365 (PRINT): Likewise.
34366 * stdio-common/printf_fp.c (outchar): Likewise.
34367 (PRINT): Likewise.
34368 * stdio-common/printf_fphex.c (outchar): Likewise.
34369 (PRINT): Likewise.
34370 * stdio-common/printf_size.c (outchar): Likewise.
34371 (PRINT): Likewise.
34372 * stdio-common/test_rdwr.c (main): Likewise.
34373 * stdio-common/tfformat.c (matches): Likewise.
34374 * stdio-common/vfprintf.c (outchar): Likewise.
34375 (printf_unknown): Likewise.
34376 (buffered_vfprintf): Likewise.
34377 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34378 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34379 (ReadFile): Likewise.
34380 * stdlib/qsort.c (SWAP): Likewise.
34381 (_quicksort): Likewise.
34382 * stdlib/setenv.c (__add_to_environ): Likewise.
34383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34384 * stdlib/strtol_l.c (__strtol_l): Likewise.
34385 * stdlib/tst-strtod.c (main): Likewise.
34386 * stdlib/tst-strtol.c (main): Likewise.
34387 * stdlib/tst-strtoll.c (main): Likewise.
34388 * string/bits/string2.h (__strcmp_cc): Likewise.
34389 (__strcmp_cg): Likewise.
34390 (__strcspn_c1): Likewise.
34391 (__strcspn_c2): Likewise.
34392 (__strcspn_c3): Likewise.
34393 (__strspn_c1): Likewise.
34394 (__strspn_c2): Likewise.
34395 (__strspn_c3): Likewise.
34396 (__strsep_1c): Likewise.
34397 (__strsep_2c): Likewise.
34398 (__strsep_3c): Likewise.
34399 * string/memccpy.c (__memccpy): Likewise.
34400 * string/stpcpy.c (__stpcpy): Likewise.
34401 * string/strcmp.c (strcmp): Likewise.
34402 * string/strrchr.c (strrchr): Likewise.
34403 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34404 Likewise.
34405 * sysdeps/mach/hurd/getcwd.c
34406 (_hurd_canonicalize_directory_name_internal): Likewise.
34407 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34408 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34409 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34410 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34411 Likewise, in both definitions.
34412 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34413 definitions.
34414 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34415 64] (__bswap_64): Likewise.
34416 * time/test_time.c (main): Likewise.
34417 * time/tzfile.c (__tzfile_read): Likewise.
34418 (__tzfile_compute): Likewise.
34419 * time/tzset.c (__tzset_parse_tz): Likewise.
34420 (tzset_internal): Likewise.
34421 (compute_change): Likewise.
34422 * wcsmbs/wcscat.c (__wcscat): Likewise.
34423 * wcsmbs/wcschr.c (wcschr): Likewise.
34424 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34425 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34426 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34427 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34428 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34429 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34430 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34431 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34432 * wcsmbs/wmemset.c (wmemset): Likewise.
34433
34434 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34435
34436 * scripts/config.guess: Update to version 2013-05-16.
34437 * scripts/config.sub: Update to version 2013-04-24.
34438 * scripts/install-sh: Update to version 2011-11-20.07.
34439 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34440 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34441
34442 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34443
34444 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34445 * elf/sln.c: Likewise.
34446 * hurd/hurd/ioctl.h: Likewise.
34447 * hurd/hurdmalloc.c: Likewise.
34448 * hurd/xattr.c: Likewise.
34449 * include/shlib-compat.h: Likewise.
34450 * inet/ruserpass.c: Likewise.
34451 * libio/iofgets_u.c: Likewise.
34452 * libio/iofgetws_u.c: Likewise.
34453 * locale/programs/ld-identification.c: Likewise.
34454 * locale/programs/ld-time.c: Likewise.
34455 * mach/msg-destroy.c: Likewise.
34456 * nss/nss_files/files-netgrp.c: Likewise.
34457 * resolv/res_data.c: Likewise.
34458 * soft-fp/op-1.h: Likewise.
34459 * soft-fp/op-2.h: Likewise.
34460 * soft-fp/op-4.h: Likewise.
34461 * soft-fp/op-common.h: Likewise.
34462 * stdio-common/printf_fphex.c: Likewise.
34463 * stdlib/strtod_l.c: Likewise.
34464 * sunrpc/rpc/clnt.h: Likewise.
34465 * sysdeps/generic/framestate.c: Likewise.
34466 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34467 * sysdeps/i386/bsd-setjmp.S: Likewise.
34468 * sysdeps/i386/__longjmp.S: Likewise.
34469 * sysdeps/i386/setjmp.S: Likewise.
34470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34471 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34488 * sysdeps/ieee754/support.c: Likewise.
34489 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34490 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34491 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34492 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34493 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34494 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34495 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34496 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34497 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34498 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34499 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34500 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34501 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34502 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34503 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34504 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34505 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34507
34508 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34509
34510 * posix/transbug.c: Remove executable mode.
34511
34512 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34513
34514 * crypt/speeds.c: Remove trailing whitespace.
34515 * dlfcn/default.c: Likewise.
34516 * elf/ifuncdep2.c: Likewise.
34517 * elf/ifuncmain1.c: Likewise.
34518 * elf/ifuncmain1vis.c: Likewise.
34519 * elf/testobj.h: Likewise.
34520 * elf/tst-stackguard1.c: Likewise.
34521 * gmon/sys/gmon.h: Likewise.
34522 * hurd/hurdmsg.c: Likewise.
34523 * hurd/new-fd.c: Likewise.
34524 * hurd/ports-get.c: Likewise.
34525 * iconvdata/ibm1008_420.c: Likewise.
34526 * inet/tst-getni1.c: Likewise.
34527 * inet/tst-getni2.c: Likewise.
34528 * libio/ioungetc.c: Likewise.
34529 * libio/wfiledoalloc.c: Likewise.
34530 * manual/libm-err-tab.pl: Likewise.
34531 * math/w_dremf.c: Likewise.
34532 * misc/ftruncate.c: Likewise.
34533 * posix/bug-glob2.c: Likewise.
34534 * posix/tst-pcre.c: Likewise.
34535 * posix/wait4.c: Likewise.
34536 * resolv/README: Likewise.
34537 * resolv/res_debug.h: Likewise.
34538 * resolv/tst-inet_ntop.c: Likewise.
34539 * setjmp/bug269-setjmp.c: Likewise.
34540 * soft-fp/extended.h: Likewise.
34541 * soft-fp/op-1.h: Likewise.
34542 * soft-fp/op-2.h: Likewise.
34543 * soft-fp/op-4.h: Likewise.
34544 * soft-fp/op-8.h: Likewise.
34545 * soft-fp/testit.c: Likewise.
34546 * stdio-common/bug16.c: Likewise.
34547 * stdlib/random.c: Likewise.
34548 * sunrpc/rpcsvc/rquota.x: Likewise.
34549 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34550 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34551 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34552 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34553 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34554 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34555 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34557 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34558 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34559 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34560 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34561 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34562 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34563 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34564 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34565 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34567 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34568 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34569 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34577 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34578 * sysdeps/ieee754/s_lib_version.c: Likewise.
34579 * sysdeps/mach/hurd/check_fds.c: Likewise.
34580 * sysdeps/mach/hurd/getsockname.c: Likewise.
34581 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34582 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34583 * sysdeps/powerpc/bits/link.h: Likewise.
34584 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34585 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34586 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34587 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34588 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34589 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34590 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34591 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34592 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34593 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34594 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34595 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34596 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34597 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34598 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34599 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34601 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34602 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34603 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34604 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34605 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34606 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34607 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34608 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34609 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34611 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34612 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34613 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34614 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34615 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34616 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34617 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34618 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34619 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34620 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34621 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34622 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34623 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34624 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34625 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34626 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34627 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34628 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34629 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34630 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34631 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34632 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34633 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34636 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34637 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34638 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34639 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34640 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34641 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34642 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34643 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34644 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34645 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34646 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34647 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34648 * sysdeps/powerpc/sysdep.h: Likewise.
34649 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34650 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34651 * sysdeps/sh/dl-trampoline.S: Likewise.
34652 * sysdeps/sh/memset.S: Likewise.
34653 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34654 * sysdeps/sh/strlen.S: Likewise.
34655 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34656 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34657 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34658 * sysdeps/sparc/sparc32/rem.S: Likewise.
34659 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34660 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34661 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34662 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34663 * sysdeps/sparc/sparc32/urem.S: Likewise.
34664 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34665 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34666 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34667 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34668 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34669 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34670 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34671 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34672 * sysdeps/unix/bsd/times.c: Likewise.
34673 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34674 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34678 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34679 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34680 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34682 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34683 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34684 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34685 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34686 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34687 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34688 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34689 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34690 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34691 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34692 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34693 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34694 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34695 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34696 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34697 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34698 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34699 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34700 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34701 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34702 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34703 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34704 * sysdeps/x86_64/strcspn.S: Likewise.
34705
34706 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34707
34708 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34709 generated file. Regenerate properly from gen-translit.pl.
34710 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34711 locale/C-translit.h.
34712
34713 2013-06-05 Andreas Schwab <schwab@suse.de>
34714
34715 [BZ #15100]
34716 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34717 week as 6 instead of -1.
34718 * time/tst-strptime.c (day_tests): Add test case.
34719
34720 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34721
34722 * sysdeps/generic/math_private.h
34723 (libc_feholdexcept_setround_53bit): Replace with
34724 libc_feholdsetround_53bit.
34725 (libc_feupdateenv_53bit): Replace with
34726 libc_feresetround_53bit.
34727 (SET_RESTORE_ROUND_53BIT): Adjust.
34728
34729 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34730
34731 * string/test-strchrnul.c: Add copyright header.
34732
34733 * posix/tst-getaddrinfo4.c: Increase test timeout.
34734
34735 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34736
34737 [BZ #15536]
34738 * math/libm-test.inc (MAX_EXP): Remove
34739 (MIN_EXP): Define.
34740 (ulp): Use MIN_EXP - MANT_DIG.
34741 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34742
34743 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34744
34745 * po/be.po: Revert last change.
34746 * po/zh_CN.po: Likewise.
34747 * po/header.pot: Likewise.
34748
34749 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34750
34751 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34752 link-libc-deps to empty as target-specific variable.
34753 * Makerules (link-libc-args): New variable.
34754 (libc-for-link): Likewise.
34755 (link-libc-deps): Likewise.
34756 (lib%.so): Depend on $(link-libc-deps). Link with
34757 $(link-libc-args).
34758 (build-module): Link with $(link-libc-args).
34759 (build-module-asneeded): Likewise.
34760 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34761 list of objects.
34762 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34763 target-specific variable.
34764 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34765 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34766 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34767 libc.
34768 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34769 libc and ld.so.
34770 ($(objpfx)libpcprofile.so): Likewise.
34771 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34772 libc_nonshared.a.
34773 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34774 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34775 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34776 $(link-libc-deps).
34777 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34778 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34779 * login/Makefile ($(objpfx)libutil.so): Likewise.
34780 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34781 * math/Makefile ($(objpfx)libm.so): Likewise.
34782 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34783 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34784 variable instead of depending directly on libc.
34785 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34786 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34787 $(link-libc-deps).
34788 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34789 libc.
34790 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34791 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34792 ($(objpfx)libanl.so): Likewise.
34793 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34794 ld.so.
34795 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34796 $(link-libc-deps).
34797 * sysdeps/i386/fpu/Makefile: Remove file.
34798 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34799 ($(objpfx)libm.so): Remove dependency on ld.so.
34800
34801 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34802
34803 [BZ # 15553]
34804 * nis/yp_xdr.c (XDRMAXNAME): Define.
34805 (XDRMAXRECORD): Define.
34806 (xdr_domainname): Use XDRMAXNAME.
34807 (xdr_mapname): Likewise.
34808 (xdr_peername): Likewise.
34809 (xdr_keydat): Use XDRMAXRECORD.
34810 (xdr_valdat): Likewise.
34811
34812 2013-05-30 Jeff Law <law@redhat.com>
34813
34814 [BZ #14256]
34815 * manual/errno.texi (ESTALE): Update to account for more than
34816 just NFS file systems.
34817 * sysdeps/gnu/errlist.c: Regenerated.
34818
34819 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34820
34821 [BZ #15465]
34822 * elf/Makefile (tests): Add tst-null-argv.
34823 (modules-names): Add tst-null-argv-lib.
34824 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34825 (tst-null-argv-ENV): Set environment for tst-null-argv.
34826 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34827 (RTLD_PROGNAME): New macro.
34828 * elf/tst-null-argv.c: New test case.
34829 * elf/tst-null-argv-lib.c: Library for test case.
34830 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34831 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34832 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34833 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34834 * elf/dl-init.c (call_init): Likewise.
34835 (_dl_init): Likewise.
34836 * elf/dl-load.c (print_search_path): Likewise.
34837 (_dl_map_object): Likewise.
34838 * elf/dl-lookup.c (do_lookup_x): Likewise.
34839 (add_dependency): Likewise.
34840 (_dl_lookup_symbol_x): Likewise.
34841 (_dl_debug_bindings): Likewise.
34842 * elf/dl-open.c (_dl_show_scope): Likewise.
34843 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34844 * elf/dl-version.c (match_symbol): Likewise.
34845 (_dl_check_map_versions): Likewise.
34846 * elf/rtld.c (dl_main): Likewise.
34847 (print_unresolved): Use RTLD_PROGNAME.
34848 (print_missing_version): Likewise.
34849 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34850 (elf_machine_rela): Likewise.
34851 * sysdeps/powerpc/powerpc32/dl-machine.c
34852 (__process_machine_rela): Likewise.
34853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34854 Likewise.
34855 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34856 Likewise.
34857 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34858 Likewise.
34859 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34861 Likewise.
34862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34863 Likewise.
34864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34865
34866 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34867
34868 * po/be.po: Add descriptive title.
34869 * po/zh_CN.po: Likewise.
34870 * po/header.pot: Likewise.
34871
34872 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34873
34874 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34875 error message.
34876 (enlarge_archive): Likewise.
34877
34878 2013-05-28 Ben North <ben@redfrontdoor.org>
34879
34880 * manual/arith.texi (frexp): It is the magnitude of the return
34881 value which lies in [0.5, 1), not the return value itself.
34882
34883 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34884
34885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34886
34887 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34888
34889 * stdio-common/bug26.c (main): Correct fscanf template.
34890
34891 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34892 declare _dl_skip_args.
34893
34894 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34895 Don't declare.
34896
34897 * manual/platform.texi: Add missing @end deftypefun.
34898
34899 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34900
34901 [BZ #15529]
34902 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34903 bit of mantissa of 2^16382.
34904 * math/libm-test.inc (hypot_test_data): Add more tests.
34905
34906 * math/libm-test.inc: Add drem and pow10 to list of tested
34907 functions.
34908 (pow10_test): New function.
34909 (drem_test): Likewise.
34910 (drem_test_tonearest): Likewise.
34911 (drem_test_towardzero): Likewise.
34912 (drem_test_downward): Likewise.
34913 (drem_test_upward): Likewise.
34914 (main): Call the new functions.
34915
34916 * math/libm-test.inc (finite_test_data): Remove.
34917 (finite_test): Run tests from isfinite_test_data.
34918 (gamma_test_data): Remove.
34919 (gamma_test): Run tests from lgamma_test_data.
34920 * sysdeps/i386/fpu/libm-test-ulps: Update.
34921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34922
34923 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34924
34925 * manual/platform.texi: Add PowerPC PPR function set documentation.
34926 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34927 implementation.
34928
34929 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34930
34931 * math/libm-test.inc (MAX_EXP): Define.
34932 (ULPDIFF): Define.
34933 (ulp): New function.
34934 (check_float_internal): Use ULPDIFF.
34935 (cpow_test): Disable failing test.
34936 (check_ulp): Test ulp() implemetnation.
34937 (main): Call check_ulp before starting tests.
34938
34939 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34940
34941 * math/gen-libm-test.pl (generate_testfile): Do not handle
34942 START_DATA and END_DATA.
34943 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34944 END_DATA.
34945 (acos_tonearest_test_data): Likewise.
34946 (acos_towardzero_test_data): Likewise.
34947 (acos_downward_test_data): Likewise.
34948 (acos_upward_test_data): Likewise.
34949 (acosh_test_data): Likewise.
34950 (asin_test_data): Likewise.
34951 (asin_tonearest_test_data): Likewise.
34952 (asin_towardzero_test_data): Likewise.
34953 (asin_downward_test_data): Likewise.
34954 (asin_upward_test_data): Likewise.
34955 (asinh_test_data): Likewise.
34956 (atan_test_data): Likewise.
34957 (atanh_test_data): Likewise.
34958 (atan2_test_data): Likewise.
34959 (cabs_test_data): Likewise.
34960 (cacos_test_data): Likewise.
34961 (cacosh_test_data): Likewise.
34962 (carg_test_data): Likewise.
34963 (casin_test_data): Likewise.
34964 (casinh_test_data): Likewise.
34965 (catan_test_data): Likewise.
34966 (catanh_test_data): Likewise.
34967 (cbrt_test_data): Likewise.
34968 (ccos_test_data): Likewise.
34969 (ccosh_test_data): Likewise.
34970 (ceil_test_data): Likewise.
34971 (cexp_test_data): Likewise.
34972 (cimag_test_data): Likewise.
34973 (clog_test_data): Likewise.
34974 (clog10_test_data): Likewise.
34975 (conj_test_data): Likewise.
34976 (copysign_test_data): Likewise.
34977 (cos_test_data): Likewise.
34978 (cos_tonearest_test_data): Likewise.
34979 (cos_towardzero_test_data): Likewise.
34980 (cos_downward_test_data): Likewise.
34981 (cos_upward_test_data): Likewise.
34982 (cosh_test_data): Likewise.
34983 (cosh_tonearest_test_data): Likewise.
34984 (cosh_towardzero_test_data): Likewise.
34985 (cosh_downward_test_data): Likewise.
34986 (cosh_upward_test_data): Likewise.
34987 (cpow_test_data): Likewise.
34988 (cproj_test_data): Likewise.
34989 (creal_test_data): Likewise.
34990 (csin_test_data): Likewise.
34991 (csinh_test_data): Likewise.
34992 (csqrt_test_data): Likewise.
34993 (ctan_test_data): Likewise.
34994 (ctan_tonearest_test_data): Likewise.
34995 (ctan_towardzero_test_data): Likewise.
34996 (ctan_downward_test_data): Likewise.
34997 (ctan_upward_test_data): Likewise.
34998 (ctanh_test_data): Likewise.
34999 (ctanh_tonearest_test_data): Likewise.
35000 (ctanh_towardzero_test_data): Likewise.
35001 (ctanh_downward_test_data): Likewise.
35002 (ctanh_upward_test_data): Likewise.
35003 (erf_test_data): Likewise.
35004 (erfc_test_data): Likewise.
35005 (exp_test_data): Likewise.
35006 (exp_tonearest_test_data): Likewise.
35007 (exp_towardzero_test_data): Likewise.
35008 (exp_downward_test_data): Likewise.
35009 (exp_upward_test_data): Likewise.
35010 (exp10_test_data): Likewise.
35011 (exp2_test_data): Likewise.
35012 (expm1_test_data): Likewise.
35013 (fabs_test_data): Likewise.
35014 (fdim_test_data): Likewise.
35015 (finite_test_data): Likewise.
35016 (floor_test_data): Likewise.
35017 (fma_test_data): Likewise.
35018 (fma_towardzero_test_data): Likewise.
35019 (fma_downward_test_data): Likewise.
35020 (fma_upward_test_data): Likewise.
35021 (fmax_test_data): Likewise.
35022 (fmin_test_data): Likewise.
35023 (fmod_test_data): Likewise.
35024 (fpclassify_test_data): Likewise.
35025 (frexp_test_data): Likewise.
35026 (gamma_test_data): Likewise.
35027 (hypot_test_data): Likewise.
35028 (ilogb_test_data): Likewise.
35029 (isfinite_test_data): Likewise.
35030 (isgreater_test_data): Likewise.
35031 (isgreaterequal_test_data): Likewise.
35032 (isinf_test_data): Likewise.
35033 (isless_test_data): Likewise.
35034 (islessequal_test_data): Likewise.
35035 (islessgreater_test_data): Likewise.
35036 (isnan_test_data): Likewise.
35037 (isnormal_test_data): Likewise.
35038 (issignaling_test_data): Likewise.
35039 (isunordered_test_data): Likewise.
35040 (j0_test_data): Likewise.
35041 (j1_test_data): Likewise.
35042 (jn_test_data): Likewise.
35043 (ldexp_test_data): Likewise.
35044 (lgamma_test_data): Likewise.
35045 (lrint_test_data): Likewise.
35046 (lrint_tonearest_test_data): Likewise.
35047 (lrint_towardzero_test_data): Likewise.
35048 (lrint_downward_test_data): Likewise.
35049 (lrint_upward_test_data): Likewise.
35050 (llrint_test_data): Likewise.
35051 (llrint_tonearest_test_data): Likewise.
35052 (llrint_towardzero_test_data): Likewise.
35053 (llrint_downward_test_data): Likewise.
35054 (llrint_upward_test_data): Likewise.
35055 (log_test_data): Likewise.
35056 (log10_test_data): Likewise.
35057 (log1p_test_data): Likewise.
35058 (log2_test_data): Likewise.
35059 (logb_test_data): Likewise.
35060 (logb_downward_test_data): Likewise.
35061 (lround_test_data): Likewise.
35062 (llround_test_data): Likewise.
35063 (modf_test_data): Likewise.
35064 (nearbyint_test_data): Likewise.
35065 (nextafter_test_data): Likewise.
35066 (nexttoward_test_data): Likewise.
35067 (pow_test_data): Likewise.
35068 (pow_tonearest_test_data): Likewise.
35069 (pow_towardzero_test_data): Likewise.
35070 (pow_downward_test_data): Likewise.
35071 (pow_upward_test_data): Likewise.
35072 (remainder_test_data): Likewise.
35073 (remainder_tonearest_test_data): Likewise.
35074 (remainder_towardzero_test_data): Likewise.
35075 (remainder_downward_test_data): Likewise.
35076 (remainder_upward_test_data): Likewise.
35077 (remquo_test_data): Likewise.
35078 (rint_test_data): Likewise.
35079 (rint_tonearest_test_data): Likewise.
35080 (rint_towardzero_test_data): Likewise.
35081 (rint_downward_test_data): Likewise.
35082 (rint_upward_test_data): Likewise.
35083 (round_test_data): Likewise.
35084 (scalb_test_data): Likewise.
35085 (scalbn_test_data): Likewise.
35086 (scalbln_test_data): Likewise.
35087 (signbit_test_data): Likewise.
35088 (sin_test_data): Likewise.
35089 (sin_tonearest_test_data): Likewise.
35090 (sin_towardzero_test_data): Likewise.
35091 (sin_downward_test_data): Likewise.
35092 (sin_upward_test_data): Likewise.
35093 (sincos_test_data): Likewise.
35094 (sinh_test_data): Likewise.
35095 (sinh_tonearest_test_data): Likewise.
35096 (sinh_towardzero_test_data): Likewise.
35097 (sinh_downward_test_data): Likewise.
35098 (sinh_upward_test_data): Likewise.
35099 (sqrt_test_data): Likewise.
35100 (tan_test_data): Likewise.
35101 (tan_tonearest_test_data): Likewise.
35102 (tan_towardzero_test_data): Likewise.
35103 (tan_downward_test_data): Likewise.
35104 (tan_upward_test_data): Likewise.
35105 (tanh_test_data): Likewise.
35106 (tgamma_test_data): Likewise.
35107 (trunc_test_data): Likewise.
35108 (y0_test_data): Likewise.
35109 (y1_test_data): Likewise.
35110 (yn_test_data): Likewise.
35111 (significand_test_data): Likewise.
35112
35113 * math/gen-libm-test.pl (@functions): Remove variable.
35114 (generate_testfile): Don't handle START and END lines.
35115 * math/libm-test.inc (START): New macro.
35116 (END): Likewise.
35117 (END_COMPLEX): Likewise.
35118 (acos_test): Use END macro without arguments.
35119 (acos_test_tonearest): Likewise.
35120 (acos_test_towardzero): Likewise.
35121 (acos_test_downward): Likewise.
35122 (acos_test_upward): Likewise.
35123 (acosh_test): Likewise.
35124 (asin_test): Likewise.
35125 (asin_test_tonearest): Likewise.
35126 (asin_test_towardzero): Likewise.
35127 (asin_test_downward): Likewise.
35128 (asin_test_upward): Likewise.
35129 (asinh_test): Likewise.
35130 (atan_test): Likewise.
35131 (atanh_test): Likewise.
35132 (atan2_test): Likewise.
35133 (cabs_test): Likewise.
35134 (cacos_test): Use END_COMPLEX macro without arguments.
35135 (cacosh_test): Likewise.
35136 (carg_test): Use END macro without arguments.
35137 (casin_test): Use END_COMPLEX macro without arguments.
35138 (casinh_test): Likewise.
35139 (catan_test): Likewise.
35140 (catanh_test): Likewise.
35141 (cbrt_test): Use END macro without arguments.
35142 (ccos_test): Use END_COMPLEX macro without arguments.
35143 (ccosh_test): Likewise.
35144 (ceil_test): Use END macro without arguments.
35145 (cexp_test): Use END_COMPLEX macro without arguments.
35146 (cimag_test): Use END macro without arguments.
35147 (clog_test): Use END_COMPLEX macro without arguments.
35148 (clog10_test): Likewise.
35149 (conj_test): Likewise.
35150 (copysign_test): Use END macro without arguments.
35151 (cos_test): Likewise.
35152 (cos_test_tonearest): Likewise.
35153 (cos_test_towardzero): Likewise.
35154 (cos_test_downward): Likewise.
35155 (cos_test_upward): Likewise.
35156 (cosh_test): Likewise.
35157 (cosh_test_tonearest): Likewise.
35158 (cosh_test_towardzero): Likewise.
35159 (cosh_test_downward): Likewise.
35160 (cosh_test_upward): Likewise.
35161 (cpow_test): Use END_COMPLEX macro without arguments.
35162 (cproj_test): Likewise.
35163 (creal_test): Use END macro without arguments.
35164 (csin_test): Use END_COMPLEX macro without arguments.
35165 (csinh_test): Likewise.
35166 (csqrt_test): Likewise.
35167 (ctan_test): Likewise.
35168 (ctan_test_tonearest): Likewise.
35169 (ctan_test_towardzero): Likewise.
35170 (ctan_test_downward): Likewise.
35171 (ctan_test_upward): Likewise.
35172 (ctanh_test): Likewise.
35173 (ctanh_test_tonearest): Likewise.
35174 (ctanh_test_towardzero): Likewise.
35175 (ctanh_test_downward): Likewise.
35176 (ctanh_test_upward): Likewise.
35177 (erf_test): Use END macro without arguments.
35178 (erfc_test): Likewise.
35179 (exp_test): Likewise.
35180 (exp_test_tonearest): Likewise.
35181 (exp_test_towardzero): Likewise.
35182 (exp_test_downward): Likewise.
35183 (exp_test_upward): Likewise.
35184 (exp10_test): Likewise.
35185 (exp2_test): Likewise.
35186 (expm1_test): Likewise.
35187 (fabs_test): Likewise.
35188 (fdim_test): Likewise.
35189 (finite_test): Likewise.
35190 (floor_test): Likewise.
35191 (fma_test): Likewise.
35192 (fma_test_towardzero): Likewise.
35193 (fma_test_downward): Likewise.
35194 (fma_test_upward): Likewise.
35195 (fmax_test): Likewise.
35196 (fmin_test): Likewise.
35197 (fmod_test): Likewise.
35198 (fpclassify_test): Likewise.
35199 (frexp_test): Likewise.
35200 (gamma_test): Likewise.
35201 (hypot_test): Likewise.
35202 (ilogb_test): Likewise.
35203 (isfinite_test): Likewise.
35204 (isgreater_test): Likewise.
35205 (isgreaterequal_test): Likewise.
35206 (isinf_test): Likewise.
35207 (isless_test): Likewise.
35208 (islessequal_test): Likewise.
35209 (islessgreater_test): Likewise.
35210 (isnan_test): Likewise.
35211 (isnormal_test): Likewise.
35212 (issignaling_test): Likewise.
35213 (isunordered_test): Likewise.
35214 (j0_test): Likewise.
35215 (j1_test): Likewise.
35216 (jn_test): Likewise.
35217 (ldexp_test): Likewise.
35218 (lgamma_test): Likewise.
35219 (lrint_test): Likewise.
35220 (lrint_test_tonearest): Likewise.
35221 (lrint_test_towardzero): Likewise.
35222 (lrint_test_downward): Likewise.
35223 (lrint_test_upward): Likewise.
35224 (llrint_test): Likewise.
35225 (llrint_test_tonearest): Likewise.
35226 (llrint_test_towardzero): Likewise.
35227 (llrint_test_downward): Likewise.
35228 (llrint_test_upward): Likewise.
35229 (log_test): Likewise.
35230 (log10_test): Likewise.
35231 (log1p_test): Likewise.
35232 (log2_test): Likewise.
35233 (logb_test): Likewise.
35234 (logb_test_downward): Likewise.
35235 (lround_test): Likewise.
35236 (llround_test): Likewise.
35237 (modf_test): Likewise.
35238 (nearbyint_test): Likewise.
35239 (nextafter_test): Likewise.
35240 (nexttoward_test): Likewise.
35241 (pow_test): Likewise.
35242 (pow_test_tonearest): Likewise.
35243 (pow_test_towardzero): Likewise.
35244 (pow_test_downward): Likewise.
35245 (pow_test_upward): Likewise.
35246 (remainder_test): Likewise.
35247 (remainder_test_tonearest): Likewise.
35248 (remainder_test_towardzero): Likewise.
35249 (remainder_test_downward): Likewise.
35250 (remainder_test_upward): Likewise.
35251 (remquo_test): Likewise.
35252 (rint_test): Likewise.
35253 (rint_test_tonearest): Likewise.
35254 (rint_test_towardzero): Likewise.
35255 (rint_test_downward): Likewise.
35256 (rint_test_upward): Likewise.
35257 (round_test): Likewise.
35258 (scalb_test): Likewise.
35259 (scalbn_test): Likewise.
35260 (scalbln_test): Likewise.
35261 (signbit_test): Likewise.
35262 (sin_test): Likewise.
35263 (sin_test_tonearest): Likewise.
35264 (sin_test_towardzero): Likewise.
35265 (sin_test_downward): Likewise.
35266 (sin_test_upward): Likewise.
35267 (sincos_test): Likewise.
35268 (sinh_test): Likewise.
35269 (sinh_test_tonearest): Likewise.
35270 (sinh_test_towardzero): Likewise.
35271 (sinh_test_downward): Likewise.
35272 (sinh_test_upward): Likewise.
35273 (sqrt_test): Likewise.
35274 (tan_test): Likewise.
35275 (tan_test_tonearest): Likewise.
35276 (tan_test_towardzero): Likewise.
35277 (tan_test_downward): Likewise.
35278 (tan_test_upward): Likewise.
35279 (tanh_test): Likewise.
35280 (tgamma_test): Likewise.
35281 (trunc_test): Likewise.
35282 (y0_test): Likewise.
35283 (y1_test): Likewise.
35284 (yn_test): Likewise.
35285 (significand_test): Likewise.
35286
35287 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35288
35289 [BZ #15381]
35290 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35291
35292 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35293
35294 [BZ #14894]
35295 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35296 __ppc_mdoio and __ppc_mdoom.
35297 * manual/platform.texi: Document new functions __ppc_yield,
35298 __ppc_mdoio and __ppc_mdoom.
35299
35300 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35301
35302 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35303 (main): Mention "tls" pseudo-hwcap is legacy.
35304 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35305
35306 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35307
35308 * math/gen-libm-test.pl (parse_args): Output only string of
35309 arguments as text for test name, not full call or descriptions of
35310 tests for extra outputs.
35311 (generate_testfile): Do not pass function name to parse_args.
35312 Generate this_func variable from START.
35313 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35314 field to arg_str.
35315 (struct test_ff_f_data): Likewise.
35316 (test_ff_f_data_nexttoward): Likewise.
35317 (struct test_fi_f_data): Likewise.
35318 (struct test_fl_f_data): Likewise.
35319 (struct test_if_f_data): Likewise.
35320 (struct test_fff_f_data): Likewise.
35321 (struct test_c_f_data): Likewise.
35322 (struct test_f_f1_data): Likewise. Remove field extra_name.
35323 (struct test_fF_f1_data): Likewise.
35324 (struct test_ffI_f1_data): Likewise.
35325 (struct test_c_c_data): Rename test_name field to arg_str.
35326 (struct test_cc_c_data): Likewise.
35327 (struct test_f_i_data): Likewise.
35328 (struct test_ff_i_data): Likewise.
35329 (struct test_f_l_data): Likewise.
35330 (struct test_f_L_data): Likewise.
35331 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35332 and extra2_name.
35333 (COMMON_TEST_SETUP): New macro.
35334 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35335 (COMMON_TEST_CLEANUP): Likewise.
35336 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35337 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35338 macros.
35339 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35340 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35341 macros.
35342 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35343 (RUN_TEST_fff_f): Take argument string. Call new setup and
35344 cleanup macros.
35345 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35346 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35347 macros.
35348 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35349 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35350 macros.
35351 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35352 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35353 cleanup macros.
35354 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35355 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35356 cleanup macros.
35357 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35358 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35359 cleanup macros.
35360 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35361 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35362 macros.
35363 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35364 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35365 macros.
35366 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35367 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35368 macros.
35369 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35370 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35371 cleanup macros.
35372 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35373 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35374 cleanup macros.
35375 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35376 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35377 macros.
35378 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35379 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35380 cleanup macros.
35381 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35382 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35383 macros.
35384 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35385 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35386 macros.
35387 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35388 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35389 cleanup macros.
35390 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35391
35392 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35393
35394 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35395 to _sifields.sigfault.
35396 (si_addr_lsb): Define new macro.
35397 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35399 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35400
35401 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35402
35403 [BZ #15441]
35404 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35405 returns -1.
35406 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35407 null return -1.
35408 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35409 loading the domain.
35410
35411 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35412
35413 * math/gen-libm-test.pl (parse_args): Do not include expected
35414 result in test name.
35415 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35416 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35417 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35418 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35419 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35421
35422 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35423
35424 * benchtests/Makefile: Sort function entries.
35425
35426 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35427 tanh, asinh, acosh, atanh.
35428 * benchtests/acos-inputs: New file.
35429 * benchtests/acosh-inputs: New file.
35430 * benchtests/asin-inputs: New file.
35431 * benchtests/asinh-inputs: New file.
35432 * benchtests/atanh-inputs: New file.
35433 * benchtests/cosh-inputs: New file.
35434 * benchtests/log-inputs: New file.
35435 * benchtests/sinh-inputs: New file.
35436 * benchtests/tanh-inputs: New file.
35437
35438 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35439
35440 [BZ #15339]
35441 * posix/tst-getaddrinfo4.c: New test.
35442 * posix/Makefile (tests): Add it.
35443
35444 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35445
35446 [BZ #15339]
35447 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35448 when no services were used.
35449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35450 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35451
35452 2013-05-21 Andreas Schwab <schwab@suse.de>
35453
35454 [BZ #15014]
35455 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35456 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35457 successful.
35458 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35459 redundant variable declarations and reallocation of buffer when
35460 parsing as IPv6 address. Always set NSS status when called from
35461 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35462 buffer too small. Correct computation of needed size.
35463 * nss/Makefile (tests): Add test-digits-dots.
35464 * nss/test-digits-dots.c: New test.
35465
35466 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35467
35468 * benchtests/Makefile: Remove instructions for adding
35469 benchmark tests.
35470 * benchtests/README: New file to explain how to execute and
35471 enhance the benchmark tests.
35472
35473 2013-05-21 Andreas Schwab <schwab@suse.de>
35474
35475 [BZ #15493]
35476 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35477 * setjmp/tst-sigsetjmp.c: New test.
35478
35479 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35480
35481 * sysdeps/x86_64/memset.S (memset): New implementation.
35482 (__bzero): Likewise.
35483 (__memset_tail): New function.
35484
35485 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35486
35487 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35488 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35489 __memcpy_sse2_unaligned ifunc selection.
35490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35491 Add memcpy-sse2-unaligned.S.
35492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35493 Add: __memcpy_sse2_unaligned.
35494
35495 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35496
35497 [BZ #15490]
35498 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35499 math_force_eval before restoring floating-point envrionment.
35500 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35502 Likewise.
35503 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35504 <math_private.h>.
35505 (__nearbyintl): Use math_force_eval before restoring
35506 floating-point environment.
35507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35508
35509 * math/gen-libm-test.pl (special_functions): Remove.
35510 (parse_args): Don't handle TEST_extra. Handle functions with no
35511 return value.
35512 * math/libm-test.inc (struct test_sincos_data): Replace with
35513 struct test_fFF_11_data.
35514 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35515 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35516 (sincos_test_data): Change element type to struct
35517 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35518 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35519 RUN_TEST_LOOP_sincos.
35520 * math/README.libm-test: Don't mention special handling of
35521 individual functions.
35522 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35523 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35524 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35525 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35526 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35528
35529 * math/gen-libm-test.pl (get_variable): Remove function.
35530 (parse_args): Don't show pointer parameters to call in test
35531 names. Use "extra output N" in test names for extra outputs
35532 rather than naming variables.
35533
35534 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35535
35536 [BZ #15488]
35537 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35538 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35539 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35540 double tests.
35541 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35542 disable.
35543 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35544 check_long_double.
35545
35546 * math/gen-libm-test.pl (@tests): Remove variable.
35547 ($count): Likewise.
35548 (new_test): Remove function.
35549 (show_exceptions): New function.
35550 (special_functions): Use show_exceptions instead of new_test.
35551 (parse_args): Likewise.
35552 (generate_testfile): Pass only function name in generated call to
35553 print_max_error or print_complex_max_error.
35554 (get_ulps): Do not handle complex tests specially.
35555 (output_test): Rename to ...
35556 (get_all_ulps_for_test): ... this. Return a string rather than
35557 printing to a file. Require ulps to be present.
35558 (output_ulps): Generate arrays rather than #defines.
35559 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35560 (struct ulp_data): New type.
35561 (BUILD_COMPLEX_ULP): Remove macro.
35562 (compare_ulp_data): New function.
35563 (find_ulps): Likewise.
35564 (find_test_ulps): Likewise.
35565 (find_function_ulps): Likewise.
35566 (find_complex_function_ulps): Likewise.
35567 (print_max_error): Determine allowed ulps using
35568 find_function_ulps.
35569 (print_complex_max_error): Determine allowed ulps using
35570 find_complex_function_ulps.
35571 (check_float_internal): Determine max ulps using find_test_ulps.
35572 (check_float): Do not take max_ulp parameter. Update call to
35573 check_float_internal.
35574 (check_complex): Likewise.
35575 (check_int): Do not take max_ulp parameter.
35576 (check_long): Likewise.
35577 (check_bool): Likewise.
35578 (check_longlong): Likewise.
35579 (struct test_f_f_data): Remove max_ulp field.
35580 (struct test_ff_f_data): Likewise.
35581 (struct test_ff_f_data_nexttoward): Likewise.
35582 (struct test_fi_f_data): Likewise.
35583 (struct test_fl_f_data): Likewise.
35584 (struct test_if_f_data): Likewise.
35585 (struct test_fff_f_data): Likewise.
35586 (struct test_c_f_data): Likewise.
35587 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35588 (struct test_fF_f1_data): Likewise.
35589 (struct test_ffI_f1_data): Likewise.
35590 (struct test_c_c_data): Remove max_ulp field.
35591 (struct test_cc_c_data): Likewise.
35592 (struct test_f_i_data): Likewise.
35593 (struct test_ff_i_data): Likewise.
35594 (struct test_f_l_data): Likewise.
35595 (struct test_f_L_data): Likewise.
35596 (struct test_sincos_data): Likewise.
35597 (RUN_TEST_f_f): Do not handle ulps.
35598 (RUN_TEST_LOOP_f_f): Likewise.
35599 (RUN_TEST_2_f): Likewise.
35600 (RUN_TEST_LOOP_2_f): Likewise.
35601 (RUN_TEST_fff_f): Likewise.
35602 (RUN_TEST_LOOP_fff_f): Likewise.
35603 (RUN_TEST_c_f): Likewise.
35604 (RUN_TEST_LOOP_c_f): Likewise.
35605 (RUN_TEST_f_f1): Likewise.
35606 (RUN_TEST_LOOP_f_f1): Likewise.
35607 (RUN_TEST_fF_f1): Likewise.
35608 (RUN_TEST_LOOP_fF_f1): Likewise.
35609 (RUN_TEST_fI_f1): Likewise.
35610 (RUN_TEST_LOOP_fI_f1): Likewise.
35611 (RUN_TEST_ffI_f1): Likewise.
35612 (RUN_TEST_LOOP_ffI_f1): Likewise.
35613 (RUN_TEST_c_c): Likewise.
35614 (RUN_TEST_LOOP_c_c): Likewise.
35615 (RUN_TEST_cc_c): Likewise.
35616 (RUN_TEST_LOOP_cc_c): Likewise.
35617 (RUN_TEST_f_i): Likewise.
35618 (RUN_TEST_LOOP_f_i): Likewise.
35619 (RUN_TEST_f_i_tg): Likewise.
35620 (RUN_TEST_LOOP_f_i_tg): Likewise.
35621 (RUN_TEST_ff_i_tg): Likewise.
35622 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35623 (RUN_TEST_f_b): Likewise.
35624 (RUN_TEST_LOOP_f_b): Likewise.
35625 (RUN_TEST_f_b_tg): Likewise.
35626 (RUN_TEST_LOOP_f_b_tg): Likewise.
35627 (RUN_TEST_f_l): Likewise.
35628 (RUN_TEST_LOOP_f_l): Likewise.
35629 (RUN_TEST_f_L): Likewise.
35630 (RUN_TEST_LOOP_f_L): Likewise.
35631 (RUN_TEST_sincos): Likewise.
35632 (RUN_TEST_LOOP_sincos): Likewise.
35633
35634 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35635
35636 [BZ #15480]
35637 [BZ #15485]
35638 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35639 main case of finite arguments, set rounding mode to FE_TONEAREST
35640 and discard exceptions.
35641 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35642 exceptions.
35643 (remainder_tonearest_test_data): New variable.
35644 (remainder_test_tonearest): New function.
35645 (remainder_towardzero_test_data): New variable.
35646 (remainder_test_towardzero): New function.
35647 (remainder_downward_test_data): New variable.
35648 (remainder_test_downward): New function.
35649 (remainder_upward_test_data): New variable.
35650 (remainder_test_upward): New function.
35651 (main): Call the new test functions.
35652
35653 * math/libm-test.inc (struct test_f_f1_data): Remove field
35654 extra_init.
35655 (struct test_fF_f1_data): Likewise.
35656 (struct test_ffI_f1_data): Likewise.
35657 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35658 based on value of EXTRA_EXPECTED.
35659 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35660 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35661 EXTRA_VAR based on value of EXTRA_EXPECTED.
35662 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35663 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35664 EXTRA_VAR based on value of EXTRA_EXPECTED.
35665 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35666 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35667 EXTRA_VAR based on value of EXTRA_EXPECTED.
35668 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35669 * math/gen-libm-test.pl (parse_args): Don't output initializers
35670 for extra output values.
35671
35672 * math/libm-test.inc (check_int): Expect result to be exactly
35673 equal to expected value and do not handle ulps.
35674 (check_long): Likewise.
35675 (check_longlong): Likewise.
35676
35677 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35678 exceptions.
35679 (cimag_test_data): Likewise.
35680 (conj_test_data): Likewise.
35681 (copysign_test_data): Likewise.
35682 (cproj_test_data): Likewise.
35683 (creal_test_data): Likewise.
35684 (fabs_test_data): Likewise.
35685 (fdim_test_data): Likewise.
35686 (finite_test_data): Likewise.
35687 (floor_test_data): Likewise.
35688 (fmax_test_data): Likewise.
35689 (fmin_test_data): Likewise.
35690 (fmod_test_data): Likewise.
35691 (fpclassify_test_data): Likewise.
35692 (frexp_test_data): Likewise.
35693 (ilogb_test_data): Likewise.
35694 (isfinite_test_data): Likewise.
35695 (isgreater_test_data): Likewise.
35696 (isgreaterequal_test_data): Likewise.
35697 (isinf_test_data): Likewise.
35698 (isless_test_data): Likewise.
35699 (islessequal_test_data): Likewise.
35700 (islessgreater_test_data): Likewise.
35701 (isnan_test_data): Likewise.
35702 (isnormal_test_data): Likewise.
35703 (issignaling_test_data): Likewise.
35704 (isunordered_test_data): Likewise.
35705 (ldexp_test_data): Likewise.
35706 (lrint_test_data): Likewise.
35707 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35708 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35709 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35710 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35711 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35712 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35713 test input.
35714 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35715 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35716 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35717 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35718 that test input.
35719 (lrint_downward_test_data): Test for "inexact" exceptions.
35720 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35721 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35722 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35723 test input.
35724 (lrint_upward_test_data): Test for "inexact" exceptions.
35725 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35726 test input.
35727 (llrint_test_data): Test for "inexact" exceptions.
35728 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35729 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35730 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35731 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35732 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35733 (llrint_downward_test_data): Test for "inexact" exceptions.
35734 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35735 (llrint_upward_test_data): Test for "inexact" exceptions.
35736 (logb_test_data): Likewise.
35737 (logb_downward_test_data): Likewise.
35738 (nextafter_test_data): Likewise.
35739 (nexttoward_test_data): Likewise.
35740 (remainder_test_data): Likewise.
35741 (remquo_test_data): Likewise.
35742 (scalbn_test_data): Likewise.
35743 (scalbln_test_data): Likewise.
35744 (signbit_test_data): Likewise.
35745 (sqrt_test_data): Likewise.
35746 (significand_test_data): Likewise.
35747
35748 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35749
35750 [BZ #15424]
35751 * benchtests/bench-modf.c (struct args): Mark arg0 as
35752 volatile.
35753 * scripts/bench.pl: Mark members of struct args as volatile.
35754
35755 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35756
35757 [BZ # 15497]
35758 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35759 negative infinity on POWER6 or lower.
35760 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35761
35762 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35763
35764 [BZ #15442]
35765 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35766 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35767 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35768 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35769 (_FP_SETQNAN): New macro.
35770 (_FP_SETQNAN_SEMIRAW): Likewise.
35771 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35772 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35773 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35774 (FP_EXTEND): Use _FP_FRAC_SNANP.
35775 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35776 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35777 into account.
35778 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35779 New macro.
35780 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35781 Likewise.
35782
35783 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35784
35785 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35786 with DIVIDE_BY_ZERO_EXCEPTION.
35787 (gamma_test_data): Likewise.
35788 (lgamma_test_data): Likewise.
35789 (log_test_data): Likewise.
35790 (log10_test_data): Likewise.
35791 (log2_test_data): Likewise.
35792 (tgamma_test_data): Likewise.
35793
35794 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35795 (acos_test_tonearest): Likewise.
35796 (acos_test_towardzero): Likewise.
35797 (acos_test_downward): Likewise.
35798 (acos_test_upward): Likewise.
35799 (acosh_test): Likewise.
35800 (asin_test): Likewise.
35801 (asin_test_tonearest): Likewise.
35802 (asin_test_towardzero): Likewise.
35803 (asin_test_downward): Likewise.
35804 (asin_test_upward): Likewise.
35805 (asinh_test): Likewise.
35806 (atan_test): Likewise.
35807 (atanh_test): Likewise.
35808 (atan2_test): Likewise.
35809 (cabs_test): Likewise.
35810 (cacos_test): Likewise.
35811 (cacosh_test): Likewise.
35812 (casin_test): Likewise.
35813 (casinh_test): Likewise.
35814 (catan_test): Likewise.
35815 (catanh_test): Likewise.
35816 (cbrt_test): Likewise.
35817 (ccos_test): Likewise.
35818 (ccosh_test): Likewise.
35819 (cexp_test): Likewise.
35820 (clog_test): Likewise.
35821 (clog10_test): Likewise.
35822 (cos_test): Likewise.
35823 (cos_test_tonearest): Likewise.
35824 (cos_test_towardzero): Likewise.
35825 (cos_test_downward): Likewise.
35826 (cos_test_upward): Likewise.
35827 (cosh_test): Likewise.
35828 (cosh_test_tonearest): Likewise.
35829 (cosh_test_towardzero): Likewise.
35830 (cosh_test_downward): Likewise.
35831 (cosh_test_upward): Likewise.
35832 (cpow_test): Likewise.
35833 (csin_test): Likewise.
35834 (csinh_test): Likewise.
35835 (csqrt_test): Likewise.
35836 (ctan_test): Likewise.
35837 (ctan_test_tonearest): Likewise.
35838 (ctan_test_towardzero): Likewise.
35839 (ctan_test_downward): Likewise.
35840 (ctan_test_upward): Likewise.
35841 (ctanh_test): Likewise.
35842 (ctanh_test_tonearest): Likewise.
35843 (ctanh_test_towardzero): Likewise.
35844 (ctanh_test_downward): Likewise.
35845 (ctanh_test_upward): Likewise.
35846 (erf_test): Likewise.
35847 (erfc_test): Likewise.
35848 (exp_test): Likewise.
35849 (exp_test_tonearest): Likewise.
35850 (exp_test_towardzero): Likewise.
35851 (exp_test_downward): Likewise.
35852 (exp_test_upward): Likewise.
35853 (exp10_test): Likewise.
35854 (exp2_test): Likewise.
35855 (expm1_test): Likewise.
35856 (fmod_test): Likewise.
35857 (gamma_test): Likewise.
35858 (hypot_test): Likewise.
35859 (j0_test): Likewise.
35860 (j1_test): Likewise.
35861 (jn_test): Likewise.
35862 (lgamma_test): Likewise.
35863 (log_test): Likewise.
35864 (log10_test): Likewise.
35865 (log1p_test): Likewise.
35866 (log2_test): Likewise.
35867 (logb_test_downward): Likewise.
35868 (pow_test): Likewise.
35869 (pow_test_tonearest): Likewise.
35870 (pow_test_towardzero): Likewise.
35871 (pow_test_downward): Likewise.
35872 (pow_test_upward): Likewise.
35873 (remainder_test): Likewise.
35874 (remquo_test): Likewise.
35875 (sin_test): Likewise.
35876 (sin_test_tonearest): Likewise.
35877 (sin_test_towardzero): Likewise.
35878 (sin_test_downward): Likewise.
35879 (sin_test_upward): Likewise.
35880 (sincos_test): Likewise.
35881 (sinh_test): Likewise.
35882 (sinh_test_tonearest): Likewise.
35883 (sinh_test_towardzero): Likewise.
35884 (sinh_test_downward): Likewise.
35885 (sinh_test_upward): Likewise.
35886 (sqrt_test): Likewise.
35887 (tan_test): Likewise.
35888 (tan_test_tonearest): Likewise.
35889 (tan_test_towardzero): Likewise.
35890 (tan_test_downward): Likewise.
35891 (tan_test_upward): Likewise.
35892 (tanh_test): Likewise.
35893 (tgamma_test): Likewise.
35894 (y0_test): Likewise.
35895 (y1_test): Likewise.
35896 (yn_test): Likewise.
35897
35898 * math/gen-libm-test.pl (adjust_arg): Remove function.
35899 (special_function): Remove argument $in_func. Only handle
35900 generating output for tables of tests, not inside functions.
35901 (parse_args): Likewise.
35902 (generate_testfile): Remove variable $in_func. Update call to
35903 parse_args.
35904 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35905 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35906 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35907 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35908 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35909 (MAX_VALUE_INIT): Rename macro to max_value.
35910 (MIN_VALUE_INIT): Rename macro to min_value.
35911 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35912 (plus_zero): Remove variable.
35913 (minus_zero): Likewise.
35914 (plus_infty): Likewise.
35915 (minus_infty): Likewise.
35916 (qnan_value): Likewise.
35917 (max_value): Likewise.
35918 (min_value): Likewise.
35919 (min_subnorm_value): Likewise.
35920
35921 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35922
35923 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35924 uint64_t or uint32_t usage.
35925 * crypt/sha256-block.c: Likewise.
35926 * crypt/sha256-crypt.c: Likewise.
35927 * crypt/sha256.c: Likewise.
35928 * crypt/sha512-block.c: Likewise.
35929 * crypt/sha512-crypt.c: Likewise.
35930 * crypt/sha512.c: Likewise.
35931 * debug/backtrace-tst.c: Likewise.
35932 * debug/pcprofiledump.c: Likewise.
35933 * elf/cache.c: Likewise.
35934 * elf/dl-cache.c: Likewise.
35935 * elf/dl-misc.c: Likewise.
35936 * elf/dl-profile.c: Likewise.
35937 * elf/dl-support.c: Likewise.
35938 * elf/ldconfig.c: Likewise.
35939 * elf/sprof.c: Likewise.
35940 * iconv/dummy-repertoire.c: Likewise.
35941 * iconv/iconv_charmap.c: Likewise.
35942 * iconv/skeleton.c: Likewise.
35943 * iconvdata/8bit-generic.c: Likewise.
35944 * iconvdata/cp737.h: Likewise.
35945 * iconvdata/cp775.h: Likewise.
35946 * iconvdata/ibm1008.h: Likewise.
35947 * iconvdata/ibm1025.h: Likewise.
35948 * iconvdata/ibm1046.h: Likewise.
35949 * iconvdata/ibm1097.h: Likewise.
35950 * iconvdata/ibm1112.h: Likewise.
35951 * iconvdata/ibm1122.h: Likewise.
35952 * iconvdata/ibm1123.h: Likewise.
35953 * iconvdata/ibm1124.h: Likewise.
35954 * iconvdata/ibm1129.h: Likewise.
35955 * iconvdata/ibm1130.h: Likewise.
35956 * iconvdata/ibm1132.h: Likewise.
35957 * iconvdata/ibm1133.h: Likewise.
35958 * iconvdata/ibm1137.h: Likewise.
35959 * iconvdata/ibm1140.h: Likewise.
35960 * iconvdata/ibm1141.h: Likewise.
35961 * iconvdata/ibm1142.h: Likewise.
35962 * iconvdata/ibm1143.h: Likewise.
35963 * iconvdata/ibm1144.h: Likewise.
35964 * iconvdata/ibm1145.h: Likewise.
35965 * iconvdata/ibm1146.h: Likewise.
35966 * iconvdata/ibm1147.h: Likewise.
35967 * iconvdata/ibm1148.h: Likewise.
35968 * iconvdata/ibm1149.h: Likewise.
35969 * iconvdata/ibm1153.h: Likewise.
35970 * iconvdata/ibm1154.h: Likewise.
35971 * iconvdata/ibm1155.h: Likewise.
35972 * iconvdata/ibm1156.h: Likewise.
35973 * iconvdata/ibm1157.h: Likewise.
35974 * iconvdata/ibm1158.h: Likewise.
35975 * iconvdata/ibm1160.h: Likewise.
35976 * iconvdata/ibm1161.h: Likewise.
35977 * iconvdata/ibm1162.h: Likewise.
35978 * iconvdata/ibm1163.h: Likewise.
35979 * iconvdata/ibm1164.h: Likewise.
35980 * iconvdata/ibm1166.h: Likewise.
35981 * iconvdata/ibm1167.h: Likewise.
35982 * iconvdata/ibm12712.h: Likewise.
35983 * iconvdata/ibm1390.h: Likewise.
35984 * iconvdata/ibm1399.h: Likewise.
35985 * iconvdata/ibm16804.h: Likewise.
35986 * iconvdata/ibm4517.h: Likewise.
35987 * iconvdata/ibm4899.h: Likewise.
35988 * iconvdata/ibm4909.h: Likewise.
35989 * iconvdata/ibm4971.h: Likewise.
35990 * iconvdata/ibm5347.h: Likewise.
35991 * iconvdata/ibm803.h: Likewise.
35992 * iconvdata/ibm856.h: Likewise.
35993 * iconvdata/ibm901.h: Likewise.
35994 * iconvdata/ibm902.h: Likewise.
35995 * iconvdata/ibm9030.h: Likewise.
35996 * iconvdata/ibm9066.h: Likewise.
35997 * iconvdata/ibm921.h: Likewise.
35998 * iconvdata/ibm922.h: Likewise.
35999 * iconvdata/ibm9448.h: Likewise.
36000 * iconvdata/isiri-3342.h: Likewise.
36001 * iconvdata/jis0201.h: Likewise.
36002 * include/link.h: Likewise.
36003 * include/netdb.h: Likewise.
36004 * inet/check_native.c: Likewise.
36005 * inet/check_pf.c: Likewise.
36006 * inet/getipv4sourcefilter.c: Likewise.
36007 * inet/getnameinfo.c: Likewise.
36008 * inet/getsourcefilter.c: Likewise.
36009 * inet/htonl.c: Likewise.
36010 * inet/setipv4sourcefilter.c: Likewise.
36011 * inet/setsourcefilter.c: Likewise.
36012 * inet/test-inet6_opt.c: Likewise.
36013 * inet/tst-network.c: Likewise.
36014 * locale/C-collate.c: Likewise.
36015 * locale/C-ctype.c: Likewise.
36016 * locale/C-time.c: Likewise.
36017 * locale/C-translit.h: Likewise.
36018 * locale/loadarchive.c: Likewise.
36019 * locale/programs/3level.h: Likewise.
36020 * locale/programs/charmap.c: Likewise.
36021 * locale/programs/charmap.h: Likewise.
36022 * locale/programs/ld-address.c: Likewise.
36023 * locale/programs/ld-collate.c: Likewise.
36024 * locale/programs/ld-ctype.c: Likewise.
36025 * locale/programs/ld-identification.c: Likewise.
36026 * locale/programs/ld-measurement.c: Likewise.
36027 * locale/programs/ld-messages.c: Likewise.
36028 * locale/programs/ld-monetary.c: Likewise.
36029 * locale/programs/ld-name.c: Likewise.
36030 * locale/programs/ld-numeric.c: Likewise.
36031 * locale/programs/ld-paper.c: Likewise.
36032 * locale/programs/ld-telephone.c: Likewise.
36033 * locale/programs/ld-time.c: Likewise.
36034 * locale/programs/linereader.c: Likewise.
36035 * locale/programs/locale.c: Likewise.
36036 * locale/programs/locarchive.c: Likewise.
36037 * locale/programs/locfile.h: Likewise.
36038 * locale/programs/repertoire.c: Likewise.
36039 * locale/programs/simple-hash.c: Likewise.
36040 * locale/programs/simple-hash.h: Likewise.
36041 * malloc/memusage.c: Likewise.
36042 * malloc/memusagestat.c: Likewise.
36043 * nis/nis_defaults.c: Likewise.
36044 * nis/nis_hash.c: Likewise.
36045 * nis/nis_print.c: Likewise.
36046 * nis/nis_xdr.c: Likewise.
36047 * nscd/connections.c: Likewise.
36048 * nscd/hstcache.c: Likewise.
36049 * nscd/nscd_gethst_r.c: Likewise.
36050 * nscd/nscd_getserv_r.c: Likewise.
36051 * nscd/nscd_helper.c: Likewise.
36052 * nscd/servicescache.c: Likewise.
36053 * nss/makedb.c: Likewise.
36054 * nss/nss_db/db-XXX.c: Likewise.
36055 * nss/nss_db/db-initgroups.c: Likewise.
36056 * nss/nss_db/db-netgrp.c: Likewise.
36057 * nss/nss_files/files-network.c: Likewise.
36058 * nss/nss_files/files-parse.c: Likewise.
36059 * posix/bug-regex5.c: Likewise.
36060 * posix/fnmatch_loop.c: Likewise.
36061 * posix/regcomp.c: Likewise.
36062 * posix/regexec.c: Likewise.
36063 * posix/tst-rfc3484-2.c: Likewise.
36064 * posix/tst-rfc3484-3.c: Likewise.
36065 * posix/tst-rfc3484.c: Likewise.
36066 * resolv/nss_dns/dns-canon.c: Likewise.
36067 * resolv/nss_dns/dns-network.c: Likewise.
36068 * resolv/res_init.c: Likewise.
36069 * resolv/res_mkquery.c: Likewise.
36070 * resolv/tst-aton.c: Likewise.
36071 * stdlib/cxa_atexit.c: Likewise.
36072 * stdlib/cxa_finalize.c: Likewise.
36073 * stdlib/gen-fpioconst.c: Likewise.
36074 * stdlib/strtol_l.c: Likewise.
36075 * string/tst-endian.c: Likewise.
36076 * sunrpc/auth_des.c: Likewise.
36077 * sunrpc/clnt_udp.c: Likewise.
36078 * sunrpc/rtime.c: Likewise.
36079 * sunrpc/svcauth_des.c: Likewise.
36080 * sunrpc/xdr.c: Likewise.
36081 * sunrpc/xdr_intXX_t.c: Likewise.
36082 * sunrpc/xdr_rec.c: Likewise.
36083 * sysdeps/generic/ldconfig.h: Likewise.
36084 * sysdeps/generic/ldsodefs.h: Likewise.
36085 * sysdeps/generic/memusage.h: Likewise.
36086 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36088 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36092 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36094 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36096 * sysdeps/posix/getaddrinfo.c: Likewise.
36097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36099 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36100 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36101 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36102 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36103 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36104 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36105 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36106 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36107 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36108 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36109 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36110 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36111 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36112 * sysdeps/x86_64/dl-tls.h: Likewise.
36113 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36114 * time/alt_digit.c: Likewise.
36115 * time/era.c: Likewise.
36116 * wcsmbs/tst-c16c32-1.c: Likewise.
36117
36118 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36119
36120 * math/libm-test.inc (struct test_sincos_data): New type.
36121 (RUN_TEST_LOOP_sincos): New macro.
36122 (sincos_test_data): New variable.
36123 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36124
36125 2013-05-16 Richard Henderson <rth@redhat.com>
36126
36127 * math/atest-exp2.c (LIMB64): New macro.
36128 (CONSTSZ): New macro.
36129 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36130 (hexdig): Move ...
36131 (print_mpn_fp): ... to function scope.
36132 (read_mpn_hex): Remove.
36133 (get_log2): Remove.
36134 (exp2_mpn): Use mp_log2.
36135 (main): Use mp_exp1.
36136
36137 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36138
36139 * math/libm-test.inc: Remove comment about not testing "inexact"
36140 exceptions.
36141 (INEXACT_EXCEPTION): New macro.
36142 (NO_INEXACT_EXCEPTION): Likewise.
36143 (INVALID_EXCEPTION_OK): Update value.
36144 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36145 (OVERFLOW_EXCEPTION_OK): Likewise.
36146 (UNDERFLOW_EXCEPTION_OK): Likewise.
36147 (IGNORE_ZERO_INF_SIGN): Likewise.
36148 (ERRNO_UNCHANGED): Likewise.
36149 (ERRNO_EDOM): Likewise.
36150 (ERRNO_ERANGE): Likewise.
36151 (test_exceptions): Handle testing "inexact" exceptions.
36152 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36153 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36154 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36155 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36156 INEXACT_EXCEPTION.
36157 (rint_towardzero_test_data): Likewise.
36158 (rint_downward_test_data): Likewise.
36159 (rint_upward_test_data): Likewise.
36160
36161 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36162 with OVERFLOW_EXCEPTION.
36163 (exp10_test_data): Likewise.
36164 (exp2_test_data): Likewise.
36165 (expm1_test_data): Likewise.
36166 (lgamma_test_data): Likewise.
36167 (pow_test_data): Likewise.
36168 (tgamma_test_data): Likewise.
36169 (yn_test_data): Remove duplicate test of overflow.
36170
36171 * math/libm-test.inc (struct test_cc_c_data): New type.
36172 (RUN_TEST_LOOP_cc_c): New macro.
36173 (cpow_test_data): New variable.
36174 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36175
36176 * math/libm-test.inc (struct test_f_L_data): New type.
36177 (RUN_TEST_LOOP_f_L): New macro.
36178 (llrint_test_data): New variable.
36179 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36180 (llrint_tonearest_test_data): New variable.
36181 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36182 (llrint_towardzero_test_data): New variable.
36183 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36184 (llrint_downward_test_data): New variable.
36185 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36186 (llrint_upward_test_data): New variable.
36187 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36188 (llround_test_data): New variable.
36189 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36190
36191 2013-05-13 Peter Collingbourne <pcc@google.com>
36192
36193 * math/atest-exp2.c (get_log2): Remove const attribute.
36194
36195 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36196
36197 * math/libm-test.inc (struct test_f_l_data): New type.
36198 (RUN_TEST_LOOP_f_l): New macro.
36199 (lrint_test_data): New variable.
36200 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36201 (lrint_tonearest_test_data): New variable.
36202 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36203 (lrint_towardzero_test_data): New variable.
36204 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36205 (lrint_downward_test_data): New variable.
36206 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36207 (lrint_upward_test_data): New variable.
36208 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36209 (lround_test_data): New variable.
36210 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36211
36212 2013-05-15 Peter Collingbourne <pcc@google.com>
36213
36214 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36215 (EXTRACT_WORDS64) Use where appropriate.
36216 (INSERT_WORDS64) Likewise.
36217
36218 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36219 constraints with x constraints.
36220 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36221
36222 * malloc/obstack.c (_obstack_compat): Add initializer.
36223
36224 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36225
36226 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36227 si_trapno and add si_addr_lsb to _sifields.sigfault.
36228 (si_trapno): Remove macro.
36229 (si_addr_lsb): Define new macro.
36230 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36231
36232 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36233
36234 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36235 instead of TEST_f_l.
36236 (llrint_test_tonearest): Likewise.
36237 (llrint_test_towardzero): Likewise.
36238 (llrint_test_downward): Likewise.
36239 (llrint_test_upward): Likewise.
36240 (llround_test): Likewise.
36241
36242 * math/libm-test.inc (struct test_f_i_data): Add comment.
36243 (RUN_TEST_LOOP_f_b): New macro.
36244 (RUN_TEST_LOOP_f_b_tg): Likewise.
36245 (finite_test_data): New variable.
36246 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36247 (isfinite_test_data): New variable.
36248 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36249 (isinf_test_data): New variable.
36250 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36251 (isnan_test_data): New variable.
36252 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36253 (isnormal_test_data): New variable.
36254 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36255 (issignaling_test_data): New variable.
36256 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36257 (signbit_test_data): New variable.
36258 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36259
36260 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36261 with INVALID_EXCEPTION.
36262 (acosh_test_data): Likewise.
36263 (asin_test_data): Likewise.
36264 (atanh_test_data): Likewise.
36265 (fmod_test_data): Likewise.
36266 (log_test_data): Likewise.
36267 (log10_test_data): Likewise.
36268 (log2_test_data): Likewise.
36269 (pow_test_data): Likewise.
36270 (sqrt_test_data): Likewise.
36271 (y0_test_data): Likewise.
36272 (y1_test_data): Likewise.
36273 (yn_test_data): Likewise.
36274
36275 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36276 function contents.
36277
36278 * math/libm-test.inc (struct test_ff_i_data): New type.
36279 (RUN_TEST_LOOP_ff_i_tg): New macro.
36280 (isgreater_test_data): New variable.
36281 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36282 (isgreaterequal_test_data): New variable.
36283 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36284 (isless_test_data): New variable.
36285 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36286 (islessequal_test_data): New variable.
36287 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36288 (islessgreater_test_data): New variable.
36289 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36290 (isunordered_test_data): New variable.
36291 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36292
36293 2013-05-14 David S. Miller <davem@davemloft.net>
36294
36295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36296
36297 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36298
36299 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36300
36301 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36302 extra_test to int.
36303 (struct test_f_i_data): Change type of max_ulp to int.
36304
36305 * math/libm-test.inc (test_ffI_f1_data): New type.
36306 (RUN_TEST_LOOP_ffI_f1): New macro.
36307 (remquo_test_data): New variable.
36308 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36309
36310 * setjmp/tst-setjmp-fp.c: New file.
36311 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36312 (link-libm): New variable.
36313 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36314
36315 * math/libm-test.inc (struct test_f_i_data): New type.
36316 (RUN_TEST_LOOP_f_i): New macro.
36317 (RUN_TEST_LOOP_f_i_tg): Likewise.
36318 (fpclassify_test_data): New variable.
36319 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36320 (ilogb_test_data): New variable.
36321 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36322
36323 * math/libm-test.inc (scalbln_test): Correct function name in END
36324 call.
36325
36326 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36327 (RUN_TEST_LOOP_fI_f1): New macro.
36328 (frexp_test_data): New variable.
36329 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36330
36331 * math/libm-test.inc (struct test_fF_f1_data): New type.
36332 (RUN_TEST_LOOP_fF_f1): New macro.
36333 (modf_test_data): New variable.
36334 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36335
36336 * math/libm-test.inc (struct test_f_f1_data): New type.
36337 (RUN_TEST_LOOP_f_f1): New macro.
36338 (gamma_test_data): New variable.
36339 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36340 (lgamma_test_data): New variable.
36341 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36342
36343 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36344
36345 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36346 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36347 (main): Comment "tls" pseudo-hwcap.
36348
36349 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36350
36351 * math/libm-test.inc (struct test_fl_f_data): New type.
36352 (RUN_TEST_LOOP_fl_f): New variable.
36353 (scalbln_test_data): New variable.
36354 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36355
36356 * math/libm-test.inc (struct test_fi_f_data): New type.
36357 (RUN_TEST_LOOP_fi_f): New macro.
36358 (ldexp_test_data): New variable.
36359 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36360 (scalbn_test_data): New variable.
36361 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36362
36363 * math/libm-test.inc (struct test_c_f_data): New type.
36364 (RUN_TEST_LOOP_c_f): New macro.
36365 (cabs_test_data): New variable.
36366 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36367 (carg_test_data): New variable.
36368 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36369 (cimag_test_data): New variable.
36370 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36371 (creal_test_data): New variable.
36372 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36373
36374 * math/libm-test.inc (struct test_if_f_data): New type.
36375 (RUN_TEST_LOOP_if_f): New macro.
36376 (jn_test_data): New variable.
36377 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36378 (yn_test_data): New variable.
36379 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36380
36381 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36382
36383 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36384
36385 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36386 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36387
36388 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36389
36390 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36391 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36392 (bench-deps): Add bench-timing.h.
36393 * benchtests-bench-skeleton.c: Include bench-timing.h.
36394 (main): Use TIMING_* macros instead of clock_gettime.
36395 * benchtests/bench-timing.h: New file.
36396
36397 [BZ #14582]
36398 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36399 Renamed from _LIB_VERSION.
36400 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36401
36402 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36403
36404 * math/libm-test.inc (struct test_fff_f_data): New type.
36405 (RUN_TEST_LOOP_fff_f): New macro.
36406 (fma_test_data): New variable.
36407 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36408 (fma_towardzero_test_data): New variable.
36409 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36410 (fma_downward_test_data): New variable.
36411 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36412 (fma_upward_test_data): New variable.
36413 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36414
36415 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36416 (struct test_c_c_data): New type.
36417 (RUN_TEST_LOOP_c_c): New macro.
36418 (cacos_test_data): New variable.
36419 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36420 (cacosh_test_data): New variable.
36421 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36422 (casin_test_data): New variable.
36423 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36424 (casinh_test_data): New variable.
36425 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36426 (catan_test_data): New variable.
36427 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36428 (catanh_test_data): New variable.
36429 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36430 (ccos_test_data): New variable.
36431 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36432 (ccosh_test_data): New variable.
36433 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36434 (cexp_test_data): New variable.
36435 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36436 (clog_test_data): New variable.
36437 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36438 (clog10_test_data): New variable.
36439 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36440 (conj_test_data): New variable.
36441 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36442 (cproj_test_data): New variable.
36443 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36444 (csin_test_data): New variable.
36445 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36446 (csinh_test_data): New variable.
36447 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36448 (csqrt_test_data): New variable.
36449 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36450 (ctan_test_data): New variable.
36451 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36452 (ctan_tonearest_test_data): New variable.
36453 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36454 (ctan_towardzero_test_data): New variable.
36455 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36456 (ctan_downward_test_data): New variable.
36457 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36458 (ctan_upward_test_data): New variable.
36459 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36460 (ctanh_test_data): New variable.
36461 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36462 (ctanh_tonearest_test_data): New variable.
36463 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36464 (ctanh_towardzero_test_data): New variable.
36465 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36466 (ctanh_downward_test_data): New variable.
36467 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36468 (ctanh_upward_test_data): New variable.
36469 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36470 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36471 of BUILD_COMPLEX.
36472
36473 * math/libm-test.inc (struct test_ff_f_data): New type.
36474 (struct test_ff_f_data_nexttoward): Likewise.
36475 (RUN_TEST_LOOP_2_f): New macro.
36476 (RUN_TEST_LOOP_ff_f): Likewise.
36477 (atan2_test_data): New variable.
36478 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36479 (copysign_test_data): New variable.
36480 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36481 (fdim_test_data): New variable.
36482 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36483 (fmax_test_data): New variable.
36484 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36485 (fmin_test_data): New variable.
36486 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36487 (fmod_test_data): New variable.
36488 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36489 (hypot_test_data): New variable.
36490 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36491 (nextafter_test_data): New variable.
36492 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36493 (nexttoward_test_data): New variable.
36494 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36495 (pow_test_data): New variable.
36496 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36497 (pow_tonearest_test_data): New variable.
36498 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36499 (pow_towardzero_test_data): New variable.
36500 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36501 (pow_downward_test_data): New variable.
36502 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36503 (pow_upward_test_data): New variable.
36504 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36505 (remainder_test_data): New variable.
36506 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36507 (scalb_test_data): New variable.
36508 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36509 * sysdeps/i386/fpu/libm-test-ulps: Update.
36510
36511 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36512
36513 * math/libm-test.inc (fma_test): Use max_value instead of local
36514 variable fltmax.
36515 (nextafter_test): Likewise.
36516
36517 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36518 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36519 (acos_downward_test_data): New variable.
36520 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36521 (acos_upward_test_data): New variable.
36522 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36523 (acosh_test_data): New variable.
36524 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36525 (asin_test_data): New variable.
36526 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36527 (asin_tonearest_test_data): New variable.
36528 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36529 (asin_towardzero_test_data): New variable.
36530 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36531 (asin_downward_test_data): New variable.
36532 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36533 (asin_upward_test_data): New variable.
36534 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36535 (asinh_test_data): New variable.
36536 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36537 (atan_test_data): New variable.
36538 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36539 (atanh_test_data): New variable.
36540 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36541 (cbrt_test_data): New variable.
36542 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36543 (ceil_test_data): New variable.
36544 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36545 (cos_test_data): New variable.
36546 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36547 (cos_tonearest_test_data): New variable.
36548 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36549 (cos_towardzero_test_data): New variable.
36550 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36551 (cos_downward_test_data): New variable.
36552 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36553 (cos_upward_test_data): New variable.
36554 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36555 (cosh_test_data): New variable.
36556 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36557 (cosh_tonearest_test_data): New variable.
36558 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36559 (cosh_towardzero_test_data): New variable.
36560 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36561 (cosh_downward_test_data): New variable.
36562 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36563 (cosh_upward_test_data): New variable.
36564 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36565 (erf_test_data): New variable.
36566 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36567 (erfc_test_data): New variable.
36568 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36569 (exp_test_data): New variable.
36570 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36571 (exp_tonearest_test_data): New variable.
36572 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36573 (exp_towardzero_test_data): New variable.
36574 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36575 (exp_downward_test_data): New variable.
36576 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36577 (exp_upward_test_data): New variable.
36578 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36579 (exp10_test_data): New variable.
36580 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36581 (exp2_test_data): New variable.
36582 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36583 (expm1_test_data): New variable.
36584 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36585 (fabs_test_data): New variable.
36586 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36587 (floor_test_data): New variable.
36588 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36589 (j0_test_data): New variable.
36590 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36591 (j1_test_data): New variable.
36592 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36593 (log_test_data): New variable.
36594 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36595 (log10_test_data): New variable.
36596 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36597 (log1p_test_data): New variable.
36598 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36599 (log2_test_data): New variable.
36600 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36601 (logb_test_data): New variable.
36602 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36603 (logb_downward_test_data): New variable.
36604 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36605 (nearbyint_test_data): New variable.
36606 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36607 (rint_test_data): New variable.
36608 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36609 (rint_tonearest_test_data): New variable.
36610 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36611 (rint_towardzero_test_data): New variable.
36612 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36613 (rint_downward_test_data): New variable.
36614 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36615 (rint_upward_test_data): New variable.
36616 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36617 (round_test_data): New variable.
36618 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36619 (sin_test_data): New variable.
36620 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36621 (sin_tonearest_test_data): New variable.
36622 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36623 (sin_towardzero_test_data): New variable.
36624 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36625 (sin_downward_test_data): New variable.
36626 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36627 (sin_upward_test_data): New variable.
36628 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36629 (sinh_test_data): New variable.
36630 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36631 (sinh_tonearest_test_data): New variable.
36632 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36633 (sinh_towardzero_test_data): New variable.
36634 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36635 (sinh_downward_test_data): New variable.
36636 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36637 (sinh_upward_test_data): New variable.
36638 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36639 (sqrt_test_data): New variable.
36640 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36641 (tan_test_data): New variable.
36642 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36643 (tan_tonearest_test_data): New variable.
36644 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36645 (tan_towardzero_test_data): New variable.
36646 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36647 (tan_downward_test_data): New variable.
36648 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36649 (tan_upward_test_data): New variable.
36650 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36651 (tanh_test_data): New variable.
36652 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36653 (tgamma_test_data): New variable.
36654 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36655 (trunc_test_data): New variable.
36656 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36657 (y0_test_data): New variable.
36658 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36659 (y1_test_data): New variable.
36660 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36661 (significand_test_data): New variable.
36662 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36663
36664 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36665
36666 [BZ #12387]
36667 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36668
36669 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36670
36671 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36672
36673 2013-05-10 Andreas Jaeger <aj@suse.de>
36674
36675 [BZ #15448]
36676 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36677 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36678
36679 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36680
36681 * math/gen-libm-test.pl (adjust_arg): New function.
36682 (special_functions): Handle generating output in both functions
36683 and arrays.
36684 (parse_args): Likewise.
36685 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36686 $in_func argument to parse_args.
36687 * math/libm-test.inc (struct test_f_f_data): New type.
36688 (IF_ROUND_INIT_): New macro.
36689 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36690 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36691 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36692 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36693 (ROUND_RESTORE_): Likewise.
36694 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36695 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36696 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36697 (ROUND_RESTORE_FE_UPWARD): Likewise.
36698 (RUN_TEST_LOOP_f_f): New macro.
36699 (acos_test_data): New variable.
36700 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36701 (acos_tonearest_test_data): New variable.
36702 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36703
36704 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36705
36706 * benchtests/bench-skeleton.c (startup): Fix coding style.
36707
36708 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36709
36710 [BZ #6809]
36711 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36712 negative infinity argument.
36713 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36714 negative infinity argument.
36715 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36716 negative infinity argument.
36717 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36718 domain errors.
36719
36720 2013-05-10 Florian Weimer <fweimer@redhat.com>
36721
36722 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36723 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36724 * iconv/iconv_prog.c (main): Likewise.
36725 * locale/programs/charmap-dir.c (charmap_readdir)
36726 (fopen_uncompressed): Likewise.
36727 * locale/programs/locfile.c (siblings_uncached)
36728 (write_locale_data): Use lstat64 instead of lstat.
36729 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36730 stat.
36731
36732 2013-05-10 Andreas Jaeger <aj@suse.de>
36733
36734 [BZ #15395]
36735 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36736 localization.
36737 Include <locale.h>.
36738
36739 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36740
36741 * elf/dl-close.c (_dl_close_worker): Add comments.
36742
36743 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36744
36745 [BZ #15359]
36746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36747 high part of pi/2.
36748 (__ieee754_rem_pio2l): Update comments.
36749
36750 [BZ #15429]
36751 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36752 high part of pi/2.
36753 (__ieee754_rem_pio2l): Update comments.
36754
36755 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36756 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36757
36758 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36759 M_PI_4l.
36760
36761 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36762 (M_PI_34_LOG10El): Likewise.
36763 (M_PI2_LOG10El): Likewise.
36764 (M_PI4_LOG10El): Likewise.
36765 (M_PI_LOG10El): Likewise.
36766
36767 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36768
36769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36770
36771 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36772
36773 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36774 (MINUS_ZERO_INIT): Likewise.
36775 (PLUS_INFTY_INIT): Likewise.
36776 (MINUS_INFTY_INIT): Likewise.
36777 (QNAN_VALUE_INIT): Likewise.
36778 (MAX_VALUE_INIT): Likewise.
36779 (MIN_VALUE_INIT): Likewise.
36780 (MIN_SUBNORM_VALUE_INIT): Likewise.
36781 (plus_zero): Initialize with PLUS_ZERO_INIT.
36782 (minus_zero): Initialize with MINUS_ZERO_INIT.
36783 (plus_infty): Initialize with PLUS_INFTY_INIT.
36784 (minus_infty): Initialize with MINUS_INFTY_INIT.
36785 (qnan_value): Initialize with QNAN_VALUE_INIT.
36786 (max_value): Initialize with MAX_VALUE_INIT.
36787 (min_value): Initialize with MIN_VALUE_INIT.
36788 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36789
36790 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36791 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36792 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36793 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36794
36795 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36796 (RUN_TEST_2_f): Likewise.
36797 (RUN_TEST_ff_f): Likewise.
36798 (RUN_TEST_fi_f): Likewise.
36799 (RUN_TEST_fl_f): Likewise.
36800 (RUN_TEST_fff_f): Likewise.
36801 (RUN_TEST_c_f): Likewise.
36802 (RUN_TEST_f_f1): Likewise.
36803 (RUN_TEST_fF_f1): Likewise.
36804 (RUN_TEST_fI_f1): Likewise.
36805 (RUN_TEST_ffI_f1): Likewise.
36806 (RUN_TEST_c_c): Likewise.
36807 (RUN_TEST_cc_c): Likewise.
36808 (RUN_TEST_f_i): Likewise.
36809 (RUN_TEST_f_i_tg): Likewise.
36810 (RUN_TEST_ff_i_tg): Likewise.
36811 (RUN_TEST_f_b): Likewise.
36812 (RUN_TEST_f_b_tg): Likewise.
36813 (RUN_TEST_f_l): Likewise.
36814 (RUN_TEST_f_L): Likewise.
36815 (RUN_TEST_sincos): Likewise.
36816 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36817 whether to show exceptions. Do not include ");\n" in return
36818 value.
36819 (special_functions): Output call to RUN_TEST_sincos instead of
36820 check_float calls. Update calls to new_test.
36821 (parse_args): Output call to single RUN_TEST_* macro instead of
36822 check_* calls and other assignments. Update calls to new_test.
36823
36824 [BZ #2546]
36825 [BZ #2560]
36826 [BZ #5159]
36827 [BZ #15426]
36828 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36829 input to result for tgamma overflow.
36830 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36831 (gamma_coeff): New variable.
36832 (NCOEFF): New macro.
36833 (gamma_positive): New function.
36834 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36835 underflow here. Use gamma_positive instead of exp (lgamma) for
36836 other arguments.
36837 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36838 (gamma_coeff): New variable.
36839 (NCOEFF): New macro.
36840 (gammaf_positive): New function.
36841 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36842 underflow here. Use gamma_positive instead of exp (lgamma) for
36843 other arguments.
36844 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36845 (gamma_coeff): New variable.
36846 (NCOEFF): New macro.
36847 (gammal_positive): New function.
36848 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36849 underflow here. Use gamma_positive instead of exp (lgamma) for
36850 other arguments.
36851 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36852 (gamma_coeff): New variable.
36853 (NCOEFF): New macro.
36854 (gammal_positive): New function.
36855 (__ieee754_gammal_r): Handle positive infinity, overflow and
36856 underflow here. Handle NaN the same as positive infinity. Remove
36857 check x < 0xffffffff for negative integers. Use gamma_positive
36858 instead of exp (lgamma) for other arguments.
36859 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36860 (gamma_coeff): New variable.
36861 (NCOEFF): New macro.
36862 (gammal_positive): New function.
36863 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36864 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36865 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36866 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36867 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36868 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36869 * sysdeps/generic/math_private.h (__gamma_productf): New
36870 prototype.
36871 (__gamma_product): Likewise.
36872 (__gamma_productl): Likewise.
36873 * math/Makefile (libm-calls): Add gamma_product.
36874 * math/libm-test.inc (tgamma_test): Add more tests.
36875 * sysdeps/i386/fpu/libm-test-ulps: Update.
36876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36877
36878 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36879
36880 * benchtests/bench-skeleton.c (main): Preheat CPU.
36881
36882 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36883
36884 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36885
36886 2013-05-07 Roland McGrath <roland@hack.frob.com>
36887
36888 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36889 and _dl_skip_args_internal.
36890
36891 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36892
36893 * manual/message.texi (Message Translation): Talk about users.
36894 Message to key mapping impacts design.
36895
36896 2013-05-06 Roland McGrath <roland@hack.frob.com>
36897
36898 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36899
36900 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36901
36902 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36903 * sysdeps/wordsize-64/glob64.c: ... here.
36904
36905 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36906 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36907 New macros.
36908
36909 * debug/getlogin_r_chk.c: Moved to ...
36910 * login/getlogin_r_chk.c: ... here.
36911 * debug/Makefile (routines): Move getlogin_r_chk to ...
36912 * login/Makefile (routines): ... here.
36913 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36914 * login/Versions (libc: GLIBC_2.4): ... here.
36915
36916 * io/poll.c (__poll): Renamed from poll.
36917 Add libc_hidden_def.
36918 (poll): Define as weak alias.
36919
36920 * debug/ptsname_r_chk.c: Moved to ...
36921 * login/ptsname_r_chk.c: ... here.
36922 * debug/Makefile (routines): Move ptsname_r_chk to ...
36923 * login/Makefile (routines): ... here.
36924 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36925 * login/Versions (libc: GLIBC_2.4): ... here.
36926
36927 * posix/getlogin.c: Moved to ...
36928 * login/getlogin.c: ... here.
36929 * posix/getlogin_r.c: Moved to ...
36930 * login/getlogin_r.c: ... here.
36931 * posix/getlogin_r.c: Moved to ...
36932 * login/getlogin_r.c: ... here.
36933 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36934 * login/Makefile (routines): ... here.
36935 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36936 * login/Versions (libc: GLIBC_2.0): ... here.
36937
36938 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36939 (setrlimit): Define as weak alias.
36940
36941 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36942 Call __ names for open, ftruncate, and close.
36943 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36944 (truncate): Define as weak alias.
36945
36946 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36947
36948 * math/gen-libm-test.pl (parse_args): Initialize x before each
36949 test of frexp, modf and remquo.
36950
36951 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36952 test signgam value.
36953
36954 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36955
36956 [BZ #15418]
36957 [BZ #15419]
36958 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36959 internal tests.
36960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36961
36962 2013-05-06 Roland McGrath <roland@hack.frob.com>
36963
36964 * elf/dl-writev.h: New file.
36965 * elf/dl-misc.c: Include it.
36966 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36967 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36968
36969 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36970
36971 * math/libm-test.inc (noXFails): Remove variable.
36972 (noXPasses): Likewise.
36973 (BUILD_COMPLEX_INT): Remove macro.
36974 (print_screen): Remove xfail argument.
36975 (print_screen_max_error): Likewise.
36976 (update_stats): Likewise.
36977 (print_max_error): Likewise. Update calls to other affected
36978 functions.
36979 (print_complex_max_error): Likewise.
36980 (test_single_exception): Update calls to print_screen.
36981 (test_single_errno): Likewise.
36982 (check_float_internal): Remove xfail argument. Update calls to
36983 other affected functions.
36984 (check_float): Likewise.
36985 (check_complex): Likewise.
36986 (check_int): Likewise.
36987 (check_long): Likewise.
36988 (check_bool): Likewise.
36989 (check_longlong): Likewise.
36990 (main): Don't print noXFails and noXPasses.
36991 * math/gen-libm-test.pl (top level): Don't mention expected
36992 failure handling in comment.
36993 (new_test): Don't handle expected failures.
36994 (parse_args): Don't mention expected failure handling in comment.
36995 (generate_testfile): Don't handle expected failures.
36996 (parse_ulps): Likewise.
36997 (print_ulps_file): Likewise.
36998 (get_failure): Remove function.
36999 (output_test): Don't handle expected failures.
37000 * make/README.libm-test: Don't mention expected failure handling.
37001
37002 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37003 (minus_zero): Likewise.
37004 (plus_infty): Likewise.
37005 (minus_infty): Likewise.
37006 (qnan_value): Likewise.
37007 (max_value): Likewise.
37008 (min_value): Likewise.
37009 (min_subnorm_value): Likewise.
37010 (initialize): Do not initialize those variables dynamically.
37011
37012 2013-05-03 Roland McGrath <roland@hack.frob.com>
37013
37014 * io/open.c (__open_2): Moved to ...
37015 * io/open_2.c: ... this new file.
37016 * io/open64.c (__open64_2): Moved to ...
37017 * io/open64_2.c: ... this new file.
37018 * io/openat.c (__openat_2): Moved to ...
37019 * io/openat_2.c: ... this new file.
37020 * io/openat64.c (__openat64_2): Moved to ...
37021 * io/openat64_2.c: ... this new file.
37022 * io/Makefile (routines): Add them.
37023 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37024 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37025 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37026 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37027 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37028 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37029 (__openat64): Add hidden_ver.
37030 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37031 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37032
37033 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37034 Separately conditionalize setting of GLRO(dl_sysinfo) so
37035 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37036 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37037
37038 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37039
37040 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37041 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37042 definition.
37043 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37044 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37045 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37046 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37047 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37048
37049 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37050
37051 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37052 test signgam value.
37053
37054 * math/libm-test.inc (hypot_test): Do not use
37055 IGNORE_ZERO_INF_SIGN.
37056
37057 2013-05-03 Andreas Jaeger <aj@suse.de>
37058
37059 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37060 Linux 3.9.
37061 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37062 (PF_MAX): Adjust for VSOCK change.
37063
37064 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37065
37066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37067
37068 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37069
37070 [BZ #15264]
37071 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37072 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37073 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37074
37075 2013-05-02 David S. Miller <davem@davemloft.net>
37076
37077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37078
37079 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37080
37081 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37082
37083 2013-05-01 Roland McGrath <roland@hack.frob.com>
37084
37085 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37086
37087 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37088
37089 [BZ #14952]
37090 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37091 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37092 Use __attribute__ ((__gnu_inline__)).
37093 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37094 Don't use __attribute__ ((__gnu_inline__)).
37095
37096 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37097
37098 [BZ #15423]
37099 * math/s_catan.c (__catan): Handle small real or imaginary part of
37100 input specially to avoid spurious underflow.
37101 * math/s_catanf.c (__catanf): Likewise.
37102 * math/s_catanh.c (__catanh): Likewise.
37103 * math/s_catanhf.c (__catanhf): Likewise.
37104 * math/s_catanhl.c (__catanhl): Likewise.
37105 * math/s_catanl.c (__catanl): Likewise.
37106 * math/libm-test.inc (catan_test): Add more tests.
37107 (catanh_test): Likewise.
37108 * sysdeps/i386/fpu/libm-test-ulps: Update.
37109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37110
37111 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37112
37113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37114
37115 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37116
37117 [BZ #15416]
37118 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37119 accurately for denominator in atan2.
37120 * math/s_catanf.c (__catanf): Likewise.
37121 * math/s_catanh.c (__catanh): Likewise.
37122 * math/s_catanhf.c (__catanhf): Likewise.
37123 * math/s_catanhl.c (__catanhl): Likewise.
37124 * math/s_catanl.c (__catanl): Likewise.
37125 * math/libm-test.inc (catan_test): Add more tests.
37126 (catanh_test): Likewise.
37127 * sysdeps/i386/fpu/libm-test-ulps: Update.
37128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37129
37130 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37131
37132 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37133
37134 * benchtests/Makefile (bench): Remove slow benchmarks.
37135 * benchtests/atan-inputs: Add slow benchmark inputs.
37136 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37137 (BENCH_FUNC): Accept variant offset.
37138 (VARIANT): Define.
37139 * benchtests/bench-skeleton.c (main): Run benchmark for each
37140 variant.
37141 * benchtests/cos-inputs: Add slow benchmark inputs.
37142 * benchtests/exp-inputs: Likewise.
37143 * benchtests/pow-inputs: Likewise.
37144 * benchtests/sin-inputs: Likewise.
37145 * benchtests/slowatan-inputs: Remove.
37146 * benchtests/slowatan.c: Remove.
37147 * benchtests/slowcos-inputs: Remove.
37148 * benchtests/slowcos.c: Remove.
37149 * benchtests/slowexp-inputs: Remove.
37150 * benchtests/slowexp.c: Remove.
37151 * benchtests/slowpow-inputs: Remove.
37152 * benchtests/slowpow.c: Remove.
37153 * benchtests/slowsin-inputs: Remove.
37154 * benchtests/slowsin.c: Remove.
37155 * benchtests/slowtan-inputs: Remove.
37156 * benchtests/slowtan.c: Remove.
37157 * benchtests/tan-inputs: Add slow benchmark inputs.
37158 * scripts/bench.pl: Parse comments and directives.
37159
37160 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37161 in CPPFLAGS.
37162 ($(objpfx)bench-%.c): Remove *-ITER.
37163 * benchtests/bench-modf.c: Remove definition of ITER.
37164 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37165 (main): Loop for DURATION seconds instead of fixed number of
37166 iterations.
37167 * scripts/bench.pl: Don't expect iterations in parameters.
37168
37169 2013-04-29 Roland McGrath <roland@hack.frob.com>
37170
37171 * io/fchdir.c (__fchdir): Renamed from fchdir.
37172 (fchdir): Define as weak alias.
37173
37174 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37175
37176 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37177 (ERRNO_EDOM): Likewise.
37178 (ERRNO_ERANGE): Likewise.
37179 (noErrnoTests): New variable.
37180 (init_max_error): Set errno to 0.
37181 (test_single_errno): New function.
37182 (test_errno): Likewise.
37183 (check_float_internal): Call test_errno. Set errno to 0.
37184 (check_complex): Refer to errno tests in comment.
37185 (check_int): Call test_errno. Set errno to 0.
37186 (check_long): Likewise.
37187 (check_bool): Likewise.
37188 (check_longlong): Likewise.
37189 (cos_test): Use ERRNO_* flags for errno tests instead of
37190 check_int.
37191 (expm1_test): Likewise.
37192 (fmod_test): Likewise.
37193 (ilogb_test): Likewise.
37194 (lgamma_test): Likewise.
37195 (pow_test): Likewise.
37196 (remainder_test): Likewise.
37197 (sin_test): Likewise.
37198 (tan_test): Likewise.
37199 (yn_test): Likewise.
37200 (initialize): Set errno to 0.
37201 (main): Print number of errno tests.
37202 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37203
37204 2013-04-29 Andreas Jaeger <aj@suse.de>
37205
37206 [BZ #15084]
37207 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37208 and RES_USEVC.
37209
37210 [BZ #15085]
37211 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37212 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37213 unimplemented.
37214
37215 [BZ #15380]
37216 * stdlib/random.c (__initstate): Return NULL if
37217 __initstate fails.
37218
37219 [BZ #15086]
37220 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37221 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37222 RES_SNGLKUPREOP.
37223
37224 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37225
37226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37227
37228 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37229
37230 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37231 of individual tests.
37232 (casin_test): Likewise.
37233 (casinh_test): Likewise.
37234
37235 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37236
37237 [BZ #15409]
37238 * math/s_catan.c (__catan): Handle arguments with large real or
37239 imaginary part separately without squaring.
37240 * math/s_catanf.c (__catanf): Likewise.
37241 * math/s_catanh.c (__catanh): Likewise.
37242 * math/s_catanhf.c (__catanhf): Likewise.
37243 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37244 and redefine.
37245 (__catanhl): Handle arguments with large real or imaginary part
37246 separately without squaring.
37247 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37248 and redefine.
37249 (__catanl): Handle arguments with large real or imaginary part
37250 separately without squaring.
37251 * math/libm-test.inc (catan_test): Add more tests.
37252 (catanh_test): Likewise.
37253 * sysdeps/i386/fpu/libm-test-ulps: Update.
37254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37255
37256 2013-04-27 Andreas Jaeger <aj@suse.de>
37257
37258 [BZ #15007]
37259 * stdlib/stdlib.h: Update guards for qecvt.
37260 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37261 <stdlib.h>.
37262
37263 2013-04-27 Allan McRae <allan@archlinux.org>
37264
37265 * sysdeps/i386/fpu/libm-test-ulps: Update.
37266
37267 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37268
37269 [BZ #15406]
37270 * math/s_catan.c: Include <float.h>.
37271 (__catan): Ensure underflow exception occurs for underflowed
37272 result.
37273 * math/s_catanf.c: Include <float.h>.
37274 (__catanf): Ensure underflow exception occurs for underflowed
37275 result.
37276 * math/s_catanh.c: Include <float.h>.
37277 (__catanh): Ensure underflow exception occurs for underflowed
37278 result.
37279 * math/s_catanhf.c: Include <float.h>.
37280 (__catanhf): Ensure underflow exception occurs for underflowed
37281 result.
37282 * math/s_catanhl.c: Include <float.h>.
37283 (__catanhl): Ensure underflow exception occurs for underflowed
37284 result.
37285 * math/s_catanl.c: Include <float.h>.
37286 (__catanl): Ensure underflow exception occurs for underflowed
37287 result.
37288 * math/libm-test.inc (catan_test): Add more tests.
37289 (catanh_test): Likewise.
37290
37291 [BZ #15405]
37292 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37293 underflowed result.
37294 * math/s_ccoshf.c (__ccoshf): Likewise.
37295 * math/s_ccoshl.c (__ccoshl): Likewise.
37296 * math/s_csin.c (__csin): Likewise.
37297 * math/s_csinf.c (__csinf): Likewise.
37298 * math/s_csinh.c (__csinh): Likewise.
37299 * math/s_csinhf.c (__csinhf): Likewise.
37300 * math/s_csinhl.c (__csinhl): Likewise.
37301 * math/s_csinl.c (__csinl): Likewise.
37302 * math/libm-test.inc (ccos_test): Add more tests.
37303 (ccosh_test): Likewise.
37304 (csin_test): Likewise.
37305 (csinh_test): Likewise.
37306
37307 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37308
37309 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37310 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37311 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37312 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37313 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37314 powerpc/power5+/fpu folders.
37315 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37316
37317
37318 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37319
37320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37321
37322 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37323
37324 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37325 additions to variable.
37326 [$(config-machine) = x86_64] (modules-names): Likewise.
37327 ($(objpfx)tst-audit3): Remove dependency.
37328 ($(objpfx)tst-audit3.out): Likewise.
37329 ($(objpfx)tst-audit4): Likewise.
37330 ($(objpfx)tst-audit4.out): Likewise.
37331 ($(objpfx)tst-audit5): Likewise.
37332 ($(objpfx)tst-audit5.out): Likewise.
37333 ($(objpfx)tst-audit6): Likewise.
37334 ($(objpfx)tst-audit6.out): Likewise.
37335 ($(objpfx)tst-audit7): Likewise.
37336 ($(objpfx)tst-audit7.out): Likewise.
37337 (tst-audit3-ENV): Remove variable.
37338 (tst-audit4-ENV): Likewise.
37339 (tst-audit5-ENV): Likewise.
37340 (tst-audit6-ENV): Likewise.
37341 (tst-audit7-ENV): Likewise.
37342 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37343 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37344 addition to variable.
37345 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37346 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37347 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37348 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37349 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37350 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37351 tst-audit3, tst-audit4 and tst-audit5.
37352 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37353 tst-audit6 and tst-audit7.
37354 [$(subdir) = elf] (modules-names): Add audit modules for those
37355 tests.
37356 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37357 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37358 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37359 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37360 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37361 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37362 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37363 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37364 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37365 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37366 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37367 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37368 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37369 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37370 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37371 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37372 Likewise.
37373 [$(subdir) = elf && $(config-cflags-avx) = yes]
37374 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37375 [$(subdir) = elf && $(config-cflags-avx) = yes]
37376 (CFLAGS-tst-auditmod4a.c): Likewise.
37377 [$(subdir) = elf && $(config-cflags-avx) = yes]
37378 (CFLAGS-tst-auditmod4b.c): Likewise.
37379 [$(subdir) = elf && $(config-cflags-avx) = yes]
37380 (CFLAGS-tst-auditmod6b.c): Likewise.
37381 [$(subdir) = elf && $(config-cflags-avx) = yes]
37382 (CFLAGS-tst-auditmod6c.c): Likewise.
37383 [$(subdir) = elf && $(config-cflags-avx) = yes]
37384 (CFLAGS-tst-auditmod7b.c): Likewise.
37385 * elf/tst-audit3.c: Move to ...
37386 * sysdeps/x86_64/tst-audit3.c: ... here.
37387 * elf/tst-audit4.c: Move to ...
37388 * sysdeps/x86_64/tst-audit4.c: ... here.
37389 * elf/tst-audit5.c: Move to ...
37390 * sysdeps/x86_64/tst-audit5.c: ... here.
37391 * elf/tst-audit6.c: Move to ...
37392 * sysdeps/x86_64/tst-audit6.c: ... here.
37393 * elf/tst-audit7.c: Move to ...
37394 * sysdeps/x86_64/tst-audit7.c: ... here.
37395 * elf/tst-auditmod3a.c: Move to ...
37396 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37397 * elf/tst-auditmod3b.c: Move to ...
37398 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37399 * elf/tst-auditmod4a.c: Move to ...
37400 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37401 * elf/tst-auditmod4b.c: Move to ...
37402 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37403 * elf/tst-auditmod5a.c: Move to ...
37404 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37405 * elf/tst-auditmod5b.c: Move to ...
37406 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37407 * elf/tst-auditmod6a.c: Move to ...
37408 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37409 * elf/tst-auditmod6b.c: Move to ...
37410 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37411 * elf/tst-auditmod6c.c: Move to ...
37412 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37413 * elf/tst-auditmod7a.c: Move to ...
37414 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37415 * elf/tst-auditmod7b.c: Move to ...
37416 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37417
37418 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37419
37420 [BZ #15366]
37421 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37422 define unconditionally.
37423 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37424 define unconditionally.
37425 (INT8_C, INT16_C, etc.): Likewise.
37426
37427 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37428
37429 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37430 __ehdr_start with hidden visibility.
37431
37432 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37433
37434 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37435
37436 * math/libm-test.inc (cos_test): Use accurate hex constants.
37437 (sincost_test): Likewise.
37438
37439 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37440
37441 * math/libm-test.inc (catan_test): Add more tests.
37442 (catanh_test): Likewise.
37443
37444 * math/s_catanf.c (__catanf): Use suffixed floating-point
37445 constants.
37446 * math/s_catanhf.c (__catanhf): Likewise.
37447 * math/s_catanhl.c (__catanhl): Likewise.
37448 * math/s_catanl.c (__catanl): Likewise.
37449
37450 [BZ #15394]
37451 * math/s_catan.c (__catan): Calculate imaginary part of result
37452 with log1p not log unless computing log of number close to 0.
37453 * math/s_catanf.c (__catanf): Likewise.
37454 * math/s_catanl.c (__catanl): Likewise.
37455 * math/s_catanh.c (__catanh): Calculate real part of result with
37456 log1p not log unless computing log of number close to 0.
37457 * math/s_catanhf.c (__catanhf): Likewise.
37458 * math/s_catanhl.c (__catanhl): Likewise.
37459 * math/libm-test.inc (catan_test): Add more tests.
37460 (catanh_test): Likewise.
37461 * sysdeps/i386/fpu/libm-test-ulps: Update.
37462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37463
37464 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37465
37466 * benchtests/Makefile: Mention files in which fast and slow
37467 paths of math functions are implemented.
37468
37469 2013-04-23 Roland McGrath <roland@hack.frob.com>
37470
37471 * sysdeps/posix/timespec_get.c: New file.
37472
37473 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37474
37475 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37476 POWER.
37477 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37478 for POWER.
37479 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37480 powerpc/power5/fpu folders.
37481 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37482 * benchtests/Makefile: Add modf testcase.
37483 * benchtests/bench-modf.c: New file: Benchmark test for mo
37484
37485 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37486
37487 [BZ #14888]
37488 * time/Makefile (tests): Add tst-strptime-whitespace.
37489 * time/strptime_l.c (get_number): Use ISSPACE.
37490 (__strptime_internal): Likewise.
37491 * time/tst-strptime-whitespace.c: New test case.
37492
37493 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37494
37495 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37496 member.
37497 (_nss_files_init): Set it here.
37498
37499 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37500
37501 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37502 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37503 unsigned.
37504
37505 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37506
37507 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37508
37509 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37510
37511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37512 size just once.
37513
37514 2013-04-21 David S. Miller <davem@davemloft.net>
37515
37516 * po/ru.po: Update Russion translation from translation project.
37517
37518 2013-04-17 Adam Conrad <adconrad@0c3.net>
37519
37520 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37521 and setfsgid.
37522
37523 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37524
37525 * configure.in: Remove i386 configure warning. Remove i386 case.
37526 * configure: Regenerate.
37527 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37528 Add example to error message.
37529 * sysdeps/i386/configure: Regenerate.
37530
37531 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37532
37533 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37534 slowtan.
37535 * benchtests/cos-inputs: New file.
37536 * benchtests/slowcos-inputs: New file.
37537 * benchtests/slowcos.c: New file.
37538 * benchtests/slowtan-inputs: New file.
37539 * benchtests/slowtan.c: New file.
37540 * benchtests/tan-inputs: New file.
37541
37542 2013-04-16 Roland McGrath <roland@hack.frob.com>
37543
37544 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37545 considered kosher.
37546
37547 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37548
37549 * benchtests/Makefile: Include cppflags-iterator.mk to add
37550 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37551
37552 * Makefile.in (bench-clean): New target.
37553 * benchtests/Makefile (bench-clean): Likewise.
37554
37555 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37556
37557 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37558
37559 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37560
37561 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37562
37563 2013-04-15 Andreas Schwab <schwab@suse.de>
37564
37565 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37567 * nscd/pwdcache.c (cache_addpw): Likewise.
37568 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37569 more than recsize.
37570
37571 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37572
37573 * benchtests/Makefile (bench): Write all output to
37574 bench-out.tmp together.
37575
37576 2013-04-15 Andreas Schwab <schwab@suse.de>
37577
37578 * nscd/nscd.c (main): Don't fork again after closing files.
37579
37580 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37581
37582 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37583
37584 * benchtests/Rules (bench-deps): Collect dependencies into a
37585 single variable. Add Makefile to dependencies.
37586 ($(objpfx)bench-%.c): Depend on bench-deps.
37587
37588 2013-04-12 Roland McGrath <roland@hack.frob.com>
37589 Xavier Roche <roche+kml2@exalead.com>
37590
37591 [BZ #15361]
37592 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37593 just that it's a file descriptor.
37594 * manual/llio.texi (Synchronizing AIO Operations): Update description
37595 for EBADF error from aio_fsync.
37596
37597 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37598
37599 * Rules (bench): Move target definition...
37600 * benchtests/Makefile: ... here.
37601
37602 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37603
37604 * math/libm-test.inc (cos_test): Fix PI/2 test.
37605 (sincos_test): Likewise.
37606 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37607 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37608
37609 2013-04-11 Andreas Schwab <schwab@suse.de>
37610
37611 [BZ #13988]
37612 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37613 accept exponent character only when digits were seen.
37614 * stdio-common/Makefile (tests): Add bug26.
37615 * stdio-common/bug26.c: New file.
37616
37617 [BZ #14293]
37618 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37619 non-freeable.
37620
37621 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37622
37623 * Makeconfig (rtld-prefix): Define built linker prefix.
37624 * Rules (run-bench): Use it.
37625 * math/Makefile (run-regen-ulps): Likewise.
37626
37627 * Rules (bench): Remove eval.
37628
37629 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37630 Roland McGrath <roland@hack.frob.com>
37631 Ondrej Bilka <neleai@seznam.cz>
37632
37633 [BZ #15346]
37634 * time/getdate.c: Include ctype.h and alloca.h.
37635 (__getdate_r): Trim leading and trailing spaces of input.
37636 * time/tst-getdate.c (tests): Add tests with leading and
37637 trailing spaces.
37638
37639 2013-04-08 Roland McGrath <roland@hack.frob.com>
37640
37641 [BZ #14280]
37642 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37643 when computing value.
37644
37645 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37646
37647 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37648 Use testrun.sh to run libm tests.
37649
37650 [BZ #15309]
37651 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37652
37653 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37654
37655 [BZ #15264]
37656 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37657
37658 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37659
37660 * Makefile.in (regen-ulps): New target.
37661 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37662 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37663 [ifneq (no,$(PERL)] (regen-ulps): New target.
37664 [ifeq (no,$(PERL)] (regen-ulps): New target.
37665 * math/libm-test.inc (ulps_file_name): Define.
37666 (output_dir): New variable.
37667 (options): Add "output-dir" option.
37668 (parse_opt): Handle 'o' case.
37669 (main): If output_dir is non-NULL use it as a prefix
37670 otherwise use "".
37671 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37672
37673 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37674
37675 [BZ #10060, #10062]
37676 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37677 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37678 fail configure if __sync_val_compare_and_swap is not inlined.
37679 * sysdeps/i386/configure: Regenerate.
37680 * configure.in: Build for i686 when configured for i386.
37681 * configure: Regenerate.
37682 * README: Remove i386 reference.
37683
37684 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37685
37686 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37687 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37688
37689 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37690
37691 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37692 (lmsnanval): New variables.
37693 (F): Add conversion tests.
37694 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37695 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37696
37697 * stdio-common/tstdiomisc.c (F): Properly collect individual
37698 tests' results.
37699
37700 [BZ #14686, #15336]
37701 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37702 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37703 Instead, use input NaN values or generate a qNaN by arithmetic
37704 operation. Also fix bugs to comply with the standard.
37705 * math/libm-test.inc (remainder_test): Add more tests.
37706
37707 [BZ #15335, #15342]
37708 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37710 input NaN values or generate a qNaN by arithmetic operation.
37711
37712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37713 unreachable code.
37714
37715 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37716 definitions.
37717
37718 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37719
37720 [BZ #14478]
37721 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37722 underflowed result.
37723 * math/s_cexpf.c (__cexpf): Likewise.
37724 * math/s_cexpl.c (__cexpl): Likewise.
37725 * math/libm-test.inc (cexp_test): Add more tests.
37726
37727 2013-04-03 Andreas Schwab <schwab@suse.de>
37728
37729 [BZ #15330]
37730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37731 order arrays from heap if bigger than alloca cutoff.
37732
37733 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37734
37735 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37736 (SNAN_TESTS_double): Refer to GCC PR56831.
37737 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37738 GCC PR56828.
37739
37740 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37741
37742 * Rules (bench): Move bench.out after the run is complete.
37743
37744 * Rules (bench): Echo currently running benchmark.
37745
37746 * benchtests/Makefile (bench): Add atan and slowatan.
37747 * benchtests/atan-inputs: New file.
37748 * benchtests/slowatan-inputs: New file.
37749 * benchtests/slowatan.c: New file.
37750
37751 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37752 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37753 its value.
37754
37755 [BZ #15305]
37756 * sysdeps/unix/sysv/linux/kernel-features.h
37757 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37758 __ASSUME_XFS_RESTRICTED_CHOWN.
37759 * sysdeps/unix/sysv/linux/pathconf.c
37760 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37761 Save and restore errno.
37762
37763 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37764
37765 [BZ #15327]
37766 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37767 arguments using __kernel_casinh.
37768 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37769 arguments using __kernel_casinhf.
37770 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37771 arguments using __kernel_casinhl.
37772 * math/libm-test.inc (cacosh_test): Add more tests.
37773 * sysdeps/i386/fpu/libm-test-ulps: Update.
37774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37775
37776 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37777
37778 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37780
37781 * bench/Makefile (bench): Add sin and slowsin.
37782 * benchtests/sin-inputs: New file.
37783 * benchtests/slowsin-inputs: New file.
37784 * benchtests/slowsin.c: New file.
37785
37786 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37787 (bench): Add slowexp and slowpow.
37788 (exp-ITER): Increase iterations.
37789 (pow-ITER): Likewise.
37790 * benchtests/exp-inputs: Change input.
37791 * benchtests/pow-inputs: Likewise.
37792 * benchtests/slowexp-inputs: New file.
37793 * benchtests/slowexp.c: New file.
37794 * benchtests/slowpow-inputs: New file.
37795 * benchtests/slowpow.c: New file.
37796
37797 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37798
37799 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37800 instructions.
37801 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37802 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37803 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37804 * benchtests/Makefile: Add rint benchtest.
37805 * benchtests/rint-inputs: Input for rint benchtest.
37806
37807 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37808
37809 * Versions.def (libm): Add GLIBC_2.18.
37810 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37811 hidden libm prototypes.
37812 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37813 * math/Makefile (libm-calls): Add s_issignaling.
37814 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37815 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37816 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37817 declaration.
37818 * math/math.h [__USE_GNU] (issignaling): New macro.
37819 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37820 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37821 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37822 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37825 * manual/arith.texi (issignaling): New section.
37826 * manual/libm-err-tab.pl (@all_functions): Update comment.
37827 * math/gen-libm-test.pl (parse_args): Apply special handling for
37828 issignaling.
37829 * math/libm-test.inc (print_float, issignaling_test): New
37830 functions.
37831 (check_float_internal): Add issignaling checks.
37832 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37833 default definition.
37834 * sysdeps/powerpc/math-tests.h: New file.
37835 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37836 tests.
37837 * math/test-snan.c (TEST_FUNC): Likewise.
37838
37839 2013-03-30 David S. Miller <davem@davemloft.net>
37840
37841 * po/de.po: Update from translation team.
37842
37843 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37844
37845 [BZ #10357]
37846 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37847 imaginary part less than 1.0 and real part less than 0.5
37848 specially.
37849 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37850 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37851 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37852 (cacos_test): Add more tests.
37853 (casin_test): Likewise.
37854 (casinh_test): Likewise.
37855 * sysdeps/i386/fpu/libm-test-ulps: Update.
37856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37857
37858 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37859
37860 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37861 ONE with its value.
37862
37863 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37864 (__pow_mp): Replace ONE and MONE with their values.
37865 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37866 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37867 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37868 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37869 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37870 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37871
37872 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37873
37874 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37875 (__pow_mp): Replace ZERO and MZERO with their values.
37876 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37878 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37880 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37881 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37882 (__sqr): Likewise.
37883
37884 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37885
37886 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37887
37888 2013-03-28 Roland McGrath <roland@hack.frob.com>
37889
37890 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37891 Declare with __attribute__ ((weak)).
37892 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37893 Call __call_tls_dtors only if it's not NULL.
37894
37895 2013-03-28 Roland McGrath <roland@hack.frob.com>
37896
37897 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37898 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37899 magic __ehdr_start linker symbol if it's defined.
37900 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37901 them up here if it was already done.
37902
37903 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37904 (_dl_aux_init): Use const in cast when setting it.
37905 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37906 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37907 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37908
37909 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37910 Declare them here.
37911 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37912 * csu/libc-tls.c: Nor here.
37913 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37914
37915 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37916 (__libc_message): Never call vsyslog.
37917
37918 2013-03-28 Alan Modra <amodra@gmail.com>
37919
37920 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37921 Define as empty.
37922 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37923 Likewise.
37924
37925 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37926
37927 [BZ #15214]
37928 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37929 underflow.
37930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37931
37932 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37933
37934 [BZ #15304]
37935 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37936 Don't add gid passed as argument.
37937
37938 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37939
37940 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37941
37942 [BZ #15307]
37943 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37944 imaginary part between 1.0 and 1.5 and real part less than 0.5
37945 specially.
37946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37948 * math/libm-test.inc (cacos_test): Add more tests.
37949 (casin_test): Likewise.
37950 (casinh_test): Likewise.
37951 * sysdeps/i386/fpu/libm-test-ulps: Update.
37952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37953
37954 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37955
37956 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37957 constants.
37958 (norm): Likewise.
37959 (denorm): Likewise.
37960 (__dbl_mp): Likewise.
37961 (add_magnitudes): Likewise.
37962 (sub_magnitudes): Likewise.
37963 (__add): Likewise.
37964 (__sub): Likewise.
37965 (__mul): Likewise.
37966 (__sqr): Likewise.
37967 (__inv): Likewise.
37968 (__dvd): Likewise.
37969
37970 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37971 commented code.
37972 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37973 (__dubcos): Likewise.
37974 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37975 (__ieee754_acos): Likewise.
37976 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37977 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37978 (__exp1): Likewise.
37979 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37981 (log1): Likewise.
37982 (my_log2): Likewise.
37983 (checkint): Likewise.
37984 * sysdeps/ieee754/dbl-64/e_remainder.c
37985 (__ieee754_remainder): Likewise.
37986 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37987 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37988 (bsloww): Likewise.
37989 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37990
37991 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37992 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37993 MANTISSA_STORE_T to store computations on mantissa. Use
37994 macros for rounding and division.
37995 (denorm): Likewise.
37996 (__dbl_mp): Likewise.
37997 (add_magnitudes): Likewise.
37998 (sub_magnitudes): Likewise.
37999 (__mul): Likewise.
38000 (__sqr): Likewise.
38001 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38002 powers of two in terms of TWOPOW macro.
38003 (mp_no): Make type of mantissa as MANTISSA_T.
38004 [!RADIXI]: Define RADIXI.
38005 [!TWO52]: Define TWO52.
38006 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38007
38008 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38009
38010 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38011 llroundl symbol when building for PPC32.
38012
38013 2013-03-24 Mark H Weaver <mhw@netris.org>
38014
38015 * manual/arith.texi (Normalization Functions): Fix prototypes for
38016 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38017
38018 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38019
38020 [BZ #13889]
38021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38022 high value to check if expl overflow.
38023 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38024 to check for underflow and overflow.
38025 * math/libm-test.inc: Add exp test.
38026
38027 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38028
38029 [BZ #11120]
38030 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38031 with NOT_IN_libc.
38032
38033 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38034
38035 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38036 symbol.
38037
38038 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38039
38040 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38041 wrap blocks consisting of several statements.
38042
38043 * sysdeps/generic/math-tests.h: New file.
38044 * sysdeps/i386/fpu/math-tests.h: Likewise.
38045 * math/test-snan.c: Include it.
38046 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38047
38048 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38049
38050 [BZ #15285]
38051 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38052 (__ieee754_j0l): Do not improve calculations using cos of twice
38053 input for inputs above LDBL_MAX / 2.0L.
38054 (__ieee754_y0l): Likewise.
38055 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38056 (__ieee754_j1l): Do not improve calculations using cos of twice
38057 input for inputs above LDBL_MAX / 2.0L.
38058 (__ieee754_y1l): Likewise.
38059 * math/libm-test.inc (j0_test): Add another test.
38060 (j1_test): Likewise.
38061 (y0_test): Likewise.
38062 (y1_test): Likewise.
38063 * sysdeps/i386/fpu/libm-test-ulps: Update.
38064
38065 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38066
38067 * Rules ($(objpfx)bench-%.c): Include code from a C source
38068 file.
38069
38070 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38071
38072 [BZ #15287]
38073 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38074 imaginary part 1.0 and real part less than 0.5 specially.
38075 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38076 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38077 * math/libm-test.inc (cacos_test): Add more tests.
38078 (casin_test): Likewise.
38079 (casinh_test): Likewise.
38080 * sysdeps/i386/fpu/libm-test-ulps: Update.
38081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38082
38083 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38084
38085 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38086 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38087
38088 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38089
38090 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38091 * config.make.in (config-cflags-sse4): Remove variable.
38092 (config-cflags-avx): Likewise.
38093 (config-cflags-sse2avx): Likewise.
38094 (config-cflags-novzeroupper): Likewise.
38095 (config-asflags-i686): Likewise.
38096 (have-mfma4): Likewise.
38097 (have-as-vis3): Likewise.
38098 (MIG): Likewise.
38099 * configure.in (MIG): Do not AC_SUBST.
38100 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38101 (libc_cv_cc_sse4): Do not AC_SUBST.
38102 (libc_cv_cc_avx): Likewise.
38103 (libc_cv_cc_sse2avx): Likewise.
38104 (libc_cv_cc_novzeroupper): Likewise.
38105 (libc_cv_cc_fma4): Likewise.
38106 (libc_cv_as_i686): Likewise.
38107 (libc_cv_sparc_as_vis3): Likewise.
38108 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38109 LIBC_CONFIG_VAR.
38110 (config-asflags-i686): Likewise.
38111 (config-cflags-avx): Likewise.
38112 (config-cflags-sse2avx): Likewise.
38113 (have-mfma4): Likewise.
38114 (config-cflags-novzeroupper): Likewise.
38115 * sysdeps/mach/configure.in (MIG): Likewise.
38116 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38117 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38118 LIBC_CONFIG_VAR.
38119 (config-cflags-avx): Likewise.
38120 (config-cflags-sse2avx): Likewise.
38121 (have-mfma4): Likewise.
38122 (config-cflags-novzeroupper): Likewise.
38123 * configure: Regenerated.
38124 * sysdeps/i386/configure: Likewise.
38125 * sysdeps/mach/configure: Likewise.
38126 * sysdeps/sparc/configure: Likewise.
38127 * sysdeps/x86_64/configure: Likewise.
38128
38129 2013-03-20 Roland McGrath <roland@hack.frob.com>
38130
38131 [BZ #14812]
38132 * locale/programs/localedef.c (options): Put N_ translation marker
38133 on argument names, not just descriptions.
38134
38135 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38136
38137 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38138
38139 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38140
38141 [BZ #14176]
38142 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38143
38144 2013-03-19 Roland McGrath <roland@hack.frob.com>
38145
38146 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38147 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38148 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38149 [!BEFORE_ABORT] (before_abort): New function.
38150 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38151 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38152 (writev_for_fatal): New function.
38153 (WRITEV_FOR_FATAL): New macro; call that.
38154 (backtrace_and_maps): New function.
38155 (BEFORE_ABORT): New macro; call that.
38156 (struct str_list): Type removed.
38157 (__libc_message, __libc_fatal): Functions removed.
38158 Include <sysdeps/posix/libc_fatal.c> instead.
38159
38160 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38161
38162 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38163 constants.
38164 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38165 double constants.
38166
38167 2013-03-19 Andreas Schwab <schwab@suse.de>
38168
38169 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38170 * sysdeps/gnu/configure: Regenerate.
38171
38172 * configure.in: Substitute libc_cv_rtlddir.
38173 * configure: Regenerate.
38174 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38175 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38176 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38177 * elf/Makefile (install-others, CFLAGS-interp.c)
38178 (ldso_install, common-ldd-rewrite): Likewise.
38179 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38180 $(inst_slibdir)/$(rtld-installed-name).
38181 * scripts/rellns-sh: Add -p option.
38182 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38183 for source.
38184
38185 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38186
38187 * manual/nptl.texi: Renamed to ...
38188 * manual/threads.texi: ... this.
38189 * manual/Makefile (chapters): Update.
38190
38191 2013-03-18 Roland McGrath <roland@hack.frob.com>
38192
38193 [BZ #14812]
38194 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38195 on argument names, not just descriptions.
38196 * malloc/memusagestat.c (options): Likewise.
38197 * nss/getent.c (options): Likewise.
38198
38199 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38200
38201 [BZ #14812]
38202 * iconv/iconv_prog.c (options): Put N_ translation marker
38203 on argument names, not just descriptions.
38204 * iconv/iconvconfig.c (options): Likewise.
38205
38206 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38207
38208 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38209 implementation which is faster on all x86_64 architectures.
38210 Tested on AMD, Intel Nehalem, SNB, IVB.
38211 * sysdeps/x86_64/strnlen.S: Likewise.
38212
38213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38214 Remove all multiarch strlen and strnlen versions.
38215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38216 Remove strlen and strnlen related parts.
38217
38218 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38219 Inline strlen part.
38220 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38221
38222 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38223 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38224 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38225 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38226 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38227 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38228
38229 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38230
38231 * manual/memory.texi (Malloc Tunable Parameters):
38232 Sort parameters alphabetically. Add comments for missing entries.
38233
38234 2013-03-17 David S. Miller <davem@davemloft.net>
38235
38236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38237
38238 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38239
38240 [BZ #15283]
38241 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38242 for arguments at most half maximum finite value.
38243 * math/libm-test.inc (j0_test): Add more tests.
38244 (j1_test): Likewise.
38245 (y0_test): Likewise.
38246 (y1_test): Likewise.
38247 * sysdeps/i386/fpu/libm-test-ulps: Update.
38248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38249
38250 [BZ #14155]
38251 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38252 1 / x and functions P and Q for arguments above 0x1p256L.
38253 (__ieee754_y0l): Likewise.
38254 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38255 (__ieee754_y1l): Likewise.
38256 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38257 (j1_test): Likewise.
38258 (y0_test): Likewise.
38259 (y1_test): Likewise.
38260
38261 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38262
38263 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38264 variable.
38265
38266 2013-03-15 Roland McGrath <roland@hack.frob.com>
38267
38268 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38269 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38270 zero since it's initialized to EXEC_PAGESIZE.
38271
38272 * sysdeps/unix/sysv/linux/ldsodefs.h
38273 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38274 * sysdeps/generic/ldsodefs.h: ... here.
38275
38276 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38277
38278 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38279
38280 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38281 math/test-snan.c.
38282 * math/test-snan.c: Renamed from
38283 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38284 * math/Makefile (tests): Add test-snan.
38285 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38286 test-powerpc-snan.
38287
38288 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38289 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38290 functions.
38291 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38292 __builtin_nan family of functions.
38293 * math/libm-test.inc (initialize): Initialize qnan_value with
38294 __builtin_nan family of functions.
38295 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38296 Remove variables.
38297 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38298 Remove functions.
38299 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38300 storage class. Initialize qNaN_var and sNaN_var with
38301 __builtin_nan and __builtin_nans families of functions,
38302 respectively.
38303
38304 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38305 (sqrt_test): Remove duplicate test with qNaN input.
38306 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38307 (round_test, signbit_test, significand_test): Note missing +/-Inf
38308 as well as qNaN tests.
38309
38310 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38311 qNaN_var. Fix a few strings, too.
38312 * math/libm-test.inc (nan_value): Rename to qnan_value.
38313 * math/gen-libm-test.pl (%beautify): Adjust to that.
38314 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38315 * math/test-misc.c (main): Likewise.
38316 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38317 to __qnan_bytes, and __qnan_union, respectively.
38318 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38319 Likewise.
38320 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38321 and lqnanval, respectively.
38322 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38323 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38324 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38325 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38326
38327 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38328 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38329 doubles.
38330
38331 * math/test-misc.c (main): Fix copy'n'pastos.
38332 * misc/tst-efgcvt.c (special): Likewise.
38333
38334 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38335 Remove declarations.
38336
38337 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38338
38339 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38340 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38341 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38342 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38343
38344 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38345
38346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38347 macro to return vdso values correctly in IFUNC implementations.
38348 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38349 Optimization by using IFUNC.
38350
38351 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38352 Richard Henderson <rth@redhat.com>
38353 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38354
38355 * Makefile.in (bench): New target.
38356 * NEWS: Mention the benchmark framework.
38357 * Rules (bench): Likewise.
38358 (binaries-bench): Generate binaries for functions to
38359 benchmark.
38360 * benchtests/Makefile: New makefile for benchmark tests.
38361 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38362 programs.
38363 * benchtests/exp-inputs: New input file for EXP function.
38364 * benchtests/pow-inputs: New input file for POW function.
38365 * scripts/bench.pl: New script to generate source files for
38366 benchmark programs.
38367
38368 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38369
38370 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38371 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38372 computations on mantissa. Use macros for rounding and
38373 division.
38374 (denorm): Likewise.
38375 (__dbl_mp): Likewise.
38376 (add_magnitudes): Likewise.
38377 (sub_magnitudes): Likewise.
38378 (__mul): Likewise.
38379 (__sqr): Likewise.
38380 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38381 powers of two in terms of TWOPOW macro.
38382 (mp_no): Make type of mantissa as MANTISSA_T.
38383 [!RADIXI]: Define RADIXI.
38384 [!TWO52]: Define TWO52.
38385 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38386
38387 * manual/nptl.texi (cindex): Modify threads to pthreads.
38388
38389 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38390
38391 * sysdeps/x86_64/preconfigure: Regenerated.
38392
38393 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38394
38395 [BZ #14155]
38396 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38397 0x1p28 and above.
38398 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38399 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38400 0x1p28 and above.
38401 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38402 * math/libm-test.inc (j0_test): Do not allow one spurious
38403 underflow exception.
38404 (y1_test): Likewise.
38405
38406 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38407
38408 * manual/Makefile (chapters): Add nptl.
38409 * manual/debug.texi (Debugging Support): Add link to Threads
38410 chapter.
38411 * manual/nptl.texi: New file.
38412
38413 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38414
38415 2013-03-14 Petr Baudis <pasky@ucw.cz>
38416
38417 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38418 for non-NULL pointer before the memory validity test. Pointed
38419 out by Holger Brunck <holger.brunck@keymile.com>.
38420
38421 2013-03-13 Andreas Schwab <schwab@suse.de>
38422
38423 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38424 instead of .os.
38425
38426 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38427
38428 * timezone/zic.c: Update from tzcode 2013b.
38429
38430 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38431
38432 * manual/install.texi (Configuring and compiling):
38433 Mention i686 and i586.
38434 * INSTALL: Regenerate.
38435
38436 2013-03-12 Roland McGrath <roland@hack.frob.com>
38437
38438 * sysdeps/init_array/elf-init.c: New file.
38439 * csu/elf-init.c
38440 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38441 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38442
38443 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38444 __gmon_start__ as global, but as static with a .preinit_array pointer.
38445 * sysdeps/init_array/gmon-start.c: New file. Use that.
38446 * sysdeps/init_array/crti.S: New file, empty except for comments.
38447 * sysdeps/init_array/crtn.S: Likewise.
38448
38449 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38450
38451 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38452 definining bcopy.
38453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38454 Remove Prefer_SSE_for_memop.
38455 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38456 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38457 HAS_PREFER_SSE_FOR_MEMOP.
38458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38459 memset-x86-64.
38460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38461 Remove bzero, memset ifunc support.
38462 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38463 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38464 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38465 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38466
38467 2013-03-11 Andreas Schwab <schwab@suse.de>
38468
38469 [BZ #15234]
38470 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38471 by SHLIB_COMPAT.
38472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38473 (GLIBC_2.16): Remove pthread_atfork.
38474
38475 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38476
38477 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38478 (ptestcases.h): Likewise.
38479
38480 2013-03-08 Roland McGrath <roland@hack.frob.com>
38481
38482 * Makeconfig ($(common-objpfx)config.status): Depend on
38483 sysdeps/*/preconfigure{,.in} too.
38484
38485 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38486
38487 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38488 (__free_hook): Use void * instead of __malloc_ptr_t.
38489 (__malloc_hook): Likewise.
38490 (__realloc_hook): Likewise.
38491 (__memalign_hook): Likewise.
38492 (__after_morecore_hook): Likewise.
38493 * malloc/arena.c (save_malloc_hook): Likewise.
38494 (save_free_hook): Likewise.
38495 * malloc/hooks.c (malloc_hook_ini): Likewise.
38496 (realloc_hook_ini): Likewise.
38497 (memalign_hook_ini): Likewise.
38498 * malloc/malloc.c (malloc_hook_ini): Likewise.
38499 (realloc_hook_ini): Likewise.
38500 (memalign_hook_ini): Likewise.
38501 (__free_hook): Likewise.
38502 (__malloc_hook): Likewise.
38503 (__realloc_hook): Likewise.
38504 (__memalign_hook): Likewise.
38505 (__libc_malloc): Likewise.
38506 (__libc_free): Likewise.
38507 (__libc_realloc): Likewise.
38508 (__libc_memalign): Likewise.
38509 (__libc_valloc): Likewise.
38510 (__libc_pvalloc): Likewise.
38511 (__libc_calloc): Likewise.
38512 (__posix_memalign): Likewise.
38513 * malloc/morecore.c (__sbrk): Likewise.
38514 (__default_morecore): Likewise.
38515
38516 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38517
38518 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38519 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38520 __malloc_ptrdiff_t.
38521
38522 * malloc/malloc.h (__malloc_size_t): Remove macro.
38523 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38524 __malloc_size_t.
38525 (old_memalign_hook): Likewise.
38526 (old_realloc_hook): Likewise.
38527 (struct hdr): Likewise.
38528 (flood): Likewise.
38529 (mallochook): Likewise.
38530 (memalignhook): Likewise.
38531 (reallochook): Likewise.
38532 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38533 (tr_old_realloc_hook): Likewise.
38534 (tr_old_memalign_hook): Likewise.
38535 (tr_mallochook): Likewise.
38536 (tr_reallochook): Likewise.
38537 (tr_memalignhook): Likewise.
38538
38539 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38540
38541 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38542 default_ldbl_pack and using as default implementation.
38543 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38544 implementation.
38545 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38546 redundant definition.
38547 (ldbl_insert_mantissa): Likewise.
38548 (ldbl_canonicalize): Likewise.
38549 (ldbl_nearbyint): Likewise.
38550 (ldbl_pack): Rename to ldbl_pack_ppc.
38551 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38552 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38553 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38554
38555 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38556
38557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38558 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38559 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38560 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38562 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38563 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38564 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38565
38566 2013-03-07 Andreas Jaeger <aj@suse.de>
38567
38568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38569 bits/mman-linux.h.
38570
38571 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38572
38573 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38574 Include mpa.h and declare __MPEXP.
38575 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38576 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38577 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38578 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38579 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38580 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38581 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38582
38583 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38584 (__slowpow): Use long double EXPL and LOGL functions to
38585 compute POW.
38586 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38587 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38588 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38589 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38590 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38591 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38592
38593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38594 intermediate variable to calculate exponent.
38595 (__sqr): Likewise.
38596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38597 Likewise.
38598 (__sqr): Likewise.
38599
38600 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38601 [!NO__SQR]: Define __sqr.
38602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38603 and NO__SQR. Remove all code except __mul and __sqr. Include
38604 sysdeps/ieee754/dbl-64/mpa.c.
38605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38606
38607 [BZ #12723]
38608 * posix/Makefile (tests): Add tst-pathconf.
38609 * posix/tst-pathconf.c: New test case.
38610 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38611 _PC_PIPE_BUF.
38612 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38613
38614 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38615
38616 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38617
38618 2013-03-06 Andreas Jaeger <aj@suse.de>
38619
38620 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38621 definition via __MAP_ANONYMOUS.
38622
38623 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38624 it's not part of Linux headers.
38625
38626 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38627 (MAP_HUGE_MASK): Define.
38628
38629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38630 Define.
38631 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38632 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38633 Define.
38634 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38635 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38636 Define.
38637 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38639 Define.
38640 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38641
38642 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38643 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38644 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38645 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38646 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38647 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38648
38649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38650 Handle f2fs.
38651
38652 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38653 Handle f2fs and efivarfs.
38654
38655 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38656 f2fs.
38657
38658 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38659 (EFIVARFS_MAGIC): Add.
38660 (F2FS_LINK_MAX): Add.
38661
38662 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38663
38664 * stdio-common/vfprintf.c: Replace __builtin_expect with
38665 __glibc_unlikely.
38666
38667 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38668
38669 [BZ #13550]
38670 * sysdeps/generic/bp-sym.h: Remove file.
38671 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38672 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38673 <bp-sym.h> and <bp-asm.h>.
38674 (__longjmp): Don't use BP_SYM.
38675 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38676 and <bp-asm.h>.
38677 (memcpy): Don't use BP_SYM.
38678 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38679 <bp-sym.h> and <bp-asm.h>.
38680 (memcpy): Don't use BP_SYM.
38681 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38682 <bp-asm.h>.
38683 (memcpy): Don't use BP_SYM.
38684 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38685 <bp-asm.h>.
38686 (memset): Don't use BP_SYM.
38687 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38688 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38689 (__bzero): Don't use BP_SYM.
38690 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38691 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38692 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38693 <bp-sym.h> and <bp-asm.h>.
38694 (memcmp): Don't use BP_SYM. Remove comment about bounded
38695 pointers.
38696 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38697 <bp-sym.h> and <bp-asm.h>.
38698 (memcpy): Don't use BP_SYM.
38699 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38700 <bp-sym.h> and <bp-asm.h>.
38701 (memset): Don't use BP_SYM.
38702 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38703 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38704 (__bzero): Don't use BP_SYM.
38705 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38706 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38707 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38708 <bp-sym.h> and <bp-asm.h>.
38709 (strncmp): Don't use BP_SYM. Remove comment about bounded
38710 pointers.
38711 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38712 <bp-sym.h> and <bp-asm.h>.
38713 (memcpy): Don't use BP_SYM.
38714 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38715 <bp-sym.h> and <bp-asm.h>.
38716 (memset): Don't use BP_SYM.
38717 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38718 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38719 (__bzero): Don't use BP_SYM.
38720 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38721 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38722 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38723 <bp-sym.h> and <bp-asm.h>.
38724 (__memchr): Don't use BP_SYM.
38725 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38726 <bp-sym.h> and <bp-asm.h>.
38727 (memcmp): Don't use BP_SYM. Remove comment about bounded
38728 pointers.
38729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38730 <bp-sym.h> and <bp-asm.h>.
38731 (memcpy): Don't use BP_SYM.
38732 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38733 <bp-sym.h> and <bp-asm.h>.
38734 (__mempcpy): Don't use BP_SYM.
38735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38736 <bp-sym.h> and <bp-asm.h>.
38737 (__memrchr): Don't use BP_SYM.
38738 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38739 <bp-sym.h> and <bp-asm.h>.
38740 (memset): Don't use BP_SYM.
38741 (__bzero): Likewise.
38742 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38743 <bp-sym.h> and <bp-asm.h>.
38744 (__rawmemchr): Don't use BP_SYM.
38745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38746 <bp-sym.h> and <bp-asm.h>.
38747 (__STRCMP): Don't use BP_SYM.
38748 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38749 <bp-sym.h> and <bp-asm.h>.
38750 (strchr): Don't use BP_SYM.
38751 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38752 <bp-sym.h> and <bp-asm.h>.
38753 (__strchrnul): Don't use BP_SYM.
38754 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38755 <bp-sym.h> and <bp-asm.h>.
38756 (strlen): Don't use BP_SYM.
38757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38758 <bp-sym.h> and <bp-asm.h>.
38759 (strncmp): Don't use BP_SYM. Remove comment about bounded
38760 pointers.
38761 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38762 <bp-sym.h> and <bp-asm.h>.
38763 (__strnlen): Don't use BP_SYM.
38764 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38765 <bp-sym.h> and <bp-asm.h>.
38766 (__GI__setjmp): Don't use BP_SYM.
38767 (_setjmp): Likewise.
38768 (__sigsetjmp): Likewise.
38769 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38770 (L(start_addresses)): Don't use BP_SYM.
38771 (_start): Likewise.
38772 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38773 <bp-asm.h>.
38774 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38775 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38776 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38777 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38778 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38779 <bp-asm.h>.
38780 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38781 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38782 about bounded pointers.
38783 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38784 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38785 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38786 <bp-asm.h>.
38787 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38788 about bounded pointers. Remove GKM FIXME comments.
38789 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38790 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38791 <bp-asm.h>.
38792 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38793 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38794 Remove GKM FIXME comments.
38795 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38796 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38797 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38798 <bp-asm.h>.
38799 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38800 about bounded pointers. Remove GKM FIXME comment.
38801 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38802 and <bp-asm.h>.
38803 (strncmp): Don't use BP_SYM. Remove comment about bounded
38804 pointers.
38805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38806 <bp-sym.h> and <bp-asm.h>.
38807 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38809 <bp-sym.h> and <bp-asm.h>.
38810 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38811 comment.
38812
38813 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38814
38815 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38816 call free(NULL).
38817
38818 2013-03-05 David S. Miller <davem@davemloft.net>
38819
38820 * po/es.po: Update from translation team.
38821
38822 2013-03-05 Andreas Jaeger <aj@suse.de>
38823
38824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38825 <bits/mman-linux.h>.
38826 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38827 is fine.
38828 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38829 <bits/mman-linux.h> to end of file.
38830 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38831 is fine.
38832 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38833 <bits/mman-linux.h> to end of file.
38834 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38835 is fine.
38836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38837 <bits/mman-linux.h> to end of file.
38838
38839 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38840 (MCL_CURRENT, MCL_FUTURE): Define here.
38841
38842 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38843
38844 [BZ #15232]
38845 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38846 attribute_hidden.
38847 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38848
38849 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38850
38851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38852 fourth parameter needed for rt_sigprocmask syscall.
38853 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38854 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38855 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38856 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38857 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38858 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38859
38860 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38861
38862 [BZ #13550]
38863 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38864 comment about bounded pointers.
38865 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38866 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38867
38868 2013-03-04 Andreas Jaeger <aj@suse.de>
38869
38870 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38871 common definitions.
38872
38873 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38874 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38875 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38876 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38877 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38878 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38879
38880 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38881
38882 [BZ #15055]
38883 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38884 __ieee754_sqrl instead of __sqrl.
38885
38886 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38887
38888 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38889 * sysdeps/powerpc/fpu_control.h: ... here.
38890 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38891 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38892 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38893 * sysdeps/powerpc/bits/mathinline.h: ... here.
38894
38895 2013-03-01 Roland McGrath <roland@hack.frob.com>
38896
38897 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38898 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38899 to just [NEED_DL_SYSINFO_DSO].
38900 * elf/dl-support.c: Likewise.
38901 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38902 * elf/rtld.c (dl_main): Likewise.
38903 * elf/setup-vdso.h (setup_vdso): Likewise.
38904 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38905 * sysdeps/unix/sysv/linux/dl-sysdep.c
38906 (_dl_discover_osversion): Likewise.
38907
38908 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38909
38910 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38911 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38912
38913 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38914
38915 * NEWS: Mention libm performance improvements and non-x86 PI
38916 futex support.
38917
38918 * csu/libc-start.c (__pthread_initialize_minimal): Change
38919 function arguments.
38920 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38921
38922 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38923
38924 [BZ #13550]
38925 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38926 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38927 <bp-sym.h> and <bp-asm.h>.
38928 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38929 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38930 and <bp-asm.h>.
38931 (memcpy): Don't use BP_SYM.
38932 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38933 <bp-asm.h>.
38934 (__mpn_add_n): Don't use BP_SYM.
38935 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38936 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38937 and <bp-asm.h>.
38938 (__mpn_addmul_1): Don't use BP_SYM.
38939 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38940 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38941 <bp-sym.h>.
38942 (_setjmp): Don't use BP_SYM.
38943 (__novmx_setjmp): Likewise.
38944 (__GI__setjmp): Likewise.
38945 (__vmx_setjmp): Likewise.
38946 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38947 <bp-sym.h>.
38948 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38949 (__bzero): Don't use BP_SYM.
38950 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38951 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38952 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38953 <bp-sym.h> and <bp-asm.h>.
38954 (memcpy): Don't use BP_SYM.
38955 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38956 <bp-sym.h> and <bp-asm.h>.
38957 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38958 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38959 <bp-sym.h> and <bp-asm.h>.
38960 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38961 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38962 <bp-asm.h>.
38963 (__mpn_lshift): Don't use BP_SYM.
38964 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38965 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38966 <bp-asm.h>.
38967 (memset): Don't use BP_SYM.
38968 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38969 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38970 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38971 <bp-asm.h>.
38972 (__mpn_mul_1): Don't use BP_SYM.
38973 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38974 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38975 <bp-sym.h> and <bp-asm.h>.
38976 (memcmp): Don't use BP_SYM.
38977 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38978 <bp-sym.h> and <bp-asm.h>.
38979 (memcpy): Don't use BP_SYM.
38980 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38981 <bp-sym.h> and <bp-asm.h>.
38982 (memset): Don't use BP_SYM.
38983 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38984 <bp-sym.h> and <bp-asm.h>.
38985 (strncmp): Don't use BP_SYM.
38986 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38987 <bp-sym.h> and <bp-asm.h>.
38988 (memcpy): Don't use BP_SYM.
38989 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38990 <bp-sym.h> and <bp-asm.h>.
38991 (memset): Don't use BP_SYM.
38992 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38993 <bp-sym.h> and <bp-asm.h>.
38994 (__memchr): Don't use BP_SYM.
38995 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38996 <bp-sym.h> and <bp-asm.h>.
38997 (memcmp): Don't use BP_SYM.
38998 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38999 <bp-sym.h> and <bp-asm.h>.
39000 (memcpy): Don't use BP_SYM.
39001 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39002 <bp-sym.h> and <bp-asm.h>.
39003 (__mempcpy): Don't use BP_SYM.
39004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39005 <bp-sym.h> and <bp-asm.h>.
39006 (__memrchr): Don't use BP_SYM.
39007 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39008 <bp-sym.h> and <bp-asm.h>.
39009 (memset): Don't use BP_SYM.
39010 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39011 <bp-sym.h> and <bp-asm.h>.
39012 (__rawmemchr): Don't use BP_SYM.
39013 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39014 <bp-sym.h> and <bp-asm.h>.
39015 (__STRCMP): Don't use BP_SYM.
39016 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39017 <bp-sym.h> and <bp-asm.h>.
39018 (strchr): Don't use BP_SYM.
39019 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39020 <bp-sym.h> and <bp-asm.h>.
39021 (__strchrnul): Don't use BP_SYM.
39022 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39023 <bp-sym.h> and <bp-asm.h>.
39024 (strlen): Don't use BP_SYM.
39025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39026 <bp-sym.h> and <bp-asm.h>.
39027 (strncmp): Don't use BP_SYM.
39028 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39029 <bp-sym.h> and <bp-asm.h>.
39030 (__strnlen): Don't use BP_SYM.
39031 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39032 <bp-asm.h>.
39033 (__mpn_rshift): Don't use BP_SYM.
39034 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39035 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39036 <bp-sym.h> and <bp-asm.h>.
39037 (__sigsetjmp): Don't use BP_SYM.
39038 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39039 (L(start_addresses)): Don't use BP_SYM.
39040 (_start): Likewise.
39041 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39042 <bp-asm.h>.
39043 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39044 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39045 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39046 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39047 <bp-asm.h>.
39048 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39049 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39050 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39051 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39052 <bp-asm.h>.
39053 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39054 comments.
39055 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39056 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39057 <bp-asm.h>.
39058 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39059 FIXME comments.
39060 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39061 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39062 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39063 <bp-asm.h>.
39064 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39065 comment.
39066 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39067 and <bp-asm.h>.
39068 (strncmp): Don't use BP_SYM,
39069 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39070 <bp-asm.h>.
39071 (__mpn_sub_n): Don't use BP_SYM.
39072 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39073 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39074 and <bp-asm.h>.
39075 (__mpn_submul_1): Don't use BP_SYM.
39076 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39078 <bp-sym.h> and <bp-asm.h>.
39079 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39081 <bp-sym.h> and <bp-asm.h>.
39082 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39083 comment.
39084
39085 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39086
39087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39088 Use ZK to minimize writes to Z.
39089 (sub_magnitudes): Simplify code a bit.
39090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39091 Use ZK to minimize writes to Z.
39092 (sub_magnitudes): Simplify code a bit.
39093
39094 2013-02-27 Roland McGrath <roland@hack.frob.com>
39095
39096 * csu/gmon-start.c: Add special exception to license text.
39097
39098 2013-02-27 Richard Henderson <rth@redhat.com>
39099
39100 * scripts/config.guess: Update from config.git.
39101 * scripts/config.sub: Likewise.
39102
39103 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39104
39105 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39106
39107 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39108
39109 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39110
39111 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39112
39113 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39114
39115 2013-02-26 Roland McGrath <roland@hack.frob.com>
39116
39117 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39118 [$(build-shared = yes].
39119
39120 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39121
39122 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39123 (__mul): Reduce iterations for calculating mantissa.
39124
39125 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39126 MPTWO.
39127 (__mpranred): Likewise.
39128
39129 [BZ #15160]
39130 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39131 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39132
39133 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39134
39135 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39136 Define __attribute__.
39137
39138 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39139
39140 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39141 unused.
39142 * posix/regex_internal.h (__attribute): Remove.
39143 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39144 (re_string_context_at): Likewise.
39145 (bitset_not): Use __attribute__ and mark function as possibly
39146 unused.
39147 (bitset_merge): Likewise.
39148 (bitset_mask): Likewise.
39149 (re_string_char_size_at): Likewise.
39150 (re_string_wchar_at): Likewise.
39151 (re_string_elem_size_at): Likewise.
39152
39153 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39154
39155 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39156 code.
39157 (cc32): Likewise.
39158
39159 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39160 (__acr): Likewise.
39161 (__cpy): Likewise.
39162 (norm): Likewise.
39163 (denorm): Likewise.
39164 (__dbl_mp): Likewise.
39165 (add_magnitudes): Likewise.
39166 (sub_magnitudes): Likewise.
39167 (__mul): Likewise.
39168 (__inv): Likewise.
39169
39170 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39171 style.
39172
39173 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39174 style.
39175
39176 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39177 code.
39178
39179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39180 up changes with default code.
39181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39182 Likewise.
39183
39184 2013-02-24 Allan McRae <allan@archlinux.org>
39185
39186 * manual/socket.texi (The Internet Namespace): Order menu items
39187 to match that in the file.
39188
39189 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39190 node listing of the info page menu.
39191
39192 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39193
39194 [BZ #13550]
39195 * sysdeps/i386/bp-asm.h: Remove file.
39196 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39197 (PARMS): Do not use macros from bp-asm.h.
39198 (S1): Likewise.
39199 (S2): Likewise.
39200 (SIZE): Likewise.
39201 (__mpn_add_n): Do not use BP_SYM
39202 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39203 "bp-asm.h".
39204 (PARMS): Do not use macros from bp-asm.h.
39205 (S1): Likewise.
39206 (SIZE): Likewise.
39207 (__mpn_addmul_1): Do not use BP_SYM
39208 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39209 "bp-asm.h".
39210 (PARMS): Do not use macros from bp-asm.h.
39211 (SIGMSK): Likewise.
39212 (_setjmp): Likewise. Do not use BP_SYM.
39213 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39214 "bp-asm.h".
39215 (PARMS): Do not use macros from bp-asm.h.
39216 (SIGMSK): Likewise.
39217 (setjmp): Likewise. Do not use BP_SYM.
39218 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39219 "bp-asm.h".
39220 (PARMS): Do not use macros from bp-asm.h.
39221 (__frexp): Do not use BP_SYM.
39222 (frexp): Likewise.
39223 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39224 "bp-asm.h".
39225 (PARMS): Do not use macros from bp-asm.h.
39226 (__frexpf): Do not use BP_SYM.
39227 (frexpf): Likewise.
39228 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39229 "bp-asm.h".
39230 (PARMS): Do not use macros from bp-asm.h.
39231 (__frexpl): Do not use BP_SYM.
39232 (frexpl): Likewise.
39233 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39234 "bp-asm.h".
39235 (PARMS): Do not use macros from bp-asm.h.
39236 (__remquo): Do not use BP_SYM.
39237 (remquo): Likewise.
39238 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39239 "bp-asm.h".
39240 (PARMS): Do not use macros from bp-asm.h.
39241 (__remquof): Do not use BP_SYM.
39242 (remquof): Likewise.
39243 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39244 "bp-asm.h".
39245 (PARMS): Do not use macros from bp-asm.h.
39246 (__remquol): Do not use BP_SYM.
39247 (remquol): Likewise.
39248 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39249 "bp-asm.h".
39250 (PARMS): Do not use macros from bp-asm.h.
39251 (DEST): Likewise.
39252 (SRC): Likewise.
39253 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39254 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39255 "bp-asm.h".
39256 (PARMS): Do not use macros from bp-asm.h.
39257 (strlen): Do not use BP_SYM.
39258 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39259 "bp-asm.h".
39260 (PARMS): Do not use macros from bp-asm.h.
39261 (S1): Likewise.
39262 (S2): Likewise.
39263 (SIZE): Likewise.
39264 (__mpn_add_n): Do not use BP_SYM.
39265 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39266 "bp-asm.h".
39267 (PARMS): Do not use macros from bp-asm.h.
39268 (S1): Likewise.
39269 (SIZE): Likewise.
39270 (__mpn_addmul_1): Do not use BP_SYM.
39271 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39272 weak_alias.
39273 (bzero): Likewise.
39274 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39275 "bp-asm.h".
39276 (PARMS): Do not use macros from bp-asm.h.
39277 (S): Likewise.
39278 (SIZE): Likewise.
39279 (__mpn_lshift): Do not use BP_SYM.
39280 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39281 "bp-asm.h".
39282 (PARMS): Do not use macros from bp-asm.h.
39283 (DEST): Likewise.
39284 (SRC): Likewise.
39285 (LEN): Likewise.
39286 (memcpy): Likewise. Do not use BP_SYM.
39287 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39288 libc_hidden_def and weak_alias.
39289 (mempcpy): Do not use BP_SYM in weak_alias.
39290 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39291 "bp-asm.h".
39292 (PARMS): Do not use macros from bp-asm.h.
39293 (DEST): Likewise.
39294 (LEN): Likewise.
39295 [!BZERO_P] (CHR): Likewise.
39296 (memset): Likewise. Do not use BP_SYM.
39297 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39298 "bp-asm.h".
39299 (PARMS): Do not use macros from bp-asm.h.
39300 (S1): Likewise.
39301 (SIZE): Likewise.
39302 (__mpn_mul_1): Do not use BP_SYM.
39303 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39304 "bp-asm.h".
39305 (PARMS): Do not use macros from bp-asm.h.
39306 (S): Likewise.
39307 (SIZE): Likewise.
39308 (__mpn_rshift): Do not use BP_SYM.
39309 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39310 "bp-asm.h".
39311 (PARMS): Do not use macros from bp-asm.h.
39312 (STR): Likewise.
39313 (CHR): Likewise.
39314 (strchr): Likewise. Do not use BP_SYM.
39315 (index): Do not use BP_SYM in weak_alias.
39316 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39317 "bp-asm.h".
39318 (PARMS): Do not use macros from bp-asm.h.
39319 (DEST): Likewise.
39320 (SRC): Likewise.
39321 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39322 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39323 "bp-asm.h".
39324 (PARMS): Do not use macros from bp-asm.h.
39325 (strlen): Do not use BP_SYM.
39326 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39327 "bp-asm.h".
39328 (PARMS): Do not use macros from bp-asm.h.
39329 (S1): Likewise.
39330 (S2): Likewise.
39331 (SIZE): Likewise.
39332 (__mpn_sub_n): Do not use BP_SYM.
39333 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39334 "bp-asm.h".
39335 (PARMS): Do not use macros from bp-asm.h.
39336 (S1): Likewise.
39337 (SIZE): Likewise.
39338 (__mpn_submul_1): Do not use BP_SYM.
39339 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39340 "bp-asm.h".
39341 (PARMS): Do not use macros from bp-asm.h.
39342 (S1): Likewise.
39343 (S2): Likewise.
39344 (SIZE): Likewise.
39345 (__mpn_add_n): Do not use BP_SYM.
39346 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39347 weak_alias.
39348 (bzero): Likewise.
39349 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39350 "bp-asm.h".
39351 (PARMS): Do not use macros from bp-asm.h.
39352 (BLK2): Likewise.
39353 (LEN): Likewise.
39354 (memcmp): Do not use BP_SYM.
39355 (bcmp): Do not use BP_SYM in weak_alias.
39356 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39357 "bp-asm.h".
39358 (PARMS): Do not use macros from bp-asm.h.
39359 (DEST): Likewise.
39360 (SRC): Likewise.
39361 (LEN): Likewise.
39362 (memcpy): Likewise. Do not use BP_SYM.
39363 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39364 "bp-asm.h".
39365 (PARMS): Do not use macros from bp-asm.h.
39366 (DEST): Likewise.
39367 (SRC): Likewise.
39368 (LEN): Likewise.
39369 (memmove): Likewise. Do not use BP_SYM.
39370 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39371 "bp-asm.h".
39372 (PARMS): Do not use macros from bp-asm.h.
39373 (DEST): Likewise.
39374 (SRC): Likewise.
39375 (LEN): Likewise.
39376 (__mempcpy): Likewise. Do not use BP_SYM.
39377 (mempcpy): Do not use BP_SYM in weak_alias.
39378 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39379 "bp-asm.h".
39380 (PARMS): Do not use macros from bp-asm.h.
39381 (DEST): Likewise.
39382 (LEN): Likewise.
39383 [!BZERO_P] (CHR): Likewise.
39384 (memset): Likewise. Do not use BP_SYM.
39385 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39386 "bp-asm.h".
39387 (PARMS): Do not use macros from bp-asm.h.
39388 (STR2): Likewise.
39389 (strcmp): Do not use BP_SYM.
39390 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39391 "bp-asm.h".
39392 (PARMS): Do not use macros from bp-asm.h.
39393 (STR): Likewise.
39394 (DELIM): Likewise.
39395 [USE_AS_STRTOK_R] (SAVE): Likewise.
39396 (FUNCTION): Likewise. Do not use BP_SYM.
39397 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39398 aliases.
39399 (strtok_r): Likewise.
39400 (__GI___strtok_r): Likewise.
39401 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39402 (PARMS): Do not use macros from bp-asm.h.
39403 (S): Likewise.
39404 (SIZE): Likewise.
39405 (__mpn_lshift): Do not use BP_SYM.
39406 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39407 (PARMS): Do not use macros from bp-asm.h.
39408 (STR): Likewise.
39409 (CHR): Likewise.
39410 (__memchr): Do not use BP_SYM.
39411 (memchr): Do not use BP_SYM in weak_alias.
39412 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39413 (PARMS): Do not use macros from bp-asm.h.
39414 (BLK2): Likewise.
39415 (LEN): Likewise.
39416 (memcmp): Do not use BP_SYM.
39417 (bcmp): Do not use BP_SYM in weak_alias.
39418 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39419 (PARMS): Do not use macros from bp-asm.h.
39420 (S1): Likewise.
39421 (SIZE): Likewise.
39422 (__mpn_mul_1): Do not use BP_SYM.
39423 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39424 "bp-asm.h".
39425 (PARMS): Do not use macros from bp-asm.h.
39426 (STR): Likewise.
39427 (CHR): Likewise.
39428 (__rawmemchr): Do not use BP_SYM.
39429 (rawmemchr): Do not use BP_SYM in weak_alias.
39430 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39431 (PARMS): Do not use macros from bp-asm.h.
39432 (S): Likewise.
39433 (SIZE): Likewise.
39434 (__mpn_rshift): Do not use BP_SYM.
39435 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39436 (PARMS): Do not use macros from bp-asm.h.
39437 (SIGMSK): Likewise.
39438 (__sigsetjmp): Likewise. Do not use BP_SYM.
39439 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39440 (_start): Do not use BP_SYM.
39441 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39442 (PARMS): Do not use macros from bp-asm.h.
39443 (DEST): Likewise.
39444 (SRC): Likewise.
39445 (__stpcpy): Likewise. Do not use BP_SYM.
39446 (stpcpy): Do not use BP_SYM in weak_alias.
39447 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39448 "bp-asm.h".
39449 (PARMS): Do not use macros from bp-asm.h.
39450 (DEST): Likewise.
39451 (SRC): Likewise.
39452 (LEN): Likewise.
39453 (__stpncpy): Likewise. Do not use BP_SYM.
39454 (stpncpy): Do not use BP_SYM in weak_alias.
39455 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39456 (PARMS): Do not use macros from bp-asm.h.
39457 (STR): Likewise.
39458 (CHR): Likewise.
39459 (strchr): Likewise. Do not use BP_SYM.
39460 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39461 "bp-asm.h".
39462 (PARMS): Do not use macros from bp-asm.h.
39463 (STR): Likewise.
39464 (CHR): Likewise.
39465 (__strchrnul): Likewise. Do not use BP_SYM.
39466 (strchrnul): Do not use BP_SYM in weak_alias.
39467 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39468 "bp-asm.h".
39469 (PARMS): Do not use macros from bp-asm.h.
39470 (STOP): Likewise.
39471 (strcspn): Do not use BP_SYM.
39472 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39473 "bp-asm.h".
39474 (PARMS): Do not use macros from bp-asm.h.
39475 (STR): Likewise.
39476 (STOP): Likewise.
39477 (strpbrk): Likewise. Do not use BP_SYM.
39478 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39479 "bp-asm.h".
39480 (PARMS): Do not use macros from bp-asm.h.
39481 (STR): Likewise.
39482 (CHR): Likewise.
39483 (strrchr): Likewise. Do not use BP_SYM.
39484 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39485 (PARMS): Do not use macros from bp-asm.h.
39486 (SKIP): Likewise.
39487 (strspn): Do not use BP_SYM.
39488 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39489 (PARMS): Do not use macros from bp-asm.h.
39490 (STR): Likewise.
39491 (DELIM): Likewise.
39492 (SAVE): Likewise.
39493 (FUNCTION): Likewise. Do not use BP_SYM.
39494 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39495 aliases.
39496 (strtok_r): Likewise.
39497 (__GI___strtok_r): Likewise.
39498 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39499 (PARMS): Do not use macros from bp-asm.h.
39500 (S1): Likewise.
39501 (S2): Likewise.
39502 (SIZE): Likewise.
39503 (__mpn_sub_n): Do not use BP_SYM.
39504 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39505 "bp-asm.h".
39506 (PARMS): Do not use macros from bp-asm.h.
39507 (S1): Likewise.
39508 (SIZE): Likewise.
39509 (__mpn_submul_1): Do not use BP_SYM.
39510 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39511 <bp-sym.h>.
39512 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39513 and <bp-asm.h>.
39514 (PARMS): Do not use macros from bp-asm.h.
39515 (FLAGS): Likewise.
39516 (PTID): Likewise.
39517 (TLS): Likewise.
39518 (CTID): Likewise.
39519 (__clone): Do not use BP_SYM.
39520 (clone): Do not use BP_SYM in weak_alias.
39521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39522 and <bp-asm.h>.
39523 (PARMS): Do not use macros from bp-asm.h.
39524 (LEN): Likewise.
39525 (__mmap64): Do not use BP_SYM.
39526 (mmap64): Do not use BP_SYM in weak_alias.
39527 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39528 <bp-sym.h> and <bp-asm.h>.
39529 (PARMS): Do not use macros from bp-asm.h.
39530 (__posix_fadvise64_l64): Do not use BP_SYM.
39531 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39532 (PARMS): Do not use macros from bp-asm.h.
39533 (NSOPS): Likewise.
39534 (semtimedop): Do not use BP_SYM.
39535 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39536 and <bp-asm.h>.
39537
39538 2013-02-21 Allan McRae <allan@archlinux.org>
39539
39540 * manual/message.texi (Charset conversion in gettext):
39541 Move @end statement to beginning of line.
39542
39543 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39544
39545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39546 static.
39547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39548 Likewise.
39549
39550 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39551 (denorm): Likewise.
39552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39554
39555 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39556
39557 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39558 tail-call to the resolved function if pltexit isn't needed.
39559
39560 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39561
39562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39563 or Y being zero as being unlikely.
39564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39565 Likewise.
39566
39567 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39568
39569 * manual/nss.texi (System Databases and Name Service Switch):
39570 Remove frobnicate @pxref.
39571
39572 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39573
39574 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39575 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39576
39577 2013-02-20 Petr Machata <pmachata@redhat.com>
39578
39579 * elf/elf.h (R_ARM_TARGET1): New macro.
39580 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39581 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39582 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39583 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39584 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39585 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39586 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39587 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39588 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39589 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39590 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39591 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39592 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39593 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39594 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39595 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39596 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39597 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39598 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39599 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39600 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39601 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39602 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39603 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39604 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39605 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39606 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39607 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39608 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39609 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39610 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39611 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39612 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39613 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39614 (R_ARM_THM_GOT_BREL12): Likewise.
39615 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39616 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39617 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39618 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39619 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39620 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39621 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39622 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39623 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39624
39625 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39626
39627 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39628 __attribute_used__ to __attribute__ ((unused)).
39629
39630 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39631
39632 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39633 powerpc mpa.c.
39634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39635 comment formatting.
39636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39637
39638 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39639
39640 [BZ #13550]
39641 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39642 Remove macro.
39643 (ENTER): Remove both macro definitions.
39644 (LEAVE): Likewise.
39645 (CHECK_BOUNDS_LOW): Likewise.
39646 (CHECK_BOUNDS_HIGH): Likewise.
39647 (CHECK_BOUNDS_BOTH): Likewise.
39648 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39649 (RETURN_BOUNDED_POINTER): Likewise.
39650 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39651 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39652 (POP_ERRNO_LOCATION_RETURN): Likewise.
39653 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39654 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39655 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39656 macros.
39657 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39658 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39659 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39660 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39661 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39662 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39663 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39664 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39665 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39666 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39667 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39668 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39669 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39670 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39671 removed macros.
39672 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39673 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39674 macros.
39675 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39676 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39677 * sysdeps/i386/i586/memset.S (memset): Likewise.
39678 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39679 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39680 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39681 macros.
39682 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39683 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39684 Change uses of L(2) to L(out).
39685 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39686 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39687 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39688 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39689 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39690 removed macros.
39691 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39692 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39693 macros.
39694 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39695 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39696 (RETURN): Do not use macro LEAVE.
39697 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39698 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39699 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39700 * sysdeps/i386/i686/memset.S (memset): Likewise.
39701 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39702 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39703 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39704 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39705 Likewise.
39706 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39707 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39708 L(1_2) and L(1_3) into L(1).
39709 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39710 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39711 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39712 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39713 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39714 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39715 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39716 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39717 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39718 macros.
39719 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39720 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39721 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39722 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39723 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39724 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39725 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39726 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39727 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39728 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39729 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39730 * sysdeps/i386/strspn.S (strspn): Likewise.
39731 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39732 conditional code.
39733 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39734 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39735 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39736 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39737 L(1_3) into L(1_1).
39738 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39739 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39740 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39741 macros.
39742 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39743
39744 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39745
39746 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39747 macro.
39748
39749 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39750
39751 * math/atest-exp.c (exp_mpn): Remove ROUND.
39752 * math/atest-exp2.c (exp_mpn): Likewise.
39753 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39754
39755 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39756 * stdlib/tst-tls-atexit-lib.c: Likewise.
39757 * stdlib/tst-tls-atexit.c: Likewise.
39758
39759 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39760
39761 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39762 and __attribute_alloc_size__.
39763
39764 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39765
39766 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39767 __attribute_alloc_size__.
39768 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39769 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39770
39771 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39772
39773 * include/programs/xmalloc.h: New file.
39774 * catgets/gencat.c: Include it.
39775 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39776 * elf/pldd.c: Likewise.
39777 * iconv/iconv_charmap.c: Likewise.
39778 * iconv/iconvconfig.c: Likewise.
39779 * iconv/strtab.c: Likewise.
39780 * locale/programs/locale.c: Likewise.
39781 * locale/programs/localedef.h: Likewise.
39782 * locale/programs/simple-hash.c: Likewise.
39783 * nscd/nscd.h: Likewise.
39784 * nss/makedb.c: Likewise.
39785 * sysdeps/generic/ldconfig.h: Likewise.
39786
39787 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39788
39789 * Versions.def: Add GLIBC_2.18.
39790 * include/link.h (struct link_map): New member l_tls_dtor_count.
39791 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39792 (__call_tls_dtors): Likewise.
39793 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39794 __cxa_thread_atexit_impl.
39795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39796 Likewise.
39797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39798 Likewise.
39799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39800 Likewise.
39801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39802 Likewise.
39803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39805 Likewise.
39806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39807 Likewise.
39808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39810 Likewise.
39811 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39812 (tests): Add test case tst-tls-atexit.
39813 (modules-names): Add shared library for tst-tls-atexit.
39814 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39815 (GLIBC_PRIVATE): Add __call_tls_dtors.
39816 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39817 for libstdc++.
39818 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39819 * stdlib/tst-tls-atexit.c: New test case.
39820 * stdlib/tst-tls-atexit-lib.c: New test case.
39821
39822 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39823
39824 * elf/Versions (ld): Add _dl_find_dso_for_object.
39825 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39826 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39827 (dl_open_worker): Use _dl_find_dso_for_object.
39828 * elf/dl-sym.c (do_sym): Likewise.
39829 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39830
39831 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39832
39833 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39834 Syntactic changes only.
39835 (_dl_runtime_profile): Do a tail-call to the resolved function.
39836
39837 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39838
39839 [BZ #13550]
39840 * sysdeps/x86_64/bp-asm.h: Remove file.
39841 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39842 <bp-sym.h> and <bp-asm.h>.
39843 (__clone): Do not use BP_SYM.
39844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39845 <bp-sym.h> and <bp-asm.h>.
39846 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39847 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39848 "bp-asm.h".
39849 (_setjmp): Do not use BP_SYM.
39850 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39851 "bp-asm.h".
39852 (setjmp): Do not use BP_SYM.
39853 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39854 libc_hidden_def.
39855 (mempcpy): Do not use BP_SYM in weak_alias.
39856 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39857 "bp-asm.h".
39858 (strchr): Do not use BP_SYM.
39859 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39860 "bp-asm.h".
39861 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39862 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39863 (_start): Do not use BP_SYM.
39864 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39865 "bp-asm.h".
39866 (strcat): Do not use BP_SYM.
39867 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39868 "bp-asm.h".
39869 (STRCMP): Do not use BP_SYM.
39870 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39871 "bp-asm.h".
39872 (STRCPY): Do not use BP_SYM.
39873 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39874 "bp-asm.h".
39875 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39876 "bp-asm.h".
39877 (FUNCTION): Do not use BP_SYM.
39878 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39879 weak_alias.
39880 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39881
39882 2013-02-17 Andreas Jaeger <aj@suse.de>
39883
39884 * time/Versions: Sort entries.
39885 * string/Versions: Likewise.
39886 * resolv/Versions: Likewise.
39887 * posix/Versions: Likewise.
39888 * iconv/Versions: Likewise.
39889 * elf/Versions: Likewise.
39890 * wcsmbs/Versions: Likewise.
39891
39892 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39893
39894 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39895 loop termination condition.
39896
39897 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39898 variable to calculate EZ.
39899 (__sqr): Likewise.
39900
39901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39902 the lower precision input.
39903
39904 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39905
39906 [BZ #13550]
39907 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39908 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39909 (run-via-rtld-prefix): Do not handle %-bp tests.
39910 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39911 (all-object-suffixes): Remove .ob.
39912 (bppfx): Remove variable.
39913 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39914 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39915 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39916 [$(build-bounded) = yes] (libtype.ob): Likewise.
39917 * Makerules (elide-routines.ob): Remove variable.
39918 (do-tests-clean): Do not handle *-bp.out.
39919 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39920 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39921 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39922 (tests): Do not include $(tests-bp.out).
39923 (xtests): Do not include $(xtests-bp.out).
39924 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39925 [$(build-bounded) = yes] ($(addprefix
39926 $(objpfx),$(binaries-bounded))): Remove rule.
39927 ($(objpfx)%-bp.out): Remove rule.
39928 * config.make.in (build-bounded): Remove variable.
39929 * crypt/Makefile [$(build-bounded) = yes]
39930 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39931 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39932 append to variable.
39933 [$(build-bounded) = yes] (install-lib): Likewise.
39934 [$(build-bounded) = yes] (generated): Likewise.
39935 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39936 Remove rule.
39937 * intl/Makefile [$(build-bounded) = yes]
39938 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39939 * math/Makefile [$(build-bounded) = yes]
39940 ($(tests:%=$(objpfx)%-bp): Likewise.
39941 * misc/Makefile [$(build-bounded) = yes]
39942 ($(objpfx)tst-tsearch-bp): Likewise.
39943 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39944 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39945 Remove dependency.
39946 * string/Makefile (o-objects.ob): Remove variable.
39947 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39948 (CFLAGS-.ob): Remove variable.
39949 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39950 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39951 both definitions of variable.
39952 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39953 (ASFLAGS-.ob): Remove variable.
39954
39955 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39956
39957 [BZ #13550]
39958 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39959 Remove __BOUNDED_POINTERS__ from condition.
39960 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39961 * string/bits/string2.h [!__NO_STRING_INLINES &&
39962 !__BOUNDED_POINTERS__]: Likewise.
39963 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39964 Likewise.
39965 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39966 Remove conditional code.
39967 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39968 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39969 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39970 condition.
39971
39972 [BZ #13550]
39973 * csu/libc-start.c: Do not include <bp-sym.h>.
39974 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39975 * elf/dl-open.c: Do not include <bp-sym.h>.
39976 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39977 * math/fegetenv.c: Do not include <bp-sym.h>.
39978 (fegetenv): Do not use BP_SYM in versioned symbols.
39979 * nptl/sysdeps/pthread/bits/libc-lockP.h
39980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39981 <bp-sym.h>.
39982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39983 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39985 (__pthread_mutex_destroy): Likewise.
39986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39987 (__pthread_mutex_lock): Likewise.
39988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39989 (__pthread_mutex_trylock): Likewise.
39990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39991 (__pthread_mutex_unlock): Likewise.
39992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39993 (__pthread_mutexattr_init): Likewise.
39994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39995 (__pthread_mutexattr_destroy): Likewise.
39996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39997 (__pthread_mutexattr_settype): Likewise.
39998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39999 (__pthread_rwlock_init): Likewise.
40000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40001 (__pthread_rwlock_destroy): Likewise.
40002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40003 (__pthread_rwlock_rdlock): Likewise.
40004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40005 (__pthread_rwlock_tryrdlock): Likewise.
40006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40007 (__pthread_rwlock_wrlock): Likewise.
40008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40009 (__pthread_rwlock_trywrlock): Likewise.
40010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40011 (__pthread_rwlock_unlock): Likewise.
40012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40013 (__pthread_key_create): Likewise.
40014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40015 (__pthread_setspecific): Likewise.
40016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40017 (__pthread_getspecific): Likewise.
40018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40019 Likewise.
40020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40021 (_pthread_cleanup_push_defer): Likewise.
40022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40023 (_pthread_cleanup_pop_restore): Likewise.
40024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40025 (pthread_setcancelstate): Likewise.
40026 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40027 <bp-sym.h>.
40028 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40029 (memchr): Do not use BP_SYM in weak_alias.
40030 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40031 (fegetenv): Do not use BP_SYM in versioned symbols.
40032 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40033 (fesetenv): Do not use BP_SYM in versioned symbols.
40034 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40035 (feupdateenv): Do not use BP_SYM in versioned symbols.
40036 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40037 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40038 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40039 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40040 (open64): Do not use BP_SYM in weak_alias.
40041 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40042 (fegetenv): Do not use BP_SYM in versioned symbols.
40043 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40044 (fesetenv): Do not use BP_SYM in versioned symbols.
40045 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40046 (feupdateenv): Do not use BP_SYM in versioned symbols.
40047 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40048 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40049 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40050 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40051 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40052 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40053 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40054 <bp-sym.h>.
40055 (__libc_start_main): Do not use BP_SYM.
40056
40057 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40058
40059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40060 redundant return line.
40061 (norm): Likewise.
40062 (denorm): Likewise.
40063 (dbl_mp): Likewise.
40064 (sub_magnitudes): Likewise.
40065 (__add): Likewise.
40066 (__sub): Likewise.
40067 (__mul): Likewise.
40068 (__inv): Likewise.
40069 (__dvd): Likewise.
40070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40071 (norm): Likewise.
40072 (denorm): Likewise.
40073 (dbl_mp): Likewise.
40074 (sub_magnitudes): Likewise.
40075 (__add): Likewise.
40076 (__sub): Likewise.
40077 (__mul): Likewise.
40078 (__inv): Likewise.
40079 (__dvd): Likewise.
40080
40081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40082 instead of __mul.
40083 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40084 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40085 (cc32): Likewise.
40086
40087 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40088 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40090 of __mul for squares.
40091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40092 function
40093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40094 Likewise.
40095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40097
40098 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40099
40100 [BZ #13550]
40101 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40102 code.
40103 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40104 prototype or function definition. Rename ubp_* variables and
40105 parameters. Remove argv definitions conditional on
40106 [__BOUNDED_POINTERS__].
40107 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40108 * elf/dl-runtime.c (_dl_fixup): Likewise.
40109 * include/set-hooks.h (RUN_HOOK): Likewise.
40110 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40111 definition.
40112 * string/strcpy.c (strcpy): Do not use __unbounded.
40113 * sysdeps/generic/frame.h (struct layout): Likewise.
40114 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40115 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40116 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40117 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40118 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40119 (__backtrace): Likewise.
40120 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40121 use __ptrvalue.
40122 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40123 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40124 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40125 Likewise.
40126 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40127 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40128 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40129 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40130 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40131 Do not use __unbounded.
40132 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40133 Rename __unboundedrlimits parameter to rlimits in prototype.
40134 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40135 Do not use __unbounded.
40136 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40137 not use __ptrvalue.
40138 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40139 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40140 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40141 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40142 __ptrvalue or __unbounded.
40143 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40144 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40145 use __unbounded.
40146 (__new_msgctl): Do not use __ptrvalue.
40147 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40148 __unbounded.
40149 (__libc_msgrcv): Do not use __ptrvalue.
40150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40151 startup_info): Do not use __unbounded.
40152 (__libc_start_main): Likewise. Rename ubp_* variables and
40153 parameters. Remove argv definitions conditional on
40154 [__BOUNDED_POINTERS__].
40155 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40156 __ptrvalue.
40157 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40158 use __unbounded.
40159 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40160 or __ptrvalue.
40161 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40162 use __unbounded.
40163 (__new_shmctl): Do not use __ptrvalue.
40164 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40165 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40166 Likewise.
40167 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40169 (__libc_sigaction): Likewise.
40170 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40171 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40172 Likewise.
40173 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40174
40175 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40176
40177 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40178
40179 * string/mempcpy.c: Implement by calling memcpy.
40180
40181 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40182
40183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40184
40185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40186 evaluation.
40187
40188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40189 values in the mantissa.
40190
40191 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40192 minimize writes to Z.
40193 (sub_magnitudes): Simplify code a bit.
40194
40195 2013-02-12 Roland McGrath <roland@hack.frob.com>
40196
40197 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40198 from the message. The linker prefixes all warnings with that already.
40199
40200 2013-02-12 Andreas Schwab <schwab@suse.de>
40201
40202 [BZ #15078]
40203 * posix/regexec.c (extend_buffers): Add parameter min_len.
40204 (check_matching): Pass minimum needed length.
40205 (clean_state_log_if_needed): Likewise.
40206 (get_subexp): Likewise.
40207 * posix/Makefile (tests): Add bug-regex34.
40208 (bug-regex34-ENV): Define.
40209 * posix/bug-regex34.c: New file.
40210
40211 [BZ #11561]
40212 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40213 elements compare against the byte sequence of it, not its name.
40214 * posix/Makefile (tests): Add bug-regex35.
40215 (bug-regex35-ENV): Define.
40216 * posix/bug-regex35.c: New file.
40217
40218 2013-02-11 Tom de Vries <tom@codesourcery.com>
40219
40220 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40221 comment.
40222 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40223 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40224 (CHECK_EOL): Add undef.
40225
40226 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40227
40228 * bits/stdlib-bsearch.h: New file.
40229 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40230 * stdlib/stdlib.h: Likewise.
40231
40232 2013-02-11 Roland McGrath <roland@hack.frob.com>
40233
40234 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40235 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40236 declaration.
40237 * manual/search.texi (Array Search Function): Add missing const in
40238 lfind prototype.
40239 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40240 declaration to use rlim_t.
40241 (Basic Scheduling Functions): Remove erroneous const from
40242 sched_getparam prototype. Remove erroneous * from
40243 sched_get_priority_max and sched_get_priority_min prototypes.
40244 (Resource Usage): Fix summary @comment on vtimes to refer to
40245 sys/vtimes.h rather than vtimes.h.
40246 Add missing *s in vtimes prototype.
40247 (Limits on Resources): Fix ulimit prototype to return long int.
40248 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40249 prototypes to use long int rather than double.
40250 (BSD Random): Fix initstate and setstate to use char *, not void *.
40251 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40252 prototype to make second argument 'struct aiocb64 *const[]'.
40253 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40254 (Status of AIO Operations): Remove erroneous const in aio_return and
40255 aio_return64 prototypes.
40256 (Synchronizing I/O): Fix sync prototype to return void.
40257 * manual/startup.texi (Suboptions): Remove an erroneous const in
40258 getsubopt prototype.
40259 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40260 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40261 use size_t rather than int.
40262 (Scanning All Users): Likewise for getpwent_r.
40263 (Setting Groups): Add missing const to setgroups prototype.
40264 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40265 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40266 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40267 'const void *' rather than 'const char *'.
40268 (Host Address Functions): Likewise for inet_ntop.
40269 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40270 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40271 ssize_t for return value.
40272 (Sending Data): Likewise for send, sendto, sendmsg.
40273 (Socket Option Functions): Add a missing const in setsockopt prototype.
40274 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40275 use wchar_t for the argument.
40276 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40277 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40278 take no arguments.
40279 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40280 double/float/long double for second argument.
40281 Fix return types of significand, significandf, significandl.
40282 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40283 argument in fchmod prototype.
40284 (File Owner): Use uid_t and gid_t in fchown prototype.
40285 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40286 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40287 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40288 use 'const struct dirent **' as argument types to CMP function pointer
40289 argument.
40290 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40291 (File Times): Fix summary magic @comment for struct utimbuf and utime
40292 to refer to utime.h, not time.h.
40293 * manual/string.texi (Argz Functions): Add missing const in
40294 argz_extract and argz_next prototypes.
40295 (Finding Tokens in a String): Likewise for basename.
40296 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40297 (Copying and Concatenation): Fix typo in wmemmove prototype.
40298 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40299 (Signal Stack): Remove erroneous const in sigstack prototype.
40300 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40301 prototype.
40302 (Simple Calendar Time): Likewise for stime.
40303 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40304 prototype.
40305 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40306 say sys/sysctl.h instead.
40307 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40308 and vsyslog prototypes.
40309
40310 2013-02-11 Tom de Vries <tom@codesourcery.com>
40311
40312 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40313 Remove.
40314
40315 2013-02-11 Roland McGrath <roland@hack.frob.com>
40316
40317 * misc/sys/mman.h: Fix typo in mremap comment.
40318
40319 2013-02-08 Roland McGrath <roland@hack.frob.com>
40320
40321 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40322 the '\0' terminator.
40323
40324 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40325
40326 [BZ #13550]
40327 * debug/segfault.c: Don't include <bp-checks.h>.
40328 * sysdeps/generic/bp-checks.h: Remove file.
40329 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40330 (__GETDENTS): Don't use CHECK_N.
40331 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40332 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40333 (__getgroups): Don't use CHECK_N.
40334 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40335 (setgroups): Don't use CHECK_N.
40336 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40337 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40338 (__libc_msgrcv): Don't use CHECK_N.
40339 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40340 (__libc_msgsnd): Don't use CHECK_N.
40341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40342 <bp-checks.h>.
40343 (__libc_pread): Don't use CHECK_N.
40344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40345 include <bp-checks.h>.
40346 (__libc_pread64): Don't use CHECK_N.
40347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40348 include <bp-checks.h>.
40349 (__libc_pwrite): Don't use CHECK_N.
40350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40351 include <bp-checks.h>.
40352 (__libc_pwrite64): Don't use CHECK_N.
40353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40354 <bp-checks.h>.
40355 (__libc_pread): Don't use CHECK_N.
40356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40357 include <bp-checks.h>.
40358 (__libc_pread64): Don't use CHECK_N.
40359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40360 include <bp-checks.h>.
40361 (__libc_pwrite): Don't use CHECK_N.
40362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40363 include <bp-checks.h>.
40364 (__libc_pwrite64): Don't use CHECK_N.
40365 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40366 (do_pread): Don't use CHECK_N.
40367 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40368 (do_pread64): Don't use CHECK_N.
40369 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40370 (do_pwrite): Don't use CHECK_N.
40371 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40372 (do_pwrite64): Don't use CHECK_N.
40373 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40374 (__libc_readv): Don't use CHECK_N.
40375 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40376 (semop): Don't use CHECK_N.
40377 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40378 <bp-checks.h>.
40379 (semtimedop): Don't use CHECK_N.
40380 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40381 (__libc_pread): Don't use CHECK_N.
40382 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40383 <bp-checks.h>.
40384 (__libc_pread64): Don't use CHECK_N.
40385 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40386 <bp-checks.h>.
40387 (__libc_pwrite): Don't use CHECK_N.
40388 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40389 <bp-checks.h>.
40390 (__libc_pwrite64): Don't use CHECK_N.
40391 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40392 <bp-checks.h>.
40393 (__libc_msgrcv): Don't use CHECK_N.
40394 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40395 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40396 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40397 (__libc_writev): Don't use CHECK_N.
40398
40399 2013-02-08 Roland McGrath <roland@hack.frob.com>
40400
40401 * string/strcpy.c: Removed unused variable.
40402
40403 * Makeconfig (+sysdep-includes): Define with := rather than =.
40404 Use an existing include/ subdir of each sysdeps dir before it.
40405
40406 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40407
40408 * nscd/connection.c (register_traced_file): Comment function.
40409 [HAVE_INOTIFY] (union __inev): Define.
40410 [HAVE_INOTIFY] (inotify_check_files): New function.
40411 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40412 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40413 clear_db_cache.
40414 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40415
40416 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40417
40418 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40419 loaded if not already and that a failure is permanent.
40420
40421 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40422
40423 [BZ #15006]
40424 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40425 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40426
40427 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40428
40429 [BZ #13550]
40430 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40431 (CHECK_1_NULL_OK): Likewise.
40432 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40433 (__fxstat): Do not use CHECK_1.
40434 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40435 <bp-checks.h>.
40436 (___fxstat64): Do not use CHECK_1.
40437 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40438 <bp-checks.h>.
40439 (__fxstatat): Do not use CHECK_1.
40440 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40441 <bp-checks.h>.
40442 (__fxstatat64): Do not use CHECK_1.
40443 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40444 <bp-checks.h>.
40445 (__fxstat): Do not use CHECK_1.
40446 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40447 <bp-checks.h>.
40448 (__fxstatat): Do not use CHECK_1.
40449 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40450 <bp-checks.h>.
40451 (__getresgid): Do not use CHECK_1.
40452 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40453 <bp-checks.h>.
40454 (__getresuid): Do not use CHECK_1.
40455 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40456 <bp-checks.h>.
40457 (__lxstat): Do not use CHECK_1.
40458 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40459 <bp-checks.h>.
40460 (__old_msgctl): Do not use CHECK_1.
40461 (__new_msgctl): Likewise.
40462 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40463 <bp-checks.h>.
40464 (__new_setrlimit): Do not use CHECK_1.
40465 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40466 <bp-checks.h>.
40467 (__old_shmctl): Do not use CHECK_1.
40468 (__new_shmctl): Likewise.
40469 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40470 <bp-checks.h>.
40471 (__xstat): Do not use CHECK_1.
40472 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40473 (__lxstat): Do not use CHECK_1.
40474 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40475 <bp-checks.h>.
40476 (___lxstat64): Do not use CHECK_1.
40477 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40478 (__old_msgctl): Do not use CHECK_1.
40479 (__new_msgctl): Likewise.
40480 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40481 <bp-checks.h>.
40482 (__gettimeofday): Do not use CHECK_1.
40483 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40484 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40485 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40486 <bp-checks.h>.
40487 (__gettimeofday): Do not use CHECK_1.
40488 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40489 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40490 (__new_shmctl): Do not use CHECK_1.
40491 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40492 <bp-checks.h>.
40493 (do_sigtimedwait): Do not use CHECK_1.
40494 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40495 <bp-checks.h>.
40496 (do_sigwaitinfo): Do not use CHECK_1.
40497 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40498 <bp-checks.h>.
40499 (msgctl): Do not use CHECK_1.
40500 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40501 <bp-checks.h>.
40502 (shmctl): Do not use CHECK_1.
40503 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40504 (ustat): Do not use CHECK_1.
40505 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40506 <bp-checks.h>.
40507 (__fxstat): Do not use CHECK_1.
40508 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40509 <bp-checks.h>.
40510 (__fxstatat): Do not use CHECK_1.
40511 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40512 <bp-checks.h>.
40513 (__lxstat): Do not use CHECK_1.
40514 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40515 <bp-checks.h>.
40516 (__xstat): Do not use CHECK_1.
40517 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40518 (__xstat): Do not use CHECK_1.
40519 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40520 (___xstat64): Do not use CHECK_1.
40521
40522 [BZ #13550]
40523 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40524 definitions.
40525 (CHECK_BOUNDS_HIGH): Likewise.
40526 * string/strcpy.c: Do not include <bp-checks.h>.
40527 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40528
40529 2013-02-07 Roland McGrath <roland@hack.frob.com>
40530
40531 * nscd/nscd-client.h (__nscd_drop_map_ref):
40532 Add __attribute__ ((unused)).
40533 * nis/nss-nisplus.h (niserr2nss): Likewise.
40534
40535 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40536 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40537
40538 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40539 Remove inline keyword.
40540 * include/rounding-mode.h (round_away): Likewise.
40541 * libio/wfileops.c (adjust_wide_data): Likewise.
40542 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40543 (__m128i_strloadu_tolower): Likewise.
40544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40545 (__m128i_strloadu_tolower): Likewise.
40546 * time/mktime.c (ydhms_diff): Likewise.
40547 * locale/elem-hash.h (elem_hash): Likewise.
40548 * locale/setlocale.c (setdata): Likewise.
40549 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40550 (re_string_wchar_at): Likewise.
40551 (bitset_not, bitset_merge, bitset_mask): Likewise.
40552 [!(__GNUC__ > 3)] (inline): Remove macro.
40553 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40554 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40555 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40556 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40557 * string/memcmp.c (memcmp_bytes): Likewise.
40558 * locale/programs/locarchive.c (compute_hashval): Likewise.
40559 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40560 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40561 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40562 * nss/getent.c (print_rpc, print_protocols): Likewise.
40563 (print_passwd, print_group, print_aliases): Likewise.
40564 * nis/nss-nisplus.h (niserr2nss): Likewise.
40565 * nscd/connections.c (restart_p): Likewise.
40566 Change return type to bool.
40567
40568 2013-02-05 Roland McGrath <roland@hack.frob.com>
40569
40570 * Makeconfig (all-Depend-files): Add existing
40571 $(sorted-subdirs:=/Depend) files.
40572 (all-subdirs): Remove nss.
40573 * sysdeps/unix/inet/Subdirs: Add it here instead.
40574 * hesiod/Depend: New file.
40575
40576 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40577 instead of calling alloca.
40578
40579 * io/lseek.c (__lseek): Rename to __libc_lseek.
40580 Define __lseek as an alias.
40581
40582 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40583
40584 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40585
40586 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40587 else clause and remove check for non-standard endianness.
40588
40589 2013-02-04 David S. Miller <davem@davemloft.net>
40590
40591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40592
40593 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40594
40595 [BZ #13550]
40596 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40597 (__ubp_memchr): Remove prototype.
40598 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40599 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40600 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40601 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40602 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40603 Remove alias.
40604 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40605 (__ubp_memchr): Likewise.
40606 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40607 (__ubp_memchr): Likewise.
40608 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40609 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40610 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40611 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40612 CHECK_STRING.
40613 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40614 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40615 (__getcwd): Do not use CHECK_STRING.
40616 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40617 <bp-checks.h>.
40618 (__real_chown): Do not use CHECK_STRING.
40619 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40620 <bp-checks.h>.
40621 (fchownat): Do not use CHECK_STRING.
40622 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40623 CHECK_STRING.
40624 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40625 <bp-checks.h>.
40626 (__lchown): Do not use CHECK_STRING.
40627 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40628 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40629 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40630 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40632 include <bp-checks.h>.
40633 (truncate64): Do not use CHECK_STRING.
40634 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40635 <bp-checks.h>.
40636 (__real_chown): Do not use CHECK_STRING.
40637 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40638 <bp-checks.h>.
40639 (__lchown): Do not use CHECK_STRING.
40640 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40641 <bp-checks.h>.
40642 (__chown): Do not use CHECK_STRING.
40643 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40644 <bp-checks.h>.
40645 (truncate64): Do not use CHECK_STRING.
40646 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40647 Likewise.
40648 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40649 (__xmknod): Do not use CHECK_STRING.
40650 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40651 <bp-checks.h>.
40652 (__xmknodat): Do not use CHECK_STRING.
40653 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40654 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40655
40656 2013-02-04 Andreas Schwab <schwab@suse.de>
40657
40658 [BZ #14142]
40659 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40660 * include/netdb.h: Likewise for h_errno.
40661 * elf/tst-stackguard1.c: Include <tls.h>.
40662
40663 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40664
40665 * elf/link.h (struct link_map): Extend the l_addr comment.
40666 * include/link.h (struct link_map): Likewise.
40667
40668 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40669
40670 [BZ #13550]
40671 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40672 (BOUNDED_1): Remove macro.
40673 * debug/backtrace.c: Don't include <bp-checks.h>.
40674 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40675 (__backtrace): Likewise.
40676 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40677 <bp-checks.h>.
40678 (__backtrace): Don't use BOUNDED_1.
40679 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40680 <bp-checks.h>.
40681 (__backtrace): Don't use BOUNDED_1.
40682 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40683 (__backtrace): Don't use BOUNDED_1.
40684 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40685 (shmat): Don't use BOUNDED_N.
40686
40687 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40688
40689 [BZ #13550]
40690 * sysdeps/generic/bp-start.h: Remove file.
40691 * csu/libc-start.c: Don't include <bp-start.h>.
40692 (LIBC_START_MAIN): Set up __environ directly instead of using
40693 INIT_ARGV_and_ENVIRON.
40694 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40695 <bp-start.h>.
40696
40697 [BZ #13550]
40698 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40699 definitions.
40700 (CHECK_FCNTL): Likewise.
40701 (CHECK_N_PAGES): Likewise.
40702
40703 [BZ #13550]
40704 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40705 definitions.
40706 (CHECK_SIGSET_NULL_OK): Likewise.
40707 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40708 <bp-checks.h>.
40709 (sigpending): Don't use CHECK_SIGSET.
40710 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40711 <bp-checks.h>.
40712 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40713 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40714 <bp-checks.h>.
40715 (do_sigsuspend): Don't use CHECK_SIGSET.
40716 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40717 use CHECK_SIGSET.
40718 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40719 (do_sigwait): Don't use CHECK_SIGSET.
40720 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40721 use CHECK_SIGSET.
40722 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40723 include <bp-checks.h>.
40724 (sigpending): Don't use CHECK_SIGSET.
40725 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40726 include <bp-checks.h>.
40727 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40728 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40729 <bp-checks.h>.
40730 (sigpending): Don't use CHECK_SIGSET.
40731 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40732 <bp-checks.h>.
40733 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40734
40735 [BZ #13550]
40736 * sysdeps/generic/bp-semctl.h: Remove file.
40737 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40738 <bp-checks.h> and <bp-semctl.h>.
40739 (__old_semctl): Don't use CHECK_SEMCTL.
40740 (__new_semctl): Likewise.
40741 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40742 and <bp-semctl.h>.
40743 (__old_semctl): Don't use CHECK_SEMCTL.
40744 (__new_semctl): Likewise.
40745 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40746 <bp-checks.h> and <bp-semctl.h>.
40747 (__old_semctl): Don't use CHECK_SEMCTL.
40748 (__new_semctl): Likewise.
40749 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40750 <bp-checks.h> and <bp-semctl.h>.
40751 (semctl): Don't use CHECK_SEMCTL.
40752
40753 [BZ #13550]
40754 * Makerules (elide-bp-thunks): Remove variable.
40755 (elide-routines.oS): Don't use $(elide-bp-thunks).
40756 (elide-routines.os): Likewise.
40757 (elide-routines.o): Likewise.
40758 (elide-routines.op): Likewise.
40759 (elide-routines.og): Likewise.
40760 (objects): Don't use $(bp-thunks).
40761 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40762 include.
40763 (common-generated): Do not add s-proto-bp.d.
40764 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40765 (int): Likewise.
40766 (typ): Likewise.
40767 Do not generate makefile rules for bounded-pointer thunks.
40768 * sysdeps/generic/bp-thunks.h: Remove file.
40769 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40770 * sysdeps/unix/s-proto-bp.S: Likewise.
40771
40772 [BZ #15062]
40773 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40774 parts of result separately when argument is not close to line from
40775 -i to i and one part of argument is small.
40776 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40777 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40778 * math/libm-test.inc (cacos_test): Add more tests.
40779 (casin_test): Likewise.
40780 (casinh_test): Likewise.
40781 * sysdeps/i386/fpu/libm-test-ulps: Update.
40782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40783
40784 2013-01-31 David S. Miller <davem@davemloft.net>
40785
40786 * po/de.po: Update from translation team.
40787
40788 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40789
40790 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40791
40792 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40793
40794 * configure.in (_AC_PROG_CC_C89): New definition.
40795 * configure: Regenerate.
40796
40797 * configure.in (AC_PROG_CPP): New definition.
40798 * configure: Regenerate.
40799
40800 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40801
40802 * debug/tst-backtrace.h: New file.
40803 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40804 (ret): Remove variable.
40805 (x): Likewise.
40806 (FAIL): Remove macro.
40807 (NO_INLINE): Likewise.
40808 (fn1): Use match function instead of strstr.
40809 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40810 (ret): Remove variable.
40811 (x): Likewise.
40812 (FAIL): Remove macro.
40813 (NO_INLINE): Likewise.
40814 (fn): Use match function instead of strstr.
40815 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40816 (ret): Remove variable.
40817 (x): Likewise.
40818 (FAIL): Remove macro.
40819 (NO_INLINE): Likewise.
40820 (handle_signal): Use match function instead of strstr.
40821 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40822 (ret): Remove variable.
40823 (x): Likewise.
40824 (FAIL): Remove macro.
40825 (NO_INLINE): Likewise.
40826 (handle_signal): Use match function instead of strstr.
40827
40828 2013-01-23 Roland McGrath <roland@hack.frob.com>
40829
40830 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40831
40832 2013-01-23 David S. Miller <davem@davemloft.net>
40833
40834 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40835 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40836 argument of CAS if possible.
40837 * sysdeps/sparc/sparc64/bits/atomic.h
40838 (__arch_compare_and_exchange_val_32_acq): Likewise.
40839 (__arch_compare_and_exchange_val_64_acq): Likewise.
40840
40841 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40842
40843 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40844 * sysdeps/posix/ulimit.c: ... this.
40845 Include <limits.h>.
40846 * sysdeps/unix/bsd/ulimit.c: Remove file.
40847
40848 2013-01-23 Adam Conrad <adconrad@0c3.net>
40849
40850 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40851 (LDFLAGS-tst-array5): Likewise.
40852
40853 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40854
40855 [BZ #15036]
40856 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40857 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40858 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40859 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40860
40861 2013-01-21 David S. Miller <davem@davemloft.net>
40862
40863 * sysdeps/sparc/backtrace.c: New file.
40864 * sysdeps/sparc/sparc32/backtrace.h: New file.
40865 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40866 * sysdeps/sparc/sparc64/backtrace.h: New file.
40867 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40868 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40869 -funwind-tables.
40870
40871 2013-01-21 Andreas Schwab <schwab@suse.de>
40872
40873 [BZ #15020]
40874 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40875 closed its stdout.
40876
40877 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40878
40879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40880 "mpa2.h".
40881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40882
40883 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40884 Mark Mitchell <mark@codesourcery.com>
40885 Tom de Vries <tom@codesourcery.com>
40886 Paul Pluzhnikov <ppluzhnikov@google.com>
40887
40888 * debug/tst-backtrace2.c: New file.
40889 * debug/tst-backtrace3.c: Likewise.
40890 * debug/tst-backtrace4.c: Likewise.
40891 * debug/tst-backtrace5.c: Likewise.
40892 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40893 (CFLAGS-tst-backtrace3.c): Likewise.
40894 (CFLAGS-tst-backtrace4.c): Likewise.
40895 (CFLAGS-tst-backtrace5.c): Likewise.
40896 (LDFLAGS-tst-backtrace2): Likewise.
40897 (LDFLAGS-tst-backtrace3): Likewise.
40898 (LDFLAGS-tst-backtrace4): Likewise.
40899 (LDFLAGS-tst-backtrace5): Likewise.
40900 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40901 tst-backtrace4 and tst-backtrace5.
40902
40903 2013-01-18 Anton Blanchard <anton@samba.org>
40904 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40905
40906 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40907 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40908 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40909 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40911 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40912 "+r" and remove output regs list as redundant. Add explicit inline
40913 asm to specify register of return val to work around compiler codegen
40914 bug. Remove (int) cast on return value. Add return type parameter to
40915 use in macro so that this macro does not truncate return value for
40916 64-bit values.
40917 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40918 pass to INTERNAL_VSYSCALL_NCS.
40919 (INLINE_VSYSCALL): Add 'long int' as return type to
40920 INTERNAL_VSYSCALL_NCS macro invocation.
40921 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40922 INTERNAL_VSYSCALL_NCS macro invocation.
40923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40924
40925 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40926
40927 [BZ #14496]
40928 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40929 Fix application of SIMD FP exception mask.
40930
40931 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40932 mp_no from a power of two.
40933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40934 __mpexp_twomm1. Use __pow_mp.
40935
40936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40937 multiplication.
40938
40939 2013-01-17 David S. Miller <davem@davemloft.net>
40940
40941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40942
40943 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40944
40945 [BZ #15023]
40946 * include/complex.h: Condition contents on [!_COMPLEX_H].
40947 (__kernel_casinhf): New prototype.
40948 (__kernel_casinh): Likewise.
40949 (__kernel_casinhl): Likewise.
40950 * math/Makefile (libm_calls): Add k_casinh.
40951 * math/k_casinh.c: New file.
40952 * math/k_casinhf.c: Likewise.
40953 * math/k_casinhl.c: Likewise.
40954 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40955 finite nonzero arguments.
40956 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40957 finite nonzero arguments.
40958 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40959 finite nonzero arguments.
40960 * math/s_casinh.c: Do not include <float.h>.
40961 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40962 * math/s_casinhf.c: Do not include <float.h>.
40963 (__casinhf): Move code for finite nonzero arguments to
40964 k_casinhf.c.
40965 * math/s_casinhl.c: Do not include <float.h>.
40966 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40967 redefine.
40968 (__casinhl): Move code for finite nonzero arguments to
40969 k_casinhl.c.
40970 * math/libm-test.inc (cacos_test): Add more tests.
40971 * sysdeps/i386/fpu/libm-test-ulps: Update.
40972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40973
40974 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40975
40976 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40977 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40978 [!HAVE_MREMAP]: Remove [defined linux] case.
40979 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40980
40981 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40982
40983 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40984
40985 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40986
40987 * elf/elf.h (R_386_SIZE32): New relocation.
40988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40989 R_386_SIZE32.
40990 (elf_machine_rela): Likewise.
40991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40992 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40993
40994 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40995
40996 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40997 (FP_FAST_FMA): Do not define.
40998 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40999 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41000 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41001 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41002 !_SOFT_FLOAT]: Likewise.
41003 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41004 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41005 value.
41006 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41007 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41008 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41009 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41010 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41011 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41012 file.
41013
41014 2013-01-16 Andreas Schwab <schwab@suse.de>
41015
41016 [BZ #14327]
41017 * include/stdlib.h (__mktemp): Add declaration.
41018 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41019 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41020
41021 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41022
41023 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41024 definitions.
41025 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41026 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41027 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41028 definitions here.
41029 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41030 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41031 definitions.
41032 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41033 and ONE.
41034 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41035 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41036 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41037 definitions.
41038 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41039 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41040 definitions.
41041 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41042
41043 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41044
41045 2013-01-15 David S. Miller <davem@davemloft.net>
41046
41047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41048 trunc{,f} to libm-sysdep_routes.
41049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41051 file.
41052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41054 file.
41055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41056 file.
41057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41059 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41060 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41061 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41062 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41063 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41064 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41065
41066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41067 nearbyint{,f} to libm-sysdep_routes.
41068 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41070 New file.
41071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41072 file.
41073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41074 New file.
41075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41076 file.
41077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41079 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41080 file.
41081 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41082 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41083 file.
41084 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41085 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41086 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41087
41088 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41089 libc_feholdexcept and libc_fesetenv.
41090
41091 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41092
41093 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41094
41095 2013-01-14 David S. Miller <davem@davemloft.net>
41096
41097 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41098 (SPARC_ASM_VIS2_IFUNC): Likewise.
41099 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41101 use of 'siam' instruction.
41102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41103 Likewise.
41104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41105 Likewise.
41106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41107 Likewise.
41108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41113 file.
41114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41115 file.
41116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41117 file.
41118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41119 file.
41120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41125 new VIS2 routines.
41126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41129 Likewise.
41130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41135 routines to libm-sysdep_routines.
41136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41137
41138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41139 fdim/fdimf to libm-sysdep_routines.
41140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41141 file.
41142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41144 file.
41145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41148 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41149 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41150 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41151 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41152
41153 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41154
41155 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41156 to optimize copies.
41157
41158 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41161
41162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41163 local variable MPTWO.
41164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41165 Likewise.
41166
41167 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41168
41169 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41170 GLOB_NOESCAPE.
41171
41172 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41173
41174 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41175
41176 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41177
41178 * manual/pattern.texi (glob_t): Document gl_flags.
41179 (glob64_t): Likewise.
41180
41181 2013-01-11 David S. Miller <davem@davemloft.net>
41182
41183 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41184 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41185 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41186 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41187 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41188 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41189 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41190 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41191 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41192 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41193 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41194 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41195 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41196
41197 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41198 sparc V9 rather than using V8 code.
41199 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41200 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41201
41202 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41203 Move to...
41204 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41205 Here.
41206
41207 2013-01-11 Roland McGrath <roland@hack.frob.com>
41208
41209 [BZ #14941]
41210 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41211 not in the main loop.
41212 * configure: Regenerated.
41213
41214 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41215
41216 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41217 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41218 to just #else.
41219 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41220 [!__GLIBC_HAVE_LONG_LONG] case.
41221 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41222 condition to just #else.
41223 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41224 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41225 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41226 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41227 unconditional.
41228 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41229 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41230 #elif condition to just #else.
41231 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41232 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41233 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41234 #elif condition to just #else.
41235
41236 2013-01-11 Steve Ellcey <sellcey@mips.com>
41237
41238 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41239 (EF_MIPS_ARCH_64): Fix value.
41240 (EF_MIPS_ARCH_32R2): New.
41241 (EF_MIPS_ARCH_64R2): New.
41242
41243 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41244
41245 * Makeconfig (+link-pie-before-libc): New.
41246 (+link-pie-after-libc): Likewise.
41247 (+link-pie-tests): Likewise.
41248 (+link-pie): Rewritten.
41249 (link-before-libc): Remove $(config-LDFLAGS).
41250 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41251 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41252 (config-LDFLAGS): Renamed to ...
41253 (rtld-LDFLAGS): This.
41254 (rtld-tests-LDFLAGS): New macro.
41255 (link-libc-rpath-link): Likewise.
41256 (link-libc-tests-rpath-link): Likewise.
41257 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41258 (link-libc): Prepand $(link-libc-rpath-link).
41259 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41260 (test-program-prefix): New macro.
41261 (test-via-rtld-prefix): Likewise.
41262 (test-program-cmd): Likewise.
41263 (host-test-program-cmd): Likewise.
41264 * Makefile ($(common-objpfx)testrun.sh): Replace
41265 $(run-program-prefix) with $(test-program-prefix).
41266 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41267 $(rtld-LDFLAGS).
41268 ($(common-objpfx)shlib.lds): Likewise.
41269 (build-module-helper): Likewise.
41270 ($(common-objpfx)format.lds): Likewise.
41271 * Rules (binaries-pie-tests): New.
41272 (binaries-pie-notests): Likewise.
41273 (binaries-pie): Rewritten.
41274 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41275 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41276 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41277 (make-test-out): Replace $(host-built-program-cmd) with
41278 $(host-test-program-cmd).
41279 * config.make.in (build-hardcoded-path-in-tests): New variable.
41280 * configure.in (--enable-hardcoded-path-in-tests): New configure
41281 option.
41282 (hardcoded_path_in_tests): New AC_SUBST.
41283 * configure: Regenerated.
41284 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41285 $(built-program-cmd) with $(test-program-cmd).
41286 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41287 (test_program_cmd): This.
41288 * elf/Makefile ($(objpfx)order.out): Run test with
41289 $(test-program-prefix).
41290 ($(objpfx)order2.out): Likewise.
41291 ($(objpfx)tst-initorder.out): Likewise.
41292 ($(objpfx)tst-initorder2.out): Likewise.
41293 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41294 $(test-program-cmd).
41295 ($(objpfx)tst-array1-static.out): Likewise.
41296 ($(objpfx)tst-array2.out): Likewise.
41297 ($(objpfx)tst-array3.out): Likewise.
41298 ($(objpfx)tst-array4.out): Likewise.
41299 ($(objpfx)tst-array5.out): Likewise.
41300 ($(objpfx)tst-array5-static.out): Likewise.
41301 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41302 $(test-program-cmd).
41303 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41304 $(run-program-prefix) with $(test-program-prefix).
41305 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41306 (test_program_prefix): This.
41307 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41308 $(run-program-prefix) with $(test-program-prefix).
41309 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41310 (test_program_prefix): This.
41311 * iconvdata/tst-tables.sh: Likewise.
41312 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41313 $(run-program-prefix) with $(test-program-prefix).
41314 ($(objpfx)tst-translit.out): Likewise.
41315 ($(objpfx)tst-gettext2.out): Likewise.
41316 ($(objpfx)tst-gettext4.out): Likewise.
41317 ($(objpfx)tst-gettext6.out): Likewise.
41318 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41319 (test_program_prefix): This.
41320 * intl/tst-gettext2.sh: Likewise.
41321 * intl/tst-gettext4.sh Likewise.
41322 * intl/tst-gettext6.sh: Likewise.
41323 * intl/tst-translit.sh: Likewise.
41324 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41325 with $(test-program-cmd).
41326 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41327 $(run-program-prefix) with $(test-program-prefix).
41328 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41329 (test_program_prefix): This.
41330 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41331 $(run-program-prefix) with $(test-program-prefix).
41332 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41333 (test_program_prefix): This.
41334 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41335 * posix/Makefile ($(objpfx)globtest.out): Replace
41336 $(run-via-rtld-prefix) and $(test-wrapper) with
41337 $(test-program-prefix) and $(test-via-rtld-prefix).
41338 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41339 $(test-program-prefix).
41340 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41341 $(host-test-program-cmd).
41342 (tst-spawn-ARGS): Likewise.
41343 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41344 $(test-program-prefix).
41345 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41346 (test_via_rtld_prefix): This.
41347 (test_wrapper): Renamed to ...
41348 (test_program_prefix): This.
41349 (run_program_prefix): Replaced by test_program_prefix.
41350 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41351 (test_program_prefix): This.
41352 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41353 with $(host-test-program-cmd).
41354 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41355 $(run-program-prefix) with $(test-program-prefix).
41356 ($(objpfx)tst-printf.out): Likewise.
41357 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41358 $(test-program-cmd).
41359 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41360 (test_program_prefix): This.
41361 * stdio-common/tst-unbputc.sh: Likewise.
41362 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41363 $(run-program-prefix) with $(test-program-prefix).
41364 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41365 (test_program_prefix): This.
41366 * string/Makefile ($(objpfx)tst-svc.out): Replace
41367 $(built-program-cmd) with $(test-program-cmd).
41368
41369 2013-01-11 Andreas Jaeger <aj@suse.de>
41370
41371 [BZ #15003]
41372 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41373 value. Sync with Linux 3.7.
41374
41375 2013-01-10 David S. Miller <davem@davemloft.net>
41376
41377 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41378 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41379 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41380
41381 2013-01-10 Roland McGrath <roland@hack.frob.com>
41382
41383 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41384 never set.
41385 * configure: Regenerated.
41386
41387 2013-01-10 David S. Miller <davem@davemloft.net>
41388
41389 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41390 sparc V9 rather than using V8 code.
41391 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41392 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41393
41394 2013-01-10 Roland McGrath <roland@hack.frob.com>
41395
41396 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41397 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41398 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41399 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41400 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41401 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41402 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41403 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41404 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41405 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41406 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41407 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41408 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41409 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41410 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41411 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41412 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41413 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41414 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41415 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41416 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41417 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41418 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41419 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41420 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41421 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41422 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41423
41424 2013-01-10 David S. Miller <davem@davemloft.net>
41425
41426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41427
41428 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41429
41430 * posix/Makefile (tests-static): New variable.
41431 (tests): Add $(tests-static).
41432 (tst-exec-static-ARGS): New variable.
41433 (tst-spawn-static-ARGS): Likewise.
41434 * posix/tst-exec-static.c: New file.
41435 * posix/tst-spawn-static.c: Likewise.
41436 * posix/tst-exec.c: Support run directly.
41437 * posix/tst-spawn.c: Likewise.
41438
41439 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41440
41441 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41442 long.
41443 * math/bits/mathcalls.h (llrint): Likewise.
41444 (llround): Likewise.
41445 * stdlib/stdlib.h (struct drand48_data): Likewise.
41446 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41447 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41448 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41449 Likewise.
41450 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41451 Likewise.
41452 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41453 (elf_greg_t): Likewise.
41454 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41455 (__jmp_buf): Likewise.
41456 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41457 definitions.
41458 (llrint): Likewise, for all definitions.
41459 (llrintl): Likewise.
41460
41461 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41462 Remove [__GNUC__] condition.
41463 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41464 condition to just [__USE_ISOC99].
41465 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41466
41467 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41468
41469 [BZ #14200]
41470 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41471 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41472 defined.
41473 (_POSIX_V6_ILP32_OFF32): Likewise.
41474 (_XBS5_ILP32_OFF32): Likewise.
41475 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41476 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41477
41478 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41479
41480 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41481
41482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41483 doubles __mpexp_twomm1. Adjust usage.
41484 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41485 Remove.
41486
41487 2013-01-10 Andreas Schwab <schwab@suse.de>
41488
41489 [BZ #14964]
41490 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41491 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41492
41493 2013-01-09 David S. Miller <davem@davemloft.net>
41494
41495 [BZ #15003]
41496 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41497 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41498 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41499 (TCP_FASTOPEN): Define.
41500 (tcp_repair_opt): New structure.
41501 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41502 enum values.
41503 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41504 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41505 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41506 (tcp_cookie_transactions): New structure.
41507
41508 2013-01-09 Anton Blanchard <anton@samba.org>
41509
41510 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41511 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41512 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41513 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41514
41515 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41516
41517 * include/features.h (__USE_ANSI): Remove.
41518
41519 2013-01-09 Roland McGrath <roland@hack.frob.com>
41520
41521 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41522
41523 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41524
41525 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41526
41527 * sysdeps/s390/fpu/libm-test-ulps: Update.
41528
41529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41530
41531 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41532 (__acr): Likewise.
41533 (__cpy): Likewise.
41534 (norm): Likewise.
41535 (denorm): Likewise.
41536 (__mp_dbl): Likewise.
41537 (__dbl_mp): Likewise.
41538 (add_magnitudes): Likewise.
41539 (sub_magnitudes): Likewise.
41540 (__add): Likewise.
41541 (__sub): Likewise.
41542 (__mul): Likewise.
41543 (__inv): Likewise.
41544 (__dvd): Likewise.
41545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41546 (__acr): Likewise.
41547 (__cpy): Likewise.
41548 (norm): Likewise.
41549 (denorm): Likewise.
41550 (__mp_dbl): Likewise.
41551 (__dbl_mp): Likewise.
41552 (add_magnitudes): Likewise.
41553 (sub_magnitudes): Likewise.
41554 (__add): Likewise.
41555 (__sub): Likewise.
41556 (__mul): Likewise.
41557 (__inv): Likewise.
41558 (__dvd): Likewise.
41559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41560 (__acr): Likewise.
41561 (__cpy): Likewise.
41562 (norm): Likewise.
41563 (denorm): Likewise.
41564 (__mp_dbl): Likewise.
41565 (__dbl_mp): Likewise.
41566 (add_magnitudes): Likewise.
41567 (sub_magnitudes): Likewise.
41568 (__add): Likewise.
41569 (__sub): Likewise.
41570 (__mul): Likewise.
41571 (__inv): Likewise.
41572 (__dvd): Likewise.
41573
41574 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41575
41576 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41577 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41578 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41579 2 && __USE_EXTERN_INLINES]: Likewise.
41580
41581 2013-01-08 Andreas Jaeger <aj@suse.de>
41582
41583 [BZ# 14985]
41584 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41585 Remove.
41586 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41587 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41588
41589 2013-01-07 Anton Blanchard <anton@samba.org>
41590
41591 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41592 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41593 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41594 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41595 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41596 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41597 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41598 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41600 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41601 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41602 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41604 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41606 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41607 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41609 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41610 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41611 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41612 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41613 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41614 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41615 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41616 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41617 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41618 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41620 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41621 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41623 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41624 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41625 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41626 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41627 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41629 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41630 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41631 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41633 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41634
41635 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41636
41637 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41638 (__MALLOC_PMT): Likewise.
41639 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41640 [__GNUC__], only on [_LIBC].
41641 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41642 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41643 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41644 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41645 forward declaration.
41646 (realloc_hook_ini): Likewise.
41647 (memalign_hook_ini): Likewise.
41648 (__libc_memalign): Do not use __MALLOC_PMT in variable
41649 declaration.
41650 (__libc_valloc): Likewise.
41651 (__libc_pvalloc): Likewise.
41652 (__libc_calloc): Likewise.
41653 (__posix_memalign): Likewise.
41654
41655 [BZ #14996]
41656 * math/s_casinh.c: Include <float.h>.
41657 (__casinh): Do not do computation with squaring and square root
41658 for large arguments.
41659 * math/s_casinhf.c: Include <float.h>.
41660 (__casinhf): Do not do computation with squaring and square root
41661 for large arguments.
41662 * math/s_casinhl.c: Include <float.h>.
41663 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41664 (__casinhl): Do not do computation with squaring and square root
41665 for large arguments.
41666 * math/libm-test.inc (casin_test): Add more tests.
41667 (casinh_test): Likewise.
41668 * sysdeps/i386/fpu/libm-test-ulps: Update.
41669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41670
41671 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41672
41673 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41674 (__x86_64_raw_data_cache_size): Likewise.
41675 (__x86_64_data_cache_size_half): Likewise.
41676 (__x86_64_raw_data_cache_size_half): Likewise.
41677 (__x86_64_shared_cache_size): Likewise.
41678 (__x86_64_raw_shared_cache_size): Likewise.
41679 (__x86_64_shared_cache_size_half): Likewise.
41680 (__x86_64_raw_shared_cache_size_half): Likewise.
41681 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41682 to ...
41683 (__x86_data_cache_size): This.
41684 (__x86_64_raw_data_cache_size): Renamed to ...
41685 (__x86_raw_data_cache_size): This.
41686 (__x86_64_data_cache_size_half): Renamed to ...
41687 (__x86_data_cache_size_half): This.
41688 (__x86_64_raw_data_cache_size_half): Renamed to ...
41689 (__x86_raw_data_cache_size_half): This.
41690 (__x86_64_shared_cache_size): Renamed to ...
41691 (__x86_shared_cache_size): This.
41692 (__x86_64_raw_shared_cache_size): Renamed to ...
41693 (__x86_raw_shared_cache_size): This.
41694 (__x86_64_shared_cache_size_half): Renamed to ...
41695 (__x86_shared_cache_size_half): This.
41696 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41697 (__x86_raw_shared_cache_size_half): This.
41698 * sysdeps/x86_64/memcpy.S: Updated.
41699 * sysdeps/x86_64/memset.S: Likewise.
41700 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41703
41704 2013-01-04 David S. Miller <davem@davemloft.net>
41705
41706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41707
41708 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41709
41710 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41711 1 to avoid redefinition warning.
41712 (__USE_GNU): Don't define.
41713 (init_signaling_nan): Protoize.
41714
41715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41716
41717 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41718
41719 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41721 (__cpymn): Likewise.
41722 (norm): Remove commented code.
41723 (denorm): Likewise.
41724 (__mp_dbl): Likewise.
41725 (__inv): Likewise.
41726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41727 (__cpymn): Likewise.
41728 (norm): Remove commented code.
41729 (denorm): Likewise.
41730 (__mp_dbl): Likewise.
41731 (__inv): Likewise.
41732
41733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41734 mp_no value for 1.0 and 2.0.
41735 (norm): Use RADIXI instead of radixi.d.
41736 (denorm): Likewise.
41737 (__mul): Use 0.0 instead of zero.d.
41738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41739 mp_no value for 1.0 and 2.0.
41740 (norm): Use RADIXI instead of radixi.d.
41741 (denorm): Likewise.
41742 (__mul): Use 0.0 instead of zero.d.
41743
41744 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41745
41746 [BZ #14994]
41747 * math/s_casinh.c (__casinh): Reduce finite argument to first
41748 quadrant then set signs of results at the end.
41749 * math/s_casinhf.c (__casinhf): Likewise.
41750 * math/s_casinhl.c (__casinhl): Likewise.
41751 * math/libm-test.inc (casin_test): Add more tests.
41752 (casinh_test): Likewise.
41753 * sysdeps/i386/fpu/libm-test-ulps: Update.
41754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41755
41756 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41757
41758 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41759
41760 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41761
41762 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41763 declarations.
41764 (denorm): Likewise.
41765 (__mp_dbl): Likewise.
41766 (__inv): Likewise.
41767
41768 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41769 and adjust the header comment.
41770
41771 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41772 variable name from declaration.
41773
41774 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41775
41776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41777 Initialize COMMON_CPUID_INDEX_7 element.
41778 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41779 (CPUID_RTM): Likewise.
41780 (HAS_RTM): Likewise.
41781 (COMMON_CPUID_INDEX_7): New enum.
41782
41783 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41784
41785 [BZ #14981]
41786 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41787 size is zero, record memory as freed.
41788
41789 2013-01-03 Andreas Jaeger <aj@suse.de>
41790
41791 * po/ia.po: Add new Interlingua translation.
41792
41793 2012-01-03 Allan McRae <allan@archlinux.org>
41794
41795 * locale/programs/localedef.c: Fix description of '--posix' flag.
41796
41797 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41798
41799 * NEWS: Update dates in second copyright notice.
41800 * README: Update copyright dates in example.
41801 * manual/libc.texinfo: Update copyright dates.
41802 * scripts/test-installation.pl: Update copyright date in --version
41803 output.
41804
41805 * hurd/ctty-input.c: Fix copyright notice formatting.
41806 * hurd/ctty-output.c: Likewise.
41807 * hurd/dtable.c: Likewise.
41808 * hurd/hurd-raise.c: Likewise.
41809 * hurd/hurdprio.c: Likewise.
41810 * hurd/msgportdemux.c: Likewise.
41811 * misc/sys/file.h: Likewise.
41812 * misc/sys/ioctl.h: Likewise.
41813 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41814 * sysdeps/mach/hurd/chdir.c: Likewise.
41815 * sysdeps/mach/hurd/fchdir.c: Likewise.
41816 * sysdeps/mach/hurd/rename.c: Likewise.
41817 * sysdeps/mach/hurd/rmdir.c: Likewise.
41818 * sysdeps/mach/hurd/seekdir.c: Likewise.
41819 * sysdeps/mach/hurd/setsid.c: Likewise.
41820 * sysdeps/posix/wait3.c: Likewise.
41821
41822 * All files with FSF copyright notices: Update copyright dates
41823 using scripts/update-copyrights.
41824 * intl/plural.c: Regenerated.
41825 * locale/programs/charmap-kw.h: Likewise.
41826 * locale/programs/locfile-kw.h: Likewise.
41827
41828 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41829
41830 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41831 four values.
41832
41833 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41834 calculation loop and add branch prediction.
41835
41836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41837 check access beyond bounds of m1np.
41838
41839 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41840 MPTWO.
41841 (__inv): Remove local variable MPTWO to use the global
41842 constant.
41843 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41844 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41845 variable MPTWO.
41846 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41847 MP3HALFS static const.
41848
41849 2013-01-01 David S. Miller <davem@davemloft.net>
41850
41851 * po/ca.po: Update from translation team.
41852
41853 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41854
41855 * scripts/update-copyrights: New file.
41856 * Makeconfig: Reformat copyright notice.
41857 * ctype/ctype.h: Likewise.
41858 * debug/swprintf_chk.c: Likewise.
41859 * elf/dl-cache.c: Likewise.
41860 * elf/dl-debug.c: Likewise.
41861 * elf/dl-object.c: Likewise.
41862 * grp/initgroups.c: Likewise.
41863 * hurd/Makefile: Likewise.
41864 * hurd/hurd/signal.h: Likewise.
41865 * hurd/hurdfault.c: Likewise.
41866 * hurd/hurdioctl.c: Likewise.
41867 * hurd/hurdlookup.c: Likewise.
41868 * hurd/intr-msg.c: Likewise.
41869 * iconv/gconv_open.c: Likewise.
41870 * libio/swprintf.c: Likewise.
41871 * locale/lc-ctype.c: Likewise.
41872 * locale/nl_langinfo.c: Likewise.
41873 * mach/Machrules: Likewise.
41874 * mach/Makefile: Likewise.
41875 * malloc/obstack.h: Likewise.
41876 * manual/Makefile: Likewise.
41877 * manual/tsort.awk: Likewise.
41878 * misc/bits/stab.def: Likewise.
41879 * nis/nis_print_group_entry.c: Likewise.
41880 * nis/nis_table.c: Likewise.
41881 * nis/nss_compat/compat-pwd.c: Likewise.
41882 * nis/nss_compat/compat-spwd.c: Likewise.
41883 * po/Makefile: Likewise.
41884 * posix/fnmatch.c: Likewise.
41885 * posix/regex.h: Likewise.
41886 * resolv/Makefile: Likewise.
41887 * resolv/nss_dns/dns-network.c: Likewise.
41888 * resolv/res_hconf.c: Likewise.
41889 * scripts/gen-sorted.awk: Likewise.
41890 * soft-fp/soft-fp.h: Likewise.
41891 * stdio-common/printf.h: Likewise.
41892 * stdlib/monetary.h: Likewise.
41893 * stdlib/random.c: Likewise.
41894 * stdlib/random_r.c: Likewise.
41895 * sysdeps/generic/Makefile: Likewise.
41896 * sysdeps/gnu/Makefile: Likewise.
41897 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41899 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41907 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41908 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41909 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41910 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41911 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41919 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41920 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41921 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41922 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41923 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41924 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41925 * sysdeps/mach/hurd/errnos.awk: Likewise.
41926 * sysdeps/mach/hurd/fork.c: Likewise.
41927 * sysdeps/mach/hurd/getcwd.c: Likewise.
41928 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41929 * sysdeps/mach/hurd/mmap.c: Likewise.
41930 * sysdeps/mach/hurd/utimes.c: Likewise.
41931 * sysdeps/mach/hurd/xmknod.c: Likewise.
41932 * sysdeps/posix/profil.c: Likewise.
41933 * sysdeps/posix/readdir_r.c: Likewise.
41934 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41935 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41936 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41937 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41939 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41940 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41941 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41943 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41944 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41945 * sysdeps/pthread/lio_listio.c: Likewise.
41946 * sysdeps/sparc/dl-procinfo.h: Likewise.
41947 * sysdeps/unix/i386/sysdep.S: Likewise.
41948 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41949 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41950 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41951 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41953 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41954 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41955 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41956 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41957 * sysdeps/wordsize-32/divdi3.c: Likewise.
41958 * time/sys/time.h: Likewise.
41959 * wcsmbs/Makefile: Likewise.
41960
41961 2013-01-01 David S. Miller <davem@davemloft.net>
41962
41963 * po/fr.po: Update from translation team.
41964
41965 * catgets/gencat.c: Update copyright year.
41966 * csu/version.c: Likewise.
41967 * debug/catchsegv.sh: Likewise.
41968 * debug/pcprofiledump.c: Likewise.
41969 * debug/xtrace.sh: Likewise.
41970 * elf/ldconfig.c: Likewise.
41971 * elf/ldd.bash.in: Likewise.
41972 * elf/pldd.c: Likewise.
41973 * elf/sotruss.ksh: Likewise.
41974 * elf/sprof.c: Likewise.
41975 * iconv/iconv_prog.c: Likewise.
41976 * iconv/iconvconfig.c: Likewise.
41977 * locale/programs/locale.c: Likewise.
41978 * locale/programs/localedef.c: Likewise.
41979 * login/programs/pt_chown.c: Likewise.
41980 * malloc/memusage.sh: Likewise.
41981 * malloc/memusagestat.c: Likewise.
41982 * malloc/mtrace.pl: Likewise.
41983 * nscd/nscd.c: Likewise.
41984 * nss/getent.c: Likewise.
41985 * nss/makedb.c: Likewise.
41986 * posix/getconf.c: Likewise.
41987
41988 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41989
41990 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41991 numbers.
41992
41993 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41994
41995 * math/bits/mathcalls.h (modf): Use __nonnull.
41996
41997 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41998
41999 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42000 (split): Use macro CN instead of the bare value.
42001 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42002 could be used.
42003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42004 instead of the bare value.
42005 (power1): Likewise.
42006
42007 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42008
42009 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42010 __ATAN_TWOM.
42011 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42012
42013 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42014 their values.
42015 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42016 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42017 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42018 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42019
42020 2012-12-28 Andreas Jaeger <aj@suse.de>
42021
42022 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42023 values are from Linux 3.7.
42024
42025 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42026 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42027
42028 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42029
42030 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42031 TRUE case.
42032
42033 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42034 (norm): Likewise.
42035 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42036 variables with preprocessor constants.
42037 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42038 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42039 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42040
42041 2012-12-27 Bruno Haible <bruno@clisp.org>
42042
42043 [BZ #14317]
42044 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42045 only if needed.
42046
42047 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42048
42049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42050 and use variable directly.
42051 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42052
42053 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42054 MPONE.
42055 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42057 variable MPONE.
42058 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42060 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42061 include directive. Remove local variable MPONE.
42062 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42063 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42064 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42065
42066 2012-12-25 David S. Miller <davem@davemloft.net>
42067
42068 * version.h (RELEASE): Set to "development".
42069 (VERSION): Set to "2.17.90".
42070 * NEWS: Add 2.18 section.
42071
42072 2012-12-21 David S. Miller <davem@davemloft.net>
42073
42074 * po/hr.po: Update from translation team.
42075
42076 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42077
42078 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42079
42080 2012-12-19 Steve Ellcey <sellcey@mips.com>
42081
42082 * NEWS: Mention new memcpy for MIPS.
42083
42084 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42085
42086 * manual/contrib.texi (Contributors): Spelling correction.
42087
42088 2012-12-15 David S. Miller <davem@davemloft.net>
42089
42090 * po/ru.po: Update from translation team.
42091
42092 2012-12-13 David S. Miller <davem@davemloft.net>
42093
42094 * NEWS: Mention IFUNC testsuite enhancements.
42095
42096 * po/pl.po: Update from translation team.
42097 * po/bg.po: Likewise.
42098
42099 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42100 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42101
42102 2012-12-11 David S. Miller <davem@davemloft.net>
42103
42104 * po/sv.po: Update from translation team.
42105
42106 * po/vi.po: Update from translation team.
42107
42108 * po/cs.po: Update from translation team.
42109
42110 * po/de.po: Update from translation team.
42111 * po/eo.po: Likewise.
42112 * po/nl.po: Likewise.
42113
42114 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42115
42116 [BZ #14246]
42117 * manual/argp.texi (Argp Helper Functions): Move node to follow
42118 Argp Parsing State.
42119
42120 [BZ #14872]
42121 * manual/conf.texi (Limits on File System Capacity): Mention if
42122 terminating null is included in the max size.
42123
42124 2012-12-10 Andreas Jaeger <aj@suse.de>
42125
42126 * po/cs.po: Update from translation team.
42127
42128 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42129
42130 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42131 void pointer and cast to uintptr_t.
42132 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42133 path.
42134 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42135 * sysdeps/s390/s390-64/memset.S: Likewise.
42136
42137 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42138
42139 [BZ #14833]
42140 * menual/message.texi (Message Translation): Fix typos.
42141 (Helper programs for gettext): Likewise.
42142
42143 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42144
42145 [BZ #14898]
42146 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42147 Change to -1.
42148
42149 2012-12-07 David S. Miller <davem@davemloft.net>
42150
42151 * po/libc.pot: Update.
42152
42153 2012-12-07 Richard Henderson <rth@redhat.com>
42154
42155 [BZ #10114]
42156 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42157 normal/normal case to before the switch.
42158 (_FP_DIV): Likewise.
42159
42160 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42161 Mike Frysinger <vapier@gentoo.org>
42162
42163 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42164 check for __NR_fadvise64_64.
42165
42166 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42167
42168 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42169 0, not just to plain "0" as a statement.
42170 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42171 with cw.
42172
42173 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42174
42175 * NEWS: Use sourceware.org in Bugzilla URL.
42176
42177 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42178
42179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42180 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42181
42182 * stdio-common/tst-put-error.c (do_test): Add newline to the
42183 padded test to ensure flush.
42184
42185 2012-12-05 Jeff Law <law@redhat.com>
42186
42187 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42188
42189 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42190
42191 * README: Don't refer to ports add-on as distributed separately.
42192 Mention AArch64 in list of systems supported in the ports add-on.
42193
42194 * LICENSES: Add more non-FSF copyright and license notices.
42195
42196 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42197 ((unused)).
42198
42199 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42200
42201 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42202 10000 as width of padded output.
42203
42204 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42205
42206 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42207
42208 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42209 variable LX with __attribute__ ((unused)).
42210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42211 Likewise.
42212 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42214 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42215 with __attribute__ ((unused)).
42216
42217 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42218
42219 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42220
42221 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42222
42223 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42224 (CFLAGS-nldbl-acos.c): New variable.
42225 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42226 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42227 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42228 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42229 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42230 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42231 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42232 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42233 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42234 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42235 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42236 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42237 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42238 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42239 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42240 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42241 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42242 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42243 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42244 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42245 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42246 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42247 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42248 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42249 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42250 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42251 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42252 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42253 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42254 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42255 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42256 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42257 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42258 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42259 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42260 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42261 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42262 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42263 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42264 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42265 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42266 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42267 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42268 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42269 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42270 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42271 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42272 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42273 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42274 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42275 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42276 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42277 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42278 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42279 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42280 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42281 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42282 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42283 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42284 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42285 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42286 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42287 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42288 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42289 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42290 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42291 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42292 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42293 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42294 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42295 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42296 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42297 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42298 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42299 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42300 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42301 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42302 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42303 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42304 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42305 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42306 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42307 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42308 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42309 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42310 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42311 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42312 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42313 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42314 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42315 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42316 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42317 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42318 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42319 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42320 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42321 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42322
42323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42324 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42325
42326 [BZ #14914]
42327 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42328 whole low double instead of just low 47 bits when splitting values
42329 into two parts.
42330
42331 2012-12-03 Allan McRae <allan@archlinux.org>
42332
42333 * manual/stdio.texi (Predefined Printf Handlers): Remove
42334 @hsep and @vsep usage.
42335
42336 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42337
42338 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42339 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42340
42341 2012-12-03 Jeff Law <law@redhat.com>
42342
42343 * time/sys/time.h (settimeofday): Do not mark TV argument
42344 as __nonnull.
42345
42346 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42347
42348 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42349 when currently writing and seek to current position when not.
42350 * libio/Makefile (tests): Remove bug-fclose1.
42351 * libio/bug-fclose1.c: Delete.
42352
42353 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42354
42355 * manual/arith.texi (feenableexcept): Fix typo.
42356 (fedisableexcept): Likewise.
42357
42358 2012-11-30 Roland McGrath <roland@hack.frob.com>
42359
42360 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42361 second, differently-typed declaration, rather than a cast.
42362
42363 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42364
42365 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42366 * include/rpc/svc.h: ... here.
42367
42368 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42369
42370 [BZ #13013]
42371 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42372 depending n and resplen2 to catch cases where answer
42373 equals answerp2.
42374
42375 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42376
42377 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42378 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42379
42380 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42381
42382 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42383
42384 2012-11-29 Roland McGrath <roland@hack.frob.com>
42385
42386 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42387
42388 2012-11-28 Jeff Law <law@redhat.com>
42389
42390 [BZ #13761]
42391 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42392 dataset_temporary. Track alloca usage into alloca_used.
42393 If dataset is large allocate and release it via malloc/free.
42394
42395 2012-06-04 Florian Weimer <fweimer@redhat.com>
42396
42397 [BZ #14197]
42398 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42399
42400 2012-11-28 David S. Miller <davem@davemloft.net>
42401
42402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42403
42404 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42405
42406 [BZ #14803]
42407 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42408 of pi/2 rounded to nearest to 64 bits.
42409 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42410 nearest to 64 bits.
42411 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42412 bits.
42413
42414 2012-11-28 Jeff Law <law@redhat.com>
42415 Martin Osvald <mosvald@redhat.com>
42416
42417 [BZ #14889]
42418 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42419 * sunrpc/svc.c: Include time.h.
42420 (__svc_accept_failed): New function.
42421 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42422 any reason other than EINTR, call __svc_accept_failed.
42423 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42424 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42425
42426 2012-11-28 Andreas Schwab <schwab@suse.de>
42427
42428 * scripts/abilist.awk: Also handle indirect functions in .opd
42429 section.
42430
42431 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42432
42433 [BZ #13881]
42434 * sysdeps/x86/fpu/powl_helper.c: New file.
42435 * sysdeps/x86/fpu/Makefile: Likewise.
42436 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42437 (p3): New object.
42438 (__ieee754_powl): Use __powl_helper for finite arguments except
42439 integer exponents below 8.
42440 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42441 (p3): New object.
42442 (__ieee754_powl): Use __powl_helper for finite arguments except
42443 integer exponents below 8.
42444 * math/libm-test.inc (pow_test): Add more tests and enable some
42445 previously disabled tests.
42446 * sysdeps/i386/fpu/libm-test-ulps: Update.
42447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42448
42449 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42450 Carlos O'Donell <carlos_odonell@mentor.com>
42451
42452 * nss/makedb.c (is_prime): Assert that input is odd and greater
42453 than 4. Note that fact in a comment too.
42454 (next_prime): Add 4 to input.
42455
42456 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42457
42458 [BZ #11741]
42459 * libio/Makefile (tests): Add test case tst-fwrite-error.
42460 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42461 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42462 * libio/tst-fwrite-error.c: New test case.
42463
42464 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42465
42466 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42467 before casting to void *.
42468 * include/libc-internal.h (__pointer_type): New macro.
42469 (__integer_if_pointer_type_sub): Likewise.
42470 (__integer_if_pointer_type): Likewise.
42471 (cast_to_integer): Likewise.
42472 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42473 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42474 before casting to atomic64_t.
42475 (atomic_exchange_acq): Likewise.
42476 (__arch_exchange_and_add_body): Likewise.
42477 (__arch_add_body): Likewise.
42478 (atomic_add_negative): Likewise.
42479 (atomic_add_zero): Likewise.
42480
42481 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42482
42483 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42484 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42485 (add_fdes): Likewise.
42486 (linear_search_fdes): Likewise.
42487 (binary_search_unencoded_fdes): Likewise.
42488
42489 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42490
42491 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42492
42493 2012-11-24 Adam Conrad <adconrad@0c3.net>
42494
42495 * configure.in: Autodetect C++ header directories.
42496 * configure: Regenerated.
42497
42498 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42499
42500 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42501
42502 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42503
42504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42505
42506 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42507
42508 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42509 LDBL_MANT_DIG == 106]: Disable some tests.
42510 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42511 Likewise.
42512 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42513 Likewise.
42514
42515 [BZ #14871]
42516 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42517 input for small inputs. Return +/- pi/2 for large inputs.
42518 * math/libm-test.inc (atan_test): Add more tests.
42519
42520 * sysdeps/generic/unwind-dw2-fde-glibc.c
42521 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42522 __attribute__ ((unused)).
42523
42524 [BZ #14645]
42525 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42526 x * y if x and y are nonzero and z is zero.
42527
42528 [BZ #14811]
42529 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42530 nonzero exponents with absolute value below 0x1p-117 to +/-
42531 0x1p-117.
42532
42533 [BZ #14869]
42534 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42535 up arguments below 2**-450, not just those below 2**-500.
42536 * math/libm-test.inc (hypot_test): Add another test.
42537
42538 [BZ #14868]
42539 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42540 Return a+b for ratio over 2**120, not 2**60.
42541 * math/libm-test.inc (hypot_test): Add another test.
42542
42543 * math/libm-test.inc (clog_test): Use
42544 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42545 (clog10_test): Likewise.
42546
42547 [BZ #6778]
42548 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42549
42550 2012-11-22 Andreas Schwab <schwab@suse.de>
42551
42552 * sysdeps/i386/fpu/libm-test-ulps: Update.
42553
42554 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42555
42556 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42557 printf output with newline.
42558
42559 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42560
42561 [BZ #14865]
42562 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42563 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42564 -z nodlopen, -z initfirst and -z execstack support.
42565 * configure: Regenerated.
42566
42567 * elf/elf.h (DF_1_NODIRECT): New macro.
42568 (DF_1_IGNMULDEF): Likewise.
42569 (DF_1_NOKSYMS): Likewise.
42570 (DF_1_NOHDR): Likewise.
42571 (DF_1_EDITED): Likewise.
42572 (DF_1_NORELOC): Likewise.
42573 (DF_1_SYMINTPOSE): Likewise.
42574 (DF_1_GLOBAUDIT): Likewise.
42575 (DF_1_SINGLETON): Likewise.
42576 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42577 DT_1_SUPPORTED_MASK bits.
42578 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42579
42580 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42581
42582 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42583
42584 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42585
42586 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42587 macro.
42588
42589 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42590 (sendmmsg): Move declarations...
42591 * socket/sys/socket.h: ... here.
42592 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42593 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42594 include it from...
42595 * socket/recvmmsg.c: ... this new file.
42596 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42597 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42598 definition of __sendmmsg hidden.
42599 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42600 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42601 Move ENOSYS stub into and include it from...
42602 * socket/sendmmsg.c: ... this new file.
42603 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42604 (sysdep_routines): Move recvmmsg and sendmmsg...
42605 * socket/Makefile (routines): ... here.
42606 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42607 (GLIBC_PRIVATE): Add __sendmmsg.
42608 * include/sys/socket.h (__sendmmsg): Add declarations.
42609 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42610 sendmmsg.
42611
42612 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42613
42614 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42615 variable I1 with __attribute__ ((unused)).
42616 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42617
42618 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42619
42620 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42621 DUMMY variables with __attribute__ ((unused)).
42622
42623 * bits/byteswap.h: Include <bits/types.h>.
42624 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42625
42626 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42627
42628 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42629 string_t. Do not manually set errno.
42630 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42631 length with __strnlen. Make sure to both set errno and return it on
42632 failure.
42633
42634 2012-11-19 David S. Miller <davem@davemloft.net>
42635
42636 With help from Joseph Myers.
42637 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42638 very large arguments properly.
42639 * math/libm-test.inc (atan_test): New tests.
42640 (atan2_test): New tests.
42641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42643
42644 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42645
42646 [BZ #14856]
42647 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42648 Define to 3.
42649
42650 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42651 [POSIX] (EADDRNOTAVAIL): Likewise.
42652 [POSIX] (EAFNOSUPPORT): Likewise.
42653 [POSIX] (EALREADY): Likewise.
42654 [POSIX] (ECONNABORTED): Likewise.
42655 [POSIX] (ECONNREFUSED): Likewise.
42656 [POSIX] (ECONNRESET): Likewise.
42657 [POSIX] (EDESTADDRREQ): Likewise.
42658 [POSIX] (EDQUOT): Likewise.
42659 [POSIX] (EHOSTUNREACH): Likewise.
42660 [POSIX] (EIDRM): Likewise.
42661 [POSIX] (EISCONN): Likewise.
42662 [POSIX] (ELOOP): Likewise.
42663 [POSIX] (EMULTIHOP): Likewise.
42664 [POSIX] (ENETDOWN): Likewise.
42665 [POSIX] (ENETUNREACH): Likewise.
42666 [POSIX] (ENOBUFS): Likewise.
42667 [POSIX] (ENODATA): Likewise.
42668 [POSIX] (ENOLINK): Likewise.
42669 [POSIX] (ENOMSG): Likewise.
42670 [POSIX] (ENOPROTOOPT): Likewise.
42671 [POSIX] (ENOSR): Likewise.
42672 [POSIX] (ENOSTR): Likewise.
42673 [POSIX] (ENOTCONN): Likewise.
42674 [POSIX] (ENOTSOCK): Likewise.
42675 [POSIX] (EOPNOTSUPP): Likewise.
42676 [POSIX] (EOVERFLOW): Likewise.
42677 [POSIX] (EPROTO): Likewise.
42678 [POSIX] (EPROTONOSUPPORT): Likewise.
42679 [POSIX] (EPROTOTYPE): Likewise.
42680 [POSIX] (ESTALE): Likewise.
42681 [POSIX] (ETIME): Likewise.
42682 [POSIX] (ETXTBSY): Likewise.
42683 [POSIX] (EWOULDBLOCK): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42685 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42686 [POSIX] (SEEK_CUR): Likewise.
42687 [POSIX] (SEEK_END): Likewise.
42688 [POSIX || UNIX98] (mode_t): Do not require.
42689 [POSIX] (off_t): Likewise.
42690 [POSIX] (pid_t): Likewise.
42691 [POSIX] (sys/stat.h): Do not allow header.
42692 [POSIX] (unistd.h): Likewise.
42693 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42694 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42695 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42696 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42697 require.
42698 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42699 sigevent): Specify elements.
42700 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42701 entry.
42702 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42703 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42704
42705 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42706 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42707 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42708 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42709 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42710 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42711 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42712 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42713 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42714 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42715 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42716 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42717 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42718 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42719 Likewise.
42720 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42721 Likewise.
42722 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42723 Likewise.
42724 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42725 Likewise.
42726 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42727 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42728 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42729 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42730 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42731 Specify lower bound on value.
42732 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42733 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42734 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42735 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42736 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42737 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42738 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42739 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42740 value.
42741 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42742 as optional.
42743 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42744 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42745 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42746 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42747 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42748 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42749 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42750 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42751 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42752 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42753 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42754 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42755 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42756 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42757 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42758 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42759 entry.
42760 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42761 optional.
42762 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42763 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42764 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42765 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42766 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42767 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42768 Likewise.
42769 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42770 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42771 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42772 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42773 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42774 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42775 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42776 as optional.
42777 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42778 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42779 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42780 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42781 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42782 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42783 specify as optional.
42784 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42785 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42786 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42787 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42788 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42789 [XPG3] (NL_LANGMAX): Likewise.
42790 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42791 [POSIX || XPG3] (NL_NMAX): Likewise.
42792 [POSIX || XPG3] (NL_SETMAX): Likewise.
42793 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42794 [XPG3] (NZERO): Likewise.
42795 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42796 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42797 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42798 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42799 (REG_ERANGE): Expect.
42800 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42801 optional-constant.
42802 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42803 Use (void) in prototype.
42804 [POSIX] (*_t): Allow.
42805 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42806 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42807 (WRDE_BADVAL): Expect.
42808
42809 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42810 expect.
42811 [XPG3 || XPG4] (O_RSYNC): Likewise.
42812 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42813 Likewise.
42814 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42815 [XPG3 || XPG4] (sigqueue): Likewise.
42816 [XPG3 || XPG4] (sigtimedwait): Likewise.
42817 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42818 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42819 [XPG3 || XPG4] (vsnprintf): Likewise.
42820 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42821 Likewise.
42822 [XPG3 || XPG4] (blksize_t): Likewise.
42823 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42824 Likewise.
42825 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42826 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42827 [XPG3 || XPG4] (struct itimerspec): Likewise.
42828 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42829 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42830 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42831 [XPG3 || XPG4] (clockid_t): Likewise.
42832 [XPG3 || XPG4] (timer_t): Likewise.
42833 [XPG3 || XPG4] (clock_getres): Likewise.
42834 [XPG3 || XPG4] (clock_gettime): Likewise.
42835 [XPG3 || XPG4] (clock_settime): Likewise.
42836 [XPG3 || XPG4] (nanosleep): Likewise.
42837 [XPG3 || XPG4] (timer_create): Likewise.
42838 [XPG3 || XPG4] (timer_delete): Likewise.
42839 [XPG3 || XPG4] (timer_gettime): Likewise.
42840 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42841 [XPG3 || XPG4] (timer_settime): Likewise.
42842 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42843 [XPG3 || XPG4] (getlogin_r): Likewise.
42844 [XPG3 || XPG4] (pread): Likewise.
42845 [XPG3 || XPG4] (pthread_atfork): Likewise.
42846 [XPG3 || XPG4] (pwrite): Likewise.
42847
42848 [BZ #14835]
42849 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42850 <bits/siginfo.h>.
42851
42852 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42853
42854 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42855 finalizing MALLSTREAM.
42856
42857 * sysdeps/mach/hurd/syncfs.c: New file.
42858
42859 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42860
42861 [BZ #14719]
42862 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42863 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42864 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42865 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42866 (_nss_dns_gethostbyname4_r): Likewise.
42867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42868 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42869
42870 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42871
42872 [BZ #13763]
42873 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42874
42875 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42876
42877 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42878 * elf/cache.c (print_entry): Print ",AArch64" for
42879 FLAG_AARCH64_LIB64
42880
42881 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42882 * elf/cache.c (print_entry): Print ",hard-float" for
42883 FLAG_ARM_LIBHF.
42884
42885 2012-11-18 David S. Miller <davem@davemloft.net>
42886
42887 With help from Joseph Myers.
42888 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42889 cutoff to 2**-13.
42890 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42891 cutoff to 2**-25.
42892 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42893 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42894 small.
42895 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42896 * math/libm-test.inc (y0_test): New tests.
42897 (y1_test): New tests.
42898 * sysdeps/i386/fpu/libm-test-ulps: Update.
42899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42901
42902 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42903
42904 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42905 64-bit targets.
42906 * configure: Regenerated.
42907
42908 2012-11-17 David S. Miller <davem@davemloft.net>
42909
42910 [BZ #14811]
42911 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42912 nonzero exponents with absolute value below 0x1p-128 to +/-
42913 0x1p-128.
42914
42915 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42916
42917 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42918
42919 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42920
42921 * posix/getconf-speclist.c: New file.
42922 * posix/posix-envs.def: Likewise.
42923 * posix/confstr.c (START_ENV_GROUP): New macro.
42924 (END_ENV_GROUP): Likewise.
42925 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42926 (KNOWN_PRESENT_ENV_STRING): Likewise.
42927 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42928 (UNKNOWN_ENVIRONMENT): Likewise.
42929 (confstr): Include posix-envs.def instead of handling
42930 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42931 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42932 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42933 (END_ENV_GROUP): Likewise.
42934 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42935 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42936 (UNKNOWN_ENVIRONMENT): Likewise.
42937 (__sysconf): Include posix-envs.def instead of handling associated
42938 cases directly here.
42939 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42940 preprocessing getconf-speclist.c rather than running getconf or
42941 generating empty file.
42942
42943 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42944
42945 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42946
42947 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42948
42949 [BZ #14672]
42950 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42951
42952 2012-11-16 David S. Miller <davem@davemloft.net>
42953
42954 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42955 smaller than LDBL_EPSILON/2.0L, just return xm1.
42956
42957 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42958
42959 * elf/tst-array1.c (init): Set constructor priority to 1000.
42960 (fini): Set destructor priority to 1000.
42961 * elf/tst-array2dep.c: Likewise.
42962
42963 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42964
42965 [BZ #11741]
42966 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42967 (_IO_new_file_xsputn): Also return EOF if none of the input
42968 data was written when overflow failed.
42969 * libio/iopadn.c (_IO_padn): Likewise.
42970 * libio/iowpadn.c (_IO_wpadn): Likewise.
42971 * stdio-common/tst-put-error.c: Add copyright notice.
42972 (do_test): Add case for printing padded string.
42973 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42974 _IO_padn returned error.
42975 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42976 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42977 return EOF.
42978
42979 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42980
42981 * libio/libioP.h: Add comment note that the references to C++
42982 bits are now obsolete.
42983
42984 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42985
42986 * math/libm-test.inc (check_complex): Use asprintf.
42987
42988 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42989
42990 * debug/pcprofiledump.c (print_version): Update copyright year.
42991 * malloc/memusagestat.c (print_version): Likewise.
42992
42993 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42994
42995 [BZ #14831]
42996 * elf/Makefile (tests): Add tst-audit8.
42997 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42998 ($(objpfx)tst-audit8.out): New target.
42999 (tst-audit8-ENV): New variable.
43000 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43001 audit if l_reloc_result is NULL.
43002 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43003 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43004 * elf/tst-audit8.c: New file.
43005
43006 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43007
43008 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43009 * misc/Makefile (CFLAGS-select.c): Define.
43010 * posix/Makefile (CFLAGS-pause.c): Define.
43011
43012 2012-11-13 David S. Miller <davem@davemloft.net>
43013
43014 * crypt/Makefile: Move test targets after toplevel Rules
43015 inclusion. Grab any necessary sysdep routines when linking.
43016 * crypt/md5.c (md5_process_block): Remove define, we will always
43017 name it __md5_process_block.
43018 (md5_finish_ctx): Update md5_process_block call.
43019 (md5_stream): Likewise.
43020 (md5_process_bytes): Likewise.
43021 (md5_process_block): Rename to __md5_process_block and move to ...
43022 * crypt/md5-block.c: ... here.
43023 * crypt/sha256.c (sha256_process_block): Move to ...
43024 * crypt/sha256-block.c: ... here.
43025 * crypt/sha512.c (sha512_process_block): Move to ...
43026 * crypt/sha512-block.c: ... here.
43027 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43028 path.
43029 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43030 * sysdeps/sparc/sparc64/multiarch/Makefile
43031 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43032 crypt subdir.
43033 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43034 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43035 multiarch changes.
43036 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43037 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43038 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43039 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43040 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43041 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43042 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43043 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43044 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43045 file.
43046 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43047 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43048 file.
43049 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43050
43051 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43052
43053 * timezone/tzselect.ksh: Update from tzcode git revision
43054 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43055 * timezone/zdump.c: Likewise.
43056 * timezone/zic.c: Likewise.
43057 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43058 in TZVERSION setting, not $(PKGVERSION).
43059 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43060 REPORT_BUGS_TO settings.
43061
43062 [BZ #14838]
43063 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43064 macro.
43065
43066 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43067
43068 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43069 detection to immediately after _FP_ROUND().
43070 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43071 bits are 0.
43072
43073 2012-11-11 David S. Miller <davem@davemloft.net>
43074
43075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43076 inttypes.h
43077 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43078 __close rather than their public counterparts.
43079
43080 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43081
43082 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43083 file.
43084 [UNIX98] (sem_timedwait): Do not expect.
43085 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43086 [XPG4 || UNIX98] (sockatmark): Do not expect.
43087 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43088 (clock_getcpuclockid): Do not expect.
43089 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43090 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43091 Do not expect.
43092 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43093 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43094 [UNIX98] (vwscanf): Likewise.
43095 [UNIX98] (vswscanf): Likewise.
43096
43097 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43098
43099 * timezone/version.h: Remove file.
43100 * timezone/README: Do not refer to version.h.
43101 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43102 $(objpfx)version.h.
43103 ($(objpfx)zdump.o): Likewise.
43104 ($(objpfx)version.h): New target.
43105
43106 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43107 2012i.
43108 * timezone/README: Don't mention modification to tzselect.ksh.
43109 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43110 work on unmodified tzselect.ksh. Substitute version numbers in
43111 tzselect.ksh.
43112
43113 * Makefile (format-me): Remove.
43114 (INSTALL): Adjust indentation. Use commands directly instead of
43115 using $(format-me).
43116
43117 * aclocal.m4 (ACX_PKGVERSION): New macro.
43118 (ACX_BUGURL): Likewise.
43119 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43120 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43121 (REPORT_BUGS_TO): Likewise.
43122 * configure: Regenerated.
43123 * config.h.in (PKGVERSION): New macro.
43124 (REPORT_BUGS_TO): Likewise.
43125 * config.make.in (PKGVERSION): New variable.
43126 (PKGVERSION_TEXI): Likewise.
43127 (REPORT_BUGS_TO): Likewise.
43128 (REPORT_BUGS_TEXI): Likewise.
43129 * Makefile (format-me): Use -I$(common-objpfx)manual.
43130 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43131 ($(common-objpfx)manual/%): New target.
43132 (manual/%): Remove target.
43133 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43134 (print_version): Use PKGVERSION.
43135 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43136 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43137 and REPORT_BUGS_TO.
43138 ($(objpfx)xtrace): Likewise.
43139 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43140 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43141 (print_version): Use PKGVERSION.
43142 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43143 (do_version): Use PKGVERSION.
43144 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43145 REPORT_BUGS_TO.
43146 (common-ldd-rewrite): Likewise.
43147 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43148 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43149 (print_version): Use PKGVERSION.
43150 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43151 * elf/pldd.c (argp_program_bug_address): Remove variable.
43152 (more_help): New function.
43153 (argp): Use more_help.
43154 (print_version): Use PKGVERSION.
43155 * elf/sln.c (main): Use PKGVERSION.
43156 (usage): Use REPORT_BUGS_TO.
43157 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43158 (top level): Use PKGVERSION.
43159 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43160 (print_version): Use PKGVERSION.
43161 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43162 (print_version): Use PKGVERSION.
43163 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43164 (print_version): Use PKGVERSION.
43165 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43166 (print_version): Use PKGVERSION.
43167 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43168 (print_version): Use PKGVERSION.
43169 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43170 (print_version): Use PKGVERSION.
43171 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43172 and BUGURL.
43173 ($(objpfx)memusage): Likewise.
43174 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43175 (do_version): Use PKGVERSION.
43176 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43177 (print_version): Use PKGVERSION.
43178 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43179 ($PKGVERSION): New variable.
43180 ($REPORT_BUGS_TO): Likewise.
43181 (usage): Use $REPORT_BUGS_TO.
43182 (top level): Use $PKGVERSION.
43183 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43184 ($(objpfx)pkgvers.texi): New rule.
43185 ($(objpfx)stamp-pkgvers): Likewise.
43186 * manual/install.texi: Include pkgvers.texi.
43187 (--with-pkgversion): Document new configure option.
43188 (--with-bugurl): Likewise.
43189 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43190 than necessarily for this particular distribution. Use
43191 REPORT_BUGS_TO for where to report bugs.
43192 * INSTALL: Regenerated.
43193 * manual/libc.texinfo: Include pkgvers.texi.
43194 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43195 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43196 (print_version): Use PKGVERSION.
43197 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43198 (print_version): Use PKGVERSION.
43199 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43200 (print_version): Use PKGVERSION.
43201 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43202 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43203 macro.
43204 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43205 (print_version): Use PKGVERSION.
43206 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43207 (print_version): Use PKGVERSION.
43208 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43209 and PKGVERSION.
43210
43211 * timezone/checktab.awk: Update from tzcode 2012i.
43212 * timezone/ialloc.c: Likewise.
43213 * timezone/private.h: Likewise.
43214 * timezone/scheck.c: Likewise.
43215 * timezone/tzfile.h: Likewise.
43216 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43217 (TZVERSION): Hardcode tzcode version number.
43218 * timezone/zdump.c: Update from tzcode 2012i.
43219 * timezone/zic.c: Likewise.
43220 * timezone/version.h: New file.
43221 * timezone/README: Describe version.h. Update upstream location.
43222
43223 [BZ #14824]
43224 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43225 (mktemp): Enable declaration.
43226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43228 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43230 Likewise.
43231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43232 Likewise.
43233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43234 Likewise.
43235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43236 Likewise.
43237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43238 Likewise.
43239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43240 Likewise.
43241
43242 [BZ #14821]
43243 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43244 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43245 for copies of such integer values.
43246 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43247 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43248
43249 2012-11-09 Andreas Jaeger <aj@suse.de>
43250
43251 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43252 definitions and declarations that are provided by
43253 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43254
43255 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43256
43257 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43258 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43259 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43260 definition.
43261
43262 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43263
43264 * elf/elf.h: Update comment before AArch64 relocations.
43265
43266 2012-11-07 David S. Miller <davem@davemloft.net>
43267
43268 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43269 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43270 (__start_context): Declare.
43271 (__makecontext_ret): Delete.
43272 (__makecontext): Hook up __start_context instead of
43273 __makecontext_ret.
43274 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43275 (sysdep_routines): Add __start_context when in stdlib.
43276
43277 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43278
43279 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43280 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43281 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43282 hardcoded "nm".
43283 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43284 (READELF): New variable. Use it instead of hardcoded "readelf".
43285
43286 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43287
43288 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43289 * sysdeps/x86/Makefile: Here.
43290 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43291 * sysdeps/x86/tst-xmmymm.sh: This.
43292
43293 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43294
43295 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43296 expectations.
43297 [UNIX98] (pthread_barrier_t): Do not expect.
43298 [UNIX98] (pthread_barrierattr_t): Likewise.
43299 [UNIX98] (pthread_spinlock_t): Likewise.
43300 [UNIX98] (pthread_barrier_destroy): Likewise.
43301 [UNIX98] (pthread_barrier_init): Likewise.
43302 [UNIX98] (pthread_barrier_wait): Likewise.
43303 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43304 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43305 [UNIX98] (pthread_barrierattr_init): Likewise.
43306 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43307 [UNIX98] (pthread_getcpuclockid): Likewise.
43308 [UNIX98] (pthread_mutex_timedlock): Likewise.
43309 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43310 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43311 [UNIX98] (pthread_sigmask): Likewise.
43312 [UNIX98] (pthread_spin_destroy): Likewise.
43313 [UNIX98] (pthread_spin_init): Likewise.
43314 [UNIX98] (pthread_spin_lock): Likewise.
43315 [UNIX98] (pthread_spin_trylock): Likewise.
43316 [UNIX98] (pthread_spin_unlock): Likewise.
43317 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43318 Do not expect.
43319 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43320 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43321 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43322 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43323 [XPG3 || XPG4] (pthread_key_t): Likewise.
43324 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43325 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43326 [XPG3 || XPG4] (pthread_once_t): Likewise.
43327 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43328 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43329 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43330 [XPG3 || XPG4] (pthread_t): Likewise.
43331
43332 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43333 not expect.
43334 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43335
43336 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43337 Change function return type to int.
43338
43339 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43340 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43341 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43342 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43343 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43344 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43345 [!POSIX] (posix_madvise): Likewise.
43346 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43347 && !UNIX98].
43348 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43349 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43350 (mode_t): Likewise.
43351 (posix_mem_offset): Likewise.
43352 (posix_typed_mem_get_info): Likewise.
43353 (posix_typed_mem_open): Likewise.
43354
43355 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43356 Change condition to [XOPEN2K8].
43357
43358 * conform/conformtest.pl: Preprocess allow-header data with -x c
43359 instead of from stdin.
43360 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43361 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43362 [C99-based standards] (cerfc): Likewise.
43363 [C99-based standards] (cexp2): Likewise.
43364 [C99-based standards] (cexpm1): Likewise.
43365 [C99-based standards] (clog10): Likewise.
43366 [C99-based standards] (clog1p): Likewise.
43367 [C99-based standards] (clog2): Likewise.
43368 [C99-based standards] (clgamma): Likewise.
43369 [C99-based standards] (ctgamma): Likewise.
43370 [C99-based standards] (cerff): Likewise.
43371 [C99-based standards] (cerfcf): Likewise.
43372 [C99-based standards] (cexp2f): Likewise.
43373 [C99-based standards] (cexpm1f): Likewise.
43374 [C99-based standards] (clog10f): Likewise.
43375 [C99-based standards] (clog1pf): Likewise.
43376 [C99-based standards] (clog2f): Likewise.
43377 [C99-based standards] (clgammaf): Likewise.
43378 [C99-based standards] (ctgammaf): Likewise.
43379 [C99-based standards] (cerfl): Likewise.
43380 [C99-based standards] (cerfcl): Likewise.
43381 [C99-based standards] (cexp2l): Likewise.
43382 [C99-based standards] (cexpm1l): Likewise.
43383 [C99-based standards] (clog10l): Likewise.
43384 [C99-based standards] (clog1pl): Likewise.
43385 [C99-based standards] (clog2l): Likewise.
43386 [C99-based standards] (clgammal): Likewise.
43387 [C99-based standards] (ctgammal): Likewise.
43388 * conform/data/inttypes.h-data [C99-based standards]: Include
43389 stdint.h-data. Remove all expectations for stdint.h contents.
43390 [C99-based standards] (PRI*): Do not allow.
43391 [C99-based standards] (SCN*): Likewise.
43392 [C99-based standards] (*_t): Likewise.
43393 [C99-based-standards] (PRId8): Expect macro.
43394 [C99-based-standards] (PRIi8): Likewise.
43395 [C99-based-standards] (PRIo8): Likewise.
43396 [C99-based-standards] (PRIu8): Likewise.
43397 [C99-based-standards] (PRIx8): Likewise.
43398 [C99-based-standards] (PRIX8): Likewise.
43399 [C99-based-standards] (SCNd8): Likewise.
43400 [C99-based-standards] (SCNi8): Likewise.
43401 [C99-based-standards] (SCNo8): Likewise.
43402 [C99-based-standards] (SCNu8): Likewise.
43403 [C99-based-standards] (SCNx8): Likewise.
43404 [C99-based-standards] (PRIdLEAST8): Likewise.
43405 [C99-based-standards] (PRIiLEAST8): Likewise.
43406 [C99-based-standards] (PRIoLEAST8): Likewise.
43407 [C99-based-standards] (PRIuLEAST8): Likewise.
43408 [C99-based-standards] (PRIxLEAST8): Likewise.
43409 [C99-based-standards] (PRIXLEAST8): Likewise.
43410 [C99-based-standards] (SCNdLEAST8): Likewise.
43411 [C99-based-standards] (SCNiLEAST8): Likewise.
43412 [C99-based-standards] (SCNoLEAST8): Likewise.
43413 [C99-based-standards] (SCNuLEAST8): Likewise.
43414 [C99-based-standards] (SCNxLEAST8): Likewise.
43415 [C99-based-standards] (PRIdFAST8): Likewise.
43416 [C99-based-standards] (PRIiFAST8): Likewise.
43417 [C99-based-standards] (PRIoFAST8): Likewise.
43418 [C99-based-standards] (PRIuFAST8): Likewise.
43419 [C99-based-standards] (PRIxFAST8): Likewise.
43420 [C99-based-standards] (PRIXFAST8): Likewise.
43421 [C99-based-standards] (SCNdFAST8): Likewise.
43422 [C99-based-standards] (SCNiFAST8): Likewise.
43423 [C99-based-standards] (SCNoFAST8): Likewise.
43424 [C99-based-standards] (SCNuFAST8): Likewise.
43425 [C99-based-standards] (SCNxFAST8): Likewise.
43426 [C99-based-standards] (PRId16): Likewise.
43427 [C99-based-standards] (PRIi16): Likewise.
43428 [C99-based-standards] (PRIo16): Likewise.
43429 [C99-based-standards] (PRIu16): Likewise.
43430 [C99-based-standards] (PRIx16): Likewise.
43431 [C99-based-standards] (PRIX16): Likewise.
43432 [C99-based-standards] (SCNd16): Likewise.
43433 [C99-based-standards] (SCNi16): Likewise.
43434 [C99-based-standards] (SCNo16): Likewise.
43435 [C99-based-standards] (SCNu16): Likewise.
43436 [C99-based-standards] (SCNx16): Likewise.
43437 [C99-based-standards] (PRIdLEAST16): Likewise.
43438 [C99-based-standards] (PRIiLEAST16): Likewise.
43439 [C99-based-standards] (PRIoLEAST16): Likewise.
43440 [C99-based-standards] (PRIuLEAST16): Likewise.
43441 [C99-based-standards] (PRIxLEAST16): Likewise.
43442 [C99-based-standards] (PRIXLEAST16): Likewise.
43443 [C99-based-standards] (SCNdLEAST16): Likewise.
43444 [C99-based-standards] (SCNiLEAST16): Likewise.
43445 [C99-based-standards] (SCNoLEAST16): Likewise.
43446 [C99-based-standards] (SCNuLEAST16): Likewise.
43447 [C99-based-standards] (SCNxLEAST16): Likewise.
43448 [C99-based-standards] (PRIdFAST16): Likewise.
43449 [C99-based-standards] (PRIiFAST16): Likewise.
43450 [C99-based-standards] (PRIoFAST16): Likewise.
43451 [C99-based-standards] (PRIuFAST16): Likewise.
43452 [C99-based-standards] (PRIxFAST16): Likewise.
43453 [C99-based-standards] (PRIXFAST16): Likewise.
43454 [C99-based-standards] (SCNdFAST16): Likewise.
43455 [C99-based-standards] (SCNiFAST16): Likewise.
43456 [C99-based-standards] (SCNoFAST16): Likewise.
43457 [C99-based-standards] (SCNuFAST16): Likewise.
43458 [C99-based-standards] (SCNxFAST16): Likewise.
43459 [C99-based-standards] (PRId32): Likewise.
43460 [C99-based-standards] (PRIi32): Likewise.
43461 [C99-based-standards] (PRIo32): Likewise.
43462 [C99-based-standards] (PRIu32): Likewise.
43463 [C99-based-standards] (PRIx32): Likewise.
43464 [C99-based-standards] (PRIX32): Likewise.
43465 [C99-based-standards] (SCNd32): Likewise.
43466 [C99-based-standards] (SCNi32): Likewise.
43467 [C99-based-standards] (SCNo32): Likewise.
43468 [C99-based-standards] (SCNu32): Likewise.
43469 [C99-based-standards] (SCNx32): Likewise.
43470 [C99-based-standards] (PRIdLEAST32): Likewise.
43471 [C99-based-standards] (PRIiLEAST32): Likewise.
43472 [C99-based-standards] (PRIoLEAST32): Likewise.
43473 [C99-based-standards] (PRIuLEAST32): Likewise.
43474 [C99-based-standards] (PRIxLEAST32): Likewise.
43475 [C99-based-standards] (PRIXLEAST32): Likewise.
43476 [C99-based-standards] (SCNdLEAST32): Likewise.
43477 [C99-based-standards] (SCNiLEAST32): Likewise.
43478 [C99-based-standards] (SCNoLEAST32): Likewise.
43479 [C99-based-standards] (SCNuLEAST32): Likewise.
43480 [C99-based-standards] (SCNxLEAST32): Likewise.
43481 [C99-based-standards] (PRIdFAST32): Likewise.
43482 [C99-based-standards] (PRIiFAST32): Likewise.
43483 [C99-based-standards] (PRIoFAST32): Likewise.
43484 [C99-based-standards] (PRIuFAST32): Likewise.
43485 [C99-based-standards] (PRIxFAST32): Likewise.
43486 [C99-based-standards] (PRIXFAST32): Likewise.
43487 [C99-based-standards] (SCNdFAST32): Likewise.
43488 [C99-based-standards] (SCNiFAST32): Likewise.
43489 [C99-based-standards] (SCNoFAST32): Likewise.
43490 [C99-based-standards] (SCNuFAST32): Likewise.
43491 [C99-based-standards] (SCNxFAST32): Likewise.
43492 [C99-based-standards] (PRId64): Likewise.
43493 [C99-based-standards] (PRIi64): Likewise.
43494 [C99-based-standards] (PRIo64): Likewise.
43495 [C99-based-standards] (PRIu64): Likewise.
43496 [C99-based-standards] (PRIx64): Likewise.
43497 [C99-based-standards] (PRIX64): Likewise.
43498 [C99-based-standards] (SCNd64): Likewise.
43499 [C99-based-standards] (SCNi64): Likewise.
43500 [C99-based-standards] (SCNo64): Likewise.
43501 [C99-based-standards] (SCNu64): Likewise.
43502 [C99-based-standards] (SCNx64): Likewise.
43503 [C99-based-standards] (PRIdLEAST64): Likewise.
43504 [C99-based-standards] (PRIiLEAST64): Likewise.
43505 [C99-based-standards] (PRIoLEAST64): Likewise.
43506 [C99-based-standards] (PRIuLEAST64): Likewise.
43507 [C99-based-standards] (PRIxLEAST64): Likewise.
43508 [C99-based-standards] (PRIXLEAST64): Likewise.
43509 [C99-based-standards] (SCNdLEAST64): Likewise.
43510 [C99-based-standards] (SCNiLEAST64): Likewise.
43511 [C99-based-standards] (SCNoLEAST64): Likewise.
43512 [C99-based-standards] (SCNuLEAST64): Likewise.
43513 [C99-based-standards] (SCNxLEAST64): Likewise.
43514 [C99-based-standards] (PRIdFAST64): Likewise.
43515 [C99-based-standards] (PRIiFAST64): Likewise.
43516 [C99-based-standards] (PRIoFAST64): Likewise.
43517 [C99-based-standards] (PRIuFAST64): Likewise.
43518 [C99-based-standards] (PRIxFAST64): Likewise.
43519 [C99-based-standards] (PRIXFAST64): Likewise.
43520 [C99-based-standards] (SCNdFAST64): Likewise.
43521 [C99-based-standards] (SCNiFAST64): Likewise.
43522 [C99-based-standards] (SCNoFAST64): Likewise.
43523 [C99-based-standards] (SCNuFAST64): Likewise.
43524 [C99-based-standards] (SCNxFAST64): Likewise.
43525 [C99-based-standards] (PRIdMAX): Likewise.
43526 [C99-based-standards] (PRIiMAX): Likewise.
43527 [C99-based-standards] (PRIoMAX): Likewise.
43528 [C99-based-standards] (PRIuMAX): Likewise.
43529 [C99-based-standards] (PRIxMAX): Likewise.
43530 [C99-based-standards] (PRIXMAX): Likewise.
43531 [C99-based-standards] (SCNdMAX): Likewise.
43532 [C99-based-standards] (SCNiMAX): Likewise.
43533 [C99-based-standards] (SCNoMAX): Likewise.
43534 [C99-based-standards] (SCNuMAX): Likewise.
43535 [C99-based-standards] (SCNxMAX): Likewise.
43536 [C99-based-standards] (PRIdPTR): Likewise.
43537 [C99-based-standards] (PRIiPTR): Likewise.
43538 [C99-based-standards] (PRIoPTR): Likewise.
43539 [C99-based-standards] (PRIuPTR): Likewise.
43540 [C99-based-standards] (PRIxPTR): Likewise.
43541 [C99-based-standards] (PRIXPTR): Likewise.
43542 [C99-based-standards] (SCNdPTR): Likewise.
43543 [C99-based-standards] (SCNiPTR): Likewise.
43544 [C99-based-standards] (SCNoPTR): Likewise.
43545 [C99-based-standards] (SCNuPTR): Likewise.
43546 [C99-based-standards] (SCNxPTR): Likewise.
43547 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43548 allow.
43549 * conform/data/stdint.h-data: Update comments to clarify
43550 requirements.
43551 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43552 type.
43553 [C99-based standards] (INT8_MAX): Likewise.
43554 [C99-based standards] (INT16_MIN): Likewise.
43555 [C99-based standards] (INT16_MAX): Likewise.
43556 [C99-based standards] (INT32_MIN): Likewise.
43557 [C99-based standards] (INT32_MAX): Likewise.
43558 [C99-based standards] (INT64_MIN): Likewise.
43559 [C99-based standards] (INT64_MAX): Likewise.
43560 [C99-based standards] (UINT8_MAX): Likewise.
43561 [C99-based standards] (UINT16_MAX): Likewise.
43562 [C99-based standards] (UINT32_MAX): Likewise.
43563 [C99-based standards] (UINT64_MAX): Likewise.
43564 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43565 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43566 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43567 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43568 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43569 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43570 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43571 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43572 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43573 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43574 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43575 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43576 [C99-based standards] (INT_FAST8_MIN): Likewise.
43577 [C99-based standards] (INT_FAST8_MAX): Likewise.
43578 [C99-based standards] (INT_FAST16_MIN): Likewise.
43579 [C99-based standards] (INT_FAST16_MAX): Likewise.
43580 [C99-based standards] (INT_FAST32_MIN): Likewise.
43581 [C99-based standards] (INT_FAST32_MAX): Likewise.
43582 [C99-based standards] (INT_FAST64_MIN): Likewise.
43583 [C99-based standards] (INT_FAST64_MAX): Likewise.
43584 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43585 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43586 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43587 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43588 [C99-based standards] (INTPTR_MIN): Likewise.
43589 [C99-based standards] (INTPTR_MAX): Likewise.
43590 [C99-based standards] (UINTPTR_MAX): Likewise.
43591 [C99-based standards] (INTMAX_MIN): Likewise.
43592 [C99-based standards] (INTMAX_MAX): Likewise.
43593 [C99-based standards] (UINTMAX_MAX): Likewise.
43594 [C99-based standards] (PTRDIFF_MIN): Likewise.
43595 [C99-based standards] (PTRDIFF_MAX): Likewise.
43596 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43597 [C99-based standards] (SIZE_MAX): Likewise.
43598 [C99-based standards] (WCHAR_MAX): Likewise.
43599 [C99-based standards] (WINT_MAX): Likewise.
43600 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43601 constraint on value.
43602 [C99-based standards] (WCHAR_MIN): Likewise.
43603 [C99-based standards] (WINT_MIN): Likewise.
43604 [C99-based standards] (*_t): Allow.
43605 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43606 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43607 Include math.h-data and complex.h-data. Remove all expectations
43608 of math.h and complex.h contents.
43609 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43610 at end of line.
43611 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43612 (struct tm): Expect tag.
43613 [C99-based-standards] (wcstof): Expect function.
43614 [C99-based-standards] (wcstold): Likewise.
43615 [C99-based-standards] (wcstoll): Likewise.
43616 [C99-based-standards] (wcstoull): Likewise.
43617 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43618 macro-int-constant. Specify type.
43619 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43620 constraint on value.
43621 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43622 Specify type.
43623 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43624 Specify value.
43625 [ISO C standards]: Do not allow headers.
43626 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43627 wcs[abcdefghijklmnopqrstuvwxyz]*.
43628 [ISO C standards] (*_t): Do not allow.
43629 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43630 Expect function.
43631 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43632 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43633 Specify type.
43634 [ISO C standards]: Do not allow headers.
43635 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43636 is[abcdefghijklmnopqrstuvwxyz]*.
43637 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43638 to[abcdefghijklmnopqrstuvwxyz]*.
43639 [ISO C standards] (*_t): Do not allow.
43640 * conform/data/stdalign.h-data: New file.
43641 * conform/data/stdbool.h-data: Likewise.
43642 * conform/data/stdnoreturn.h-data: Likewise.
43643
43644 2012-11-07 Roland McGrath <roland@hack.frob.com>
43645
43646 [BZ #14815]
43647 * manual/filesys.texi (Directory Entries): Typo fix.
43648 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43649
43650 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43651
43652 * elf/elf.h (EM_AARCH64): New macro.
43653 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43654 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43655 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43656 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43657 (R_AARCH64_TLSDESC): Likewise.
43658 (NT_ARM_TLS): Likewise.
43659 (NT_ARM_HW_BREAK): Likewise.
43660 (NT_ARM_HW_WATCH): Likewise.
43661
43662 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43663
43664 [BZ #14811]
43665 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43666 (__ieee754_powl): Saturate nonzero exponents with absolute value
43667 below 0x1p-79 to +/- 0x1p-79.
43668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43669 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43670 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43671 nonzero exponents with absolute value below 0x1p-32 to +/-
43672 0x1p-32.
43673 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43674 (__ieee754_powl): Saturate nonzero exponents with absolute value
43675 below 0x1p-79 to +/- 0x1p-79.
43676 * math/libm-test.inc (pow_test): Add more tests.
43677
43678 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43679
43680 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43681 _dl_s390_cap_flags with kernel. Increase string length.
43682 (_dl_s390_platforms): Add z196 and zEC12.
43683
43684 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43685
43686 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43687 Change XOPEN21K to XOPEN2K.
43688
43689 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43690
43691 * string/memmove.c: Use memcpy when possible.
43692
43693 2012-11-06 Andreas Jaeger <aj@suse.de>
43694
43695 * po/eo.po: Update from translation team.
43696
43697 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43698
43699 [BZ #14793]
43700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43701 exponent and small x and y exponents, scale x or y up. Increase
43702 by 2 the exponent used in scaling up.
43703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43705 * math/libm-test.inc (fma_test): Add more tests.
43706 (fma_test_towardzero): Likewise.
43707 (fma_test_downward): Likewise.
43708 (fma_test_upward): Likewise.
43709
43710 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43711
43712 [BZ #14805]
43713 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43714 fenv_t *.
43715
43716 [BZ #14801]
43717 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43718 namespace for names of struct fields.
43719 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43720 fenv_t fields.
43721 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43722 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43723
43724 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43725
43726 [BZ #3665]
43727 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43728
43729 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43730
43731 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43732 PTR_DEMANGLE.
43733
43734 [BZ #5246]
43735 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43736 PTR_DEMANGLE.
43737
43738 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43739
43740 [BZ #14797]
43741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43742 definitely overflow as x * y not x * y + z.
43743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43745 * math/libm-test.inc (fma_test): Add more tests.
43746 (fma_test_towardzero): Likewise.
43747 (fma_test_downward): Likewise.
43748 (fma_test_upward): Likewise.
43749
43750 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43751
43752 [BZ #157]
43753
43754 * include/stub-tag.h: Remove file.
43755 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43756 '#include' of it.
43757 * manual/maint.texi (Porting): Don't reference it.
43758 * Makerules ($(objpfx)stubs): Likewise.
43759 * dirent/closedir.c: Don't include <stub-tag.h>.
43760 * dirent/dirfd.c: Likewise.
43761 * dirent/fdopendir.c: Likewise.
43762 * dirent/getdents.c: Likewise.
43763 * dirent/getdents64.c: Likewise.
43764 * dirent/opendir.c: Likewise.
43765 * dirent/readdir.c: Likewise.
43766 * dirent/readdir64.c: Likewise.
43767 * dirent/readdir64_r.c: Likewise.
43768 * dirent/readdir_r.c: Likewise.
43769 * dirent/rewinddir.c: Likewise.
43770 * dirent/seekdir.c: Likewise.
43771 * dirent/telldir.c: Likewise.
43772 * gmon/profil.c: Likewise.
43773 * grp/setgroups.c: Likewise.
43774 * inet/if_index.c: Likewise.
43775 * io/access.c: Likewise.
43776 * io/chdir.c: Likewise.
43777 * io/chmod.c: Likewise.
43778 * io/chown.c: Likewise.
43779 * io/close.c: Likewise.
43780 * io/dup.c: Likewise.
43781 * io/dup2.c: Likewise.
43782 * io/dup3.c: Likewise.
43783 * io/euidaccess.c: Likewise.
43784 * io/faccessat.c: Likewise.
43785 * io/fchdir.c: Likewise.
43786 * io/fchmod.c: Likewise.
43787 * io/fchmodat.c: Likewise.
43788 * io/fchown.c: Likewise.
43789 * io/fchownat.c: Likewise.
43790 * io/fcntl.c: Likewise.
43791 * io/flock.c: Likewise.
43792 * io/fstatfs.c: Likewise.
43793 * io/fstatfs64.c: Likewise.
43794 * io/fstatvfs.c: Likewise.
43795 * io/fstatvfs64.c: Likewise.
43796 * io/futimens.c: Likewise.
43797 * io/fxstat.c: Likewise.
43798 * io/fxstat64.c: Likewise.
43799 * io/fxstatat.c: Likewise.
43800 * io/fxstatat64.c: Likewise.
43801 * io/getcwd.c: Likewise.
43802 * io/isatty.c: Likewise.
43803 * io/lchmod.c: Likewise.
43804 * io/lchown.c: Likewise.
43805 * io/link.c: Likewise.
43806 * io/linkat.c: Likewise.
43807 * io/lseek.c: Likewise.
43808 * io/lseek64.c: Likewise.
43809 * io/lxstat64.c: Likewise.
43810 * io/mkdir.c: Likewise.
43811 * io/mkdirat.c: Likewise.
43812 * io/mkfifo.c: Likewise.
43813 * io/mkfifoat.c: Likewise.
43814 * io/open.c: Likewise.
43815 * io/open64.c: Likewise.
43816 * io/openat.c: Likewise.
43817 * io/openat64.c: Likewise.
43818 * io/pipe.c: Likewise.
43819 * io/pipe2.c: Likewise.
43820 * io/poll.c: Likewise.
43821 * io/posix_fadvise.c: Likewise.
43822 * io/posix_fadvise64.c: Likewise.
43823 * io/posix_fallocate.c: Likewise.
43824 * io/posix_fallocate64.c: Likewise.
43825 * io/read.c: Likewise.
43826 * io/readlink.c: Likewise.
43827 * io/readlinkat.c: Likewise.
43828 * io/rmdir.c: Likewise.
43829 * io/sendfile.c: Likewise.
43830 * io/sendfile64.c: Likewise.
43831 * io/statfs.c: Likewise.
43832 * io/statfs64.c: Likewise.
43833 * io/statvfs.c: Likewise.
43834 * io/statvfs64.c: Likewise.
43835 * io/symlink.c: Likewise.
43836 * io/symlinkat.c: Likewise.
43837 * io/ttyname.c: Likewise.
43838 * io/ttyname_r.c: Likewise.
43839 * io/umask.c: Likewise.
43840 * io/unlink.c: Likewise.
43841 * io/unlinkat.c: Likewise.
43842 * io/utime.c: Likewise.
43843 * io/utimensat.c: Likewise.
43844 * io/write.c: Likewise.
43845 * io/xmknod.c: Likewise.
43846 * io/xmknodat.c: Likewise.
43847 * io/xstat.c: Likewise.
43848 * io/xstat64.c: Likewise.
43849 * login/getpt.c: Likewise.
43850 * login/grantpt.c: Likewise.
43851 * login/unlockpt.c: Likewise.
43852 * math/e_acoshl.c: Likewise.
43853 * math/e_acosl.c: Likewise.
43854 * math/e_asinl.c: Likewise.
43855 * math/e_atan2l.c: Likewise.
43856 * math/e_atanhl.c: Likewise.
43857 * math/e_coshl.c: Likewise.
43858 * math/e_expl.c: Likewise.
43859 * math/e_fmodl.c: Likewise.
43860 * math/e_gammal_r.c: Likewise.
43861 * math/e_hypotl.c: Likewise.
43862 * math/e_j0l.c: Likewise.
43863 * math/e_j1l.c: Likewise.
43864 * math/e_jnl.c: Likewise.
43865 * math/e_lgammal_r.c: Likewise.
43866 * math/e_log10l.c: Likewise.
43867 * math/e_log2l.c: Likewise.
43868 * math/e_logl.c: Likewise.
43869 * math/e_powl.c: Likewise.
43870 * math/e_rem_pio2l.c: Likewise.
43871 * math/e_sinhl.c: Likewise.
43872 * math/e_sqrtl.c: Likewise.
43873 * math/fclrexcpt.c: Likewise.
43874 * math/fedisblxcpt.c: Likewise.
43875 * math/feenablxcpt.c: Likewise.
43876 * math/fegetenv.c: Likewise.
43877 * math/fegetexcept.c: Likewise.
43878 * math/fegetround.c: Likewise.
43879 * math/feholdexcpt.c: Likewise.
43880 * math/fesetenv.c: Likewise.
43881 * math/fesetround.c: Likewise.
43882 * math/feupdateenv.c: Likewise.
43883 * math/fgetexcptflg.c: Likewise.
43884 * math/fraiseexcpt.c: Likewise.
43885 * math/fsetexcptflg.c: Likewise.
43886 * math/ftestexcept.c: Likewise.
43887 * math/k_cosl.c: Likewise.
43888 * math/k_rem_pio2l.c: Likewise.
43889 * math/k_sinl.c: Likewise.
43890 * math/k_tanl.c: Likewise.
43891 * math/s_asinhl.c: Likewise.
43892 * math/s_atanl.c: Likewise.
43893 * math/s_cbrtl.c: Likewise.
43894 * math/s_erfl.c: Likewise.
43895 * math/s_expm1l.c: Likewise.
43896 * math/s_log1pl.c: Likewise.
43897 * math/s_tanhl.c: Likewise.
43898 * misc/acct.c: Likewise.
43899 * misc/brk.c: Likewise.
43900 * misc/chflags.c: Likewise.
43901 * misc/chroot.c: Likewise.
43902 * misc/fchflags.c: Likewise.
43903 * misc/fgetxattr.c: Likewise.
43904 * misc/flistxattr.c: Likewise.
43905 * misc/fremovexattr.c: Likewise.
43906 * misc/fsetxattr.c: Likewise.
43907 * misc/fsync.c: Likewise.
43908 * misc/ftruncate.c: Likewise.
43909 * misc/futimes.c: Likewise.
43910 * misc/futimesat.c: Likewise.
43911 * misc/getdomain.c: Likewise.
43912 * misc/getdtsz.c: Likewise.
43913 * misc/gethostid.c: Likewise.
43914 * misc/gethostname.c: Likewise.
43915 * misc/getloadavg.c: Likewise.
43916 * misc/getpagesize.c: Likewise.
43917 * misc/getsysstats.c: Likewise.
43918 * misc/getxattr.c: Likewise.
43919 * misc/gtty.c: Likewise.
43920 * misc/ioctl.c: Likewise.
43921 * misc/lgetxattr.c: Likewise.
43922 * misc/listxattr.c: Likewise.
43923 * misc/llistxattr.c: Likewise.
43924 * misc/lremovexattr.c: Likewise.
43925 * misc/lsetxattr.c: Likewise.
43926 * misc/lutimes.c: Likewise.
43927 * misc/madvise.c: Likewise.
43928 * misc/mincore.c: Likewise.
43929 * misc/mlock.c: Likewise.
43930 * misc/mlockall.c: Likewise.
43931 * misc/mmap.c: Likewise.
43932 * misc/mprotect.c: Likewise.
43933 * misc/msync.c: Likewise.
43934 * misc/munlock.c: Likewise.
43935 * misc/munlockall.c: Likewise.
43936 * misc/munmap.c: Likewise.
43937 * misc/preadv.c: Likewise.
43938 * misc/preadv64.c: Likewise.
43939 * misc/ptrace.c: Likewise.
43940 * misc/pwritev.c: Likewise.
43941 * misc/pwritev64.c: Likewise.
43942 * misc/readv.c: Likewise.
43943 * misc/reboot.c: Likewise.
43944 * misc/remap_file_pages.c: Likewise.
43945 * misc/removexattr.c: Likewise.
43946 * misc/revoke.c: Likewise.
43947 * misc/select.c: Likewise.
43948 * misc/setdomain.c: Likewise.
43949 * misc/setegid.c: Likewise.
43950 * misc/seteuid.c: Likewise.
43951 * misc/sethostid.c: Likewise.
43952 * misc/sethostname.c: Likewise.
43953 * misc/setregid.c: Likewise.
43954 * misc/setreuid.c: Likewise.
43955 * misc/setxattr.c: Likewise.
43956 * misc/sstk.c: Likewise.
43957 * misc/stty.c: Likewise.
43958 * misc/swapoff.c: Likewise.
43959 * misc/swapon.c: Likewise.
43960 * misc/sync.c: Likewise.
43961 * misc/syncfs.c: Likewise.
43962 * misc/syscall.c: Likewise.
43963 * misc/truncate.c: Likewise.
43964 * misc/ualarm.c: Likewise.
43965 * misc/usleep.c: Likewise.
43966 * misc/ustat.c: Likewise.
43967 * misc/utimes.c: Likewise.
43968 * misc/vhangup.c: Likewise.
43969 * misc/writev.c: Likewise.
43970 * posix/_exit.c: Likewise.
43971 * posix/alarm.c: Likewise.
43972 * posix/execve.c: Likewise.
43973 * posix/fexecve.c: Likewise.
43974 * posix/fork.c: Likewise.
43975 * posix/fpathconf.c: Likewise.
43976 * posix/getaddrinfo.c: Likewise.
43977 * posix/getegid.c: Likewise.
43978 * posix/geteuid.c: Likewise.
43979 * posix/getgid.c: Likewise.
43980 * posix/getgroups.c: Likewise.
43981 * posix/getlogin.c: Likewise.
43982 * posix/getlogin_r.c: Likewise.
43983 * posix/getpgid.c: Likewise.
43984 * posix/getpid.c: Likewise.
43985 * posix/getppid.c: Likewise.
43986 * posix/getresgid.c: Likewise.
43987 * posix/getresuid.c: Likewise.
43988 * posix/getsid.c: Likewise.
43989 * posix/getuid.c: Likewise.
43990 * posix/glob64.c: Likewise.
43991 * posix/nanosleep.c: Likewise.
43992 * posix/pathconf.c: Likewise.
43993 * posix/pause.c: Likewise.
43994 * posix/posix_madvise.c: Likewise.
43995 * posix/pread.c: Likewise.
43996 * posix/pread64.c: Likewise.
43997 * posix/pwrite.c: Likewise.
43998 * posix/pwrite64.c: Likewise.
43999 * posix/sched_getaffinity.c: Likewise.
44000 * posix/sched_getp.c: Likewise.
44001 * posix/sched_gets.c: Likewise.
44002 * posix/sched_primax.c: Likewise.
44003 * posix/sched_primin.c: Likewise.
44004 * posix/sched_rr_gi.c: Likewise.
44005 * posix/sched_setaffinity.c: Likewise.
44006 * posix/sched_setp.c: Likewise.
44007 * posix/sched_sets.c: Likewise.
44008 * posix/sched_yield.c: Likewise.
44009 * posix/setgid.c: Likewise.
44010 * posix/setlogin.c: Likewise.
44011 * posix/setpgid.c: Likewise.
44012 * posix/setresgid.c: Likewise.
44013 * posix/setresuid.c: Likewise.
44014 * posix/setsid.c: Likewise.
44015 * posix/setuid.c: Likewise.
44016 * posix/sleep.c: Likewise.
44017 * posix/spawni.c: Likewise.
44018 * posix/sysconf.c: Likewise.
44019 * posix/times.c: Likewise.
44020 * posix/wait.c: Likewise.
44021 * posix/wait3.c: Likewise.
44022 * posix/wait4.c: Likewise.
44023 * posix/waitpid.c: Likewise.
44024 * resolv/gai_sigqueue.c: Likewise.
44025 * resource/getpriority.c: Likewise.
44026 * resource/getrlimit.c: Likewise.
44027 * resource/getrusage.c: Likewise.
44028 * resource/nice.c: Likewise.
44029 * resource/setpriority.c: Likewise.
44030 * resource/setrlimit.c: Likewise.
44031 * resource/ulimit.c: Likewise.
44032 * rt/aio_cancel.c: Likewise.
44033 * rt/aio_fsync.c: Likewise.
44034 * rt/aio_read.c: Likewise.
44035 * rt/aio_sigqueue.c: Likewise.
44036 * rt/aio_suspend.c: Likewise.
44037 * rt/aio_write.c: Likewise.
44038 * rt/clock_getres.c: Likewise.
44039 * rt/clock_gettime.c: Likewise.
44040 * rt/clock_nanosleep.c: Likewise.
44041 * rt/clock_settime.c: Likewise.
44042 * rt/lio_listio.c: Likewise.
44043 * rt/mq_close.c: Likewise.
44044 * rt/mq_getattr.c: Likewise.
44045 * rt/mq_notify.c: Likewise.
44046 * rt/mq_open.c: Likewise.
44047 * rt/mq_receive.c: Likewise.
44048 * rt/mq_send.c: Likewise.
44049 * rt/mq_setattr.c: Likewise.
44050 * rt/mq_timedreceive.c: Likewise.
44051 * rt/mq_timedsend.c: Likewise.
44052 * rt/mq_unlink.c: Likewise.
44053 * rt/shm_open.c: Likewise.
44054 * rt/shm_unlink.c: Likewise.
44055 * rt/timer_create.c: Likewise.
44056 * rt/timer_delete.c: Likewise.
44057 * rt/timer_getoverr.c: Likewise.
44058 * rt/timer_gettime.c: Likewise.
44059 * rt/timer_settime.c: Likewise.
44060 * setjmp/__longjmp.c: Likewise.
44061 * setjmp/setjmp.c: Likewise.
44062 * signal/kill.c: Likewise.
44063 * signal/killpg.c: Likewise.
44064 * signal/raise.c: Likewise.
44065 * signal/sigaction.c: Likewise.
44066 * signal/sigaltstack.c: Likewise.
44067 * signal/sigblock.c: Likewise.
44068 * signal/sigignore.c: Likewise.
44069 * signal/sigintr.c: Likewise.
44070 * signal/signal.c: Likewise.
44071 * signal/sigpause.c: Likewise.
44072 * signal/sigpending.c: Likewise.
44073 * signal/sigqueue.c: Likewise.
44074 * signal/sigreturn.c: Likewise.
44075 * signal/sigset.c: Likewise.
44076 * signal/sigsetmask.c: Likewise.
44077 * signal/sigstack.c: Likewise.
44078 * signal/sigsuspend.c: Likewise.
44079 * signal/sigtimedwait.c: Likewise.
44080 * signal/sigvec.c: Likewise.
44081 * signal/sigwait.c: Likewise.
44082 * signal/sigwaitinfo.c: Likewise.
44083 * signal/sysv_signal.c: Likewise.
44084 * socket/accept.c: Likewise.
44085 * socket/accept4.c: Likewise.
44086 * socket/bind.c: Likewise.
44087 * socket/connect.c: Likewise.
44088 * socket/getpeername.c: Likewise.
44089 * socket/getsockname.c: Likewise.
44090 * socket/getsockopt.c: Likewise.
44091 * socket/isfdtype.c: Likewise.
44092 * socket/listen.c: Likewise.
44093 * socket/recv.c: Likewise.
44094 * socket/recvfrom.c: Likewise.
44095 * socket/recvmsg.c: Likewise.
44096 * socket/send.c: Likewise.
44097 * socket/sendmsg.c: Likewise.
44098 * socket/sendto.c: Likewise.
44099 * socket/setsockopt.c: Likewise.
44100 * socket/shutdown.c: Likewise.
44101 * socket/sockatmark.c: Likewise.
44102 * socket/socket.c: Likewise.
44103 * socket/socketpair.c: Likewise.
44104 * stdio-common/ctermid.c: Likewise.
44105 * stdio-common/cuserid.c: Likewise.
44106 * stdio-common/remove.c: Likewise.
44107 * stdio-common/rename.c: Likewise.
44108 * stdio-common/renameat.c: Likewise.
44109 * stdio-common/tempname.c: Likewise.
44110 * stdlib/getcontext.c: Likewise.
44111 * stdlib/makecontext.c: Likewise.
44112 * stdlib/setcontext.c: Likewise.
44113 * stdlib/swapcontext.c: Likewise.
44114 * stdlib/system.c: Likewise.
44115 * streams/fattach.c: Likewise.
44116 * streams/fdetach.c: Likewise.
44117 * streams/getmsg.c: Likewise.
44118 * streams/getpmsg.c: Likewise.
44119 * streams/putmsg.c: Likewise.
44120 * streams/putpmsg.c: Likewise.
44121 * sysdeps/unix/bsd/getpt.c: Likewise.
44122 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44123 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44124 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44126 Likewise.
44127 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44128 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44129 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44130 * sysvipc/msgctl.c: Likewise.
44131 * sysvipc/msgget.c: Likewise.
44132 * sysvipc/msgrcv.c: Likewise.
44133 * sysvipc/msgsnd.c: Likewise.
44134 * sysvipc/semctl.c: Likewise.
44135 * sysvipc/semget.c: Likewise.
44136 * sysvipc/semop.c: Likewise.
44137 * sysvipc/semtimedop.c: Likewise.
44138 * sysvipc/shmat.c: Likewise.
44139 * sysvipc/shmctl.c: Likewise.
44140 * sysvipc/shmdt.c: Likewise.
44141 * sysvipc/shmget.c: Likewise.
44142 * termios/tcdrain.c: Likewise.
44143 * termios/tcflow.c: Likewise.
44144 * termios/tcflush.c: Likewise.
44145 * termios/tcgetattr.c: Likewise.
44146 * termios/tcgetpgrp.c: Likewise.
44147 * termios/tcsendbrk.c: Likewise.
44148 * termios/tcsetattr.c: Likewise.
44149 * termios/tcsetpgrp.c: Likewise.
44150 * time/adjtime.c: Likewise.
44151 * time/clock.c: Likewise.
44152 * time/getitimer.c: Likewise.
44153 * time/gettimeofday.c: Likewise.
44154 * time/setitimer.c: Likewise.
44155 * time/settimeofday.c: Likewise.
44156 * time/stime.c: Likewise.
44157 * time/time.c: Likewise.
44158
44159 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44160
44161 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44162 /usr/old/bin.
44163
44164 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44165 instead of spaces.
44166 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44167
44168 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44169
44170 [BZ #14796]
44171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44172 FE_TONEAREST before applying Dekker multiplication and Knuth
44173 addition. Clear inexact exceptions and check for exact zero
44174 results afterwards.
44175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44176 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44178 * math/libm-test.inc (fma_test): Add more tests.
44179 (fma_test_towardzero): Likewise.
44180 (fma_test_downward): Likewise.
44181 (fma_test_upward): Likewise.
44182 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44183 function.
44184 (libc_fesetround): New macro.
44185 (libc_fesetroundf): Likewise.
44186 (libc_fesetroundl): Likewise.
44187 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44188 function.
44189 (libc_fesetround_387): Likewise.
44190 (libc_fesetroundf): New macro.
44191 (libc_fesetround): Likewise.
44192 (libc_fesetroundl): Likewise.
44193 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44194 function.
44195 (libc_fesetroundf): New macro.
44196 (libc_fesetround): Likewise.
44197 (libc_fesetroundl): Likewise.
44198 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44199 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44200 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44201 libm_hidden_ver.
44202 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44203 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44204 libm_hidden_def.
44205 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44206 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44207 libm_hidden_ver.
44208 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44209 libm_hidden_def.
44210
44211 [BZ #3439]
44212 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44213 integer constant usable in #if and use that to give value to enum
44214 constant.
44215 (FE_DIVBYZERO): Likewise.
44216 (FE_UNDERFLOW): Likewise.
44217 (FE_OVERFLOW): Likewise.
44218 (FE_INVALID): Likewise.
44219 (FE_INVALID_SNAN): Likewise.
44220 (FE_INVALID_ISI): Likewise.
44221 (FE_INVALID_IDI): Likewise.
44222 (FE_INVALID_ZDZ): Likewise.
44223 (FE_INVALID_IMZ): Likewise.
44224 (FE_INVALID_COMPARE): Likewise.
44225 (FE_INVALID_SOFTWARE): Likewise.
44226 (FE_INVALID_SQRT): Likewise.
44227 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44228 (FE_TONEAREST): Likewise.
44229 (FE_TOWARDZERO): Likewise.
44230 (FE_UPWARD): Likewise.
44231 (FE_DOWNWARD): Likewise.
44232 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44233 (FE_DIVBYZERO): Likewise.
44234 (FE_OVERFLOW): Likewise.
44235 (FE_UNDERFLOW): Likewise.
44236 (FE_INEXACT): Likewise.
44237 (FE_TONEAREST): Likewise.
44238 (FE_DOWNWARD): Likewise.
44239 (FE_UPWARD): Likewise.
44240 (FE_TOWARDZERO): Likewise.
44241 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44242 (FE_UNDERFLOW): Likewise.
44243 (FE_OVERFLOW): Likewise.
44244 (FE_DIVBYZERO): Likewise.
44245 (FE_INVALID): Likewise.
44246 (FE_TONEAREST): Likewise.
44247 (FE_TOWARDZERO): Likewise.
44248 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44249 (FE_OVERFLOW): Likewise.
44250 (FE_UNDERFLOW): Likewise.
44251 (FE_DIVBYZERO): Likewise.
44252 (FE_INEXACT): Likewise.
44253 (FE_TONEAREST): Likewise.
44254 (FE_TOWARDZERO): Likewise.
44255 (FE_UPWARD): Likewise.
44256 (FE_DOWNWARD): Likewise.
44257 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44258 (FE_DIVBYZERO): Likewise.
44259 (FE_OVERFLOW): Likewise.
44260 (FE_UNDERFLOW): Likewise.
44261 (FE_INEXACT): Likewise.
44262 (FE_TONEAREST): Likewise.
44263 (FE_DOWNWARD): Likewise.
44264 (FE_UPWARD): Likewise.
44265 (FE_TOWARDZERO): Likewise.
44266
44267 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44268
44269 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44270
44271 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44272
44273 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44274 commands. Quote $PWD.
44275 (blacklist_exports): Don't use remove_newlines. Replace "declare
44276 -x" by "export".
44277 (remove_newlines): Remove.
44278
44279 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44280
44281 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44282 * stdlib/stdlib.h (atof): Moved to ...
44283 * include/bits/stdlib-float.h: Here. New file.
44284 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44285 * stdlib/bits/stdlib-float.h: New file.
44286 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44287 -mno-sse -mno-mmx.
44288 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44289 <xmmintrin.h>.
44290
44291 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44292
44293 * conform/conformtest.pl (@headers): Add fenv.h.
44294 * conform/data/fenv.h-data: New file.
44295 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44296 include of <math/fenv.h>.
44297
44298 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44299 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44300 && !UNIX98]. Enables tests for XOPEN2K8.
44301 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44302 POSIX2008]: Likewise.
44303
44304 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44305 (struct rusage): Do not expect type or its members.
44306
44307 [BZ #3439]
44308 * math/math.h (FP_NAN): Define macro to integer constant usable in
44309 #if and use that to give value to enum constant.
44310 (FP_INFINITE): Likewise.
44311 (FP_ZERO): Likewise.
44312 (FP_SUBNORMAL): Likewise.
44313 (FP_NORMAL): Likewise.
44314
44315 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44316
44317 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44318 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44319 arguments.
44320
44321 2012-11-02 Roland McGrath <roland@hack.frob.com>
44322
44323 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44324 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44325 autoconf-time if not.
44326 * configure.in: Remove AC_PREREQ.
44327
44328 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44329
44330 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44331 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44332 of the internal implementation.
44333
44334 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44335
44336 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44337 except include of <misc/sys/syslog.h>.
44338
44339 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44340
44341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44342 function returns with a NULL context exit with zero.
44343
44344 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44345
44346 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44347
44348 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44349
44350 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44351 (run_program_cmd): This.
44352 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44353 (tst_langinfo): New variable. Use it.
44354
44355 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44356
44357 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44358 floating point opcodes.
44359
44360 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44361
44362 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44363 variable.
44364
44365 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44366
44367 * sysdeps/mach/hurd/powerpc: Remove directory.
44368 * sysdeps/mach/powerpc: Likewise.
44369
44370 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44371
44372 * scripts/check-local-headers.sh: Ignore c++ headers.
44373
44374 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44375
44376 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44377 __libc_cleanup_region_start argument.
44378
44379 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44380
44381 [BZ #14784]
44382 [BZ #14785]
44383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44384 x * y using scaling, not as x * y + z.
44385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44387 * math/libm-test.inc (fma_test): Add more tests.
44388 (fma_test_towardzero): Likewise.
44389 (fma_test_downward): Likewise.
44390 (fma_test_upward): Likewise.
44391
44392 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44393
44394 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44395
44396 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44397
44398 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44399 New variable.
44400
44401 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44402
44403 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44404
44405 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44406
44407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44408 Fix sort order.
44409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44410 Likewise.
44411
44412 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44413
44414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44415 Fix the order of the list for glibc 2.17.
44416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44417 Likewise.
44418
44419 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44420
44421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44422
44423 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44424
44425 [BZ #14610]
44426 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44427 for low part of x being zero before using __atanl (y).
44428 * math/libm-test.inc (atan2_test): Add another test.
44429
44430 * manual/install.texi (Configuring and compiling): Document
44431 general use of test-wrapper and test-wrapper-env.
44432 * INSTALL: Regenerated.
44433
44434 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44435 (__fma): Do not extract and scale down low bits on after-rounding
44436 systems when result rounded to normal precision would have normal
44437 exponent.
44438 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44439 (__fmal): Do not extract and scale down low bits on after-rounding
44440 systems when result rounded to normal precision would have normal
44441 exponent.
44442 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44443 (__fmal): Do not extract and scale down low bits on after-rounding
44444 systems when result rounded to normal precision would have normal
44445 exponent.
44446 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44447 macro.
44448 (fma_test): Add more tests.
44449 (fma_test_towardzero): Likewise.
44450 (fma_test_downward): Likewise.
44451 (fma_test_upward): Likewise.
44452
44453 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44454
44455 * sysdeps/i386/tininess.h: Renamed to ...
44456 * sysdeps/x86/tininess.h: This.
44457 * sysdeps/x86_64/tininess.h: Removed.
44458
44459 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44460
44461 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44462 input. Use $(build-program-cmd).
44463 ($(objpfx)tst-array1-static.out): Likewise.
44464 ($(objpfx)tst-array2.out): Likewise.
44465 ($(objpfx)tst-array3.out): Likewise.
44466 ($(objpfx)tst-array4.out): Likewise.
44467 ($(objpfx)tst-array5.out): Likewise.
44468 ($(objpfx)tst-array5-static.out): Likewise.
44469
44470 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44471
44472 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44473 if defined.
44474
44475 * nss/nsswitch.h (nss_interface_function): Provide new
44476 macro for use with NSS functions.
44477 * grp/initgroups.c: Use new macro.
44478 * nss/getXXbyYY.c: Likewise.
44479 * nss/getXXbyYY_r.c: Likewise.
44480 * nss/getXXent.c: Likewise.
44481 * nss/getXXent_r.c: Likewise.
44482 * sysdeps/posix/getaddrinfo.c: Likewise.
44483
44484 2012-10-30 Andreas Jaeger <aj@suse.de>
44485
44486 * po/ru.po: Update Russion translation from translation project.
44487
44488 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44489
44490 [BZ #14152]
44491 [BZ #14783]
44492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44493 result and shift together with sticky bit instead of replicating
44494 round-to-nearest rounding.
44495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44497 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44498 missing underflow exceptions.
44499 (fma_test_towardzero): Add more tests.
44500 (fma_test_downward): Likewise.
44501 (fma_test_upward): Likewise.
44502
44503 [BZ #14047]
44504 * sysdeps/generic/tininess.h: New file.
44505 * sysdeps/i386/tininess.h: Likewise.
44506 * sysdeps/sh/tininess.h: Likewise.
44507 * sysdeps/x86_64/tininess.h: Likewise.
44508 * stdlib/tst-strtod-underflow.c: Likewise.
44509 * stdlib/tst-tininess.c: Likewise.
44510 * stdlib/strtod_l.c: Include <tininess.h>.
44511 (round_and_return): Do not set errno for exact underflow cases.
44512 Force an underflow exception when setting errno for underflow.
44513 Determine underflow based on rounding to normal precision if
44514 TININESS_AFTER_ROUNDING.
44515 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44516 ERANGE for exact underflow cases.
44517 * stdlib/Makefile (tests): Add tst-tininess and
44518 tst-strtod-underflow.
44519 ($(objpfx)tst-tininess): Use $(link-libm).
44520 ($(objpfx)tst-strtod-underflow): Likewise.
44521
44522 2012-10-30 Andreas Jaeger <aj@suse.de>
44523
44524 [BZ#14767]
44525 * elf/Makefile (tests): Remove conditional for have-initfini-array
44526 since this is now always required and the variable does not exist
44527 anymore.
44528 (tests-static): Likewise.
44529 (modules-names): Likewise.
44530
44531 * po/eo.po: Add Esperanto translation from translation project.
44532
44533 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44534 merged with constructor/destructor.
44535 (init_array): Likewise.
44536 * elf/tst-array2dep.c (fini_array): Likewise.
44537 (init_array): Likewise.
44538
44539 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44540
44541 * manual/message.texi: Delete @cartouche tags.
44542
44543 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44544
44545 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44546 EOPNOTSUPP.
44547 * sysdeps/mach/hurd/fsync.c: Likewise.
44548
44549 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44550 [_POSIX_REALTIME_SIGNALS]: Change condition to
44551 [_POSIX_REALTIME_SIGNALS > 0].
44552
44553 2012-10-27 Andreas Jaeger <aj@suse.de>
44554
44555 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44556 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44558 [__WORDSIZE != 64]: Likewise.
44559
44560 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44561
44562 * iconvdata/tst-table.sh: Remove ${SHELL}.
44563 * iconvdata/tst-tables.sh: Likewise.
44564
44565 2012-10-25 David S. Miller <davem@davemloft.net>
44566
44567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44568 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44569 of strtoull.
44570
44571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44572 ifunc-impl-list.c
44573 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44574 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44575 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44576 file.
44577
44578 2012-10-25 Roland McGrath <roland@hack.frob.com>
44579
44580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44581 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44582 __getdirentries.
44583
44584 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44585 Jim Blandy <jimb@codesourcery.com>
44586
44587 * scripts/cross-test-ssh.sh: New file.
44588 * manual/install.texi (Configuring and compiling): Document use of
44589 cross-test-ssh.sh.
44590 * INSTALL: Regenerated.
44591
44592 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44593
44594 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44595 EOPNOTSUPP.
44596
44597 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44598
44599 * Makeconfig (run-program-prefix): Fix comment.
44600
44601 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44602 Jim Blandy <jimb@codesourcery.com>
44603
44604 * Makeconfig (test-wrapper): New variable,
44605 (test-wrapper-env): Likewise.
44606 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44607 (run-built-tests): Define to yes.
44608 (run-program-prefix): Use $(test-wrapper).
44609 (built-program-cmd): Likewise.
44610 * Rules (make-test-out): Use $(test-wrapper-env) and
44611 $(host-built-program-cmd).
44612 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44613 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44614 tst-pathopt.sh.
44615 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44616 $(test-wrapper-env) to tst-rtld-load-self.sh.
44617 ($(objpfx)order2.out): Use $(test-wrapper).
44618 ($(objpfx)tst-initorder.out): Likewise.
44619 ($(objpfx)tst-initorder2.out): Likewise.
44620 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44621 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44622 (test_wrapper_env): New variable. Use it to run ld.so.
44623 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44624 Use it to run ld.so.
44625 (test_wrapper_env): Likewise.
44626 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44627 $(test-wrapper) to run-iconv-test.sh.
44628 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44629 (ICONV): Use $test_wrapper.
44630 * posix/Makefile ($(objpfx)globtest.out): Pass
44631 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44632 globtest.sh, not $(run-program-prefix).
44633 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44634 (test_wrapper): Likewise.
44635 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44636 set together with run_via_rtld_prefix.
44637 (run_program_prefix): Define in terms of test_wrapper and
44638 run_via_rtld_prefix.
44639
44640 2012-10-24 Roland McGrath <roland@hack.frob.com>
44641
44642 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44643 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44644 Targets removed.
44645
44646 [BZ #14743]
44647 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44648 Declare __clock_getres, __clock_gettime, __clock_settime,
44649 __clock_nanosleep, and __clock_getcpuclockid.
44650 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44651 Remove librt_hidden_def (clock_gettime).
44652 * sysdeps/unix/clock_gettime.c: Likewise.
44653 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44654 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44655 * rt/clock_getres.c: Define __clock_getres as an alias.
44656 * sysdeps/posix/clock_getres.c: Likewise.
44657 * rt/clock_settime.c: Define __clock_settime as an alias.
44658 * sysdeps/unix/clock_settime.c: Likewise.
44659 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44660 * sysdeps/unix/clock_nanosleep.c: Likewise.
44661 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44662 * rt/clock-compat.c: New file.
44663 * rt/Makefile (librt-routines): Add clock-compat and move
44664 $(clock-routines) to ...
44665 (routines): ... here, new variable.
44666 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44667 Don't add get_clockfreq here.
44668 * rt/Versions (libc: GLIBC_2.17): New version set.
44669 Add clock_* symbols here.
44670 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44671 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44672 (GLIBC_2.17): Add clock_* symbols.
44673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44677 Likewise.
44678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44679 Likewise.
44680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44684 * NEWS: Mention the move.
44685
44686 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44687 Use __open, __read, __close rather than their public counterparts.
44688 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44689 (__get_clockfreq_via_cpuinfo): Likewise.
44690 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44691 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44692
44693 * config.h.in (HAVE_IFUNC): New #undef.
44694 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44695 was successful.
44696 * configure: Regenerated.
44697
44698 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44699
44700 * configure.in: Move READELF check to start of file.
44701 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44702 libc_cv_asm_gnu_indirect_function in the process.
44703 * configure: Regenerated.
44704
44705 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44706
44707 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44708 send the output to /dev/null.
44709 (libc_cv_cc_with_libunwind): Likewise.
44710 (libc_cv_as_noexecstack): Likewise.
44711 * configure: Regenerate.
44712
44713 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44714
44715 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44716
44717 * posix/globtest.sh (TMPDIR): Do not set.
44718 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44719 (testout): Likewise.
44720
44721 2012-10-24 Andreas Jaeger <aj@suse.de>
44722
44723 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44724 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44725 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44726 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44727 posix_fadvise64, posix_fallocate64.
44728
44729 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44730 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44731 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44732 Likewise.
44733 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44734 Likewise.
44735 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44736
44737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44738 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44739 <bits/fcntl-linux.h>.
44740 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44741
44742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44743 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44744 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44745 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44746 [__WORDSIZE != 64]: Likewise.
44747
44748 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44749
44750 * Makeconfig (run-built-tests): New variable.
44751 * Rules [$(cross-compiling) = yes]: Change condition to
44752 [$(run-built-tests) = no].
44753 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44754 to [$(run-built-tests) = yes].
44755 * elf/Makefile [$(cross-compiling) = no]: Likewise
44756 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44757 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44758 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44759 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44760 * io/Makefile [$(cross-compiling) = no]: Likewise.
44761 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44762 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44763 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44764 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44765 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44766 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44767 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44768 * string/Makefile [$(cross-compiling) = no]: Likewise.
44769
44770 * posix/Makefile ($(objpfx)globtest.out): Pass
44771 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44772 $(rtld-installed-name).
44773 * posix/globtest.sh (elf_objpfx): Remove variable.
44774 (rtld_installed_name): Likewise.
44775 (library_path): Likewise.
44776 (run_program_prefix): New variable. Use for running globtest
44777 binary.
44778
44779 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44780 Joseph Myers <joseph@codesourcery.com>
44781
44782 * Makeconfig (host-built-program-cmd): New variable.
44783 * elf/Makefile (tst-stackguard1-ARGS): Use
44784 $(host-built-program-cmd).
44785 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44786 (tst-spawn-ARGS): Likewise.
44787 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44788
44789 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44790 Jim Blandy <jimb@codesourcery.com>
44791
44792 * Makeconfig (run-via-rtld-prefix): New variable.
44793 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44794 (built-program-cmd): Likewise.
44795
44796 2012-10-22 Andreas Jaeger <aj@suse.de>
44797
44798 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44799 __O_RSYNC if it exists, otherwise to O_SYNC.
44800
44801 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44802 Joseph Myers <joseph@codesourcery.com>
44803
44804 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44805 /dev/null.
44806 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44807 from /dev/null
44808 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44809 /dev/null.
44810
44811 2012-10-22 Andreas Jaeger <aj@suse.de>
44812
44813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44814 Define always.
44815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44816
44817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44818 bits/fcntl-linux.h.
44819
44820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44821 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44822
44823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44824 to __O_LARGEFILE.
44825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44826 to __O_LARGEFILE.
44827
44828 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44829 Joseph Myers <joseph@codesourcery.com>
44830
44831 * config.make.in (NM): New variable.
44832
44833 2012-10-21 Andreas Jaeger <aj@suse.de>
44834
44835 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44836 definitions and declarations that are provided by
44837 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44838
44839 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44840
44841 [BZ #14683]
44842 * elf/Makefile (tests-static): Add tst-leaks1-static.
44843 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44844 ($(objpfx)tst-leaks1-static): New rule.
44845 ($(objpfx)tst-leaks1-static-mem): Likewise.
44846 (tst-leaks1-static-ENV): New macro.
44847 * elf/dl-open.c (dl_open_worker): Check the main application
44848 only if SHARED is defined.
44849 * elf/tst-leaks1-static.c: New file.
44850
44851 2012-10-20 Andreas Jaeger <aj@suse.de>
44852
44853 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44854 generic values for Linux.
44855 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44856 and declarations that are provided by <bits/fcntl-linux.h> and
44857 include <bits/fcntl-linux.h>.
44858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44859 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44860
44861 2012-10-20 Roland McGrath <roland@hack.frob.com>
44862
44863 * io/fcntl.h: Move include of <bits/types.h> to the top and
44864 include it unconditionally.
44865
44866 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44867
44868 * wcsmbs/Makefile (tests-ifunc): New variable.
44869 (tests): Add $(tests-ifunc).
44870 * wcsmbs/test-wcschr-ifunc.c: New file.
44871 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44872 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44873 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44874 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44875 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44876
44877 * string/Makefile (tests-ifunc): New variable.
44878 (tests): Add $(tests-ifunc).
44879 * string/test-memccpy.c (TEST_NAME): New macro.
44880 * string/test-memchr.c (TEST_NAME): Likewise.
44881 * string/test-memcmp.c (TEST_NAME): Likewise.
44882 * string/test-memcpy.c (TEST_NAME): Likewise.
44883 * string/test-memmem.c (TEST_NAME): Likewise.
44884 * string/test-memmove.c (TEST_NAME): Likewise.
44885 * string/test-memset.c (TEST_NAME): Likewise.
44886 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44887 * string/test-stpcpy.c (TEST_NAME): Likewise.
44888 * string/test-stpncpy.c (TEST_NAME): Likewise.
44889 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44890 * string/test-strcasestr.c (TEST_NAME): Likewise.
44891 * string/test-strcat.c (TEST_NAME): Likewise.
44892 * string/test-strchr.c (TEST_NAME): Likewise.
44893 * string/test-strcmp.c(TEST_NAME): Likewise.
44894 * string/test-strcpy.c (TEST_NAME): Likewise.
44895 * string/test-strcspn.c (TEST_NAME): Likewise.
44896 * string/test-strlen.c (TEST_NAME): Likewise.
44897 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44898 * string/test-strncmp.c (TEST_NAME): Likewise.
44899 * string/test-strncpy.c (TEST_NAME): Likewise.
44900 * string/test-strnlen.c (TEST_NAME): Likewise.
44901 * string/test-strpbrk.c (TEST_NAME): Likewise.
44902 * string/test-strrchr.c (TEST_NAME): Likewise.
44903 * string/test-strspn.c (TEST_NAME): Likewise.
44904 * string/test-strstr.c (TEST_NAME): Likewise.
44905 * string/test-bcopy-ifunc.c: New file.
44906 * string/test-bzero-ifunc.c: Likewise.
44907 * string/test-memccpy-ifunc.c: Likewise.
44908 * string/test-memchr-ifunc.c: Likewise.
44909 * string/test-memcmp-ifunc.c: Likewise.
44910 * string/test-memcpy-ifunc.c: Likewise.
44911 * string/test-memmem-ifunc.c: Likewise.
44912 * string/test-memmove-ifunc.c: Likewise.
44913 * string/test-mempcpy-ifunc.c: Likewise.
44914 * string/test-memset-ifunc.c: Likewise.
44915 * string/test-rawmemchr-ifunc.c: Likewise.
44916 * string/test-stpcpy-ifunc.c: Likewise.
44917 * string/test-stpncpy-ifunc.c: Likewise.
44918 * string/test-strcasecmp-ifunc.c: Likewise.
44919 * string/test-strcasestr-ifunc.c: Likewise.
44920 * string/test-strcat-ifunc.c: Likewise.
44921 * string/test-strchr-ifunc.c: Likewise.
44922 * string/test-strchrnul-ifunc.c: Likewise.
44923 * string/test-strcmp-ifunc.c: Likewise.
44924 * string/test-strcpy-ifunc.c: Likewise.
44925 * string/test-strcspn-ifunc.c: Likewise.
44926 * string/test-strlen-ifunc.c: Likewise.
44927 * string/test-strncasecmp-ifunc.c: Likewise.
44928 * string/test-strncat-ifunc.c: Likewise.
44929 * string/test-strncmp-ifunc.c: Likewise.
44930 * string/test-strncpy-ifunc.c: Likewise.
44931 * string/test-strnlen-ifunc.c: Likewise.
44932 * string/test-strpbrk-ifunc.c: Likewise.
44933 * string/test-strrchr-ifunc.c: Likewise.
44934 * string/test-strspn-ifunc.c: Likewise.
44935 * string/test-strstr-ifunc.c: Likewise.
44936
44937 * debug/Makefile (tests-ifunc): New variable.
44938 (tests): Add $(tests-ifunc).
44939 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44940 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44941 * debug/test-stpcpy_chk-ifunc.c: New file.
44942 * debug/test-strcpy_chk-ifunc.c: Likewise.
44943
44944 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44945
44946 [BZ #13601]
44947 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44948 header is not read in.
44949
44950 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44951
44952 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44953 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44954 directly. Pass built executable to script as
44955 $(built-program-cmd).
44956 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44957 $testprogram without using LD_LIBRARY_PATH and $ldso.
44958
44959 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44960 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44961 $(rtld-installed-name).
44962 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44963 (rtld_installed_name): Likewise.
44964 (library_path): Likewise.
44965 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44966 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44967 $(run-program-prefix) to tst-tables.sh.
44968 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44969 it to run tst-table-from and tst-table-to.
44970 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44971 Pass it to tst-table.sh.
44972 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44973 $(run-program-prefix) to tst-gettext.sh.
44974 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44975 tst-translit.sh.
44976 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44977 tst-gettext2.sh.
44978 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44979 to run tst-gettext.
44980 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44981 to run tst-gettext2.
44982 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44983 to run tst-translit.
44984 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44985 $(run-program-prefix) to tst-mtrace.sh.
44986 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44987 to run tst-mtrace.
44988 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44989 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44990 $(rtld-installed-name).
44991 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44992 (rtld_installed_name): Likewise.
44993 (run_program_prefix): New variable. Use it to run wordexp-test.
44994
44995 * Makeconfig (ARCH): Remove all definitions.
44996 (machine): Likewise.
44997 [ARCH]: Remove conditional code.
44998 [!objdir]: Give error.
44999 [!objdir] (objpfx): Remove.
45000 [!objdir] (common-objpfx): Likewise.
45001 [!objdir] (common-objdir): Likewise.
45002 * configure.in (config_makefile): Remove. Hardcode Makefile in
45003 AC_CONFIG_FILES call.
45004 * configure: Regenerated.
45005
45006 [BZ #13888]
45007 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45008 or TMPDIR.
45009 (testout): Likewise.
45010
45011 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45012 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45013 $(rtld-installed-name).
45014 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45015 (rtld_installed_name): Likwise.
45016 (runit): Remove function.
45017 (run_getconf): New variable, Use it for running getconf binary.
45018
45019 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45020
45021 [BZ #14716]
45022 * string/test-memmem.c (check_result): New function.
45023 (do_one_test): Use it.
45024 (check1): New function.
45025 (test_main): Use it.
45026
45027 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45028
45029 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45030
45031 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45032
45033 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45034 (_G_LSEEK64): Likewise.
45035 (_G_MMAP64): Likewise.
45036 (_G_FSTAT64): Likewise.
45037 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45038 (_G_LSEEK64): Likewise.
45039 (_G_MMAP64): Likewise.
45040 (_G_FSTAT64): Likewise.
45041 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45042 unconditional. Call __mmap64 directly.
45043 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45044 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45045 __lseek64 directly.
45046 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45047 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45048 __mmap64 directly.
45049 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45050 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45051 __lseek64 directly.
45052 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45053 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45054 __lseek64 directly.
45055 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45056 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45057 __lseek64 directly.
45058 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45059 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45060 __fxstat64 directly.
45061 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45062 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45063 unconditional.
45064 (freopen64) [!_G_OPEN64]: Remove conditional code.
45065 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45066 unconditional.
45067 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45068 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45069 unconditional.
45070 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45071 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45072 unconditional.
45073 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45074 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45075 unconditional.
45076 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45077 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45078 unconditional.
45079 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45080 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45081 unconditional.
45082 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45083 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45084 unconditional.
45085 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45086
45087 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45088
45089 [BZ #12140]
45090 * manual/memory.texi (Malloc Tunable Parameters): Add note
45091 about free list pointers overwriting some perturb bytes.
45092 Wording suggested by Roland McGrath.
45093
45094 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45095
45096 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45097 (lgamma_test): Likewise.
45098 (tgamma_test): Likewise.
45099
45100 2012-10-16 Florian Weimer <fweimer@redhat.com>
45101
45102 [BZ #14700]
45103 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45104 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45105
45106 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45107
45108 * NEWS: Mention BZ #14716.
45109 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45110 when removing AVAILABLE1_USES_J macro.
45111
45112 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45113
45114 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45115 (__bswap_64): __uint64_t for unsigned 64-bit int.
45116
45117 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45118
45119 * include/string.h (memmem): Declare libc hidden alias.
45120 * string/memmem.c (memmem): Define libc hidden alias.
45121 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45122 __read, __close instead of open, read, close.
45123
45124 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45125
45126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45127 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45128 global and hidden.
45129 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45130 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45131 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45132 Likewise.
45133 (__rawmemchr_sse2): Likewise.
45134 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45135 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45136 (__strchr_sse2): Likewise.
45137 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45138 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45139 (__strcasecmp_sse2): Likewise.
45140 (__strncasecmp_sse2): Likewise.
45141 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45142 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45143 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45144 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45145 (__strrchr_sse2): Likewise.
45146 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45147 ifunc-impl-list.c.
45148 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45149 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45150 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45151 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45152 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45153 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45154 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45155 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45156 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45157 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45158 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45159 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45160 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45161 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45162 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45163 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45164 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45165 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45166 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45167 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45168 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45169 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45170 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45171 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45172 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45174 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45175 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45176 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45177 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45178
45179 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45180 global and hidden.
45181 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45182 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45183 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45184 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45185 Likewise.
45186 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45187 Likewise.
45188 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45189 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45190 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45191 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45192 ifunc-impl-list.c.
45193 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45194 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45195 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45196 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45197 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45198 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45199 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45200 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45201 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45202 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45203 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45204 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45205 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45206 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45207 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45208 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45209 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45210 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45211 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45212 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45214 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45215 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45216 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45218 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45219 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45220 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45221 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45222 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45223 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45224 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45225 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45226 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45227 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45228 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45229 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45230 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45231 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45232 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45233 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45234
45235 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45236 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45237 * include/ifunc-impl-list.h: New file.
45238 * misc/ifunc-impl-list.c: Likewise.
45239 * misc/Makefile (routines): Add ifunc-impl-list.
45240 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45241 * string/test-string.h: Include <ifunc-impl-list.h>.
45242 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45243 TEST_NAME]: New variables.
45244 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45245 are defined.
45246 (test_init): Call __libc_ifunc_impl_list to initialize
45247 func_list if TEST_IFUNC and TEST_NAME are defined.
45248
45249 * string/Makefile (strop-tests): Add bcopy and bzero.
45250 * string/test-bcopy.c: New file.
45251 * string/test-bzero.c: Likewise.
45252 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45253 defined.
45254 * string/test-memset.c: Support bzero test if TEST_BZERO is
45255 defined.
45256 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45257 __libc_memmove.
45258 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45259 __libc_memset.
45260 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45261 of memset.
45262
45263 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45264
45265 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45266 * configure: Regenerated.
45267
45268 * Makeconfig (+link-static-before-libc): Don't include
45269 $(link-static-libc).
45270
45271 * libio/libio.h (_IO_pos_t): Remove.
45272
45273 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45274
45275 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45276 McGrath.
45277
45278 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45279
45280 * crypt/crypt-entry.c: Include fips-private.h.
45281 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45282 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45283 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45284 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45285
45286 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45287
45288 * crypt/crypt-private.h: Include stdbool.h.
45289 (_ufc_setup_salt_r): Return bool.
45290 * crypt/crypt-entry.c: Include errno.h.
45291 (__crypt_r): Return NULL with EINVAL for bad salt.
45292 * crypt/crypt_util.c (bad_for_salt): New.
45293 (_ufc_setup_salt_r): Check that salt is long enough and within
45294 the specified alphabet.
45295 * crypt/badsalttest.c: New file.
45296 * crypt/Makefile (tests): Add it.
45297 ($(objpfx)badsalttest): New.
45298
45299 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45300
45301 * NEWS: Add entry for BZ #14602.
45302
45303 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45304
45305 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45306 type-generic.
45307 * math/libm-test.inc: Update comment listing what functions and
45308 macros are tested.
45309 (isgreater_test): New function.
45310 (isgreaterequal_test): Likewise.
45311 (isless_test): Likewise.
45312 (islessequal_test): Likewise.
45313 (islessgreater_test): Likewise.
45314 (isunordered_test): Likewise.
45315 (main): Call the new functions.
45316
45317 2012-10-09 Roland McGrath <roland@hack.frob.com>
45318
45319 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45320 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45321 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45322 * sysdeps/i386/configure: Regenerated.
45323 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45324 * sysdeps/mach/configure: Regenerated.
45325 * sysdeps/mach/hurd/configure: Regenerated.
45326 * sysdeps/powerpc/configure: Regenerated.
45327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45329 * sysdeps/s390/s390-32/configure: Regenerated.
45330 * sysdeps/s390/s390-64/configure: Regenerated.
45331 * sysdeps/sh/configure: Regenerated.
45332 * sysdeps/sparc/configure: Regenerated.
45333 * sysdeps/unix/sysv/linux/configure: Regenerated.
45334 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45335 * sysdeps/x86_64/configure: Regenerated.
45336
45337 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45338 defined. Don't check if MAP is NULL.
45339
45340 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45341
45342 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45343 (_G_stat64): Likewise.
45344 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45345 (_G_stat64): Likewise.
45346 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45347 instead of struct _G_stat64.
45348 * libio/fileops.c (mmap_remap_check): Likewise.
45349 (decide_maybe_mmap): Likewise.
45350 (_IO_new_file_seekoff): Likewise.
45351 (_IO_file_stat): Likewise.
45352 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45353 _G_off64_t.
45354 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45355 instead of struct _G_stat64.
45356 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45357
45358 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45359
45360 [BZ #14602]
45361 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45362 Replace with ...
45363 (CHECK_EOL): New macro.
45364 (two_way_short_needle): Check beginning of haystack for EOL. Use
45365 CHECK_EOL.
45366 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45367 Replace with CHECK_EOL.
45368 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45369 Replace with CHECK_EOL.
45370
45371 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45372
45373 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45374 type-generic.
45375 * math/libm-test.inc: Update comment listing what functions and
45376 macros are tested.
45377 (finite_test): New function.
45378 (isinf_test): Likewise.
45379 (isnan_test): Likewise.
45380 (fpclassify_test): Test subnormal input.
45381 (isfinite_test): Likewise.
45382 (isnormal_test): Likewise.
45383 (main): Call the new functions.
45384
45385 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45386
45387 [BZ #14660]
45388 * Makerules (%.dynsym): Force C locale when running
45389 $(OBJDUMP) --dynamic-syms.
45390
45391 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45392
45393 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45394 <stdint.h>.
45395
45396 2012-10-06 David S. Miller <davem@davemloft.net>
45397
45398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45399 upper 32-bits of the length value in %o2 since we use branch-on-register
45400 tests which consider the entire 64-bit register.
45401
45402 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45403
45404 * string/test-strstr.c (check2): Add a test for page boundary.
45405
45406 2012-10-05 David S. Miller <davem@davemloft.net>
45407
45408 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45409 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45410 file.
45411 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45412 sysdep_routines.
45413 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45414 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45415 and bzero when HWCAP_SPARC_CRYPTO is present.
45416
45417 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45418
45419 [BZ #14602]
45420 * string/test-strstr.c (check2): New function.
45421 (test_main): Call check2.
45422
45423 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45424 and bug-strchr1.
45425 * string/bug-strcasestr1.c (do_test): Moved to ...
45426 * string/test-strcasestr.c (check1): Here. New function.
45427 (do_one_test): Break out result checking code into ...
45428 (check_result): This. New function.
45429 (do_one_test): Call check_result.
45430 (test_main): Call check1.
45431 * string/bug-strchr1.c (do_test): Moved to ...
45432 * string/test-strchr.c (check1): Here. New function.
45433 (do_one_test): Break out result checking code into ...
45434 (check_result): This. New function.
45435 (do_one_test): Call check_result.
45436 (test_main): Call check1.
45437 * string/bug-strstr1.c (main): Moved to ...
45438 * string/test-strstr.c (check1): Here. New function.
45439 (do_one_test): Break out result checking code into ...
45440 (check_result): This. New function.
45441 (do_one_test): Call check_result.
45442 (test_main): Call check1.
45443 * string/bug-strcasestr1.c: Removed.
45444 * string/bug-strchr1.c: Likewise.
45445 * string/bug-strstr1.c: Likewise.
45446
45447 * elf/Makefile (dl-routines): Add hwcaps.
45448 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45449 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45450 (_dl_important_hwcaps): Moved to ...
45451 * elf/dl-hwcaps.c: Here. New file.
45452 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45453
45454 [BZ #14557]
45455 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45456 if IS_IN_rtld isn't defined.
45457
45458 * elf/dl-support.c (_dl_sysinfo_map): New.
45459 Include "get-dynamic-info.h" and "setup-vdso.h".
45460 (_dl_non_dynamic_init): Call setup_vdso.
45461 * elf/dynamic-link.h: Don't include <assert.h>.
45462 (elf_get_dynamic_info): Moved to ...
45463 * elf/get-dynamic-info.h: Here. New file.
45464 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45465 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45466 * elf/setup-vdso.h: Here. New file.
45467 * elf/rtld.c: Include "setup-vdso.h".
45468 (dl_main): Call setup_vdso.
45469
45470 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45471
45472 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45473 creal in comment listing functions tested. List finite, isinf,
45474 isnan, isless, islessequal, isgreater, isgreaterequal,
45475 islessgreater, isunordered, lgamma_r and pow10 as functions and
45476 macros not tested. Mention which functions not tested are aliases
45477 for other functions. Fix typo. Note that signs of NaNs are not
45478 tested.
45479
45480 * scripts/config.guess: Update from config.git.
45481 * scripts/config.sub: Likewise.
45482
45483 2012-10-04 Roland McGrath <roland@hack.frob.com>
45484
45485 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45486 * misc/madvise.c (madvise): Renamed to __madvise.
45487 Make madvise a weak alias.
45488 * include/sys/mman.h: Declare __madvise.
45489 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45490 * sysdeps/unix/syscalls.list
45491 (madvise): Make __madvise the strong name, and madvise a weak alias.
45492 * sysdeps/unix/sysv/linux/syscalls.list
45493 (madvise, mmap): Remove redundant entries.
45494 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45495 * malloc/malloc.c (mtrim): Likewise.
45496 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45497
45498 2012-10-03 Roland McGrath <roland@hack.frob.com>
45499
45500 * sysdeps/mach/hurd/dl-cache.c: File removed.
45501 * config.h.in (USE_LDCONFIG): New #undef.
45502 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45503 * configure: Regenerated.
45504 * elf/Makefile (dl-routines): Add dl-cache only under
45505 [$(use-ldconfig) = yes].
45506 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45507 cache on [USE_LDCONFIG].
45508 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45509 [USE_LDCONFIG].
45510 * elf/rtld.c (dl_main): Likewise.
45511
45512 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45513
45514 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45515 _SC_LEVEL4_CACHE_LINESIZE.
45516
45517 2012-10-03 Roland McGrath <roland@hack.frob.com>
45518
45519 * sysdeps/unix/bsd/confstr.h: File removed.
45520
45521 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45522
45523 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45524 sys/sdt-config.h.
45525
45526 2012-10-02 Roland McGrath <roland@hack.frob.com>
45527
45528 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45529 Make 'mapoff' field ElfW(Off) rather than off_t.
45530
45531 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45532
45533 * nscd/Makefile: Remove nscd-cflags and all its users.
45534 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45535 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45536
45537 [BZ #10631]
45538 * malloc.c (malloc_printerr): Clarify error message.
45539
45540 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45541
45542 [BZ #14648]
45543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45544 Set bit_FMA_Usable if FMA is supported.
45545 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45546 macro.
45547 (bit_FMA4_Usable): Updated.
45548 (index_FMA_Usable): New macro.
45549 (CPUID_FMA): Likewise
45550 (HAS_FMA): Defined with bit_FMA_Usable.
45551
45552 2012-10-01 Roland McGrath <roland@hack.frob.com>
45553
45554 * bits/types.h (__swblk_t): Type removed.
45555 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45556 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45558 (__SWBLK_T_TYPE): Likewise.
45559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45560 (__SWBLK_T_TYPE): Likewise.
45561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45562 (__SWBLK_T_TYPE): Likewise.
45563 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45564 (__SWBLK_T_TYPE): Likewise.
45565
45566 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45567 Honza Horak <hhorak@redhat.com>
45568
45569 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45570 (xdr_mapname): Use YPMAXMAP as maxsize.
45571 (xdr_peername): Use YPMAXPEER as maxsize.
45572 (xdr_keydat): Use YPAXRECORD as maxsize.
45573 (xdr_valdat): Use YPMAXRECORD as maxsize.
45574
45575 2012-10-01 Roland McGrath <roland@hack.frob.com>
45576
45577 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45578
45579 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45580 * csu/init-first.c: ... here.
45581 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45582 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45583 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45584 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45585 * sysdeps/i386/init-first.c: File removed.
45586 * sysdeps/sh/init-first.c: File removed.
45587
45588 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45589
45590 [BZ #14645]
45591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45592 if x * y might underflow to zero and z is zero.
45593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45594 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45595 * math/libm-test.inc (min_subnorm_value): New variable.
45596 (fma_test): Add more tests.
45597 (fma_test_towardzero): Likewise.
45598 (fma_test_downward): Likewise
45599 (fma_test_upward): Likewise.
45600 (initialize): Set min_subnorm_value.
45601
45602 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45603
45604 [BZ #14638]
45605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45606 0 + 0.
45607 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45608 mode for addition resulting in exact zero.
45609 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45611 exact 0 + 0.
45612 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45614 * math/libm-test.inc (fma_test): Add more tests.
45615 (fma_test_towardzero): New function.
45616 (fma_test_downward): Likewise.
45617 (fma_test_upward): Likewise.
45618 (main): Call the new functions.
45619
45620 2012-09-28 David S. Miller <davem@davemloft.net>
45621
45622 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45623
45624 2012-09-28 Roland McGrath <roland@hack.frob.com>
45625
45626 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45627 instead of SIGALRM.
45628
45629 * sysdeps/gnu/_G_config.h: Moved to ...
45630 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45631 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45632 * sysdeps/generic/_G_config.h: ... here.
45633
45634 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45635
45636 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45637
45638 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45639 Conditionalize target on [libnss_test1.so-version].
45640
45641 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45642
45643 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45644 (elfobjdir): Move out of conditionals.
45645
45646 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45647 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45648 (__nss_lookup_function): Conditionalize label remove_from_tree on
45649 [!DO_STATIC_NSS || SHARED], matching its only use.
45650
45651 2012-09-28 David S. Miller <davem@davemloft.net>
45652
45653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45654 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45655 file.
45656 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45657 sysdep_routines.
45658 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45660 when HWCAP_SPARC_CRYPTO is present.
45661
45662 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45663
45664 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45665
45666 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45667
45668 [BZ #6530]
45669 * stdio-common/vfprintf.c (process_string_arg): Revert
45670 2000-07-22 change.
45671
45672 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45673
45674 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45675 for testcase.
45676 * stdio-common/tst-sprintf.c: Include <locale.h>
45677 (main): Test sprintf's handling of incomplete multibyte
45678 characters.
45679
45680 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45681
45682 * elf/dl-runtime.c (VERSYMIDX): Removed.
45683 * elf/dl-version.c (VERSYMIDX): Likewise.
45684 * elf/do-rel.h (VERSYMIDX): Likewise.
45685 (VALIDX): Likewise.
45686 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45687 * elf/rtld.c (VALIDX): Likewise.
45688 (ADDRIDX): Likewise.
45689 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45690 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45691 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45692 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45693 (VALIDX): Likewise.
45694 (ADDRIDX): Likewise.
45695
45696 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45697
45698 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45699
45700 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45701
45702 [BZ #11438]
45703 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45704 to global scope.
45705 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45706 addresses are in the same scope as 192.0.2/24.
45707 * posix/gai.conf: Document new scope table defaults.
45708
45709 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45710
45711 [BZ #5298]
45712 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45713 for ftell. Compute offsets from write pointers instead.
45714 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45715
45716 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45717
45718 [BZ #14543]
45719 * libio/Makefile (tests): New test case tst-fseek.
45720 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45721 combination works in wide mode.
45722 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45723 state when the external buffer state changes.
45724
45725 2012-09-27 David S. Miller <davem@davemloft.net>
45726
45727 [BZ #14376]
45728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45729 pass reloc->r_addend in as the 'high' argument to
45730 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45731
45732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45733
45734 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45735
45736 * rt/tst-aio2.c: Include <pthread.h>.
45737 * rt/tst-aio3.c: Likewise.
45738
45739 2012-09-27 Steve Ellcey <sellcey@mips.com>
45740
45741 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45742
45743 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45744
45745 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45746 contents on [SHARED].
45747
45748 2012-09-26 Marek Polacek <polacek@redhat.com>
45749
45750 [BZ #14530]
45751 [BZ #13741]
45752 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45753 for C++ and GCC <4.3 as well as for non GCC compilers.
45754
45755 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45756
45757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45758
45759 2012-09-25 Roland McGrath <roland@hack.frob.com>
45760
45761 * Makefile.in (all, install): Declare with .PHONY.
45762 Reported by Michael Hope <michael.hope@linaro.org>.
45763
45764 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45765
45766 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45767 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45768 system header.
45769 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45770 Likewise.
45771 (sydep_routines): Add the new and the internal functions.
45772 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45773 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45775 (GLIBC_2.17): Add the new function.
45776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45777 (GLIBC_2.17): Likewise.
45778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45779 (GLIBC_2.17): Likewise.
45780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45781 (GLIBC_2.17): Likewise.
45782 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45783
45784 2012-09-25 Alan Modra <amodra@gmail.com>
45785
45786 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45787 Add release barrier before setting once_control to say
45788 initialisation is done. Add hints on lwarx. Use macro in
45789 place of isync.
45790 (clear_once_control): Add release barrier.
45791
45792 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45793
45794 [BZ #13629]
45795 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45796 specially.
45797 * math/s_clog10.c (__clog10): Likewise.
45798 * math/s_clog10f.c (__clog10f): Likewise.
45799 * math/s_clog10l.c (__clog10l): Likewise.
45800 * math/s_clogf.c (__clogf): Likewise.
45801 * math/s_clogl.c (__clogl): Likewise.
45802 * math/Makefile (libm-calls): Add x2y2m1.
45803 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45804 (__x2y2m1): Likewise.
45805 (__x2y2m1l): Likewise.
45806 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45807 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45808 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45809 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45810 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45811 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45812 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45813 * sysdeps/i386/fpu/libm-test-ulps: Update.
45814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45815
45816 [BZ #14621]
45817 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45818 int as type of variable DEPTH.
45819 (glob): Use size_t instead of int as type of variables NEWCOUNT
45820 and OLD_PATHC.
45821
45822 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45823
45824 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45825 Add s_sincosf-sse2.
45826 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45827 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45828 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45829 macros for using routine as __sincosf_ia32.
45830 Use macro for function declaration and weak_alias.
45831 * sysdeps/i386/fpu/libm-test-ulps: Update.
45832
45833 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45835
45836 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45837 subnormal argument.
45838 * math/s_cexpf.c (__cexpf): Likewise.
45839 * math/s_csinf.c (__csinf): Likewise.
45840 * math/s_csinhf.c (__csinhf): Likewise.
45841 * math/s_ctanf.c (__ctanf): Likewise.
45842 * math/s_ctanhf.c (__ctanhf): Likewise.
45843 * math/s_ccosh.c (__ccoshf): Likewise.
45844 * math/s_cexp.c (__cexpl): Likewise.
45845 * math/s_csin.c (__csin): Likewise.
45846 * math/s_csinh.c (__csinh): Likewise.
45847 * math/s_ctan.c (__ctan): Likewise.
45848 * math/s_ctanh.c (ctanh): Likewise.
45849 * math/s_ccoshl.c (__ccoshl): Likewise.
45850 * math/s_cexpl.c (__cexpl): Likewise.
45851 * math/s_csinl.c (__csinl): Likewise.
45852 * math/s_csinhl.c (__csinhl): Likewise.
45853 * math/s_ctanl.c (__ctanl): Likewise.
45854 * math/s_ctanhl.c (__ctanhl): Likewise.
45855
45856 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45857
45858 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45859 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45860 (_IO_off_t): Define to __off_t, not _G_off_t.
45861 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45862 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45863 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45864 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45865 type of __dummy and __dummy2 fields.
45866 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45867 (_G_ssize_t): Likewise.
45868 (_G_off_t): Likewise.
45869 (_G_pid_t): Likewise.
45870 (_G_uid_t): Likewise.
45871 (_G_wchar_t): Likewise.
45872 (_G_wint_t): Likewise.
45873 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45874 (_G_ssize_t): Likewise.
45875 (_G_off_t): Likewise.
45876 (_G_pid_t): Likewise.
45877 (_G_uid_t): Likewise.
45878 (_G_wchar_t): Likewise.
45879 (_G_wint_t): Likewise.
45880 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45881 (_G_ssize_t): Likewise.
45882 (_G_off_t): Likewise.
45883 (_G_pid_t): Likewise.
45884 (_G_uid_t): Likewise.
45885 (_G_wchar_t): Likewise.
45886 (_G_wint_t): Likewise.
45887
45888 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45889
45890 * malloc/arena.c: Include malloc-sysdep.h.
45891 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45892 is sufficient to shrink the heap or an unmap is needed.
45893 * sysdeps/generic/malloc-sysdep.h: New file. Define
45894 new function check_may_shrink_heap.
45895 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45896 new function check_may_shrink_heap.
45897
45898 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45899
45900 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45901 comments.
45902
45903 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45904
45905 * catgets/test-gencat.sh: Add "set -e".
45906 * elf/tst-pathopt.sh: Likewise.
45907 * grp/tst_fgetgrent.sh: Likewise.
45908 * iconvdata/run-iconv-test.sh: Likewise.
45909 * intl/tst-gettext.sh: Likewise.
45910 * intl/tst-gettext2.sh: Likewise.
45911 * intl/tst-gettext4.sh: Likewise.
45912 * intl/tst-gettext6.sh: Likewise.
45913 * intl/tst-translit.sh: Likewise.
45914 * io/ftwtest-sh: Likewise.
45915 * libio/test-freopen.sh: Likewise.
45916 * malloc/tst-mtrace.sh: Likewise.
45917 * posix/globtest.sh: Likewise.
45918 * posix/tst-getconf.sh: Likewise.
45919 * posix/wordexp-tst.sh: Likewise.
45920 * stdio-common/tst-printf.sh: Likewise.
45921 * stdio-common/tst-unbputc.sh: Likewise.
45922 * stdlib/tst-fmtmsg.sh: Likewise.
45923 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45924 * catgets/Makefile: Do not specify -e option when running
45925 testsuite shell scripts.
45926 * elf/Makefile: Likewise.
45927 * grp/Makefile: Likewise.
45928 * iconvdata/Makefile: Likewise.
45929 * intl/Makefile: Likewise.
45930 * io/Makefile: Likewise.
45931 * libio/Makefile: Likewise.
45932 * malloc/Makefile: Likewise.
45933 * posix/Makefile: Likewise.
45934 * stdio-common/Makefile: Likewise.
45935 * stdlib/Makefile: Likewise.
45936 * sysdeps/x86_64/Makefile: Likewise.
45937
45938 * io/ftwtest-sh: Add copyright header.
45939 * posix/globtest.sh: Likewise.
45940 * posix/tst-getconf.sh: Likewise.
45941 * posix/wordexp-tst.sh: Likewise.
45942 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45943
45944 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45945
45946 [BZ #13679]
45947 * Makeconfig (+link): Defined as $(+link-static) if
45948 $(build-shared) isn't yes.
45949 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45950 isn't yes.
45951 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45952
45953 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45954
45955 [BZ #14562]
45956 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45957 new chunk size with MALLOC_ALIGN_MASK.
45958
45959 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45960
45961 [BZ #5044]
45962 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45963 <rounding-mode.h>.
45964 (__printf_fphex): Determine rounding using get_rounding_mode and
45965 round_away.
45966 * stdio-common/tst-printf-round.c (struct hex_test): New
45967 structure.
45968 (hex_tests): New variable.
45969 (test_hex_in_one_mode): New function.
45970 (do_test): Also run tests for hex float output.
45971
45972 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45973
45974 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45975 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45976 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45977 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45978 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45979 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45980 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45981 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45982
45983 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45984
45985 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45986 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45987 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45988 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45989
45990 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45991
45992 [BZ #14579]
45993 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45994 mode only.
45995 * elf/tst-rtld-load-self.sh: New test.
45996 * elf/Makefile: Run it.
45997
45998 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45999
46000 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46001 (tst-writev-ENV): Remove.
46002 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46003
46004 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46005
46006 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46007
46008 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46009
46010 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46011 unconditional.
46012 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46013 Likewise.
46014 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46015 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46016 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46017 Likewise.
46018
46019 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46020
46021 [BZ #14587]
46022 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46023 * config.make.in (have-cpp-asm-debuginfo): Removed.
46024 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46025 * configure: Regenerated.
46026
46027 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46028
46029 [BZ #5044]
46030 * stdio-common/printf_fp.c: Include <stdbool.h> and
46031 <rounding-mode.h>.
46032 (___printf_fp): Determine rounding using get_rounding_mode and
46033 round_away.
46034 * stdio-common/tst-printf-round.c: New file.
46035 * stdio-common/Makefile (tests): Add tst-printf-round.
46036 (link-libm): New variable.
46037 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46038
46039 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46040
46041 [BZ #14576]
46042 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46043 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46044 Likewise.
46045 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46046 Likewise.
46047
46048 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46049
46050 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46051 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46052 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46053 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46054
46055 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46056
46057 [BZ #14518]
46058 * include/rounding-mode.h: New file.
46059 * sysdeps/generic/get-rounding-mode.h: Likewise.
46060 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46061 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46062 (MAX_VALUE): New macro.
46063 (MIN_VALUE): Likewise.
46064 (overflow_value): New function.
46065 (underflow_value): Likewise.
46066 (round_and_return): Use overflow_value and underflow_value to
46067 determine return values in overflow and underflow cases. Use
46068 round_away to determine rounding depending on rounding mode.
46069 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46070 determine return values in overflow and underflow cases.
46071 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46072 (struct test_results): New structure.
46073 (struct test): Use struct test_results to store expected results
46074 for all rounding modes.
46075 (TEST): Include expected results for all rounding modes.
46076 (test_in_one_mode): New function.
46077 (do_test): Use test_in_one_mode to compute and check results.
46078 Check results for all rounding modes.
46079 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46080 $(link-libm).
46081
46082 2012-12-09 Allan McRae <allan@archlinux.org>
46083
46084 * sysdeps/i386/fpu/libm-test-ulps: Update
46085
46086 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46087
46088 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46089 (_G_int32_t): Likewise.
46090 (_G_uint16_t): Likewise.
46091 (_G_uint32_t): Likewise.
46092 (_G_HAVE_BOOL): Likewise.
46093 (_G_HAVE_ATEXIT): Likewise.
46094 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46095 (_G_HAVE_IO_FILE_OPEN): Likewise.
46096 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46097 (_G_int32_t): Likewise.
46098 (_G_uint16_t): Likewise.
46099 (_G_uint32_t): Likewise.
46100 (_G_HAVE_BOOL): Likewise.
46101 (_G_HAVE_ATEXIT): Likewise.
46102 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46103 (_G_HAVE_IO_FILE_OPEN): Likewise.
46104 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46105 (_G_int32_t): Likewise.
46106 (_G_uint16_t): Likewise.
46107 (_G_uint32_t): Likewise.
46108 (_G_HAVE_BOOL): Likewise.
46109 (_G_HAVE_ATEXIT): Likewise.
46110 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46111 (_G_HAVE_IO_FILE_OPEN): Likewise.
46112
46113 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46114
46115 * csu/libc-tls.c: Update copyright years.
46116
46117 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46118
46119 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46120 [!_G_USING_THUNKS]: Remove conditional code.
46121 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46122 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46123
46124 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46125 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46126 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46127 (_G_VTABLE_LABEL_PREFIX): Likewise.
46128 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46129 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46130 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46131 (_G_VTABLE_LABEL_PREFIX): Likewise.
46132 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46133 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46134 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46135 (_G_VTABLE_LABEL_PREFIX): Likewise.
46136 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46137
46138 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46139
46140 * libio/Makefile: Include ../Makeconfig before tests.
46141 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46142 only if $(build-shared) is yes.
46143
46144 * iconv/gconv_db.c: Update copyright years.
46145
46146 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46147
46148 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46149 unwind info if defined PIC. Fix special cases description.
46150 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46151
46152 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46153 DP_HI_MASK entry.
46154 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46155
46156 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46157
46158 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46159
46160 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46161 is NULL.
46162
46163 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46164 (LDLIBS-tst-chk4): This.
46165 (LDFLAGS-tst-chk5): Renamed to ...
46166 (LDLIBS-tst-chk5): This.
46167 (LDFLAGS-tst-chk6): Renamed to ...
46168 (LDLIBS-tst-chk6): This.
46169 (LDFLAGS-tst-lfschk4): Renamed to ...
46170 (LDLIBS-tst-lfschk4): This.
46171 (LDFLAGS-tst-lfschk5): Renamed to ...
46172 (LDLIBS-tst-lfschk5): This.
46173 (LDFLAGS-tst-lfschk6): Renamed to ...
46174 (LDLIBS-tst-lfschk6): This.
46175
46176 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46177 on $(common-objpfx)soversions.mk.
46178
46179 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46180
46181 [BZ #10014]
46182 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46183 example host name.
46184
46185 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46186
46187 * malloc/arena.c (arena_get_retry): New function that gets
46188 another arena for the caller to try its request on.
46189 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46190 current arena cannot fulfill the request.
46191 (__libc_memalign): Likewise.
46192 (__libc_memalign): Likewise.
46193 (__libc_pvalloc): Likewise.
46194 (__libc_calloc): Likewise.
46195
46196 2012-09-05 John Tobey <john.tobey@gmail.com>
46197
46198 [BZ #13542]
46199 * manual/arith.texi (Operations on Complex): Fix description
46200 of carg branch cut.
46201
46202 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46203
46204 [BZ #10014]
46205 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46206 host name.
46207
46208 [BZ #10038]
46209 * manual/memory.texi (Memory): Make order of menu items match
46210 order of sections.
46211
46212 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46213
46214 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46215 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46216 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46217
46218 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46219
46220 * csu/libc-tls.c (static_dtv): Renamed to ...
46221 (_dl_static_dtv): This. Make it global.
46222 (_dl_initial_dtv): Removed.
46223 (__libc_setup_tls): Updated.
46224 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46225 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46226 DL_INITIAL_DTV.
46227
46228 2012-09-06 Petr Machata <pmachata@redhat.com>
46229
46230 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46231 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46232 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46233 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46234
46235 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46236
46237 [BZ #14545]
46238 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46239 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46240 freeing dtv[-1].
46241
46242 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46243
46244 [BZ #14544]
46245 * Makeconfig (link-static-before-libc): Replace $(+prector)
46246 with $(+prectorT).
46247 (link-static-after-libc): Replace $(+postctor) with
46248 $(+postctorT).
46249 (link-bounded): Replace $(+prector)/$(+postctor) with
46250 $(+prectorT)/$(+postctorT).
46251 (+prectorT): New macro.
46252 (+postctorT): Likewise.
46253
46254 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46255
46256 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46257 (round_str): Handle values above the maximum for IBM long double
46258 as inexact.
46259 * stdlib/tst-strtod-round.c (tests): Regenerated.
46260
46261 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46262
46263 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46264 assembler flag.
46265 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46266 zarch_nohighgprs around the zarch optimized routines.
46267 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46268 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46270 for zarch.
46271
46272 2012-09-05 David S. Miller <davem@davemloft.net>
46273
46274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46275
46276 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46277 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46278 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46279 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46280 entries.
46281
46282 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46283
46284 * malloc/arena.c: Fold copyright years.
46285 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46286
46287 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46288
46289 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46290
46291 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46292
46293 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46294
46295 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46296
46297 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46298 change internal state upon failure.
46299
46300 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46301
46302 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46303 * malloc/memusage.c (mmap): Likewise.
46304 (mmap64, mremap): Likewise. Adjust name in comment.
46305
46306 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46307
46308 * libio/fileops.c: Fix typos in comments.
46309 * libio/oldfileops.c: Likewise.
46310 * libio/wfileops.c: Likewise.
46311
46312 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46313
46314 [BZ #1349]
46315 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46316 (tst-malloc-usable-ENV): Set environment for test case.
46317 * malloc/hooks.c (malloc_check_get_size): New function to get
46318 requested size.
46319 * malloc/malloc.c (musable): Use malloc_check_get_size.
46320 * malloc/tst-malloc-usable.c: New test case.
46321
46322 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46323
46324 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46325
46326 2012-09-05 Allan McRae <allan@archlinux.org>
46327
46328 [BZ #13966]
46329 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46330 determine header location.
46331 * configure: Regenerated.
46332
46333 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46334
46335 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46336 float format.
46337 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46338 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46339 format.
46340 (test): Regenerate.
46341
46342 2012-09-04 David S. Miller <davem@davemloft.net>
46343
46344 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46345 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46346 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46347
46348 2012-09-04 Florian Weimer <fweimer@redhat.com>
46349
46350 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46351 failures.
46352
46353 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46354
46355 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46356
46357 [BZ #9914]
46358 * libio/iogetdelim.c: Include <limits.h>.
46359 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46360 + len + 1 would overflow.
46361
46362 2012-09-03 Andreas Jaeger <aj@suse.de>
46363
46364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46365 * sysdeps/i386/fpu/libm-test-ulps: Update.
46366
46367 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46368
46369 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46370 Add s_sinf-sse2, s_conf-sse2.
46371
46372 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46373 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46374 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46375 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46376
46377 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46378 for using routine as __sinf_ia32.
46379 Use macro for function declaration and weak_alias.
46380 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46381 for using routine as __cosf_ia32.
46382 Use macro for function declaration and weak_alias.
46383
46384 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46385 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46386
46387 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46388 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46390
46391 * math/libm-test.inc (cos_test): Add more test cases.
46392 (sin_test): Likewise.
46393 (sincos_test): Likewise.
46394
46395 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46396
46397 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46398 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46399 hidden.
46400 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46401
46402 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46403
46404 [BZ #14538]
46405 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46406 first element of the GOT.
46407 (elf_machine_load_address): Return the difference between
46408 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46409
46410 2012-09-01 Allan McRae <allan@archlinux.org>
46411
46412 [BZ #13412]
46413 * configure.in (AWK): Require gawk version 3.0 or later.
46414 * configure: Regenerated.
46415
46416 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46417
46418 * sysdeps/unix/sysv/linux/kernel-features.h
46419 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46420 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46421 [__NR_clock_getres]: Make code unconditional.
46422 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46423 (clock_getcpuclockid): Remove code left unreachable by removal of
46424 conditionals.
46425 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46426 code unconditional.
46427 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46428 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46429 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46430 Make code unconditional.
46431 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46432 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46433 * sysdeps/unix/sysv/linux/clock_settime.c
46434 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46435 conditional code.
46436 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46437 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46438
46439 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46440
46441 [BZ #14476]
46442 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46443 scripts/test-installation.pl.
46444
46445 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46446 and $ld_so_version if it is set.
46447
46448 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46449
46450 [BZ #14516]
46451 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46452 failure if reading from procfs failed.
46453 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46454
46455 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46456
46457 * sysdeps/unix/sysv/linux/kernel-features.h
46458 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46459 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46460 Remove conditional code.
46461 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46462 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46463 Remove conditional code.
46464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46465 * sysdeps/unix/sysv/linux/i386/fxstat.c
46466 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46468 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46469 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46470 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46471 * sysdeps/unix/sysv/linux/i386/lxstat.c
46472 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46473 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46474 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46475 Remove conditional code.
46476 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46477 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46478 Remove conditional code.
46479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46480 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46481 <kernel-features.h>.
46482 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46483 Remove.
46484 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46485 Remove conditional code.
46486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46487 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46488 Remove conditional.
46489
46490 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46491
46492 [BZ #5400]
46493 * NEWS: Add fixed bug number.
46494
46495 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46496
46497 [BZ #14519]
46498 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46499 underflowing exponent in case of negative sign.
46500 * stdlib/tst-strtod-round-data: Add more tests.
46501 * stdlib/tst-strtod-round.c (tests): Regenerated.
46502
46503 [BZ #3479]
46504 * stdlib/strtod_l.c (NDIG): Remove.
46505 (HEXNDIG): Likewise.
46506 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46507 smallest representable value.
46508 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46509 lie within an exact representation of 1/2 ulp of the result.
46510 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46511 unconditionally.
46512 (TENS_P9_IDX): Define unconditionally.
46513 (TENS_P9_SIZE): Likewise.
46514 (TENS_P10_IDX): Likewise.
46515 (TENS_P10_SIZE): Likewise.
46516 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46517 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46518 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46519 entries for 10^2^13 and 10^2^14.
46520 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46521 (TENS_P13_IDX): Define.
46522 (TENS_P13_SIZE): Likewise.
46523 (TENS_P14_IDX): Likewise.
46524 (TENS_P14_SIZE): Likewise.
46525 (_fpioconst_pow10): Change array size to
46526 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46527 unconditional.
46528 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46529 1024]: Add entries for 10^2^13 and 10^2^14.
46530 [LAST_POW10 > _LAST_POW10]: Remove #error.
46531 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46532 (_fpioconst_pow10): Change array size to
46533 FPIOCONST_POW10_ARRAY_SIZE.
46534 * stdlib/gen-fpioconst.c: New file.
46535 * stdlib/gen-tst-strtod-round.c: Likewise.
46536 * stdlib/tst-strtod-round-data: Likewise.
46537 * stdlib/tst-strtod-round.c: Likewise.
46538 * stdlib/Makefile (tests): Add tst-strtod-round.
46539
46540 [BZ #14459]
46541 * stdlib/strtod_l.c: Include <stdint.h>.
46542 (NDEBUG): Do not define.
46543 (round_and_return): Change EXPONENT parameter to type intmax_t.
46544 Rearrange calculations to avoid internal overflow possibilities.
46545 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46546 Rearrange calculations to avoid internal overflow possibilities.
46547 Assert that number fits inside MPNSIZE limbs.
46548 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46549 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46550 calculations and add assertions to avoid internal overflow
46551 possibilities. Add casts to avoid signed/unsigned operations.
46552 * stdlib/tst-strtod-overflow.c: New file.
46553 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46554
46555 2012-08-25 Marek Polacek <polacek@redhat.com>
46556
46557 * time/time.h: Fix some typos in comments.
46558
46559 2012-08-23 Roland McGrath <roland@hack.frob.com>
46560
46561 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46562 * posix/tst-rfc3484-2.c: Likewise.
46563 * posix/tst-rfc3484-3.c: Likewise.
46564
46565 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46566
46567 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46568 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46569
46570 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46571
46572 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46573 #include of fxstatat64.c.
46574
46575 2012-08-22 Roland McGrath <roland@hack.frob.com>
46576
46577 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46578 * shadow/getspent_r.c: Likewise.
46579 * shadow/getspnam.c: Likewise.
46580 * shadow/getspnam_r.c: Likewise.
46581 * gshadow/getsgent.c: Likewise.
46582 * gshadow/getsgent_r.c: Likewise.
46583 * gshadow/getsgnam.c: Likewise.
46584 * gshadow/getsgnam_r.c: Likewise.
46585 * inet/getnetbyad.c: Likewise.
46586 * inet/getnetbyad_r.c: Likewise.
46587 * inet/getnetbynm.c: Likewise.
46588 * inet/getnetbynm_r.c: Likewise.
46589 * inet/getnetent.c: Likewise.
46590 * inet/getnetent_r.c: Likewise.
46591 * inet/getproto.c: Likewise.
46592 * inet/getproto_r.c: Likewise.
46593 * inet/getprtent.c: Likewise.
46594 * inet/getprtent_r.c: Likewise.
46595 * inet/getprtname.c: Likewise.
46596 * inet/getprtname_r.c: Likewise.
46597 * inet/getrpcbyname.c: Likewise.
46598 * inet/getrpcbyname_r.c: Likewise.
46599 * inet/getrpcbynumber.c: Likewise.
46600 * inet/getrpcbynumber_r.c: Likewise.
46601 * inet/getrpcent.c: Likewise.
46602 * inet/getrpcent_r.c: Likewise.
46603 * inet/getaliasent.c: Likewise.
46604 * inet/getaliasent_r.c: Likewise.
46605 * inet/getaliasname.c: Likewise.
46606 * inet/getaliasname_r.c: Likewise.
46607 * nscd/getgrgid_r.c: Likewise.
46608 * nscd/getgrnam_r.c: Likewise.
46609 * nscd/gethstbyad_r.c: Likewise.
46610 * nscd/gethstbynm3_r.c: Likewise.
46611 * nscd/getpwnam_r.c: Likewise.
46612 * nscd/getpwuid_r.c: Likewise.
46613 * nscd/getsrvbynm_r.c: Likewise.
46614 * nscd/getsrvbypt_r.c: Likewise.
46615 * nscd/gai.c: Likewise.
46616
46617 * configure.in (build_nscd): New substituted variable, set
46618 by --disable-build-nscd and defaults to $use_nscd.
46619 * configure: Regenerated.
46620 * config.make.in (build-nscd): New substituted variable.
46621 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46622 Change conditional to require [$(build-nscd) = yes] as well.
46623 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46624
46625 [BZ# 13696]
46626 * configure.in (use_nscd): New substituted variable, set by
46627 --disable-nscd. If enabled, define USE_NSCD.
46628 * configure: Regenerated.
46629 * config.h.in: Add USE_NSCD.
46630 * config.make.in (use-nscd): New substituted variable.
46631 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46632 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46633 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46634 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46635 (CFLAGS-getgrnam_r.c): Likewise.
46636 (CFLAGS-initgroups.c): Likewise.
46637 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46638 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46639 Variables removed.
46640 * inet/getnetgrent_r.c
46641 (nscd_setnetgrent): New function, broken out of ...
46642 (setnetgrent): ... here. Call it.
46643 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46644 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46645 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46646 * nscd/Makefile (routines, aux): Move definitions after include of
46647 Makeconfig. Conditionalize on [$(use-nscd) != no].
46648 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46649 Conditionalize on [USE_NSCD].
46650 (is_nscd, nscd_init_cb): Likewise.
46651 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46652 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46653 * nss/nss_db/db-init.c: Likewise.
46654 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46655 [USE_NSCD].
46656 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46657 (make_request): Use it.
46658 (cache_valid_p): New function.
46659 (__check_pf): Use it.
46660 * NEWS: Add item for --disable-nscd.
46661
46662 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46663
46664 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46665 to support sed >= 4.2.1-20-ga9bf076.
46666 * configure: Regenerated.
46667
46668 2012-08-22 Roland McGrath <roland@hack.frob.com>
46669
46670 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46671 Conditionalize whole body on [IREL].
46672
46673 2012-08-22 Jeff Law <law@redhat.com>
46674
46675 [BZ #14505]
46676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46677 if the family is PF_UNSPEC.
46678
46679 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46680
46681 * Makerules (lib-version): Rename from V.
46682 (install-lib-nosubdir): Change V to lib-version.
46683
46684 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46685
46686 [BZ #14252]
46687 * powerpc32/power6/wcschr.c: New file.
46688 * powerpc32/power6/wcscpy.c: New file.
46689 * powerpc32/power6/wcsrchr.c: New file.
46690 * powerpc64/power6/wcschr.c: New file.
46691 * powerpc64/power6/wcscpy.c: New file.
46692 * powerpc64/power6/wcsrchr.c: New file.
46693
46694 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46695
46696 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46697 (two_way_short_needle): Use it.
46698 * string/strstr.c (AVAILABLE1_USES_J): Define.
46699 * string/strcasestr.c: Likewise.
46700
46701 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46702 array references.
46703 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46704
46705 [BZ #11607]
46706 * NEWS: Add an entry.
46707 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46708 define their defaults.
46709 (two_way_short_needle): Detect end-of-string on-the-fly.
46710 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46711 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46712 * string/bug-strcasestr1.c: New test.
46713 * string/Makefile: Run it.
46714
46715 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46716
46717 [BZ #11607]
46718 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46719 the first character.
46720
46721 2012-08-21 Roland McGrath <roland@hack.frob.com>
46722
46723 * csu/elf-init.c (__libc_csu_irel): Function removed.
46724 * csu/libc-start.c (apply_irel): New function.
46725 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46726
46727 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46728
46729 * sysdeps/unix/sysv/linux/kernel-features.h
46730 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46731 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46732 <kernel-features.h>.
46733 [__NR_fadvise64_64]: Make code unconditional.
46734 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46735 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46736 !__NR_fadvise64_64)]: Likewise.
46737 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46738 !__NR_fadvise64_64))]: Likewise.
46739 [__NR_fadvise64]: Make code unconditional.
46740 [!__NR_fadvise64]: Remove conditional code.
46741 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46742 <kernel-features.h>.
46743 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46744 unconditional.
46745 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46746 conditional code.
46747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46748 not include <kernel-features.h>.
46749 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46750 unconditional.
46751 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46752 conditional code.
46753 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46754 include <kernel-features.h>.
46755 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46756 unconditional.
46757 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46758 conditional code.
46759
46760 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46761
46762 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46763 slight instruction rearrangements per scrollpipe analysis.
46764 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46765
46766 2012-08-20 Roland McGrath <roland@hack.frob.com>
46767
46768 * manual/syslog.texi (syslog; vsyslog, closelog):
46769 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46770 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46771
46772 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46773 DSOCAPS to match condition on defining it.
46774
46775 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46776
46777 * sysdeps/unix/sysv/linux/kernel-features.h
46778 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46780 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46781 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46783 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46784 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46786 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46787 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46788
46789 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46790 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46791
46792 * sysdeps/unix/sysv/linux/kernel-features.h
46793 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46794 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46795 unconditional.
46796 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46797 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46798 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46799 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46800 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46801 Make code unconditional.
46802 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46803 (__mmap64) [!__NR_mmap2]: Likewise.
46804 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46805 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46806 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46807 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46808 [__NR_mmap2]: Make code unconditional.
46809 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46810 (__mmap64) [!__NR_mmap2]: Likewise.
46811
46812 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46813
46814 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46815
46816 2012-08-18 Andreas Jaeger <aj@suse.de>
46817
46818 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46819
46820 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46821
46822 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46823 * include/unistd.h (__have_sock_cloexec): Likewise.
46824 (__have_pipe2): Likewise.
46825 (__have_dup3): Likewise.
46826
46827 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46828
46829 [BZ #9685]
46830 * include/unistd.h (__have_pipe2): Change define into an extern int.
46831 (__have_dup3): Likewise.
46832 * socket/have_sock_cloexec.c: Include fcntl.h.
46833 (__have_pipe2): New variable.
46834 (__have_dup3): Likewise.
46835
46836 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46837
46838 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46839
46840 2012-08-17 Marek Polacek <polacek@redhat.com>
46841
46842 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46843 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46844
46845 2012-08-17 Roland McGrath <roland@hack.frob.com>
46846
46847 * configure.in: Add AC_SUBST for sysheaders.
46848 * configure: Regenerated.
46849 * config.make.in (sysheaders): New substituted variable.
46850
46851 * sysdeps/unix/mkfifo.c: Moved ...
46852 * sysdeps/posix/mkfifo.c: ... here.
46853 * sysdeps/unix/mkfifoat.c: Moved ...
46854 * sysdeps/posix/mkfifoat.c: ... here.
46855
46856 * sysdeps/unix/utime.c: Moved ...
46857 * sysdeps/posix/utime.c: ... here.
46858
46859 * sysdeps/unix/time.c: Moved ...
46860 * sysdeps/posix/time.c: ... here.
46861 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46862 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46863
46864 * sysdeps/unix/nice.c: Moved ...
46865 * sysdeps/posix/nice.c: ... here.
46866
46867 * sysdeps/unix/alarm.c: Moved ...
46868 * sysdeps/posix/alarm.c: ... here.
46869
46870 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46871
46872 2012-08-17 Jeff Law <law@redhat.com>
46873
46874 * intl/Makefile (codeset_mo): New variable.
46875 ($(codeset_mo)): New target.
46876 (tst-codeset.out): Depend on that. Remove explicit rule.
46877 (tst-gettext3.out, tst-gettext5.out): Likewise.
46878 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46879 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46880 * intl/tst-codeset.sh: Remove.
46881 * intl/tst-gettext3.sh: Likewise.
46882 * intl/tst-gettext5.sh: Likewise.
46883
46884 2012-08-17 Roland McGrath <roland@hack.frob.com>
46885
46886 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46887 * sysdeps/unix/syscalls.list: ... here.
46888
46889 * sysdeps/posix/getaddrinfo.c
46890 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46891 (gaiconf_init, gaiconf_reload): Use them.
46892 [!_STATBUF_ST_NSEC]
46893 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46894 Define using time_t rather than struct timespec.
46895
46896 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46897 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46898 Macros removed.
46899 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46900 [!NO_THREADS].
46901 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46902 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46903 Likewise.
46904
46905 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46906 __libc_cleanup_push argument.
46907
46908 * bits/param.h: New file.
46909 * misc/sys/param.h: New file.
46910 * include/sys/param.h: New file.
46911 * misc/Makefile (headers): Add bits/param.h.
46912 * sysdeps/generic/sys/param.h: File removed.
46913 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46914 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46915 * sysdeps/mach/hurd/bits/param.h: New file.
46916 * sysdeps/mach/hurd/sys/param.h: File removed.
46917
46918 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46919 last change.
46920
46921 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46922 [_IO_MTSAFE_IO].
46923 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46924 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46925 New macros.
46926
46927 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46928 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46929 rather than -D_IO_MTSAFE_IO conditionally.
46930 * stdio-common/Makefile (CPPFLAGS): Likewise.
46931 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46932 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46933 Use $(libio-mtsafe).
46934 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46935 of -D_IO_MTSAFE_IO.
46936 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46937 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46938 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46939 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46940 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46941 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46942 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46943 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46944 (CFLAGS-fread_u_chk.c): Likewise.
46945 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46946 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46947 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46948 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46949 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46950 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46951 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46952 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46953 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46954
46955 * libio/Makefile: Test [$(libc-reentrant) = yes]
46956 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46957
46958 * Makeconfig
46959 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46960 * sysdeps/pthread/configure: File removed.
46961 * sysdeps/pthread/Makeconfig: New file.
46962 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46963 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46964
46965 2012-08-16 Gary Benson <gbenson@redhat.com>
46966
46967 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46968 unmapping the first object in a namespace.
46969
46970 2012-08-16 Roland McGrath <roland@hack.frob.com>
46971
46972 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46973 (__internal_setnetgrent): ... this. Add internal_function to
46974 definition. Add libc_hidden_def.
46975 (setnetgrent): Update caller.
46976 (internal_endnetgrent): Renamed to ...
46977 (__internal_endnetgrent): ... this. Add internal_function to
46978 definition. Add libc_hidden_def.
46979 (endnetgrent): Update caller.
46980 (internal_getnetgrent_r): Renamed to ...
46981 (__internal_getnetgrent_r): ... this. Add internal_function to
46982 definition. Add libc_hidden_def.
46983 (__getnetgrent_r): Update caller.
46984 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46985
46986 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46987
46988 * stdlib/longlong.h: Update from GCC.
46989
46990 2012-08-16 Roland McGrath <roland@hack.frob.com>
46991
46992 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46993 on _QL, which is set by umul_ppmm but never used.
46994 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46995 variables, which are set by GMP macros but never used.
46996 * stdio-common/_itowa.c (_itowa): Likewise.
46997 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46998 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46999
47000 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47001
47002 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47003 struct La_sh_regs is not constant.
47004 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47005 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47006 and struct La_sparc64_regs are not constant.
47007
47008 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47009
47010 * sysdeps/unix/sysv/linux/kernel-features.h
47011 (__ASSUME_POSIX_TIMERS): Remove.
47012 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47013 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47014 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47015 Make code unconditional.
47016 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47017 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47018 Make code unconditional.
47019 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47020 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47021 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47022 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47023 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47024 Make code unconditional.
47025 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47026 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47027 (__libc_missing_posix_timers): Remove.
47028
47029 2012-08-15 Roland McGrath <roland@hack.frob.com>
47030
47031 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47032 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47033
47034 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47035
47036 * elf/dl-sym.c: Include <stdlib.h>.
47037
47038 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47039 constants, which avoids warnings in 32-bit builds.
47040
47041 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47042 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47043
47044 * misc/lseek.c: File moved to ...
47045 * io/lseek.c: ... here.
47046
47047 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47048
47049 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47050 shifting LEN more than 31 bits at once.
47051
47052 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47053
47054 [BZ #14195]
47055 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47056 segmentation fault for a case of two empty input strings.
47057 * string/test-strncasecmp.c (check1): Renamed to...
47058 (bz12205): ...this.
47059 (bz14195): Add new testcase for two empty input strings and N > 0.
47060 (test_main): Call new testcase, adapt for renamed function.
47061
47062 2012-08-15 Andreas Jaeger <aj@suse.de>
47063
47064 [BZ #14090]
47065 * crypt/md5test2.c: New test, based on test supplied by Serge
47066 Belyshev <belyshev@depni.sinp.msu.ru>.
47067 * crypt/Makefile (xtests): Add md5test-giant..
47068 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47069
47070 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47071
47072 [BZ #14090]
47073 * crypt/md5.c (md5_process_block): Don't assume the buffer
47074 length is less than 2**32.
47075 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47076 length is less than 2**64.
47077
47078 2012-08-15 Roland McGrath <roland@hack.frob.com>
47079
47080 * string/str-two-way.h: Include <sys/param.h>.
47081 (MAX): Macro removed.
47082
47083 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47084 Move #define and #undef of memmove to just before and after
47085 including <string.h>.
47086
47087 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47088 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47089 and after including <string.h>. Move declarations of
47090 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47091 to before #include "string/memmove.c".
47092
47093 * include/dirent.h: Declare __getdirentries.
47094
47095 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47096 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47097
47098 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47099
47100 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47101 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47102 * sysdeps/i386/configure: Regenerated.
47103 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47104 STABS_CURRENT_FILE, and STABS_FUN.
47105 (END): Remove call to STABS_FUN_END.
47106 (STABS_CURRENT_FILE1): Delete.
47107 (STABS_CURRENT_FILE): Likewise.
47108 (STABS_FUN): Likewise.
47109 (STABS_FUN_END): Likewise.
47110 (STABS_FUN2): Likewise.
47111 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47112 * sysdeps/x86_64/configure: Regenerated.
47113
47114 2012-08-14 Roland McGrath <roland@hack.frob.com>
47115
47116 * elf/dl-open.c: Include <atomic.h>.
47117 * elf/dl-lookup.c: Likewise.
47118
47119 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47120
47121 * sysdeps/unix/sysv/linux/kernel-features.h
47122 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47123 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47124 unconditionally.
47125 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47126 unconditionally.
47127 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47128 condition on __ASSUME_CLONE_THREAD_FLAGS.
47129
47130 2012-08-14 Andreas Jaeger <aj@suse.de>
47131
47132 * sysdeps/i386/fpu/libm-test-ulps: Update.
47133
47134 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47135
47136 * include/atomic.h (atomic_exchange_and_add): Split into ...
47137 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47138 New atomic macros.
47139
47140 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47141
47142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47143
47144 2012-08-13 Jeff Law <law@redhat.com>
47145
47146 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47147 null byte in the output string.
47148
47149 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47150
47151 * sysdeps/unix/sysv/linux/kernel-features.h
47152 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47153 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47154 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47155 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47156 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47157 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47158 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47159
47160 2012-08-09 Jeff Law <law@redhat.com>
47161
47162 [BZ #13939]
47163 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47164 When avoid_arena is set, don't retry in the that arena. Pick the
47165 next one, whatever it might be.
47166 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47167 (arena_lock): Pass in new parameter to arena_get2.
47168 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47169 arena_get2.
47170 (__libc_malloc): Unify retrying after main arena failure with
47171 __libc_memalign version.
47172 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47173
47174 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47175
47176 [BZ #14166]
47177 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47178 to __redirect_strstr.
47179 (__strstr_sse42): Use typeof __redirect_strstr.
47180 (__strstr_ia32): Likewise.
47181 (__libc_strstr): New prototype.
47182 (strstr): Renamed to ...
47183 (__libc_strstr): This.
47184 (strstr): New strong alias of __libc_strstr.
47185 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47186 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47187 __redirect_time.
47188 Include <time.h>.
47189 (__libc_time): New prototype.
47190 (time_ifunc): Replace time with __libc_time.
47191 (time): New strong alias and hidden definition of __libc_time.
47192 (__GI_time): Remove strong alias.
47193 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47194 Include <stddef.h>.
47195 (memmove): Redefined to __redirect_memmove.
47196 (__memmove_sse2): Use typeof __redirect_memmove.
47197 (__memmove_ssse3): Likewise.
47198 (__memmove_ssse3_back): Likewise.
47199 (__libc_memmove): New prototype.
47200 (memmove): Renamed to ...
47201 (__libc_memmove): This.
47202 (memmove): New strong alias of __libc_memmove.
47203
47204 2012-08-08 Mark Salter <msalter@redhat.com>
47205
47206 * elf/elf.h
47207 (R_MN10300_TLS_GD): Define.
47208 (R_MN10300_TLS_LD): Likewise.
47209 (R_MN10300_TLS_LDO): Likewise.
47210 (R_MN10300_TLS_GOTIE): Likewise.
47211 (R_MN10300_TLS_IE): Likewise.
47212 (R_MN10300_TLS_LE): Likewise.
47213 (R_MN10300_TLS_DTPMOD): Likewise.
47214 (R_MN10300_TLS_DTPOFF): Likewise.
47215 (R_MN10300_TLS_TPOFF): Likewise.
47216 (R_MN10300_SYM_DIFF): Likewise.
47217 (R_MN10300_ALIGN): Likewise.
47218 (R_MN10300_NUM): Update.
47219
47220 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47221
47222 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47223 Remove.
47224
47225 2012-08-08 Roland McGrath <roland@hack.frob.com>
47226
47227 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47228
47229 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47230 sysdeps/unix -> sysdeps/posix move.
47231 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47232
47233 2012-08-07 Allan McRae <allan@archlinux.org>
47234
47235 [BZ #14303]
47236 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47237 (SUNOS_CPP): Likewise.
47238 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47239 not found.
47240 (open_input): Call CPP using execvp.
47241
47242 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47243
47244 * sysdeps/unix/sysv/linux/kernel-features.h
47245 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47246 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47247 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47248 (__ASSUME_WAITID_SYSCALL): Likewise.
47249 * sysdeps/unix/sysv/linux/dl-execstack.c
47250 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47251 code unconditional.
47252 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47253 conditional code.
47254 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47255 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47256 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47257 code.
47258 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47259 unconditional.
47260 [__ASSUME_WAITID_SYSCALL]: Likewise.
47261 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47262
47263 2012-08-07 Roland McGrath <roland@hack.frob.com>
47264
47265 * sysdeps/unix/closedir.c: Renamed to ...
47266 * sysdeps/posix/closedir.c: ... here.
47267 * sysdeps/unix/dirfd.c: Renamed to ...
47268 * sysdeps/posix/dirfd.c: ... here.
47269 * sysdeps/unix/dirstream.h: Renamed to ...
47270 * sysdeps/posix/dirstream.h: ... here.
47271 * sysdeps/unix/fdopendir.c: Renamed to ...
47272 * sysdeps/posix/fdopendir.c: ... here.
47273 * sysdeps/unix/opendir.c: Renamed to ...
47274 * sysdeps/posix/opendir.c: ... here.
47275 * sysdeps/unix/readdir.c: Renamed to ...
47276 * sysdeps/posix/readdir.c: ... here.
47277 * sysdeps/unix/readdir_r.c: Renamed to ...
47278 * sysdeps/posix/readdir_r.c: ... here.
47279 * sysdeps/unix/rewinddir.c: Renamed to ...
47280 * sysdeps/posix/rewinddir.c: ... here.
47281 * sysdeps/unix/seekdir.c: Renamed to ...
47282 * sysdeps/posix/seekdir.c: ... here.
47283 * sysdeps/unix/telldir.c: Renamed to ...
47284 * sysdeps/posix/telldir.c: ... here.
47285 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47286 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47287 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47288 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47289
47290 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47291 * bits/fcntl.h: ... here.
47292
47293 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47294 not 0.
47295 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47296 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47297 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47298 (struct flock): Move l_start, l_len to the beginning.
47299 Use __pid_t for l_pid.
47300 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47301 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47302 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47303 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47304 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47305 [__USE_LARGEFILE64] (struct flock64): New type.
47306 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47307
47308 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47309 * bits/dirent.h: ... here.
47310
47311 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47312 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47313
47314 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47315
47316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47317 Change from 2.6.0 to 2.6.16.
47318 * sysdeps/unix/sysv/linux/configure: Regenerated.
47319 * sysdeps/unix/sysv/linux/kernel-features.h
47320 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47321 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47322 version.
47323 (__ASSUME_UTIMES): Likewise.
47324 (__ASSUME_CLONE_STOPPED): Remove.
47325 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47326 architectures, not kernel version.
47327 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47328 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47329 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47330 (__ASSUME_WAITID_SYSCALL): Likewise.
47331 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47332 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47333 * README: State 2.6.16 as minimum Linux kernel version. Do not
47334 refer to older versions.
47335
47336 2012-08-06 Roland McGrath <roland@hack.frob.com>
47337
47338 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47339 Define alphasort64 as an alias.
47340 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47341 Define versionsort64 as an alias.
47342 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47343 Define scandir64 as an alias.
47344 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47345 Define scandirat64 as an alias.
47346 * dirent/alphasort64.c (alphasort64):
47347 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47348 * dirent/versionsort64.c: Likewise.
47349 * dirent/scandir64.c: Likewise.
47350 * dirent/scandirat64.c: Likewise.
47351 * sysdeps/wordsize-64/alphasort.c: File removed.
47352 * sysdeps/wordsize-64/alphasort64.c: File removed.
47353 * sysdeps/wordsize-64/scandir.c: File removed.
47354 * sysdeps/wordsize-64/scandir64.c: File removed.
47355 * sysdeps/wordsize-64/scandirat.c: File removed.
47356 * sysdeps/wordsize-64/scandirat64.c: File removed.
47357 * sysdeps/wordsize-64/versionsort.c: File removed.
47358 * sysdeps/wordsize-64/versionsort64.c: File removed.
47359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47361 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47362 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47363 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47364 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47365 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47366 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47367
47368 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47369 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47370 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47371 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47372 [defined __arch64__ || defined __sparcv9]
47373 (__INO_T_MATCHES_INO64_T): New macro.
47374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47375 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47376 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47377 * sysdeps/unix/sysv/linux/bits/dirent.h
47378 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47379 (_DIRENT_MATCHES_DIRENT64): New macro.
47380
47381 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47382 Define lockf64 as an alias.
47383 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47384 Define fseeko64 as an alias.
47385 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47386 Define ftello64 as an alias.
47387 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47388 Define _IO_fgetpos64 and fgetpos64 as aliases.
47389 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47390 Define _IO_fsetpos64 and fsetpos64 as aliases.
47391 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47392 Conditionalize body on this.
47393 * libio/fseeko64.c: Likewise.
47394 * libio/ftello64.c: Likewise.
47395 * libio/iofgetpos64.c: Likewise.
47396 * libio/iofsetpos64.c: Likewise.
47397 * sysdeps/wordsize-64/lockf.c: File removed.
47398 * sysdeps/wordsize-64/lockf64.c: File removed.
47399 * sysdeps/wordsize-64/fseeko.c: File removed.
47400 * sysdeps/wordsize-64/fseeko64.c: File removed.
47401 * sysdeps/wordsize-64/ftello.c: File removed.
47402 * sysdeps/wordsize-64/ftello64.c: File removed.
47403 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47404 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47405 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47406 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47407 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47408 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47410 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47412 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47413 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47414 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47415 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47416 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47417
47418 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47419 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47420 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47422 [defined __arch64__ || defined __sparcv9]
47423 (__OFF_T_MATCHES_OFF64_T): New macro.
47424 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47425 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47427 (__OFF_T_MATCHES_OFF64_T): New macro.
47428
47429 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47430
47431 * stdlib/secure-getenv.c (__secure_getenv): Replace
47432 GLIBC_2_16 with GLIBC_2_17.
47433
47434 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47435
47436 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47437 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47438
47439 2012-08-03 David S. Miller <davem@davemloft.net>
47440
47441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47442
47443 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47444
47445 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47446 Remove.
47447 (__ASSUME_CORRECT_SI_PID): Likewise.
47448 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47449 (__ASSUME_TMPFS_NAME): Likewise.
47450 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47451 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47452 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47453 (HAVE_AUX_SECURE): Make definition unconditional.
47454 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47455 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47456
47457 2012-08-03 Roland McGrath <roland@hack.frob.com>
47458
47459 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47460 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47461 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47462 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47463 __eloop_threshold instead of SYMLOOP_MAX.
47464
47465 * sysdeps/generic/eloop-threshold.h: New file.
47466 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47467 of MAXSYMLINKS.
47468 * elf/chroot_canon.c (chroot_canon): Likewise.
47469
47470 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47471
47472 [BZ #13717]
47473 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47474 Change to 2.6.0 everywhere.
47475 * sysdeps/unix/sysv/linux/configure: Regenerated.
47476 * sysdeps/unix/sysv/linux/kernel-features.h
47477 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47478 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47479 kernel versions.
47480 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47481 (__ASSUME_FUTEX_REQUEUE): Remove.
47482 (__ASSUME_STATFS64): Define unconditionally.
47483 (__ASSUME_AT_SECURE): Likewise.
47484 (__ASSUME_CORRECT_SI_PID): Likewise.
47485 (__ASSUME_TGKILL): Define without depending on kernel version for
47486 i386.
47487 (__ASSUME_UTIMES): Likewise.
47488 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47489 kernel version.
47490 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47491 (__ASSUME_TMPFS_NAME): Likewise.
47492 * README: Update reference to Linux kernel versions.
47493
47494 2012-08-02 Marek Polacek <polacek@redhat.com>
47495
47496 [BZ# 14150]
47497 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47498 libc_cv_asm_type_prefix with %.
47499 * configure: Regenerated.
47500 * include/libc-symbols.h: Remove comment about
47501 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47502 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47503 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47504 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47505 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47506 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47507 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47508 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47509 * elf/tst-unique2mod1.c: Likewise.
47510 * elf/tst-unique1mod2.c: Likewise.
47511 * elf/tst-unique1mod1.c: Likewise.
47512 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47513 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47514 Replace ASM_TYPE_DIRECTIVE with .type.
47515 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47516 * sysdeps/i386/sysdep.h: Likewise.
47517 * sysdeps/x86_64/sysdep.h: Likewise.
47518 * sysdeps/sh/sysdep.h: Likewise.
47519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47520 Do not define ASM_TYPE_DIRECTIVE.
47521 * sysdeps/powerpc/sysdep.h: Likewise.
47522 * sysdeps/powerpc/powerpc32/sysdep.h:
47523 Replace ASM_TYPE_DIRECTIVE with .type.
47524 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47525 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47526 * sysdeps/i386/fpu/e_powf.S: Likewise.
47527 * sysdeps/i386/fpu/e_expl.S: Likewise.
47528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47529 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47530 * sysdeps/i386/fpu/e_pow.S: Likewise.
47531 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47532 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47533 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47534 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47535 * sysdeps/i386/fpu/e_log2.S: Likewise.
47536 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47537 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47538 * sysdeps/i386/fpu/e_powl.S: Likewise.
47539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47540 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47541 * sysdeps/i386/fpu/e_logl.S: Likewise.
47542 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47543 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47544 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47545 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47546 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47547 * sysdeps/i386/fpu/e_log.S: Likewise.
47548 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47549 * sysdeps/i386/fpu/e_logf.S: Likewise.
47550 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47551 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47552 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47553 * sysdeps/i386/fpu/e_log10.S: Likewise.
47554 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47555 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47556 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47557 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47558 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47559 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47560 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47561 * sysdeps/i386/i686/strtok.S: Likewise.
47562 * sysdeps/i386/i386-mcount.S: Likewise.
47563 * sysdeps/i386/strtok.S: Likewise.
47564 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47565 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47566 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47567 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47568 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47569 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47570 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47571 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47572 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47573 * sysdeps/x86_64/_mcount.S: Likewise.
47574 * sysdeps/x86_64/strtok.S: Likewise.
47575 * sysdeps/sh/_mcount.S: Likewise.
47576
47577 2012-08-01 Roland McGrath <roland@hack.frob.com>
47578
47579 * libio/iofopen.c: Include <fcntl.h>.
47580 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47581 (_IO_fopen64, fopen64): Define as aliases.
47582 * libio/iofopen64.c: Include <fcntl.h>.
47583 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47584 Conditionalize body on this.
47585 * sysdeps/wordsize-64/iofopen.c: File removed.
47586 * sysdeps/wordsize-64/iofopen64.c: File removed.
47587
47588 2012-08-01 Marek Polacek <polacek@redhat.com>
47589
47590 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47591 Use dlfcn directly instead of a variable.
47592 (binfmt-subdir): Do not define.
47593 (dlfcn): Likewise.
47594
47595 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47596
47597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47598 Remove all definitions.
47599 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47600 <kernel-features.h>.
47601 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47602 (miss_F_GETOWN_EX): Remove all definitions.
47603 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47604 macro definition.
47605 [!__ASSUME_FCNTL64]: Remove conditional code.
47606 [__ASSUME_FCNTL64]: Make code unconditional.
47607 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47608 <kernel-features.h>.
47609 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47610 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47611 (lockf64) [__NR_fcntl64]: Make code unconditional.
47612 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47613
47614 * sysdeps/unix/sysv/linux/kernel-features.h
47615 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47616 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47617 Make code unconditional.
47618 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47619 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47621 [__NR_vfork]: Make code unconditional.
47622 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47623 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47625 [__NR_vfork]: Make code unconditional.
47626 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47627 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47628
47629 2012-08-01 Roland McGrath <roland@hack.frob.com>
47630
47631 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47632 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47633
47634 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47635 Define mkstemp64 as an alias.
47636 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47637 Define mkstemps64 as an alias.
47638 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47639 Define mkostemp64 as an alias.
47640 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47641 Define mkostemps64 as an alias.
47642 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47643 Conditionalize body on this.
47644 * misc/mkostemp64.c: Likewise.
47645 * misc/mkostemps64.c: Likewise.
47646 * misc/mkstemps64.c: Likewise.
47647 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47648 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47649 * sysdeps/wordsize-64/mkostemp.c: File removed.
47650 * sysdeps/wordsize-64/mkstemp.c: File removed.
47651 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47652 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47653 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47654 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47655
47656 [BZ #14138]
47657 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47658 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47659 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47660 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47661
47662 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47663 compat_symbol macros from <shlib-compat.h> rather than the underlying
47664 default_symbol_version and symbol_version macros, so that DEFAULT
47665 lines in shlib-versions are respected.
47666 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47667
47668 2012-08-01 Florian Weimer <fweimer@redhat.com>
47669
47670 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47671 Declare with warn_unused_result.
47672 (setgid, setregid, setegid, setresgid): Likewise.
47673 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47674 Likewise.
47675 * WUR-REPORT: Remove set*id functions.
47676
47677 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47678
47679 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47680
47681 2012-07-31 Roland McGrath <roland@hack.frob.com>
47682
47683 [BZ #10191]
47684 * include/sys/socket.h (__libc_accept, __libc_accept4):
47685 Add attribute_hidden.
47686 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47687
47688 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47689 use of PTR_MANGLE.
47690 * inet/getnetgrent_r.c (setup): Likewise.
47691
47692 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47693
47694 2012-07-31 David S. Miller <davem@davemloft.net>
47695
47696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47697
47698 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47699
47700 [BZ #13629]
47701 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47702 value between 1.0 and 2.0 and smaller part has absolute value less
47703 than 1.0.
47704 * math/s_clog10.c (__clog10): Likewise.
47705 * math/s_clog10f.c (__clog10f): Likewise.
47706 * math/s_clog10l.c (__clog10l): Likewise.
47707 * math/s_clogf.c (__clogf): Likewise.
47708 * math/s_clogl.c (__clogl): Likewise.
47709 * math/libm-test.inc (clog_test): Add more tests.
47710 (clog10_test): Likewise.
47711 * sysdeps/i386/fpu/libm-test-ulps: Update.
47712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47713
47714 2012-07-31 Florian Weimer <fweimer@redhat.com>
47715
47716 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47717 Exit with zero in case no suitable GID is found, and write a
47718 message to standard error.
47719
47720 2012-07-30 Roland McGrath <roland@hack.frob.com>
47721
47722 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47723 rather than to 1.
47724 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47725 (MAXPATHLEN): Removed.
47726 (NOGROUP, NODEV): New macros.
47727 (setbit, clrbit, isset, isclr): New macros.
47728 (howmany, roundup, powerof2): New macros.
47729 (DEV_BSIZE): New macro.
47730
47731 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47732 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47733
47734 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47735 definition on [!__NO_LONG_DOUBLE_MATH].
47736
47737 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47738 PTR_MANGLE and PTR_DEMANGLE.
47739
47740 * socket/accept4.c (accept4): Rename to __libc_accept4.
47741 Define accept4 as a weak alias.
47742
47743 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47744 on [_DIRENT_HAVE_D_TYPE].
47745 * io/ftw.c (ftw_dir): Likewise.
47746
47747 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47748
47749 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47750
47751 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47752 Use the BSD numbers rather than the arbitrary ones we had.
47753 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47754 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47755 (SIGXCPU, SIGXFSZ): New macros.
47756 (_NSIG): Now 32.
47757
47758 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47759 initializer on [_LIBC_REENTRANT].
47760
47761 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47762 definitions inside [_POSIX_MAPPED_FILES].
47763
47764 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47765
47766 * dirent/opendir.c: Include <fcntl.h>.
47767
47768 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47769 (__libc_getspecific): Likewise.
47770 (__libc_key_create): Likewise.
47771
47772 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47773 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47774 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47775 (tmpfile64): Define as alias.
47776 * sysdeps/wordsize-64/tmpfile.c: File removed.
47777 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47779 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47780
47781 * stdio-common/vfscanf.c: Include <stdbool.h>.
47782 * nss/makedb.c: Likewise.
47783 * stdio-common/_i18n_number.h: Likewise.
47784 * argp/argp-help.c: Likewise.
47785 * posix/wordexp.c: Likewise.
47786 * sysdeps/posix/spawni.c: Likewise.
47787 * nss/nss_files/files-initgroups.c: Likewise.
47788 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47789 * nss/nss_files/files-initgroups.c: Likewise.
47790 * nss/nss_db/db-netgrp.c: Likewise.
47791 * nss/nss_db/db-initgroups.c: Likewise.
47792 * io/fchmodat.c: Include <sys/stat.h>.
47793
47794 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47795 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47796
47797 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47798 [HAVE_MMAP].
47799
47800 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47801 Add multiple inclusion protection.
47802
47803 2012-07-27 David S. Miller <davem@davemloft.net>
47804
47805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47806
47807 2012-07-27 Gary Benson <gbenson@redhat.com>
47808
47809 [BZ #14298]
47810 * elf/rtld.c: Include <stap-probe.h>.
47811 (dl_main): Added static probes "init_start" and "init_complete".
47812 * elf/dl-load.c: Include <stap-probe.h>.
47813 (lose): Take new parameter "nsid".
47814 Added static probe "map_failed".
47815 (_dl_map_object_from_fd): Pass namespace id to lose.
47816 Added static probe "map_start".
47817 (open_verify): Pass namespace id to lose.
47818 * elf/dl-open.c: Include <stap-probe.h>.
47819 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47820 and "reloc_complete".
47821 * elf/dl-close.c: Include <stap-probe.h>.
47822 (_dl_close_worker): Added static probes "unmap_start" and
47823 "unmap_complete".
47824 * elf/rtld-debugger-interface.txt: New file documenting the above.
47825
47826 2012-07-26 Roland McGrath <roland@hack.frob.com>
47827
47828 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47829 rather than a string variable.
47830 * sunrpc/rpc_main.c (h_output): Likewise.
47831 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47832
47833 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47834
47835 * inet/check_native.c: New file.
47836
47837 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47838
47839 [BZ #13629]
47840 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47841 if larger part has absolute value 1.0.
47842 * math/s_clog10.c (__clog10): Likewise.
47843 * math/s_clog10f.c (__clog10f): Likewise.
47844 * math/s_clog10l.c (__clog10l): Likewise.
47845 * math/s_clogf.c (__clogf): Likewise.
47846 * math/s_clogl.c (__clogl): Likewise.
47847 * math/libm-test.inc (clog_test): Add more tests.
47848 (clog10_test): Likewise.
47849 * sysdeps/i386/fpu/libm-test-ulps: Update.
47850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47851
47852 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47853 (pltexit): Likewise.
47854 (La_regs): Likewise.
47855 (La_retval): Likewise.
47856 (int_retval): Likewise.
47857 Update #error for removed macros to refer only to definitions in
47858 tst-audit.h.
47859 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47860 macro.
47861 (pltexit): Likewise.
47862 (La_regs): Likewise.
47863 (La_retval): Likewise.
47864 (int_retval): Likewise.
47865 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47866 macro.
47867 (pltexit): Likewise.
47868 (La_regs): Likewise.
47869 (La_retval): Likewise.
47870 (int_retval): Likewise.
47871 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47872 macro.
47873 (pltexit): Likewise.
47874 (La_regs): Likewise.
47875 (La_retval): Likewise.
47876 (int_retval): Likewise.
47877 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47878 macro.
47879 (pltexit): Likewise.
47880 (La_regs): Likewise.
47881 (La_retval): Likewise.
47882 (int_retval): Likewise.
47883 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47884 macro.
47885 (pltexit): Likewise.
47886 (La_regs): Likewise.
47887 (La_retval): Likewise.
47888 (int_retval): Likewise.
47889 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47890 macro.
47891 (pltexit): Likewise.
47892 (La_regs): Likewise.
47893 (La_retval): Likewise.
47894 (int_retval): Likewise.
47895 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47896 macro definitions in tst-audit.h.
47897 * sysdeps/i386/tst-audit.h: New file.
47898 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47899 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47900 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47901 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47902 * sysdeps/sh/tst-audit.h: Likewise.
47903 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47904 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47905 * sysdeps/x86_64/tst-audit.h: Likewise.
47906
47907 2012-07-26 Andreas Jaeger <aj@suse.de>
47908
47909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47910 ptrace.
47911
47912 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47913 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47914 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47915 PTRACE_O_MASK.
47916 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47917 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47918 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47919
47920 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47921 value.
47922
47923 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47924 _sigsys.
47925 (si_call_addr, si_syscall, si_arch): Define new macro.
47926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47927 _sigsys.
47928 (si_call_addr, si_syscall, si_arch): Define new marcro.
47929 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47930 _sigsys.
47931 (si_call_addr, si_syscall, si_arch): Define new macro.
47932 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47933 _sigsys.
47934 (si_call_addr, si_syscall, si_arch): Define new macro.
47935
47936 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47937
47938 [BZ #13717]
47939 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47940 Change to 2.4.21 where previously 2.4.1.
47941 * sysdeps/unix/sysv/linux/configure: Regenerated.
47942 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47943 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47944 Linux kernel version.
47945 (__ASSUME_STD_AUXV): Remove.
47946 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47947 kernel version.
47948 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47949 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47950 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47951 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47952 (__ASSUME_NETLINK_SUPPORT): Likewise.
47953 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47954 (__no_netlink_support): Remove conditional definition.
47955 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47956 Remove.
47957 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47958 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47959 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47960 (if_nameindex_ioctl): Remove.
47961 (if_nameindex_netlink): Do not handle __no_netlink_support.
47962 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47963 code.
47964 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47965 Remove conditional code.
47966 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47967 code.
47968 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47969 unconditional.
47970 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47971 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47972 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47973 Remove.
47974 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47975 [!__ASSUME_STD_AUXV]: Remove conditional code.
47976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47977 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47978 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47980 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47981 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47982 code.
47983 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47985 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47986 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47987 conditional code.
47988 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47990 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47991 code.
47992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47993 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47994 conditional code.
47995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47996 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47997 code unconditional.
47998 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47999 conditional code.
48000 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48001 unconditional.
48002 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48003 conditional code.
48004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48005 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48006 unconditional.
48007 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48008 conditional code.
48009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48010 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48011 code unconditional.
48012 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48013 conditional code.
48014 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48015 unconditional.
48016 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48017 conditional code.
48018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48019 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48020 code unconditional.
48021 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48022 conditional code.
48023 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48024 unconditional.
48025 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48026 conditional code.
48027
48028 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48029
48030 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48031 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48032 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48033 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48034 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48035 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48036 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48037 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48038 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48039 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48040 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48041 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48042 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48043 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48044 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48045 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48046 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48048 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48050 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48051 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48052 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48053
48054 2012-07-25 Florian Weimer <fweimer@redhat.com>
48055
48056 * Versions.def: Add GLIBC_2.17.
48057 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48058 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48059 Introduce __libc_secure_getenv.
48060 * stdlib/Versions (2.17): Add secure_getenv
48061 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48062 * stdlib/secure-getenv.c: Rename __secure_getenv to
48063 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48064 symbol __secure_getenv for GLIBC_2.0.
48065 * stdlib/tst-secure-getenv.c: New.
48066 * stdlib/Makefile (tests): Add testcase.
48067 * manual/startup.texi (Environment Access): Document
48068 secure_getenv.
48069 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48070 __libc_secure_getenv.
48071 * inet/ruserpass.c (ruserpass): Likewise.
48072 * malloc/mtrace.c (mtrace): Likewise.
48073 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48074 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48075 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48076 * sysdeps/posix/tempname.c: Likewise. Evaluate
48077 HAVE_SECURE_GETENV.
48078 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48079 __secure_getenv to __libc_secure_getenv.
48080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48082 Likewise.
48083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48084 Likewise.
48085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48092
48093 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48094
48095 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48096 (struct La_i86_retval): Likewise.
48097 (struct La_x86_64_regs): Likewise.
48098 (struct La_x86_64_retval): Likewise.
48099 (struct La_x32_regs): Likewise.
48100 (struct La_x32_retval): Likewise.
48101 (struct La_ppc32_regs): Likewise.
48102 (struct La_ppc32_retval): Likewise.
48103 (struct La_ppc64_regs): Likewise.
48104 (struct La_ppc64_retval): Likewise.
48105 (struct La_sh_regs): Likewise.
48106 (struct La_sh_retval): Likewise.
48107 (struct La_s390_32_regs): Likewise.
48108 (struct La_s390_32_retval): Likewise.
48109 (struct La_s390_64_regs): Likewise.
48110 (struct La_s390_64_retval): Likewise.
48111 (struct La_sparc32_regs): Likewise.
48112 (struct La_sparc32_retval): Likewise.
48113 (struct La_sparc64_regs): Likewise.
48114 (struct La_sparc64_retval): Likewise.
48115 (struct audit_ifaces): Remove architecture-specific pltenter and
48116 pltexit members.
48117 * sysdeps/i386/ldsodefs.h: New file.
48118 * sysdeps/powerpc/ldsodefs.h: Likewise.
48119 * sysdeps/s390/ldsodefs.h: Likewise.
48120 * sysdeps/sh/ldsodefs.h: Likewise.
48121 * sysdeps/sparc/ldsodefs.h: Likewise.
48122 * sysdeps/x86_64/ldsodefs.h: Likewise.
48123
48124 2012-07-25 Marek Polacek <polacek@redhat.com>
48125
48126 [BZ #6808]
48127 * math/libm-test.inc (yn_test): Add another test.
48128 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48129 to ERANGE when the result is +-Inf.
48130 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48131 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48132 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48133 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48134
48135 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48136
48137 * conform/data/time.h-data (NULL): Use macro-constant. Require
48138 equal to 0.
48139 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48140 clock_t.
48141 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48142
48143 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48144
48145 * configure.in <sysdeps resolving>: Correct printing
48146 Implies_before.
48147 * configure: Regenerate.
48148
48149 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48150
48151 * math/w_ilogb.c: Include <limits.h>.
48152 * math/w_ilogbl.c: Likewise.
48153
48154 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48155
48156 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48157 va_copy. Document allowing for unavailable va_copy only as
48158 pre-C99 compatibility.
48159 * manual/string.texi (Copying and Concatenation): Use va_copy
48160 instead of __va_copy in concat example.
48161
48162 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48163
48164 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48165 (__sendto): Use create_address_port. Initialize APORT and deallocate
48166 it if not null.
48167
48168 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48169 with O_NOLINK passed to __file_name_lookup.
48170
48171 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48172 with O_NOLINK passed to __file_name_lookup.
48173
48174 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48175 negative N or less than NGIDS.
48176
48177 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48178 type to string_t. Set ERANGE as errno and return it if NAME is not big
48179 enough. Use memcpy instead of strncpy.
48180
48181 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48182
48183 * elf/Makefile (check-data): Remove.
48184 (localplt.data): New vpath directive.
48185 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48186 instead of $(check-data).
48187 * scripts/data/localplt-generic.data: Move to ...
48188 * sysdeps/generic/localplt.data: ... here.
48189 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48190 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48191 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48193 ... here.
48194 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48196 ... here.
48197 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48199 ... here.
48200 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48202 ... here.
48203 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48205 ... here.
48206 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48208 ... here.
48209
48210 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48211
48212 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48213 PPC32 and PPC64 files.
48214 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48215 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48216
48217 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48218
48219 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48220 __makecontext_ret to ...
48221 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48222 ... here and call exit if uc_link is NULL. New file.
48223 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48224 __makecontext_ret.S.
48225 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48226 __makecontext_ret to ...
48227 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48228 ... here and call exit if uc_link is NULL. New file.
48229 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48230 __makecontext_ret.S.
48231
48232 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48233
48234 * elf/elf.h (R_390_IRELATIVE): New definition.
48235 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48236 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48237 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48238 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48239 (elf_machine_lazy_rel): Likewise.
48240 * sysdeps/s390/dl-irel.h: New file.
48241 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48242 * sysdeps/s390/s390-64/memset.S: New asm code.
48243 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48244 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48245 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48246 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48247 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48248 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48249 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48250 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48251 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48252 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48253 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48254 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48255 * sysdeps/s390/s390-32/memset.S: New asm code.
48256 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48257
48258 2012-07-17 Marek Polacek <polacek@redhat.com>
48259
48260 [BZ #14349]
48261 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48262 * sysdeps/s390/s390-64/configure.in: Likewise.
48263 * sysdeps/sparc/configure.in: Likewise.
48264 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48265 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48266 * sysdeps/i386/configure.in: Likewise.
48267 * sysdeps/x86_64/configure.in: Likewise.
48268 * sysdeps/sh/configure.in: Likewise.
48269 * sysdeps/s390/s390-32/configure: Regenerated.
48270 * sysdeps/s390/s390-64/configure: Likewise.
48271 * sysdeps/x86_64/configure: Likewise.
48272 * sysdeps/sh/configure: Likewise.
48273 * sysdeps/powerpc/powerpc64/configure: Likewise.
48274 * sysdeps/powerpc/powerpc32/configure: Likewise.
48275 * sysdeps/sparc/configure: Likwise.
48276 * sysdeps/i386/configure: Likewise.
48277
48278 * elf/dl-open.c: Comment fixes.
48279
48280 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48281
48282 * Makefile [CXX] (check-data): Remove.
48283 [CXX] (c++-types.data): New vpath directive.
48284 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48285 vpath. Do not allow for C++ type data being missing.
48286 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48287 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48288 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48289 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48290 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48291 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48292 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48294 ... here.
48295 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48297 ... here.
48298 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48300 ... here.
48301 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48303 ... here.
48304 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48306 ... here.
48307 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48309 ... here.
48310 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48312 ... here.
48313 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48315
48316 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48317 definitions to architecture-specific files.
48318 (TLS_IE): Likewise.
48319 (TLS_LD): Likewise.
48320 (TLS_GD): Likewise.
48321 * sysdeps/i386/tls-macros.h: New file.
48322 * sysdeps/powerpc/tls-macros.h: Likewise.
48323 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48324 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48325 * sysdeps/sh/tls-macros.h: Likewise.
48326 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48327 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48328 * sysdeps/x86_64/tls-macros.h: Likewise.
48329
48330 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48331
48332 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48333 zero value for regular exit case.
48334
48335 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48336 (__start_context): Preserve zero value for regular exit case.
48337
48338 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48339 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48340
48341 * manual/setjmp.texi (setcontext): Clarify normal process
48342 termination when uc_link is the null pointer.
48343 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48344 exit call.
48345
48346 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48347
48348 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48349 preprocessor. Test for each exception mask separately.
48350
48351 2012-07-16 Andreas Jaeger <aj@suse.de>
48352
48353 * po/ru.po: Update from translation team.
48354
48355 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48356
48357 * conform/data/string.h-data (NULL): Use macro-constant. Require
48358 equal to 0.
48359 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48360 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48361 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48362 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48364
48365 2012-07-13 Andreas Jaeger <aj@suse.de>
48366
48367 * po/fr.po: Update from translation team.
48368
48369 2012-07-12 Marek Polacek <polacek@redhat.com>
48370
48371 [BZ #14173]
48372 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48373 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48374 loop condition.
48375
48376 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48377
48378 [BZ #13717]
48379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48380 Change to 2.4.1 where previously 2.4.0.
48381 * sysdeps/unix/sysv/linux/configure: Regenerated.
48382 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48383 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48384 version.
48385 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48386 (__ASSUME_AT_CLKTCK): Remove.
48387 (__ASSUME_AT_PAGESIZE): Likewise.
48388 (__ASSUME_AT_XID): Likewise.
48389 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48390 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48391 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48392 unconditionally.
48393 (HAVE_AUX_PAGESIZE): Likewise.
48394 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48395 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48396 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48397
48398 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48399
48400 [BZ #14307]
48401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48402 the temporary buffer used to invoke __gethostbyname2_r,
48403 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48404 host_data / struct gaih_addrtuple.
48405 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48406 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48407 header file nss/nsswitch.h.
48408 * nss/nsswitch.h (global scope): Add definition of implementation
48409 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48410 resolv/nss_dns/dns-host.c).
48411
48412 2012-07-11 Andreas Jaeger <aj@suse.de>
48413
48414 * po/fr.po: Update from translation team.
48415
48416 * po/sv.po: Update from translation team
48417 * po/fr.po: Another update from translation team.
48418
48419 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48420
48421 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48422 for subnormals or multiply small sinh result by itself.
48423 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48425
48426 2012-07-11 David S. Miller <davem@davemloft.net>
48427
48428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48429
48430 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48431
48432 [BZ #14347]
48433 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48434 (INTERNAL_MARK): Shift it here.
48435
48436 2012-07-10 Marek Polacek <polacek@redhat.com>
48437
48438 [BZ #14151]
48439 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48440 libc_cv_asm_global_directive with .globl.
48441 * configure: Regenerated.
48442 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48443 with .globl.
48444 * sysdeps/i386/configure: Regenerated.
48445 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48446 with .globl.
48447 * sysdeps/x86_64/configure: Regenerated.
48448 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48449 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48450 * elf/tst-unique2mod2.c: Likewise.
48451 * elf/tst-unique2mod1.c: Likewise.
48452 * elf/tst-unique1mod2.c: Likewise.
48453 * elf/tst-unique1mod1.c: Likewise.
48454 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48455 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48456 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48457 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48458 * sysdeps/mach/sysdep.h: Likewise.
48459 * sysdeps/i386/sysdep.h: Likewise.
48460 * sysdeps/i386/i386-mcount.S: Likewise.
48461 * sysdeps/x86_64/_mcount.S: Likewise.
48462 * sysdeps/x86_64/sysdep.h: Likewise.
48463 * sysdeps/sh/_mcount.S: Likewise.
48464 * sysdeps/sh/sysdep.h: Likewise.
48465 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48466 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48467 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48468 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48469 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48470 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48471 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48472 * locale/localeinfo.h: Likewise.
48473 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48474 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48475
48476 2012-07-09 Roland McGrath <roland@hack.frob.com>
48477
48478 [BZ #14336]
48479 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48480 system".
48481 * manual/message.texi (The Uniforum approach): Likewise.
48482 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48483 (glibc iconv Implementation): Likewise.
48484
48485 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48486
48487 [BZ #14337]
48488 * math/s_clog.c (__clog): Avoid scaling a value down where that
48489 could result in underflow.
48490 * math/s_clog10.c (__clog10): Likewise.
48491 * math/s_clog10f.c (__clog10f): Likewise.
48492 * math/s_clog10l.c (__clog10l): Likewise.
48493 * math/s_clogf.c (__clogf): Likewise.
48494 * math/s_clogl.c (__clogl): Likewise.
48495 * math/libm-test.inc (clog_test): Add more tests.
48496 (clog10_test): Likewise.
48497 * sysdeps/i386/fpu/libm-test-ulps: Update.
48498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48499
48500 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48501
48502 [BZ #14283]
48503 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48504 by 7 not 8 to examine high bit of fractional part.
48505
48506 [BZ #14042]
48507 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48508 for call to __mcount_internal.
48509 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48510 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48511 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48512
48513 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48514
48515 [BZ #14154]
48516 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48517 approximation for values within 0x1p-13f of an odd multiple of
48518 pi/4.
48519 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48520 exception. Add more tests.
48521 * sysdeps/i386/fpu/libm-test-ulps: Update.
48522
48523 [BZ #6778]
48524 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48525 inputs and return -1 for them. Do not check for +Inf in case not
48526 reachable for +Inf.
48527 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48528 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48529 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48530 and return -1 for them. Do not check for +Inf in case not
48531 reachable for +Inf.
48532 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48533 define.
48534 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48535 and return -1 for them. Do not check for +Inf in case not
48536 reachable for +Inf.
48537 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48538 spurious underflow.
48539 * sysdeps/i386/fpu/libm-test-ulps: Update.
48540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48541
48542 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48543
48544 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48545
48546 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48547
48548 [BZ #14157]
48549 [BZ #14331]
48550 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48551 could result in spurious underflow. Scale down values above
48552 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48553 * math/s_csqrtf.c (__csqrtf): Likewise.
48554 * math/s_csqrtl.c (__csqrtl): Likewise.
48555 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48556 spurious underflow.
48557 * sysdeps/i386/fpu/libm-test-ulps: Update.
48558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48559
48560 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48561
48562 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48563 xopen-msg.sed.
48564 * catgets/xopen-msg.awk: New file.
48565 * catgets/xopen-msg.sed: Removed.
48566
48567 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48568 po2text.sed.
48569 * intl/po2test.awk: New file.
48570 * intl/po2test.sed: Removed.
48571
48572 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48573
48574 [BZ #14328]
48575 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48576 or multiply small sinh result by itself.
48577 * math/s_ctanf.c (__ctanf): Likewise.
48578 * math/s_ctanh.c (__ctanh): Likewise.
48579 * math/s_ctanhf.c (__ctanhf): Likewise.
48580 * math/s_ctanhl.c (__ctanhl): Likewise.
48581 * math/s_ctanl.c (__ctanl): Likewise.
48582 * math/libm-test.inc (ctan_test_tonearest): New function.
48583 (ctan_test_towardzero): Likewise.
48584 (ctan_test_downward): Likewise.
48585 (ctan_test_upward): Likewise.
48586 (ctanh_test_tonearest): Likewise.
48587 (ctanh_test_towardzero): Likewise.
48588 (ctanh_test_downward): Likewise.
48589 (ctanh_test_upward): Likewise.
48590 (main): Call these new functions.
48591 * sysdeps/i386/fpu/libm-test-ulps: Update.
48592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48593
48594 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48595
48596 * .gitignore: Delete /ports entry.
48597
48598 2012-07-03 Andreas Jaeger <aj@suse.de>
48599
48600 * po/bg.po: Update from translation team.
48601 * po/cs.po: Likewise.
48602 * po/de.po: Likewise.
48603 * po/hr.po: Likewise.
48604 * po/nl.pl: Likewise.
48605 * po/pl.po: Likewise.
48606 * po/vi.po: Likewise.
48607
48608 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48609
48610 * Makeconfig [!+link] (+link-before-libc): New variable.
48611 [!+link] (+link-after-libc): Likewise.
48612 [!+link] (+link-tests): Likewise.
48613 [!+link] (+link): Define in terms of $(+link-before-libc) and
48614 $(+link-after-libc).
48615 [!+link-static] (+link-static-before-libc): New variable.
48616 [!+link-static] (+link-static-after-libc): Likewise.
48617 [!+link-static] (+link-static-tests): Likewise.
48618 [!+link-static] (+link-static): Define in terms of
48619 $(+link-static-before-libc) and $(+link-static-after-libc).
48620 [build-shared] (link-libc-before-gnulib): New variable.
48621 [build-shared] (link-libc-tests): Likewise.
48622 [build-shared] (link-libc): Define in terms of
48623 $(link-libc-before-gnulib).
48624 [!build-shared] (link-libc-tests): New variable.
48625 (link-libc-static-tests): New variable.
48626 [!gnulib] (gnulib-arch): New variable.
48627 [!gnulib] (gnulib-tests): Likewise.
48628 [!gnulib] (static-gnulib-arch): Likewise.
48629 [!gnulib] (static-gnulib-tests): Likewise.
48630 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48631 Define with "=" instead of ":=".
48632 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48633 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48634 * Rules (binaries-all-notests): New variable.
48635 (binaries-all-tests): Likewise.
48636 (binaries-static-notests): Likewise.
48637 (binaries-static-tests): Likewise.
48638 (binaries-all): Define using $(binaries-all-notests) and
48639 $(binaries-all-tests).
48640 (binaries-static): Define using $(binaries-static-notests) and
48641 $(binaries-static-tests).
48642 (binaries-shared-tests): New variable.
48643 (binaries-shared-notests): Likewise.
48644 (binaries-shared): Remove variable.
48645 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48646 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48647 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48648 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48649 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48650 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48651 * elf/Makefile (sln-modules): New variable.
48652 (extra-objs): Add $(sln-modules:=.o).
48653 (ldconfig-modules): Add static-stubs.
48654 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48655 * elf/static-stubs.c: New file.
48656
48657 [BZ #14283]
48658 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48659 by 7 not 8 to examine high bit of fractional part. Use volatile
48660 variables when splitting into final array of floats if
48661 __FLT_EVAL_METHOD__ != 0.
48662 * math/libm-test.inc (cos_test): Add another test.
48663 (sin_test): Likewise.
48664 * sysdeps/i386/fpu/libm-test-ulps: Update.
48665
48666 [BZ #14273]
48667 * math/libm-test.inc (cosh_test): Add more tests.
48668
48669 * version.h (RELEASE): Set to "development".
48670 (VERSION): Set to "2.16.90".
48671
48672 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48673
48674 * NEWS: Update copyright. Remove last-updated date.
48675 Mention math library bug fixes and timezone data changes.
48676 * README: Mention GNU/Hurd, x32, and HPPA support status.
48677
48678 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48679
48680 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48681
48682 2012-06-27 Andreas Jaeger <aj@suse.de>
48683
48684 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48685
48686 2012-06-25 Andreas Jaeger <aj@suse.de>
48687
48688 * sysdeps/s390/fpu/libm-test-ulps: Update.
48689
48690 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48691 Thomas Schwinge <thomas@codesourcery.com>
48692
48693 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48694 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48696 fanotify_mark.
48697
48698 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48699
48700 * sysdeps/mach/start.c: Remove file.
48701 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48702 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48703 * sysdeps/sh/init-first.c: Likewise.
48704
48705 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48706 registers for frame unwinding purposes, add CFI directives.
48707 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48708 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48709 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48710 Likewise.
48711
48712 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48713 __fortify_fail returning.
48714 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48715
48716 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48717 sysdeps/sh/____longjmp_chk.S.
48718 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48719 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48720 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48721 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48722
48723 * sysdeps/sh/abort-instr.h: New file.
48724 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48725 process in case exit returns.
48726
48727 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48728 initialize the GOT register before use.
48729
48730 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48731 calculation of ARGC > 4.
48732
48733 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48734 meaningful names to some local labels.
48735
48736 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48737 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48738
48739 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48740 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48741 (__arch_compare_and_exchange_val_16_acq): Likewise.
48742 (__arch_compare_and_exchange_val_32_acq): Likewise.
48743 (atomic_exchange_and_add): Fix gUSA sequence.
48744 (atomic_add): Likewise.
48745 (atomic_add_negative): Likewise.
48746 (atomic_add_zero): Likewise.
48747 (atomic_bit_test_set): Likewise.
48748
48749 2012-06-22 Andreas Schwab <schwab@redhat.com>
48750
48751 [BZ #13579]
48752 * include/link.h (struct link_map): Add l_free_initfini.
48753 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48754 l_initfini.
48755 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48756 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48757 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48758 set.
48759
48760 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48761
48762 * configure.in: Use AC_LANG_SOURCE.
48763 * configure: Regenerate.
48764
48765 2012-06-22 Roland McGrath <roland@hack.frob.com>
48766
48767 * configure.in (libc_cv_localstatedir): New substituted variable.
48768 * configure: Regenerated.
48769 * config.make.in (localstatedir): New variable, substituted from
48770 libc_cv_localstatedir.
48771 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48772 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48773 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48774 * sysdeps/gnu/configure: Regenerated.
48775
48776 2012-06-21 Jeff Law <law@redhat.com>
48777
48778 [BZ #14277]
48779 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48780 free. Simplify list management for _LIBC case.
48781
48782 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48783
48784 [BZ #14273]
48785 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48786 Clear sign bit of 64-bit integer value before comparing against
48787 overflow value.
48788
48789 * sysdeps/mach/configure: Regenerated.
48790
48791 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48792
48793 [BZ #14278]
48794 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48795
48796 2012-06-21 Jeff Law <law@redhat.com>
48797
48798 [BZ #13882]
48799 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48800 uint16_t for elements in the "seen" array to avoid char overflows.
48801 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48802 * elf/dl-open.c (dl_open_worker): Likewise.
48803
48804 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48805
48806 * scripts/list-sources.sh: Scan PORTS for translations.
48807 * po/libc.pot: Regenerated.
48808
48809 2012-06-21 Andreas Jaeger <aj@suse.de>
48810
48811 [BZ #12194]
48812 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48813 warning.
48814 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48815 * bits/byteswap-16.h (__bswap_16): Likewise.
48816 * bits/byteswap.h (__bswap_constant_16): Likewise.
48817
48818 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48819
48820 [BZ #14117]
48821 * sysdeps/i386/fpu_control.h: Removed.
48822 * sysdeps/x86_64/fpu_control.h: Moved to ...
48823 * sysdeps/x86/fpu_control.h: Here.
48824
48825 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48826 (_FPU_SETCW): Likewise.
48827
48828 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48829
48830 [BZ #14117]
48831 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48832 * sysdeps/x86/fpu/bits/mathinline.h: This.
48833 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48834
48835 [BZ #14050]
48836 [BZ #14117]
48837 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48838 functions if __x86_64__ is defined.
48839
48840 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48841
48842 * string/endian.h: Add !__ASSEMBLER__ condition for including
48843 conversion interfaces.
48844
48845 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48846
48847 [BZ #14241]
48848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48849 of ABS(x) in calculating zero to negative powers other than odd
48850 integers.
48851 * math/libm-test.inc (pow_test): Add more tests.
48852
48853 2012-06-15 Andreas Jaeger <aj@suse.de>
48854
48855 * manual/contrib.texi (Contributors): Update entry of Liubov
48856 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48857 Machado Filho.
48858
48859 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48860
48861 * string/string.h: Add __wur to GNU version of strerror_r.
48862
48863 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48864
48865 [BZ #14229]
48866 * string/Makefile (tests): Add tst-strtok_r.
48867 * string/tst-strtok_r.c: New file.
48868 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48869 RAX_LP/RDX_LP on SAVE_PTR.
48870
48871 2012-06-14 Roland McGrath <roland@hack.frob.com>
48872
48873 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48874
48875 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48876
48877 * libm_test.inc (csqrt_test): Allow more spurious underflow
48878 exceptions.
48879 (j0_test): Likewise.
48880 (j1_test): Likewise.
48881 (y0_test): Likewise.
48882 (y1_test): Likewise.
48883
48884 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48885
48886 * po/Makefile (libc.pot): Use UTF-8 charset.
48887
48888 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48889
48890 [BZ #14210]
48891 Suppress sign-conversion warning from FD_SET.
48892 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48893 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48894 not unsigned long int.
48895 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48896
48897 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48898
48899 [BZ #14050]
48900 [BZ #14117]
48901 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48902 __extern_always_inline instead of __extern_inline.
48903 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48904 (__signbit): Likewise.
48905 (__signbitl): Support C++ namespace.
48906 (lrintf): New inline function.
48907 (lrint): Likewise.
48908 (llrintf): Likewise.
48909 (llrint): Likewise.
48910 (fmaxf): Likewise.
48911 (fmax): Likewise.
48912 (fminf): Likewise.
48913 (fmin): Likewise.
48914 (rint): Likewise.
48915 (rintf): Likewise.
48916 (ceil): Likewise.
48917 (ceilf): Likewise.
48918 (floor): Likewise.
48919 (floorf): Likewise.
48920 (nearbyint): Likewise.
48921 (nearbyintf): Likewise.
48922
48923 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48924
48925 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48926 non-default versions.
48927
48928 2012-06-11 Roland McGrath <roland@hack.frob.com>
48929
48930 [BZ #14218]
48931 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48932
48933 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48934
48935 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48936 (FE_UPWARD, FE_DOWNWARD): Don't define.
48937 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48938 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48939
48940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48941 reading it.
48942 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48943 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48944
48945 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48946
48947 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48949 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48950 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48951
48952 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48953
48954 [BZ #14117]
48955 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48956 * sysdeps/i386/fpu/Implies: New file.
48957 * sysdeps/x86_64/fpu/Implies: Likewise.
48958 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48959 * sysdeps/x86/fpu/bits/fenv.h: This.
48960
48961 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48962 __SSE_MATH__.
48963
48964 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48965
48966 [BZ #14134]
48967 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48968 character 0xffff that matches the last element of the
48969 conversion table.
48970
48971 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48972
48973 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48974 fmodl commit.
48975
48976 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48977
48978 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48979 values higher than 25.6283.
48980
48981 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48982
48983 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48984 subnormal exponent extraction and add some __builtin_expect.
48985 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48986 Fix for subnormal mantissa calculation.
48987
48988 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48989
48990 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48991 cpu2 is -1 and errno is not ENOSYS.
48992
48993 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48994
48995 [BZ #14117]
48996 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48997 * sysdeps/x86/bits/string.h: This.
48998 * sysdeps/x86_64/bits/string.h: Removed.
48999
49000 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49001 if not compiling for x86-64, but compiling for >= i486.
49002
49003 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49004 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49005
49006 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49007 New macro from Linux kernel 3.4.0.
49008 (FP_XSTATE_MAGIC2): Likewise.
49009 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49010 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49011 (struct _fpx_sw_bytes): New struct.
49012 (struct _xsave_hdr): Likewise.
49013 (struct _ymmh_state): Likewise.
49014 (struct _xstate): Likewise.
49015
49016 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49017 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49018 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49019 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49020 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49021 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49022
49023 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49024 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49025 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49026 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49027 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49028 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49029
49030 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49031
49032 [BZ #13743]
49033 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49034 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49035 (sysdep_headers): Include sys/platform/ppc.h.
49036 * sysdeps/powerpc/test-gettimebase.c: Test for
49037 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49038 * manual/Makefile (appendices): Include platform.texi.
49039 * manual/contrib.texi (Contributors): Update @node pointers.
49040 * manual/maint.texi (Maintenance): Likewise.
49041 (Platform): New node.
49042 * manual/platform.texi: New file. Document the new features.
49043
49044 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49045 Jakub Jelinek <jakub@redhat.com>
49046
49047 [BZ #14188]
49048 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49049 where __builtin_expect is unavailable.
49050
49051 2012-06-03 David S. Miller <davem@davemloft.net>
49052
49053 * stdlib/longlong.h: Updated from GCC.
49054
49055 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49056
49057 [BZ #14042]
49058 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49059 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49060 __mcount_internal.
49061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49062 (GLIBC_2.16): Likewise.
49063
49064 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49065
49066 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49067
49068 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49069
49070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49071 (default-abi): New variable.
49072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49073 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49074 variable.
49075 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49076 Likewise.
49077 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49078 Likewise.
49079 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49080 Likewise.
49081
49082 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49083 definition. Document in comment.
49084
49085 2012-06-01 David S. Miller <davem@davemloft.net>
49086
49087 * stdlib/longlong.h: Updated from GCC.
49088
49089 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49090
49091 [BZ #14117]
49092 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49093 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49094 sys/debugreg.h sys/io.h here.
49095 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49096 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49097 sys/io.h.
49098 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49099 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49100 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49101 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49102 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49103 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49104
49105 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49106 Define only if __x86_64__ is defined.
49107
49108 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49109
49110 [BZ #14048]
49111 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49112 Use int64_t for variable i.
49113 * math/libm-test.inc (fmod_test): Add more tests.
49114
49115 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49116 z computation is not scheduled after fetestexcept.
49117 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49118 Use math_force_eval instead of asm to ensure calculation scheduled
49119 before exception test.
49120 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49121 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49122
49123 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49124
49125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49126 computation is not scheduled after fetestexcept.
49127
49128 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49129
49130 [BZ #14117]
49131 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49132 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49133
49134 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49135
49136 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49137 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49138
49139 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49140
49141 [BZ #14117]
49142 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49143 <bits/wordsize.h>.
49144 (__WCHAR_MIN): Support __WORDSIZE == 64.
49145 (__WCHAR_MAX): Likewise.
49146
49147 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49148 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49149
49150 [BZ #14183]
49151 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49152 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49153
49154 [BZ #14117]
49155 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49156 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49157
49158 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49159 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49160
49161 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49162 Defined to 1 if __x86_64__ isn't defined.
49163 (_STAT_VER_LINUX_OLD): New.
49164 (st_atime): Remove duplicate.
49165 (st_mtime): Likewise.
49166 (st_ctime): Likewise.
49167
49168 2012-05-31 David S. Miller <davem@davemloft.net>
49169
49170 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49171 entries.
49172
49173 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49174
49175 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49176 gen-libm-test.pl.
49177
49178 [BZ #14132]
49179 * elf/dl-reloc.c: Include <_itoa.h>.
49180 (_dl_reloc_bad_type): Remove use of INTUSE.
49181 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49182 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49183 * stdio-common/psiginfo.c (psiginfo): Likewise.
49184 * stdio-common/psignal.c (psignal): Likewise.
49185 * string/strsignal.c (strsignal): Likewise.
49186 * include/signal.h (_sys_siglist): Declare hidden proto.
49187 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49188 INTVARDEF with libc_hidden_data_def.
49189 * stdio-common/itoa-udigits.c: Likewise.
49190 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49191 (_itoa_lower_digits_internal): Remove declaration.
49192 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49193 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49194 (_sys_sigabbrev_internal): Remove aliases.
49195 (_sys_siglist): Define hidden alias.
49196
49197 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49198
49199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49200 bits/sysctl.h.
49201
49202 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49203
49204 [BZ #14117]
49205 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49206 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49207
49208 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49209 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49210 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49211 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49213 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49214
49215 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49216 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49217 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49218
49219 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49220 with __addr.
49221 (insw): Likewise.
49222 (insl): Likewise.
49223 (outsb): Likewise.
49224 (outsw): Likewise.
49225 (outsl): Likewise.
49226
49227 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49228 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49229 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49230
49231 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49232 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49233 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49234 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49235 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49236 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49237
49238 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49239 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49240
49241 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49242 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49243
49244 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49245 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49246 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49247
49248 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49249 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49250 to ...
49251 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49252
49253 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49254 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49255 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49256
49257 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49258 for x86-64.
49259 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49260
49261 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49262
49263 * math/math.h (M_El): Use two more decimal places.
49264 (M_LOG2El): Likewise.
49265 (M_LOG10El): Likewise.
49266 (M_LN2l): Likewise.
49267 (M_LN10l): Likewise.
49268 (M_PIl): Likewise.
49269 (M_PI_2l): Likewise.
49270 (M_PI_4l): Likewise.
49271 (M_1_PIl): Likewise.
49272 (M_2_PIl): Likewise.
49273 (M_2_SQRTPIl): Likewise.
49274 (M_SQRT2l): Likewise.
49275 (M_SQRT1_2l): Likewise.
49276
49277 2012-05-31 David S. Miller <davem@davemloft.net>
49278
49279 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49280 values between float registers.
49281 * sysdeps/sparc/sparc64/memset.S: Likewise.
49282 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49283
49284 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49285
49286 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49287 -D_FORTIFY_SOURCE=1.
49288 (CPPFLAGS-tst-longjmp_chk.c): Define.
49289 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49290 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49291 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49292 CFLAGS-tst-wchar-h.c.
49293
49294 2012-05-31 Marek Polacek <polacek@redhat.com>
49295
49296 [BZ #14132]
49297 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49298 __endmntent_internal): Remove declaration.
49299 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49300 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49301 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49302
49303 2012-05-30 David S. Miller <davem@davemloft.net>
49304
49305 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49306 (___Q_simulate_exceptions): Use real FP ops rather than writing
49307 into the %fsr.
49308 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49309 Likewise.
49310
49311 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49312
49313 [BZ #14117]
49314 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49315 * sysdeps/x86/bits/xtitypes.h: This.
49316
49317 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49318 * sysdeps/x86/bits/wordsize.h: This.
49319
49320 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49321 * sysdeps/x86/bits/huge_vall.h: This.
49322
49323 * sysdeps/i386/bits/select.h: Removed.
49324 * sysdeps/x86_64/bits/select.h: Renamed to ...
49325 * sysdeps/x86/bits/select.h: This.
49326
49327 * sysdeps/i386/bits/setjmp.h: Removed.
49328 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49329 * sysdeps/x86/bits/setjmp.h: This.
49330
49331 * sysdeps/i386/bits/mathdef.h: Removed.
49332 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49333 * sysdeps/x86/bits/mathdef.h: This.
49334
49335 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49336
49337 [BZ #14132]
49338 * include/sys/socket.h (__connect_internal)
49339 (__libc_sa_len_internal): Remove declaration.
49340 (__connect, __libc_sa_len): Declare hidden_proto.
49341 (SA_LEN): Remove use of INTUSE.
49342 * socket/connect.c: Add libc_hidden_def.
49343 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49344 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49345 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49346 alias.
49347 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49348 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49349 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49350 of adding _internal alias.
49351
49352 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49353
49354 [BZ #14117]
49355 * sysdeps/i386/bits/link.h: Removed.
49356 * sysdeps/i386/bits/linkmap.h: Likewise.
49357 * sysdeps/x86_64/bits/link.h: Renamed to ...
49358 * sysdeps/x86/bits/link.h: This.
49359 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49360 * sysdeps/x86/bits/linkmap.h: This.
49361
49362 * sysdeps/i386/bits/endian.h: Removed.
49363 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49364 * sysdeps/x86/bits/endian.h: This.
49365
49366 * sysdeps/i386/bits/byteswap.h: Removed.
49367 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49368 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49369 * sysdeps/x86/bits/byteswap.h: This.
49370 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49371 * sysdeps/x86/bits/byteswap-16.h: This.
49372 * sysdeps/i386/Implies: Add x86.
49373 * sysdeps/x86_64/Implies: Likewise.
49374
49375 2012-05-30 David S. Miller <davem@davemloft.net>
49376
49377 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49378 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49379 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49380 (FP_TRAPPING_EXCEPTIONS): Define.
49381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49382 (FP_TRAPPING_EXCEPTIONS): Define.
49383 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49384 subnormals only when inexact has been signalled or underflow
49385 exceptions are enabled.
49386 (_FP_PACK_CANONICAL): Likewise.
49387
49388 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49389
49390 [BZ #14183]
49391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49392 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49393
49394 2012-05-30 Richard Henderson <rth@twiddle.net>
49395
49396 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49397 with #ifndef NOT_IN_libc.
49398
49399 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49400 marked to avoid plt entry.
49401
49402 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49403
49404 [BZ #14112]
49405 * Makeconfig (default-abi): New macro.
49406 (abi-includes): Likewise.
49407 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49408 $(abi-$(default-abi)-lib-soname) for soname if defined.
49409 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49410 abi-variants.
49411 * Makefile (installed-stubs): Likewise.
49412 * include/stubs-biarch.h: Removed.
49413 * scripts/lib-names.awk: Only handle one library at a time.
49414 * scripts/soversions.awk: Remove WORDSIZE support.
49415 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49416 entries.
49417 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49418 Removed.
49419 (syscall-list-default-condition): Likewise.
49420 (syscall-list-default-condition): Likewise.
49421 (syscall-list-includes): Likewise.
49422 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49423 syscall-list-* with abi-*. Handle undefined abi-variants.
49424 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49425 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49426 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49427 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49428 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49429 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49430 Removed.
49431 (syscall-list-32-options): Likewise.
49432 (syscall-list-32-condition): Likewise.
49433 (syscall-list-64-options): Likewise.
49434 (syscall-list-64-condition): Likewise.
49435 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49436 macro.
49437 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49438 Renamed to ...
49439 (abi-*): This.
49440 (abi-64-ld-soname): New macro.
49441 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49442 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49443 Renamed to ...
49444 (abi-*): This.
49445 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49446 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49447
49448 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49449
49450 * sysdeps/unix/sysv/linux/kernel-features.h
49451 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49452 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49453 include <kernel-features.h>.
49454 [!__NR_ftruncate64]: Remove conditional code.
49455 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49456 [__NR_ftruncate64]: Make code unconditional.
49457 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49458 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49459 include <kernel-features.h>.
49460 [!__NR_ftruncate64]: Remove conditional code.
49461 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49462 [__NR_ftruncate64]: Make code unconditional.
49463 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49465 include <kernel-features.h>.
49466 [!__NR_ftruncate64]: Remove conditional code.
49467 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49468 [__NR_ftruncate64]: Make code unconditional.
49469 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49471 include <kernel-features.h>.
49472 [!__NR_ftruncate64]: Remove conditional code.
49473 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49474 [__NR_ftruncate64]: Make code unconditional.
49475 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49476
49477 * configure.in (libc_cv_fpie): Weaken to a compile test using
49478 LIBC_TRY_CC_OPTION.
49479 * configure: Regenerated.
49480
49481 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49482
49483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49487 Refreshed.
49488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49494 Refreshed.
49495
49496 2012-05-27 David S. Miller <davem@davemloft.net>
49497
49498 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49499 (___Q_zero): New.
49500 (__Q_simulate_exceptions): Return void. Change to simulate
49501 exceptions by writing into the %fsr.
49502 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49503 (__Qp_handle_exceptions): Likewise.
49504 (numbers): Delete.
49505 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49506 __Qp_handle_exceptions.
49507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49508 __Qp_handle_exceptions.
49509 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49510 as unused and give dummy FP_RND_NEAREST initializer.
49511 (FP_INHIBIT_RESULTS): Define.
49512 (___Q_simulate_exceptions): Update declaration.
49513 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49514 formatting.
49515 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49516 as unused and give dummy FP_RND_NEAREST initializer.
49517 (__Qp_handle_exceptions): Update declaration.
49518 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49519 formatting.
49520
49521 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49522
49523 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49524 the temporary FPU control word.
49525 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49526 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49527 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49528 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49529 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49530 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49531 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49532 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49533 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49534 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49535 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49536
49537 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49538
49539 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49540 fields.
49541
49542 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49543
49544 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49545 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49546 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49547 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49548 Likewise.
49549 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49550 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49551 Likewise.
49552
49553 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49554
49555 * po/h.po: Update from translation team.
49556
49557 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49558
49559 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49560
49561 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49562 handling of denormals.
49563 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49564 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49565 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49566 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49570 Likewise.
49571
49572 2012-05-26 Marek Polacek <polacek@redhat.com>
49573
49574 [BZ #14152]
49575 * math/libm-test.inc (fma_test): Don't always expect underflow
49576 exception.
49577
49578 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49579
49580 [BZ #12416]
49581 * elf/tst-execstack.c: Include stackinfo.h.
49582 (do_test): Adjust test case to ensure that pthread_getattr_np
49583 behaviour remains the same after marking stack executable.
49584
49585 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49586
49587 * sysdeps/unix/sysv/linux/kernel-features.h
49588 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49589 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49590 kernel-features.h.
49591 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49592 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49593 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49594 kernel-features.h.
49595 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49596 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49597
49598 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49599
49600 * configure.in: Define the default includes to being none.
49601 * configure: Regenerated.
49602
49603 2012-05-25 Roland McGrath <roland@hack.frob.com>
49604
49605 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49606 * sysdeps/x86_64/setjmp.S: Likewise.
49607 * sysdeps/i386/bsd-setjmp.S: Likewise.
49608 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49609 * sysdeps/i386/setjmp.S: Likewise.
49610 * sysdeps/i386/__longjmp.S: Likewise.
49611 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49612 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49613
49614 * include/stap-probe.h: New file.
49615 * configure.in: Handle --enable-systemtap.
49616 * configure: Regenerated.
49617 * config.h.in (USE_STAP_PROBE): New #undef.
49618 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49619 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49620 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49621
49622 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49623
49624 [BZ #13717]
49625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49626 to 2.4.0 where earlier.
49627 * sysdeps/unix/sysv/linux/configure: Regenerated.
49628 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49629 <kernel-features.h>.
49630 [__ASSUME_32BITUIDS]: Make code unconditional.
49631 [!__ASSUME_32BITUIDS]: Remove conditional code.
49632 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49633 <kernel-features.h>.
49634 [__ASSUME_32BITUIDS]: Make code unconditional.
49635 [!__ASSUME_32BITUIDS]: Remove conditional code.
49636 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49637 [__ASSUME_32BITUIDS]: Make code unconditional.
49638 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49639 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49640 <kernel-features.h>.
49641 [__ASSUME_32BITUIDS]: Make code unconditional.
49642 [!__ASSUME_32BITUIDS]: Remove conditional code.
49643 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49644 <kernel-features.h>.
49645 [__ASSUME_32BITUIDS]: Make code unconditional.
49646 [!__ASSUME_32BITUIDS]: Remove conditional code.
49647 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49648 <kernel-features.h>.
49649 [__ASSUME_32BITUIDS]: Make code unconditional.
49650 [!__ASSUME_32BITUIDS]: Remove conditional code.
49651 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49652 <kernel-features.h>.
49653 [__ASSUME_32BITUIDS]: Make code unconditional.
49654 [!__ASSUME_32BITUIDS]: Remove conditional code.
49655 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49656 <kernel-features.h>.
49657 [__ASSUME_32BITUIDS]: Make code unconditional.
49658 [!__ASSUME_32BITUIDS]: Remove conditional code.
49659 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49660 <kernel-features.h>.
49661 [__ASSUME_32BITUIDS]: Make code unconditional.
49662 [!__ASSUME_32BITUIDS]: Remove conditional code.
49663 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49664 <kernel-features.h>.
49665 [__ASSUME_32BITUIDS]: Make code unconditional.
49666 [!__ASSUME_32BITUIDS]: Remove conditional code.
49667 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49668 <kernel-features.h>.
49669 [__ASSUME_32BITUIDS]: Make code unconditional.
49670 [!__ASSUME_32BITUIDS]: Remove conditional code.
49671 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49672 <kernel-features.h>.
49673 [__ASSUME_32BITUIDS]: Make code unconditional.
49674 [!__ASSUME_32BITUIDS]: Remove conditional code.
49675 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49676 <kernel-features.h>.
49677 [__ASSUME_32BITUIDS]: Make code unconditional.
49678 [!__ASSUME_32BITUIDS]: Remove conditional code.
49679 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49680 <kernel-features.h>.
49681 [__NR_setresgid] (__setresgid): Do not declare.
49682 [__ASSUME_32BITUIDS]: Make code unconditional.
49683 [!__ASSUME_32BITUIDS]: Remove conditional code.
49684 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49685 <kernel-features.h>.
49686 [__NR_setresuid] (__setresuid): Do not declare.
49687 [__ASSUME_32BITUIDS]: Make code unconditional.
49688 [!__ASSUME_32BITUIDS]: Remove conditional code.
49689 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49690 <kernel-features.h>.
49691 [__ASSUME_32BITUIDS]: Make code unconditional.
49692 [!__ASSUME_32BITUIDS]: Remove conditional code.
49693 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49694 <kernel-features.h>.
49695 [__ASSUME_32BITUIDS]: Make code unconditional.
49696 [!__ASSUME_32BITUIDS]: Remove conditional code.
49697 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49698 <kernel-features.h>.
49699 [__ASSUME_32BITUIDS]: Make code unconditional.
49700 [!__ASSUME_32BITUIDS]: Remove conditional code.
49701 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49702 <kernel-features.h>.
49703 [__ASSUME_32BITUIDS]: Make code unconditional.
49704 [!__ASSUME_32BITUIDS]: Remove conditional code.
49705 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49706 <kernel-features.h>.
49707 [__ASSUME_32BITUIDS]: Make code unconditional.
49708 [!__ASSUME_32BITUIDS]: Remove conditional code.
49709 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49710 <kernel-features.h>.
49711 [__ASSUME_32BITUIDS]: Make code unconditional.
49712 [!__ASSUME_32BITUIDS]: Remove conditional code.
49713 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49714 <kernel-features.h>.
49715 [__ASSUME_32BITUIDS]: Make code unconditional.
49716 [!__ASSUME_32BITUIDS]: Remove conditional code.
49717 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49718 <kernel-features.h>.
49719 [__ASSUME_32BITUIDS]: Make code unconditional.
49720 [!__ASSUME_32BITUIDS]: Remove conditional code.
49721 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49722 <kernel-features.h>.
49723 [__ASSUME_32BITUIDS]: Make code unconditional.
49724 [!__ASSUME_32BITUIDS]: Remove conditional code.
49725 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49726 <kernel-features.h>.
49727 [__ASSUME_32BITUIDS]: Make code unconditional.
49728 [!__ASSUME_32BITUIDS]: Remove conditional code.
49729 * sysdeps/unix/sysv/linux/kernel-features.h
49730 (__ASSUME_SETRESUID_SYSCALL): Remove.
49731 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49732 (__ASSUME_32BITUIDS): Likewise.
49733 (__ASSUME_LDT_WORKS): Likewise.
49734 (__ASSUME_O_DIRECTORY): Likewise.
49735 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49736 architecture but not kernel version.
49737 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49738 (__ASSUME_MMAP2_SYSCALL): Likewise.
49739 (__ASSUME_STAT64_SYSCALL): Likewise.
49740 (__ASSUME_IPC64): Likewise.
49741 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49742 <kernel-features.h>.
49743 [__ASSUME_32BITUIDS]: Make code unconditional.
49744 [!__ASSUME_32BITUIDS]: Remove conditional code.
49745 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49746 <kernel-features.h>.
49747 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49748 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49749 132096]: Remove conditional code.
49750 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49751 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49752 <kernel-features.h>.
49753 [__ASSUME_32BITUIDS]: Make code unconditional.
49754 [!__ASSUME_32BITUIDS]: Remove conditional code.
49755 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49756 <kernel-features.h>.
49757 [__ASSUME_32BITUIDS]: Make code unconditional.
49758 [!__ASSUME_32BITUIDS]: Remove conditional code.
49759 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49760 <kernel-features.h>.
49761 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49762 unconditional.
49763 (__setresgid): Do not declare.
49764 [__ASSUME_32BITUIDS]: Make code unconditional.
49765 [!__ASSUME_32BITUIDS]: Remove conditional code.
49766 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49767 <kernel-features.h>.
49768 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49769 unconditional.
49770 (__setresuid): Do not declare.
49771 [__ASSUME_32BITUIDS]: Make code unconditional.
49772 [!__ASSUME_32BITUIDS]: Remove conditional code.
49773 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49774 <kernel-features.h>.
49775 [__ASSUME_32BITUIDS]: Make code unconditional.
49776 [!__ASSUME_32BITUIDS]: Remove conditional code.
49777 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49778 <kernel-features.h>.
49779 [__ASSUME_32BITUIDS]: Make code unconditional.
49780 [!__ASSUME_32BITUIDS]: Remove conditional code.
49781
49782 2012-05-25 Richard Henderson <rth@twiddle.net>
49783
49784 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49785 dl_hwcap to ifunc resolver.
49786 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49787 elf_ifunc_invoke.
49788 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49789 dl_hwcap to ifunc resolver.
49790 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49791
49792 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49793
49794 [BZ #14153]
49795 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49796 for |x| <= 2**-26, not 2**-57.
49797 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49798 exception.
49799
49800 2012-05-24 Jeff Law <law@redhat.com>
49801
49802 * stdio-common/Makefile (tests): Add bug25.
49803 * stdio-common/bug25.c: New test.
49804
49805 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49806
49807 [BZ #13576]
49808 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49809 multiple of MALLOC_ALIGNMENT in size.
49810 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49811
49812 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49813
49814 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49815 Require >= 256.
49816 (FILENAME_MAX): Use macro-int-constant.
49817 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49818 (_IOFBF): Use macro-int-constant.
49819 (_IOLBF): Likewise.
49820 (_IONBF): Likewise.
49821 (SEEK_CUR): Likewise.
49822 (SEEK_END): Likewise.
49823 (SEEK_SET): Likewise.
49824 (TMP_MAX): Likewise.
49825 (EOF): Use macro-int-constant. Require < 0.
49826 (NULL): Use macro-constant. Require == 0.
49827 (stdin): Require type to be FILE *.
49828 (stdout): Likewise.
49829 (stderr): Likewise.
49830 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49831 macro-int-constant.
49832 (EXIT_SUCCESS): Likewise.
49833 (NULL): Use macro-constant. Require == 0.
49834 (RAND_MAX): Use macro-int-constant.
49835 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49836 [C99-based standards] (strtof): Require function.
49837 [C99-based standards] (strtold): Likewise.
49838 [C99-based standards] (strtoll): Likewise.
49839 [C99-based standards] (strtoull): Likewise.
49840 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49841 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49842 [ISO || ISO99 || ISO11] (math.h): Likewise.
49843 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49844 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49846
49847 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49848
49849 [BZ #14132]
49850 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49851 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49852 * intl/dgettext.c (DCGETTEXT): Likewise.
49853 * intl/gettext.c (DCGETTEXT): Likewise.
49854 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49855 * posix/regex_internal.h (gettext): Likewise.
49856 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49857 Remove declaration.
49858 * include/argz.h (__argz_count_internal)
49859 (__argz_stringify_internal): Remove declaration.
49860 (__argz_count, __argz_stringify): Declare hidden proto.
49861 * intl/dcgettext.c: Remove use of INTDEF.
49862 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49863 * string/argz-stringify.c: Likewise.
49864 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49865 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49866 Declare hidden proto.
49867 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49868 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49869 Declare hidden proto.
49870 * include/stdio.h (__asprintf_internal): Don't declare.
49871 (__asprintf): Don't define as macro. Declare hidden proto.
49872 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49873 (__fsetlocking): Declare hidden proto.
49874 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49875 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49876 hidden proto.
49877 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49878 (_IO_setlinebuf): Remove use of INTUSE.
49879 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49880 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49881 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49882 Remove declaration.
49883 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49884 (_IO_do_flush): Remove use of INTUSE.
49885 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49886 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49887 (_IO_adjust_column, _IO_least_wmarker)
49888 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49889 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49890 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49891 (_IO_default_doallocate, _IO_wdefault_doallocate)
49892 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49893 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49894 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49895 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49896 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49897 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49898 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49899 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49900 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49901 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49902 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49903 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49904 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49905 proto.
49906 (_IO_flush_all_internal, _IO_adjust_column_internal)
49907 (_IO_default_uflow_internal, _IO_default_finish_internal)
49908 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49909 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49910 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49911 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49912 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49913 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49914 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49915 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49916 (_IO_file_close_internal, _IO_file_close_it_internal)
49917 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49918 (_IO_file_init_internal, _IO_file_attach_internal)
49919 (_IO_file_fopen_internal, _IO_file_read_internal)
49920 (_IO_file_sync_internal, _IO_file_seek_internal)
49921 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49922 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49923 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49924 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49925 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49926 (_IO_list_all_internal, _IO_link_in_internal)
49927 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49928 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49929 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49930 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49931 (_IO_do_write_internal, _IO_padn_internal)
49932 (_IO_getline_info_internal, _IO_getline_internal)
49933 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49934 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49935 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49936 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49937 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49938 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49939 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49940 with libc_hidden_ver, remove use of INTUSE.
49941 * libio/genops.c: Likewise.
49942 * libio/freopen.c: Likewise.
49943 * libio/freopen64.c: Likewise.
49944 * libio/iofclose.c: Likewise.
49945 * libio/iofdopen.c: Likewise.
49946 * libio/iofflush.c: Likewise.
49947 * libio/iofflush_u.c: Likewise.
49948 * libio/iofgets.c: Likewise.
49949 * libio/iofgets_u.c: Likewise.
49950 * libio/iofopen.c: Likewise.
49951 * libio/iofopncook.c: Likewise.
49952 * libio/iofread.c: Likewise.
49953 * libio/iofread_u.c: Likewise.
49954 * libio/ioftell.c: Likewise.
49955 * libio/iofwrite.c: Likewise.
49956 * libio/iogetline.c: Likewise.
49957 * libio/iogets.c: Likewise.
49958 * libio/iogetwline.c: Likewise.
49959 * libio/iopadn.c: Likewise.
49960 * libio/iopopen.c: Likewise.
49961 * libio/ioseekoff.c: Likewise.
49962 * libio/ioseekpos.c: Likewise.
49963 * libio/iosetbuffer.c: Likewise.
49964 * libio/iosetvbuf.c: Likewise.
49965 * libio/ioungetc.c: Likewise.
49966 * libio/ioungetwc.c: Likewise.
49967 * libio/iovdprintf.c: Likewise.
49968 * libio/iovsprintf.c: Likewise.
49969 * libio/iovsscanf.c: Likewise.
49970 * libio/memstream.c: Likewise.
49971 * libio/obprintf.c: Likewise.
49972 * libio/oldfileops.c: Likewise.
49973 * libio/oldiofclose.c: Likewise.
49974 * libio/oldiofdopen.c: Likewise.
49975 * libio/oldiofopen.c: Likewise.
49976 * libio/oldiopopen.c: Likewise.
49977 * libio/oldstdfiles.c: Likewise.
49978 * libio/putc.c: Likewise.
49979 * libio/setbuf.c: Likewise.
49980 * libio/setlinebuf.c: Likewise.
49981 * libio/stdfiles.c: Likewise.
49982 * libio/strops.c: Likewise.
49983 * libio/vasprintf.c: Likewise.
49984 * libio/vscanf.c: Likewise.
49985 * libio/vsnprintf.c: Likewise.
49986 * libio/vswprintf.c: Likewise.
49987 * libio/wfiledoalloc.c: Likewise.
49988 * libio/wfileops.c: Likewise.
49989 * libio/wgenops.c: Likewise.
49990 * libio/wmemstream.c: Likewise.
49991 * libio/wstrops.c: Likewise.
49992 * libio/__fpurge.c: Likewise.
49993 * libio/__fsetlocking.c: Likewise.
49994 * assert/assert.c: Likewise.
49995 * debug/fgets_chk.c: Likewise.
49996 * debug/fgets_u_chk.c: Likewise.
49997 * debug/fread_chk.c: Likewise.
49998 * debug/fread_u_chk.c: Likewise.
49999 * debug/gets_chk.c: Likewise.
50000 * debug/obprintf_chk.c: Likewise.
50001 * debug/vasprintf_chk.c: Likewise.
50002 * debug/vdprintf_chk.c: Likewise.
50003 * debug/vsnprintf_chk.c: Likewise.
50004 * debug/vsprintf_chk.c: Likewise.
50005 * malloc/mtrace.c: Likewise.
50006 * misc/error.c: Likewise.
50007 * misc/syslog.c: Likewise.
50008 * stdio-common/asprintf.c: Likewise.
50009 * stdio-common/fxprintf.c: Likewise.
50010 * stdio-common/getw.c: Likewise.
50011 * stdio-common/isoc99_fscanf.c: Likewise.
50012 * stdio-common/isoc99_scanf.c: Likewise.
50013 * stdio-common/isoc99_vfscanf.c: Likewise.
50014 * stdio-common/isoc99_vscanf.c: Likewise.
50015 * stdio-common/isoc99_vsscanf.c: Likewise.
50016 * stdio-common/printf-prs.c: Likewise.
50017 * stdio-common/printf_fp.c: Likewise.
50018 * stdio-common/printf_fphex.c: Likewise.
50019 * stdio-common/printf_size.c: Likewise.
50020 * stdio-common/putw.c: Likewise.
50021 * stdio-common/scanf.c: Likewise.
50022 * stdio-common/sprintf.c: Likewise.
50023 * stdio-common/tmpfile.c: Likewise.
50024 * stdio-common/vfprintf.c: Likewise.
50025 * stdio-common/vfscanf.c: Likewise.
50026 * stdlib/strfmon_l.c: Likewise.
50027 * sunrpc/openchild.c: Likewise.
50028 * sunrpc/xdr_stdio.c: Likewise.
50029 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50030 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50031
50032 2012-05-24 Roland McGrath <roland@hack.frob.com>
50033
50034 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50035
50036 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50037 in the third column, to generate for the shared library an IFUNC
50038 that uses _dl_vdso_vsym.
50039 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50040 * Makeconfig (object-suffixes-noshared): New variable.
50041
50042 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50043 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50044 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50045 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50046
50047 [BZ #14132]
50048 * include/sys/time.h (__gettimeofday): Remove macro.
50049 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50050 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50051 Remove INTDEF.
50052 (__gettimeofday): Add libc_hidden_def.
50053 (gettimeofday): Add libc_hidden_weak.
50054 * sysdeps/mach/gettimeofday.c: Likewise.
50055 * sysdeps/posix/gettimeofday.c: Likewise.
50056 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50057 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50058 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50059 (__gettimeofday_internal): Remove strong_alias.
50060 (__gettimeofday): Add libc_hidden_def.
50061 (gettimeofday): Add libc_hidden_weak.
50062 * sysdeps/unix/syscalls.list (gettimeofday):
50063 Remove __gettimeofday_internal alias.
50064
50065 2012-05-24 Daniel Jacobowitz <drow@false.org>
50066 H.J. Lu <hongjiu.lu@intel.com>
50067
50068 [BZ #12495]
50069 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50070 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50071 (largebin_index_32_big): New.
50072 (largebin_index): Use it for 16-byte alignment.
50073 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50074 correction with front_misalign.
50075
50076 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50077
50078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50080 Likewise.
50081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50082 Likewise.
50083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50084 Likewise.
50085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50086 Likewise.
50087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50088 Likewise.
50089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50090 Likewise.
50091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50092 Likewise.
50093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50094 Likewise.
50095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50096 Likewise.
50097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50098 Likewise.
50099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50100 Likewise.
50101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50102 Likewise.
50103
50104 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50105 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50106
50107 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50108
50109 [BZ #10846]
50110 [BZ #14036]
50111 * math/libm-test.inc (exp_test): Add test from bug 14036.
50112 (pow_test): Add test from bug 10846.
50113
50114 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50115 and other flags.
50116 (special_function): Do not include flags in test name.
50117 (parse_args): Likewise.
50118 * sysdeps/i386/fpu/libm-test-ulps: Update.
50119 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50120 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50121 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50123
50124 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50125 exceptions.
50126 * math/libm-test.inc ("Philosophy"): Update comment about
50127 exception testing.
50128 (UNDERFLOW_EXCEPTION): New macro.
50129 (UNDERFLOW_EXCEPTION_OK): Likewise.
50130 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50131 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50132 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50133 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50134 (INVALID_EXCEPTION_OK): Update value.
50135 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50136 (OVERFLOW_EXCEPTION_OK): Likewise.
50137 (IGNORE_ZERO_INF_SIGN): Likewise.
50138 (test_exceptions): Handle underflow exceptions.
50139 (acos_test): Update for underflow exception expectations.
50140 (cexp_test): Likewise.
50141 (clog_test): Likewise.
50142 (clog10_test): Likewise.
50143 (csqrt_test): Likewise.
50144 (ctan_test): Likewise.
50145 (ctanh_test): Likewise.
50146 (exp_test): Likewise.
50147 (exp10_test): Likewise.
50148 (exp2_test): Likewise.
50149 (expm1_test): Likewise.
50150 (fma_test): Likewise.
50151 (j0_test): Likewise.
50152 (jn_test): Likewise.
50153 (nexttoward_test): Likewise.
50154 (pow_test): Likewise.
50155 (scalbn_test): Likewise.
50156 (scalbln_test): Likewise.
50157 (tan_test): Likewise.
50158 (y1_test): Likewise.
50159 * sysdeps/i386/fpu/libm-test-ulps: Update.
50160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50161
50162 2012-05-23 David S. Miller <davem@davemloft.net>
50163
50164 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50165 (__libc_sigaction): Remove unused local variables.
50166
50167 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50168
50169 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50170
50171 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50172
50173 mktime: avoid signed integer overflow
50174 * time/mktime.c (__mktime_internal): Do not mishandle the case
50175 where diff == INT_MIN.
50176
50177 mktime: simplify computation of average
50178 * time/mktime.c (ranged_convert): Use new time_t_avg function
50179 instead of rolling our own (probably-slower) code.
50180
50181 mktime: do not assume signed right shift propagates sign bit
50182 * time/mktime.c (isdst_differ): New static function.
50183 (__mktime_internal): No need to normalize tm_isdst now.
50184 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50185 tm_isdst values.
50186
50187 mktime: merge another wrapv change from gnulib
50188 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50189 from some compilers.
50190
50191 mktime: remove incorrect attempt at unusual arithmetics
50192 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50193 The code didn't really work on such machines anyway.
50194 (TYPE_MINIMUM): Assume two's complement.
50195 (twos_complement_arithmetic): Verify that long_int and time_t
50196 are two's complement (or unsigned, in the latter case).
50197
50198 mktime: check signed shifts on long_int and time_t, too
50199 * time/mktime.c (SHR): Check that shifts work as desired
50200 on the types long_int and time_t too, as SHR is used on
50201 such types.
50202
50203 mktime: do not assume 'long' is wide enough
50204 * time/mktime.c (verify): Move decl up.
50205 (long_int): New type.
50206 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50207 to remove assumption in the code that 'long' is wide enough to
50208 store year values. This assumption is not true on x32 and on
50209 some non-glibc platforms.
50210
50211 mktime: merge wrapv change from gnulib
50212 * time/mktime.c (WRAPV): New macro.
50213 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50214 (guess_time_tm, __mktime_internal): Do not assume that signed
50215 integer overflow wraps around; modern compilers generate code
50216 where this assumption is no longer valid.
50217
50218 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50219
50220 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50221 Replace "jmp L(pseudo_end)" with "ret".
50222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50223 Likewise.
50224
50225 2012-05-23 Andreas Jaeger <aj@suse.de>
50226
50227 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50228 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50229
50230 2012-05-23 Andreas Jaeger <aj@suse.de>
50231 Maximilian Attems <max@stro.at>
50232
50233 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50234 New macros.
50235
50236 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50237
50238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50239 code so that pseudo_end is just ret and the stack pointer is
50240 correct also for static library in error case.
50241
50242 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50243
50244 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50245 move to syscalls.list.
50246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50250
50251 * manual/install.texi (Running make install): Do not mention Linux
50252 kernel version for which pt_chown is not needed.
50253 (Linux): Do not mention problems with nscd with 2.0 kernels.
50254 * INSTALL: Regenerated.
50255
50256 2012-05-23 Andreas Jaeger <aj@suse.de>
50257
50258 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50259 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50260 macro.
50261 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50263 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50264 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50265 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50266 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50268 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50269 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50270 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50271 * sysdeps/unix/sysv/linux/bits/in.h
50272 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50273
50274 2012-05-22 Roland McGrath <roland@hack.frob.com>
50275
50276 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50277 (PREPARE_VERSION): Just use assert instead, it will be elided
50278 under [NDEBUG] anyway.
50279
50280 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50281
50282 * sysdeps/unix/sysv/linux/Makefile: Include
50283 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50284 (sysdep_routines): Remove sysctl.
50285 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50286 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50287 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50288 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50289 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50290
50291 2012-05-22 Andreas Jaeger <aj@suse.de>
50292
50293 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50294 that pseudo_end is just ret and the stack pointer is correct also
50295 for static library in error case.
50296
50297 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50298
50299 [BZ #14122]
50300 * nss/nsswitch.c (defconfig_entries): New variable.
50301 (__nss_database_lookup): Don't leak defconfig entries.
50302 (nss_parse_service_list): Don't leak on error paths.
50303 (free_database_entries): New function.
50304 (free_defconfig): New function.
50305 (free_mem): Move common code to free_database_entries.
50306
50307 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50308
50309 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50310 Add arch_prctl.
50311 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50312
50313 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50314 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50316 New macro.
50317 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50318 (INTERNAL_SYSCALL_TYPES): Likewise.
50319 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50320 (LOAD_REGS_TYPES_[1-6]): Likewise.
50321 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50322 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50323
50324 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50325
50326 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50327 copysignl for GLIBC_2_0.
50328 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50329 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50331 logbl for GLIBC_2_0.
50332 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50333 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50334
50335 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50336
50337 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50338 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50339
50340 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50341 Use "neg %eax".
50342
50343 * time/mktime.c: Update copyright years.
50344
50345 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50346
50347 mktime: merge comment-quoting-style change from gnulib
50348 * time/mktime.c: Quote 'like this' in comments.
50349 The GNU coding standards suggest that we no longer quote `like this',
50350 as "`" and "'" are typically rendered asymmetrically nowadays.
50351 The typical gnulib style is to quote 'like this' when quoting
50352 code, and "like this" when quoting English.
50353
50354 * time/mktime.c (compile-command): Add "-I.".
50355
50356 mktime: merge mktime-internal.h change from gnulib
50357 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50358
50359 mktime: merge time_r change from gnulib
50360 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50361
50362 mktime: merge DEBUG change from gnulib
50363 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50364 case system <time.h> has a #define.
50365
50366 mktime: merge <sys/types.h> change from gnulib
50367 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50368 since <time.t> is now guaranteed to define time_t.
50369
50370 mktime: merge HAVE_CONFIG_H change from gnulib
50371 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50372
50373 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50374
50375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50376 Use "neg %eax".
50377
50378 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50379 __rlim_t cast.
50380 (struct rusage): Use anonymous union to pad each field to
50381 __syscall_slong_t.
50382
50383 2012-05-21 David S. Miller <davem@davemloft.net>
50384
50385 * Makefules (o-iterator): Remove .s cases.
50386 (compile-command.s): Delete.
50387 (COMPILE.s): Delete.
50388 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50389
50390 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50391
50392 * configure.in (libc_cv_predef_stack_protector): Only consider
50393 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50394 * configure: Regenerated.
50395
50396 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50397
50398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50399 New macro. Use R*LP on int and pointer.
50400 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50401 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50402 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50403 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50404
50405 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50406 [__WORDSIZE_TIME64_COMPAT32] instead of
50407 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50408 (struct utmp): Likewise.
50409 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50410 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50411 Renamed to ...
50412 (__WORDSIZE_TIME64_COMPAT32): This.
50413 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50414 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50415 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50416 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50417 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50418 (__WORDSIZE_TIME64_COMPAT32): New macro.
50419
50420 2012-05-21 Andreas Jaeger <aj@suse.de>
50421
50422 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50423 only if [SHARED]. Add prototype for __wcschr_ia32.
50424
50425 2012-05-21 Roland McGrath <roland@hack.frob.com>
50426
50427 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50428 of %rbp unmolested in the jmp_buf while mangling the low bits.
50429 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50430 unmolested high bits of %rbp while demangling the low bits.
50431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50432
50433 2012-05-21 Andreas Jaeger <aj@suse.de>
50434
50435 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50436 * sunrpc/svc_simple.c: Use it for registerrpc.
50437 * sunrpc/xcrypt.c: Use it for passwd2des.
50438
50439 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50440
50441 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50442
50443 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50444 Don't define if [__SYSCALL_WORDSIZE != 32].
50445 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50446 New macro.
50447
50448 2012-05-21 Bruno Haible <bruno@clisp.org>
50449 Andreas Jaeger <aj@suse.de>
50450
50451 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50452 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50453 inptr and inend for must_buffer_ch.
50454 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50455 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50456 * stdio-common/Makefile (tests): Remove bug15.
50457 (bug15-ENV): Remove macro.
50458 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50459 anymore.
50460
50461 2012-05-19 Andreas Jaeger <aj@suse.de>
50462 Roland McGrath <roland@hack.frob.com>
50463
50464 * manual/contrib.texi: Completely rewritten. It contains now an
50465 alphabetical list of contributors and their contributions.
50466
50467 2012-05-21 Richard Henderson <rth@twiddle.net>
50468
50469 * misc/getauxval.c (__getauxval): Use unsigned long int.
50470 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50471 (getauxval): Use unsigned long int.
50472
50473 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50474
50475 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50476
50477 2012-05-21 Roland McGrath <roland@hack.frob.com>
50478
50479 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50480 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50481 __alignof__ (long double).
50482
50483 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50484
50485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50486
50487 2012-05-20 Richard Henderson <rth@twiddle.net>
50488
50489 * misc/getauxval.c: New file.
50490 * misc/sys/auxv.h: New file.
50491 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50492 (routines): Add getauxval.
50493 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50494 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50495 * elf/dl-sysdep.c (_dl_auxv): Remove.
50496 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50497 * elf/dl-support.c (_dl_auxv): New variable.
50498 (_dl_aux_init): Initialize it.
50499 * manual/startup.texi (Auxiliary Vector): New node.
50500 * sysdeps/generic/bits/hwcap.h: New file.
50501 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50502 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50503 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50504 * sysdeps/sparc/sysdep.h: ... here. Include it.
50505 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50508 Update.
50509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50512 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50517
50518 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50519
50520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50521
50522 2012-05-19 David S. Miller <davem@davemloft.net>
50523
50524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50525
50526 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50527
50528 [BZ #14123]
50529 * math/s_ccosh.c: Include <float.h>
50530 (__ccosh): Avoid internal overflow calculating sinh and cosh
50531 values before multiplying by sin and cos values.
50532 * math/s_ccoshf.c: Likewise.
50533 * math/s_ccoshl.c: Likewise.
50534 * math/s_csin.c: Likewise.
50535 * math/s_csinf.c: Likewise.
50536 * math/s_csinl.c: Likewise.
50537 * math/s_csinh.c: Likewise.
50538 * math/s_csinhf.c: Likewise.
50539 * math/s_csinhl.c: Likewise.
50540 * math/libm-test.inc (ccos_test): Add more tests.
50541 (ccosh_test): Likewise.
50542 (csin_test): Likewise.
50543 (csinh_test): Likewise.
50544 * sysdeps/i386/fpu/libm-test-ulps: Update.
50545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50546
50547 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50548
50549 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50550 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50551
50552 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50553
50554 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50555
50556 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50557 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50558 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50559 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50560 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50561 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50562 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50563 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50564 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50565 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50566 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50567 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50568 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50569 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50570 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50571 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50572 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50573 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50574 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50575 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50576 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50577 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50578 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50579 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50580 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50581 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50582 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50583 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50584 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50585 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50586 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50587
50588 2012-05-18 Andreas Jaeger <aj@suse.de>
50589
50590 * csu/.gitignore: Delete.
50591
50592 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50593
50594 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50595 (timex): Use __syscall_slong_t.
50596
50597 2012-05-18 Andreas Jaeger <aj@suse.de>
50598 Carlos O'Donell <carlos_odonell@mentor.com>
50599
50600 * manual/install.texi (Configuring and compiling): Update
50601 description about files modified in the source directory.
50602 * INSTALL: Regenerated.
50603
50604 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50605
50606 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50607 value. Use "or" to set return value to -1.
50608 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50609 negate return value.
50610
50611 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50612
50613 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50614 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50615 failure if the compiler has Graphite support disabled.
50616 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50617 Likewise.
50618 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50619 (CFLAGS-memmove.c): Likewise.
50620 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50621 Likewise.
50622
50623 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50624
50625 * sysdeps/x86_64/x32/_itoa.h: New file.
50626
50627 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50628 getdents system call only if kernel and user dirents have the
50629 same d_ino and d_off.
50630
50631 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50632 LLONG_MAX != LONG_MAX.
50633 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50634 (_fitoa_word): Likewise.
50635
50636 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50637 years.
50638 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50639 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50640 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50641
50642 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50643 include <bits/wordsize.h>. Check __x86_64__ instead of
50644 __WORDSIZE.
50645 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50646 if __x86_64__ is defined. Use anonymous union on fpstate.
50647
50648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50649 anonymous union.
50650
50651 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50652
50653 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50654 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50655 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50656 Refer to _rtld_local_ro instead of _rtld_global_ro.
50657 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50658 Likewise.
50659 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50660 Likewise.
50661 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50662 Likewise.
50663 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50664 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50665 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50666
50667 [BZ #10882]
50668 * sysdeps/powerpc/powerpc32/dl-machine.c
50669 (__elf_machine_runtime_setup) [PROF]: Don't reference
50670 _dl_prof_resolve.
50671
50672 2012-05-18 Andreas Jaeger <aj@suse.de>
50673
50674 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50675 function only available for GCCs before 3.4 since GCC 3.4
50676 introduced a builtin.
50677 (lrint): Likewise.
50678 (llrintf): Likewise.
50679 (llrint): Likewise.
50680 (fmaxf): Likewise.
50681 (fmax): Likewise.
50682 (fminf): Likewise.
50683 (fmin): Likewise.
50684 (rint): Likewise.
50685 (rintf): Likewise.
50686 (nearbyint): Likewise.
50687 (nearbyintf): Likewise.
50688 (ceil): Likewise.
50689 (ceilf): Likewise.
50690 (floor): Likewise.
50691 (floorf): Likewise.
50692
50693 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50694
50695 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50696 on both fields and cast pointer to __syscall_ulong_t.
50697
50698 * bits/types.h (__fsword_t): New type.
50699 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50700 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50701 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50702 (__FSWORD_T_TYPE): Likewise.
50703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50704 (__FSWORD_T_TYPE): Likewise.
50705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50706 (__FSWORD_T_TYPE): Likewise.
50707 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50708 (__FSWORD_T_TYPE): Likewise.
50709 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50710 __SWORD_TYPE with __fsword_t.
50711 (statfs64): Likewise.
50712
50713 2012-05-17 David S. Miller <davem@davemloft.net>
50714
50715 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50716
50717 2012-05-17 Andreas Jaeger <aj@suse.de>
50718
50719 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50720 warning.
50721
50722 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50723
50724 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50725
50726 2012-05-17 Andreas Jaeger <aj@suse.de>
50727
50728 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50729 when it is used.
50730
50731 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50732
50733 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50734
50735 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50736
50737 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50738 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50739
50740 2012-05-17 Andreas Jaeger <aj@suse.de>
50741 Carlos O'Donell <carlos_odonell@mentor.com>
50742
50743 [BZ #14059]
50744 * sysdeps/x86_64/multiarch/init-arch.h
50745 (bit_YMM_Usable): Rename to...
50746 (bit_AVX_Usable): ... this.
50747 (bit_FMA4_Usable): New macro.
50748 (bit_XMM_state): New macro.
50749 (bit_YMM_state): New macro.
50750 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50751 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50752 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50753 (CPUID_OSXSAVE): New macro.
50754 (CPUID_AVX): New macro.
50755 (CPUID_FMA4): New macro.
50756 (index_YMM_Usable): Rename to...
50757 (index_AVX_Usable): ... this.
50758 (HAS_AVX): Use HAS_ARCH_FEATURE.
50759 (HAS_FMA4): Likewise.
50760 (HAS_YMM_USABLE): Remove.
50761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50762 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50763 are present.
50764 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50765 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50766 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50767 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50768 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50769
50770 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50771
50772 * math/libm-test.c: Support platforms without multiple rounding modes.
50773 * math/bug-nextafter.c: Support platforms without FP exceptions.
50774 * math/bug-nexttoward.c: Likewise.
50775 * math/test-fenv.c: Likewise.
50776 * math/test-misc.c: Likewise.
50777 * stdlib/bug-getcontext.c: Likewise.
50778
50779 2012-05-17 Andreas Jaeger <aj@suse.de>
50780
50781 * manual/examples/search.c (critter_cmp): Change signature to
50782 avoid warnings.
50783 * manual/string.texi (Collation Functions): Likewise.
50784
50785 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50786
50787 * bits/types.h: Fold copyright years.
50788 * bits/typesizes.h: Likewise.
50789 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50791 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50793 * time/time.h: Likewise.
50794
50795 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50796
50797 [BZ #208]
50798 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50799 in instead of returning them. Return void.
50800 (__libc_mallinfo): Accumulate over all arenas.
50801 (__malloc_stats): Adjust for change in int_mallinfo interface.
50802
50803 2012-05-16 Roland McGrath <roland@hack.frob.com>
50804
50805 [BZ #10375]
50806 * configure.in (NM): Add AC_CHECK_TOOL for it.
50807 (libc_extra_cflags): New substituted variable.
50808 Check for -fstack-protector being used implicitly.
50809 * configure: Regenerated.
50810 * config.make.in (config-extra-cflags): New variable,
50811 gets @libc_extra_cflags@.
50812 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50813
50814 [BZ #10375]
50815 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50816 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50817 * configure: Regenerated.
50818 * config.make.in (CPPUNDEFS): New substituted variable.
50819 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50820 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50821 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50822
50823 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50824
50825 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50826 (mq_attr): Use __syscall_slong_t.
50827
50828 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50829
50830 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50831 Check __x86_64__ instead of __WORDSIZE.
50832 (_STAT_VER_LINUX): Likewise.
50833 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50834 __syscall_ulong_t and __syscall_slong_t.
50835 (stat64): Likewise.
50836
50837 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50838
50839 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50840
50841 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50842
50843 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50844
50845 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50846
50847 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50848 __syscall_ulong_t.
50849
50850 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50851 include <bits/wordsize.h>. Check __x86_64__ instead of
50852 __WORDSIZE.
50853 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50854 defined.
50855 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50856
50857 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50858 include <bits/wordsize.h>. Check __x86_64__ instead of
50859 __WORDSIZE.
50860 (user_regs_struct): Use "__extension__ unsigned long long"
50861 instead of "unsigned long" if __x86_64__ is defined.
50862 (user): Likewise. Pad after pointer field if __ILP32__ is
50863 defined.
50864
50865 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50866
50867 * configure.in (makeinfo): Require version 4.5 or later. Allow
50868 versions 5 to 9.
50869 * configure: Regenerated.
50870 * manual/install.texi (texinfo): Increase version requirement to
50871 4.5 or later.
50872 * INSTALL: Regenerated.
50873
50874 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50875
50876 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50877
50878 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50879
50880 * sysdeps/x86_64/x32/ffs.c: New file.
50881
50882 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50883 __syscall_ulong_t.
50884 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50885 defined. Use __syscall_ulong_t.
50886 (shminfo): Use __syscall_ulong_t.
50887 (shm_info): Likewise.
50888
50889 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50890 __syscall_ulong_t.
50891
50892 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50893 <bits/wordsize.h>.
50894 (msgqnum_t): Use __syscall_ulong_t.
50895 (msglen_t): Likewise.
50896 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50897 __syscall_ulong_t.
50898
50899 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50900 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50901
50902 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50903
50904 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50905 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50906
50907 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50908 __syscall_slong_t.
50909
50910 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50911 include <bits/wordsize.h>. Check __x86_64__ instead of
50912 __WORDSIZE.
50913
50914 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50915 "unsigned long long int" if __x86_64__ is defined.
50916 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50917
50918 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50919 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50920 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50921
50922 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50923 <stdint.h>.
50924 (GET_PC): Cast to uintptr_t first.
50925 (GET_FRAME): Likewise.
50926 (GET_STACK): Likewise.
50927
50928 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50929 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50930 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50931 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50932 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50933 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50934 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50935 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50936 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50937 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50938 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50939 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50940 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50941 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50942 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50943 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50944 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50945 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50946 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50947 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50948 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50949 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50950 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50951 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50952 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50953 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50954 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50955 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50956 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50957
50958 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50959
50960 * Makerules (+depfiles): Also collect depfiles from .oS in
50961 $(extra-objs).
50962 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50963 .oS, $(libnldbl-routines)).
50964
50965 * Makerules (native-compile-mkdep-flags): Define.
50966 * sunrpc/Makefile (extra-objs): Add $(addprefix
50967 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50968 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50969 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50970 calling $(make-target-directory).
50971
50972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50973
50974 * bits/types.h (__snseconds_t): Removed.
50975 * time/time.h (struct timespec): Replace __snseconds_t with
50976 __syscall_slong_t.
50977 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50978 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50979 Likewise.
50980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50981 (__SNSECONDS_T_TYPE): Likewise.
50982 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50983 (__SNSECONDS_T_TYPE): Likewise.
50984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50985 (__SNSECONDS_T_TYPE): Likewise.
50986
50987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50988
50989 * sysdeps/mach/hurd/bits/typesizes.h
50990 (__SYSCALL_SLONG_TYPE): New macro.
50991 (__SYSCALL_ULONG_TYPE): Likewise.
50992
50993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50994
50995 * bits/types.h (__syscall_slong_t): New type.
50996 (__syscall_ulong_t): Likewise.
50997
50998 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50999 (__SYSCALL_ULONG_TYPE): Likewise.
51000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51001 (__SYSCALL_SLONG_TYPE): Likewise.
51002 (__SYSCALL_ULONG_TYPE): Likewise.
51003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51004 (__SYSCALL_SLONG_TYPE): Likewise.
51005 (__SYSCALL_ULONG_TYPE): Likewise.
51006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51007 (__SYSCALL_SLONG_TYPE): Likewise.
51008 (__SYSCALL_ULONG_TYPE): Likewise.
51009
51010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51011
51012 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51013 Add sigaltstack-offsets.sym.
51014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51015 <sigaltstack-offsets.h>.
51016 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51017 longjmp_msg pointer.
51018 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51019 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51020 signal stack.
51021 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51022
51023 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51024
51025 * elf/stackguard-macros.h: Remove file.
51026 * sysdeps/generic/stackguard-macros.h: New file.
51027 * sysdeps/i386/stackguard-macros.h: Likewise.
51028 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51029 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51030 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51031 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51032 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51033 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51034 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51035 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51036 <elf/stackguard-macros.h>.
51037
51038 [BZ #14109]
51039 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51040 __aligned__ in attribute.
51041 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51042 (gregset_t): Likewise.
51043
51044 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51045
51046 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51047 * sysdeps/x86_64/64/Implies-after: Here. New file.
51048 * sysdeps/x86_64/x32/Implies-after: New file.
51049
51050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51051
51052 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51053 and access return value for _dl_profile_fixup. Use R10_LP to
51054 load frame size.
51055
51056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51057
51058 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51059
51060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51061
51062 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51063 * sysdeps/x86_64/x32/sysdep.h: New file.
51064
51065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51066
51067 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51068 * sysdeps/x86_64/setjmp.S: Likewise.
51069
51070 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51071
51072 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51073 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51074 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51075 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51076 remove unused global constant.
51077
51078 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51079
51080 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51081 include of <not-cancel.h>.
51082
51083 2012-05-15 Roland McGrath <roland@hack.frob.com>
51084
51085 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51086
51087 2012-05-15 Jeff Law <law@redhat.com>
51088 Andreas Jaeger <aj@suse.de>
51089
51090 [BZ #13594]
51091 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51092 out from...
51093 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51094 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51095 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51096 code changing __hst_map_handle.map.
51097
51098 2012-05-15 Roland McGrath <roland@hack.frob.com>
51099
51100 * configure.in (sysnames): Look for Implies-before and Implies-after
51101 files.
51102 * configure: Regenerated.
51103
51104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51105
51106 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51107 8-byte data alignment with LP_SIZE alignment.
51108
51109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51110
51111 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51112 into R10_LP.
51113
51114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51115
51116 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51117
51118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51119
51120 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51121 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51122 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51123 Likewise.
51124 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51125
51126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51127
51128 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51129 (stackinfo_sub_sp): Likewise.
51130
51131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51132
51133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51134 RAX_LP.
51135
51136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51137
51138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51139 into R*_LP.
51140
51141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51142
51143 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51144 sizes into R*_LP.
51145
51146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51147
51148 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51149
51150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51151
51152 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51153 into R11_LP and load __x86_64_shared_cache_size_half into
51154 R8_LP.
51155
51156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51157
51158 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51159 R8_LP.
51160
51161 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51162
51163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51164 logb for POWER7.
51165 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51166 logbf for POWER7.
51167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51168 logbl for POWER7.
51169 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51170 powerpc32/power7/fpu/s_logb.c via #include.
51171 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51172 powerpc32/power7/fpu/s_logbf.c via #include.
51173 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51174 powerpc32/power7/fpu/s_logbl.c via #include.
51175
51176 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51177
51178 * README.libm: Remove file.
51179
51180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51181
51182 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51183 count for x32. Use R*_LP and omit operand-size suffix.
51184
51185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51186
51187 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51188 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51189 * sysdeps/x86_64/x32/shlib-versions: New file.
51190
51191 2012-05-14 Roland McGrath <roland@hack.frob.com>
51192
51193 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51194 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51195 Use _dl_fatal_printf instead.
51196
51197 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51198
51199 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51200 set if not set by the user. Do not allow for being unset.
51201 * sysdeps/unix/sysv/linux/configure: Regenerated.
51202
51203 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51204
51205 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51206 the `q' suffix from lea and replace .quad with ASM_ADDR.
51207
51208 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51209
51210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51211 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51212 instead of $17.
51213 (PTR_DEMANGLE): Likewise.
51214
51215 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51216
51217 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51218 (LP_OP): Likewise.
51219 (ASM_ADDR): Likewise.
51220 (RAX_LP): Likewise.
51221 (RBP_LP): Likewise.
51222 (RBX_LP): Likewise.
51223 (RCX_LP): Likewise.
51224 (RDI_LP): Likewise.
51225 (RSI_LP): Likewise.
51226 (RSP_LP): Likewise.
51227 (R8_LP): Likewise.
51228 (R9_LP): Likewise.
51229 (R10_LP): Likewise.
51230 (R10_LP): Likewise.
51231 (R11_LP): Likewise.
51232 (R12_LP): Likewise.
51233 (R13_LP): Likewise.
51234 (R14_LP): Likewise.
51235 (R15_LP): Likewise.
51236
51237 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51238
51239 * sysdeps/x86_64/x32/dl-machine.h: New file.
51240
51241 2012-05-14 Andreas Jaeger <aj@suse.de>
51242
51243 * manual/Makefile (subdir): Remove export of subdir.
51244 (all): Remove target.
51245 (.PHONY): Remove all from list.
51246 (mkinstalldirs): Remove.
51247 (.PHONY): Remove installdirs from list.
51248 ($(inst_infodir)/libc.info): Use make-target-directory.
51249 (installdirs): Remove.
51250 (subdir_%): Remove.
51251 (glibc-targets): Remove.
51252 (lib): Remove.
51253 (stubs): Remove.
51254 ($(objpfx)stubs ../po/manual.pot): Remove.
51255 ($(objpfx)stamp%): Remove.
51256 (make-target-directory): Remove.
51257 (subdir_install): Remove.
51258 (routines): Remove.
51259 (aux): Remove.
51260 (sources): Remove.
51261 (objects): Remove.
51262 (headers): Remove.
51263
51264 [BZ #13750]
51265 * manual/.gitignore: Remove, it's not needed anymore.
51266 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51267 all files in it.
51268 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51269 directory.
51270 (texis): Renamed to $(objpfx)texis.
51271 (texis-path): New, contains path to generated files.
51272 (chapters.%): Use texis-path for complete path, add extra argument
51273 libc-texinfo.sh.
51274 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51275 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51276 (summary,texi, stamp-summary): Use complete path of
51277 files. Generate files in build dir.
51278 (dir-add.texi): Build in build dir.
51279 (libm-err.texi,stamp-libm-err): Likewise.
51280 (version.texi, stamp-version): Likewise.
51281 (.%c.texi): Likewise.
51282 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51283 (mostlyclean): Remove target.
51284 (realclean): Remove target.
51285 (generated): Add new variable with contents from mostlyclean and
51286 realclean, remove entries duplicated in common-mostlyclean, add
51287 stamp-libm-err and stamp-version.
51288 (generated-dirs): Add libc directory.
51289 ($(inst_infodir)/libc.info): Install files from build dir.
51290
51291 * manual/install.texi (Configuring and compiling): Adjust since
51292 the info files are not part of the tar ball anymore.
51293
51294 2012-05-14 Andreas Jaeger <aj@suse.de>
51295
51296 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51297 variable.
51298
51299 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51300
51301 [BZ #13717]
51302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51303 to 2.2.0 where earlier.
51304 * sysdeps/unix/sysv/linux/configure: Regenerated.
51305 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51306 Remove conditional code.
51307 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51308 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51309 Remove conditional code.
51310 [!__NR_lchown]: Likewise.
51311 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51312 [__NR_lchown]: Likewise.
51313 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51314 comment referencing __ASSUME_LCHOWN_SYSCALL.
51315 * sysdeps/unix/sysv/linux/i386/sigaction.c
51316 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51317 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51318 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51319 Remove conditional code.
51320 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51321 (__protocol_available): Remove #if 0 code.
51322 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51323 conditional code.
51324 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51325 * sysdeps/unix/sysv/linux/kernel-features.h
51326 (__ASSUME_GETCWD_SYSCALL): Don't define.
51327 (__ASSUME_REALTIME_SIGNALS): Likewise.
51328 (__ASSUME_PREAD_SYSCALL): Likewise.
51329 (__ASSUME_PWRITE_SYSCALL): Likewise.
51330 (__ASSUME_POLL_SYSCALL): Likewise.
51331 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51332 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51333 non-SPARC.
51334 (__ASSUME_SIOCGIFNAME): Don't define.
51335 (__ASSUME_MSG_NOSIGNAL): Likewise.
51336 (__ASSUME_SENDFILE): Define unconditionally.
51337 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51338 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51339 conditional code.
51340 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51341 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51342 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51343 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51344 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51345 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51346 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51348 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51354 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51360 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51363 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51369 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51371 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51372 Remove conditional code.
51373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51374 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51375 Remove conditional code.
51376 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51377 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51378 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51379 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51380 Remove conditional code.
51381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51382 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51383 Remove conditional code.
51384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51385 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51386 Remove conditional code.
51387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51388 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51389 Remove conditional code.
51390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51391 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51392 Remove conditional code.
51393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51394 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51397 * sysdeps/unix/sysv/linux/sigaction.c
51398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51400 * sysdeps/unix/sysv/linux/sigpending.c
51401 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51402 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51403 * sysdeps/unix/sysv/linux/sigprocmask.c
51404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51406 * sysdeps/unix/sysv/linux/sigsuspend.c
51407 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51408 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51409 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51410 (__libc_missing_rt_sigs): Remove.
51411 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51412 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51413 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51414 Remove conditional code.
51415 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51416 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51417 return 1.
51418 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51419 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51420 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51421 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51422
51423 2012-05-14 Andreas Jaeger <aj@suse.de>
51424
51425 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51426 it's not used in glibc.
51427 (__coshm1): Likewise.
51428 (__acosh1p): Likewise.
51429 (__sgn): Likewise.
51430
51431 * manual/string.texi (Copying and Concatenation): Add missing
51432 variable in concat example.
51433 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51434
51435 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51436
51437 [BZ #14103]
51438 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51439 __builtin_clzl with __builtin_clzll.
51440
51441 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51442
51443 [BZ #14104]
51444 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51445 libc_freeres_ptr.
51446
51447 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51448
51449 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51450 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51451 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51452 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51453
51454 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51455
51456 * NEWS: Update ia64 info.
51457
51458 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51459
51460 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51461 used as bcopy.
51462
51463 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51464
51465 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51466 * sysdeps/unix/syscalls.list (dup3): Likewise.
51467 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51468 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51469
51470 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51471
51472 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51473 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51474
51475 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51476
51477 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51478 thread pointer.
51479 (TLS_IE): Use mov/add instead of movq/addq to load thread
51480 pointer.
51481 (TLS_GD_PREFIX): New.
51482 (TLS_GD): Use it.
51483
51484 2012-05-11 David S. Miller <davem@davemloft.net>
51485
51486 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51487 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51488 (_FPU_SETCW): Likewise.
51489
51490 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51491
51492 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51493 is 32-byte aligned.
51494
51495 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51496
51497 [BZ #11837]
51498 * iconvdata/gb18030.c: Update tables.
51499 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51500 characters specially.
51501 (BODY for TO_LOOP): Add encoding of missing ranges.
51502
51503 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51504
51505 [BZ #13673]
51506 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51507 * sysdeps/mach/hurd/dup3.c: Likewise.
51508 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51509 * sysdeps/powerpc/memmove.c:: Likewise.
51510
51511 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51512
51513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51514 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51515
51516 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51517
51518 * elf/elf.h (R_X86_64_RELATIVE64): New.
51519 (R_X86_64_NUM): Updated.
51520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51521 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51522 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51523 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51524 tst-quad1pie tst-quad2pie
51525 (modules-names): Add tst-quadmod1 tst-quadmod2.
51526 ($(objpfx)tst-quad1): New dependency.
51527 ($(objpfx)tst-quad2): Likewise.
51528 ($(objpfx)tst-quad1pie): Likewise.
51529 ($(objpfx)tst-quad2pie): Likewise.
51530 * sysdeps/x86_64/tst-quad1.c: New file.
51531 * sysdeps/x86_64/tst-quad1pie.c: New file.
51532 * sysdeps/x86_64/tst-quad2.c: Likewise.
51533 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51534 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51535 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51536 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51537 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51538
51539 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51540
51541 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51542 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51543 * streams/stropts.h (t_scalar_t): Define type.
51544
51545 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51546 (_PATH_PRESERVE): Set to "/var/lib".
51547 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51548
51549 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51550 instead of int.
51551
51552 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51553 if __dir_mkfile succeeded.
51554
51555 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51556 checking for _hurd_dtablesize. Unlock it right after having
51557 finished _hurd_dtable allocation.
51558
51559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51560
51561 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51562 * sysdeps/mach/hurd/configure: Regenerated.
51563 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51564 special-casing to...
51565 * sysdeps/gnu/configure.in: ... this new file.
51566 * sysdeps/unix/sysv/linux/configure: Regenerated.
51567 * sysdeps/gnu/configure: New generated file.
51568
51569 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51570 for Linux: use nsec instead of usec, as well as:
51571 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51572 members of type struct timespec.
51573 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51574 New macros.
51575 (struct stat64): Likewise.
51576 (_STATBUF_ST_NSEC): New macro.
51577 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51578
51579 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51580 __strtoul_internal rather than strtoul.
51581
51582 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51583
51584 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51585 and reject them.
51586
51587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51588
51589 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51590 which preserves existing values.
51591 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51592
51593 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51594
51595 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51596 TIMEOUT values. Return EINVAL for NFDS values either negative or
51597 greater than FD_SETSIZE.
51598
51599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51600
51601 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51602 allocated, call __vm_protect to finish enabling the existing space, and
51603 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51604 allocate the remainder.
51605
51606 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51607
51608 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51609 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51610
51611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51612
51613 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51614 sysdeps/mach/hurd/readlink.c.
51615
51616 * posix/tst-sysconf.c (posix_options): Only use
51617 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51618 _POSIX_SYNCHRONIZED_IO when they are defined
51619 * sysdeps/mach/hurd/bits/posix_opt.h:
51620 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51621 (_XOPEN_REALTIME): Undefine macro.
51622 (_XOPEN_REALTIME_THREADS): Undefine macro.
51623 (_XOPEN_SHM): Undefine macro.
51624 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51625 macro to -1.
51626 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51627 macro to -1.
51628 (_POSIX_ASYNC_IO): Undefine macro.
51629 (_POSIX_PRIORITIZED_IO): Undefine macro.
51630 (_POSIX_SPIN_LOCKS): Define macro to -1.
51631
51632 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51633 SA_NODEFER, SA_RESETHAND.
51634 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51635 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51636 F_DUPFD_CLOEXEC.
51637
51638 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51639
51640 * elf/Makefile (pldd-modules): Define unconditionally.
51641
51642 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51643
51644 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51645
51646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51647
51648 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51649 Return ENOENT when name is empty.
51650 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51651
51652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51653
51654 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51655
51656 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51657
51658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51659
51660 Fix mlock in all cases except non-readable pages.
51661 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51662 instead of VM_PROT_ALL as parameter to __vm_wire function.
51663
51664 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51665 (__mkdir): When path is `/', just fail with EEXIST.
51666 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51667
51668 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51669
51670 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51671 <sys/uio.h> (for writev).
51672 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51673 and <sys/param.h> (for MIN).
51674
51675 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51676
51677 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51678 REQUESTED_TIME. Properly set the remaining time and return EINTR
51679 if interrupted.
51680
51681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51682
51683 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51684 Depend on against $(link-rpcuserlibs).
51685
51686 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51687
51688 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51689 (__libc_stack_end): Do not use attribute_relro.
51690 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51691 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51692 to libthread-provided value.
51693 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51694 attribute_relro.
51695
51696 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51697
51698 [BZ #3748]
51699 * bits/libc-lock.h (__libc_once_get): New macro.
51700 * sysdeps/mach/bits/libc-lock.h: Likewise.
51701 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51702 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51703 instead of using implementation details.
51704
51705 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51706 * libio/freopen.c: Likewise.
51707 * libio/freopen64.c: Likewise.
51708 * misc/syslog.c: Likewise.
51709 * nscd/connections.c: Likewise.
51710 * nscd/netgroupcache.c: Likewise.
51711 * sysdeps/posix/getcwd.c: Likewise.
51712
51713 2012-05-10 Roland McGrath <roland@hack.frob.com>
51714
51715 * math/w_ilogbf.c: Add #include <limits.h>.
51716
51717 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51718
51719 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51720 path instead of returning without unlocking.
51721
51722 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51723 immediate-write ioctls.
51724 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51725
51726 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51727
51728 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51729 __builtin_frame_address instead of making assumptions about the
51730 location of the return address relative to DATA. Force early load of
51731 the return address.
51732 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51733 __builtin_frame_address.
51734
51735 dup3 for GNU Hurd.
51736 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51737 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51738 implement dup3 and do some further code clean-ups.
51739 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51740 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51741
51742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51743
51744 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51745
51746 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51747 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51748 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51749 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51750 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51751 d->port.lock.
51752
51753 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51754 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51755 when handler == SIG_ERR, not when handler != SIG_ERR.
51756
51757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51758
51759 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51760 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51761 definitions.
51762
51763 accept4 for GNU Hurd.
51764 * include/sys/socket.h (__libc_accept4): New prototype.
51765 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51766 to implement __libc_accept4.
51767 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51768 __libc_accept4.
51769 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51770
51771 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51772 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51773 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51774 signal-defines.sym.
51775
51776 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51777
51778 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51779
51780 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51781
51782 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51783 assertion on O_CLOEXEC flag.
51784 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51785 * hurd/intern-fd.c: Likewise.
51786 * hurd/port2fd.c: Likewise.
51787
51788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51789
51790 [BZ #3906]
51791 * bits/in.h (IPV6_PKTINFO): Define new macro.
51792 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51793
51794 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51795
51796 [BZ #13954]
51797 [BZ #13955]
51798 [BZ #13956]
51799 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51800 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51801 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51802 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51803 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51804 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51805 * math/libm-test.inc (logb_test) : Additional logb tests.
51806
51807 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51808 Andreas Jaeger <aj@suse.de>
51809
51810 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51811 * configure: Regenerated.
51812 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51813 * config.make.in (link-obsolete-rpc): New substituted variable.
51814 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51815 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51816 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51817 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51818 so that libc.a contains the symbols.
51819 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51820 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51821 * sunrpc/auth_none.c: Likewise.
51822 * sunrpc/auth_unix.c: Likewise.
51823 * sunrpc/authdes_prot.c: Likewise.
51824 * sunrpc/authuxprot.c: Likewise.
51825 * sunrpc/clnt_gen.c: Likewise.
51826 * sunrpc/clnt_perr.c: Likewise.
51827 * sunrpc/clnt_raw.c: Likewise.
51828 * sunrpc/clnt_simp.c: Likewise.
51829 * sunrpc/clnt_tcp.c: Likewise.
51830 * sunrpc/clnt_udp.c: Likewise.
51831 * sunrpc/clnt_unix.c: Likewise.
51832 * sunrpc/des_crypt.c: Likewise.
51833 * sunrpc/des_soft.c: Likewise.
51834 * sunrpc/get_myaddr.c: Likewise.
51835 * sunrpc/key_call.c: Likewise.
51836 * sunrpc/key_prot.c: Likewise.
51837 * sunrpc/netname.c: Likewise.
51838 * sunrpc/pm_getmaps.c: Likewise.
51839 * sunrpc/pm_getport.c: Likewise.
51840 * sunrpc/pmap_clnt.c: Likewise.
51841 * sunrpc/pmap_prot.c: Likewise.
51842 * sunrpc/pmap_prot2.c: Likewise.
51843 * sunrpc/pmap_rmt.c: Likewise.
51844 * sunrpc/publickey.c: Likewise.
51845 * sunrpc/rpc_cmsg.c: Likewise.
51846 * sunrpc/rpc_common.c: Likewise.
51847 * sunrpc/rpc_dtable.c: Likewise.
51848 * sunrpc/rpc_prot.c: Likewise.
51849 * sunrpc/rpc_thread.c: Likewise.
51850 * sunrpc/rtime.c: Likewise.
51851 * sunrpc/svc.c: Likewise.
51852 * sunrpc/svc_auth.c: Likewise.
51853 * sunrpc/svc_raw.c: Likewise.
51854 * sunrpc/svc_run.c: Likewise.
51855 * sunrpc/svc_tcp.c: Likewise.
51856 * sunrpc/svc_udp.c: Likewise.
51857 * sunrpc/svc_unix.c: Likewise.
51858 * sunrpc/svcauth_des.c: Likewise.
51859 * sunrpc/xcrypt.c: Likewise.
51860 * sunrpc/xdr.c: Likewise.
51861 * sunrpc/xdr_array.c: Likewise.
51862 * sunrpc/xdr_float.c: Likewise.
51863 * sunrpc/xdr_intXX_t.c: Likewise.
51864 * sunrpc/xdr_mem.c: Likewise.
51865 * sunrpc/xdr_rec.c: Likewise.
51866 * sunrpc/xdr_ref.c: Likewise.
51867 * sunrpc/xdr_sizeof.c: Likewise.
51868 * sunrpc/xdr_stdio.c: Likewise.
51869
51870 2012-05-10 Roland McGrath <roland@hack.frob.com>
51871
51872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51873 change. Update copyright years.
51874
51875 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51876
51877 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51878
51879 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51880 Joseph Myers <joseph@codesourcery.com>
51881 Paul Pluzhnikov <ppluzhnikov@google.com>
51882
51883 [BZ #14012]
51884 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51885 requiring rpcgen.
51886 [cross-compiling] (extra-libs): Likewise.
51887 [cross-compiling] (extra-libs-others): Likewise.
51888 [cross-compiling] (librpcsvc-routines): Likewise.
51889 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51890 [cross-compiling] (omit-deps): Likewise.
51891 (sunrpc-CPPFLAGS): New variable.
51892 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51893 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51894 (cross-rpcgen-objs): New variable.
51895 (extra-objs): Append $(cross-rpcgen-objs).
51896 ($(cross-rpcgen-objs)): New rule.
51897 ($(objpfx)cross-rpcgen): Likewise.
51898 (rpcgen-cmd): Define to use $(built-program-file). Expand
51899 comment.
51900 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51901 ($(objpfx)x%.stmp): Likewise.
51902 * sunrpc/proto.h [IS_IN_build] (_): Define.
51903 [IS_IN_build] (_libc_intl_domainname): Likewise.
51904
51905 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51906
51907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51908 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51909 and R_X86_64_TPOFF64.
51910
51911 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51912
51913 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51914 sysdeps/unix/sysv/syscalls.list.
51915 (stime): Likewise.
51916 (utime): Likewise.
51917 * sysdeps/unix/sysv/syscalls.list: Remove file.
51918
51919 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51920
51921 [BZ #3440]
51922 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51923 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51924 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51925 (__LC_IDENTIFICATION): Make these macros useful in #if
51926 expressions, as required by C99.
51927
51928 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51929
51930 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51931 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51932 after this.
51933
51934 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51935
51936 * stdlib/longlong.h: Updated from GCC.
51937
51938 2012-05-09 Andreas Jaeger <aj@suse.de>
51939
51940 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51941 default is first entry.
51942 (run_mode): Set type.
51943 (main): Remove informal message about syslog.
51944 (options): Fix typo.
51945
51946 [BZ #14053]
51947 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51948 to asm.
51949 (lrint): Likewise.
51950 (llrintf): Likewise.
51951 (llrint): Likewise.
51952 (rint): Likewise.
51953 (rintf): Likewise.
51954 (nearbyint): Likewise.
51955 (nearbyintf): Likewise.
51956
51957 2012-05-09 Andreas Jaeger <aj@suse.de>
51958 Pedro Alves <palves@redhat.com>
51959
51960 * nscd/nscd.c (run_mode): Use enum.
51961 (main): Cleanup coding style issue.
51962
51963 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51964 Andreas Jaeger <aj@suse.de>
51965
51966 * nscd/nscd.c (go_background): Replaced with...
51967 (run_mode): ... this.
51968 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51969 (options): Add -F --foreground.
51970 (main): Implement it.
51971 (parse_opt): Parse it.
51972
51973 2012-05-09 Andreas Jaeger <aj@suse.de>
51974
51975 [BZ #14083]
51976 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51977 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51978 -Wconversion warning.
51979 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51980 Likewise.
51981
51982 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51983
51984 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51985 == 0.
51986 (LC_ALL): Use macro-int-constant.
51987 (LC_COLLATE): Likewise.
51988 (LC_CTYPE): Likewise.
51989 (LC_MESSAGES): Likewise.
51990 (LC_MONETARY): Likewise.
51991 (LC_NUMERIC): Likewise.
51992 (LC_TIME): Likewise.
51993 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51994 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51996 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51997 Specify type.
51998 [C99-based standards] (float_t): Expect type.
51999 [C99-based standards] (double_t): Expect type.
52000 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52001 type.
52002 [C99-based standards] (HUGE_VALL): Likewise.
52003 [C99-based standards] (INFINITY): Likewise.
52004 [C99-based standards] (NAN): Likewise.
52005 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52006 [C99-based standards] (FP_NAN): Likewise.
52007 [C99-based standards] (FP_NORMAL): Likewise.
52008 [C99-based standards] (FP_SUBNORMAL): Likewise.
52009 [C99-based standards] (FP_ZERO): Likewise.
52010 [C99-based standards] (FP_FAST_FMA): Use
52011 optional-macro-int-constant. Specify type. Require == 1.
52012 [C99-based standards] (FP_FAST_FMAF): Likewise.
52013 [C99-based standards] (FP_FAST_FMAL): Likewise.
52014 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52015 [C99-based standards] (FP_ILOGBNAN): Likewise.
52016 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52017 Specify type.
52018 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52019 [C99-based standards] (math_errhandling): Specify type.
52020 [ISO99 || ISO11] (signgam): Do not allow.
52021 [non-C99-based standards] (copysignf): Do not allow.
52022 [non-C99-based standards] (exp2f): Likewise.
52023 [non-C99-based standards] (log2f): Likewise.
52024 [non-C99-based standards] (modff): Allow.
52025 [non-C99-based standards] (erff): Do not allow.
52026 [non-C99-based standards] (erfcf): Likewise.
52027 [non-C99-based standards] (gammaf): Likewise.
52028 [non-C99-based standards] (hypotf): Likewise.
52029 [non-C99-based standards] (j0f): Likewise.
52030 [non-C99-based standards] (j1f): Likewise.
52031 [non-C99-based standards] (jnf): Likewise.
52032 [non-C99-based standards] (lgammaf): Likewise.
52033 [non-C99-based standards] (tgammaf): Likewise.
52034 [non-C99-based standards] (y0f): Likewise.
52035 [non-C99-based standards] (y1f): Likewise.
52036 [non-C99-based standards] (ynf): Likewise.
52037 [non-C99-based standards] (isnanf): Likewise.
52038 [non-C99-based standards] (acoshf): Likewise.
52039 [non-C99-based standards] (asinhf): Likewise.
52040 [non-C99-based standards] (atanhf): Likewise.
52041 [non-C99-based standards] (cbrtf): Likewise.
52042 [non-C99-based standards] (expm1f): Likewise.
52043 [non-C99-based standards] (ilogbf): Likewise.
52044 [non-C99-based standards] (log1pf): Likewise.
52045 [non-C99-based standards] (logbf): Likewise.
52046 [non-C99-based standards] (nextafterf): Likewise.
52047 [non-C99-based standards] (remainderf): Likewise.
52048 [non-C99-based standards] (rintf): Likewise.
52049 [non-C99-based standards] (scalbf): Likewise.
52050 [non-C99-based standards] (copysignl): Likewise.
52051 [non-C99-based standards] (exp2l): Likewise.
52052 [non-C99-based standards] (log2l): Likewise.
52053 [non-C99-based standards] (modfl): Allow.
52054 [non-C99-based standards] (erfl): Do not allow.
52055 [non-C99-based standards] (erfcl): Likewise.
52056 [non-C99-based standards] (gammal): Likewise.
52057 [non-C99-based standards] (hypotl): Likewise.
52058 [non-C99-based standards] (j0l): Likewise.
52059 [non-C99-based standards] (j1l): Likewise.
52060 [non-C99-based standards] (jnl): Likewise.
52061 [non-C99-based standards] (lgammal): Likewise.
52062 [non-C99-based standards] (tgammal): Likewise.
52063 [non-C99-based standards] (y0l): Likewise.
52064 [non-C99-based standards] (y1l): Likewise.
52065 [non-C99-based standards] (ynl): Likewise.
52066 [non-C99-based standards] (isnanl): Likewise.
52067 [non-C99-based standards] (acoshl): Likewise.
52068 [non-C99-based standards] (asinhl): Likewise.
52069 [non-C99-based standards] (atanhl): Likewise.
52070 [non-C99-based standards] (cbrtl): Likewise.
52071 [non-C99-based standards] (expm1l): Likewise.
52072 [non-C99-based standards] (ilogbl): Likewise.
52073 [non-C99-based standards] (log1pl): Likewise.
52074 [non-C99-based standards] (logbl): Likewise.
52075 [non-C99-based standards] (nextafterl): Likewise.
52076 [non-C99-based standards] (remainderl): Likewise.
52077 [non-C99-based standards] (rintl): Likewise.
52078 [non-C99-based standards] (scalbl): Likewise.
52079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52080 [non-C99-based standards] (FP_*): Do not allow.
52081 [C99-based standards] (FP_*): Change to
52082 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52083 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52084 allow.
52085 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52086 (SIG_ERR): Likewise.
52087 [X/Open-based standards] (SIG_HOLD): Likewise.
52088 (SIG_IGN): Likewise.
52089 (SIGABRT): Use macro-int-constant. Specify type. Require
52090 positive value.
52091 (SIGFPE): Likewise.
52092 (SIGILL): Likewise.
52093 (SIGINT): Likewise.
52094 (SIGSEGV): Likewise.
52095 (SIGTER): Likewise.
52096 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52097 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52098 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52099 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52100 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52101 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52102 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52103 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52104 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52105 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52106 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52107 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52108 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52109 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52110 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52111 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52112 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52113 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52114 [X/Open-based standards] (SIGTRAP): Likewise.
52115 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52116 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52117 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52118 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52119 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52120 allow.
52121
52122 2012-05-08 Ian Wienand <ianw@vmware.com>
52123
52124 [BZ #14080]
52125 * time/tzset.c (__tzset_parse_tz): Update default rules for
52126 daylight time changes in the Energy Policy Act of 2005.
52127
52128 2012-05-09 Andreas Jaeger <aj@suse.de>
52129
52130 [BZ #13983]
52131 * elf/ldconfig.c (parse_conf): Change string to make clear that
52132 ldconfig only issued a warning if ld.so.conf does not exist.
52133
52134 2012-05-08 David S. Miller <davem@davemloft.net>
52135
52136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52137 movxtod instead of popping the value on the stack.
52138
52139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52140
52141 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52142
52143 * config.h.in: Add HAVE_ARM_PCS_VFP.
52144
52145 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52146
52147 [BZ #13979]
52148 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52149 checking but the checks are disabled for any reason.
52150
52151 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52152
52153 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52154 and ELF64_R_TYPE with ELFW(R_TYPE).
52155
52156 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52157
52158 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52159 (ulimit): Likewise.
52160
52161 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52162 (settimeofday): Likewise.
52163
52164 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52165
52166 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52167 a struct th_u2 inside the union, and move tu_block/tu_code into
52168 a new th_u3 union of tu_block/tu_code inside of that. Move
52169 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52170 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52171 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52172 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52173 (th_stuff): Change to th_u1.tu_stuff.
52174 (th_data): Define.
52175 (th_msg): Change to th_u1.th_u2.tu_data.
52176
52177 2012-05-07 David S. Miller <davem@davemloft.net>
52178
52179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52180
52181 [BZ #14074]
52182 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52183 (SETUP_PIC_REG): Use it.
52184 (SETUP_PIC_REG_LEAF): Use it.
52185
52186 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52187
52188 [BZ #13885]
52189 [BZ #13923]
52190 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52191 USE_AS_EXPM1L.
52192 (EXPL_FINITE): Likewise.
52193 (FLDLOG): Likewise.
52194 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52195 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52196 e_expl.S.
52197 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52198 USE_AS_EXPM1L.
52199 (EXPL_FINITE): Likewise.
52200 (FLDLOG): Likewise.
52201 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52202 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52203 e_expl.S.
52204 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52205 test of -max_value argument for long double.
52206 * sysdeps/i386/fpu/libm-test-ulps: Update.
52207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52208
52209 2012-05-06 David S. Miller <davem@davemloft.net>
52210
52211 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52212 quad soft-float symbols whose references which are compiler
52213 generated.
52214 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52215
52216 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52217
52218 [BZ #13884]
52219 [BZ #13914]
52220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52221 USE_AS_EXP10L.
52222 (EXPL_FINITE): Likewise.
52223 (FLDLOG): Likewise.
52224 (c0): Likewise.
52225 (c1): Likewise.
52226 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52227 Adjust comments for base varying.
52228 (__expl_finite): Change alias to EXPL_FINITE.
52229 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52230 e_expl.S.
52231 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52232 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52233 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52234 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52235 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52236 USE_AS_EXP10L.
52237 (EXPL_FINITE): Likewise.
52238 (FLDLOG): Likewise.
52239 (c0): Likewise.
52240 (c1): Likewise.
52241 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52242 Adjust comments for base varying.
52243 (__expl_finite): Change alias to EXPL_FINITE.
52244 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52245 tests for bugs.
52246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52247
52248 [BZ #14064]
52249 * math/libm-test.inc (check_float_internal): Correct ulp
52250 calculation for subnormal expected results.
52251
52252 2012-05-06 Andreas Jaeger <aj@suse.de>
52253
52254 * Makeconfig (+math-flags): New, set to -frounding-math.
52255 (+cflags): Add +math-flags so that all of glibc gets compiled with
52256 it.
52257
52258 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52259
52260 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52261
52262 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52263 Disable one test.
52264
52265 [BZ #13787]
52266 [BZ #13922]
52267 [BZ #14036]
52268 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52269 (__ieee754_expl): Allow for and saturate large arguments.
52270 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52271 (u_threshold): Likewise.
52272 (__exp): Call __ieee754_exp before checking for overflow and
52273 underflow.
52274 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52275 (u_threshold): Likewise.
52276 (__expf): Call __ieee754_expf before checking for overflow and
52277 underflow.
52278 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52279 (u_threshold): Likewise.
52280 (__expl): Call __ieee754_expl before checking for overflow and
52281 underflow.
52282 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52283 (__ieee754_expl): Allow for and saturate large arguments.
52284 * math/libm-test.inc (exp_test): Add another test. Do not allow
52285 missing overflow exception on overflow.
52286 (expm1_test): Do not allow missing overflow exception on overflow.
52287
52288 * sysdeps/i386/fpu/e_expl.c: Move to ...
52289 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52290 rather than using inline asm.
52291 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52292 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52293 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52294
52295 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52296 (nice): Likewise.
52297 (poll): Likewise.
52298 (signal): Likewise.
52299 (time): Likewise.
52300 (times): Likewise.
52301
52302 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52303
52304 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52305 sysdeps/unix/common/syscalls.list.
52306 (fchmod): Likewise.
52307 (fchown): Likewise.
52308 (ftruncate): Likewise.
52309 (getrusage): Likewise.
52310 (gettimeofday): Likewise.
52311 (setpgid): Likewise.
52312 (setregid): Likewise.
52313 (setreuid): Likewise.
52314 (sigaction): Likewise.
52315 (truncate): Likewise.
52316 (vhangup): Likewise.
52317 * sysdeps/unix/common/syscalls.list: Remove file.
52318 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52319 * sysdeps/unix/sysv/linux/Implies: Likewise.
52320
52321 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52322
52323 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52325 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52326 Moved to ...
52327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52328 Here.
52329 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52330 to ...
52331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52332 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52333 to ...
52334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52335 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52336 to ...
52337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52338 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52339 to ...
52340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52341 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52342 to ...
52343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52344 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52345 to ...
52346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52347 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52348 to ...
52349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52350 Here.
52351 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52352 to ...
52353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52354 Here.
52355 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52356 to ...
52357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52358 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52359 Moved to ...
52360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52361 Here.
52362 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52363 to ...
52364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52365
52366 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52367
52368 * sysdeps/unix/common/bits/dirent.h: Remove file.
52369 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52370
52371 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52372 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52373 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52374 * sysdeps/unix/bsd/isatty.c: Likewise.
52375 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52376 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52377 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52378
52379 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52380
52381 [BZ #13563]
52382 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52383 long double comparison inaccuracies.
52384 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52386
52387 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52388
52389 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52390 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52391
52392 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52393
52394 [BZ #14049]
52395 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52396 nonzero digits before rounding a hex value.
52397 * stdlib/tst-strtod.c (tests): Add another test.
52398
52399 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52400
52401 * sysdeps/s390/fpu/libm-test-ulps: Update.
52402
52403 2012-05-03 Andreas Jaeger <aj@suse.de>
52404
52405 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52406 does not get optimized out.
52407 (malloc_opt_barrier): New.
52408
52409 2012-05-03 Andreas Jaeger <aj@suse.de>
52410 Roland McGrath <roland@hack.frob.com>
52411
52412 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52413 intermediate file deletion.
52414 (generated): Add .symlist files.
52415
52416 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52417
52418 [BZ #13775]
52419 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52420 Redirect under this condition.
52421 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52422 [__USE_GNU] (__dprintf_chk): Not under this condition.
52423 [__USE_GNU] (__vdprintf_chk): Likewise.
52424 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52425 under this condition.
52426 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52427 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52428 [__USE_XOPEN2K8] (vdprintf): Likewise.
52429 [__USE_GNU] (__dprintf_chk): Not under this condition.
52430 [__USE_GNU] (__vdprintf_chk): Likewise.
52431 [__USE_GNU] (dprintf): Likewise.
52432 [__USE_GNU] (vdprintf): Likewise.
52433
52434 2012-05-03 Roland McGrath <roland@hack.frob.com>
52435
52436 * elf/Makefile (common-generated): Set this instead of generated for
52437 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52438 $(all-built-dso)-derived lists.
52439
52440 2012-05-03 Andreas Jaeger <aj@suse.de>
52441
52442 * sysdeps/i386/fpu/libm-test-ulps: Update.
52443
52444 * FAQ: Removed.
52445 * FAQ.in: Likewise.
52446 * scripts/gen-FAQ.pl: Likewise.
52447 * manual/install.texi (Installation): Point to online location of
52448 FAQ.
52449 * Makefile (files-for-dist): Remove FAQ.
52450 (FAQ): Remove.
52451
52452 2012-05-02 Allan McRae <allan@archlinux.org>
52453
52454 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52455 (LDFLAGS-reldepmod5.so): Likewise.
52456 (LDFLAGS-reldep6mod1.so): Likewise.
52457 (LDFLAGS-reldep6mod4.so): Likewise.
52458 (LDFLAGS-reldep8mod3.so): Likewise.
52459 (LDFLAGS-unload4mod1.so): Likewise.
52460 (LDFLAGS-unload4mod2.so): Likewise.
52461 (LDFLAGS-tst-initorder): Likewise.
52462 (LDFLAGS-tst-initordera2.so): Likewise.
52463 (LDFLAGS-tst-initordera3.so): Likewise.
52464 (LDFLAGS-tst-initordera4.so): Likewise.
52465 (LDFLAGS-tst-initorderb2.so): Likewise.
52466 (LDFLAGS-noload): Likewise.
52467 (LDFLAGS-next): Likewise.
52468 (LDFLAGS-order2mod1.so): Likewise.
52469 (LDFLAGS-order2mod2.so): Likewise.
52470 (LDFLAGS-tst-initorder2): Likewise.
52471 (LDFLAGS-tst-initorder2a.so): Likewise.
52472 (LDFLAGS-tst-initorder2b.so): Likewise.
52473 (LDFLAGS-tst-initorder2c.so): Likewise.
52474 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52475
52476 2012-05-02 David S. Miller <davem@davemloft.net>
52477
52478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52479
52480 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52481
52482 [BZ #14055]
52483 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52484
52485 2012-05-02 Andreas Jaeger <aj@suse.de>
52486
52487 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52488 since we manipulate rounding mode.
52489 (CPPFLAGS-test-idouble.c): Likewise.
52490 (CPPFLAGS-test-ifloat.c): Likewise.
52491 (CFLAGS-test-ldouble.c): Likewise.
52492 (CFLAGS-test-double.c): Likewise.
52493 (CFLAGS-test-float.c): Likewise.
52494 (CFLAGS-test-misc.c): Likewise.
52495 (CFLAGS-test-test-fenv.c): Likewise.
52496
52497 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52498
52499 [BZ #2550]
52500 [BZ #2570]
52501 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52502 comparisons to determine direction to adjust input.
52503
52504 2012-05-01 Roland McGrath <roland@hack.frob.com>
52505
52506 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52507 output to the target.
52508
52509 * scripts/localplt.awk: New file.
52510 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52511 (check-localplt-CFLAGS): Variable removed.
52512 ($(all-built-dso:=.jmprel)): New static pattern rule.
52513 (generated): Add those targets.
52514 (localplt-built-dso): New variable.
52515 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52516
52517 * elf/check-localplt.c: File removed.
52518
52519 * scripts/check-execstack.awk: New file.
52520 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52521 (check-execstack-CFLAGS): Variable removed.
52522 ($(objpfx)check-execstack.h): Target removed.
52523 ($(objpfx)execstack-default): New target.
52524 (generated): Add that instead of check-execstack.h.
52525 ($(all-built-dso:=.phdr)): New static pattern rule.
52526 (generated): Add those targets.
52527 * elf/check-execstack.c: File removed.
52528
52529 * scripts/check-textrel.awk: New file.
52530 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52531 (check-textrel-CFLAGS): Variable removed.
52532 (all-built-dso): Use := to define.o
52533 ($(all-built-dso:=.dyn)): New static pattern rule.
52534 (generated): Add those targets.
52535 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52536 * config.make.in (READELF): New substituted variable.
52537 * elf/check-textrel.c: File removed.
52538
52539 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52540
52541 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52542 allow.
52543 * conform/data/ctype.h-data [C99-based standards] (isblank):
52544 Expect function.
52545 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52546 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52547 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52548 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52549 Specify type. Require positive value.
52550 (EILSEQ): Likewise.
52551 (ERANGE): Likewise.
52552 [ISO || POSIX] (EILSEQ): Do not expect.
52553 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52554 Specify type. Require positive value.
52555 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52556 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52557 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52558 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52559 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52560 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52561 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52562 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52563 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52564 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52565 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52566 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52567 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52568 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52569 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52570 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52571 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52572 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52573 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52574 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52575 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52576 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52577 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52578 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52579 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52580 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52581 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52582 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52583 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52584 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52585 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52586 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52587 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52588 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52589 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52590 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52591 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52592 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52593 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52594 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52595 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52596 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52597 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52598 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52599 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52600 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52601 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52602 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52603 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52604 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52605 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52606 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52607 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52608 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52609 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52610 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52611 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52612 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52613 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52614 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52615 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52616 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52617 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52618 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52619 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52620 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52621 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52622 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52623 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52624 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52625 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52626 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52627 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52628 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52629 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52630 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52631 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52632 Require >= 2.
52633 (FLT_ROUNDS): Expect as macro, not constant.
52634 (FLT_MANT_DIG): Use macro-int-constant.
52635 (DBL_MANT_DIG): Likewise.
52636 (LDBL_MANT_DIG): Likewise.
52637 (FLT_DIG): Likewise.
52638 (DBL_DIG): Likewise.
52639 (LDBL_DIG): Likewise.
52640 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52641 (DBL_MIN_EXP): Likewise.
52642 (LDBL_MIN_EXP): Likewise.
52643 (FLT_MAX_EXP): Use macro-int-constant.
52644 (DBL_MAX_EXP): Likewise.
52645 (LDBL_MAX_EXP): Likewise.
52646 (FLT_MAX_10_EXP): Likewise.
52647 (DBL_MAX_10_EXP): Likewise.
52648 (LDBL_MAX_10_EXP): Likewise.
52649 (FLT_MAX): Use macro-constant.
52650 (DBL_MAX): Likewise.
52651 (LDBL_MAX): Likewise.
52652 (FLT_EPSILON): Use macro-constant. Give upper bound.
52653 (DBL_EPSILON): Likewise.
52654 (LDBL_EPSILON): Likewise.
52655 (FLT_MIN): Likewise.
52656 (DBL_MIN): Likewise.
52657 (LDBL_MIN): Likewise.
52658 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52659 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52660 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52661 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52662 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52663 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52664 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52665 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52666 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52667 [ISO11] (FLT_TRUE_MIN): Likewise.
52668 [ISO11] (LDBL_TRUE_MIN): Likewise.
52669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52670 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52671 (SCHAR_MIN): Use macro-int-constant. Specify type.
52672 (SCHAR_MAX): Likewise.
52673 (UCHAR_MAX): Likewise.
52674 (CHAR_MIN): Likewise.
52675 (CHAR_MAX): Likewise.
52676 (MB_LEN_MAX): Use macro-int-constant.
52677 (SHRT_MIN): Use macro-int-constant. Specify type.
52678 (SHRT_MAX): Likewise.
52679 (USHRT_MAX): Likewise.
52680 (INT_MAX): Likewise.
52681 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52682 bound negative.
52683 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52684 bound with "U".
52685 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52686 bound with "L".
52687 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52688 bound negative. Suffix upper bound with "L".
52689 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52690 bound with "UL".
52691 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52692 Specify type.
52693 [C99-based standards] (LLONG_MAX): Likewise.
52694 [C99-based standards] (ULLONG_MAX): Likewise.
52695 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52696 == 0.
52697 [ISO11] (max_align_t): Require type.
52698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52699
52700 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52701 from $CFLAGS, without defining away __attribute__ calls.
52702 (checknamespace): Use $CFLAGS_namespace.
52703
52704 * conform/conformtest.pl (@keywords): Only include C99 keywords
52705 for standards based on C99 or C11.
52706
52707 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52708 Disable tests.
52709 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52710 UNIX98]: Likewise.
52711
52712 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52713 usability of symbols in #if.
52714
52715 * conform/conformtest.pl: If macro or constant types start
52716 "promoted:", expect the symbol to be of the following type
52717 promoted by the integer promotions.
52718
52719 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52720 in one place. Also handle "macro-constant".
52721
52722 * conform/conformtest.pl: Only accept expected macro values with
52723 "==". Parse all "macro" lines in one place.
52724 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52725
52726 * conform/conformtest.pl: Handle braced types on "constant" lines
52727 instead of handling "typed-constant".
52728 * conform/data/signal.h-data: Use "constant" instead of
52729 "typed-constant".
52730
52731 * conform/conformtest.pl: Handle "optional-" at start of lines in
52732 one place rather than duplicating several cases. Handle each
52733 format of "macro" line with initial "optional-".
52734
52735 * conform/conformtest.pl: Only accept expected constant or
52736 optional-constant values with "==". Parse all "constant" lines in
52737 one place. Parse all "optional-constant" lines in one place.
52738 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52739 * conform/data/fmtmsg.h-data: Likewise.
52740 * conform/data/netinet/in.h-data: Likewise.
52741 * conform/data/tar.h-data: Likewise.
52742 * conform/data/limits.h-data: Use "==" form on "constant" and
52743 "optional-constant" lines.
52744
52745 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52746 Use -std=c99 for XOPEN2K.
52747 (@knownproblems): Remove.
52748 (newtoken): Don't check %isknown.
52749
52750 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52751 Do not expect macro.
52752 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52753 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52754 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52755 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52756 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52757 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52758 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52759 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52760 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52761 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52762 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52763 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52764 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52765 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52766 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52767 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52768 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52769 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52770 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52771 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52772 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52773 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52774 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52775 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52776 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52777 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52778 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52779 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52780 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52781 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52782 [XPG3] (acosh): Likewise.
52783 [XPG3] (asinh): Likewise.
52784 [XPG3] (atanh): Likewise.
52785 [XPG3] (cbrt): Likewise.
52786 [XPG3] (expm1): Likewise.
52787 [XPG3] (ilogb): Likewise.
52788 [XPG3] (log1p): Likewise.
52789 [XPG3] (logb): Likewise.
52790 [XPG3] (nextafter): Likewise.
52791 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52792 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52793 [XPG3] (remainder): Likewise.
52794 [XPG3] (rint): Likewise.
52795 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52796 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52797 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52798 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52799 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52800 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52801 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52802 [UNIX98 || XOPEN2K] (scalb): Expect.
52803 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52804 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52805 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52806 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52807 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52808 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52809 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52810 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52811 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52812 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52813 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52814 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52815 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52816 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52817 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52818 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52819 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52820 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52821 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52822 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52823 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52824 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52825 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52826 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52827 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52828 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52829 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52830 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52831 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52832 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52833 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52834 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52835 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52836 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52837 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52838 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52839 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52840 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52841 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52842 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52843 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52844 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52845 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52846 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52847 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52848 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52849 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52850 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52851 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52852 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52853 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52854 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52855 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52856 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52857 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52858 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52859 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52860 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52861 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52862 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52863 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52864 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52865 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52866 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52867 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52868 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52869 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52870 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52871 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52872 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52873 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52874 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52875 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52876 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52877 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52878 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52879 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52880 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52881 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52882 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52883 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52884 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52885 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52886 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52887 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52888 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52889 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52890 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52891 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52892 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52893 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52894 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52895 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52896 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52897 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52898 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52899 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52900 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52901 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52902 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52903 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52904 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52905 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52906 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52907 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52908 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52909 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52910 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52911 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52912 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52913 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52914 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52915 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52916 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52917 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52918 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52919 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52920 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52921 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52922 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52923 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52924 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52925 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52926 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52927 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52928 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52929 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52930 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52931 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52932 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52933 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52934 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52935 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52936 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52937 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52938 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52939 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52940
52941 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52942 _XOPEN_SOURCE_EXTENDED for XPG4.
52943
52944 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52945
52946 * Makeconfig (localtime): Remove variable.
52947 (inst_localtime-file): Likewise.
52948
52949 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52950
52951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52952 Update.
52953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52954 Update.
52955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52956 Update.
52957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52958 Update.
52959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52960 Update.
52961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52962 Update.
52963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52964 Update.
52965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52966 Update.
52967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52968 Update.
52969
52970 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52971
52972 [BZ #2550]
52973 [BZ #2570]
52974 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52975 comparisons to determine direction to adjust input.
52976 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52977 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52978 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52979 Likewise.
52980 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52981 Likewise.
52982 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52983 Likewise.
52984 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52985 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52986 Likewise.
52987 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52988 Likewise.
52989 * math/libm-test.inc (nexttoward_test): Add more tests.
52990
52991 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52992
52993 [BZ #14040]
52994 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52995 in version GLIBC_2.1, not GLIBC_2.0.
52996 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52997 Likewise.
52998
52999 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53000
53001 [BZ #13942]
53002 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53003 (1 - x) * (1 + x).
53004 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53005 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53006 * math/libm-test.inc (acos_test): Add more tests.
53007 (asin_test): Likewise.
53008 * sysdeps/i386/fpu/libm-test-ulps: Update.
53009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53010
53011 [BZ #14034]
53012 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53013 of square root.
53014 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53015 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53016 * math/libm-test.inc (acos_test_tonearest): New function.
53017 (acos_test_towardzero): Likewise.
53018 (acos_test_downward): Likewise.
53019 (acos_test_upward): Likewise.
53020 (asin_test_tonearest): Likewise.
53021 (asin_test_towardzero): Likewise.
53022 (asin_test_downward): Likewise.
53023 (asin_test_upward): Likewise.
53024 (main): Call the new functions.
53025 * sysdeps/i386/fpu/libm-test-ulps: Update.
53026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53027
53028 [BZ #13884]
53029 [BZ #13924]
53030 * math/e_exp10.c: Include <float.h>.
53031 (__ieee754_exp10): Handle underflow here rather than multiplying
53032 large negative argument by M_LN10.
53033 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53034 of __ieee754_expf.
53035 * math/e_exp10l.c: Include <float.h>.
53036 (__ieee754_exp10l): Handle underflow here rather than multiplying
53037 large negative argument by M_LN10l.
53038 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53039 spurious overflow exception on underflow.
53040
53041 2012-04-29 Marek Polacek <polacek@redhat.com>
53042
53043 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53044 (__fortify_function): New macro.
53045 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53046 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53047 __extern_always_inline.
53048 * libio/bits/stdio2.h: Likewise.
53049 * libio/bits/stdio.h: Likewise.
53050 * string/string.h: Likewise.
53051 * string/bits/string3.h: Likewise.
53052 * include/stdio.h: Likewise.
53053 * stdlib/bits/stdlib.h: Likewise.
53054 * stdlib/stdlib.h: Likewise.
53055 * rt/bits/mqueue2.h: Likewise.
53056 * rt/mqueue.h: Likewise.
53057 * posix/bits/unistd.h: Likewise.
53058 * posix/unistd.h: Likewise.
53059 * io/bits/poll2.h: Likewise.
53060 * io/bits/fcntl2.h: Likewise.
53061 * io/fcntl.h: Likewise.
53062 * io/sys/poll.h: Likewise.
53063 * misc/bits/syslog.h: Likewise.
53064 * misc/bits/syslog-ldbl.h: Likewise.
53065 * misc/sys/syslog.h: Likewise.
53066 * socket/bits/socket2.h: Likewise.
53067 * socket/sys/socket.h: Likewise.
53068 * debug/tst-chk1.c: Likewise.
53069 * wcsmbs/bits/wchar2.h: Likewise.
53070 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53071 * wcsmbs/wchar.h: Likewise.
53072
53073 2012-04-29 Andreas Jaeger <aj@suse.de>
53074
53075 * Makerules (tests): Remove enable-check-abi protection.
53076 (check-abi-warn): Remove.
53077 (check-abi-%): Remove check-abi-warn usage.
53078
53079 * configure.in: Remove check-abi configure option.
53080 * configure: Regenerated.
53081 * config.make.in (enable-check-abi): Remove.
53082
53083 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53084
53085 [BZ #14033]
53086 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53087 double functions to double *_finite functions.
53088
53089 [BZ #13941]
53090 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53091 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53092 LDBL_MIN_EXP.
53093 * stdio-common/Makefile (tests): Add tst-sprintf3.
53094 * stdio-common/tst-sprintf3.c: New file.
53095
53096 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53097 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53098
53099 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53100
53101 * conform/conformtest.pl: Remove duplicate typed-constant
53102 handling.
53103
53104 2012-04-28 David S. Miller <davem@davemloft.net>
53105
53106 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53107 (check-abi-%): Remove AWK script prerequisite and explicit
53108 abilist directory.
53109 (check-abi): Rewrite to just diff the symlist with the abilist.
53110 (config-tls, config-abi-config): Delete, no longer used.
53111 (update-abi-%): Remove AWK script and explicit abilist directory.
53112 (update-abi): Rewrite to simply compare and conditionally copy the
53113 symlist and the sysdep abilist file. Remove update-abi-config
53114 checks.
53115 * abilist/ld.abilist: Remove.
53116 * abilist/libBrokenLocale.abilist: Remove.
53117 * abilist/libanl.abilist: Remove.
53118 * abilist/libcrypt.abilist: Remove.
53119 * abilist/libdl.abilist: Remove.
53120 * abilist/librt.abilist: Remove.
53121 * abilist/libthread_db.abilist: Remove.
53122 * abilist/libutil.abilist: Remove.
53123 * scripts/extract-abilist.awk: Remove.
53124 * scripts/merge-abilist.awk: Remove.
53125 * sysdeps/generic/libcidn.abilist: New file.
53126 * sysdeps/generic/libnss_compat.abilist: New file.
53127 * sysdeps/generic/libnss_db.abilist: New file.
53128 * sysdeps/generic/libnss_dns.abilist: New file.
53129 * sysdeps/generic/libnss_files.abilist: New file.
53130 * sysdeps/generic/libnss_hesiod.abilist: New file.
53131 * sysdeps/generic/libnss_nis.abilist: New file.
53132 * sysdeps/generic/libnss_nisplus.abilist: New file.
53133 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53134 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53135 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53136 file.
53137 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53138 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53139 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53140 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53141 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53142 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53143 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53144 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53145 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53146 file.
53147 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53148 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53149 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53150 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53151 file.
53152 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53153 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53154 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53155 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53156 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53157 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53158 file.
53159 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53160 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53161 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53162 file.
53163 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53165 New file.
53166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53167 New file.
53168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53169 New file.
53170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53171 New file.
53172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53173 New file.
53174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53175 New file.
53176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53177 New file.
53178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53179 New file.
53180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53181 New file.
53182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53183 New file.
53184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53185 New file.
53186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53187 New file.
53188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53189 New file.
53190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53191 file.
53192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53193 New file.
53194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53195 New file.
53196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53197 file.
53198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53199 New file.
53200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53201 New file.
53202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53203 file.
53204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53205 New file.
53206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53207 New file.
53208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53209 New file.
53210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53211 New file.
53212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53213 New file.
53214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53215 New file.
53216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53218 file.
53219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53220 New file.
53221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53222 file.
53223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53224 file.
53225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53226 file.
53227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53228 file.
53229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53230 file.
53231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53232 New file.
53233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53234 file.
53235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53236 file.
53237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53238 New file.
53239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53240 file.
53241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53243 file.
53244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53245 New file.
53246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53247 file.
53248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53249 file.
53250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53251 file.
53252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53253 file.
53254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53255 file.
53256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53257 New file.
53258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53259 file.
53260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53261 file.
53262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53263 New file.
53264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53265 file.
53266 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53267 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53268 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53269 file.
53270 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53271 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53272 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53273 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53274 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53275 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53276 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53277 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53278 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53279 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53282 file.
53283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53284 New file.
53285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53286 file.
53287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53288 file.
53289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53290 file.
53291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53292 file.
53293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53294 file.
53295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53296 New file.
53297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53298 New file.
53299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53300 file.
53301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53302 New file.
53303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53304 file.
53305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53307 file.
53308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53309 New file.
53310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53311 file.
53312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53313 file.
53314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53315 file.
53316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53317 file.
53318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53319 file.
53320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53321 New file.
53322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53323 New file.
53324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53325 file.
53326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53327 New file.
53328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53329 file.
53330
53331 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53332
53333 * conform/conformtest.pl: Fix typo in handling typed-constant from
53334 allow-header.
53335
53336 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53337
53338 * README: Cut down references to pre-2.6 Linux kernels and
53339 Linuxthreads. Update lists of configurations in libc and ports
53340 and sort alphabetically. Say "or newer" with Linux kernel version
53341 requirements.
53342
53343 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53344
53345 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53346
53347 [BZ #887]
53348 * math/libm-test.inc (logb_test_downward): New test to expose
53349 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53350 rounding mode.
53351
53352 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53353
53354 [BZ #14027]
53355 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53356 to be done.
53357 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53358 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53359
53360 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53361
53362 * sysdeps/unix/i386/brk.S: Remove file.
53363 * sysdeps/unix/i386/dl-brk.S: Likewise.
53364 * sysdeps/unix/i386/pipe.S: Likewise.
53365 * sysdeps/unix/i386/sigreturn.S: Likewise.
53366 * sysdeps/unix/i386/syscall.S: Likewise.
53367 * sysdeps/unix/i386/vfork.S: Likewise.
53368 * sysdeps/unix/i386/wait.S: Likewise.
53369
53370 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53371 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53372
53373 * configure.in (arm*-none*): Do not allow without
53374 --enable-hacker-mode.
53375 (netbsd*): Remove case setting base_os.
53376 (386bsd*): Likewise.
53377 (freebsd*): Likewise.
53378 (bsdi*): Likewise.
53379 (osf*): Likewise.
53380 (sunos*): Likewise.
53381 (ultrix*): Likewise.
53382 (newsos*): Likewise.
53383 (dynix*): Likewise.
53384 (*bsd*): Likewise.
53385 (sysv*): Likewise.
53386 (isc*): Likewise.
53387 (esix*): Likewise.
53388 (sco*): Likewise.
53389 (minix*): Likewise.
53390 (irix4*): Likewise.
53391 (irix6*): Likewise.
53392 (solaris[2-9]*): Likewise.
53393 (none): Likewise.
53394 * configure: Regenerated.
53395
53396 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53397
53398 [BZ #11521]
53399 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53400 overflow or cancellation in calculating denominator.
53401 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53403 down expression to avoid unexpected rounding in newer GCCs.
53404 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53405
53406 2012-04-26 David S. Miller <davem@davemloft.net>
53407
53408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53409 long-double compat symbols.
53410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53423
53424 2012-04-25 David S. Miller <davem@davemloft.net>
53425
53426 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53427 HWCAP_* values only after the memory barriers have been defined.
53428 (atomic_full_barrier): Define.
53429 (atomic_read_barrier): Define.
53430 (atomic_write_barrier): Define.
53431
53432 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53433
53434 * shlib-versions: Add libgcc_s version information.
53435 * sysdeps/generic/libgcc_s.h: Remove.
53436 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53437 libgcc_s.h.
53438 * sysdeps/gnu/unwind-resume.c: Likewise.
53439 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53440
53441 2012-04-25 David S. Miller <davem@davemloft.net>
53442
53443 * sysdeps/unix/sparc/brk.S: Delete.
53444 * sysdeps/unix/sparc/dl-brk.S: Delete.
53445 * sysdeps/unix/sparc/pipe.S: Delete.
53446 * sysdeps/unix/sparc/sysdep.S: Delete.
53447 * sysdeps/unix/sparc/sysdep.h: Delete.
53448 * sysdeps/unix/sparc/vfork.S: Delete.
53449 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53450 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53451 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53452 (ret_ERRVAL, r0, r1, MOVE): Define.
53453 (JUMPTARGET): Remove.
53454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53455 sysdeps/unix/sparc/sysdep.h
53456 (ENTRY, END): Remove.
53457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53458
53459 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53460
53461 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53462 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53463 -DIS_IN_build.
53464
53465 * timezone/README: Update upstream location and email address for
53466 tzcode and tzdata.
53467 * timezone/zdump.c: Update from tzcode 2012b.
53468 * timezone/zic.c: Likewise.
53469
53470 * configure.in (libc_cv_as_needed): Remove test.
53471 * configure: Regenerated.
53472 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53473 conditional definition.
53474 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53475 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53476 * config.make.in (have-as-needed): Remove variable.
53477
53478 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53479 Paul Pluzhnikov <ppluzhnikov@google.com>
53480
53481 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53482 strings correctly.
53483
53484 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53485
53486 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53487 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53488 * sysdeps/sh/strlen.S: Likewise.
53489
53490 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53491
53492 * sysdeps/unix/fork.S: Remove file.
53493 * sysdeps/unix/i386/fork.S: Likewise.
53494 * sysdeps/unix/sparc/fork.S: Likewise.
53495
53496 * sysdeps/unix/system.c: Remove file.
53497 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53498
53499 * sysdeps/unix/getegid.S: Remove file.
53500 * sysdeps/unix/geteuid.S: Likewise.
53501
53502 2012-04-24 Roland McGrath <roland@hack.frob.com>
53503
53504 * scripts/check-localplt.awk: New file.
53505 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53506 of diff.
53507 * scripts/data/localplt-generic.data: Add a comment.
53508
53509 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53510 NODE when __dir_mkfile failed.
53511 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53512 Reported by Ludovic Courtès <ludo@gnu.org>.
53513
53514 2012-04-24 Andreas Jaeger <aj@suse.de>
53515
53516 * Makerules (common-clean): Also remove gen-as-const-headers
53517 files.
53518
53519 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53520
53521 * Makerules (native-compile): Do not change working directory for
53522 build. Use $(OUTPUT_OPTION) in command.
53523 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53524
53525 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53526
53527 [BZ #13886]
53528 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53529 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53530 * math/libm-test.inc (floor_test): Add more tests.
53531 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53532
53533 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53534
53535 * sysdeps/unix/getdents.c: Remove file.
53536 * sysdeps/unix/sysv/getdents.c: Likewise.
53537 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53538
53539 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53540 sysdeps/unix/mman/syscalls.list.
53541 (mmap): Likewise.
53542 (mprotect): Likewise.
53543 (msync): Likewise.
53544 (munmap): Likewise.
53545 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53546 * sysdeps/unix/mman/syscalls.list: Remove.
53547 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53548
53549 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53550 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53551 * configure: Regenerated.
53552 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53553 $(libgcc_s_suffix).
53554 * config.make.in (libgcc_s_suffix): Remove variable.
53555
53556 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53557
53558 * sysdeps/unix/sysv/gethostname.c: Move to ...
53559 * sysdeps/posix/gethostname.c: ... here.
53560
53561 * sysdeps/unix/execve.S: Remove file.
53562
53563 * sysdeps/unix/_exit.S: Remove file.
53564
53565 2012-04-23 Andreas Jaeger <aj@suse.de>
53566
53567 [BZ #13739]
53568 * manual/Makefile: Remove make dist support, there's no
53569 need for a stand-alone documentation tar ball.
53570 (TEXI2DVI): Define always, it's not in Makeconfig.
53571 (dist): Removed.
53572 (tar-it): Removed.
53573 (edition): Removed.
53574 (glibc-doc-$(edition).tar): Removed
53575 (%.Z): Removed.
53576 (%.gz): Removed.
53577 (%.uu): Removed.
53578 (ETAGS): Remove, it's in Makeconfig.
53579 (move-if-change): Remove, it's in Makeconfig.
53580
53581 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53582
53583 [BZ #13970]
53584 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53585 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53586 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53587 (strtod_l, strtof_l, strtold_l): Remove __wur.
53588 It is not necessarily an error to ignore strtol's return value.
53589 One can reliably look at the stored endptr to decide whether
53590 the number had valid syntax.
53591
53592 2012-04-21 Andreas Jaeger <aj@suse.de>
53593
53594 [BZ #13739]
53595 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53596
53597 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53598
53599 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53600 * sysdeps/unix/sysv/Versions: Remove file.
53601
53602 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53603
53604 [BZ #13927]
53605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53606
53607 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53608
53609 [BZ #7064]
53610 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53611 version from __vm86.
53612
53613 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53614
53615 * sysdeps/unix/common/lxstat.c: Remove file.
53616 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53617
53618 * sysdeps/unix/sysv/Makefile: Remove file.
53619
53620 * sysdeps/unix/sysv/direct.h: Remove file.
53621
53622 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53623 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53624 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53625 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53626 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53627 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53628 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53629
53630 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53631
53632 * sysdeps/unix/xmknod.c: Remove file.
53633 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53634
53635 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53636
53637 * sysdeps/unix/sysv/i386/time.S: Remove file.
53638
53639 * sysdeps/unix/fxstat.c: Remove file.
53640 * sysdeps/unix/xstat.c: Likewise.
53641 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53642
53643 * sysdeps/unix/sysv/sigaction.c: Remove file.
53644
53645 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53646 (sysdep_headers): Remove variable.
53647 [termio.h not in sysdep_headers] (generated): Likewise.
53648 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53649 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53650 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53651 * sysdeps/unix/sysv/tcflow.c: Likewise.
53652 * sysdeps/unix/sysv/tcflush.c: Likewise.
53653 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53654 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53655 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53656 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53657 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53658
53659 * sysdeps/unix/siglist.c: Remove file.
53660
53661 * sysdeps/unix/getppid.S: Remove file.
53662
53663 * sysdeps/unix/mkdir.c: Remove file.
53664 * sysdeps/unix/rmdir.c: Likewise.
53665
53666 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53667
53668 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53669 ERR_MAX value.
53670 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53671 errlist-compat value.
53672
53673 2012-04-18 David S. Miller <davem@davemloft.net>
53674
53675 * sysdeps/generic/memcopy.h (reg_char): Delete.
53676 * debug/strcat_chk.c: Use char, not reg_char.
53677 * debug/strcpy_chk.c: Likewise.
53678 * debug/strncat_chk.c: Likewise.
53679 * debug/strncpy_chk.c: Likewise.
53680 * string/memchr.c: Likewise.
53681 * string/memrchr.c: Likewise.
53682 * string/rawmemchr.c: Likewise.
53683 * string/strcat.c: Likewise.
53684 * string/strchr.c: Likewise.
53685 * string/strchrnul.c: Likewise.
53686 * string/strcmp.c: Likewise.
53687 * string/strcpy.c: Likewise.
53688 * string/strncat.c: Likewise.
53689 * string/strncmp.c: Likewise.
53690 * string/strncpy.c: Likewise.
53691
53692 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53693
53694 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53695 __builtin_memcopy is called when src and dest ranges are known to not
53696 overlap.
53697
53698 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53699
53700 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53701 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53702 fwd_align_merge macro call.
53703 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53704 bwd_align_merge macro call.
53705 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53706
53707 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53708
53709 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53710 bwd_align_merge macros.
53711 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53712 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53713 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53714
53715 2012-04-18 David S. Miller <davem@davemloft.net>
53716
53717 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53718
53719 2012-04-18 Andreas Jaeger <aj@suse.de>
53720
53721 [BZ# 6794]
53722 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53723 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53724 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53725
53726 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53727 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53728 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53729
53730 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53731 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53732 Adjust for changed ldbl-128 files.
53733
53734 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53735 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53736 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53737
53738 2012-04-17 David S. Miller <davem@davemloft.net>
53739
53740 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53741
53742 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53743
53744 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53745 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53746 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53747 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53748 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53749 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53750
53751 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53752
53753 [BZ #6794]
53754 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53755 * math/libm-test.inc: Add ilogb errno and exception tests.
53756 * math/w_ilogb.c: New file: ilogb wrapper.
53757 * math/w_ilogbf.c: New file: ilogbf wrapper.
53758 * math/w_ilogbl.c: New file: ilogbl wrapper.
53759 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53760 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53761 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53762 exception being thrown with 0.0 as argument.
53763 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53764 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53765 exception being thrown with 0.0 as argument.
53766 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53767 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53768 exception being thrown with 0.0 as argument.
53769 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53770 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53771 exception being thrown with 0.0 as argument.
53772 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53773 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53774 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53775 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53776 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53777 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53778 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53779 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53780 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53781
53782 2012-04-17 Petr Baudis <pasky@ucw.cz>
53783
53784 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53785 with altivec.
53786
53787 2012-04-16 Marek Polacek <polacek@redhat.com>
53788
53789 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53790
53791 2012-04-16 Marek Polacek <polacek@redhat.com>
53792
53793 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53794 operands of fdivp instruction.
53795
53796 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53797
53798 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53799 * elf/tst-auditmod3b.c: Likewise.
53800 * elf/tst-auditmod4b.c: Likewise.
53801 * elf/tst-auditmod5b.c: Likewise.
53802 * elf/tst-auditmod6b.c: Likewise.
53803 * elf/tst-auditmod6c.c: Likewise.
53804 * elf/tst-auditmod7b.c: Likewise.
53805 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53806 * sysdeps/x86_64/preconfigure.in: Likewise.
53807 * sysdeps/x86_64/preconfigure: Regenerated.
53808
53809 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53810
53811 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53812 __ILP32__.
53813
53814 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53815
53816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53817 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53818
53819 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53820
53821 [BZ #13973]
53822 * locale/iso-639.def: Fix gl language name. Spotted by
53823 Yaron Shahrabani.
53824
53825 2012-04-12 Roland McGrath <roland@hack.frob.com>
53826
53827 [BZ #2074]
53828 * libio/libio.h (__io_write_fn): Update comment.
53829
53830 2012-04-12 Petr Baudis <pasky@ucw.cz>
53831
53832 [BZ #2074]
53833 * stdio.texi (Hook Functions): The user provided writer function
53834 is not allowed to return -1.
53835
53836 2012-04-11 David S. Miller <davem@davemloft.net>
53837
53838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53839
53840 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53841
53842 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53843 Add a leading slash to rtkaio.
53844
53845 2012-04-11 Jim Meyering <meyering@redhat.com>
53846
53847 [BZ #11959]
53848 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53849 It is not necessarily an error to ignore fwrite's return
53850 value. One can reliably use ferror to test for errors after
53851 the fact.
53852
53853 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53854
53855 * bits/types.h (__snseconds_t): New type.
53856 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53857
53858 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53860 (__SNSECONDS_T_TYPE): Likewise.
53861 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53862 (__SNSECONDS_T_TYPE): Likewise.
53863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53864 (__SNSECONDS_T_TYPE): Likewise.
53865
53866 2012-04-10 Andreas Jaeger <aj@suse.de>
53867
53868 [BZ #2636]
53869 * manual/time.texi (Processor Time): Return type of times is
53870 elapsed real time since an arbitrary point in the past.
53871 (CPU Time): Move CLK_TCK from here...
53872 (Processor Time): ...to here. Correct description.
53873 * manual/conf.texi (Constants for Sysconf): Correct description of
53874 _SC_CLK_TCK.
53875
53876 2012-04-10 David S. Miller <davem@davemloft.net>
53877
53878 [BZ #13967]
53879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53880 where the is a gap between DT_REL(A) and DT_JMPREL.
53881
53882 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53883
53884 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53885 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53886 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53887
53888 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53889
53890 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53891 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53892 (dl_main): Handle --inhibit-cache.
53893 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53894 _dl_inhibit_cache.
53895 * elf/dl-load.c (_dl_map_object): Use it.
53896 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53897
53898 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53899
53900 [BZ #13872]
53901 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53902 (__ieee754_powl): Saturate large exponents rather than testing for
53903 overflow of y*log2(x).
53904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53905 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53906 exceptions.
53907
53908 [BZ #11521]
53909 * math/s_ctan.c: Include <float.h>.
53910 (__ctan): Avoid internal overflow or cancellation in calculating
53911 denominator.
53912 * math/s_ctanf.c: Likewise.
53913 * math/s_ctanl.c: Likewise.
53914 * math/s_ctanh.c: Likewise.
53915 * math/s_ctanhf.c: Likewise.
53916 * math/s_ctanhl.c: Likewise.
53917 * math/libm-test.inc (ctan_test): Add more tests.
53918 (ctanh_test): Likewise.
53919 * sysdeps/i386/fpu/libm-test-ulps: Update.
53920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53921
53922 2012-04-09 Andreas Jaeger <aj@suse.de>
53923
53924 [BZ #6894]
53925 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53926 is an optional BSD extension.
53927
53928 [BZ #10254]
53929 * manual/stdio.texi (Opening Streams): Document additional fopen
53930 parameters.
53931
53932 2012-04-09 Roland McGrath <roland@hack.frob.com>
53933
53934 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53935 %eax without telling the compiler.
53936
53937 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53938
53939 [BZ # 13963]
53940 * manual/install.texi: Use sourceware.org.
53941
53942 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53943
53944 [BZ #13873]
53945 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53946 (__ieee754_pow): Generate overflow and underflow using huge*huge
53947 and tiny*tiny rather than just returning constant infinity or zero
53948 for large exponents.
53949 * math/libm-test.inc (pow_test): Require overflow exceptions for
53950 applicable cases of large exponents.
53951
53952 [BZ #706]
53953 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53954 (__ieee754_pow): Use iterative multiplication algorithm only for
53955 integer exponents with absolute value below 1024. Check for odd
53956 integer exponents when using algorithm for real exponents.
53957 * math/libm-test.inc (pow_test): Add more tests.
53958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53959
53960 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53961
53962 [BZ #13705]
53963 * math/libm-test.inc (exp_test): Do not allow overflow exception
53964 on underflow test.
53965
53966 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53967
53968 [BZ #13705]
53969 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53970 instead of __kernel_standard_f.
53971
53972 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53973
53974 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53975 * sysdeps/x86_64/memset_chk.S: Likewise.
53976
53977 2012-04-08 Andreas Jaeger <aj@suse.de>
53978
53979 [BZ #10153]
53980 * manual/startup.texi (Environment Access): Describe return value
53981 for putenv and setenv.
53982
53983 [BZ #6895]
53984 * manual/filesys.texi (Directory Entries): Add description for
53985 DT_LNK.
53986
53987 [BZ #6890]
53988 * manual/filesys.texi (Directory Entries): Clarify that it's file
53989 system not operating system in the description of DT_UNKNOWN.
53990
53991 [BZ #6578]
53992 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53993
53994 2012-04-08 Stephen Compall <s11@member.fsf.org>
53995
53996 [BZ #6649]
53997 * manual/llio.texi (Opening and Closing Files): Add cross
53998 reference to explain mode argument.
53999
54000 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54001
54002 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54003 * sysdeps/x86_64/memset_chk.S: Likewise.
54004
54005 2012-04-07 David S. Miller <davem@davemloft.net>
54006
54007 * elf/elf.h (R_SPARC_WDISP10): Define.
54008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54009 R_SPARC_SIZE32.
54010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54011 R_SPARC_SIZE64 and R_SPARC_H34.
54012
54013 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54014
54015 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54016 conditions and remove no longer applicable assertion.
54017
54018 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54019
54020 * bits/byteswap.h: Include <features.h>.
54021 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54022 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54023
54024 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54025
54026 * bits/byteswap.h (__bswap_16): Removed.
54027 Include <bits/byteswap-16.h> to get __bswap_16.
54028 * sysdeps/i386/bits/byteswap.h: Likewise.
54029 * sysdeps/s390/bits/byteswap.h: Likewise.
54030 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54031 * bits/byteswap-16.h: New file.
54032 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54033 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54034 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54035 * string/Makefile (headers): Add bits/byteswap-16.h.
54036
54037 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54038
54039 [BZ #13895]
54040 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54041 extra indirection.
54042 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54043 * nss/tst-nss-static.c: New.
54044
54045 2012-04-06 Robert Millan <rmh@gnu.org>
54046
54047 [BZ #6486]
54048 * manual/llio.texi (File Position Primitive): lseek
54049 refers to WHENCE when it really means OFFSET.
54050
54051 2012-04-06 Andreas Jaeger <aj@suse.de>
54052
54053 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54054 strncmp declarations.
54055
54056 * abilist/libc.abilist: Add __poll and __ppoll.
54057
54058 2012-04-05 David S. Miller <davem@davemloft.net>
54059
54060 * scripts/check-local-headers.sh: Accept a host triplet in the
54061 path matched by the exclude regexp.
54062
54063 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54064 definition.
54065 * sysdeps/powerpc/powerpc32/dl-machine.h
54066 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54067 * sysdeps/s390/s390-32/dl-machine.h
54068 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54069 * sysdeps/sparc/sparc32/dl-machine.h
54070 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54071 * sysdeps/sparc/sparc64/dl-machine.h
54072 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54073
54074 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54075 lazy binding.
54076 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54077 undefined symbol errors.
54078
54079 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54080 DT_NEEDED entries.
54081
54082 2012-04-05 Michael Matz <matz@suse.de>
54083
54084 [BZ #13592]
54085 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54086
54087 2012-04-05 Andreas Jaeger <aj@suse.de>
54088
54089 [BZ #13908]
54090 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54091 comment.
54092
54093 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54094
54095 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54096 which ROUND is no valid rounding mode.
54097
54098 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54099
54100 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54101 read again.
54102 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54103
54104 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54105
54106 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54107 an exception using FPU order intentionally.
54108
54109 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54110
54111 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54112 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54113 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54114 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54115
54116 2012-04-05 Simon Josefsson <simon@josefsson.org>
54117
54118 [BZ #12340]
54119 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54120 EINVAL when BUFLEN is too smal.
54121
54122 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54123
54124 [BZ #13553]
54125 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54126 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54127
54128 2012-04-03 Andreas Jaeger <aj@suse.de>
54129
54130 [BZ #13938]
54131 * manual/setjmp.texi (System V contexts): Fix sentence.
54132
54133 [BZ #13926]
54134 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54135 New macro for this case.
54136 [!__GNUC__] (__bswap_64): New inline function for this case.
54137 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54138 * bits/byteswap.h: Likewise.
54139 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54140 ull, guard with __GLIBC_HAVE_LONG_LONG.
54141
54142 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54143 __GLIBC_HAVE_LONG_LONG.
54144
54145 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54146 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54147
54148 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54149
54150 [BZ #13691]
54151 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54152 inptr and inend, rather than using last_ch.
54153
54154 2012-04-02 David S. Miller <davem@davemloft.net>
54155
54156 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54157 * stdio-common/printf-parse.h (read_int): Change return type to
54158 'int', return -1 on INT_MAX overflow.
54159 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54160 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54161 overflows INT_MAX. Check for overflow of in-format-string precision
54162 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54163 SIZE_MAX not INT_MAX for integer overflow test.
54164 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54165 skip the construct in the format string but do not record anything.
54166 * stdio-common/bug22.c: Adjust to test both width/prevision
54167 INT_MAX overflow as well as total length INT_MAX overflow. Check
54168 explicitly for proper errno values.
54169
54170 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54171
54172 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54173 CHAR_MAX.
54174 * string/test-strcmp.c [! WIDE]: Likewise.
54175 * time/tst-mktime2.c: Likewise for INT_MAX.
54176 * string/test-string.h: #include <sys/param.h> for MIN.
54177
54178 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54179 * sysdeps/i386/init-first.c (init): Likewise.
54180 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54181 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54182 * sysdeps/sh/init-first.c (init): Likewise.
54183
54184 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54185
54186 * po/ru.po: Update from translation team.
54187 * po/vi.po: Likewise.
54188
54189 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54190
54191 * resolv/nss_dns/dns-host.c: Merge copyright years.
54192
54193 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54194
54195 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54196 Optimize memcpy with prefetch if
54197 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54198 src, dst pointers have unequal 16 byte alignments.
54199
54200 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54201
54202 [BZ #13928]
54203 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54204 from a CNAME entry and return the minimum ttl for the query.
54205 (gaih_getanswer_slice): Likewise.
54206
54207 2012-03-30 Jeff Law <law@redhat.com>
54208
54209 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54210 due to long keys.
54211 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54212 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54213
54214 * resolv/nss_dns/dns-host.c: Update copyright year.
54215
54216 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54217
54218 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54219 requests to save a system call. Fix check that all bytes are sent.
54220
54221 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54222 comments for sendmmsg.
54223
54224 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54225
54226 [BZ #13691]
54227 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54228 with only 1 character between 0x0041 and 0x01b0.
54229 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54230 * wcsmbs/tst-mbsnrtowcs.c: New file.
54231
54232 2012-03-29 David S. Miller <davem@davemloft.net>
54233
54234 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54235 small copies by hand.
54236
54237 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54238
54239 [BZ #13761]
54240 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54241 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54242 group memberships.
54243
54244 2012-03-28 David S. Miller <davem@davemloft.net>
54245
54246 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54247 that branches into memcpy.
54248 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54249 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54250 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54251 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54253 bits.
54254 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54255 implementation too.
54256 * sysdeps/sparc/mempcpy.S: New file.
54257
54258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54259 the IFUNC routine in the libc case.
54260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54261
54262 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54263 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54264 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54265 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54266 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54267 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54268 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54269 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54270
54271 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54272 loop to 256 bytes instead of 64 bytes and fix test signedness.
54273
54274 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54275 * sysdeps/sparc/sparc32/Makefile: rather than here...
54276 * sysdeps/sparc/sparc64/Makefile: and here.
54277
54278 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54279
54280 * malloc/mallocbug.c: Avoid warnings about unused variables.
54281
54282 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54283
54284 [BZ #13760]
54285 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54286 in the right place. Discard and retry query if response is
54287 larger than input buffer size.
54288
54289 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54290
54291 [BZ #369]
54292 [BZ #2678]
54293 [BZ #3866]
54294 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54295 x for large integer exponent.
54296 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54297 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54298 sign of result as needed afterwards.
54299 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54300 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54301 result for underflowing pow the same as for overflow.
54302 (__kernel_standard_l): Handle powl overflow and underflow here
54303 rather than calling __kernel_standard.
54304 * math/libm-test.inc (pow_test): Add more tests.
54305
54306 [BZ #3868]
54307 [BZ #13879]
54308 [BZ #13910]
54309 [BZ #13911]
54310 [BZ #13912]
54311 [BZ #13913]
54312 [BZ #13915]
54313 [BZ #13916]
54314 [BZ #13917]
54315 [BZ #13918]
54316 [BZ #13919]
54317 [BZ #13920]
54318 [BZ #13921]
54319 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54320 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54321 (__kernel_standard_l): New function.
54322 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54323 __kernel_standard.
54324 * math/w_acosl.c (__acosl): Likewise.
54325 * math/w_asinl.c (__asinl): Likewise.
54326 * math/w_atan2l.c (__atan2l): Likewise.
54327 * math/w_atanhl.c (__atanhl): Likewise.
54328 * math/w_coshl.c (__coshl): Likewise.
54329 * math/w_exp10l.c (__exp10l): Likewise.
54330 * math/w_exp2l.c (__exp2l): Likewise.
54331 * math/w_fmodl.c (__fmodl): Likewise.
54332 * math/w_hypotl.c (__hypotl): Likewise.
54333 * math/w_j0l.c (__j0l, __y0l): Likewise.
54334 * math/w_j1l.c (__j1l, __y1l): Likewise.
54335 * math/w_jnl.c (__jnl, __ynl): Likewise.
54336 * math/w_lgammal.c (__lgammal): Likewise.
54337 * math/w_log10l.c (__log10l): Likewise.
54338 * math/w_log2l.c (__log2l): Likewise.
54339 * math/w_logl.c (__logl): Likewise.
54340 * math/w_powl.c (__powl): Likewise.
54341 * math/w_remainderl.c (__remainderl): Likewise.
54342 * math/w_scalbl.c (sysv_scalbl): Likewise.
54343 * math/w_sinhl.c (__sinhl): Likewise.
54344 * math/w_sqrtl.c (__sqrtl): Likewise.
54345 * math/w_tgammal.c (__tgammal): Likewise.
54346 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54347 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54348 * math/libm-test.inc (acos_test): Add more tests.
54349 (acosh_test): Likewise.
54350 (asin_test): Likewise.
54351 (atanh_test): Likewise.
54352 (exp_test): Likewise.
54353 (exp10_test): Likewise.
54354 (exp2_test): Likewise.
54355 (expm1_test): Likewise.
54356 (lgamma_test): Likewise.
54357 (log_test): Likewise.
54358 (log10_test): Likewise.
54359 (log1p_test): Likewise.
54360 (log2_test): Likewise.
54361 (pow_test): Do not allow some spurious overflow exceptions.
54362 (sqrt_test): Add more tests.
54363 (tgamma_test): Likewise.
54364 (y0_test): Likewise.
54365 (y1_test): Likewise.
54366 (yn_test): Likewise.
54367
54368 2012-03-27 Anton Blanchard <anton@samba.org>
54369
54370 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54371 MAP_HUGETLB.
54372 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54373 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54374 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54375
54376 2012-03-27 David S. Miller <davem@davemloft.net>
54377
54378 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54379
54380 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54381 have-as-vis3 check.
54382
54383 2012-03-27 Andreas Jaeger <aj@suse.de>
54384
54385 * sysdeps/x86_64/elf/configure.in: Moved to ...
54386 * sysdeps/x86_64/configure.in: ... here.
54387 * sysdeps/x86_64/elf/start.S: Moved to ...
54388 * sysdeps/x86_64/start.S: ... here.
54389 * sysdeps/x86_64/elf/configure: Delete.
54390
54391 * sysdeps/x86_64/configure.in: Merge contents from
54392 sysdeps/i386/configure.in (without i686 check).
54393
54394 * sysdeps/i386/elf/Versions: Merge into ...
54395 * sysdeps/i386/Versions: ... this.
54396 * sysdeps/i386/elf/Versions: Delete file.
54397 * sysdeps/i386/elf/start.S: Moved to ...
54398 * sysdeps/i386/start.S: ...here.
54399 * sysdeps/i386/elf/configure.in: Merge into...
54400 * sysdeps/i386/configure.in: ...here.
54401 * sysdeps/i386/elf/configure.in: Delete file.
54402 * sysdeps/i386/elf/configure: Delete file.
54403
54404 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54405 * debug/backtracesyms.c: ... here.
54406 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54407 * debug/backtracesymsfd.c: ... here.
54408 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54409 * sysdeps/generic/ifunc-sel.h: ... here.
54410
54411 * sysdeps/unix/i386/start.c: Delete file.
54412 * sysdeps/unix/sparc/start.c: Delete file.
54413 * sysdeps/unix/start.c: Delete file.
54414
54415 * sysdeps/sh/elf/configure.in: Moved to ...
54416 * sysdeps/sh/configure.in: ... here.
54417 * sysdeps/sh/elf/start.S: Moved to ...
54418 * sysdeps/sh/start.S: ... here.
54419 * sysdeps/sh/elf/configure: Delete file.
54420
54421 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54422 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54423 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54424 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54425 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54426 * sysdeps/powerpc/powerpc64/start.S: here.
54427 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54428 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54429 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54430 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54431 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54432
54433 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54434 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54435 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54436 * sysdeps/powerpc/powerpc32/start.S: ... here.
54437 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54438 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54439 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54440
54441 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54442 * sysdeps/powerpc/ifunc-sel.h: ... here.
54443 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54444 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54445
54446 * sysdeps/sparc/elf/configure.in: Moved to ...
54447 * sysdeps/sparc/configure.in: ... here.
54448 * sysdeps/sparc/elf/configure: Delete file.
54449 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54450 * sysdeps/sparc/sparc32/start.S: ... here.
54451 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54452 * sysdeps/sparc/sparc64/start.S: ... here.
54453 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54454 * sysdeps/sparc/sparc32/Makefile: ... this.
54455 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54456 * sysdeps/sparc/sparc64/Makefile: ... this.
54457
54458 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54459 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54460 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54461 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54462 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54463 * sysdeps/s390/s390-32/setjmp.S: ... here.
54464 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54465 * sysdeps/s390/s390-32/configure.in: ... here.
54466 * sysdeps/s390/s390-32/elf/configure: Delete file.
54467 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54468 * sysdeps/s390/s390-32/start.S: ... here.
54469
54470 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54471 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54472 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54473 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54474 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54475 * sysdeps/s390/s390-64/setjmp.S: ... here.
54476 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54477 * sysdeps/s390/s390-64/configure.in: ... here
54478 * sysdeps/s390/s390-64/elf/configure: Delete file.
54479 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54480 * sysdeps/s390/s390-64/start.S: ... here.
54481 * sysdeps/s390/s390-64/elf/configure: Delete.
54482
54483 * configure.in: Remove support for elf directories in sysdeps.
54484
54485 * configure: Regenerated.
54486 * sysdeps/i386/configure: Regenerated.
54487 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54488 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54489 * sysdeps/s390/s390-32/configure: Regenerated.
54490 * sysdeps/s390/s390-64/configure: Regenerated.
54491 * sysdeps/sh/configure: Regenerated.
54492 * sysdeps/sparc/configure: Regenerated.
54493 * sysdeps/x86_64/configure: Regenerated.
54494
54495 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54496
54497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54498
54499 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54500 denormal result into account.
54501
54502 2012-03-25 Roland McGrath <roland@hack.frob.com>
54503
54504 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54505 Reported by Allan McRae <allan@archlinux.org>.
54506
54507 2012-03-23 Jeff Law <law@redhat.com>
54508
54509 * nss/getnssent.c (__nss_getent): Fix typo.
54510
54511 2012-03-23 David S. Miller <davem@davemloft.net>
54512
54513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54514
54515 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54516
54517 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54518 to pad to uint64_t for each field.
54519 (dl_tls_index): Replace unsigned long with uint64_t.
54520
54521 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54522 Paul Pluzhnikov <ppluzhnikov@google.com>
54523
54524 [BZ #6528]
54525 * grp/Makefile (otherlibs): Don't set it.
54526 * inet/Makefile (otherlibs): Likewise.
54527 * login/Makefile (otherlibs): Likewise.
54528 * nscd/Makefile (otherlibs): Likewise.
54529 * posix/Makefile (otherlibs): Likewise.
54530 * pwd/Makefile (otherlibs): Likewise.
54531 * rt/Makefile (otherlibs): Likewise.
54532 * sunrpc/Makefile (otherlibs): Likewise.
54533 * nss/Makefile (otherlibs): Likewise.
54534 Add libnss_files to routines and static-only-routines.
54535 ($(objpfx)getent): Remove rule.
54536 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54537 static-only-routines.
54538
54539 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54540
54541 [BZ #13892]
54542 * math/s_cexp.c: Include <float.h>.
54543 (__cexp): Handle exp result overflowing not necessarily
54544 overflowing both real and imaginary parts of result.
54545 * math/s_cexpf.c: Likewise.
54546 * math/s_cexpl.c: Likewise.
54547 * math/libm-test.inc (cexp_test): Add more tests.
54548 * sysdeps/i386/fpu/libm-test-ulps: Update.
54549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54550
54551 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54552
54553 * include/link.h (ELFW): New macro.
54554 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54555 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54556
54557 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54558
54559 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54560 with uint64_t.
54561
54562 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54563
54564 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54565 declaration.
54566 (struct La_x32_retval): Likewise.
54567
54568 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54569
54570 * sysdeps/x86_64/preconfigure.in: New file.
54571 * sysdeps/x86_64/preconfigure: New generated file.
54572
54573 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54574
54575 [BZ #13824]
54576 * math/e_exp2l.c: Include <float.h>.
54577 (__ieee754_exp2l): Handle overflow and underflow cases
54578 separately. Only pass fractional part of argument to
54579 __ieee754_expl.
54580 * math/libm-test.inc (exp2_test): Add more tests.
54581
54582 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54583 negating x to take absolute value.
54584 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54585 Likewise.
54586 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54587 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54588 Likewise.
54589 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54590 computing low part if x was negated.
54591 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54592
54593 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54594
54595 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54596 la_x32_gnu_pltexit.
54597 (pltexit): Cast int_retval to ptrdiff_t.
54598 * elf/tst-auditmod3b.c: Likewise.
54599 * elf/tst-auditmod4b.c: Likewise.
54600 * elf/tst-auditmod5b.c: Likewise.
54601 * elf/tst-auditmod6b.c: Likewise.
54602 * elf/tst-auditmod6c.c: Likewise.
54603 * elf/tst-auditmod7b.c: Likewise.
54604
54605 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54606 and x32_gnu_pltexit.
54607
54608 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54609 __ELF_NATIVE_CLASS.
54610 (La_x32_regs): New macro.
54611 (La_x32_retval): Likewise.
54612 (la_x32_gnu_pltenter): New function prototype.
54613 (la_x32_gnu_pltexit): Likewise.
54614
54615 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54616
54617 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54618 exponent.
54619
54620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54621
54622 * configure.in (libc_cv_cc_nofma): Check for option to disable
54623 generation of FMA instructions.
54624 * configure: Regenerate.
54625 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54626 * sysdeps/ieee754/dbl-64/Makefile: New file.
54627 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54628 Remove brandred-fma4.
54629 (CFLAGS-brandred-fma4.c): Remove.
54630 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54631 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54632 define.
54633 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54634 define.
54635
54636 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54637
54638 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54639 LLONG_MAX != LONG_MAX.
54640 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54641 (_fitoa_word): Likewise.
54642 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54643 LLONG_MAX != LONG_MAX.
54644 * stdio-common/_itowa.h: Include <_itoa.h>.
54645 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54646 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54647 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54648 only if not defined.
54649 (_ITOA_WORD_TYPE): Likewise.
54650 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54651 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54652
54653 2012-03-21 David S. Miller <davem@davemloft.net>
54654
54655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54656
54657 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54658
54659 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54660 of x86_64 when setting libc_cv_slibdir, libdir and
54661 libc_cv_localedir.
54662 * sysdeps/unix/sysv/linux/configure: Regenerated.
54663
54664 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54665
54666 * manual/lang.texi (Old Varargs): Remove section.
54667 (How Variadic): Update menu.
54668 (va_start): Do not mention varargs.h.
54669
54670 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54671 Joseph Myers <joseph@codesourcery.com>
54672
54673 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54674 link test.
54675 * configure: Regenerated.
54676
54677 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54678
54679 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54680 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54681 conformtest.pl
54682
54683 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54684
54685 * NOTES: Remove.
54686 * Makefile (files-for-dist): Remove NOTES.
54687 (NOTES): Remove rule.
54688 * README: Don't refer to NOTES.
54689 * manual/creature.texi: Don't include macros.texi.
54690 * manual/intro.texi (creature.texi): Remove comment referring to
54691 NOTES.
54692
54693 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54694 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54695 * configure: Regenerated.
54696 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54697 LIBC_TRY_CC_OPTION.
54698 (libc_cv_as_i686): Likewise.
54699 (libc_cv_cc_avx): Likewise.
54700 (libc_cv_cc_sse2avx): Likewise.
54701 (libc_cv_cc_fma4): Likewise.
54702 (libc_cv_cc_novzeroupper): Likewise.
54703 * sysdeps/i386/configure: Regenerated.
54704
54705 [BZ #13883]
54706 * sysdeps/i386/fpu/s_cexp.S: Remove.
54707 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54708 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54709 * math/libm-test.inc (cexp_test): Add more tests.
54710 * sysdeps/i386/fpu/libm-test-ulps: Update.
54711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54712
54713 2012-03-21 Allan McRae <allan@archlinux.org>
54714
54715 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54716
54717 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54718
54719 [BZ #13871]
54720 * math/w_exp2.c: Do not include <float.h>.
54721 (o_threshold, u_threshold): Remove.
54722 (__exp2): Calculate result before checking finiteness and calling
54723 __kernel_standard.
54724 * math/w_exp2f.c: Likewise.
54725 * math/w_exp2l.c: Likewise.
54726 * math/libm-test.inc (exp2_test): Require overflow exception for
54727 1e6 input.
54728
54729 [BZ #3866]
54730 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54731 range of signed 64-bit integers before using fistpll. Remove
54732 checks for whether integers fit in mantissa bits.
54733 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54734 the range of signed 32-bit integers before using fistpl. Remove
54735 checks for whether integers fit in mantissa bits.
54736 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54737 (__ieee754_powl): Test for y outside the range of signed 64-bit
54738 integers before using fistpll. Reduce 64-bit values to 63-bit
54739 ones as needed.
54740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54741 divide-by-zero is raised for zero to large negative powers.
54742 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54743 (__ieee754_powl): Test for y outside the range of signed 64-bit
54744 integers before using fistpll. Reduce 64-bit values to 63-bit
54745 ones as needed.
54746 * math/libm-test.inc (pow_test): Add more tests.
54747
54748 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54749
54750 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54751 <stdio-common/_itoa.h>.
54752 * debug/segfault.c: Likewise.
54753 * elf/dl-cache.c: Likewise.
54754 * elf/dl-minimal.c: Likewise.
54755 * elf/dl-misc.c: Likewise.
54756 * elf/dl-sysdep.c: Likewise.
54757 * elf/dl-version.c: Likewise.
54758 * elf/rtld.c: Likewise.
54759 * hurd/hurdsock.c: Likewise.
54760 * hurd/lookup-retry.c: Likewise.
54761 * malloc/malloc.c: Likewise.
54762 * malloc/mtrace.c: Likewise.
54763 * nscd/nscd_getgr_r.c: Likewise.
54764 * nscd/nscd_getpw_r.c: Likewise.
54765 * nscd/nscd_getserv_r.c: Likewise.
54766 * posix/getopt_init.c: Likewise.
54767 * posix/wordexp.c: Likewise.
54768 * stdio-common/_itoa.c: Likewise.
54769 * stdio-common/printf_fphex.c: Likewise.
54770 * stdio-common/vfprintf.c: Likewise.
54771 * string/_strerror.c: Likewise.
54772 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54773 * sysdeps/i386/i686/hp-timing.h: Likewise.
54774 * sysdeps/mach/_strerror.c: Likewise.
54775 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54776 * sysdeps/mach/hurd/sethostid.c: Likewise.
54777 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54778 * sysdeps/mach/xpg-strerror.c: Likewise.
54779 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54780 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54781 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54782 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54783 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54784 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54785 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54786 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54787 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54788 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54789 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54790 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54791 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54792 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54793 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54794 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54795 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54796 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54797 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54798 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54799 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54800
54801 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54802
54803 * stdio-common/_itoa.h: Moved to ...
54804 * sysdeps/generic/_itoa.h: Here.
54805
54806 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54807
54808 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54809 instead of "_itoa.h" and "_itowa.h".
54810 * stdio-common/vfprintf.: Likewise.
54811
54812 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54813
54814 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54815 <bits/wordsize.h>.
54816 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54817 (__signbit): Likwise.
54818 (llrintf): Likwise.
54819 (llrint): Likwise.
54820
54821 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54822
54823 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54824 __WORDSIZE != 64.
54825
54826 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54827
54828 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54829 OVERFLOW_EXCEPTION_OK.
54830 * math/libm-test.inc ("Philosophy"): Update comment about
54831 exception testing.
54832 (OVERFLOW_EXCEPTION): Define.
54833 (OVERFLOW_EXCEPTION_OK): Likewise.
54834 (INVALID_EXCEPTION_OK): Renumber.
54835 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54836 (IGNORE_ZERO_INF_SIGN): Likewise.
54837 (test_exceptions): Handle FE_OVERFLOW.
54838 (exp10_test): Expect overflow exceptions.
54839 (exp2_test): Likewise.
54840 (expm1_test): Likewise.
54841 (nextafter_test): Likewise.
54842 (pow_test): Likewise.
54843 (scalbn_test): Likewise.
54844 (scalbln_test): Likewise.
54845
54846 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54847
54848 * sysdeps/x86_64/bits/atomic.h
54849 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54850 64bit integer.
54851 (atomic_exchange_acq): Likewise.
54852 (__arch_exchange_and_add_body): Likewise.
54853 (__arch_add_body): Likewise.
54854 (atomic_add_negative): Likewise.
54855 (atomic_add_zero): Likewise.
54856
54857 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54858
54859 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54860 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54861
54862 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54863
54864 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54865 Check __x86_64__ instead of __WORDSIZE.
54866
54867 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54868
54869 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54870
54871 2012-03-19 David S. Miller <davem@davemloft.net>
54872
54873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54874
54875 * sysdeps/sparc/fpu/fenv_private.h: New file.
54876 * sysdeps/sparc/fpu/math_private.h: Use it.
54877 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54878 Remove.
54879 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54880 (libc_feholdexcept_setroundl): Remove.
54881 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54882 Remove.
54883 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54884 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54885
54886 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54887
54888 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54889 int64_t instead of long int.
54890 (INSERT_WORDS64): Likwise.
54891
54892 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54893
54894 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54895 _Unwind_GetCFA return to _Unwind_Ptr first.
54896
54897 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54898
54899 [BZ #13629]
54900 * math/s_clog.c: Include <float.h>.
54901 (__clog): Scale large or subnormal inputs.
54902 * math/s_clogf.c: Likewise.
54903 * math/s_clogl.c: Likewise.
54904 * math/s_clog10.c: Include <float.h>.
54905 (M_LOG10_2): Define.
54906 (__clog10): Scale large or subnormal inputs.
54907 * math/s_clog10f.c: Likewise.
54908 * math/s_clog10l.c: Likewise.
54909 * math/libm-test.inc (clog_test): Add more tests.
54910 (clog10_test): Likewise.
54911 * sysdeps/i386/fpu/libm-test-ulps: Update.
54912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54913
54914 [BZ #11451]
54915 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54916 x and y.
54917 * math/libm-test.inc (atan2_test): Add another test.
54918
54919 * Makerules (common-objdir-compile): Remove.
54920 * sysdeps/unix/Makefile (config-generated): Do not add
54921 $(unix-generated) to variable.
54922 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54923 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54924 Remove rule.
54925 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54926 Likewise.
54927 [generic bits/local_lim.h] (before-compile): Do not append to
54928 variable.
54929 [generic bits/local_lim.h] (common-generated): Likewise.
54930 [generic sys/param.h] (before-compile): Do not append to variable.
54931 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54932 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54933 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54934 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54935 include.
54936 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54937 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54938 [generic sys/param.h] ($(addprefix
54939 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54940 [generic sys/param.h] (common-generated): Do not append to
54941 variable.
54942 [generic sys/param.h] (sysdep_headers): Likewise.
54943 [generic bits/errno.h] (before-compile): Do not append to
54944 variable.
54945 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54946 rule.
54947 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54948 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54949 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54950 [generic bits/errno.h] (common-generated): Do not append to
54951 variable.
54952 [generic bits/ioctls.h] (before-compile): Do not append to
54953 variable.
54954 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54955 rule.
54956 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54957 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54958 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54959 rule.
54960 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54961 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54962 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54963 [generic bits/ioctls.h] (common-generated): Do not append to
54964 variable.
54965 [generic sys/syscall.h] (syscall.h): Remove variable.
54966 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54967 rule.
54968 [generic sys/syscall.h] (before-compile): Do not append to
54969 variable.
54970 [generic sys/syscall.h] (common-generated): Likewise.
54971 * sysdeps/unix/errnos-tmpl.c: Remove file.
54972 * sysdeps/unix/errnos.awk: Likewise.
54973 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54974 * sysdeps/unix/ioctls.awk: Likewise.
54975 * sysdeps/unix/mk-local_lim.c: Likewise.
54976 * sysdeps/unix/snarf-ioctls: Likewise.
54977
54978 2012-03-19 Richard Henderson <rth@twiddle.net>
54979
54980 * sysdeps/i386/fpu/fenv_private.h: New file.
54981 * sysdeps/i386/fpu/math_private.h: Use it.
54982 (math_opt_barrier, math_force_eval): Remove.
54983 (libc_feholdexcept_setround_53bit): Remove.
54984 (libc_feupdateenv_53bit): Remove.
54985 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54986 (math_opt_barrier, math_force_eval): Remove.
54987 (libc_feholdexcept): Remove.
54988 (libc_feholdexcept_setround): Remove.
54989 (libc_fetestexcept, libc_fesetenv): Remove.
54990 (libc_feupdateenv_test): Remove.
54991 (libc_feupdateenv, libc_feholdsetround): Remove.
54992 (libc_feresetround): Remove.
54993
54994 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54995 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54996
54997 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54998 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54999 (libc_feupdateenv_testl): New.
55000 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55001 (libc_feupdateenv_testf): New.
55002 (libc_feupdateenv): Use libc_feupdateenv_test.
55003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55004 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55005
55006 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55007 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55008 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55009 (libc_feresetround_noex): New.
55010 (libc_feresetround_noexf): New.
55011 (libc_feresetround_noexl): New.
55012 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55013 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55014 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55015 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55016 SET_RESTORE_ROUND.
55017 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55019 (__cos): Likewise.
55020 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55021 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55022 SET_RESTORE_ROUND_NOEX.
55023 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55024 SET_RESTORE_ROUND_NOEXF.
55025 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55026 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55027 (libc_feholdsetroundf): New.
55028 (libc_feresetround, libc_feresetroundf): New.
55029
55030 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55031 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55032 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55033
55034 * sysdeps/generic/math_private.h: Include <fenv.h>.
55035 (default_libc_feholdexcept): New.
55036 (default_libc_feholdexcept_setround): New.
55037 (default_libc_fesetenv, default_libc_feupdateenv): New.
55038 (libc_feholdexcept): Only define if undefined.
55039 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55040 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55041 (libc_feholdexcept_setroundl): Likewise.
55042 (libc_feholdexcept_setround_53bit): Likewise.
55043 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55044 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55045 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55046 (libc_feupdateenv_53bit): Likewise.
55047 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55048 (libc_feholdexcept): Convert from macro to inline function.
55049 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55050 (libc_fesetenv, libc_feupdateenv): Likewise.
55051
55052 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55053 not previously defined.
55054 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55055 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55056 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55057 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55058 * sysdeps/ieee754/flt-32/math_private.h: New file.
55059 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55060 math_private.h below SET_FLOAT_WORD.
55061 (__isnan, __isinf_ns, __finite): Remove.
55062 (__isnanf, __isinf_nsf, __finitef): Remove.
55063
55064 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55065
55066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55067
55068 2012-03-17 David S. Miller <davem@davemloft.net>
55069
55070 [BZ #6471]
55071 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55072 for 2.16.
55073
55074 2012-03-16 David S. Miller <davem@davemloft.net>
55075
55076 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55077 warnings.
55078
55079 [BZ #6471]
55080 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55081 properly.
55082 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55083 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55084 sysdep_routines when subdir is sysvipc.
55085 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55086 __getshmlba helper.
55087
55088 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55089
55090 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55091
55092 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55093 [__LP64__].
55094
55095 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55096
55097 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55098 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55099 (__lround): Renamed to ...
55100 (__llround): This. Replace long int with long long int.
55101 Define lround functions as aliases of llround functions.
55102 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55103
55104 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55105
55106 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55107 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55108 adresses to uintptr_t. Replace "long int" and "unsigned long
55109 int" with "greg_t" on va_arg.
55110
55111 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55112
55113 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55114 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55115
55116 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55117 Move e_machine check before EI_CLASS check. Handle x32
55118 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55119 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55120 SKIP_EM_IA_64 and include
55121 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55122
55123 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55124 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55125 (add_system_dir): New macro.
55126
55127 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55128 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55129
55130 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55131
55132 [BZ #2551]
55133 [BZ #2552]
55134 [BZ #2553]
55135 [BZ #2554]
55136 [BZ #2562]
55137 [BZ #2563]
55138 [BZ #2565]
55139 [BZ #2566]
55140 [BZ #2576]
55141 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55142 (y0): Likewise.
55143 * math/w_j0f.c (j0f): Likewise.
55144 (y0f): Likewise.
55145 * math/w_j0l.c (__j0l): Likewise.
55146 (__y0l): Likewise.
55147 * math/w_j1.c (j1): Likewise.
55148 (y1): Likewise.
55149 * math/w_j1f.c (j1f): Likewise.
55150 (y1f): Likewise.
55151 * math/w_j1l.c (__j1l): Likewise.
55152 (__y1l): Likewise.
55153 * math/w_jn.c (jn): Likewise.
55154 (yn): Likewise.
55155 * math/w_jnf.c (jnf): Likewise.
55156 (ynf): Likewise.
55157 * math/w_jnl.c (__jnl): Likewise.
55158 (__ynl): Likewise.
55159 * math/libm-test.inc (j0_test): Add more tests.
55160 (j1_test): Likewise.
55161 (jn_test): Likewise. Add trailing semicolon to existing test.
55162 (y0_test): Likewise.
55163 (y1_test): Likewise.
55164 * sysdeps/i386/fpu/libm-test-ulps: Update.
55165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55166
55167 [BZ #13851]
55168 [BZ #13854]
55169 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55170 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55171 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55172 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55173 (__tanl): Set errno for infinite argument.
55174 * sysdeps/i386/fpu/mptan.c: Remove.
55175 * sysdeps/i386/fpu/s_tan.S: Likewise.
55176 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55177 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55178 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55179 * math/libm-test.inc (tan_test): Add more tests and enable more
55180 tests for double and long double.
55181 * sysdeps/i386/fpu/libm-test-ulps: Update.
55182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55183
55184 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55185
55186 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55187 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55188
55189 2012-03-16 Roland McGrath <roland@hack.frob.com>
55190
55191 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55192 * configure.in: Use it for both main tree and add-ons.
55193 * configure: Regenerated.
55194
55195 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55196
55197 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55198
55199 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55200
55201 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55202 in comment.
55203
55204 [BZ #13851]
55205 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55206 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55207 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55208 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55209 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55210 infinite argument.
55211 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55212 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55213 != 0 for prec == 2.
55214 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55215 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55216 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55217 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55218 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55219 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55220 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55221 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55222 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55223 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55224 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55225 * math/libm-test.inc (cos_test): Add more tests and enable more
55226 tests for long double.
55227 (sin_test): Likewise.
55228 (sincos_test): Likewise.
55229 * sysdeps/i386/fpu/libm-test-ulps: Update.
55230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55231
55232 2012-03-16 David S. Miller <davem@davemloft.net>
55233
55234 * sysdeps/sparc/fpu/math_private.h: New file.
55235
55236 2012-03-15 David S. Miller <davem@davemloft.net>
55237
55238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55239 file.
55240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55242 file.
55243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55249 sysdep routines.
55250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55251
55252 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55253 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55254
55255 * sysdeps/sparc/sparc-ifunc.h: New file.
55256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55257 sparc-ifunc.h
55258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55260 Likewise.
55261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55262 Likewise.
55263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55267 Likewise.
55268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55273 Likewise.
55274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55275 Likewise.
55276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55298 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55300
55301 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55302
55303 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55304 scaling.
55305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55306
55307 2012-03-15 Andreas Jaeger <aj@suse.de>
55308
55309 [BZ #13852]
55310 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55311 ieee754/flt-32 implementation for sin, cos and sincos.
55312 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55313 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55314 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55315 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55316 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55317 ieee754/flt-32 implementation for tan.
55318
55319 * math/libm-test.inc (cos_test): Enable some large input tests for
55320 float as well
55321 (sin_test): Likewise.
55322 (sincos_test): Likewise.
55323 (tan_test): Add tests for large input.
55324
55325 * sysdeps/i386/fpu/libm-test-ulps: Update.
55326
55327 2012-03-15 Andreas Jaeger <aj@suse.de>
55328
55329 [BZ #13658]
55330 * math/libm-test.inc (cos_test): Add more test cases.
55331 (sin_test): Likewise.
55332 (sincos_test): Likewise.
55333
55334 2012-03-15 Andreas Jaeger <aj@suse.de>
55335
55336 [BZ #13837]
55337 * math/libm-test.inc (cos_test): Add a test case for large input
55338 value.
55339 (sin_test): Likewise.
55340 (sincos_test): Likewise.
55341
55342 2012-03-15 Andreas Jaeger <aj@suse.de>
55343 Joseph Myers <joseph@codesourcery.com>
55344
55345 [BZ #13658]
55346 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55347 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55348 * sysdeps/i386/fpu/branred.c: Likewise.
55349 * sysdeps/i386/fpu/dosincos.c: Likewise.
55350 * sysdeps/i386/fpu/mpa.c: Likewise.
55351 * sysdeps/i386/fpu/s_cos.S: Likewise.
55352 * sysdeps/i386/fpu/s_sin.S: Likewise.
55353 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55354 * sysdeps/i386/fpu/sincos32.c: Likewise.
55355
55356 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55357 Define.
55358 (libc_feupdateenv_53bit): Define.
55359 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55360 Define.
55361 (libc_feupdateenv_53bit): Define.
55362
55363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55364 53 bit (without extend i386 double precision).
55365
55366 * math/libm-test.inc (sincos_test): Add tests for large input.
55367 (sin): Likewise.
55368 (cos): Likewise.
55369
55370 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55371
55372 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55373
55374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55375
55376 2012-03-15 David S. Miller <davem@davemloft.net>
55377
55378 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55379 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55380 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55381 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55394 file.
55395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55397 file.
55398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55400 file.
55401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55403 file.
55404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55406 fmin/fmax sysdep routines.
55407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55408
55409 2012-03-14 David S. Miller <davem@davemloft.net>
55410
55411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55417 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55418 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55440 routines.
55441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55442 file.
55443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55445 file.
55446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55448 file.
55449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55451 file.
55452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55454 file.
55455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55457 file.
55458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55459 file.
55460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55461 file.
55462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55463 file.
55464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55465 New file.
55466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55467 file.
55468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55469 file.
55470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55472 file.
55473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55475 file.
55476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55478 file.
55479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55481 VIS3 routines.
55482
55483 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55484 New file.
55485
55486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55487
55488 * sysdeps/sparc/configure.in: New file.
55489 * sysdeps/sparc/configure: Generate.
55490 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55491 * configure: Regenerate.
55492 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55493 * config.make.in (have-as-vis3): New.
55494 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55495 available use -Av9d instead of -Av9a.
55496 * sysdeps/sparc/sparc64/Makefile: Likewise.
55497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55499 New file.
55500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55501 file.
55502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55503 New file.
55504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55505 file.
55506 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55510 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55511
55512 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55513 fzeros/fnegs to load 0x80000000 into a float register instead of
55514 using the stack.
55515 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55516
55517 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55518
55519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55520 bits/syscall.h.
55521 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55522 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55523 ($(inst_includedir)/bits/syscall.h): Remove rule.
55524 ($(objpfx)bits/syscall.d): Include instead of
55525 $(objpfx)syscall-list.d.
55526 (generated): Change syscall-list.h and syscall-list.d to
55527 bits/syscall.h and bits/syscall.d.
55528
55529 2012-03-14 Roland McGrath <roland@hack.frob.com>
55530
55531 [BZ #13846]
55532 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55533
55534 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55535
55536 [BZ #13841]
55537 * math/s_csqrt.c: Include <float.h>.
55538 (__csqrt): Scale large or subnormal inputs.
55539 * math/s_csqrtf.c: Likewise.
55540 * math/s_csqrtl.c: Likewise.
55541 * math/libm-test.inc (csqrt_test): Add more tests.
55542 * sysdeps/i386/fpu/libm-test-ulps: Update.
55543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55544
55545 [BZ #13840]
55546 * math/libm-test.inc (hypot_test): Add more tests.
55547
55548 2012-03-13 David S. Miller <davem@davemloft.net>
55549
55550 [BZ #13840]
55551 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55552 double-precision for the calculation instead of scaling.
55553
55554 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55555
55556 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55557 manipulate bits before adding and subtracting TWO52[sx].
55558 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55559 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55560 Likewise.
55561 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55562
55563 2012-03-13 David S. Miller <davem@davemloft.net>
55564
55565 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55566 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55568 rtld-global-offsets.h
55569 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55570
55571 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55572 large parameters.
55573
55574 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55575
55576 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55577 'err' in the ifdef scope in which it is actually used.
55578
55579 * nss/nss_db/db-init.c: Include string.h
55580
55581 2012-03-12 David S. Miller <davem@davemloft.net>
55582
55583 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55584 masking out of the most significant byte of random value used.
55585 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55586 Fix coding style in previous change.
55587
55588 * sysdeps/unix/sysv/linux/kernel-features.h
55589 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55590 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55591 expression.
55592 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55593 later.
55594
55595 2012-03-11 David S. Miller <davem@davemloft.net>
55596
55597 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55598 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55600 for 'resultvar' otherwise things get truncated on 64-bit.
55601
55602 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55603 Fix masking out of the most significant byte of random value used.
55604
55605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55606
55607 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55608
55609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55610
55611 2012-03-09 David S. Miller <davem@davemloft.net>
55612
55613 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55614 variables with appropriate CPP guards.
55615 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55616 from the frame pointer, not the stack pointer. Correct layout
55617 comments. Fix test on resulting framesize and the management of
55618 the outregs buffer for pltexit. Preserve floating point return
55619 values across _dl_call_pltexit call.
55620 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55621 framesize and the management of the outregs buffer for pltexit.
55622 Preserve floating point return values across _dl_call_pltexit
55623 call.
55624 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55625 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55626 (la_sparc64_gnu_pltexit): New functions.
55627 (print_exit): Fix format string for return register value.
55628
55629 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55630
55631 * sunrpc/Makefile (others): Add rpcgen.
55632 ($(objpfx)rpcgen): Remove special build rule and dependency on
55633 libc.
55634 * sunrpc/rpcgen.c: New file.
55635
55636 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55637
55638 [BZ #13673]
55639 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55640 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55641 * sysdeps/i386/crti.S: Likewise.
55642 * sysdeps/i386/crtn.S: Likewise.
55643 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55644 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55645 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55646 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55647 * sysdeps/sh/crti.S: Likewise.
55648 * sysdeps/sh/crtn.S: Likewise.
55649 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55650
55651 [BZ #13673]
55652 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55653 with URL.
55654 * locale/programs/locfile-kw.gperf: Likewise.
55655 * locale/programs/charmap-kw.h: Regenerated.
55656 * locale/programs/locfile-kw.h: Likewise.
55657
55658 [BZ #13673]
55659 * intl/plural.y: Replace FSF snail mail address with URL.
55660 * intl/plural.c: Regenerated.
55661
55662 2012-03-09 Richard Henderson <rth@twiddle.net>
55663
55664 * include/math_private.h: Remove file.
55665 * math/math_private.h: Move file ...
55666 * sysdeps/generic/math_private.h: ... here.
55667
55668 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55669 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55670 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55671
55672 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55673 and <math_private.h>.
55674 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55675 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55676 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55677 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55678 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55679 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55680 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55682 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55683 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55685 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55686 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55688 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55689 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55690 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55691 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55692 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55693 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55695 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55696 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55697 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55698 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55699 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55700 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55701 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55702 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55704 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55705 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55706 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55707 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55708 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55709 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55710 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55711 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55712 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55713 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55714 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55716 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55717 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55718 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55719 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55720 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55721 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55723 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55724 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55725 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55730 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55731 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55732 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55733 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55734 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55735 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55736 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55737 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55738 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55739 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55740 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55741 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55743 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55744 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55745 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55746 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55747 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55753 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55754 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55755 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55756 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55757 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55758 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55761 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55762 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55763 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55764 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55765 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55766 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55767 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55768 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55769 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55770 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55771 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55772 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55773 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55774 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55775 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55776 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55777 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55778 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55779 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55780 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55781 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55782 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55783 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55784 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55785 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55786 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55787 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55788 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55789 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55790 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55791 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55792 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55793 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55794 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55795 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55796 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55797 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55798 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55799 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55800 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55801 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55802 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55803 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55804 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55805 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55806 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55807 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55808 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55809 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55810 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55811 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55812 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55813 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55814 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55815 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55816 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55817 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55818 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55819 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55820 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55821 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55822 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55823 * sysdeps/ieee754/k_standard.c: Likewise.
55824 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55825 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55826 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55827 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55828 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55829 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55830 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55831 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55832 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55833 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55834 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55835 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55836 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55837 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55838 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55839 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55840 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55841 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55842 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55843 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55844 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55845 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55846 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55847 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55848 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55849 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55850 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55851 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55852 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55854 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55855 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55856 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55857 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55858 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55859 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55860 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55861 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55862 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55863 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55864 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55865 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55866 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55867 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55868 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55869 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55870 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55872 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55873 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55874 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55875 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55876 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55877 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55880 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55881 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55882 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55883 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55884 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55885 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55886 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55887 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55888 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55889 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55890 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55891 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55892 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55893 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55896 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55897 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55898 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55900 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55901 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55902 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55903 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55904 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55906 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55907 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55908 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55909 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55910 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55911 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55912 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55914 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55915 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55916 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55917 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55918 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55919 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55920 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55921 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55922 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55923 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55925 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55928 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55929 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55930 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55931 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55932 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55933 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55934 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55935 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55936 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55937 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55938 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55939 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55940 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55941 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55942 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55943 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55944 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55945 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55946 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55947 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55948 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55949 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55950 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55951 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55952 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55953 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55954 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55955 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55956 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55957 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55958 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55959 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55960 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55961 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55962 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55963 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55964 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55965 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55966 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55967 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55968 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55970 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55971 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55972 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55973 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55974 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55975 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55976 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55978 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55979 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55980 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55981 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55982 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55983 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55984 * sysdeps/ieee754/s_lib_version.c: Likewise.
55985 * sysdeps/ieee754/s_matherr.c: Likewise.
55986 * sysdeps/ieee754/s_signgam.c: Likewise.
55987 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55988 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55989 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55990 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55991 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55992 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55993 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55994 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55995 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55996 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55997 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55998 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55999 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56000 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56001 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56002 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56003 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56004 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56007 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56008
56009 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56010
56011 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56012 * sunrpc/rpc_main.c: Likewise.
56013 * sunrpc/rpc_svcout.c: Likewise.
56014
56015 2012-03-09 David S. Miller <davem@davemloft.net>
56016
56017 * include/math_private.h: New file.
56018
56019 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56020
56021 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56022 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56023 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56024 from <bits/socket_type.h>.
56025 (enum __socket_type): Don't define here.
56026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56028 bits/socket_type.h.
56029
56030 [BZ #13566]
56031 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56032 checking __USE_GNU.
56033
56034 * Makerules ($(inst_includedir)/%.h): New rule.
56035 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56036 (install-others): Remove variable setting.
56037 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56038
56039 2012-03-08 Richard Henderson <rth@twiddle.net>
56040
56041 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56042 from macro to inline function; merge with the
56043 !__LIBC_INTERNAL_MATH_INLINES version.
56044 (__ieee754_sqrtf): Likewise.
56045
56046 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56047 to inline function.
56048 (__rintf, __floor, __floorf): Likewise.
56049
56050 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56051 macro to inline function.
56052 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56053
56054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56055 not <math/math_private.h>.
56056
56057 2012-03-08 David S. Miller <davem@davemloft.net>
56058
56059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56060 copyright year.
56061 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56062
56063 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56064
56065 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56066 normalization.
56067 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56068 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56069
56070 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56071
56072 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56073 be defined individually, they must be defined as a block. Define
56074 S for printing a string instead of hidint the different by using a
56075 macro for adding the 'l'.
56076 * stdio-common/tst-fphex-wide.c: Adjust.
56077
56078 2012-03-07 Marek Polacek <polacek@redhat.com>
56079
56080 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56081
56082 2012-03-08 Marek Polacek <polacek@redhat.com>
56083
56084 [BZ #13806]
56085 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56086 * stdio-common/tst-fphex.c: Define a few macros to make the
56087 test reusable. Use them.
56088 * stdio-common/tst-fphex-wide.c: New file.
56089
56090 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56091
56092 [BZ #6911]
56093 * manual/macros.texi (gnusystems): New macro.
56094 (nongnusystems): Likewise.
56095 (gnulinuxhurdsystems): Likewise.
56096 (gnuhurdsystems): Likewise..
56097 (gnulinuxsystems): Likewise.
56098 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56099 variants of the GNU system, not "GNU system".
56100 * manual/conf.texi: Likewise.
56101 * manual/errno.texi: Likewise. Update example of errno macro
56102 expansion.
56103 * manual/filesys.texi: Likewise.
56104 (getumask): Document as specific to GNU/Hurd.
56105 * manual/install.texi: Likewise. Reword some references to
56106 GNU/Linux.
56107 * manual/intro.texi: Likewise.
56108 * manual/io.texi: Likewise.
56109 (File Name Portability): Detail which constraints are inapplicable
56110 to all GNU systems and which are only inapplicable to GNU/Hurd.
56111 * manual/job.texi: Likewise.
56112 * manual/llio.texi: Likewise.
56113 (O_NOCTTY): Document as present on GNU/Linux.
56114 * manual/maint.texi: Likewise.
56115 * manual/memory.texi: Likewise.
56116 * manual/pattern.texi: Likewise.
56117 * manual/pipe.texi: Likewise.
56118 * manual/process.texi: Likewise.
56119 * manual/resource.texi: Likewise.
56120 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56121 child on GNU/Hurd.
56122 * manual/setjmp.texi: Likewise.
56123 * manual/signal.texi: Likewise.
56124 * manual/startup.texi: Likewise.
56125 * manual/stdio.texi: Likewise.
56126 * manual/terminal.texi: Likewise.
56127 (ONLCR): Document as POSIX.
56128 (OXTABS): Document availability on GNU/Linux as XTABS.
56129 (ONOEOT): Document availability separately from other bits.
56130 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56131 * manual/time.texi: Likewise.
56132 * manual/users.texi: Likewise.
56133 * INSTALL: Regenerated.
56134 * sysdeps/gnu/errlist.c: Regenerated.
56135
56136 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56137 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56138 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56139 puts.
56140 * configure: Regenerated.
56141
56142 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56143
56144 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56145 default includes instead of AC_HEADER_CHECK.
56146 * sysdeps/i386/configure: Regenerated.
56147
56148 [BZ #10716]
56149 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56150 * math/s_cacoshf.c (__cacoshf): Likewise.
56151 * math/s_cacoshl.c (__cacoshl): Likewise.
56152 * math/s_casinh.c (__casinh): Set signs of result from argument.
56153 * math/s_casinhf.c (__casinhf): Likewise.
56154 * math/s_casinhl.c (__casinhl): Likewise.
56155 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56156 (casinh_test): Add more tests.
56157 * sysdeps/i386/fpu/libm-test-ulps: Update.
56158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56159
56160 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56161
56162 * po/zh_TW.po: Update from translation team.
56163
56164 * login/Makefile (distribute): Remove variable.
56165 * catgets/Makefile: Likewise.
56166 * mach/Makefile: Likewise.
56167 * malloc/Makefile: Likewise.
56168 * misc/Makefile: Likewise.
56169 * iconv/Makefile: Likewise.
56170 * nscd/Makefile: Likewise.
56171 * hurd/Makefile: Likewise.
56172 * manual/Makefile: Likewise.
56173 * locale/Makefile: Likewise.
56174 * intl/Makefile: Likewise.
56175 * conform/Makefile: Likewise.
56176 * nss/Makefile: Likewise.
56177 * time/Makefile: Likewise.
56178 * soft-fp/Makefile: Likewise.
56179 * dirent/Makefile: Likewise.
56180 * gmon/Makefile: Likewise.
56181 * po/Makefile: Likewise.
56182 * rt/Makefile: Likewise.
56183 * socket/Makefile: Likewise.
56184 * math/Makefile: Likewise.
56185 * signal/Makefile: Likewise.
56186 * debug/Makefile: Likewise.
56187 * elf/Makefile: Likewise.
56188 * timezone/Makefile: Likewise.
56189 * stdlib/Makefile: Likewise.
56190 * iconvdata/Makefile: Likewise.
56191 * sunrpc/Makefile: Likewise.
56192 * io/Makefile: Likewise.
56193 * argp/Makefile: Likewise.
56194 * inet/Makefile: Likewise.
56195 * hesiod/Makefile: Likewise.
56196 * grp/Makefile: Likewise.
56197 * csu/Makefile: Likewise.
56198 * wctype/Makefile: Likewise.
56199 * crypt/Makefile: Likewise.
56200 * libio/Makefile: Likewise.
56201 * string/Makefile: Likewise.
56202 * nis/Makefile: Likewise.
56203 * resolv/Makefile: Likewise.
56204 * stdio-common/Makefile: Likewise.
56205 * wcsmbs/Makefile: Likewise.
56206 * dlfcn/Makefile: Likewise.
56207 * posix/Makefile: Likewise.
56208
56209 [BZ #6959]
56210 * timezone/Makefile: Don't install timezone files, just the programs
56211 and scripts.
56212
56213 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56214
56215 * nss/databases.def: Add missing gshadow entry.
56216
56217 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56218
56219 2012-03-06 Marek Polacek <polacek@redhat.com>
56220
56221 [BZ #13726]
56222 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56223 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56224 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56225 * stdio-common/tst-long-dbl-fphex.c: New file.
56226
56227 2012-03-06 David S. Miller <davem@davemloft.net>
56228
56229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56230 (set_obp_int): New function.
56231 (get_obp_int): New function.
56232 (__get_clockfreq_via_dev_openprom): Likewise.
56233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56234 Avoid unused variable warnings on 'val' and use builtin_expect.
56235 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56236 __builtin_expect.
56237 (INLINE_CLONE_SYSCALL): Likewise.
56238
56239 2012-03-05 David S. Miller <davem@davemloft.net>
56240
56241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56242
56243 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56244
56245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56246
56247 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56248 only for |x| >= 40.
56249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56250
56251 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56252
56253 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56254 Replace gettimeofday with __vdso_gettimeofday.
56255
56256 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56257 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56258 __vdso_clock_gettime and __vdso_getcpu.
56259
56260 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56261 time with __vdso_time.
56262
56263 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56264
56265 * manual/lang.texi (size_t): Note types to which size_t may be
56266 equivalent with the GNU C Library, but do not describe when
56267 differences between them are significant.
56268
56269 2012-03-05 Andreas Jaeger <aj@suse.de>
56270
56271 * sysdeps/i386/fpu/libm-test-ulps: Update.
56272
56273 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56274
56275 [BZ #3976]
56276 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56277 (__ieee754_pow): Save and restore rounding mode and use
56278 round-to-nearest for main computations.
56279 * math/libm-test.inc (pow_test_tonearest): New function.
56280 (pow_test_towardzero): Likewise.
56281 (pow_test_downward): Likewise.
56282 (pow_test_upward): Likewise.
56283 (main): Call the new functions.
56284 * sysdeps/i386/fpu/libm-test-ulps: Update.
56285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56286
56287 [BZ #3976]
56288 * math/libm-test.inc (cosh_test_tonearest): New function.
56289 (cosh_test_towardzero): Likewise.
56290 (cosh_test_downward): Likewise.
56291 (cosh_test_upward): Likewise.
56292 (sinh_test_tonearest): Likewise.
56293 (sinh_test_towardzero): Likewise.
56294 (sinh_test_downward): Likewise.
56295 (sinh_test_upward): Likewise.
56296 (main): Call the new functions.
56297 * sysdeps/i386/fpu/libm-test-ulps: Update.
56298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56299
56300 2012-03-05 Tom de Vries <tom@codesourcery.com>
56301
56302 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56303 default stack guard is set in last bytes.
56304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56305
56306 2012-03-05 Kees Cook <keescook@chromium.org>
56307
56308 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56309
56310 [BZ #13656]
56311 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56312 possibly allocate from heap instead of stack.
56313 * stdio-common/bug-vfprintf-nargs.c: New file.
56314 * stdio-common/Makefile (tests): Add nargs overflow test.
56315
56316 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56317
56318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56319
56320 2012-03-03 Marek Polacek <polacek@redhat.com>
56321
56322 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56323 * math/math_private.h: Likewise.
56324 * stdlib/tst-strtod.c: Likewise.
56325 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56326 * sysdeps/x86_64/bits/atomic.h: Likewise.
56327
56328 2012-03-02 David S. Miller <davem@davemloft.net>
56329
56330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56334 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56335 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56336 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56337 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56338
56339 2012-03-02 Roland McGrath <roland@hack.frob.com>
56340
56341 [BZ #13792]
56342 * manual/examples/README: New file, says the example source files
56343 can be used under GPL>=2.
56344 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56345 line containing just "*/".
56346 * manual/examples/add.c: Add copyright header (GPL>=2).
56347 * manual/examples/argp-ex1.c: Likewise.
56348 * manual/examples/argp-ex2.c: Likewise.
56349 * manual/examples/argp-ex3.c: Likewise.
56350 * manual/examples/argp-ex4.c: Likewise.
56351 * manual/examples/atexit.c: Likewise.
56352 * manual/examples/db.c: Likewise.
56353 * manual/examples/dir.c: Likewise.
56354 * manual/examples/dir2.c: Likewise.
56355 * manual/examples/execinfo.c: Likewise.
56356 * manual/examples/filecli.c: Likewise.
56357 * manual/examples/filesrv.c: Likewise.
56358 * manual/examples/fmtmsgexpl.c: Likewise.
56359 * manual/examples/genpass.c: Likewise.
56360 * manual/examples/inetcli.c: Likewise.
56361 * manual/examples/inetsrv.c: Likewise.
56362 * manual/examples/isockad.c: Likewise.
56363 * manual/examples/longopt.c: Likewise.
56364 * manual/examples/memopen.c: Likewise.
56365 * manual/examples/memstrm.c: Likewise.
56366 * manual/examples/mkfsock.c: Likewise.
56367 * manual/examples/mkisock.c: Likewise.
56368 * manual/examples/mygetpass.c: Likewise.
56369 * manual/examples/pipe.c: Likewise.
56370 * manual/examples/popen.c: Likewise.
56371 * manual/examples/rprintf.c: Likewise.
56372 * manual/examples/search.c: Likewise.
56373 * manual/examples/select.c: Likewise.
56374 * manual/examples/setjmp.c: Likewise.
56375 * manual/examples/sigh1.c: Likewise.
56376 * manual/examples/sigusr.c: Likewise.
56377 * manual/examples/stpcpy.c: Likewise.
56378 * manual/examples/strdupa.c: Likewise.
56379 * manual/examples/strftim.c: Likewise.
56380 * manual/examples/strncat.c: Likewise.
56381 * manual/examples/subopt.c: Likewise.
56382 * manual/examples/swapcontext.c: Likewise.
56383 * manual/examples/termios.c: Likewise.
56384 * manual/examples/testopt.c: Likewise.
56385 * manual/examples/testpass.c: Likewise.
56386 * manual/examples/timeval_subtract.c: Likewise.
56387
56388 [BZ #13792]
56389 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56390 function to ...
56391 * manual/timeval_subtract.c.texi: ... here, new file.
56392
56393 2012-03-02 David S. Miller <davem@davemloft.net>
56394
56395 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56396
56397 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56398
56399 [BZ #3976]
56400 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56401 (__sin): Save and restore rounding mode and use round-to-nearest
56402 for all computations.
56403 (__cos): Save and restore rounding mode and use round-to-nearest
56404 for all computations.
56405 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56406 <fenv.h>.
56407 (tan): Save and restore rounding mode and use round-to-nearest for
56408 all computations.
56409 * math/libm-test.inc (cos_test_tonearest): New function.
56410 (cos_test_towardzero): Likewise.
56411 (cos_test_downward): Likewise.
56412 (cos_test_upward): Likewise.
56413 (sin_test_tonearest): Likewise.
56414 (sin_test_towardzero): Likewise.
56415 (sin_test_downward): Likewise.
56416 (sin_test_upward): Likewise.
56417 (tan_test_tonearest): Likewise.
56418 (tan_test_towardzero): Likewise.
56419 (tan_test_downward): Likewise.
56420 (tan_test_upward): Likewise.
56421 (main): Call the new functions.
56422 * sysdeps/i386/fpu/libm-test-ulps: Update.
56423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56424
56425 [BZ #10135]
56426 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56427 small n, then large n, before computing and testing k+n.
56428 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56430 Likewise.
56431 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56432 Likewise.
56433 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56434 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56437 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56438 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56439 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56441 * math/libm-test.inc (scalbn_test): Add more tests.
56442 (scalbln_test): Likewise.
56443
56444 * manual/filesys.texi (mode_t): Describe constraints on size and
56445 signedness, not exact equivalence to a particular type.
56446 (ino_t): Likewise.
56447 (ino64_t): Likewise.
56448 (dev_t): Likewise.
56449 (nlink_t): Likewise.
56450 (blkcnt_t): Likewise.
56451 (blkcnt64_t): Likewise.
56452 * manual/llio.texi (off_t): Likewise.
56453
56454 [BZ #3976]
56455 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56456 (__ieee754_exp): Save and restore rounding mode and use
56457 round-to-nearest for all computations.
56458 * math/libm-test.inc (exp_test_tonearest): New function.
56459 (exp_test_towardzero): Likewise.
56460 (exp_test_downward): Likewise.
56461 (exp_test_upward): Likewise.
56462 (main): Call the new functions.
56463 * sysdeps/i386/fpu/libm-test-ulps: Update.
56464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56465
56466 2012-03-01 Chris Demetriou <cgd@google.com>
56467
56468 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56469 have predictable order.
56470
56471 2012-03-01 David S. Miller <davem@davemloft.net>
56472
56473 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56474
56475 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56476 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56477 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56478 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56479
56480 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56481 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56482 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56484 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56485 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56486 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56487 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56488 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56489
56490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56491
56492 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56493 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56494 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56495
56496 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56497 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56498 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56499 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56500 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56501 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56503 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56504 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56505 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56506 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56507 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56509 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56510 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56512 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56513 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56514 * sysdeps/sparc/elf/configure: Regenerated.
56515
56516 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56517
56518 * configure.in (AS, LD): Require binutils 2.20 or later.
56519 * configure: Regenerated.
56520 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56521 as required minimum version.
56522 * INSTALL: Regenerated.
56523
56524 [BZ #2541]
56525 [BZ #4108]
56526 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56527 before squaring exponent.
56528 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56529 bottom long double and 27 bits of top long double before squaring
56530 exponent.
56531 * math/libm-test.inc (erfc_test): Add more tests.
56532 * sysdeps/i386/fpu/libm-test-ulps: Update.
56533 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56535
56536 2012-03-01 Kai Tietz <ktietz@redhat.com>
56537
56538 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56539 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56540 containing bit-fields.
56541 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56542 * soft-fp/single.h (_FP_UNION_S): Likewise.
56543 * soft-fp/double.h (_FP_UNION_D): Likewise.
56544
56545 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56546
56547 [BZ #13786]
56548 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56549 not include ../strcmp.S.
56550 [USE_AS_STRNCASECMP_L]: Likewise.
56551 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56552 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56553 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56554 (__strncasecmp_l_ia32): Define as alias to
56555 __strncasecmp_l_nonascii.
56556
56557 [BZ #5794]
56558 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56559 * sysdeps/i386/fpu/libm-test-ulps: Update.
56560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56561
56562 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56564
56565 2012-02-29 Jeff Law <law@redhat.com>
56566
56567 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56568 out of bounds read.
56569
56570 2012-02-29 Marek Polacek <polacek@redhat.com>
56571
56572 [BZ #13706]
56573 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56574 * elf/Makefile: Add rules to run tst-unused-dep.out.
56575
56576 2012-02-28 David S. Miller <davem@davemloft.net>
56577
56578 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56579 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56580 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56581 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56582 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56583 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56584
56585 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56586
56587 * math/libm-test.inc (llround_test): Move one test from
56588 lround_test. Use TEST_f_L in moved test.
56589 (lround_test): Move misplaced test to llround_test. Add testcase
56590 from bug 2561.
56591
56592 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56593
56594 * sysdeps/x86_64/fpu/e_expf.S: New file.
56595 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56596
56597 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56598
56599 [BZ #13637]
56600 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56601 of remain_len that may cause incomplete multi-byte character and
56602 false match.
56603 * posix/bug-regex33.c: New file.
56604 * posix/Makefile (tests): Add bug-regex33.
56605
56606 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56607
56608 * manual/macros.texi: New file.
56609 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56610 * manual/libc.texinfo: Include macros.texi.
56611 * manual/creatute.texi: Likewise.
56612 * manual/install.texi: Likewise.
56613 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56614 @glibcadj{} in references to the GNU C Library.
56615 * manual/charset.texi: Likewise.
56616 * manual/conf.texi: Likewise.
56617 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56618 when not using those macros.
56619 * manual/creature.texi: Likewise.
56620 * manual/crypt.texi: Likewise.
56621 * manual/errno.texi: Likewise.
56622 * manual/filesys.texi: Likewise.
56623 * manual/header.texi: Likewise.
56624 * manual/install.texi: Likewise.
56625 * manual/intro.texi: Likewise.
56626 * manual/io.texi: Likewise.
56627 * manual/job.texi: Likewise.
56628 * manual/lang.texi: Likewise.
56629 * manual/libc.texiinfo: Likewise.
56630 * manual/llio.texi: Likewise.
56631 * manual/locale.texi: Likewise.
56632 * manual/maint.texi: Likewise.
56633 * manual/math.texi: Likewise.
56634 * manual/memory.texi: Likewise.
56635 * manual/message.texi: Likewise.
56636 * manual/nss.texi: Likewise.
56637 * manual/pattern.texi: Likewise.
56638 * manual/process.texi: Likewise.
56639 * manual/resource.texi: Likewise.
56640 * manual/search.texi: Likewise.
56641 * manual/setjmp.texi: Likewise.
56642 * manual/signal.texi: Likewise.
56643 * manual/socket.texi: Likewise.
56644 * manual/startup.texi: Likewise.
56645 * manual/stdio.texi: Likewise.
56646 * manual/string.texi: Likewise.
56647 * manual/sysinfo.texi: Likewise.
56648 * manual/syslog.texi: Likewise.
56649 * manual/terminal.texi: Likewise.
56650 * manual/time.texi: Likewise.
56651 * manual/users.texi: Likewise.
56652 * INSTALL: Regenerated.
56653 * NOTES: Regenerated.
56654 * sysdeps/gnu/errlist.c: Regenerated.
56655
56656 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56657
56658 * include/dirent.h: Include <dirstream.h> before
56659 <dirent/dirent.h>.
56660
56661 2012-02-28 David S. Miller <davem@davemloft.net>
56662
56663 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56664 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56665 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56666 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56667
56668 2012-02-27 David S. Miller <davem@davemloft.net>
56669
56670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56672 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56673 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56674
56675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56676 frame pointer instead of stack pointer relative arg slot.
56677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56678 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56679 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56680
56681 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56682
56683 [BZ #3992]
56684 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56685
56686 2012-02-27 David S. Miller <davem@davemloft.net>
56687
56688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56692 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56693 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56694 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56695 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56696
56697 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56698
56699 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56700 later. Allow versions 5-9.
56701 * configure: Regenerated.
56702 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56703 required minimum version and 4.6 as recommended version. Do not
56704 mention bugs in GCC 2.7 and 2.8.
56705 * INSTALL: Regenerated.
56706
56707 2012-02-27 David S. Miller <davem@davemloft.net>
56708
56709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56713 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56714 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56715 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56716 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56717
56718 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56719 manipulate bits before adding and subtracting TWO112[sx].
56720 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56721
56722 2012-02-27 Roland McGrath <roland@hack.frob.com>
56723
56724 [BZ #13775]
56725 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56726 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56727 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56728 being in POSIX, because they are in 1003.1-2008.
56729
56730 * rt/tst-aio.c: Include <fcntl.h>.
56731 * rt/tst-aio7.c: Likewise.
56732 * rt/tst-aio64.c: Likewise.
56733
56734 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56735
56736 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56737
56738 * manual/install.texi (--with-headers): Describe headers as
56739 interface headers, not private headers.
56740 (Specific advice for GNU/Linux systems): Describe use of headers
56741 from "make headers_install", not private headers from older
56742 kernels.
56743 * INSTALL: Regenerated.
56744 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56745 Change to 2.6.19.
56746 * sysdeps/unix/sysv/linux/configure: Regenerated.
56747
56748 * manual/llio.texi (fclean): Remove documentation.
56749
56750 * manual/Makefile (libc-texi-generated): New variable. Include
56751 version.texi.
56752 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56753 $(libc-texi-generated), not duplicated list of files.
56754 (version.texi, stamp-version): New rules.
56755 (realclean): Remove $(libc-texi-generated), not individual files
56756 from that list. Do not remove dir-add.texinfo.
56757 * manual/libc.texinfo: Comment out uses of edition numbers and
56758 references to printed manual. Remove last-updated dates.
56759 (EDITION): Comment out.
56760 (ISBN): Likewise.
56761 (VERSION, UPDATED): Remove.
56762 (version.texi): Include.
56763
56764 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56765
56766 * sysdeps/posix/spawni.c: Include <signal.h>.
56767 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56768 * sysdeps/pthread/aio_fsync.c: Likewise.
56769
56770 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56771
56772 * conform/Makefile (tests): Run only when not cross-compiling and
56773 when fast-check is not defined.
56774
56775 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56776 * conform/data/limits.h-data: Fixes for POSIX2008.
56777 * conform/run-conformtest.sh: Run all tests.
56778 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56779 headers.
56780 * include/bits/dlfcn.h: Likewise.
56781 * include/langinfo.h: Likewise.
56782 * include/monetary.h: Likewise.
56783 * include/sys/poll.h: Likewise.
56784
56785 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56786 for __USE_GNU.
56787 * posix/spawn.h: Define __need_sigset_t.
56788 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56789 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56790 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56791 to get sigevent_t only.
56792 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56793 only for __USE_GNU.
56794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56795 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56796 process_vm_writev only for __USE_GNU.
56797 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56798
56799 * conform/Makefile: For now ignore errors from run-conformtest.
56800 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56801 POSIX to avoid namespace pollution. Don't prepend headers.
56802 * conform/data/aio.h-data: Fixes for POSIX testing.
56803 * conform/data/fcntl.h-data: Likewise.
56804 * conform/data/glob.h-data: Likewise.
56805 * conform/data/grp.h-data: Likewise.
56806 * conform/data/pthread.h-data: Likewise.
56807 * conform/data/pwd.h-data: Likewise.
56808 * conform/data/signal.h-data: Likewise.
56809 * conform/data/spawn.h-data: Likewise.
56810 * conform/data/stdio.h-data: Likewise.
56811 * conform/data/stdlib.h-data: Likewise.
56812 * conform/data/stropts.h-data: Likewise.
56813 * conform/data/sys/mman.h-data: Likewise.
56814 * conform/data/sys/stat.h-data: Likewise.
56815 * conform/data/sys/types.h-data: Likewise.
56816 * conform/data/sys/wait.h-data: Likewise.
56817 * conform/data/time.h-data: Likewise.
56818 * conform/data/unistd.h-data: Likewise.
56819 * conform/data/utime.h-data: Likewise.
56820
56821 * io/sys/stat.h: fchmod was always in POSIX.
56822 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56823 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56824 * rt/aio.h: Define __need_timespec before including <time.h>.
56825 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56826 struct. Add forward declaration of pthread_attr_t and use it in
56827 sigevent.
56828 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56829 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56830 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56831 always remove CLK_TCK definition.
56832
56833 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56834
56835 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56836
56837 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56838
56839 * conform/run-conformtest.sh: New file.
56840 * conform/Makefile: Run run-conformtest for tests.
56841 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56842 support.
56843
56844 * conform/data/uchar.h-data: New file.
56845 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56846 * conform/data/arpa/inet.h-data: Likewise.
56847 * conform/data/assert.h-data: Likewise.
56848 * conform/data/complex.h-data: Likewise.
56849 * conform/data/cpio.h-data: Likewise.
56850 * conform/data/ctype.h-data: Likewise.
56851 * conform/data/dirent.h-data: Likewise.
56852 * conform/data/dlfcn.h-data: Likewise.
56853 * conform/data/errno.h-data: Likewise.
56854 * conform/data/fcntl.h-data: Likewise.
56855 * conform/data/float.h-data: Likewise.
56856 * conform/data/fmtmsg.h-data: Likewise.
56857 * conform/data/fnmatch.h-data: Likewise.
56858 * conform/data/ftw.h-data: Likewise.
56859 * conform/data/glob.h-data: Likewise.
56860 * conform/data/grp.h-data: Likewise.
56861 * conform/data/iconv.h-data: Likewise.
56862 * conform/data/inttypes.h-data: Likewise.
56863 * conform/data/langinfo.h-data: Likewise.
56864 * conform/data/libgen.h-data: Likewise.
56865 * conform/data/limits.h-data: Likewise.
56866 * conform/data/locale.h-data: Likewise.
56867 * conform/data/math.h-data: Likewise.
56868 * conform/data/monetary.h-data: Likewise.
56869 * conform/data/mqueue.h-data: Likewise.
56870 * conform/data/ndbm.h-data: Likewise.
56871 * conform/data/net/if.h-data: Likewise.
56872 * conform/data/netdb.h-data: Likewise.
56873 * conform/data/netinet/in.h-data: Likewise.
56874 * conform/data/nl_types.h-data: Likewise.
56875 * conform/data/poll.h-data: Likewise.
56876 * conform/data/pthread.h-data: Likewise.
56877 * conform/data/pwd.h-data: Likewise.
56878 * conform/data/regex.h-data: Likewise.
56879 * conform/data/sched.h-data: Likewise.
56880 * conform/data/search.h-data: Likewise.
56881 * conform/data/semaphore.h-data: Likewise.
56882 * conform/data/setjmp.h-data: Likewise.
56883 * conform/data/signal.h-data: Likewise.
56884 * conform/data/spawn.h-data: Likewise.
56885 * conform/data/stdarg.h-data: Likewise.
56886 * conform/data/stdio.h-data: Likewise.
56887 * conform/data/stdlib.h-data: Likewise.
56888 * conform/data/string.h-data: Likewise.
56889 * conform/data/strings.h-data: Likewise.
56890 * conform/data/stropts.h-data: Likewise.
56891 * conform/data/sys/ipc.h-data: Likewise.
56892 * conform/data/sys/mman.h-data: Likewise.
56893 * conform/data/sys/msg.h-data: Likewise.
56894 * conform/data/sys/resource.h-data: Likewise.
56895 * conform/data/sys/select.h-data: Likewise.
56896 * conform/data/sys/sem.h-data: Likewise.
56897 * conform/data/sys/shm.h-data: Likewise.
56898 * conform/data/sys/socket.h-data: Likewise.
56899 * conform/data/sys/stat.h-data: Likewise.
56900 * conform/data/sys/statvfs.h-data: Likewise.
56901 * conform/data/sys/time.h-data: Likewise.
56902 * conform/data/sys/timeb.h-data: Likewise.
56903 * conform/data/sys/times.h-data: Likewise.
56904 * conform/data/sys/types.h-data: Likewise.
56905 * conform/data/sys/uio.h-data: Likewise.
56906 * conform/data/sys/un.h-data: Likewise.
56907 * conform/data/sys/utsname.h-data: Likewise.
56908 * conform/data/sys/wait.h-data: Likewise.
56909 * conform/data/syslog.h-data: Likewise.
56910 * conform/data/tar.h-data: Likewise.
56911 * conform/data/termios.h-data: Likewise.
56912 * conform/data/utime.h-data: Likewise.
56913 * conform/data/utmpx.h-data: Likewise.
56914 * conform/data/varargs.h-data: Likewise.
56915 * conform/data/wchar.h-data: Likewise.
56916 * conform/data/wctype.h-data: Likewise.
56917 * conform/data/wordexp.h-data: Likewise.
56918
56919 * include/stropts.h: New file.
56920 * include/uchar.h: New file.
56921 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56922 * include/assert.h: Likewise.
56923 * include/ctype.h: Likewise.
56924 * include/dirent.h: Likewise.
56925 * include/dlfcn.h: Likewise.
56926 * include/fcntl.h: Likewise.
56927 * include/fnmatch.h: Likewise.
56928 * include/glob.h: Likewise.
56929 * include/grp.h: Likewise.
56930 * include/libio.h: Likewise.
56931 * include/locale.h: Likewise.
56932 * include/math.h: Likewise.
56933 * include/net/if.h: Likewise.
56934 * include/netdb.h: Likewise.
56935 * include/netinet/in.h: Likewise.
56936 * include/pthread.h: Likewise.
56937 * include/pwd.h: Likewise.
56938 * include/regex.h: Likewise.
56939 * include/sched.h: Likewise.
56940 * include/search.h: Likewise.
56941 * include/setjmp.h: Likewise.
56942 * include/signal.h: Likewise.
56943 * include/stdio.h: Likewise.
56944 * include/stdlib.h: Likewise.
56945 * include/string.h: Likewise.
56946 * include/sys/cdefs.h: Likewise.
56947 * include/sys/mman.h: Likewise.
56948 * include/sys/msg.h: Likewise.
56949 * include/sys/resource.h: Likewise.
56950 * include/sys/select.h: Likewise.
56951 * include/sys/socket.h: Likewise.
56952 * include/sys/stat.h: Likewise.
56953 * include/sys/statvfs.h: Likewise.
56954 * include/sys/time.h: Likewise.
56955 * include/sys/times.h: Likewise.
56956 * include/sys/uio.h: Likewise.
56957 * include/sys/utsname.h: Likewise.
56958 * include/sys/wait.h: Likewise.
56959 * include/termios.h: Likewise.
56960 * include/time.h: Likewise.
56961 * include/ulimit.h: Likewise.
56962 * include/unistd.h: Likewise.
56963 * include/utime.h: Likewise.
56964 * include/wchar.h: Likewise.
56965 * include/wctype.h: Likewise.
56966 * include/wordexp.h: Likewise.
56967
56968 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56969
56970 * time/time.h: TIME_UTC must be a macro.
56971 Make timespec_get available for ISO C11 only as well.
56972
56973 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56974
56975 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56976 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56977
56978 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56979
56980 * configure.in: Use -o not -a in test for unsupported multi-arch.
56981
56982 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56983
56984 * manual/texinfo.tex: Update to version 2012-01-19.16.
56985
56986 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56987
56988 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56989
56990 2012-02-24 Roland McGrath <roland@hack.frob.com>
56991
56992 [BZ #13738]
56993 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56994 * manual/fdl-1.3.texi: New file.
56995 * manual/fdl-1.1.texi: File removed.
56996
56997 [BZ #13738]
56998 * manual/libc.texinfo (FDL_VERSION): New @set.
56999 Use it for mention of FDL in cover text.
57000 (Documentation License): Use it in @include file name.
57001
57002 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57003 Roland McGrath <roland@hack.frob.com>
57004
57005 [BZ #5461]
57006 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57007 (not LONG_LONG_MAX and LONG_LONG_MIN.
57008 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57009 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57010 name.
57011 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57012
57013 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57014
57015 [BZ #2547]
57016 [BZ #11365]
57017 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57018 manipulate bits before adding and subtracting TWO23[sx].
57019 * math/libm-test.inc (nearbyint_test): Add more tests.
57020
57021 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57022
57023 [BZ #2548]
57024 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57025 bits before adding and subtracting TWO23[sx].
57026 * math/libm-test.inc (rint_test): Add more tests.
57027 (rint_test_tonearest): Likewise.
57028 (rint_test_towardzero): Likewise.
57029 (rint_test_downward): Likewise.
57030 (rint_test_upward: Likewise.
57031
57032 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57033
57034 [BZ #10110]
57035 * include/stdc-predef.h: New file. Extracted from features.h.
57036 * include/features.h: Include stdc-predef.h.
57037 * Makefile (headers): Add stdc-predef.h.
57038 * CONFORMANCE (Compiler limitations): Update.
57039
57040 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57041
57042 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57043
57044 2012-02-21 David S. Miller <davem@davemloft.net>
57045
57046 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57047 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57048
57049 2012-02-20 David S. Miller <davem@davemloft.net>
57050
57051 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57052 using a normal save/restore sequence, rather than allocating a
57053 dummy stack frame just to store a frame pointer and restore.
57054 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57055
57056 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57057
57058 * manual/install.texi: Fix stray word in line-wrapped comment.
57059
57060 2012-02-20 David S. Miller <davem@davemloft.net>
57061
57062 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57063 both binutils and gcc support GOTDATA.
57064
57065 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57066 "rd %pc" in the PIC register setup sequences.
57067
57068 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57069 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57070 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57071 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57072 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57075 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57077 (SYSCALL_ERROR_HANDLER): Likewise.
57078 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57079 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57081 (SYSCALL_ERROR_HANDLER): Likewise.
57082
57083 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57084 (HAVE_GCC_GOTDATA): New.
57085 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57086 relocation support in both binutils and gcc.
57087 * sysdeps/sparc/elf/configure: Regenerate.
57088
57089 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57090 * sysdeps/sparc/sparc32/elf/configure: Delete.
57091 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57092 * sysdeps/sparc/sparc64/elf/configure: Delete.
57093 * sysdeps/sparc/elf/configure.in: New file.
57094 * sysdeps/sparc/elf/configure: Generate.
57095
57096 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57097 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57098 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57099 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57100 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57101
57102 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57103
57104 * manual/install.texi: Do not mention specific glibc version
57105 numbers.
57106 * manual/libc.texinfo (VERSION, UPDATED): Update.
57107 (@copying): Use @copyright{} and range of years.
57108
57109 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57110
57111 [BZ #13695]
57112 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57113 [crti.S not in sysdirs] (generated): Do not append.
57114 [crti.S not in sysdirs] (omit-deps): Likewise.
57115 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57116 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57117 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57118 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57119 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57120 Likewise.
57121 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57122 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57123 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57124 * csu/defs.awk: Remove file.
57125 * sysdeps/generic/initfini.c: Likewise.
57126 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57127 variable.
57128 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57129 Likewise.
57130
57131 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57132
57133 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57134 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57135 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57136 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57138 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57139 <bits/epoll.h>.
57140 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57141 (__EPOLL_PACKED): Define to empty if not defined by
57142 <bits/epoll.h>.
57143 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57145 bits/epoll.h.
57146
57147 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57148
57149 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57150 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57151 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57152 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57153 <bits/timerfd.h>.
57154 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57156 bits/timerfd.h.
57157
57158 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57159
57160 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57161 in C locale.
57162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57163 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57164 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57166
57167 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57168
57169 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57170 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57171
57172 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57173
57174 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57175 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57176 defined.
57177 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57178 Likewise.
57179 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57180 entry for 2.16.
57181
57182 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57183
57184 * math/w_acos.c: Use non-signaling floating-point comparisons.
57185 * math/w_acosf.c: Likewise.
57186 * math/w_acosh.c: Likewise.
57187 * math/w_acoshf.c: Likewise.
57188 * math/w_acoshl.c: Likewise.
57189 * math/w_acosl.c: Likewise.
57190 * math/w_asin.c: Likewise.
57191 * math/w_asinf.c: Likewise.
57192 * math/w_asinl.c: Likewise.
57193 * math/w_atanh.c: Likewise.
57194 * math/w_atanhf.c: Likewise.
57195 * math/w_atanhl.c: Likewise.
57196 * math/w_exp2.c: Likewise.
57197 * math/w_exp2f.c: Likewise.
57198 * math/w_exp2l.c: Likewise.
57199 * math/w_j0.c: Likewise.
57200 * math/w_j0f.c: Likewise.
57201 * math/w_j0l.c: Likewise.
57202 * math/w_j1.c: Likewise.
57203 * math/w_j1f.c: Likewise.
57204 * math/w_j1l.c: Likewise.
57205 * math/w_jn.c: Likewise.
57206 * math/w_jnf.c: Likewise.
57207 * math/w_log.c: Likewise.
57208 * math/w_log10.c: Likewise.
57209 * math/w_log10f.c: Likewise.
57210 * math/w_log10l.c: Likewise.
57211 * math/w_log2.c: Likewise.
57212 * math/w_log2f.c: Likewise.
57213 * math/w_log2l.c: Likewise.
57214 * math/w_logf.c: Likewise.
57215 * math/w_logl.c: Likewise.
57216 * math/w_sqrt.c: Likewise.
57217 * math/w_sqrtf.c: Likewise.
57218 * math/w_sqrtl.c: Likewise.
57219 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57220 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57221 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57222 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57223 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57224
57225 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57226
57227 [BZ #9739]
57228 * manual/string.texi (strnlen): Use correct parameter name in
57229 equivalent expression.
57230
57231 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57232
57233 [BZ #11174]
57234 * manual/users.texi (seteuid): Consistently use neweuid for
57235 argument name.
57236
57237 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57238
57239 [BZ #13704]
57240 * manual/nss.texi (Services in the NSS configuration): Correct
57241 list of services in example configuration file.
57242
57243 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57244
57245 [BZ #11322]
57246 * manual/arith.texi: Remove statements about negative zero
57247 behaving identically to zero.
57248
57249 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57250
57251 [BZ #5993]
57252 * manual/install.texi: Do not document upgrading from libc5.
57253
57254 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57255
57256 [BZ #4596]
57257 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57258
57259 2012-02-18 David S. Miller <davem@davemloft.net>
57260
57261 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57262 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57263 %o7 across the call.
57264 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57265 instead.
57266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57267 SETUP_PIC_REG_LEAF.
57268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57269 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57270 * sysdeps/sparc/crtn.S: Likewise.
57271
57272 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57273
57274 * aout/Makefile: Remove.
57275
57276 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57277
57278 [BZ #13058]
57279 * manual/examples/argp-ex1.c (main): Format definition in GNU
57280 style.
57281 * manual/examples/argp-ex2.c (main): Likewise.
57282 * manual/examples/argp-ex3.c (main): Likewise.
57283 * manual/examples/argp-ex4.c (main): Likewise.
57284 * manual/examples/longopt.c (main): Use new-style prototype
57285 definition.
57286 * manual/examples/strncat.c (main): Specify return type and use
57287 (void) for arguments.
57288 * manual/examples/subopt.c (main): Use char **argv argument.
57289
57290 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57291
57292 [BZ #5077]
57293 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57294 rounding modes.
57295
57296 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57297
57298 [BZ #6907]
57299 * manual/string.texi (strchr): Change when strchrnul is
57300 recommended.
57301
57302 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57303
57304 [BZ #174]
57305 * manual/locale.texi (setlocale): Document LOCPATH.
57306
57307 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57308
57309 [BZ #10210]
57310 * manual/process.texi (execle): Move @dots{} before last argument.
57311
57312 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57313
57314 [BZ #12047]
57315 * manual/charset.texi (Generic Charset Conversion): Fix typo
57316 (LC_TYPE -> LC_CTYPE).
57317
57318 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57319
57320 [BZ #5805]
57321 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57322 (scalbnf): Likewise.
57323 (scalbnl): Likewise.
57324 (scalbln): Likewise.
57325 (scalblnf): Likewise.
57326 (scalblnl): Likewise.
57327 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57328 (vwarnx): Likewise.
57329 (verr): Likewise.
57330 (verrx): Likewise.
57331 * manual/filesys.texi (telldir): Use braces around return type.
57332 * manual/llio.texi (mmap): Add space after comma.
57333 (mmap64): Likewise.
57334 * manual/math.texi (jn): Use @var{} on parameter names.
57335 (jnf): Likewise.
57336 (jnl): Likewise.
57337 (yn): Likewise.
57338 (ynf): Likewise.
57339 (ynl): Likewise.
57340 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57341 line.
57342 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57343 "...".
57344 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57345 (sched_get_priority_max): Likewise.
57346 * manual/signal.texi (sigvec): Add space after comma.
57347 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57348 names.
57349 (if_indextoname): Likewise.
57350 (if_freenameindex): Likewise.
57351 (sendto): Use ',' instead of '.' in prototype.
57352 * manual/startup.texi (syscall): Use @dots{} instead of literal
57353 "...".
57354 * manual/stdio.texi (__fpending): Separate initial words of
57355 paragraph from @deftypefun line.
57356 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57357 "...".
57358 (vsyslog): Use @var{} on parameter names.
57359 * manual/terminal.texi (stty): Use @var{} on parameter names.
57360 * manual/users.texi (getutmp): Use @var{} on parameter names.
57361 (getutmpx): Likewise.
57362
57363 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57364
57365 [BZ #6884]
57366 * manual/stdio.texi (fopen): Fix typos in description of
57367 ",ccs=STRING".
57368
57369 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57370
57371 [BZ #4026]
57372 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57373 get clock_id definition.
57374
57375 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57376
57377 [BZ #4822]
57378 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57379 (madvise): Cast every argument to void on its own.
57380
57381 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57382
57383 [BZ #9902]
57384 * manual/startup.texi (Exit Status): Fix typo.
57385
57386 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57387
57388 [BZ #10140]
57389 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57390 * manual/examples/argp-ex2.c: Likewise.
57391 * manual/examples/argp-ex3.c: Likewise.
57392
57393 2012-02-16 Richard Henderson <rth@redhat.com>
57394
57395 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57396 * sysdeps/s390/s390-32/initfini.c: Remove.
57397 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57398 * sysdeps/s390/s390-64/initfini.c: Remove.
57399
57400 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57401
57402 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57403 compiler output for sysdeps/generic/initfini.c.
57404 * sysdeps/sh/elf/initfini.c: Remove file.
57405
57406 2012-02-16 David S. Miller <davem@davemloft.net>
57407
57408 [BZ #11494]
57409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57410
57411 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57412 * sysdeps/sparc/crti.S: New file.
57413 * sysdeps/sparc/crtn.S: New file.
57414 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57415 * sysdeps/sparc/sparc64/Makefile: Likewise.
57416
57417 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57418
57419 [BZ #3335]
57420 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57421
57422 2012-02-15 Roland McGrath <roland@hack.frob.com>
57423
57424 [BZ #4822]
57425 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57426
57427 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57428 (write, read, close): Likewise.
57429 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57430
57431 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57432
57433 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57434 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57435 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57436 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57437 <bits/signalfd.h>.
57438 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57440 bits/signalfd.h.
57441
57442 2012-02-14 Marek Polacek <polacek@redhat.com>
57443
57444 * sysdeps/x86_64/crti.S: New file.
57445 * sysdeps/x86_64/crtn.S: New file.
57446 * sysdeps/x86_64/elf/initfini.c: Remove file.
57447
57448 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57449
57450 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57451 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57452 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57453 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57454 <bits/inotify.h>.
57455 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57457 bits/inotify.h.
57458
57459 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57460
57461 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57462 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57463 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57464 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57465 <bits/eventfd.h>.
57466 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57468 bits/eventfd.h.
57469
57470 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57471
57472 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57473 __feraiseexcept instead of feraiseexcept.
57474
57475 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57476 nanosleep invocations.
57477 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57478 strings, and add error checking for a nanosleep invocations.
57479
57480 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57481
57482 Replace FSF snail mail address with URLs, as per GNU coding standards.
57483 Most of the snail mail addresses were wrong anyway, and omitting
57484 them makes the source code easier to maintain. Almost all of the
57485 changes are to license notices and to locale LC_IDENTIFICATION
57486 addresses, except for this one:
57487 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57488 not its snail mail address.
57489
57490 2012-02-09 Richard Henderson <rth@twiddle.net>
57491
57492 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57493 of kernel-features.h.
57494
57495 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57496
57497 2012-02-08 Marek Polacek <polacek@redhat.com>
57498
57499 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57500 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57501 * sysdeps/gnu/_G_config.h: Likewise.
57502 * sysdeps/generic/_G_config.h: Likewise.
57503
57504 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57505
57506 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57507 tests.
57508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57509
57510 * sysdeps/powerpc/powerpc32/crti.S: New file.
57511 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57512 * sysdeps/powerpc/powerpc64/crti.S: New file.
57513 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57514
57515 * Makeconfig (have-initfini): Don't set.
57516 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57517 * configure.in (nopic_initfini): Don't substitute.
57518 * config.h.in (HAVE_INITFINI): Don't #undef.
57519 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57520 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57521
57522 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57523
57524 Support crti.S and crtn.S provided directly by architectures.
57525 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57526 [crti.S in sysdirs] (omit-deps): Likewise.
57527 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57528 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57529 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57530 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57531 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57532 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57533 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57534 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57535 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57536 compiler output for sysdeps/generic/initfini.c.
57537 * sysdeps/i386/elf/Makefile: Remove file.
57538 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57539
57540 2012-02-07 Marek Polacek <polacek@redhat.com>
57541
57542 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57543 * sysdeps/gnu/_G_config.h: Likewise.
57544 * sysdeps/mach/hurd/_G_config.h: Likewise.
57545
57546 2012-02-07 Marek Polacek <polacek@redhat.com>
57547
57548 * math/Makefile (tests): Add tst-CMPLX2.
57549 * math/tst-CMPLX2.c: New file.
57550
57551 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57552
57553 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57554
57555 * math/libm-test.inc (jn_test): Add missing L suffix.
57556
57557 2012-02-06 Marek Polacek <polacek@redhat.com>
57558
57559 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57560 * sysdeps/i386/fpu/e_powf.S: Likewise.
57561 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57562 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57564 * sysdeps/i386/fpu/e_pow.S: Likewise.
57565 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57566 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57567 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57568 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57569 * sysdeps/i386/fpu/e_log2.S: Likewise.
57570 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57571 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57572 * sysdeps/i386/fpu/e_powl.S: Likewise.
57573 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57574 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57575 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57576 * sysdeps/i386/fpu/e_logl.S: Likewise.
57577 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57578 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57579 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57580 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57581 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57582 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57583 * sysdeps/i386/fpu/e_log.S: Likewise.
57584 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57585 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57586 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57587 * sysdeps/i386/fpu/e_logf.S: Likewise.
57588 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57589 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57590 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57591 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57592 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57593 * sysdeps/i386/fpu/e_log10.S: Likewise.
57594 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57595 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57596 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57597 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57598 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57599 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57600 * sysdeps/i386/asm-syntax.h: Likewise.
57601 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57602 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57603 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57604 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57605 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57606 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57607 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57608 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57609 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57610 * sysdeps/powerpc/sysdep.h: Likewise.
57611 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57612 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57613
57614 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57615
57616 [BZ #411]
57617 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57618
57619 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57620
57621 * sysdeps/i386/sysdep.h: Include <features.h>.
57622 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57623 version.
57624
57625 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57626
57627 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57628 Define.
57629 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57630 LOAD_PIC_REG_STR.
57631
57632 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57633
57634 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57635 (SETUP_PIC_REG): Use GET_PC_THUNK.
57636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57637 macro.
57638
57639 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57640
57641 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57642 for non-PIC compilation.
57643 (SETUP_PIC_REG): Add .p2align directive.
57644 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57645 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57646 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57647 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57648 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57649 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57650 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57652 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57653 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57654 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57655 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57656 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57657 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57658 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57659 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57660 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57661 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57662 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57663 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57664 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57665 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57666 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57667 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57668 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57669 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57670 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57671 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57672 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57673 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57674 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57675 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57676 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57677 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57678 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57679 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57680 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57681 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57682 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57683 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57684 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57685
57686 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57687
57688 * math/tst-CMPLX.c: Include <stdio.h>.
57689
57690 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57691
57692 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57693 float.
57694 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57695 * sysdeps/sparc/bits/mathdef.h: Likewise.
57696
57697 2012-01-31 Marek Polacek <polacek@redhat.com>
57698
57699 * libio/libio.h: Don't define _PARAMS.
57700 * locale/programs/config.h: Don't define PARAMS.
57701 * stdlib/strtol_l.c: Likewise.
57702 (__strtol_l): Remove PARAMS from the prototype.
57703
57704 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57705
57706 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57707 names. Just use the correct names. Remove unnecessary wrapper
57708 functions.
57709 * malloc/arena.c: Likewise.
57710 * malloc/hooks.c: Likewise.
57711
57712 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57713 ARENA_TEST says not to. Simplify test for creation of a new arena.
57714 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57715
57716 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57717
57718 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57719 into tail calls.
57720 (update_get_addr): New function.
57721 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57722 GET_ADDR_MODULE parameter.
57723
57724 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57725
57726 * crypt/cert.c: Remove __STDC__ conditionals.
57727 * crypt/crypt-entry.c: Likewise.
57728 * crypt/crypt_util.c: Likewise.
57729 * libio/filedoalloc.c: Likewise.
57730 * libio/fileops.c: Likewise.
57731 * libio/genops.c: Likewise.
57732 * libio/iofclose.c: Likewise.
57733 * libio/iofdopen.c: Likewise.
57734 * libio/iofopen.c: Likewise.
57735 * libio/iofopen64.c: Likewise.
57736 * libio/iogetdelim.c: Likewise.
57737 * libio/iopopen.c: Likewise.
57738 * libio/obprintf.c: Likewise.
57739 * libio/oldfileops.c: Likewise.
57740 * libio/oldiofclose.c: Likewise.
57741 * libio/oldiofdopen.c: Likewise.
57742 * libio/oldiofopen.c: Likewise.
57743 * libio/oldiopopen.c: Likewise.
57744 * libio/wfiledoalloc.c: Likewise.
57745 * libio/wgenops.c: Likewise.
57746 * locale/programs/xmalloc.c: Likewise.
57747 * misc/syslog.c: Likewise.
57748 * stdio-common/xbug.c: Likewise.
57749 * string/memchr.c: Likewise.
57750 * string/memcmp.c: Likewise.
57751 * string/memrchr.c: Likewise.
57752 * string/rawmemchr.c: Likewise.
57753 * sysdeps/posix/getcwd.c: Likewise.
57754 * time/strftime_l.c: Likewise.
57755
57756 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57757
57758 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57759 * config.make.in (config-cflags-sse2avx): Define.
57760 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57761 Fix typo.
57762
57763 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57764
57765 * scripts/config.guess: Update from upstream config git repository.
57766 * scripts/config.sub: Likewise.
57767
57768 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57769
57770 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57771 (EM_NUM): Update.
57772 (R_TILEPRO_*, R_TILEGX_*): New macros.
57773
57774 * scripts/firstversions.awk: Fix bug in version range handling.
57775
57776 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57777
57778 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57779
57780 * include/sys/epoll.h: New file.
57781 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57782 libc_hidden_def.
57783
57784 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57785
57786 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57787 Avoid unnecessary __WORDSIZE == 64 test.
57788 (fmaxf): Use VEX format if possible.
57789 (fmax): Likewise.
57790 (fminf): Likewise.
57791 (fmin): Likewise.
57792
57793 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57794 * math/math_private.h: Remove libc_fegetround* and
57795 libc_fesetround*.
57796 * sysdeps/i386/configure.in: Check for -msse2avx.
57797 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57798 also if SSE2AVX is defined.
57799 Remove libc_fegetround* and libc_fesetround*.
57800 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57801 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57802 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57803 of HAS_YMM_USABLE.
57804 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57805 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57807 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57808 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57809
57810 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57811
57812 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57813
57814 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57815 size is not set.
57816 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57817
57818 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57819
57820 [BZ #13618]
57821 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57822 relocation.
57823 * Makeconfig (libm): Define.
57824 * elf/Makefile: Add rules to build and run tst-relsort1.
57825 * elf/tst-relsort1.c: New file.
57826 * elf/tst-relsort1mod1.c: New file.
57827 * elf/tst-relsort1mod2.c: New file.
57828
57829 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57830
57831 * math/s_ldexp.c: Remove __STDC__ conditionals.
57832 * math/s_ldexpf.c: Likewise.
57833 * math/s_ldexpl.c: Likewise.
57834 * math/s_nextafter.c: Likewise.
57835 * math/s_nexttowardf.c: Likewise.
57836 * math/s_significand.c: Likewise.
57837 * math/s_significandf.c: Likewise.
57838 * math/s_significandl.c: Likewise.
57839 * math/w_jnl.c: Likewise.
57840 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57841 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57842 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57843 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57844 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57846 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57847 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57848 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57849 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57850 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57851 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57852 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57853 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57854 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57855 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57856 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57857 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57859 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57860 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57861 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57862 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57863 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57864 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57865 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57866 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57867 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57868 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57869 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57870 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57871 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57872 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57873 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57874 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57875 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57876 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57877 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57878 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57879 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57880 * sysdeps/ieee754/k_standard.c: Likewise.
57881 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57882 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57883 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57884 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57885 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57886 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57887 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57888 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57889 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57890 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57891 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57892 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57893 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57894 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57895 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57897 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57898 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57900 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57901 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57902 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57903 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57904 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57905 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57906 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57907 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57908 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57910 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57911 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57912 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57913 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57914 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57915 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57916 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57917 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57918 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57919 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57920 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57921 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57922 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57923 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57924 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57925 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57926 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57927 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57928 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57929 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57930 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57931 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57932 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57933 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57934 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57935 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57936 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57937 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57938 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57939 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57940 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57941 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57942 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57943 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57944 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57945 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57946 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57947 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57948 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57949 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57950 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57951 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57952 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57953 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57954 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57955 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57956 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57957 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57958 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57959 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57960 * sysdeps/ieee754/s_matherr.c: Likewise.
57961 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57962 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57964 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57965
57966 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57967
57968 * crypt/md5.h: Remove __STDC__ conditionals.
57969 * libio/libioP.h: Likewise.
57970 * locale/programs/config.h: Likewise.
57971 * sysdeps/generic/sysdep.h: Likewise.
57972 * sysdeps/i386/asm-syntax.h: Likewise.
57973 * sysdeps/s390/asm-syntax.h: Likewise.
57974 * sysdeps/unix/sysdep.h: Likewise.
57975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57977
57978 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57979
57980 * libio/libio.h: Remove __STDC__ conditionals.
57981 * malloc/obstack.h: Likewise.
57982 * math/complex.h: Likewise.
57983 * math/math.h: Likewise.
57984 * sysdeps/generic/_G_config.h: Likewise.
57985 * sysdeps/gnu/_G_config.h: Likewise.
57986 * sysdeps/mach/hurd/_G_config.h: Likewise.
57987 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57988 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57989 * sysdeps/sparc/bits/mathdef.h: Likewise.
57990
57991 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57992
57993 [BZ #13583]
57994 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57995 Clean up HAS_* macros.
57996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57997 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57998 possible.
57999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58000 HAS_AVX.
58001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58006
58007 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58008
58009 * elf/tst-unique3.cc (gets): Remove declaration.
58010 * elf/tst-unique3lib.cc (gets): Likewise.
58011 * elf/tst-unique3lib2.cc (gets): Likewise.
58012 * elf/tst-unique4.cc (gets): Likewise.
58013
58014 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58015
58016 * include/stdio.h: Add C++ protection. Add gets declarations and
58017 definitions.
58018 * debug/tst-chk1.c: Don't declare gets here.
58019 * stdio-common/tst-gets.c: Likewise.
58020
58021 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58022
58023 * posix/glob: Remove directory.
58024
58025 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58026
58027 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58028
58029 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58030
58031 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58032 of the non-standard EPFNOSUPPORT.
58033
58034 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58035
58036 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58037 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58038 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58039
58040 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58041
58042 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58043
58044 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58045
58046 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58047 transient errors.
58048 * nscd/grpcache.c (cache_addgr): Likewise.
58049 * nscd/hstcache.c (cache_addhst): Likewise.
58050 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58051 * nscd/pwdcache.c (cache_addpw): Likewise.
58052 * nscd/servicescache.c (cache_addserv): Likewise.
58053
58054 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58055
58056 * malloc/malloc.c: Various cleanups.
58057 * malloc/hooks.c: Likewise.
58058
58059 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58060 * stdlib/bug-fmtmsg1.c: New file.
58061
58062 * stdlib/fmtmsg.c (init): Add missing unlock.
58063 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58064
58065 2012-01-12 Marek Polacek <polacek@redhat.com>
58066
58067 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58068 and _GNU_SOURCE.
58069
58070 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58071
58072 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58073 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58074 macro to ensure uniqueness of label name.
58075 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58076 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58077
58078 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58079
58080 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58081
58082 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58083 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58084 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58086
58087 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58088
58089 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58090
58091 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58092 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58093 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58094
58095 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58096
58097 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58098 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58099 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58101
58102 * math/bits/math-finite.h: Add ldexp support.
58103
58104 2012-01-10 Marek Polacek <polacek@redhat.com>
58105
58106 * locale/programs/localedef.h (show_archive_content): Add noreturn
58107 attribute.
58108
58109 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58110
58111 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58112
58113 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58114
58115 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58116
58117 * io/Makefile (headers): Add bits/poll2.h.
58118
58119 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58120
58121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58122 typo #include statement.
58123
58124 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58125
58126 * include/sys/cdefs.h: Define __attribute_alloc_size.
58127 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58128 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58129 * elf/pldd.c: Likewise.
58130 * iconv/iconv_charmap.c: Likewise.
58131 * iconv/iconvconfig.c: Likewise.
58132 * iconv/strtab.c: Likewise.
58133 * locale/programs/locale.c: Likewise.
58134 * locale/programs/localedef.h: Likewise.
58135 * locale/programs/simple-hash.c: Likewise.
58136 * nscd/nscd.h: Likewise.
58137 * nss/makedb.c: Likewise.
58138 * sysdeps/generic/ldconfig.h: Likewise.
58139 * locale/programs/localedef.c: Remove xmalloc prototype.
58140 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58141
58142 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58143
58144 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58145 appropriate.
58146
58147 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58148
58149 * math/Makefile (tests): Add tst-CMPLX.
58150 * math/tst-CMPLX.c: New file.
58151
58152 * math/complex.h (CMPLXL): Fix typo.
58153
58154 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58155 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58156 GLIBC_2.16.
58157 * debug/tst-chk1.c: Add poll and ppoll tests.
58158 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58159 * include/sys/poll.h: Add hidden proto for ppoll.
58160 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58161 * sysdeps/mach/hurd/ppoll.c: Likewise.
58162 * io/ppoll.c: Likewise.
58163 * debug/poll_chk.c: New file.
58164 * debug/ppoll_chk.c: New file.
58165 * include/bits/poll2.h: New file.
58166 * io/bits/poll2.h: New file.
58167
58168 [BZ #1350]
58169 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58170
58171 * configure.in: static is always set to yes. Remove.
58172 * config.make.in: Don't set build-static.
58173 * Makeconfig: Remove use of build-static.
58174 * dlfcn/Makefile: Likewise.
58175 * elf/Makefile: Likewise.
58176 * math/Makefile: Likewise.
58177 * misc/Makefile: Likewise.
58178 * nptl/Makefile: Likewise.
58179 * sysdeps/mach/hurd/Makefile: Likewise.
58180
58181 * configure.in: PWD_P is not used anymore.
58182 * config.make.in: Remove PWD_P entry.
58183
58184 * configure.in: Remove last remnants of RANLIB.
58185 No need to check for signed size_t anymore.
58186 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58187 and IA-64.
58188 Remove __builtin_expect test because we require at least gcc 3.4.
58189 * aclocal.m4: Likewise.
58190
58191 * wcsmbs/mbrtoc16.c: Implement using towc function.
58192 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58193 * wcsmbs/wcsmbsload.c: Likewise.
58194 * iconv/gconv_simple.c: Likewise.
58195 * iconv/gconv_int.h: Likewise.
58196 * iconv/gconv_builtin.h: Likewise.
58197 * iconv/iconv_prog.c: Remove CHAR16 handling.
58198
58199 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58200
58201 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58202
58203 * configure.in: Remove --with-elf and --enable-bounded options.
58204 Dont set base_machine for ia64. More non-ELF conditions removed.
58205 Remove testing and setting of leading underscore information.
58206 * config.make.in (build-bounded): Set to no.
58207 * config.h.in: Remove NO_UNDERSCORES entry.
58208 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58209 them.
58210 * csu/start.c: Remove !NO_UNDERSCORE code.
58211 * locale/localeinfo.h: Likewise.
58212 * sysdeps/generic/machine-gmon.h: Likewise.
58213 * sysdeps/generic/sysdep.h: Likewise.
58214 * sysdeps/i386/sysdep.h: Likewise.
58215 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58216 * sysdeps/mach/sysdep.h: Likewise.
58217 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58218 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58219 * sysdeps/sh/sysdep.h: Likewise.
58220 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58221 * sysdeps/unix/i386/sysdep.S: Likewise.
58222 * sysdeps/unix/sparc/start.c: Likewise.
58223 * sysdeps/unix/sparc/sysdep.S: Likewise.
58224 * sysdeps/unix/sparc/sysdep.h: Likewise.
58225 * sysdeps/unix/start.c: Likewise.
58226 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58227 * sysdeps/x86_64/sysdep.h: Likewise.
58228
58229 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58230
58231 [BZ #13553]
58232 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58233 for non-gcc.
58234 * argp/argp-fmtstream.h: Use const instead __const.
58235 * argp/argp.h: Likewise.
58236 * assert/assert.h: Likewise.
58237 * bits/fenv.h: Likewise.
58238 * bits/sched.h: Likewise.
58239 * bits/sigset.h: Likewise.
58240 * bits/sigthread.h: Likewise.
58241 * catgets/nl_types.h: Likewise.
58242 * conform/data/pthread.h-data: Likewise.
58243 * crypt/crypt-private.h: Likewise.
58244 * crypt/crypt.h: Likewise.
58245 * crypt/crypt_util.c: Likewise.
58246 * ctype/ctype.h: Likewise.
58247 * debug/execinfo.h: Likewise.
58248 * debug/mbsnrtowcs_chk.c: Likewise.
58249 * debug/mbsrtowcs_chk.c: Likewise.
58250 * debug/wcsnrtombs_chk.c: Likewise.
58251 * debug/wcsrtombs_chk.c: Likewise.
58252 * debug/wcstombs_chk.c: Likewise.
58253 * dirent/dirent.h: Likewise.
58254 * dlfcn/dlfcn.h: Likewise.
58255 * elf/neededtest4.c: Likewise.
58256 * grp/grp.h: Likewise.
58257 * gshadow/gshadow.h: Likewise.
58258 * iconv/gconv.h: Likewise.
58259 * iconv/gconv_int.h: Likewise.
58260 * iconv/gconv_simple.c: Likewise.
58261 * iconv/iconv.h: Likewise.
58262 * iconv/loop.c: Likewise.
58263 * iconv/skeleton.c: Likewise.
58264 * include/aio.h: Likewise.
58265 * include/aliases.h: Likewise.
58266 * include/argz.h: Likewise.
58267 * include/arpa/inet.h: Likewise.
58268 * include/assert.h: Likewise.
58269 * include/dirent.h: Likewise.
58270 * include/dlfcn.h: Likewise.
58271 * include/execinfo.h: Likewise.
58272 * include/fcntl.h: Likewise.
58273 * include/fenv.h: Likewise.
58274 * include/glob.h: Likewise.
58275 * include/grp.h: Likewise.
58276 * include/libintl.h: Likewise.
58277 * include/mntent.h: Likewise.
58278 * include/netdb.h: Likewise.
58279 * include/pwd.h: Likewise.
58280 * include/rpc/netdb.h: Likewise.
58281 * include/sched.h: Likewise.
58282 * include/search.h: Likewise.
58283 * include/shadow.h: Likewise.
58284 * include/signal.h: Likewise.
58285 * include/stdio.h: Likewise.
58286 * include/stdlib.h: Likewise.
58287 * include/string.h: Likewise.
58288 * include/sys/socket.h: Likewise.
58289 * include/sys/stat.h: Likewise.
58290 * include/sys/statfs.h: Likewise.
58291 * include/sys/statvfs.h: Likewise.
58292 * include/sys/syslog.h: Likewise.
58293 * include/sys/time.h: Likewise.
58294 * include/sys/uio.h: Likewise.
58295 * include/time.h: Likewise.
58296 * include/unistd.h: Likewise.
58297 * include/utmp.h: Likewise.
58298 * include/wchar.h: Likewise.
58299 * include/wctype.h: Likewise.
58300 * inet/aliases.h: Likewise.
58301 * inet/arpa/inet.h: Likewise.
58302 * inet/netinet/ether.h: Likewise.
58303 * inet/netinet/in.h: Likewise.
58304 * intl/libintl.h: Likewise.
58305 * io/bits/fcntl2.h: Likewise.
58306 * io/fcntl.h: Likewise.
58307 * io/ftw.h: Likewise.
58308 * io/sys/poll.h: Likewise.
58309 * io/sys/stat.h: Likewise.
58310 * io/sys/statfs.h: Likewise.
58311 * io/sys/statvfs.h: Likewise.
58312 * io/utime.h: Likewise.
58313 * libio/bits/stdio.h: Likewise.
58314 * libio/bits/stdio2.h: Likewise.
58315 * libio/libio.h: Likewise.
58316 * libio/libioP.h: Likewise.
58317 * libio/stdio.h: Likewise.
58318 * locale/lc-ctype.c: Likewise.
58319 * locale/locale.h: Likewise.
58320 * login/utmp.h: Likewise.
58321 * malloc/arena.c: Likewise.
58322 * malloc/malloc.c: Likewise.
58323 * malloc/malloc.h: Likewise.
58324 * malloc/mcheck.c: Likewise.
58325 * malloc/mtrace.c: Likewise.
58326 * math/bits/mathcalls.h: Likewise.
58327 * math/fenv.h: Likewise.
58328 * math/math_private.h: Likewise.
58329 * misc/bits/error.h: Likewise.
58330 * misc/bits/syslog.h: Likewise.
58331 * misc/err.h: Likewise.
58332 * misc/error.h: Likewise.
58333 * misc/fstab.h: Likewise.
58334 * misc/mntent.h: Likewise.
58335 * misc/regexp.h: Likewise.
58336 * misc/search.h: Likewise.
58337 * misc/sgtty.h: Likewise.
58338 * misc/sys/mman.h: Likewise.
58339 * misc/sys/syslog.h: Likewise.
58340 * misc/sys/uio.h: Likewise.
58341 * misc/sys/xattr.h: Likewise.
58342 * misc/ttyent.h: Likewise.
58343 * nis/rpcsvc/ypclnt.h: Likewise.
58344 * nss/nss.h: Likewise.
58345 * posix/bits/unistd.h: Likewise.
58346 * posix/fnmatch.h: Likewise.
58347 * posix/glob.h: Likewise.
58348 * posix/sched.h: Likewise.
58349 * posix/spawn.h: Likewise.
58350 * posix/sys/wait.h: Likewise.
58351 * posix/unistd.h: Likewise.
58352 * posix/wordexp.h: Likewise.
58353 * pwd/pwd.h: Likewise.
58354 * resolv/netdb.h: Likewise.
58355 * resource/sys/resource.h: Likewise.
58356 * rt/aio.h: Likewise.
58357 * rt/bits/mqueue2.h: Likewise.
58358 * rt/mqueue.h: Likewise.
58359 * shadow/shadow.h: Likewise.
58360 * signal/signal.h: Likewise.
58361 * socket/send.c: Likewise.
58362 * socket/sendto.c: Likewise.
58363 * socket/sys/socket.h: Likewise.
58364 * stdio-common/printf.h: Likewise.
58365 * stdlib/bits/stdlib.h: Likewise.
58366 * stdlib/fmtmsg.h: Likewise.
58367 * stdlib/monetary.h: Likewise.
58368 * stdlib/stdlib.h: Likewise.
58369 * stdlib/ucontext.h: Likewise.
58370 * streams/stropts.h: Likewise.
58371 * string/argz.h: Likewise.
58372 * string/bits/string2.h: Likewise.
58373 * string/string.h: Likewise.
58374 * string/strings.h: Likewise.
58375 * sunrpc/rpc/auth.h: Likewise.
58376 * sunrpc/rpc/auth_des.h: Likewise.
58377 * sunrpc/rpc/clnt.h: Likewise.
58378 * sunrpc/rpc/netdb.h: Likewise.
58379 * sunrpc/rpc/pmap_clnt.h: Likewise.
58380 * sunrpc/rpc/xdr.h: Likewise.
58381 * sysdeps/generic/inttypes.h: Likewise.
58382 * sysdeps/generic/net/if.h: Likewise.
58383 * sysdeps/generic/sys/swap.h: Likewise.
58384 * sysdeps/gnu/net/if.h: Likewise.
58385 * sysdeps/gnu/utmpx.h: Likewise.
58386 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58387 * sysdeps/i386/i486/bits/string.h: Likewise.
58388 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58389 * sysdeps/s390/bits/string.h: Likewise.
58390 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58391 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58392 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58393 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58394 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58395 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58396 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58397 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58398 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58399 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58400 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58401 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58402 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58403 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58404 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58405 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58406 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58408 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58409 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58410 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58411 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58412 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58413 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58414 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58415 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58416 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58418 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58419 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58420 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58421 * sysvipc/sys/ipc.h: Likewise.
58422 * sysvipc/sys/msg.h: Likewise.
58423 * sysvipc/sys/sem.h: Likewise.
58424 * sysvipc/sys/shm.h: Likewise.
58425 * termios/termios.h: Likewise.
58426 * time/sys/time.h: Likewise.
58427 * time/time.h: Likewise.
58428 * wcsmbs/bits/wchar2.h: Likewise.
58429 * wcsmbs/uchar.h: Likewise.
58430 * wcsmbs/wchar.h: Likewise.
58431 * wctype/wctype.h: Likewise.
58432
58433 [BZ #13551]
58434 * Makeconfig: Remove all but ELF support including AIX support.
58435 * Makerules: Likewise.
58436 * config.h.in: Likewise.
58437 * config.make.in: Likewise.
58438 * configure: Likewise.
58439 * configure.in: Likewise.
58440 * csu/Makefile: Likewise.
58441 * csu/version.c: Likewise.
58442 * debug/Makefile: Likewise.
58443 * dlfcn/Makefile: Likewise.
58444 * elf/Makefile: Likewise.
58445 * extra-lib.mk: Likewise.
58446 * iconv/Makefile: Likewise.
58447 * include/libc-symbols.h: Likewise.
58448 * include/shlib-compat.h: Likewise.
58449 * resolv/Makefile: Likewise.
58450 * resolv/res_libc.c: Likewise.
58451 * rt/Makefile: Likewise.
58452 * sysdeps/i386/asm-syntax.h: Likewise.
58453 * sysdeps/i386/sysdep.h: Likewise.
58454 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58455 * sysdeps/mach/sysdep.h: Likewise.
58456 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58457 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58458 * sysdeps/s390/asm-syntax.h: Likewise.
58459 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58460 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58461 * sysdeps/sh/sysdep.h: Likewise.
58462 * sysdeps/unix/sparc/sysdep.h: Likewise.
58463 * sysdeps/wordsize-32/divdi3.c: Likewise.
58464 * sysdeps/x86_64/sysdep.h: Likewise.
58465
58466 * argp/Versions: Remove _argp_unlock_xxx.
58467
58468 [BZ #13559]
58469 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58470 * abilist/libBrokenLocale.abilist: Likewise.
58471 * abilist/libanl.abilist: Likewise.
58472 * abilist/libc.abilist: Likewise.
58473 * abilist/libcrypt.abilist: Likewise.
58474 * abilist/libdl.abilist: Likewise.
58475 * abilist/libm.abilist: Likewise.
58476 * abilist/libnsl.abilist: Likewise.
58477 * abilist/libpthread.abilist: Likewise.
58478 * abilist/libresolv.abilist: Likewise.
58479 * abilist/librt.abilist: Likewise.
58480 * abilist/libthread_db.abilist: Likewise.
58481 * abilist/libutil.abilist: Likewise.
58482 * abilist/libnss_db.abilist: New file.
58483
58484 * scripts/abilist.awk: Add support for indirect functions.
58485
58486 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58487
58488 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58489
58490 * shlib-versions: Remove entries for ports architectures.
58491
58492 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58493 files in ports.
58494 * elf/stackguard-macros.h: Remove support for IA-64.
58495 * elf/tst-auditmod1.c: Likewise.
58496 * sysdeps/generic/ldsodefs.h: Likewise.
58497
58498 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58499 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58500 configure files.
58501
58502 [BZ #13552]
58503 * configure.in: Remove --enable-omitfp support.
58504 * FAQ.in: Adjust.
58505 * config.make.in: Likewise.
58506 * Makeconfig: Likewise.
58507 * manual/install.texi: Likewise.
58508
58509 In case anyone cares, the IA-64 architecture could move to ports.
58510 * sysdeps/ia64/*: Removed.
58511 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58512 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58513
58514 [BZ #13555]
58515 * configure.in: Remove entries for unsupported architectures.
58516
58517 [BZ #13533]
58518 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58519 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58520 routines.
58521 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58522 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58523 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58524 fall back to using wcrtomb.
58525 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58526 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58527 renaming.
58528 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58529 * wcsmbs/tst-c16c32-1.c: New file.
58530
58531 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58532 local variable.
58533
58534 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58535
58536 * elf/tst-unique3.cc: Add explicit declaration of gets.
58537 * elf/tst-unique3lib.cc: Likewise.
58538 * elf/tst-unique3lib2.cc: Likewise.
58539 * elf/tst-unique4.cc: Likewise.
58540
58541 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58542
58543 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58544
58545 [BZ #13566]
58546 * assert/assert.h (static_assert): Don't define for C++.
58547 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58548 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58549
58550 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58551
58552 * iconv/loop.c (single loop): Fix assertion in storing of
58553 remaining bytes.
58554
58555 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58556
58557 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58558
58559 * posix/getconf.c: Update copyright year.
58560 * nss/getent.c: Likewise.
58561 * nss/makedb.c: Likewise.
58562 * iconv/iconvconfig.c: Likewise.
58563 * iconv/iconv_prog.c: Likewise.
58564 * elf/ldconfig.c: Likewise.
58565 * elf/pldd.c: Likewise.
58566 * elf/sotruss.ksh: Likewise.
58567 * catgets/gencat.c: Likewise.
58568 * csu/version.c: Likewise.
58569 * elf/ldd.bash.in: Likewise.
58570 * elf/sprof.c (print_version): Likewise.
58571 * locale/programs/locale.c: Likewise.
58572 * locale/programs/localedef.c: Likewise.
58573 * login/programs/pt_chown.c: Likewise.
58574 * nscd/nscd.c (print_version): Likewise.
58575 * debug/xtrace.sh: Likewise.
58576 * malloc/memusage.sh: Likewise.
58577 * malloc/mtrace.pl: Likewise.
58578 * debug/catchsegv.sh: Likewise.
58579
58580 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58581
58582 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58583 pure attribute.
58584
58585 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58586
58587 [BZ #13533]
58588 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58589 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58590 transformations.
58591 * iconv/gconv_int.h: Likewise.
58592 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58593 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58594 from libc for GLIBC_2.16.
58595 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58596 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58597 * wcsmbs/uchar.h: Really define mbstate_t.
58598 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58599 * wcsmbs/c16rtomb.c: New file.
58600 * wcsmbs/mbrtoc16.c: New file.
58601 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58602 for C/POSIX locale.
58603 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58604 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58605
58606 * wcsmbs/wchar.h: Add missing __restrict.
58607
58608 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58609
58610 [BZ #13532]
58611 * time/Makefile (routines): Add timespec_get.
58612 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58613 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58614 timespec for ISO C11.
58615 * time/timespec_get.c: New file.
58616 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58617 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58618
58619 [BZ #13531]
58620 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58621 * stdlib/stdlib.h: Declare aligned_alloc.
58622 * Versions.def: Add GLIBC_2.16 for libc.
58623 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58624
58625 [BZ 13527]
58626 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58627 ISO C11.
58628
58629 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58630 code.
58631
58632 [BZ #13528]
58633 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58634
58635 [BZ #13529]
58636 * assert/assert.h (static_assert): Define.
58637
58638 * version.h: Update for 2.16 development version.
58639
58640 [BZ #13526]
58641 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58642 _ISOC11_SOURCE.
58643
58644 * version.h (RELEASE): Bump for 2.15 release.
58645 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58646
58647 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58648 Patch by Marek Polacek <mpolacek@redhat.com>.
58649
58650 * bits/byteswap.h: Protect long long constants with __extension__.
58651 * sysdeps/i386/bits/byteswap.h: Likewise.
58652 * sysdeps/ia64/bits/byteswap.h: Likewise.
58653 * sysdeps/s390/bits/byteswap.h: Likewise.
58654 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58655
58656 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58657
58658 [BZ #13540]
58659 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58660 destination buffer.
58661 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58662
58663 2011-12-23 Marek Polacek <polacek@redhat.com>
58664
58665 * elf/dl-addr.c (determine_info): Add inline keyword.
58666 * elf/tst-auditmod4b.c (check_avx): Likewise.
58667 * elf/tst-auditmod6b.c (check_avx): Likewise.
58668 * elf/tst-auditmod6c.c (check_avx): Likewise.
58669 * elf/tst-auditmod7b.c (check_avx): Likewise.
58670
58671 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58672
58673 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58674 !__SSE_MATH__.
58675
58676 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58677
58678 [BZ #13540]
58679 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58680 processing for last bytes.
58681
58682 2011-08-06 Bruno Haible <bruno@clisp.org>
58683
58684 [BZ #13061]
58685 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58686 U+0385, not to U+1FEE.
58687
58688 [BZ #13062]
58689 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58690 entry for U+00A5 U+0301.
58691
58692 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58693
58694 [BZ #13166]
58695 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58696 buffer for the output is too small.
58697
58698 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58699 optimization.
58700
58701 [BZ #13185]
58702 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58703 SSE flags if possible.
58704
58705 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58706
58707 [BZ #13540]
58708 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58709 processing for last bytes.
58710
58711 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58712
58713 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58714 (syscall-list-default-options, syscall-list-default-condition)
58715 (syscall-list-includes): Define.
58716 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58717 list of ABIs and options and #if conditions for each ABI. Do not
58718 handle common syscalls between ABIs specially.
58719 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58720 Remove.
58721 (syscall-list-variants, syscall-list-32bit-options)
58722 (syscall-list-32bit-condition, syscall-list-64bit-options)
58723 (syscall-list-64bit-condition): Define.
58724 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58725 (syscall-list-variants, syscall-list-32bit-options)
58726 (syscall-list-32bit-condition, syscall-list-64bit-options)
58727 (syscall-list-64bit-condition): Define.
58728 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58729 Remove.
58730 (syscall-list-variants, syscall-list-32bit-options)
58731 (syscall-list-32bit-condition, syscall-list-64bit-options)
58732 (syscall-list-64bit-condition): Define.
58733 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58734 Remove.
58735 (syscall-list-variants, syscall-list-32bit-options)
58736 (syscall-list-32bit-condition, syscall-list-64bit-options)
58737 (syscall-list-64bit-condition): Define.
58738
58739 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58740
58741 * locale/iso-639.def: Add brx entry.
58742
58743 [BZ #13328]
58744 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58745 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58746
58747 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58748 __feraiseexcept_renamed.
58749
58750 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58751
58752 [BZ #13538]
58753 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58754 EPOLLET with unsigned values.
58755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58756 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58757
58758 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58759 to large cancellation.
58760 * math/s_cacoshf.c: Likewise.
58761 * math/s_cacoshl.c: Likewise.
58762
58763 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58764
58765 [BZ #13305]
58766 [BZ #12786]
58767 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58768 * math/s_cacoshf.c: Likewise.
58769 * math/s_cacoshl.c: Likewise.
58770
58771 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58772
58773 [BZ #13439]
58774 * iconv/gconv.h: Define __GCONV_SWAP.
58775 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58776 * iconvdata/utf-16.c: Likewise.
58777 * iconvdata/utf-32.c: Likewise.
58778
58779 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58780
58781 [BZ #13524]
58782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58783 numerator after shifting it by one limb.
58784
58785 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58786
58787 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58788 under [__USE_EXTERN_INLINES].
58789
58790 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58791
58792 [BZ #13446]
58793 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58794
58795 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58796
58797 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58798 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58799 optimized code.
58800 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58801 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58802 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58803 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58804 for strncasecmp/strncasecmp_l compilation.
58805 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58806 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58807
58808 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58809
58810 [BZ #13484]
58811 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58812 of __asm__.
58813
58814 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58815
58816 [BZ #13506]
58817 * time/tzfile.c (__tzfile_read): Check values from file header.
58818
58819 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58820
58821 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58822 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58823 * powerpc/powerpc32/dl-start.S: Likewise.
58824 * powerpc/powerpc32/elf/start.S: Likewise.
58825 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58826 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58827 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58828 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58829 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58830 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58831 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58832 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58833 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58834 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58835 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58836 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58837 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58838 * powerpc/powerpc32/memset.S: Likewise.
58839 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58840 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58841 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58842 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58843 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58844 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58845 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58846 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58847 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58848 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58849 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58850 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58851 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58852
58853 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58854
58855 * math/libm-test.inc: Added more nearbyint tests.
58856 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58857 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58858 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58859 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58860
58861 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58862
58863 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58864 FD_CLOEXEC.
58865
58866 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58867
58868 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58869 Add wcscpy-ssse3 wcscpy-c.
58870 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58871 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58872 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58873 * sysdeps/x86_64/wcschr.S: New file.
58874 * sysdeps/x86_64/wcsrchr.S: New file.
58875 * string/test-strcmp.c: Remove checking of wcscmp function for
58876 wrong alignments.
58877 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58878 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58879 wcsrchr-sse2 wcsrchr-c.
58880 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58881 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58882 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58883 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58884 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58885 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58886 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58887 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58888 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58889 * wcsmbc/wcschr.c (WCSCHR): New macro.
58890
58891 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58892
58893 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58894 * wcsmbs/test-wcsrchr.c: New file.
58895 * string/test-strrchr.c: Add wcsrchr support.
58896 (WIDE): New macro.
58897 * wcsmbs/test-wcscpy.c: New file.
58898 * string/test-strcpy.c: Add wcscpy support.
58899 (WIDE): New macro.
58900
58901 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58902
58903 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58904 the inner loop.
58905
58906 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58907
58908 [BZ #13472]
58909 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58910
58911 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58912
58913 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58914 Minor optimizations.
58915
58916 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58917 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58918 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58919
58920 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58921
58922 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58923 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58924 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58925 for gcc to avoid warnings.
58926 * inet/Makefile (tests): Add tst-checks.
58927 * inet/tst-checks.c: New file.
58928
58929 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58930 warning.
58931
58932 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58933 __wmemcmp_sse2.
58934
58935 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58936 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58937
58938 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58939
58940 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58941
58942 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58943 problem.
58944
58945 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58946
58947 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58948
58949 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58950 conditional on GCC version.
58951 (__arch_compare_and_exchange_val_8_acq)
58952 (__arch_compare_and_exchange_val_16_acq)
58953 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58954 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58955 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58956
58957 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58958
58959 * sysdeps/sh/backtrace.c: New file.
58960
58961 2011-12-02 Andreas Schwab <schwab@redhat.com>
58962
58963 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58964 parenthesis.
58965
58966 2011-12-01 Andreas Schwab <schwab@redhat.com>
58967
58968 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58969 falling back to utime.
58970
58971 2011-11-30 Andreas Schwab <schwab@redhat.com>
58972
58973 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58974 expectations for float.
58975
58976 2011-11-29 Andreas Schwab <schwab@redhat.com>
58977
58978 * locale/weight.h (findidx): Add parameter len.
58979 * locale/weightwc.h (findidx): Likewise.
58980 * posix/fnmatch_loop.c (FCT): Adjust caller.
58981 * posix/regcomp.c (build_equiv_class): Likewise.
58982 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58983 * posix/regexec.c (check_node_accept_bytes): Likewise.
58984 * string/strcoll_l.c (STRCOLL): Likewise.
58985 * string/strxfrm_l.c (STRXFRM): Likewise.
58986
58987 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58988
58989 * Makefile.in: Remove CVSOPT handling.
58990 * configure.in: Remove use of AC_REVISION.
58991 * iconvdata/Makefile (distribute): No need to filter out CVS.
58992 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58993 handling.
58994
58995 2011-11-16 Andreas Schwab <schwab@redhat.com>
58996
58997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58998 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58999 [USE_AS_STRNCASECMP_L]: Likewise.
59000 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59001 NO_TLS_DIRECT_SEG_REFS.
59002 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59003 Fix argument offsets for non-PIC.
59004 [USE_AS_STRNCASECMP_L]: Likewise.
59005 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59006 NO_TLS_DIRECT_SEG_REFS.
59007
59008 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59009
59010 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59011 O_CLOEXEC.
59012 * locale/loadlocale.c (_nl_load_locale): Likewise.
59013
59014 2011-11-15 Andreas Schwab <schwab@redhat.com>
59015
59016 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59017 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59018 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59019 (SYSCALL_GETTIME): Set errno on error.
59020
59021 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59022 count references to noai6ai_cached.
59023
59024 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59025
59026 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59027
59028 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59029 FD_CLOEXEC for /proc/self/maps.
59030
59031 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59032 FD_CLOEXEC for /proc/meminfo.
59033
59034 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59035 gai.conf.
59036
59037 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59038 FD_CLOEXEC for given file.
59039
59040 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59041
59042 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59043 FD_CLOEXEC for /etc/hosts.
59044 (_gethtent): Likewise.
59045
59046 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59047
59048 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59049 cancellation and set FD_CLOEXEC for /etc/netgroup.
59050
59051 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59052 reading /etc/publickey.
59053
59054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59055 allow cancellation when reading /etc/group.
59056
59057 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59058 cancellation.
59059 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59060
59061 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59062 when using data file.
59063
59064 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59065
59066 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59067 (write_nis_obj): Use "c" and "e" in fopen.
59068
59069 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59070
59071 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59072
59073 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59074
59075 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59076
59077 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59078 locale.alias.
59079
59080 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59081
59082 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59083
59084 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59085
59086 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59087 file parsing and set FD_CLOEXEC.
59088
59089 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59090
59091 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59092
59093 2011-11-14 Andreas Schwab <schwab@redhat.com>
59094
59095 * malloc/arena.c (arena_get2): Don't call reused_arena when
59096 _int_new_arena failed.
59097
59098 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59099
59100 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59101 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59103 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59106 to compile strcasecmp and strncasecmp.
59107 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59108 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59109
59110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59111
59112 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59113
59114 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59115 locale-defines.sym to gen-as-const-headers.
59116 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59117 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59119 to compile strcasecmp and strncasecmp.
59120 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59121 strcasecmp_l and strncasecmp_l.
59122 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59123 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59124 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59125 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59126 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59127 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59128 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59129 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59130 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59131 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59132 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59133
59134 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59135
59136 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59137 result of SYSDEP_GETTIME_CPU to retval.
59138 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59139 parameter list to macro. Remove trailing semicolon. Adjust users.
59140
59141 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59142 variable.
59143
59144 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59145 mantissa words.
59146 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59147
59148 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59149 from unused variable.
59150
59151 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59152 DWARF definitions.
59153 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59154 for assembling.
59155
59156 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59157 over namespaces.
59158
59159 * sunrpc/rpc_prot.c (rejected): Fix case value.
59160
59161 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59162 unsigned long long int to avoid warnings in shift.
59163
59164 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59165 of use of trans.
59166 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59167 variable tmp.
59168
59169 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59170 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59171 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59172
59173 * nis/nis_table.c (nis_list): Use variable of correct type for
59174 result of __follow_path call.
59175
59176 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59177
59178 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59179 of math functions ceil, trunc, floor, round, and sqrt, when
59180 avaliable on the platform.
59181 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59182 name clash.
59183 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59184 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59185 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59186
59187 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59188
59189 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59190 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59191
59192 2011-11-11 Roland McGrath <roland@hack.frob.com>
59193
59194 * include/unistd.h: Fix __readlink return type.
59195 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59196
59197 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59198
59199 * stdlib/ucontext.h: Undo last change for makecontext.
59200
59201 2011-11-11 Andreas Schwab <schwab@redhat.com>
59202
59203 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59204
59205 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59206 * setjmp/setjmp.h: Mark functions as non-leaf.
59207 * setjmp/bits/setjmp2.h: Likewise.
59208 * stdlib/ucontext.h: Likewise.
59209
59210 2011-11-10 Andreas Schwab <schwab@redhat.com>
59211
59212 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59213 (reused_arena): Don't check arena limit.
59214 (arena_get2): Atomically check arena limit.
59215
59216 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59217
59218 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59219 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59220
59221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59222 instructions.
59223
59224 2011-11-07 Andreas Schwab <schwab@redhat.com>
59225
59226 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59227 handler when locking.
59228
59229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59230 Fix size of allocated buffer.
59231
59232 2011-11-04 Andreas Schwab <schwab@redhat.com>
59233
59234 [BZ #10103]
59235 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59236 declarations for long double functions.
59237 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59238
59239 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59240
59241 2011-11-03 Andreas Schwab <schwab@redhat.com>
59242
59243 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59244 installed.
59245
59246 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59247 is disabled.
59248
59249 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59250
59251 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59252
59253 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59254
59255 * include/alloca.h (stackinfo_alloca_round): Define.
59256 (extend_alloca): Use it.
59257 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59258 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59259 here.
59260
59261 * scripts/check-local-headers.sh: Ignore libaudit.h.
59262
59263 * nscd/Makefile (extra-objs): Make recursively expanded.
59264
59265 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59266
59267 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59268 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59269
59270 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59271 * posix/tst-rfc3484-2.c: Likewise.
59272 * posix/tst-rfc3484-3.c: Likewise.
59273
59274 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59275 process_vm_writev.
59276 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59277 process_vm_writev.
59278 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59279 process_vm_writev from libc using GLIBC_2.15 version.
59280
59281 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59282
59283 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59284
59285 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59286 stack usage.
59287
59288 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59289
59290 [BZ #13367]
59291 * nss/getent.c (initgroups_keys): Show error message in case no group
59292 names are given.
59293
59294 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59295 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59296 __bump_nl_timestamp.
59297 * nscd/connections (nscd_init): When host database is served open
59298 netlink socket and request notification about configuration changes.
59299 (main_loop_poll): Track netlink file descriptor and bump timestamp
59300 in case data becomes available.
59301 (main_loop_epoll): Likewise.
59302 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59303 (database_pers_head): Add extra_data fileds.
59304 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59305 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59306 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59307 Adjust caller.
59308 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59309 in6ai data, call __free_in6ai.
59310 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59311 Add -DHAVE_NETLINK.
59312 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59313 interface information. Reuse previous data if netlink timestamp
59314 is not changed.
59315 (__bump_nl_timestamp): New function.
59316 (__free_in6ai): New function.
59317
59318 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59319
59320 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59321 close_not_cancel_no_status here.
59322 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59323
59324 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59325
59326 [BZ #13276]
59327 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59328 return value.
59329
59330 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59331 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59332 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59333
59334 2011-07-03 Andreas Jaeger <aj@suse.de>
59335
59336 [BZ #10709]
59337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59338 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59339 * math/libm-test.inc (sin_test): Add test case.
59340
59341 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59342
59343 [BZ #13337]
59344 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59345 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59346
59347 * elf/chroot_canon.c (chroot_canon): Cleanups.
59348
59349 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59350
59351 [BZ #13335]
59352 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59353 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59354
59355 * string/test-strchr.c: Make usable for strchrnul testing.
59356 * string/test-strchrnul.c: New file.
59357 * string/Makefile (strop-tests): Add strchrnul.
59358
59359 * po/it.po: Update from translation team.
59360 * po/es.po: Likewise.
59361
59362 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59363
59364 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59365 the three constants needed as parameters. Drop the others.
59366 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59367 __m128i_strloadu_tolower.
59368 Create and initialize variable zero and use it in all the places
59369 where _mm_setzero_si128 was used.
59370
59371 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59372 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59373 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59374 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59375 anymore.
59376 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59377 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59378 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59379 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59380 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59381 __mpranred, __mptan.
59382 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59383 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59384 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59385 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59386 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59387 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59388 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59389 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59390 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59391
59392 2011-10-28 Andreas Schwab <schwab@redhat.com>
59393
59394 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59395 redefine if SHARED.
59396 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59397
59398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59399 wide char related routines to wcsmbs subdir.
59400
59401 2011-10-27 Andreas Schwab <schwab@redhat.com>
59402
59403 [BZ #13344]
59404 * misc/sys/cdefs.h (__THROWNL): Define.
59405 * posix/unistd.h: Use __THREADNL instead of __THREAD
59406 for memory synchronization functions.
59407
59408 2011-10-26 Roland McGrath <roland@hack.frob.com>
59409
59410 [BZ #13349]
59411 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59412 doesn't exist.
59413 * manual/stdio.texi (Obstack Streams): Node removed.
59414
59415 2011-10-26 Andreas Schwab <schwab@redhat.com>
59416
59417 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59418 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59419 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59420
59421 * math/math_private.h (math_force_eval): Allow non-addressable
59422 arguments.
59423 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59424
59425 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59426
59427 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59428 file is not needed.
59429
59430 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59432 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59433 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59435 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59437 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59438 Add AVX variants.
59439 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59440 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59441 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59442 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59443 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59444 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59445 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59446 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59447 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59448 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59449 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59450 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59451 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59452 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59453 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59454 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59455 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59456 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59457 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59458
59459 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59460 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59461
59462 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59463 place. Use VEX encoding when compiling for AVX.
59464
59465 2011-10-25 Andreas Schwab <schwab@redhat.com>
59466
59467 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59468 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59469
59470 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59471
59472 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59473
59474 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59475 useless if() expression.
59476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59477 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59478 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59480 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59481 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59482 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59483 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59484 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59485 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59486 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59487 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59488 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59489 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59490 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59491 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59492 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59493 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59494 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59495
59496 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59497
59498 2011-10-25 Andreas Schwab <schwab@redhat.com>
59499
59500 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59501 condition.
59502 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59503
59504 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59505
59506 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59507 .text section. Avoid duplicate constants.
59508 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59510 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59516 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59517 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59518 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59519 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59520 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59521 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59522 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59523 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59524 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59525 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59526 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59528 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59529 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59530 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59531 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59532 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59533 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59534 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59535 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59536 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59537 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59538 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59539 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59540 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59541 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59542 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59543 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59544 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59546 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59547 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59548 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59549 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59550 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59551 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59552 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59553
59554 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59555
59556 * sysdeps/x86_64/dla.h: Move to ...
59557 * sysdeps/x86_64/fpu/dla.h: ...here.
59558 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59559 situations. Use __builtin_fma only for gcc 4.6 and up.
59560
59561 * config.make.in: Add have-mfma4 entry.
59562 * configure.in: Substitute libc_cv_cc_fma4.
59563 * math/Makefile (dbl-only-routines): Add sincostab.
59564 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59565 Use __sincostab not sincos.
59566 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59567 name is a macro.
59568 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59572 using __copysign.
59573 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59574 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59575 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59576 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59577 and __inv.
59578 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59579 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59580 __copysign.
59581 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59582 define aliases when function name is a macro.
59583 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59584 sysdeps/ieee754/dbl-64/sincos.tbl.
59585 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59586 fma4-enabled routines.
59587 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59588 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59589 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59590 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59591 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59592 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59594 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59596 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59597 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59598 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59599 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59600 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59601 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59602 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59603 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59604 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59605 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59606 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59607 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59608 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59609 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59610 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59611 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59612 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59613 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59614 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59615 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59616 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59617
59618 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59619 rename.
59620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59628
59629 2011-10-24 Andreas Schwab <schwab@redhat.com>
59630
59631 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59632
59633 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59634
59635 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59636
59637 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59638 prediction.
59639 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59640
59641 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59642 Remove unused variable magic_bits.
59643 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59644
59645 * string/strnlen.c: Define and use STRNLEN macro.
59646 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59647 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59648 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59649 * wcsmbs/wcslen.c: Define and use WCSLEN.
59650 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59651 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59652 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59653 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59654 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59655 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59656 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59657
59658 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59659
59660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59661 strnlen-sse2-no-bsf.
59662 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59664 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59665 Add strnlen support.
59666 (USE_AS_STRNLEN): New macro.
59667 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59668 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59669 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59670 * sysdeps/x86_64/wcslen.S: New file.
59671
59672 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59673
59674 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59675 XMM-moves are used for copying on small sizes.
59676
59677 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59678
59679 * wcsmbs/Makefile (strop-tests): Add wcschr.
59680 * wcsmbs/test-wcschr.c: New file.
59681 * string/test-strchr.c: Update.
59682 Add wcschr support.
59683 (WIDE): New macro.
59684
59685 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59686
59687 * wcsmbs/Makefile (strop-tests): Add wcslen.
59688 * wcsmbs/test-wcslen.c: New file.
59689 * string/test-strlen.c: Update.
59690 Add wcslen support.
59691 (WIDE): New macro.
59692
59693 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59694
59695 * po/it.po: Update from translation team.
59696
59697 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59698
59699 * sysdeps/x86_64/wcscmp.S: Update.
59700 Fix wrong comparison semantics.
59701 wcscmp shall use signed comparison not unsigned.
59702 Don't use substraction to avoid overflow bug.
59703 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59704 * wcsmbc/wcscmp.c: Likewise.
59705 * string/test-strcmp.c: Likewise.
59706 Add new tests to check cases with negative values.
59707
59708 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59709
59710 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59711 * sysdeps/x86_64/dla.h: ...here. New file.
59712 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59721
59722 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59723
59724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59725 __ynl_finite aliases.
59726
59727 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59728
59729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59730
59731 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59732 define DLA_FMA.
59733 [DLA_FMA] (EMULV): Use DLA_FMA.
59734 [DLA_FMA] (MUL12): Use EMULV.
59735 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59736 that are not needed.
59737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59739 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59740 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59742 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59744
59745 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59746
59747 * math/s_nan.c: Undef __nan.
59748 * math/s_nanf.c: Undef __nanf.
59749 * math/s_nanl.c: Undef __nanl.
59750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59751 "math_private.h".
59752
59753 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59754
59755 * math/s_catan.c: Add branch predictions.
59756 * math/s_catanf.c: Likewise.
59757 * math/s_catanh.c: Likewise.
59758 * math/s_catanhf.c: Likewise.
59759 * math/s_catanhl.c: Likewise.
59760 * math/s_catanl.c: Likewise.
59761 * math/s_cexp.c: Likewise.
59762 * math/s_cexpf.c: Likewise.
59763 * math/s_cexpl.c: Likewise.
59764 * math/s_clog.c: Likewise.
59765 * math/s_clog10.c: Likewise.
59766 * math/s_clog10f.c: Likewise.
59767 * math/s_clog10l.c: Likewise.
59768 * math/s_clogf.c: Likewise.
59769 * math/s_clogl.c: Likewise.
59770 * math/s_csqrt.c: Likewise.
59771 * math/s_csqrtf.c: Likewise.
59772 * math/s_csqrtl.c: Likewise.
59773 * math/s_ctanf.c: Likewise.
59774 * math/s_ctanh.c: Likewise.
59775 * math/s_ctanhf.c: Likewise.
59776 * math/s_ctanhl.c: Likewise.
59777 * math/s_ctanl.c: Likewise.
59778
59779 * math/math_private.h: Define __nan, __nanf, __nanl.
59780 * math/s_cacosh.c: Include <math_private.h>.
59781 * math/s_cacoshl.c: Likewise.
59782 * math/s_casinh.c: Likewise.
59783 * math/s_casinhf.c: Likewise.
59784 * math/s_casinhl.c: Likewise.
59785 * math/s_ccos.c: Rely entire on ccosh.
59786 * math/s_ccosf.c: Rely entire on ccoshf.
59787 * math/s_ccosl.c: Rely entirely on ccoshl.
59788 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59789 Remove tests for FE_INVALID.
59790 * math/s_ccoshf.c: Likewise.
59791 * math/s_ccoshl.c: Likewise.
59792 * math/s_csin.c: Likewise.
59793 * math/s_csinf.c: Likewise.
59794 * math/s_csinh.c Likewise.
59795 * math/s_csinhf.c: Likewise.
59796 * math/s_csinhl.c: Likewise.
59797 * math/s_csinl.c: Likewise.
59798 * math/s_ctan.c: Likewise.
59799 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59800 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59801 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59802
59803 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59804
59805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59806 compilation problems.
59807
59808 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59809 __builtin_expect.
59810
59811 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59812
59813 * sysdeps/i386/configure.in: Test for -mfma4 option.
59814 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59815 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59816 COMMON_CPUID_INDEX_80000001.
59817 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59818 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59819 use it if FMA3 is not supported.
59820 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59821
59822 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59823 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59824
59825 2011-10-20 Andreas Schwab <schwab@redhat.com>
59826
59827 [BZ #12892]
59828 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59829 it would create a cycle with a link time dependency.
59830
59831 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59832
59833 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59834 instruction.
59835 * string/Makefile (strop-tests): Add rawmemchr.
59836 * string/test-rawmemchr.c: New file.
59837
59838 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59840 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59841 when compiling str{,n}casecmp and when AVX is available. Hook up
59842 new optimized code in initializers.
59843
59844 2011-10-19 Andreas Schwab <schwab@redhat.com>
59845
59846 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59847 __feraiseexcept instead of feraiseexcept.
59848
59849 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59850
59851 * math/math_private.h: Define defaults for libc_fetestexcept and
59852 libc_feupdateenv.
59853 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59854 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59855 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59856 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59857 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59858 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59859 libc_fetestexcept and libc_feupdateenv.
59860
59861 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59862 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59863 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59864 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59865 libc_feholdexcept_setround.
59866
59867 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59868 Add s_nearbyint-c and s_nearbyintf-c.
59869 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59870 nearbyintf inlines.
59871 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59872 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59873 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59874 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59875
59876 * math/math_private.h: Define defaults for libc_fegetround,
59877 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59878 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59879 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59880 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59881 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59882 standard functions.
59883 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59884 Remove comments and hacks for old compiler versions.
59885 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59886 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59887 libc_feholdexceptl.
59888
59889 2011-10-18 Andreas Schwab <schwab@redhat.com>
59890
59891 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59892 (__feraiseexcept_renamed): Add __NTH.
59893 (feraiseexcept): Add __NTH. Rename local variables to fix
59894 namespace violations.
59895
59896 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59897
59898 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59899
59900 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59901
59902 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59903 recently added interfaces.
59904 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59905
59906 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59907 about macro parameter expansion.
59908
59909 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59910 __NO_MATH_INLINES is defined. Cleanups.
59911
59912 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59913 and __floorf is target has SSE4.1.
59914 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59915 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59916 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59917 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59918
59919 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59920 name.
59921 (floorf): Likewise.
59922
59923 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59924
59925 2011-10-17 Andreas Schwab <schwab@redhat.com>
59926
59927 * misc/sys/cdefs.h: Fix last change.
59928
59929 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59930 database lookup.
59931
59932 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59933
59934 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59935
59936 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59937 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59938 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59939 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59941 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59943 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59944 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59945 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59946 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59947 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59948 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59949 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59950 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59951 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59952 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59953 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59954 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59955 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59956 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59957 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59958
59959 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59960 ceil, ceilf, floor, floorf.
59961
59962 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59963 Perform IRELATIVE relocations last.
59964
59965 * elf/do-rel.h: Add another parameter nrelative, replacing the
59966 local variable with the same name. Change name of the function
59967 to end in Rel or Rela (uppercase).
59968 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59969 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59970 elf_dynamic_do_##reloc function.
59971
59972 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59973
59974 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59975 is sufficient, at least on modern CPUs.
59976
59977 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59978
59979 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59980 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59981
59982 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59983 __expl_finite.
59984 * math/bits/math-finite.h: Add entries for exp.
59985 * math/e_expl.c: Add __*_finite alias.
59986 * sysdeps/i386/fpu/e_exp.S: Likewise.
59987 * sysdeps/i386/fpu/e_expf.S: Likewise.
59988 * sysdeps/i386/fpu/e_expl.c: Likewise.
59989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59990 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59991 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59992 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59993 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59994 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59995 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59996
59997 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59998 is sufficient, at least on modern CPUs.
59999
60000 * ctype/ctype-info.c (__ctype_init): Define.
60001 * include/ctype.h (__ctype_init): Declare.
60002 (__ctype_b_loc): The variable is always initialized.
60003 (__ctype_toupper_loc): Likewise.
60004 (__ctype_tolower_loc): Likewise.
60005 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60006 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60007
60008 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60009
60010 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60011
60012 * configure.in: Also look in $cxxmachine/include for C++ system
60013 headers.
60014
60015 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60016
60017 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60018 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60019 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60020 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60021 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60022 (USE_AS_WMEMCMP): New macro.
60023 Fixing indents.
60024 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60025 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60026 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60027 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60029 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60030 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60031 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60032 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60033 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60034 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60035 (USE_AS_WMEMCMP): New macro.
60036 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60037 * sysdeps/string/test-memcmp.c: Update.
60038 Fix simple_wmemcmp.
60039 Add new tests.
60040 * wcsmbs/wmemcmp.c: Update.
60041 (WMEMCMP): New macro.
60042 Fix overflow bug.
60043
60044 2011-10-12 Andreas Jaeger <aj@suse.de>
60045
60046 [BZ #13268]
60047 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60048
60049 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60050
60051 * libio/iofwide.c (do_length): Avoid warning.
60052
60053 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60054
60055 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60056
60057 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60058
60059 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60060 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60061 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60062 * sysdeps/i386/i686/fpu/e_log.S: New file.
60063 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60064 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60065
60066 * ctype/ctype.h: Add support for inlined isXXX functions when
60067 compiling C++ code.
60068
60069 2011-10-14 Andreas Schwab <schwab@redhat.com>
60070
60071 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60072
60073 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60074
60075 2011-10-13 Roland McGrath <roland@hack.frob.com>
60076
60077 [BZ #13291]
60078 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60079
60080 2011-10-13 Andreas Schwab <schwab@redhat.com>
60081
60082 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60083 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60084 feraiseexcept.
60085
60086 * sysdeps/x86_64/memrchr.S: Check for zero size.
60087
60088 * string/stratcliff.c: Add memrchr tests.
60089
60090 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60091
60092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60093 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60094 rawmemchr-sse2 rawmemchr-sse2-bsf.
60095 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60096 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60097 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60098 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60099 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60100 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60101 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60102 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60103 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60104 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60105 * string/memrchr.c (MEMRCHR): New macro.
60106
60107 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60108
60109 Add integration with gcc's -ffinite-math-only and optimize wrapper
60110 functions in libm.
60111 * Versions.def: Define GLIBC_2.15 version for libm.
60112 * math/Makefile (headers): Add bits/math-finite.h.
60113 * math/bits/math-finite.h: New file.
60114 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60115 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60116 * math/e_acoshl.c: Add __*_finite alias.
60117 * math/e_acosl.c: Likewise.
60118 * math/e_asinl.c: Likewise.
60119 * math/e_atan2l.c: Likewise.
60120 * math/e_atanhl.c: Likewise.
60121 * math/e_coshl.c: Likewise.
60122 * math/e_exp10.c: Likewise.
60123 * math/e_exp10f.c: Likewise.
60124 * math/e_exp10l.c: Likewise.
60125 * math/e_exp2l.c: Likewise.
60126 * math/e_fmodl.c: Likewise.
60127 * math/e_gammal_r.c: Likewise.
60128 * math/e_hypotl.c: Likewise.
60129 * math/e_j0l.c: Likewise.
60130 * math/e_j1l.c: Likewise.
60131 * math/e_jnl.c: Likewise.
60132 * math/e_lgammal_r.c: Likewise.
60133 * math/e_log10l.c: Likewise.
60134 * math/e_log2l.c: Likewise.
60135 * math/e_logl.c: Likewise.
60136 * math/e_powl.c: Likewise.
60137 * math/e_sinhl.c: Likewise.
60138 * math/e_sqrtl.c: Likewise.
60139 * math/e_scalb.c: Completely rewritten and optimized.
60140 * math/e_scalbf.c: Likewise.
60141 * math/e_scalbl.c: Likewise.
60142 * math/w_acos.c: Likewise.
60143 * math/w_acosf.c: Likewise.
60144 * math/w_acosl.c: Likewise.
60145 * math/w_acosh.c: Likewise.
60146 * math/w_acoshf.c: Likewise.
60147 * math/w_acoshl.c: Likewise.
60148 * math/w_asin.c: Likewise.
60149 * math/w_asinf.c: Likewise.
60150 * math/w_asinl.c: Likewise.
60151 * math/w_atan2.c: Likewise.
60152 * math/w_atan2f.c: Likewise.
60153 * math/w_atan2l.c: Likewise.
60154 * math/w_atanh.c: Likewise.
60155 * math/w_atanhf.c: Likewise.
60156 * math/w_atanhl.c: Likewise.
60157 * math/w_exp10.c: Likewise.
60158 * math/w_exp10f.c: Likewise.
60159 * math/w_exp10l.c: Likewise.
60160 * math/w_fmod.c: Likewise.
60161 * math/w_fmodf.c: Likewise.
60162 * math/w_fmodl.c: Likewise.
60163 * math/w_j0.c: Likewise.
60164 * math/w_j0f.c: Likewise.
60165 * math/w_j0l.c: Likewise.
60166 * math/w_j1.c: Likewise.
60167 * math/w_j1f.c: Likewise.
60168 * math/w_j1l.c: Likewise.
60169 * math/w_jn.c: Likewise.
60170 * math/w_jnf.c: Likewise.
60171 * math/w_log.c: Likewise.
60172 * math/w_logf.c: Likewise.
60173 * math/w_logl.c: Likewise.
60174 * math/w_log10.c: Likewise.
60175 * math/w_log10f.c: Likewise.
60176 * math/w_log10l.c: Likewise.
60177 * math/w_log2.c: Likewise.
60178 * math/w_log2f.c: Likewise.
60179 * math/w_log2l.c: Likewise.
60180 * math/w_pow.c: Likewise.
60181 * math/w_powf.c: Likewise.
60182 * math/w_powl.c: Likewise.
60183 * math/w_remainder.c: Likewise.
60184 * math/w_remainderf.c: Likewise.
60185 * math/w_remainderl.c: Likewise.
60186 * math/w_scalb.c: Likewise.
60187 * math/w_scalbf.c: Likewise.
60188 * math/w_scalbl.c: Likewise.
60189 * math/w_sqrt.c: Likewise.
60190 * math/w_sqrtf.c: Likewise.
60191 * math/w_sqrtl.c: Likewise.
60192 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60193 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60194 used.
60195 * math/math_private.h: Declare __kernel_standard_f.
60196 * math/w_cosh.c: Remove cruft and optimize a bit.
60197 * math/w_coshf.c: Likewise.
60198 * math/w_coshl.c: Likewise.
60199 * math/w_exp2.c: Likewise.
60200 * math/w_exp2f.c: Likewise.
60201 * math/w_exp2l.c: Likewise.
60202 * math/w_hypot.c: Likewise.
60203 * math/w_hypotf.c: Likewise.
60204 * math/w_hypotl.c: Likewise.
60205 * math/w_lgamma.c: Likewise.
60206 * math/w_lgamma_r.c: Likewise.
60207 * math/w_lgammaf.c: Likewise.
60208 * math/w_lgammaf_r.c: Likewise.
60209 * math/w_lgammal.c: Likewise.
60210 * math/w_lgammal_r.c: Likewise.
60211 * math/w_sinh.c: Likewise.
60212 * math/w_sinhf.c: Likewise.
60213 * math/w_sinhl.c: Likewise.
60214 * math/w_tgamma.c: Likewise.
60215 * math/w_tgammaf.c: Likewise.
60216 * math/w_tgammal.c: Likewise.
60217 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60219 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60220 Minor optimizations. Pretty printing. Remove cruft.
60221 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60222 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60223 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60224 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60225 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60226 * sysdeps/i386/fpu/e_asin.S: Likewise.
60227 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60228 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60229 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60230 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60231 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60232 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60233 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60234 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60235 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60236 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60237 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60238 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60239 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60240 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60241 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60242 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60243 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60244 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60245 * sysdeps/i386/fpu/e_log.S: Likewise.
60246 * sysdeps/i386/fpu/e_log10.S: Likewise.
60247 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60248 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60249 * sysdeps/i386/fpu/e_log2.S: Likewise.
60250 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60251 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60252 * sysdeps/i386/fpu/e_logf.S: Likewise.
60253 * sysdeps/i386/fpu/e_logl.S: Likewise.
60254 * sysdeps/i386/fpu/e_pow.S: Likewise.
60255 * sysdeps/i386/fpu/e_powf.S: Likewise.
60256 * sysdeps/i386/fpu/e_powl.S: Likewise.
60257 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60258 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60259 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60260 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60261 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60262 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60263 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60264 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60265 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60266 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60267 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60269 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60270 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60271 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60272 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60273 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60274 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60275 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60276 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60277 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60279 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60280 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60282 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60283 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60284 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60285 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60286 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60287 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60290 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60291 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60292 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60293 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60294 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60295 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60296 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60297 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60298 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60299 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60300 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60301 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60302 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60303 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60304 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60305 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60306 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60307 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60308 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60309 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60311 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60312 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60313 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60314 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60315 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60316 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60317 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60318 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60319 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60320 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60321 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60322 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60323 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60324 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60325 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60326 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60327 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60330 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60332 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60334 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60336 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60337 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60340 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60342 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60343 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60344 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60345 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60346 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60347 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60348 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60349 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60350 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60351 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60352 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60353 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60354 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60355 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60356 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60357 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60358 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60359 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60360 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60361 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60362 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60363 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60364 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60365 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60366 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60367 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60368 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60369 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60370 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60371 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60372 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60373 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60374 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60375 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60376 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60377 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60378 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60379 (__isnanf): Likewise.
60380 (__isinf_ns): Likewise.
60381 (__isinf_nsf): Likewise.
60382 (__finite): Likewise.
60383 (__finitef): Likewise.
60384 (__ieee754_sqrt): Define as macro.
60385 (__ieee754_sqrtf): Define as macro.
60386 (__ieee754_sqrtl): Define as macro.
60387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60388 inlined copy.
60389 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60390 __FINITE_MATH_ONLY__ consistent.
60391 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60392
60393 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60394
60395 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60396 of rawmemchr.
60397
60398 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60399
60400 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60401
60402 * po/ja.po: Update from translation team.
60403
60404 2011-10-08 Roland McGrath <roland@hack.frob.com>
60405
60406 * locale/programs/locarchive.c (prepare_address_space): New function.
60407 (create_archive, enlarge_archive, open_archive): Use it.
60408
60409 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60410 inside [SHARED], where it is used.
60411
60412 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60413
60414 * nss/getent.c (netgroup_keys): Remove unused variable.
60415 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60416
60417 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60418
60419 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60420 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60422 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60423 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60424 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60425 * math/Makefile (libm-calls): Add s_isinf_ns.
60426 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60427 * math/multc3.c: Likewise.
60428 * math/s_casin.c: Likewise.
60429 * math/s_casinf.c: Likewise.
60430 * math/s_casinl.c: Likewise.
60431 * math/s_ccos.c: Likewise.
60432 * math/s_ccosf.c: Likewise.
60433 * math/s_ccosl.c: Likewise.
60434 * math/s_ctan.c: Likewise.
60435 * math/s_ctanf.c: Likewise.
60436 * math/s_ctanh.c: Likewise.
60437 * math/s_ctanhf.c: Likewise.
60438 * math/s_ctanhl.c: Likewise.
60439 * math/s_ctanl.c: Likewise.
60440 * math/w_fmod.c: Likewise.
60441 * math/w_fmodf.c: Likewise.
60442 * math/w_fmodl.c: Likewise.
60443 * math/w_remainder.c: Likewise.
60444 * math/w_remainderf.c: Likewise.
60445 * math/w_remainderl.c: Likewise.
60446 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60447 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60448 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60449 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60450 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60451 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60452 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60453 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60454
60455 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60456 of the number.
60457 * stdio-common/printf_fphex.c: Likewise.
60458 * stdio-common/printf_size.c: Likewise.
60459
60460 * math/e_exp10.c: Include math_private.h using <...> not "...".
60461 * math/e_exp10f.c: Likewise.
60462 * math/e_exp10l.c: Likewise.
60463 * math/e_exp2l.c: Likewise.
60464 * math/e_j0l.c: Likewise.
60465 * math/e_j1l.c: Likewise.
60466 * math/e_jnl.c: Likewise.
60467 * math/e_lgammal_r.c: Likewise.
60468 * math/e_rem_pio2l.c: Likewise.
60469 * math/e_scalb.c: Likewise.
60470 * math/e_scalbf.c: Likewise.
60471 * math/e_scalbl.c: Likewise.
60472 * math/k_cosl.c: Likewise.
60473 * math/k_sinl.c: Likewise.
60474 * math/k_tanl.c: Likewise.
60475 * math/s_cacoshf.c: Likewise.
60476 * math/s_catan.c: Likewise.
60477 * math/s_catanf.c: Likewise.
60478 * math/s_catanh.c: Likewise.
60479 * math/s_catanhf.c: Likewise.
60480 * math/s_catanhl.c: Likewise.
60481 * math/s_catanl.c: Likewise.
60482 * math/s_ccosh.c: Likewise.
60483 * math/s_ccoshf.c: Likewise.
60484 * math/s_ccoshl.c: Likewise.
60485 * math/s_cexp.c: Likewise.
60486 * math/s_cexpf.c: Likewise.
60487 * math/s_cexpl.c: Likewise.
60488 * math/s_clog.c: Likewise.
60489 * math/s_clog10.c: Likewise.
60490 * math/s_clog10f.c: Likewise.
60491 * math/s_clog10l.c: Likewise.
60492 * math/s_clogf.c: Likewise.
60493 * math/s_clogl.c: Likewise.
60494 * math/s_csin.c: Likewise.
60495 * math/s_csinf.c: Likewise.
60496 * math/s_csinh.c: Likewise.
60497 * math/s_csinhf.c: Likewise.
60498 * math/s_csinhl.c: Likewise.
60499 * math/s_csinl.c: Likewise.
60500 * math/s_csqrt.c: Likewise.
60501 * math/s_csqrtf.c: Likewise.
60502 * math/s_csqrtl.c: Likewise.
60503 * math/s_ctan.c: Likewise.
60504 * math/s_ctanf.c: Likewise.
60505 * math/s_ctanh.c: Likewise.
60506 * math/s_ctanhf.c: Likewise.
60507 * math/s_ctanhl.c: Likewise.
60508 * math/s_ctanl.c: Likewise.
60509 * math/s_ldexp.c: Likewise.
60510 * math/s_ldexpf.c: Likewise.
60511 * math/s_ldexpl.c: Likewise.
60512 * math/s_significand.c: Likewise.
60513 * math/s_significandf.c: Likewise.
60514 * math/s_significandl.c: Likewise.
60515 * math/w_acos.c: Likewise.
60516 * math/w_acosf.c: Likewise.
60517 * math/w_acosh.c: Likewise.
60518 * math/w_acoshf.c: Likewise.
60519 * math/w_acoshl.c: Likewise.
60520 * math/w_acosl.c: Likewise.
60521 * math/w_asin.c: Likewise.
60522 * math/w_asinf.c: Likewise.
60523 * math/w_asinl.c: Likewise.
60524 * math/w_atan2.c: Likewise.
60525 * math/w_atan2f.c: Likewise.
60526 * math/w_atan2l.c: Likewise.
60527 * math/w_atanh.c: Likewise.
60528 * math/w_atanhf.c: Likewise.
60529 * math/w_atanhl.c: Likewise.
60530 * math/w_cosh.c: Likewise.
60531 * math/w_coshf.c: Likewise.
60532 * math/w_coshl.c: Likewise.
60533 * math/w_dremf.c: Likewise.
60534 * math/w_exp10.c: Likewise.
60535 * math/w_exp10f.c: Likewise.
60536 * math/w_exp10l.c: Likewise.
60537 * math/w_exp2.c: Likewise.
60538 * math/w_exp2f.c: Likewise.
60539 * math/w_fmod.c: Likewise.
60540 * math/w_fmodf.c: Likewise.
60541 * math/w_fmodl.c: Likewise.
60542 * math/w_hypot.c: Likewise.
60543 * math/w_hypotf.c: Likewise.
60544 * math/w_hypotl.c: Likewise.
60545 * math/w_j0.c: Likewise.
60546 * math/w_j0f.c: Likewise.
60547 * math/w_j0l.c: Likewise.
60548 * math/w_j1.c: Likewise.
60549 * math/w_j1f.c: Likewise.
60550 * math/w_j1l.c: Likewise.
60551 * math/w_jn.c: Likewise.
60552 * math/w_jnf.c: Likewise.
60553 * math/w_jnl.c: Likewise.
60554 * math/w_lgamma.c: Likewise.
60555 * math/w_lgamma_r.c: Likewise.
60556 * math/w_lgammaf.c: Likewise.
60557 * math/w_lgammaf_r.c: Likewise.
60558 * math/w_lgammal.c: Likewise.
60559 * math/w_lgammal_r.c: Likewise.
60560 * math/w_log.c: Likewise.
60561 * math/w_log10.c: Likewise.
60562 * math/w_log10f.c: Likewise.
60563 * math/w_log10l.c: Likewise.
60564 * math/w_log2.c: Likewise.
60565 * math/w_log2f.c: Likewise.
60566 * math/w_log2l.c: Likewise.
60567 * math/w_logf.c: Likewise.
60568 * math/w_logl.c: Likewise.
60569 * math/w_pow.c: Likewise.
60570 * math/w_powf.c: Likewise.
60571 * math/w_powl.c: Likewise.
60572 * math/w_remainder.c: Likewise.
60573 * math/w_remainderf.c: Likewise.
60574 * math/w_remainderl.c: Likewise.
60575 * math/w_scalb.c: Likewise.
60576 * math/w_scalbf.c: Likewise.
60577 * math/w_scalbl.c: Likewise.
60578 * math/w_sinh.c: Likewise.
60579 * math/w_sinhf.c: Likewise.
60580 * math/w_sinhl.c: Likewise.
60581 * math/w_sqrt.c: Likewise.
60582 * math/w_sqrtf.c: Likewise.
60583 * math/w_sqrtl.c: Likewise.
60584 * math/w_tgamma.c: Likewise.
60585 * math/w_tgammaf.c: Likewise.
60586 * math/w_tgammal.c: Likewise.
60587
60588 * po/ja.po: Update from translation team.
60589
60590 2011-09-29 Andreas Jaeger <aj@suse.de>
60591
60592 [BZ #13179]
60593 * sunrpc/netname.c (netname2host): Fix logic.
60594
60595 [BZ #6779]
60596 [BZ #6783]
60597 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60598 correctly.
60599 * math/w_remainder.c (__remainder): Likewise.
60600 * math/w_remainderf.c (__remainderf): Likewise.
60601 * math/libm-test.inc (remainder_test): Add test cases.
60602
60603 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60604
60605 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60606 sdiv_qrnnd.
60607
60608 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60609
60610 * string/test-memcmp.c: Avoid unncessary #defines.
60611 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60612
60613 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60614
60615 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60616 Use new sse2 version for core i3 - i7 as it's faster
60617 than sse42 version.
60618 (bit_Prefer_PMINUB_for_stringop): New.
60619 * sysdeps/x86_64/rawmemchr.S: Update.
60620 Replace with faster SSE2 version.
60621 * sysdeps/x86_64/memrchr.S: New file.
60622 * sysdeps/x86_64/memchr.S: Update.
60623 Replace with faster SSE2 version.
60624
60625 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60626
60627 * elf/dl-load.c (lose): Add cast to avoid warning.
60628
60629 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60630
60631 * po/ca.po: Update from translation team.
60632
60633 * inet/getnetgrent_r.c: Hook up nscd.
60634 * nscd/Makefile (routines): Add nscd_netgroup.
60635 (nscd-modules): Add netgroupcache.
60636 (CFLAGS-netgroupcache.c): Define.
60637 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60638 (cache_search): Add const to second parameter.
60639 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60640 INNETGR.
60641 (dbs): Add netgrdb entry.
60642 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60643 (verify_persistent_db): Handle netgrdb.
60644 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60645 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60646 GETFDNETGR.
60647 (netgroup_response_header): Define.
60648 (innetgroup_response_header): Define.
60649 (datahead): Add netgroup_response_header and innetgroup_response_header
60650 elements.
60651 * nscd/nscd.conf: Add entries for netgroup cache.
60652 * nscd/nscd.h (dbtype): Add netgrdb.
60653 (_PATH_NSCD_NETGROUP_DB): Define.
60654 (netgroup_iov_disabled): Declare.
60655 (xmalloc, xcalloc, xrealloc): Move declarations here.
60656 (cache_search): Adjust prototype.
60657 Add netgroup-related prototypes.
60658 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60659 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60660 (__nscd_innetgr): Declare.
60661 * nscd/selinux.c (perms): Use access_vector_t as element type and
60662 add netgroup-related initializers.
60663 * nscd/netgroupcache.c: New file.
60664 * nscd/nscd_netgroup.c: New file.
60665 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60666 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60667 For four parameters use innetgr.
60668 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60669 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60670 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60671 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60672
60673 * nscd/connections.c (register_traced_file): Don't register file
60674 for disabled databases.
60675
60676 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60677
60678 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60679
60680 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60681 from tree and freeing node.
60682
60683 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60684
60685 * nss/nsswitch.c (__nss_database_lookup): Handle
60686 nss_parse_service_list out of memory case.
60687
60688 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60689
60690 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60691 out of memory case.
60692
60693 2011-10-04 Andreas Schwab <schwab@redhat.com>
60694
60695 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60696 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60697 pass it down.
60698 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60699 elf_machine_rela, elf_machine_lazy_rel.
60700 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60701 (ELF_DYNAMIC_DO_REL): Likewise.
60702 (ELF_DYNAMIC_DO_RELA): Likewise.
60703 (ELF_DYNAMIC_RELOCATE): Likewise.
60704 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60705 to ELF_DYNAMIC_DO_REL.
60706 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60707 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60708 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60709 elf_machine_rela.
60710 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60711 skip_ifunc, don't call ifunc function if non-zero.
60712 (elf_machine_rela): Likewise.
60713 (elf_machine_lazy_rel): Likewise.
60714 (elf_machine_lazy_rela): Likewise.
60715 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60716 (elf_machine_lazy_rel): Likewise.
60717 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60718 Likewise.
60719 (elf_machine_lazy_rel): Likewise.
60720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60721 Likewise.
60722 (elf_machine_lazy_rel): Likewise.
60723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60724 (elf_machine_lazy_rel): Likewise.
60725 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60726 (elf_machine_lazy_rel): Likewise.
60727 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60728 (elf_machine_lazy_rel): Likewise.
60729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60730 (elf_machine_lazy_rel): Likewise.
60731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60732 (elf_machine_lazy_rel): Likewise.
60733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60734 (elf_machine_lazy_rel): Likewise.
60735
60736 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60737
60738 * nss/nss_files/files-init.c (_nss_files_init): Use static
60739 initialization for all the *_traced_file variables.
60740
60741 2011-09-28 Andreas Schwab <schwab@redhat.com>
60742
60743 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60744
60745 2011-09-27 Roland McGrath <roland@hack.frob.com>
60746
60747 [BZ #13226]
60748 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60749
60750 2011-09-27 Andreas Schwab <schwab@redhat.com>
60751
60752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60753 Reread the line before reparsing it.
60754
60755 2011-09-26 Andreas Schwab <schwab@redhat.com>
60756
60757 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60758
60759 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60760 Maxim Kuvyrkov <maxim@codesourcery.com>
60761 Joseph Myers <joseph@codesourcery.com>
60762
60763 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60764 if needed for __stack_chk_guard.
60765
60766 2011-09-19 Roland McGrath <roland@hack.frob.com>
60767
60768 * sysdeps/posix/spawni.c (script_execute): Always define it.
60769 It will be optimized away if unused.
60770 (maybe_script_execute): New function.
60771 (__spawni): Call it.
60772
60773 * Makerules: Don't include tls.make.
60774 (config-tls): Always set to thread.
60775 * tls.make.c: File removed.
60776
60777 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60778
60779 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60780 * config.make.in (CPPFLAGS-config): New substituted variable.
60781
60782 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60783
60784 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60785
60786 [BZ #13192]
60787 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60788 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60789
60790 2011-09-15 Roland McGrath <roland@hack.frob.com>
60791
60792 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60793 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60794 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60795 (CALL_FAIL): Likewise.
60796 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60797 (CALL_FAIL): Macro removed.
60798 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60799
60800 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60801
60802 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60803 for __FINITE_MATH_ONLY__ == 1.
60804
60805 2011-09-15 Andreas Schwab <schwab@redhat.com>
60806
60807 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60808 __ieee754_sqrt instead of sqrt.
60809 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60810 __ieee754_sqrtf instead of sqrtf.
60811 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60812 __floorf instead of floorf.
60813 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60814 __floorf, __truncf instead of floorf, truncf.
60815
60816 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60817
60818 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60819
60820 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60821 __extern_always_inline.
60822 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60823 32-bit.
60824
60825 2011-09-14 Andreas Schwab <schwab@redhat.com>
60826
60827 * elf/rtld.c (dl_main): Also relocate in dependency order when
60828 doing symbol dependency testing.
60829
60830 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60831
60832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60833 Always define `refsym'.
60834
60835 2011-09-13 Andreas Schwab <schwab@redhat.com>
60836
60837 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60838 (__FD_ELT): Renamed from __FDELT.
60839 * misc/bits/select2.h (__FD_ELT): Likewise.
60840 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60841 __FD_MASK instead of __FDELT, __FDMASK.
60842 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60843 Likewise.
60844 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60845 Likewise.
60846
60847 * elf/Makefile (gen-ldd): Fix pattern.
60848
60849 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60850 (init_tls): Likewise.
60851
60852 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60853
60854 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60855
60856 2011-09-12 Andreas Schwab <schwab@redhat.com>
60857
60858 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60859 `struct cmsghdr *' instead of `void *'.
60860 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60861 Likewise.
60862
60863 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60864
60865 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60866 if non-absolute.
60867 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60868 ldd_rewrite_script.
60869
60870 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60871
60872 * configure.in: Remove --with-tls option.
60873 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60874 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60875 out in case it is missing.
60876 * sysdeps/ia64/elf/configure.in: Likewise.
60877 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60878 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60879 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60880 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60881 * sysdeps/sh/elf/configure.in: Likewise.
60882 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60883 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60884 * sysdeps/x86_64/elf/configure.in: Likewise.
60885 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60886 * sysdeps/mach/hurd/tls.h: Likewise.
60887
60888 [BZ #13067]
60889 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60890
60891 [BZ #13090]
60892 * configure.in: Fix use of AC_INIT.
60893
60894 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60895
60896 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60897
60898 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60899 __set_errno.
60900 * malloc/hooks.c: Likewise.
60901
60902 [BZ #11929]
60903 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60904 variables statically.
60905 (narenas): Initialize.
60906 (list_lock): Initialize.
60907 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60908 initializtion of main_arena and list_lock. Small cleanups.
60909 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60910 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60911 Add initializers to main_arena and mp_.
60912 (malloc_state): Remove pagesize member. Change all users to use
60913 GLRO(dl_pagesize).
60914
60915 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60916 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60917 is always initialized.
60918
60919 * malloc/malloc.c: Removed unused configurations and dead code.
60920 * malloc/arena.c: Likewise.
60921 * malloc/hooks.c: Likewise.
60922 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60923
60924 * include/tls.h: Removed. USE___THREAD must always be defined.
60925 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60926 * elf/dl-libc.c: Likewise.
60927 * elf/dl-tsd.c: Likewise.
60928 * include/errno.h: Likewise.
60929 * include/netdb.h: Likewise.
60930 * include/resolv.h: Likewise.
60931 * inet/herrno-loc.c: Likewise.
60932 * inet/herrno.c: Likewise.
60933 * malloc/arena.c: Likewise.
60934 * malloc/hooks.c: Likewise.
60935 * malloc/malloc.c: Likewise.
60936 * resolv/res-state.c: Likewise.
60937 * resolv/res_libc.c: Likewise.
60938 * sysdeps/i386/dl-machine.h: Likewise.
60939 * sysdeps/ia64/dl-machine.h: Likewise.
60940 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60941 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60942 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60943 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60944 * sysdeps/sh/dl-machine.h: Likewise.
60945 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60946 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60947 * sysdeps/unix/i386/sysdep.S: Likewise.
60948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60949 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60951 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60954 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60958 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60959 * sysdeps/x86_64/dl-machine.h: Likewise.
60960 * tls.make.c: Likewise.
60961
60962 * configure.in: Remove --with-__thread option. Make tests for
60963 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60964 tls_model attribute fail if no support is available. Remove
60965 USE_IN_LIBIO.
60966 * Makeconfig: Adjust for dropped configure option. All features are
60967 now mandatory.
60968 * Makerules: Likewise.
60969 * Versions.def: Likewise.
60970 * argp/argp-fmtstream.c: Likewise.
60971 * argp/argp-fmtstream.h: Likewise.
60972 * argp/argp-help.c: Likewise.
60973 * assert/assert.c: Likewise.
60974 * config.h.in: Likewise.
60975 * config.make.in: Likewise.
60976 * configure: Likewise.
60977 * configure.in: Likewise.
60978 * csu/Versions: Likewise.
60979 * csu/init.c: Likewise.
60980 * elf/tst-audit2.c: Likewise.
60981 * elf/tst-tls10.c: Likewise.
60982 * elf/tst-tls10.h: Likewise.
60983 * elf/tst-tls11.c: Likewise.
60984 * elf/tst-tls12.c: Likewise.
60985 * elf/tst-tls14.c: Likewise.
60986 * elf/tst-tlsmod11.c: Likewise.
60987 * elf/tst-tlsmod12.c: Likewise.
60988 * elf/tst-tlsmod13.c: Likewise.
60989 * elf/tst-tlsmod13a.c: Likewise.
60990 * elf/tst-tlsmod14a.c: Likewise.
60991 * elf/tst-tlsmod15b.c: Likewise.
60992 * elf/tst-tlsmod16a.c: Likewise.
60993 * elf/tst-tlsmod16b.c: Likewise.
60994 * elf/tst-tlsmod7.c: Likewise.
60995 * elf/tst-tlsmod8.c: Likewise.
60996 * elf/tst-tlsmod9.c: Likewise.
60997 * gmon/gmon.c: Likewise.
60998 * grp/fgetgrent_r.c: Likewise.
60999 * grp/putgrent.c: Likewise.
61000 * hurd/fopenport.c: Likewise.
61001 * include/libc-symbols.h: Likewise.
61002 * include/tls.h: Likewise.
61003 * intl/gettextP.h: Likewise.
61004 * intl/loadinfo.h: Likewise.
61005 * locale/global-locale.c: Likewise.
61006 * locale/localeinfo.h: Likewise.
61007 * mach/devstream.c: Likewise.
61008 * malloc/arena.c: Likewise.
61009 * malloc/set-freeres.c: Likewise.
61010 * misc/err.c: Likewise.
61011 * misc/getttyent.c: Likewise.
61012 * misc/mntent_r.c: Likewise.
61013 * posix/getopt.c: Likewise.
61014 * posix/wordexp.c: Likewise.
61015 * pwd/fgetpwent_r.c: Likewise.
61016 * resolv/Versions: Likewise.
61017 * resolv/res_hconf.c: Likewise.
61018 * shadow/fgetspent_r.c: Likewise.
61019 * shadow/putspent.c: Likewise.
61020 * stdio-common/printf_fphex.c: Likewise.
61021 * stdio-common/tmpfile.c: Likewise.
61022 * stdlib/abort.c: Likewise.
61023 * stdlib/fmtmsg.c: Likewise.
61024 * sunrpc/auth_unix.c: Likewise.
61025 * sunrpc/clnt_perr.c: Likewise.
61026 * sunrpc/clnt_tcp.c: Likewise.
61027 * sunrpc/clnt_udp.c: Likewise.
61028 * sunrpc/clnt_unix.c: Likewise.
61029 * sunrpc/openchild.c: Likewise.
61030 * sunrpc/svc_simple.c: Likewise.
61031 * sunrpc/svc_tcp.c: Likewise.
61032 * sunrpc/svc_udp.c: Likewise.
61033 * sunrpc/svc_unix.c: Likewise.
61034 * sunrpc/xdr.c: Likewise.
61035 * sunrpc/xdr_array.c: Likewise.
61036 * sunrpc/xdr_rec.c: Likewise.
61037 * sunrpc/xdr_ref.c: Likewise.
61038 * sunrpc/xdr_stdio.c: Likewise.
61039
61040 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61041
61042 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61043
61044 2011-07-03 Andreas Jaeger <aj@suse.de>
61045
61046 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61047 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61048 regenerate with gen-libm-tests.pl.
61049
61050 2010-05-12 Petr Baudis <pasky@suse.cz>
61051
61052 [BZ #11589]
61053 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61054 around j0() zero points by switching to j1().
61055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61056 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61059
61060 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61061
61062 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61063 instead of 0.
61064 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61065 instead of 0.
61066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61067 Patch in part by Pavel Roskin <proski@gnu.org>.
61068
61069 [BZ #13138]
61070 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61071 realloc.
61072 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61073 Free memory block if necessary.
61074
61075 [BZ #12847]
61076 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61077 be NULL. Don't lock in this case.
61078
61079 2011-09-09 Roland McGrath <roland@hack.frob.com>
61080
61081 * elf/elf.h (ELFOSABI_GNU): New macro.
61082 (ELFOSABI_LINUX): Define to that.
61083
61084 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61085
61086 * string/strncat.c (strncat): Undef the symbol in case it has been
61087 defined in bits/string.h.
61088
61089 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61090
61091 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61092
61093 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61094 link map.
61095
61096 2011-08-17 Andreas Jaeger <aj@suse.de>
61097
61098 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61099
61100 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61101 Ian Lance Taylor <iant@google.com>
61102
61103 * math/libm-test.inc (lround_test): New testcase.
61104 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61105
61106 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61107
61108 * Makefile: Remove support for automatic cvs check-ins.
61109 * Makerules: Likewise.
61110 * config.make.in: Likewise.
61111 * configure.in: Likewise.
61112 * intl/Makefile: Likewise.
61113 * locale/Makefile: Likewise.
61114 * po/Makefile: Likewise.
61115 * posix/Makefile: Likewise.
61116 * sysdeps/gnu/Makefile: Likewise.
61117 * sysdeps/mach/hurd/Makefile: Likewise.
61118 * sysdeps/sparc/sparc32/Makefile: Likewise.
61119
61120 [BZ #13118]
61121 * posix/Makefile (bug-regex32-ENV): Define.
61122 Patch by John Stanley <jpsinthemix@verizon.net>.
61123
61124 * misc/Makefile (headers): Add bits/select2.h.
61125 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61126 * misc/bits/select2.h: New file.
61127 * include/bits/select2.h: New file.
61128 * debug/Makefile (routines): Add fdelt_chk.
61129 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61130 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61131 FD_ISSET.
61132 * debug/fdelt_chk.c: New file.
61133
61134 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61135 * wcsmbs/test-wmemcmp.c: Likewise.
61136 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61137 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61138
61139 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61140
61141 * string/Makefile (strop-tests): Add memcmp.
61142 * string/test-wmemcmp.c: New file.
61143 * string/test-memcmp.c: Add wmemcmp support.
61144
61145 2011-09-08 Roland McGrath <roland@hack.frob.com>
61146
61147 [BZ #13153]
61148 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61149 2011-07-19 change.
61150
61151 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61152 garbage value in a __mach_port_mod_refs call in the cases of the
61153 task-self and thread-self ports.
61154
61155 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61156
61157 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61158
61159 2011-09-08 Andreas Schwab <schwab@redhat.com>
61160
61161 * elf/dl-load.c (lose): Check for non-null L.
61162
61163 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61164
61165 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61166
61167 * elf/dl-libc.c (dlerror_run): Pass back error code from
61168 dl_catch_error.
61169
61170 [BZ #13123]
61171 * elf/dl-load.c (lose): Free l_origin if it is valid.
61172
61173 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61174 names.
61175 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61176 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61177 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61178 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61179 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61180 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61181
61182 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61183
61184 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61185 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61186 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61187 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61188 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61189 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61190 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61191 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61192 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61193 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61194
61195 2011-08-15 Alan Modra <amodra@gmail.com>
61196
61197 [BZ #13092]
61198 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61199 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61200 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61201 ppc_mcount to static-only-routines.
61202 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61203 __mcount_internal.
61204 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61205 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61206
61207 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61208
61209 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61210 for finite and infinity parameters.
61211
61212 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61213
61214 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61215 and add nop instructions for throughput optimization.
61216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61217
61218 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61219
61220 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61221 aligned copy for power7 with vector-scalar instructions.
61222 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61223
61224 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61225
61226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61227 AVX check.
61228
61229 2011-09-07 Andreas Schwab <schwab@redhat.com>
61230
61231 [BZ #13144]
61232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61233 last change.
61234
61235 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61236
61237 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61238 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61239 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61240 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61241 clock_gettime.
61242
61243 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61244
61245 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61246 Forgot to demangle the pointer.
61247
61248 * sysdeps/i386/sysdep.h: Define atom_text_section.
61249 * sysdeps/x86_64/sysdep.h: Likewise.
61250 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61251 section with atom_text_section.
61252 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61253 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61254 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61255 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61256 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61257
61258 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61259 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61260 already be defined. Change to take two parameters and don't assign
61261 result to variable. Adjust all users.
61262 Define INTERNAL_GETTIME if not already defined.
61263 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61264 call.
61265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61266 HAVE_CLOCK_GETTIME_VSYSCALL.
61267 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61268
61269 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61270 gettimeofday vsyscall, just use time.
61271
61272 2011-09-06 Andreas Schwab <schwab@redhat.com>
61273
61274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61275 <errno.h>.
61276
61277 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61278
61279 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61280 syscall on x86-64.
61281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61282 syscall.
61283 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61284 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61285 syscall if possible.
61286
61287 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61288
61289 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61290 e_ident. Don't pass to find_mapsXX.
61291 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61292
61293 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61294
61295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61296 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61297 * sysdeps/x86_64/multiarch/strchr.S: Update.
61298 Check bit_slow_BSF bit.
61299 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61300 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61301 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61302
61303 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61304
61305 [BZ #13134]
61306 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61307 before glibc 2.15.
61308 (tryshell): Define.
61309 (__spawni): Change last parameter to be flag. Test
61310 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61311 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61312 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61313 * posix/spawni.c: Likewise.
61314 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61315 * posix/spawnp.c: Likewise. Change normal version to use
61316 SPAWN_XFLAGS_USE_PATH.
61317 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61318 SPAWN_XFLAGS_TRY_SHELL.
61319
61320 [BZ #13150]
61321 * posix/glob.h: Remove gcc 1.x support.
61322
61323 [BZ #13068]
61324 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61325
61326 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61327
61328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61329 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61330 strrchr-sse2-bsf
61331 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61332 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61333 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61334 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61335 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61336 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61337
61338 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61339
61340 * sysdeps/x86_64/wcscmp.S: New file.
61341
61342 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61343 wcscmp-c wcscmp-sse2
61344 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61345 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61347 * wcsmbs/wcscmp.c: Allow renaming.
61348
61349 2011-09-05 David S. Miller <davem@davemloft.net>
61350
61351 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61352 stack slot, rather than the struct return pointer slot.
61353 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61354 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61356 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61357
61358 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61359
61360 * po/ja.po: Update from translation team.
61361
61362 [BZ #13144]
61363 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61364 kernel in 64-bit binaries.
61365
61366 2011-09-01 David S. Miller <davem@davemloft.net>
61367
61368 * elf/elf.h (HWCAP_SPARC_*): Move to..
61369 * sysdeps/sparc/sysdep.h: this new file and add new values.
61370 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61371 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61372 _DL_HWCAP_COUNT to 24.
61373 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61374 entries.
61375 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61376 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61377 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61378 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61379 instead of magic constants.
61380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61381
61382 2011-08-31 David S. Miller <davem@davemloft.net>
61383
61384 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61386 Reimplement to do errno handling inline.
61387 (SYSCALL_ERROR_HANDLER): New macro.
61388 (__SYSCALL_STRING): Do not do errno handling in asm.
61389 (__CLONE_SYSCALL_STRING): Delete.
61390 (__INTERNAL_SYSCALL_STRING): Delete.
61391 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61392 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61393 (PSEUDO): Reimplement to do errno handling inline.
61394 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61395 (SYSCALL_ERROR_HANDLER): New macro.
61396 (__SYSCALL_STRING): Do not do errno handling in asm.
61397 (__CLONE_SYSCALL_STRING): Delete.
61398 (__INTERNAL_SYSCALL_STRING): Delete.
61399 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61400 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61401 i386.
61402 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61403 (inline_syscall*): Add 'err' argument.
61404 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61405 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61406 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61407 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61408
61409 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61410 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61411
61412 2011-08-30 Andreas Schwab <schwab@redhat.com>
61413
61414 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61415
61416 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61417
61418 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61419 directive.
61420
61421 2011-08-24 David S. Miller <davem@davemloft.net>
61422
61423 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61424
61425 2011-08-24 Andreas Schwab <schwab@redhat.com>
61426
61427 * elf/Makefile: Add rules to build and run unload8 test.
61428 * elf/unload8.c: New file.
61429 * elf/unload8mod1.c: New file.
61430 * elf/unload8mod1x.c: New file.
61431 * elf/unload8mod2.c: New file.
61432 * elf/unload8mod3.c: New file.
61433
61434 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61435 it wasn't used.
61436
61437 2011-08-23 David S. Miller <davem@davemloft.net>
61438
61439 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61440 subtract stack bias.
61441 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61442 %sp not %fp in calculations.
61443 (_JMPBUF_UNWINDS_ADJ): Likewise.
61444
61445 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61446 (aio_suspend): Call it to force an exception region around the
61447 AIO_MISC_WAIT() invocation.
61448
61449 2011-08-23 Andreas Schwab <schwab@redhat.com>
61450
61451 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61452 backslash.
61453
61454 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61455
61456 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61457 protection macro.
61458 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61459 and <dl-machine.h>.
61460 (Elf64_FuncDesc): Remove.
61461
61462 2011-08-22 David S. Miller <davem@davemloft.net>
61463
61464 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61465 sigaltstack check, add missing cfi directives.
61466 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61467 missing cfi directives, and sigaltstack handling.
61468
61469 2011-08-16 Andreas Schwab <schwab@redhat.com>
61470
61471 [BZ #11724]
61472 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61473 object is seen twice.
61474 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61475
61476 * elf/Makefile (distribute): Add tst-initorder2.c.
61477 (tests): Add tst-initorder2.
61478 (modules-names): Add tst-initorder2a tst-initorder2b
61479 tst-initorder2c tst-initorder2d. Add rules to build them.
61480 ($(objpfx)tst-initorder2.out): New rule.
61481 * elf/tst-initorder2.c: New file.
61482 * elf/tst-initorder2.exp: New file.
61483
61484 2011-08-22 Andreas Schwab <schwab@redhat.com>
61485
61486 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61487
61488 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61489 dependencies back to end of function.
61490
61491 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61492 $(elfobjdir)/ld.so.
61493
61494 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61495
61496 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61497 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61498 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61499 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61500 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61501 of __vdso_gettimeofday.
61502 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61503 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61504 attribute_hidden.
61505 (_libc_vdso_platform_setup): Remove initialization of
61506 __vdso_gettimeofday and __vdso_time.
61507
61508 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61509
61510 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61511 and fgetc_unlocked.
61512 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61513 getc_unlocked.
61514
61515 * elf/dl-open.c (add_to_global): Report additions to the global scope
61516 for LD_DEBUG=scopes.
61517 (dl_open_worker): Also print scope of newly loaded dependencies.
61518 (_dl_show_scope): Indicate if there is no scope.
61519
61520 [BZ #13114]
61521 * stdio-common/Makefile (tests): Add bug24.
61522 * stdio-common/bug24.c: New file.
61523
61524 2011-08-19 Andreas Jaeger <aj@suse.de>
61525
61526 [BZ #13114]
61527 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61528 non-existant file when using close-on-exec mode.
61529
61530 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61531
61532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61533 the very first instruction.
61534
61535 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61536 the CFI state in the end.
61537 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61538 inclusion of dl-trampoline.h.
61539 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61540
61541 2011-08-19 Andreas Schwab <schwab@redhat.com>
61542
61543 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61544 expectations for long double.
61545
61546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61547 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61548
61549 2011-08-14 David S. Miller <davem@davemloft.net>
61550
61551 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61552 artificual limit depends upon the system page size.
61553
61554 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61555
61556 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61557 * resolv/Makefile: Define CFLAGS-libresolv.
61558
61559 2011-08-17 Andreas Schwab <schwab@redhat.com>
61560
61561 * nss/makedb.c (compute_tables): Make variables used in nested
61562 function static.
61563
61564 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61565
61566 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61567 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61568 if buffer was too small.
61569
61570 * elf/pldd.c (main): Attach to all threads in the process.
61571 Rewrite /proc handling to use *at functions.
61572
61573 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61574
61575 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61576 specifies first scope to show.
61577 (dl_open_worker): Update callers. Move printing scope of new
61578 object to before the relocation.
61579 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61580 * sysdeps/generic/ldsodefs.h: Update declaration.
61581
61582 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61583 string for the scope number.
61584
61585 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61586
61587 * nscd/servicescache.c (cache_addserv): Make sure written is always
61588 initialized.
61589
61590 2011-08-14 Roland McGrath <roland@hack.frob.com>
61591
61592 * sysdeps/i386/i486/bits/atomic.h
61593 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61594 statement expression, so as to suppress "set but not used" warning.
61595 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61596
61597 * string/strncat.c (STRNCAT): Use prototype definition.
61598
61599 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61600 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61601 -Iprograms here.
61602 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61603 (localedef-modules): Add localedef.
61604 (locale-modules): Add locale.
61605
61606 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61607 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61608 to avoid a warning.
61609
61610 2011-08-14 David S. Miller <davem@davemloft.net>
61611
61612 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61613 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61614
61615 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61616
61617 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61618 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61619 * elf/rtld.c (dl_main): Set l_name of vDSO.
61620 Call _dl_show_scope when DL_DEBUG_SCOPES.
61621 (process_dl_debug): Recognize scopes flag and also set it for all.
61622 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61623 Declare _dl_show_scope.
61624
61625 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61626 (do_dlopen): Pass caller_dlopen to dl_open.
61627 (__libc_dlopen_mode): Initialize caller_dlopen.
61628
61629 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61630 of libc. Make tolower call locale-independent. Optimize a bit by
61631 using isdigit instead of isalnum.
61632 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61633
61634 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61635
61636 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61637 was a dependency or dynamically loaded.
61638
61639 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61640
61641 * intl/l10nflist.c: Allow architecture-specific pop function.
61642 * sysdeps/x86_64/l10nflist.c: New file.
61643
61644 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61645 classification.
61646
61647 2011-08-10 Andreas Schwab <schwab@redhat.com>
61648
61649 * include/dirent.h: Add libc_hidden_proto for scandirat and
61650 scandirat64. Don't declare __scandirat64.
61651 * dirent/scandirat.c: Add libc_hidden_def.
61652 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61653 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61654
61655 2011-08-10 David S. Miller <davem@davemloft.net>
61656
61657 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61658 enum.
61659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61662
61663 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61664
61665 * Versions.def [libc]: Add GLIBC_2.15.
61666 * dirent/Makefile (routines): Add scandirat and scandirat64.
61667 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61668 GLIBC_2.15.
61669 * dirent/dirent.h: Declare scandirat and scandirat64.
61670 * dirent/scandirat.c: New file.
61671 * dirent/scandirat64.c: New file.
61672 * sysdeps/wordsize-64/scandirat.c: New file.
61673 * sysdeps/wordsize-64/scandirat64.c: New file.
61674 * dirent/opendir.c: Define opendirat.
61675 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61676 using scandirat.
61677 * dirent/scandir64.c: Adjust for scandir.c change.
61678 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61679 __scandirat64, and __scandir_cancel_handler.
61680 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61681 additional parameter and use openat instead of open (outside of ld.so).
61682 Add new __opendir as wrapper around __opendirat.
61683 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61684 here without requiring old scandirat implementation.
61685
61686 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61687
61688 * dirent/scandir.c (cancel_handler): Renamed to
61689 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61690 defined. Adjust users.
61691 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61692 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61693
61694 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61695
61696 * string/test-string.h (IMPL): Use __STRING to expand name and then
61697 stringify it.
61698
61699 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61700 of cleanups.
61701
61702 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61703
61704 * string/Makefile: Update.
61705 (strop-tests): Append strncat.
61706 * string/test-wcscmp.c: New file.
61707 New comprehensive test for wcscmp.
61708 * string/test-strcmp.c: Update.
61709 (WIDE): New define.
61710
61711 2011-07-22 Andreas Schwab <schwab@redhat.com>
61712
61713 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61714 line.
61715
61716 2011-07-26 Andreas Schwab <schwab@redhat.com>
61717
61718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61719 encoding to ACE if AI_IDN.
61720
61721 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61722
61723 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61724 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61725
61726 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61727
61728 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61729 Fix overflow bug in strncat.
61730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61731
61732 * string/test-strncat.c: Update.
61733 Add new tests for checking overflow bugs.
61734
61735 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61736
61737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61738 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61739 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61740 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61741 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61742 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61743 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61744 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61745 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61746
61747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61748 (USE_AS_STRCAT): Define.
61749 Add strcat and strncat support.
61750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61751
61752 2011-07-25 Andreas Schwab <schwab@redhat.com>
61753
61754 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61755 __n bigger than INT_MAX+1.
61756 (__strncmp_g): Likewise.
61757
61758 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61759
61760 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61761 * libio/stido.h: Likewise.
61762
61763 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61764 (AF_NFC): Define.
61765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61766 (AF_NFC): Define.
61767
61768 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61769 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61770 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61771 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61772 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61773
61774 [BZ #13021]
61775 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61776 installed.
61777
61778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61779 typo.
61780 (_dl_x86_64_save_sse): Likewise.
61781
61782 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61783
61784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61785 OSXSAVE.
61786 (_dl_x86_64_save_sse): Likewise.
61787
61788 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61789
61790 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61791
61792 2011-07-21 Andreas Schwab <schwab@redhat.com>
61793
61794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61795 change.
61796 (_dl_x86_64_save_sse): Use correct AVX check.
61797
61798 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61799
61800 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61801 bug in strncpy/strncat.
61802 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61803
61804 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61805
61806 * string/tester.c (test_strcat): Add tests for different alignments
61807 of source and destination.
61808 (test_strncat): Likewise.
61809
61810 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61811
61812 [BZ #12852]
61813 * posix/glob.c (glob): Check passed in values before using them in
61814 expressions to avoid some overflows.
61815 (glob_in_dir): Likewise.
61816
61817 [BZ #13007]
61818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61819 check for AVX enablement so that we don't crash with old kernels and
61820 new hardware.
61821 * elf/tst-audit4.c: Add same checks here.
61822 * elf/tst-audit6.c: Likewise.
61823
61824 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61825
61826 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61827
61828 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61829
61830 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61831
61832 * po/cs.po: Update from translation team.
61833 * po/bg.po: Likewise.
61834
61835 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61836
61837 * misc/sys/cdefs.h: Add support for const attribute.
61838 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61839 to gnu_dev_{major,minor,makedev} functions.
61840
61841 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61842
61843 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61844
61845 2011-07-20 Andreas Schwab <schwab@redhat.com>
61846
61847 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61848 strlen results.
61849
61850 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61851
61852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61853 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61854 register in order to avoid conflicts with the soft frame pointer
61855 being held in r11 when necessary.
61856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61857 (INTERNAL_VSYSCALL_NCS): Likewise.
61858
61859 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61860
61861 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61862 * elf/dl-fini.c (_dl_fini): Adjust caller.
61863 * elf/dl-close.c (_dl_close_worker): Likewise.
61864 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61865
61866 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61867
61868 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61869 "aux_cache->nlibs < 0".
61870
61871 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61872 in the reload-count case.
61873
61874 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61875
61876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61877 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61878 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61879 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61880 * sysdeps/x86_64/multiarch/strcat.S: New file.
61881 * sysdeps/x86_64/multiarch/strncat.S: New file.
61882 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61883 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61884 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61885 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61886 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61887 (USE_AS_STRCAT): Define.
61888 Add strcat and strncat support.
61889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61890 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61891 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61892 * string/strncat.c: Update.
61893 (USE_AS_STRNCAT): Define.
61894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61895 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61896 and i7.
61897 * sysdeps/x86_64/multiarch/init-arch.h
61898 (bit_Prefer_PMINUB_for_stringop): New.
61899 (index_Prefer_PMINUB_for_stringop): Likewise.
61900 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61901 bit_Prefer_PMINUB_for_stringop.
61902
61903 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61904
61905 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61906 buffer64.
61907 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61908 of casting of buffer.
61909 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61910 buffer32 and buffer64.
61911 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61912 writes instead of casting of buffer.
61913 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61914 buffer32.
61915 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61916 casting of buffer.
61917
61918 2011-07-19 Andreas Schwab <schwab@redhat.com>
61919
61920 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61921
61922 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61923
61924 * nscd/nscd.c (termination_handler): Don't do anything for a database
61925 if it has not yet been initialized.
61926
61927 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61928
61929 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61930
61931 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61932
61933 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61934
61935 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61936
61937 * po/nl.po: Update from translation team.
61938 * po/sv.po: Likewise.
61939
61940 2011-07-16 Roland McGrath <roland@hack.frob.com>
61941
61942 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61943 now disallowed by GCC.
61944
61945 * configure.in (use-default-link): Default to yes if a test -shared
61946 link meets our qualifications.
61947 * configure: Regenerated.
61948
61949 * config.make.in (output-format): New variable.
61950 * configure.in: Check for ld --print-output-format support.
61951 * configure: Regenerated.
61952 * Makerules ($(common-objpfx)format.lds)
61953 [$(output-format) != unknown]: Just use $(output-format),
61954 instead of the linker-script munging.
61955
61956 2011-07-14 Roland McGrath <roland@hack.frob.com>
61957
61958 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61959 of $(common-objpfx)shlib.lds.
61960 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61961
61962 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61963 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61964
61965 * configure.in (-z relro check): Adjust test code to add a large
61966 writable data section after it.
61967 * configure: Regenerated.
61968
61969 2011-07-11 Roland McGrath <roland@hack.frob.com>
61970
61971 * configure.in (-z relro check): Fix test code to make the variable
61972 truly const.
61973 * configure: Regenerated.
61974
61975 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61976
61977 * nscd/nscd.h (struct traced_file): Define.
61978 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61979 elements. Add traced_files.
61980 (inotify_fd): Declare.
61981 (register_traced_file): Declare.
61982 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61983 (inotify_fd): Export.
61984 (resolv_conf_descr): Remove.
61985 (nscd_init): Move inotify descriptor creation to main.
61986 Don't register files for notification here.
61987 (register_traced_file): New function.
61988 (invalidate_cache): Don't use reset_res to determine whether to call
61989 res_init, go through the list of registered files.
61990 (main_loop_poll): The inotify descriptors are now stored in the
61991 structures for the traced files.
61992 (main_loop_epoll): Likewise
61993 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61994 to __nss_disable_nscd.
61995 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61996 for a database anymore. Check the records for all the registered
61997 files instead.
61998 * nss/Makefile (libnss_files-routines): Add files-init.
61999 (libnss_db-routines): Add db-init.
62000 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62001 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62002 * nss/nss_db/db-init.c: New file.
62003 * nss/nss_files/files-init.c: New file.
62004 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62005 __nss_lookup_function.
62006 (__nss_lookup_function): Call nss_load_library.
62007 (nss_load_all_libraries): New function.
62008 (__nss_disable_nscd): Take parameter with callback function for files
62009 to register. Set is_nscd. Load all the DSOs for the NSS modules
62010 used for the cached services.
62011 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62012 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62013 options for features to all the files in nscd.
62014
62015 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62016
62017 2011-07-10 Roland McGrath <roland@hack.frob.com>
62018
62019 * csu/elf-init.c (__libc_csu_init): Comment typo.
62020
62021 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62022
62023 * po/pl.po: Update from translation team.
62024 * po/ja.po: Likewise.
62025 * po/ru.po: Likewise.
62026 * po/ko.po: Likewise.
62027 * po/fr.po: Likewise.
62028
62029 2011-07-09 Roland McGrath <roland@hack.frob.com>
62030
62031 * configure.in (.ctors/.dtors header and trailer check):
62032 Use an empirical test on a built program.
62033 * configure: Regenerated.
62034
62035 * configure.in (-z relro check): Use an empirical test on a built DSO.
62036 Detect, but do not require, on ia64.
62037 * configure: Regenerated.
62038
62039 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62040 Update tests that use readelf to use $READELF instead.
62041 * configure: Regenerated.
62042
62043 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62044
62045 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62046 if the result is not used.
62047
62048 2011-07-05 Andreas Jaeger <aj@suse.de>
62049
62050 [BZ#9696]
62051 * stdlib/tst-strtod.c: Add testcase.
62052
62053 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62054
62055 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62056 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62057 The latter has a higher limit. Take additional parameter to pass to
62058 the new function.
62059 (__pathconf): Pass file to __statfs_link_max.
62060 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62061 __statfs_link_max.
62062 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62063 __statfs_link_max.
62064
62065 [BZ #12868]
62066 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62067 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62068 Handle Lustre.
62069 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62070 (__statfs_filesize_max): Likewise.
62071 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62072
62073 2011-07-05 Andreas Jaeger <aj@suse.de>
62074
62075 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62076
62077 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62078
62079 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62080 `status' variable.
62081 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62082 Likewise.
62083
62084 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62085
62086 * Makefile (strop-tests): Add strncat.
62087 * string/test-strncat.c: New file.
62088
62089 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62090
62091 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62092
62093 2011-06-21 Andreas Jaeger <aj@suse.de>
62094
62095 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62096 Copy rule from iconvdata/Makefile.
62097
62098 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62099
62100 [BZ #12922]
62101 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62102 but no long options are defined, just return 'W'.
62103
62104 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62105
62106 [BZ #9696]
62107 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62108
62109 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62110
62111 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62112 netgroups to read.
62113 (innetgr): Likewise.
62114
62115 2011-07-05 Roland McGrath <roland@hack.frob.com>
62116
62117 * config.make.in (install_root): Default to $(DESTDIR).
62118
62119 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62120
62121 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62122
62123 2011-07-02 Roland McGrath <roland@hack.frob.com>
62124
62125 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62126
62127 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62128 containing directory rather than embedding absolute directory names.
62129
62130 * scripts/check-local-headers.sh: Rewritten using awk.
62131 Match by word, not by line. Print error messages for matches.
62132 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62133
62134 * Makerules [shlib-lds-flags empty]:
62135 ($(common-objpfx)libc_pic.opts): New target.
62136 ($(common-objpfx)libc_pic.os.clean): New target.
62137 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62138
62139 * config.make.in (OBJCOPY): New variable.
62140 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62141 * configure: Regenerated.
62142
62143 * config.make.in (use-default-link): New variable.
62144 * configure.in (use_default_link): Grok --with-default-link to set it.
62145 * configure: Regenerated.
62146 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62147 (shlib-lds, shlib-lds-flags): Define to empty.
62148
62149 * Makerules (shlib-lds): New variable.
62150 (shlib-lds-flags): New variable.
62151 (build-shlib, build-moduile, build-module-asneeded): Use it.
62152 ($(common-objpfx)libc.so): Use $(shlib-lds).
62153 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62154 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62155
62156 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62157 DT_FLAGS/DT_FLAGS_1 with zero flags.
62158
62159 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62160 linker script munging.
62161
62162 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62163
62164 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62165 as 128-bit value.
62166 * crypt/sha512.c (sha512_process_block): Perform total addition using
62167 128-bit if possible.
62168 (__sha512_finish_ctx): Likewise.
62169 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62170 as 64-bit value.
62171 * crypt/sha256.c (SWAP64): Define.
62172 (sha256_process_block): Perform total addition using 64-bit if
62173 possible.
62174 (__sha256_finish_ctx): Likewise.
62175
62176 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62177
62178 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62180 * nscd/hstcache.c (cache_addhst): Likewise.
62181 * nscd/grpcache.c (cache_addgr): Likewise.
62182 * nscd/aicache.c (addhstaiX): Likewise
62183 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62184
62185 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62186
62187 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62189 * nscd/hstcache.c (cache_addhst): Likewise.
62190 * nscd/grpcache.c (cache_addgr): Likewise.
62191 * nscd/aicache.c (addhstaiX): Likewise
62192
62193 2011-07-01 Andreas Schwab <schwab@redhat.com>
62194
62195 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62196 domain only when needed.
62197
62198 2011-06-30 Andreas Schwab <schwab@redhat.com>
62199
62200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62201 is always restored.
62202
62203 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62204
62205 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62206 are re-adding the entry.
62207 * nscd/servicescache.c (cache_addserv): Likewise.
62208
62209 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62210
62211 * sysdeps/generic/dl-irel.h: fix protection against multiple
62212 inclusions.
62213 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62214
62215 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62216
62217 [BZ #12935]
62218 * malloc/memusage.sh: Fix quoting in message.
62219 * debug/xtrace.sh: Likewise.
62220
62221 * configure.in: Remove support for --experimental-malloc option, make
62222 it the default.
62223 * config.make.in: Likewise.
62224 * malloc/Makefile: Likewise.
62225
62226 2011-06-27 Andreas Schwab <schwab@redhat.com>
62227
62228 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62229 two-byte characters.
62230
62231 2011-06-27 Roland McGrath <roland@hack.frob.com>
62232
62233 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62234 AC_CACHE_CHECK invocation.
62235 * configure: Regenerated.
62236
62237 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62238
62239 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62240
62241 [BZ #12350]
62242 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62243 bit from old_res_options.
62244
62245 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62246
62247 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62248 value type for setfct.
62249
62250 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62251
62252 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62253 __gettimeofday instead of gettimeofday.
62254
62255 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62256
62257 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62258
62259 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62260
62261 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62262
62263 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62264 info.
62265
62266 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62267
62268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62269 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62270 strcpy-sse2-unaligned strncpy-sse2-unaligned
62271 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62272 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62273 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62274 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62275 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62277 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62278 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62279 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62280 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62281 (STRCPY): Support SSE2 and SSSE3 versions.
62282
62283 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62284
62285 [BZ #12874]
62286 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62287 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62288 kernels which artificially limit size of requests.
62289
62290 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62291
62292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62293 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62294 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62295 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62296 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62297 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62298 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62299 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62300 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62301 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62302 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62303 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62304 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62305 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62306 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62308 Enable unaligned load optimization for Intel Core i3, i5 and i7
62309 processors.
62310 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62311 Define.
62312 (index_Fast_Unaligned_Load): Define.
62313 (HAS_FAST_UNALIGNED_LOAD): Define.
62314
62315 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62316
62317 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62318
62319 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62320
62321 [BZ #12907]
62322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62323 until it is clear that the information is realy needed.
62324 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62325
62326 2011-06-22 Andreas Schwab <schwab@redhat.com>
62327
62328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62329
62330 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62331
62332 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62333 /sys/devices/system/cpu/online if it is usable.
62334
62335 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62336 reading the information from the /proc filesystem to once a second.
62337
62338 2011-06-21 Andreas Jaeger <aj@suse.de>
62339
62340 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62341 NULL after inclusion of kernel headers.
62342
62343 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62344
62345 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62346 calls to internal_setent.
62347
62348 [BZ #12885]
62349 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62350 addresses using gethostbyname4_r ignore IPv4 addresses.
62351
62352 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62353 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62354
62355 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62356
62357 2011-06-20 David S. Miller <davem@davemloft.net>
62358
62359 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62360 inclusions.
62361 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62362
62363 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62364 (elf_irel): Use it.
62365 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62366 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62367 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62368 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62369 * sysdeps/x86_64/dl-irel.h: Likewise.
62370
62371 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62372 * elf/dl-sym.c: Likewise.
62373
62374 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62375
62376 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62377 need to dereference resplen2.
62378
62379 2011-06-14 Andreas Schwab <schwab@redhat.com>
62380
62381 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62382
62383 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62384
62385 * Makeconfig: Define vardbdir and inst_vardbdir.
62386 * nss/Makefile: Add rules to install db-Makefile.
62387
62388 * nss/nss_db/db-XXX.c: Cleanup.
62389
62390 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62391 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62392 GLIBC_PRIVATE.
62393 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62394 * nss/makedb.c: Implement -g option to specify that value strings
62395 are generated and should not be added to table iterated over for
62396 get*ent calls.
62397 * nss/nss_db/db-initgroups.c: New file.
62398
62399 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62400 interface.
62401
62402 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62403 (internal_getgrouplist): Adjust to name change.
62404 Update use_initgroups_entry if this is not the first call.
62405 * nss/databases.def: Add initgroups entry.
62406
62407 * nss/makedb.c (compute_tables): Check result of multiple hash table
62408 sizes to minimize maximum chain length.
62409
62410 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62411
62412 * Versions.def: Add entry for libnss_db.
62413 * shlib-versions: Likewise.
62414 * nss/Makefile: Add rules to build libnss_db.
62415 * nss/Versions: Add libnss_db information. Organize libnss_files
62416 entries better.
62417 * nss/db-Makefile: Add gshadow support. Change rules for the new
62418 makedb progra. Some minor improvements to generate smaller files.
62419 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62420 here from...
62421 * nss/makedb.c: ...here.
62422 Improve database format to be smaller and require less memory at
62423 runtime.
62424 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62425 db anymore.
62426 * nss/nss_db/db-netgrp.c: Likewise.
62427 * nss/nss_db/db-open.c: Likewise.
62428 * nss/nss_files/flies-XXX.x: Adjust comments.
62429 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62430 * nss/nss_files/files-grp.c: Likewise.
62431 * nss/nss_files/files-hosts.c: Likewise.
62432 * nss/nss_files/files-network.c: Likewise.
62433 * nss/nss_files/files-proto.c: Likewise.
62434 * nss/nss_files/files-pwd.c: Likewise.
62435 * nss/nss_files/files-rpc.c: Likewise.
62436 * nss/nss_files/files-service.c: Likewise.
62437 * nss/nss_files/files-sgrp.c: Likewise.
62438 * nss/nss_files/files-spwd.c: Likewise.
62439 * nss/nss_db/db-alias.c: Removed.
62440 * nss/nss_db/dummy-db.h: Removed.
62441
62442 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62443
62444 * nss/makedb.c: Rewritten to not use database library.
62445 * nss/Makefile: Update to build new makedb program.
62446
62447 2011-06-14 Andreas Jaeger <aj@suse.de>
62448
62449 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62450 memset declaration.
62451
62452 2011-06-10 Andreas Schwab <schwab@redhat.com>
62453
62454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62455 tmpbuf.
62456
62457 2011-06-10 Roland McGrath <roland@hack.frob.com>
62458
62459 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62460 * elf/Makefile ($(objpfx)ld.so): Likewise.
62461
62462 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62463 Don't list ld.so twice in dependencies.
62464
62465 * posix/bug-regex31.c: Include <stdlib.h>.
62466
62467 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62468
62469 * nis/nss_compat/compat-spwd.c
62470 (getspent_next_nss_netgr): Remove unused variable.
62471 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62472
62473 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62474 nonmembers" output to use the right array.
62475
62476 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62477
62478 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62479
62480 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62481 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62482 * catgets/gencat.c (read_input_file): Likewise.
62483 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62484
62485 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62486 variable definition inside #if's controlling its use.
62487
62488 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62489
62490 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62491
62492 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62493
62494 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62495 unreachable code.
62496
62497 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62498
62499 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62500 * configure: Regenerated.
62501
62502 * Makerules: Revert last change.
62503 * elf/Makefile: Likewise.
62504
62505 2011-06-09 Roland McGrath <roland@hack.frob.com>
62506
62507 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62508 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62509 (reloc-link): Likewise.
62510
62511 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62512
62513 * elf/Makefile: Add rules to build pldd.
62514 * elf/pldd.c: New file.
62515 * elf/pldd-xx.c: New file.
62516
62517 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62518
62519 * version.h: Update for 2.15 development version.
62520
62521 2011-06-07 David S. Miller <davem@davemloft.net>
62522
62523 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62524 ifuncs.
62525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62526 elf_machine_lazy_rel): Likewise.
62527 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62529 elf_machine_lazy_rel): Likewise.
62530 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62531 dl_hwcap via passed in argument.
62532 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62533 Likewise.
62534
62535 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62536
62537 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62538
62539 2011-06-06 Roland McGrath <roland@hack.frob.com>
62540
62541 [BZ #12849]
62542 * manual/fdl-1.1.texi: New file, verbatim from:
62543 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62544 * manual/lgpl-2.1.texi: New file, verbatim from:
62545 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62546 * manual/Makefile (licenses): New variable, list those new file names.
62547 (texis): Use it.
62548 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62549
62550 * manual/fdl.texi: File removed.
62551 * manual/lesser.texi: File removed.
62552 * manual/libc.texinfo (Copying, Documentation License):
62553 Use new @include file names, put @appendix directive before @include.
62554
62555 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62556
62557 [BZ #12841]
62558 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62559 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62560 (mq_open): Add __NTH.
62561
62562 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62563
62564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62565 Assume Intel Core i3/i5/i7 processor if AVX is available.
62566
62567 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62568
62569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62570 typo.
62571
62572 2011-05-31 Andreas Schwab <schwab@redhat.com>
62573
62574 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62575 memory. Use alloca_account. Fix memory leak when retrying.
62576
62577 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62578
62579 * version.h (RELEASE): Bump for 2.14 release.
62580 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62581
62582 * config.make.in (RANLIB): Remove entry.
62583
62584 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62585
62586 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62587 (libc.pot): Work around missing support for .ksh extension in xgettext.
62588
62589 [BZ #12684]
62590 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62591 if both request failed.
62592 (send_dg): In case of server errors clear resplen or *resplen2.
62593
62594 [BZ #12454]
62595 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62596 when there are multiple maps.
62597 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62598 (_dl_fini): Remove test here.
62599
62600 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62601
62602 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62603
62604 [BZ #12350]
62605 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62606 bit from old_res_options.
62607 (gaih_inet): Likewise.
62608
62609 [BZ #11099]
62610 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62611 as signed.
62612
62613 * resolv/res_init.c (res_setoptions): Make the code more compact.
62614
62615 [BZ #11558]
62616 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62617 set RES_USEVC.
62618
62619 [BZ #11634]
62620 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62621
62622 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62623
62624 [BZ #11781]
62625 * malloc/malloc.h: Declare malloc hook variables as volatile.
62626
62627 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62628 in last patch.
62629
62630 [BZ #11799]
62631 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62632 raise in the comment.
62633 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62634 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62635 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62636
62637 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62638
62639 [BZ #12811]
62640 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62641 grow the buffers more if it already has to be sufficient.
62642 (build_wcs_upper_buffer): Likewise.
62643 * posix/regexec.c (check_matching): Likewise.
62644 (clean_state_log_if_needed): Likewise.
62645 (extend_buffers): Don't enlarge buffers beyond size of the input
62646 buffer.
62647 Patches mostly by Emil Wojak <emil@wojak.eu>.
62648 * posix/bug-regex32.c: New file.
62649 * posix/Makefile (tests): Add bug-regex32.
62650
62651 * locale/findlocale.c (_nl_find_locale): Return right away if
62652 _nl_explode_name failed.
62653 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62654
62655 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62656
62657 * debug/xtrace.sh: Unify messages.
62658 * malloc/memusage.sh: Likewise.
62659
62660 [BZ #12813]
62661 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62662 time symbol from vDSO. Substitute with vsyscall if not available.
62663 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62664 __vdso_time.
62665
62666 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62667 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62668 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62669 Add sendmmsg and internal_sendmmsg.
62670 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62671 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62672 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62673
62674 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62675 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62677
62678 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62679
62680 [BZ #12813]
62681 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62682 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62683 available.
62684 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62685 __vdso_getcpu.
62686
62687 [BZ #12814]
62688 * iconvdata/Makefile (tests): Add bug-iconv9.
62689 * iconvdata/bug-iconv9.c: New file.
62690
62691 2011-05-27 Andreas Schwab <schwab@redhat.com>
62692
62693 [BZ #12814]
62694 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62695
62696 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62697
62698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62699 (struct user_regs_struct): Change intcs field back to cs.
62700
62701 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62702
62703 * po/ja.po: Update from translation team.
62704
62705 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62706
62707 [BZ #12795]
62708 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62709 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62710
62711 2011-05-20 Andreas Schwab <schwab@redhat.com>
62712
62713 * stdlib/longlong.h: Update from GCC.
62714
62715 2011-05-23 Andreas Schwab <schwab@redhat.com>
62716
62717 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62718 parameter name.
62719 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62720 Add parameter name.
62721 (__sysconf): Pass it down.
62722
62723 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62724
62725 [BZ #12671]
62726 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62727 some situations.
62728 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62729 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62730 add in in __libc_use_alloca calls. Adjust callers.
62731 (glob): Use malloc in some situations.
62732
62733 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62734 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62735 pltexit.
62736
62737 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62738
62739 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62740 and CLOCK_BOOTTIME_ALARM.
62741
62742 [BZ #12782]
62743 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62744 is returned.
62745
62746 * string/_strerror.c (__strerror_r): Print negative errors as signed
62747 numbers.
62748
62749 [BZ #12777]
62750 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62751 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62752 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62753
62754 * configure.in: Fix typo in redirection and correct removal of test
62755 files in two cases.
62756
62757 [BZ #12788]
62758 * locale/setlocale.c (new_composite_name): Fix test to check for
62759 identical name of all categories.
62760
62761 [BZ #12792]
62762 * libio/filedoalloc.c (local_isatty): New function.
62763 (_IO_file_doallocate): Use local_isatty.
62764 * stdio-common/perror.c (perror): In case a new stream is used
62765 forward the stream error.
62766 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62767 error flag.
62768
62769 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62770
62771 [BZ #11869]
62772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62773 alloca.
62774 * include/alloca.h (extend_alloca_account): Define.
62775
62776 [BZ #11857]
62777 * posix/regex.h: Fix comments with documentation of user-accessible
62778 fields after compilation and describe correct free'ing of pattern
62779 after re_compile_pattern.
62780 Patch by Reuben Thomas <rrt@sc3d.org>.
62781
62782 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62783
62784 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62785 and -mno-altivec to prevent the compiler from using Altivec and/or
62786 VSX instructions when the corresponding registers are not available.
62787
62788 2011-05-19 Andreas Schwab <schwab@redhat.com>
62789
62790 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62791
62792 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62793
62794 * libio/freopen.c (freopen): Use __dup2, not dup2.
62795 * libio/freopen64.c (freopen64): Likewise.
62796
62797 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62798
62799 [BZ #12775]
62800 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62801 * math/Makefile (tests): Add test-powl.
62802 (CFLAGS-test-powl.c): Define.
62803 * math/test-powl.c: New file.
62804
62805 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62806
62807 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62808
62809 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62810
62811 [BZ #11837]
62812 * iconvdata/gb18030.c: Update to GB18020-2005.
62813
62814 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62815
62816 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62817 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62818 Patch by Aharon Robbins <arnold@skeeve.com>.
62819
62820 [BZ #11892]
62821 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62822 on the stack.
62823
62824 [BZ #11895]
62825 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62826 through underflows.
62827
62828 [BZ #12766]
62829 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62830 point to strings before performing equality test for error_one_per_line
62831 mode.
62832
62833 [BZ #11697]
62834 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62835
62836 [BZ #11820]
62837 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62838 (struct user_fpregs_struct): Avoid __uint*_t types.
62839
62840 [BZ #6420]
62841 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62842 symbol info. Use it instead of calling _dl_addr locally.
62843 (lock_and_info): New function.
62844 (tr_freehook): Call lock_and_info and pass symbol info as additional
62845 parameter to tr_where.
62846 (tr_mallochook): Likewise.
62847 (tr_reallochook): Likewise.
62848 (tr_memalignhook): Likewise.
62849
62850 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62851 used and couldn't be at all thread-safe.
62852
62853 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62854
62855 * libio/freopen.c (freopen): Don't close old file descriptor
62856 before the new one is opened. Instead dup the new file descriptor
62857 to the old one after the new stream is created.
62858 * libio/freopen64.c (freopen64): Likewise.
62859 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62860 * libio/fileops.c (_IO_new_file_close_it): Handle new
62861 _IO_FLAGS2_NOCLOSE flag.
62862 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62863 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62864 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62865 _IO_FLAGS2_NOCLOSE flag.
62866 * include/unistd.h: Add hidden_proto for dup3.
62867 Define __have_dup3.
62868 * io/dup3.c: Define hidden symbol.
62869 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62870
62871 [BZ #7101]
62872 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62873 when an incomplete long option is used.
62874 * posix/tst-getopt_long1.c: New file.
62875 * posix/Makefile (tests): Add tst-getopt_long1.
62876
62877 [BZ #10138]
62878 * scripts/config.guess: Update from autoconf-2.68.
62879 * scripts/config.sub: Likewise.
62880
62881 [BZ #10157]
62882 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62883 tests into ...
62884 (has_cpuclock): ...this. New function.
62885 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62886 macro here based on has_cpuclock code.
62887
62888 [BZ #10149]
62889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62890 First byte (not low byte) is now always NUL.
62891 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62892
62893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62894 Use non-cancelable interfaces.
62895
62896 [BZ #9809]
62897 * locale/iso-639.def: Add entry for Sorani.
62898
62899 [BZ #11901]
62900 * include/stdlib.h: Move include protection to the right place.
62901 Define abort_msg_s. Declare __abort_msg with it.
62902 * stdlib/abort.c (__abort_msg): Adjust type.
62903 * assert/assert.c (__assert_fail_base): New function. Majority
62904 of code from __assert_fail. Allocate memory for __abort_msg with
62905 mmap.
62906 (__assert_fail): Now call __assert_fail_base.
62907 * assert/assert-perr.c: Remove bulk of implementation. Use
62908 __assert_fail_base.
62909 * include/assert.hL Declare __assert_fail_base.
62910 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62911 mmap.
62912 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62913
62914 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62915
62916 [BZ #11952]
62917 [BZ #12453]
62918 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62919 until all modules are registered in the DTV.
62920 * elf/Makefile: Add rules to build and run tst-tls19.
62921 * elf/tst-tls19.c: New file.
62922 * elf/tst-tls19mod1.c: New file.
62923 * elf/tst-tls19mod2.c: New file.
62924 * elf/tst-tls19mod3.c: New file.
62925 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62926
62927 [BZ #12083]
62928 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62929 correctly.
62930
62931 [BZ #12601]
62932 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62933 two-byte sequence errors.
62934 * iconvdata/Makefile (tests): Add bug-iconv8.
62935 * iconvdata/bug-iconv8.c: New file.
62936
62937 [BZ #12626]
62938 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62939 buf2 definition.
62940
62941 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62942
62943 [BZ #12432]
62944 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62945 (dummy_getcfa): New function.
62946 (init): Get _Unwind_GetCFA address, use dummy if not found.
62947 (backtrace_helper): In recursion check, also check whether CFA changes.
62948 (__backtrace): Completely initialize arg.
62949
62950 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62951 storing incomplete byte sequence in state object. Avoid testing for
62952 guaranteed too small input if we know there is enough data available.
62953
62954 2011-05-11 Andreas Schwab <schwab@redhat.com>
62955
62956 * Makeconfig (+link-pie): Indent.
62957 * Rules (binaries-pie): Define if $(have-fpie) and
62958 $(build-shared).
62959 (binaries-shared): Also filter out $(binaries-pie).
62960 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62961 * nscd/Makefile (others-pie): Add nscd.
62962 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62963 ($(objpfx)nscd): Remove command override.
62964 * login/Makefile (others-pie): Add pt_chown.
62965 ($(objpfx)pt_chown): Remove command override.
62966 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62967 remove command overrides.
62968
62969 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62970
62971 * libio/tst_putwc.c: Fix error messages.
62972
62973 [BZ #12724]
62974 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62975 currently writing and seek to current position when not.
62976 * libio/Makefile (tests): Add bug-fclose1.
62977 * libio/bug-fclose1.c: New file.
62978
62979 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62980
62981 [BZ #12511]
62982 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62983 don't set DF_1_NODELETE here.
62984 (do_lookup_x): When entering new entry test for copy relocation
62985 and if necessary set DF_1_NODELETE flag.
62986 * elf/tst-unique4.cc: New file.
62987 * elf/tst-unique4.h: New file.
62988 * elf/tst-unique4lib.cc: New file.
62989 * elf/Makefile: Add rules to build and run tst-unique4.
62990 Patch by Piotr Bury <pbury@goahead.com>.
62991
62992 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62993
62994 [BZ #12052]
62995 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62996
62997 [BZ #12625]
62998 * misc/mntent_r.c (addmntent): Flush the stream after the output
62999
63000 [BZ #12393]
63001 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63002 (is_trusted_path_normalize): Skip initial colon. Append slash
63003 to empty buffer. Duplicate is_trusted_path code but allow
63004 constructed patch to be prefix.
63005 (is_dst): Allow $ORIGIN followed by /.
63006 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63007 Correct testing of result of is_trusted_path_normalize
63008 (decompose_rpath): Fix warning.
63009
63010 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63011
63012 [BZ #11257]
63013 * grp/initgroups.c (internal_getgrouplist): When we found the service
63014 list through the initgroups entry in nsswitch.conf do not always
63015 continue on a successful lookup. Don't always use the
63016 __nss_group_database value if it is set.
63017 * nss/nsswitch.conf (initgroups): Change action for successful db
63018 lookup to continue for compatibility.
63019
63020 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63021
63022 [BZ #11532]
63023 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63024 and CP774 modules.
63025 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63026 and CP774 modules.
63027 * iconvdata/tst-tables.sh: Likewise.
63028 * iconvdata/cp770.c: New file.
63029 * iconvdata/cp771.c: New file.
63030 * iconvdata/cp772.c: New file.
63031 * iconvdata/cp773.c: New file.
63032 * iconvdata/cp774.c: New file.
63033 * iconvdata/testdata/CP770: New file.
63034 * iconvdata/testdata/CP770..UTF8: New file.
63035 * iconvdata/testdata/CP771: New file.
63036 * iconvdata/testdata/CP771..UTF8: New file.
63037 * iconvdata/testdata/CP772: New file.
63038 * iconvdata/testdata/CP772..UTF8: New file.
63039 * iconvdata/testdata/CP773: New file.
63040 * iconvdata/testdata/CP773..UTF8: New file.
63041 * iconvdata/testdata/CP774: New file.
63042 * iconvdata/testdata/CP774..UTF8: New file.
63043
63044 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63045 END CHARMAP line.
63046 * iconvdata/gen-8bit-gap.sh: Likewise.
63047 * iconvdata/gen-8bit.sh: Likewise.
63048
63049 * locale/iso-639.def: Add ary entry.
63050
63051 [BZ #11258]
63052 * locale/C-translit.h.in: Add U20A1 transliteration.
63053
63054 [BZ #12178]
63055 * locale/iso-639.def: Add wae entry.
63056 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63057
63058 [BZ #12545]
63059 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63060 for n.
63061
63062 [BZ #12711]
63063 * locale/C-translit.h.in: Add entry for U20B9.
63064 Patch by pravin.d.s@gmail.com.
63065
63066 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63067
63068 [BZ #12713]
63069 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63070 ENAMETOOLONG use generic getcwd.
63071 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63072 in rtld. Use *stat64.
63073 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63074 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63075 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63076 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63077 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63078 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63079 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63080 __fstatat64 macros.
63081 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63082 * dirent/rewinddir.c: Add libc_hidden_def.
63083 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63084 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63085
63086 * include/dirent.h (__alloc_dir): Add flags parameter.
63087 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63088 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63089 __alloc_dir.
63090 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63091 from fdopendir if O_CLOEXEC is already set.
63092
63093 2011-03-15 Alan Modra <amodra@gmail.com>
63094
63095 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63096 l_tls_firstbyte_offset non-zero. Save padding offset in
63097 l_tls_firstbyte_offset for later use.
63098 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63099 freeing static tls block.
63100
63101 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63102
63103 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63104 where #ifdef was intended. The intent is to prevent ARG_MAX from
63105 being defined by the kernel headers.
63106
63107 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63108
63109 [BZ #12734]
63110 * resolv/resolv.h: Define RES_NOTLDQUERY.
63111 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63112 no-tld-query and set RES_NOTLDQUERY.
63113 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63114 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63115 modern BIND to search name as TLD unless forbidden.
63116
63117 2011-05-07 Petr Baudis <pasky@suse.cz>
63118 Ulrich Drepper <drepper@gmail.com>
63119
63120 [BZ #12393]
63121 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63122 (is_trusted_path): ...to here.
63123 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63124 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63125 using is_trusted_path_normalize() in setuid scripts.
63126
63127 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63128
63129 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63130 __BEGIN/__END_DECLS.
63131
63132 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63133
63134 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63135 NSS_STATUS_NOTFOUND if no record was found.
63136
63137 2011-05-05 Andreas Schwab <schwab@redhat.com>
63138
63139 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63140 (headers-not-in-tirpc): Remove rpc/netdb.h
63141 * resolv/netdb.h: Revert last change.
63142
63143 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63144
63145 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63146 circular dependency between libgcc.a and libc.a.
63147
63148 2011-05-05 Andreas Schwab <schwab@redhat.com>
63149
63150 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63151 * nis/Makefile: Don't install rpcsvc/*.
63152 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63153 instead of <rpc/types.h>.
63154 (MAXHOSTNAMELEN): Define.
63155
63156 2011-05-03 Andreas Schwab <schwab@redhat.com>
63157
63158 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63159
63160 2011-04-28 Maciej Babinski <mbabinski@google.com>
63161
63162 [BZ #12714]
63163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63164 gethostbyname4_r when IPv6 results are possible.
63165
63166 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63167
63168 [BZ #12723]
63169 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63170 _PC_PIPE_BUF handling.
63171
63172 2011-04-30 Bruno Haible <bruno@clisp.org>
63173
63174 [BZ #12717]
63175 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63176 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63177 to 'int'.
63178 * inet/getnameinfo.c (getnameinfo): Likewise.
63179
63180 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63181
63182 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63183 to groups setting in database lookup.
63184 * nss/nsswitch.conf: Add initgroups entry.
63185
63186 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63187
63188 [BZ #12685]
63189 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63190 mode string.
63191 Patch by Eric Blake <eblake@redhat.com>.
63192
63193 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63194
63195 * sunrpc/Makefile (need-export-routines): Add svc_run.
63196 (routines): Remove svc_run.
63197 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63198 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63199 * sunrpc/svc_run.c (svc_run): Likewise.
63200 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63201
63202 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63203
63204 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63205 problem in reallocation in last patch.
63206
63207 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63208
63209 * sunrpc/Makefile: Move inclusion of Rules.
63210
63211 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63212
63213 * nss/nss_files/files-initgroups.c: New file.
63214 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63215 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63216 _nss_files_initgroups_dyn.
63217
63218 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63219
63220 * elf/elf.h (R_ARM_IRELATIVE): Define.
63221
63222 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63223
63224 * po/ru.po: Update from translation team.
63225
63226 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63227
63228 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63229 dependencies.
63230
63231 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63232
63233 [BZ #12653]
63234 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63235 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63236 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63239
63240 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63241
63242 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63243 differing bytes.
63244 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63246 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63247
63248 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63249
63250 [BZ #12420]
63251 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63252 storing it.
63253 * stdlib/bug-getcontext.c: New file.
63254 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63255
63256 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63257
63258 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63259 instructions into .machine "z9-109".
63260 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63261 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63262
63263 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63264
63265 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63266 between environment variables and auxiliary vector.
63267
63268 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63269
63270 * Makefile: Add rules to build linkobj/libc.so.
63271 * include/libc-symbols.h: Define libc_hidden_nolink.
63272 * include/rpc/auth.h: Mark functions which are to be hidden.
63273 * include/rpc/auth_des.h: Likewise.
63274 * include/rpc/auth_unix.h: Likewise.
63275 * include/rpc/clnt.h: Likewise.
63276 * include/rpc/des_crypt.h: Likewise.
63277 * include/rpc/key_prot.h: Likewise.
63278 * include/rpc/pmap_clnt.h: Likewise.
63279 * include/rpc/pmap_prot.h: Likewise.
63280 * include/rpc/pmap_rmt.h: Likewise.
63281 * include/rpc/rpc_msg.h: Likewise.
63282 * include/rpc/svc.h: Likewise.
63283 * include/rpc/svc_auth.h: Likewise.
63284 * include/rpc/xdr.h: Likewise.
63285 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63286 * nss/Makefile: Likewise.
63287 * sunrpc/Makefile: Don't install headers. Build library with normal
63288 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63289 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63290 for the compat linking library. Remove use of INTDEF/INTUSE.
63291 * sunrpc/auth_none.c: Likewise.
63292 * sunrpc/auth_unix.c: Likewise.
63293 * sunrpc/authdes_prot.c: Likewise.
63294 * sunrpc/authuxprot.c: Likewise.
63295 * sunrpc/clnt_gen.c: Likewise.
63296 * sunrpc/clnt_perr.c: Likewise.
63297 * sunrpc/clnt_raw.c: Likewise.
63298 * sunrpc/clnt_simp.c: Likewise.
63299 * sunrpc/clnt_tcp.c: Likewise.
63300 * sunrpc/clnt_udp.c: Likewise.
63301 * sunrpc/clnt_unix.c: Likewise.
63302 * sunrpc/des_crypt.c: Likewise.
63303 * sunrpc/des_soft.c: Likewise.
63304 * sunrpc/get_myaddr.c: Likewise.
63305 * sunrpc/key_call.c: Likewise.
63306 * sunrpc/key_prot.c: Likewise.
63307 * sunrpc/netname.c: Likewise.
63308 * sunrpc/pm_getmaps.c: Likewise.
63309 * sunrpc/pm_getport.c: Likewise.
63310 * sunrpc/pmap_clnt.c: Likewise.
63311 * sunrpc/pmap_prot.c: Likewise.
63312 * sunrpc/pmap_prot2.c: Likewise.
63313 * sunrpc/pmap_rmt.c: Likewise.
63314 * sunrpc/publickey.c: Likewise.
63315 * sunrpc/rpc_cmsg.c: Likewise.
63316 * sunrpc/rpc_common.c: Likewise.
63317 * sunrpc/rpc_dtable.c: Likewise.
63318 * sunrpc/rpc_prot.c: Likewise.
63319 * sunrpc/rpc_thread.c: Likewise.
63320 * sunrpc/rtime.c: Likewise.
63321 * sunrpc/svc.c: Likewise.
63322 * sunrpc/svc_auth.c: Likewise.
63323 * sunrpc/svc_authux.c: Likewise.
63324 * sunrpc/svc_raw.c: Likewise.
63325 * sunrpc/svc_run.c: Likewise.
63326 * sunrpc/svc_simple.c: Likewise.
63327 * sunrpc/svc_tcp.c: Likewise.
63328 * sunrpc/svc_udp.c: Likewise.
63329 * sunrpc/svc_unix.c: Likewise.
63330 * sunrpc/svcauth_des.c: Likewise.
63331 * sunrpc/xcrypt.c: Likewise.
63332 * sunrpc/xdr.c: Likewise.
63333 * sunrpc/xdr_array.c: Likewise.
63334 * sunrpc/xdr_float.c: Likewise.
63335 * sunrpc/xdr_intXX_t.c: Likewise.
63336 * sunrpc/xdr_mem.c: Likewise.
63337 * sunrpc/xdr_rec.c: Likewise.
63338 * sunrpc/xdr_ref.c: Likewise.
63339 * sunrpc/xdr_sizeof.c: Likewise.
63340 * sunrpc/xdr_stdio.c: Likewise.
63341
63342 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63343
63344 [BZ #12650]
63345 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63346 * sysdeps/ia64/dl-tls.h: Likewise.
63347 * sysdeps/powerpc/dl-tls.h: Likewise.
63348 * sysdeps/s390/dl-tls.h: Likewise.
63349 * sysdeps/sh/dl-tls.h: Likewise.
63350 * sysdeps/sparc/dl-tls.h: Likewise.
63351 * sysdeps/x86_64/dl-tls.h: Likewise.
63352 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63353
63354 2011-03-14 Andreas Schwab <schwab@redhat.com>
63355
63356 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63357 rpath element also skip the following colon.
63358 (expand_dynamic_string_token): Add is_path parameter and pass
63359 down to DL_DST_REQUIRED and _dl_dst_substitute.
63360 (decompose_rpath): Call expand_dynamic_string_token with
63361 non-zero is_path. Ignore empty rpaths.
63362 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63363 with zero is_path.
63364
63365 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63366
63367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63368 Make cancelable.
63369
63370 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63371
63372 [BZ #12655]
63373 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63374 Patch by Filipe David Manana <fdmanana@apache.org>.
63375
63376 2011-04-07 Andreas Schwab <schwab@redhat.com>
63377
63378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63379 Maintain aligned stack.
63380 (CHECK_RSP): Remove unused macro.
63381
63382 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63383
63384 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63385 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63386
63387 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63388
63389 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63390
63391 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63392
63393 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63394
63395 [BZ #12518]
63396 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63397 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63398 * sysdeps/x86_64/memmove.c: New file.
63399 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63400 (memcpy): Renamed to ...
63401 (__new_memcpy): This.
63402 (memcpy): Provide GLIBC_2_14 memcpy.
63403 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63404 (memcpy): Provide GLIBC_2_2_5 memcpy.
63405
63406 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63407
63408 [BZ #12631]
63409 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63410
63411 2011-03-30 Andreas Schwab <schwab@redhat.com>
63412
63413 * misc/syncfs.c: New file.
63414 * misc/Makefile (routines): Add syncfs.
63415 * posix/unistd.h: Declare syncfs.
63416 * sysdeps/unix/syscalls.list: Add syncfs.
63417
63418 2011-04-01 Andreas Schwab <schwab@redhat.com>
63419
63420 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63421 open_by_handle_at.
63422 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63423 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63427 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63429
63430 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63431
63432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63434 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63439
63440 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63441 sync_file_range.c with -fexceptions.
63442 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63443 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63444 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63445 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63446 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63447 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63448 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63449 sync_file_range as cancellation point
63450 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63451 now a wrapper around __call_sync_file_range with cancellation handling.
63452 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63453 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63454 function name to __call_sync_file_range.
63455 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63456 Add call_sync_file_range.
63457
63458 2011-04-01 Andreas Schwab <schwab@redhat.com>
63459
63460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63461 bits/timex.h.
63462
63463 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63464
63465 * iconv/iconv.h: Fix typo in comment.
63466 * io/fcntl.h: Likewise.
63467 * libio/stdio.h: Likewise.
63468 * posix/spawn.h: Likewise.
63469 * posix/unistd.h: Likewise.
63470 * stdlib/stdlib.h: Likewise.
63471 * time/time.h: Likewise.
63472 * wcsmbs/wchar.h: Likewise.
63473
63474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63475 open_by_handle): Add.
63476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63477 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63478 Augment a few comments.
63479 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63481 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63483 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63484 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63485 open_by_handle.
63486
63487 * io/fcntl.h (AT_EMPTY_PATH): Define.
63488
63489 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63490
63491 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63492 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63493 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63494 to...
63495 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63496 * Versions.def: Add GLIBC_2.14.
63497 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63498 Export.
63499
63500 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63501
63502 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63503 round counter.
63504 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63505
63506 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63507
63508 [BZ #12597]
63509 * string/test-strncmp.c (do_page_test): New function.
63510 (check2): Likewise.
63511 (test_main): Call check2.
63512 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63513
63514 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63515
63516 [BZ #12587]
63517 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63518 Handle cache information in CPU leaf 4.
63519 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63520
63521 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63522
63523 [BZ #12583]
63524 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63525 character representation.
63526 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63527
63528 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63529
63530 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63531 END(__isnan) to END(__isnanf) to match function entry point/label
63532 EALIGN(__isnanf,...).
63533
63534 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63535
63536 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63537
63538 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63539
63540 [BZ #12510]
63541 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63542 copy from the symbol referenced in the relocation to initialize the
63543 used variable.
63544 Patch by Piotr Bury <pbury@goahead.com>.
63545 * elf/Makefile: Add rules to build and tst-unique3.
63546 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63547 * elf/tst-unique3.cc: New file.
63548 * elf/tst-unique3.h: New file.
63549 * elf/tst-unique3lib.cc: New file.
63550 * elf/tst-unique3lib2.cc: New file.
63551
63552 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63553
63554 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63555
63556 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63557 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63558 to _start.
63559
63560 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63561
63562 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63563 to-be-loaded object along a path to loader is ld.so.
63564
63565 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63566 Ulrich Drepper <drepper@gmail.com>
63567
63568 * sysdeps/x86_64/memset.S: After aligning destination, code
63569 branches to different locations depending on the value of
63570 misalignment, when multiarch is enabled. Fix this.
63571
63572 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63573
63574 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63575 Set _x86_64_preferred_memory_instruction for AMD processsors.
63576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63577 Set bit_Prefer_SSE_for_memop for AMD processors.
63578
63579 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63580
63581 * libio/fmemopen.c (fmemopen): Optimize a bit.
63582
63583 2011-03-03 Andreas Schwab <schwab@redhat.com>
63584
63585 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63586
63587 2011-03-03 Roland McGrath <roland@redhat.com>
63588
63589 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63590
63591 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63592
63593 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63594 __bzero_ultra1 instead of __memset_ultra1.
63595
63596 2011-02-23 Andreas Schwab <schwab@redhat.com>
63597 Ulrich Drepper <drepper@gmail.com>
63598
63599 [BZ #12509]
63600 * include/link.h (struct link_map): Add l_orig_initfini.
63601 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63602 returning unsuccessfully.
63603 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63604 close of a file loaded at startup, restore the original l_initfini
63605 list.
63606 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63607 list, store the pointer.
63608 * elf/Makefile ($(objpfx)noload-mem): New rule.
63609 (noload-ENV): Define.
63610 (tests): Add $(objpfx)noload-mem.
63611 * elf/noload.c: Include <memcheck.h>.
63612 (main): Call mtrace. Close all opened handles.
63613
63614 2011-02-17 Andreas Schwab <schwab@redhat.com>
63615
63616 [BZ #12454]
63617 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63618 dependencies are missing.
63619
63620 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63621
63622 Fix __if_freereq crash: Unlike the generic version which uses free,
63623 Hurd needs munmap.
63624 * sysdeps/mach/hurd/ifreq.h: New file.
63625
63626 2011-01-27 Petr Baudis <pasky@suse.cz>
63627 Ulrich Drepper <drepper@gmail.com>
63628
63629 [BZ 12445]#
63630 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63631 to extend_alloca().
63632 * stdio-common/bug23.c: New file.
63633 * stdio-common/Makefile (tests): Add bug23.
63634
63635 2010-09-28 Andreas Schwab <schwab@redhat.com>
63636 Ulrich Drepper <drepper@gmail.com>
63637
63638 [BZ #12489]
63639 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63640 before performing relro protection. At old place add assertion
63641 to make sure nothing changed.
63642
63643 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63644 Glauber de Oliveira Costa <glommer@gmail.com>
63645
63646 * elf/elf.h: Add new ARM TLS relocs.
63647
63648 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63649
63650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63651 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63652 cast from r3.
63653 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63654 'tests' variable.
63655 * sysdeps/wordsize-64/tst-writev.c: New file.
63656
63657 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63658
63659 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63660 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63661 insns in _dl_start to prevent a TOC reference before relocs are
63662 resolved.
63663
63664 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63665
63666 [BZ #12469]
63667 * Makeconfig: Remove RANLIB definition.
63668 * Makerules: Don't use RANLIB.
63669 * aclocal.m4: Remove ranlib test.
63670 * configure.in: No need to check for ranlib.
63671 * elf/rtld-Rules: Don't use RANLIB.
63672
63673 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63674
63675 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63676 protection macro.
63677 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63678 inclusion protection macro.
63679
63680 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63681 SIGRTMIN and SIGRTMAX and print information in that case only when
63682 SIGRTMIN is defined.
63683
63684 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63685
63686 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63687 arginfo fn returning -1.
63688
63689 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63690 and thousands string is zero terminated.
63691
63692 2011-02-03 Andreas Schwab <schwab@redhat.com>
63693
63694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63695 sysdeps/unix/sysv/linux/bits/socket.h.
63696
63697 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63698
63699 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63700 (__CPU_COUNT): Remove old macros.
63701 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63702 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63703 (__CPU_ALLOC, __CPU_FREE): Add macros.
63704 (__sched_cpualloc, __sched_cpufree): Add declarations.
63705
63706 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63707
63708 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63709 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63710 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63711 (readdhstai): Return value of addhstaiX call.
63712 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63713 (addgrbyX): Return value returned by cache_addgr.
63714 (readdgrbyname): Return value returned by addgrbyX.
63715 (readdgrbygid): Likewise.
63716 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63717 (addpwbyX): Return value returned by cache_addpw.
63718 (readdpwbyname): Return value returned by addhstbyX.
63719 (readdpwbyuid): Likewise.
63720 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63721 (addservbyX): Return value returned by cache_addserv.
63722 (readdservbyname): Return value returned by addservbyX:
63723 (readdservbyport): Likewise.
63724 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63725 (addhstbyX): Return value returned by cache_addhst.
63726 (readdhstbyname): Return value returned by addhstbyX.
63727 (readdhstbyaddr): Likewise.
63728 (readdhstbynamev6): Likewise.
63729 (readdhstbyaddrv6): Likewise.
63730 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63731 (readdinitgroups): Return value returned by addinitgroupsX.
63732 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63733 (prune_cache): Keep track of timeout value of re-added entries.
63734 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63735 * nscd/nscd.h: Adjust prototypes of readd* functions.
63736
63737 2011-02-04 Roland McGrath <roland@redhat.com>
63738
63739 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63740 (nis_stats): Likewise.
63741 * nis/nis_modify.c (nis_modify): Likewise.
63742 * nis/nis_remove.c (nis_remove): Likewise.
63743 * nis/nis_add.c (nis_add): Likewise.
63744
63745 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63746
63747 * posix/fnmatch_loop.c: Add some consts.
63748
63749 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63750
63751 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63752
63753 [BZ #12460]
63754 * config.make.in (config-cflags-novzeroupper): Define.
63755 * configure.in: Substitute libc_cv_cc_novzeroupper.
63756 * elf/Makefile (AVX-CFLAGS): Define.
63757 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63758 (CFLAGS-tst-auditmod4a.c): Likewise.
63759 (CFLAGS-tst-auditmod4b.c): Likewise.
63760 (CFLAGS-tst-auditmod6b.c): Likewise.
63761 (CFLAGS-tst-auditmod6c.c): Likewise.
63762 (CFLAGS-tst-auditmod7b.c): Likewise.
63763 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63764
63765 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63766
63767 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63768 function to the callback.
63769 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63770
63771 2011-02-02 Andreas Schwab <schwab@redhat.com>
63772
63773 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63774 of errno.
63775
63776 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63777
63778 [BZ #11724]
63779 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63780 of constructors.
63781 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63782 of destructors.
63783 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63784
63785 [BZ #11724]
63786 * elf/Makefile: Add rules to build and run new test.
63787 * elf/tst-initorder.c: New file.
63788 * elf/tst-initorder.exp: New file.
63789 * elf/tst-initordera1.c: New file.
63790 * elf/tst-initordera2.c: New file.
63791 * elf/tst-initordera3.c: New file.
63792 * elf/tst-initordera4.c: New file.
63793 * elf/tst-initorderb1.c: New file.
63794 * elf/tst-initorderb2.c: New file.
63795 * elf/tst-order-a1.c: New file.
63796 * elf/tst-order-a2.c: New file.
63797 * elf/tst-order-a3.c: New file.
63798 * elf/tst-order-a4.c: New file.
63799 * elf/tst-order-b1.c: New file.
63800 * elf/tst-order-b2.c: New file.
63801 * elf/tst-order-main.c: New file.
63802 New test case by George Gensure <werkt0@gmail.com>.
63803
63804 2010-10-01 Andreas Schwab <schwab@redhat.com>
63805
63806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63807 decoding ACE if AI_CANONIDN.
63808
63809 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63810
63811 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63812
63813 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63814
63815 * version.h (RELEASE): Bump for 2.13 release.
63816 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63817
63818 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63819
63820 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63821 MADV_NOHUGEPAGE.
63822 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63823 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63825 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63826 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63828
63829 * posix/getconf.c: Update copyright year.
63830 * catgets/gencat.c: Likewise.
63831 * csu/version.c: Likewise.
63832 * debug/catchsegv.sh: Likewise.
63833 * debug/xtrace.sh: Likewise.
63834 * elf/ldconfig.c: Likewise.
63835 * elf/ldd.bash.in: Likewise.
63836 * elf/sprof.c (print_version): Likewise.
63837 * iconv/iconv_prog.c: Likewise.
63838 * iconv/iconvconfig.c: Likewise.
63839 * locale/programs/locale.c: Likewise.
63840 * locale/programs/localedef.c: Likewise.
63841 * malloc/memusage.sh: Likewise.
63842 * malloc/mtrace.pl: Likewise.
63843 * nscd/nscd.c (print_version): Likewise.
63844 * nss/getent.c: Likewise.
63845
63846 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63847 PF_CAIF, and PF_ALG.
63848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63849
63850 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63851
63852 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63853 (modules-names): Use them.
63854 (ifunc-test-modules, ifunc-pie-tests): Define.
63855 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63856 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63857 (test-extras): Likewise.
63858 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63859 $(compile-command.c).
63860 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63861 (all-built-dso): Define.
63862 (check-textrel.out, check-execstack.out): Depend on it.
63863
63864 * configure.in: Don't override --enable-multi-arch.
63865
63866 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63867
63868 [BZ #6812]
63869 * nscd/hstcache.c (tryagain): Define.
63870 (cache_addhst): Return tryagain not notfound for temporary errors.
63871 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63872 failed.
63873
63874 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63875
63876 [BZ #10563]
63877 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63878 to make the syscall.
63879 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63880
63881 [BZ #12378]
63882 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63883 and fall back to matching as normal character if the string ends before
63884 the matching ']' is found. This is what POSIX requires.
63885 * posix/testfnm.c: Adjust test result.
63886 * posix/globtest.sh: Adjust test result. Add new test.
63887 * posix/tst-fnmatch.input: Likewise.
63888 * posix/tst-fnmatch2.c: Add new test.
63889
63890 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63891
63892 * elf/Makefile (check-execstack): Revert last change. Depend on
63893 check-execstack.h.
63894 (check-execstack.h): New target.
63895 (generated): Add check-execstack.h.
63896 * elf/check-execstack.c: Include "check-execstack.h".
63897 (main): Revert last change.
63898 (handle_file): Return zero if GNU_STACK is absent and
63899 DEFAULT_STACK_PERMS doesn't include PF_X.
63900
63901 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63902
63903 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63904 in child fails because the descriptor is already closed.
63905 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63906 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63907 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63908
63909 [BZ #12397]
63910 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63911 syscall.
63912
63913 [BZ #10484]
63914 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63915 temporary buffer used to handle multi lookups locally.
63916 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63917
63918 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63919
63920 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63921 loader is ld.so.
63922
63923 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63924
63925 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63926 alignment for SSE2.
63927
63928 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63929
63930 [BZ #12394]
63931 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63932 characters. When rounding increased number of integer digits recompute
63933 number of groups.
63934 * stdio-common/tst-grouping.c: New file.
63935 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63936
63937 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63938
63939 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63940 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63941
63942 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63943 void.
63944 * bits/select.h: Likewise.
63945
63946 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63947
63948 * po/ja.po: Update from translation team.
63949
63950 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63951
63952 [BZ #11155]
63953 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63954 implementation just like for lxstat, fxstatat, et al.
63955
63956 2010-12-27 Jim Meyering <meyering@redhat.com>
63957
63958 [BZ #12348]
63959 * posix/regexec.c (build_trtable): Return failure indication upon
63960 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63961
63962 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63963
63964 [BZ #12201]
63965 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63966 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63967 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63968 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63969
63970 [BZ #12207]
63971 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63972
63973 [BZ #12204]
63974 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63975 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63976
63977 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63978
63979 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63980 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63981 script has SORT_BY_INIT_PRIORITY.
63982 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63983 NO_CTORS_DTORS_SECTIONS is defined.
63984 * elf/soinit.c: Likewise.
63985 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63986 NO_CTORS_DTORS_SECTIONS is defined.
63987 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63988 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63989 * sysdeps/sh/init-first.c: Likewise.
63990 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63991
63992 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63993
63994 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63995 always use the slow path.
63996
63997 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63998
63999 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64000 similar rule which adds the sysdep directories to the header search in
64001 order to pick up the correct platform stackinfo.h.
64002 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64003 perform test if it is, otherwise return successfully without testing.
64004 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64005 DEFAULT_STACK_PERMS define in stackinfo.h.
64006 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64007 defined in stackinfo.h.
64008 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64009 DEFAULT_STACK_PERMS defined in stackinfo.h.
64010 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64011 * sysdeps/ia64/stackinfo.h: Likewise.
64012 * sysdeps/s390/stackinfo.h: Likewise.
64013 * sysdeps/sh/stackinfo.h: Likewise.
64014 * sysdeps/sparc/stackinfo.h: Likewise.
64015 * sysdeps/x86_64/stackinfo.h: Likewise.
64016 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64017 PF_X for powerpc64. Retain PF_X for powerpc32.
64018
64019 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64020
64021 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64022 accurately.
64023 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64024 GETDENTS_64BIT_ALIGNED.
64025
64026 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64027
64028 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64029
64030 2010-12-10 Andreas Schwab <schwab@redhat.com>
64031
64032 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64033 _GNU_SOURCE.
64034
64035 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64036 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64037 Remove __restrict.
64038 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64039 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64040
64041 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64042
64043 [BZ #11655]
64044 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64045 are initialized.
64046
64047 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64048
64049 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64050
64051 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64052
64053 * po/it.po: Update from translation team.
64054
64055 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64056
64057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64058 unused codes.
64059
64060 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64061
64062 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64063
64064 2010-11-24 Andreas Schwab <schwab@redhat.com>
64065
64066 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64067 specially.
64068 (gaih_getanswer_slice): Likewise.
64069
64070 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64071
64072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64073
64074 2010-05-31 Petr Baudis <pasky@suse.cz>
64075
64076 [BZ #11149]
64077 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64078 silently even in the chroot mode.
64079
64080 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64081
64082 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64083 last patch a bit. Pretty printing
64084
64085 2010-05-31 Petr Baudis <pasky@suse.cz>
64086
64087 [BZ #10085]
64088 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64089 initialization of skip_initgroups_dyn.
64090
64091 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64092
64093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64095
64096 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64097
64098 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64099
64100 2010-11-11 Andreas Schwab <schwab@redhat.com>
64101
64102 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64103 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64104 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64105 ($(objpfx)tst-fnmatch-mem): New rule.
64106 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64107 * posix/tst-fnmatch.c (main): Call mtrace.
64108
64109 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64110
64111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64112 Support Intel processor model 6 and model 0x2c.
64113
64114 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64115
64116 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64117 signed comparison.
64118
64119 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64120
64121 [BZ #12205]
64122 * string/test-strncasecmp.c (check_result): New function.
64123 (do_one_test): Use it.
64124 (check1): New function.
64125 (test_main): Use it.
64126 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64127 Support strcasecmp and strncasecmp.
64128
64129 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64130
64131 [BZ #12194]
64132 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64133 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64134
64135 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64136
64137 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64138 IFUNC support.
64139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64140 memset-x86-64.
64141 * sysdeps/x86_64/multiarch/bzero.S: New file.
64142 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64143 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64144 * sysdeps/x86_64/multiarch/memset.S: New file.
64145 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64147 Set bit_Prefer_SSE_for_memop for Intel processors.
64148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64149 Define.
64150 (index_Prefer_SSE_for_memop): Define.
64151 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64152
64153 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64154
64155 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64156 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64157
64158 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64159
64160 [BZ #12191]
64161 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64162 (__x86_64_raw_data_cache_size_half): Likewise.
64163 (__x86_64_raw_shared_cache_size): Likewise.
64164 (__x86_64_raw_shared_cache_size_half): Likewise.
64165
64166 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64167 (__x86_64_raw_data_cache_size_half): Likewise.
64168 (__x86_64_raw_shared_cache_size): Likewise.
64169 (__x86_64_raw_shared_cache_size_half): Likewise.
64170 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64171 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64172 and __x86_64_raw_shared_cache_size_half. Round
64173 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64174 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64175 to multiple of 256 bytes.
64176
64177 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64178
64179 [BZ #12167]
64180 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64181 of inacessible symlinks. Verify result of symlink before returning it.
64182 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64183 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64184
64185 2010-10-28 Erich Ritz <erichritz@gmail.com>
64186
64187 * math/math.h (isinf): Fix typo in comment.
64188
64189 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64190
64191 * po/da.po: Update from translation team.
64192
64193 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64194
64195 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64196 is added to the list.
64197
64198 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64199 Ulrich Drepper <drepper@gmail.com>
64200
64201 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64202 the global list here. Move code to...
64203 (_dl_add_to_namespace_list): ...here. New function.
64204 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64205 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64206 * elf/dl-load.c (lose): Don't remove the element from the list.
64207 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64208 (_dl_map_object): Likewise.
64209
64210 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64211
64212 [BZ #12159]
64213 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64214 into all bytes of SSE register.
64215 Patch by Richard Li <richardpku@gmail.com>.
64216
64217 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64218
64219 [BZ #12140]
64220 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64221 perturbing.
64222
64223 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64224
64225 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64226 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64227 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64228 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64230 submachine.
64231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64232
64233 2010-10-22 Andreas Schwab <schwab@redhat.com>
64234
64235 * include/dlfcn.h (__RTLD_SECURE): Define.
64236 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64237 mode & __RTLD_SECURE instead.
64238 (open_path): Rename preloaded parameter to secure.
64239 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64240 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64241 * elf/dl-deps.c (openaux): Likewise.
64242 * elf/rtld.c (struct map_args): Remove is_preloaded.
64243 (map_doit): Don't use it.
64244 (dl_main): Likewise.
64245 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64246 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64247
64248 2010-09-09 Andreas Schwab <schwab@redhat.com>
64249
64250 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64251 (sysd-rules-targets): Remove duplicates.
64252 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64253 rtld-%.$o dependency.
64254
64255 2010-10-18 Andreas Schwab <schwab@redhat.com>
64256
64257 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64258 _dl_map_object do it.
64259
64260 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64261
64262 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64263 fast fma builtins, define the macros in the C99 standard.
64264 (FP_FAST_FMAF): Likewise.
64265 (FP_FAST_FMAL): Likewise.
64266 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64267
64268 * bits/mathdef.h: Update copyright year.
64269 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64270
64271 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64272
64273 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64274 builtins, define the macros in the C99 standard.
64275 (FP_FAST_FMAF): Likewise.
64276 (FP_FAST_FMAL): Likewise.
64277 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64278 multiply/add.
64279 (FP_FAST_FMAF): Likewise.
64280
64281 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64282
64283 [BZ #3268]
64284 * math/libm-test.inc (fma_test): Some new testcases.
64285 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64286 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64287 y and infinite z. Do multiplication by C already in long double.
64288 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64290 y and infinite z. Do bitwise or of inexact bit into u.d.
64291 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64292 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64293 * sysdeps/i386/fpu/s_fma.S: Removed.
64294 * sysdeps/i386/fpu/s_fmal.S: Removed.
64295
64296 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64297
64298 [BZ #3268]
64299 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64300 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64301 computation is not scheduled after fetestexcept. Fix value
64302 of minimum denormal long double.
64303
64304 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64305
64306 [BZ #3268]
64307 * math/libm-test.inc (fma_test): Add some more tests.
64308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64309 correctly.
64310
64311 2010-10-15 Andreas Schwab <schwab@redhat.com>
64312
64313 * scripts/data/localplt-s390-linux-gnu.data: New file.
64314 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64315
64316 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64317
64318 [BZ #3268]
64319 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64320 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64321 instead of dbl-64.
64322 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64323 inlines.
64324 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64326 if one of x and y is very large and the other is subnormal.
64327 * sysdeps/s390/fpu/s_fmaf.c: New file.
64328 * sysdeps/s390/fpu/s_fma.c: New file.
64329 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64330 * sysdeps/powerpc/fpu/s_fma.S: New file.
64331 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64332 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64333 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64334
64335 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64336
64337 [BZ #3268]
64338 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64339 fma tests.
64340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64341 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64342 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64343 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64344 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64345 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64346 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64347
64348 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64349
64350 [BZ #12078]
64351 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64352 * posix/bug-regex31.input: Add test case.
64353
64354 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64355
64356 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64357 * posix/bug-regex31.input: New file.
64358
64359 [BZ #12078]
64360 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64361 (parse_sub_exp): Fix last change, use postorder.
64362
64363 * posix/bug-regex31.c: New file.
64364 * posix/Makefile: Add rules to build and run bug-regex31.
64365
64366 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64367
64368 [BZ #12078]
64369 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64370
64371 [BZ #12108]
64372 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64373 to have entries in sys_siglist.
64374
64375 [BZ #12093]
64376 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64377 be NULL.
64378
64379 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64380
64381 [BZ #3268]
64382 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64383 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64384 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64385 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64386 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64387 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64388 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64389 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64390 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64391 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64392 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64393 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64394 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64395 * math/ftestexcept.c (fetestexcept): Likewise.
64396 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64397 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64398 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64399 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64400 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64401 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64402 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64403
64404 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64405
64406 [BZ #12107]
64407 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64408 newline.
64409
64410 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64411
64412 * string/bug-strstr1.c: New file.
64413 * string/Makefile: Add rules to build and run bug-strstr1.
64414
64415 2010-10-05 Eric Blake <eblake@redhat.com>
64416
64417 [BZ #12092]
64418 * string/str-two-way.h (two_way_long_needle): Always clear memory
64419 when skipping input due to the shift table.
64420
64421 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64422
64423 [BZ #12005]
64424 * malloc/mcheck.c: Handle large requests.
64425
64426 [BZ #12077]
64427 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64428 for strncmp and strncasecmp.
64429 * string/stratcliff.c: Add tests for strcmp and strncmp.
64430 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64431
64432 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64433
64434 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64435 __set_fpscr.
64436
64437 2010-09-30 Andreas Jaeger <aj@suse.de>
64438
64439 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64440 (CGROUP_SUPER_MAGIC): Define.
64441 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64442 Handle btrfs and cgroup file systems.
64443 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64444 Likewise.
64445
64446 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64447
64448 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64449 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64450
64451 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64452
64453 [BZ #12067]
64454 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64455 trying to locate the ELF header.
64456
64457 2010-09-27 Andreas Schwab <schwab@redhat.com>
64458
64459 [BZ #11611]
64460 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64461 Mask out sign-bit copies when constructing f_fsid.
64462
64463 2010-09-24 Petr Baudis <pasky@suse.cz>
64464
64465 * debug/stack_chk_fail_local.c: Add missing licence exception.
64466 * debug/warning-nop.c: Likewise.
64467
64468 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64469
64470 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64471 implementing getdents64 using getdents syscall, set d_type if
64472 __ASSUME_GETDENTS32_D_TYPE.
64473
64474 2010-09-16 Andreas Schwab <schwab@redhat.com>
64475
64476 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64477 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64478
64479 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64480
64481 [BZ #12037]
64482 * posix/unistd.h: Undo change of feature selection for ftruncate from
64483 2010-01-11.
64484
64485 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64486
64487 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64488 detection.
64489
64490 2010-09-20 Andreas Schwab <schwab@redhat.com>
64491
64492 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64493 fanotify_mark.
64494 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64495
64496 2010-09-14 Andreas Schwab <schwab@redhat.com>
64497
64498 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64499 variables after CHECK_SP call.
64500 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64501
64502 2010-09-13 Andreas Schwab <schwab@redhat.com>
64503 Ulrich Drepper <drepper@redhat.com>
64504
64505 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64506 re-relocationg ld.so.
64507 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64508 _dl_init_paths call.
64509 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64510 here anymore.
64511
64512 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64513
64514 * resolv/res_init.c (__res_vinit): Count the default server we added.
64515
64516 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64517 Ulrich Drepper <drepper@redhat.com>
64518
64519 [BZ #11968]
64520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64521 (____longjmp_chk): Use %ebx for saving value across system call.
64522 Add unwind info.
64523
64524 2010-09-06 Andreas Schwab <schwab@redhat.com>
64525
64526 * manual/Makefile: Don't mix pattern rules with normal rules.
64527
64528 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64529
64530 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64531 operation.
64532 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64533 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64534 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64535 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64537 Likewise.
64538
64539 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64540
64541 [BZ #11979]
64542 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64543 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64544
64545 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64546
64547 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64548 * sysdeps/x86_64/addmul_1.S: Likewise.
64549 * sysdeps/x86_64/lshift.S: Likewise.
64550 * sysdeps/x86_64/mul_1.S: Likewise.
64551 * sysdeps/x86_64/rshift.S: Likewise.
64552 * sysdeps/x86_64/sub_n.S: Likewise.
64553 * sysdeps/x86_64/submul_1.S: Likewise.
64554
64555 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64556
64557 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64558 Define __sched_param instead of SCHED_* and sched_param when
64559 <bits/sched.h> is included with __need_schedparam defined.
64560 * bits/sched.h [__need_schedparam]
64561 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64562 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64563 (__defined_schedparam): Define to 1.
64564 (__sched_param): New structure, identical to sched_param.
64565 (__need_schedparam): Undefine.
64566
64567 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64568
64569 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64570 (epoll_create1): Declare.
64571
64572 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64573
64574 2010-08-31 Andreas Schwab <schwab@redhat.com>
64575
64576 [BZ #7066]
64577 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64578 shifting retval into place.
64579
64580 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64581
64582 * nis/rpcsvc/nis.h: Update copyright notice.
64583 * nis/rpcsvc/nis.x: Likewise.
64584 * nis/rpcsvc/nis_callback.h: Likewise.
64585 * nis/rpcsvc/nis_callback.x: Likewise.
64586 * nis/rpcsvc/nis_object.x: Likewise.
64587 * nis/rpcsvc/nis_tags.h: Likewise.
64588 * nis/rpcsvc/yp.h: Likewise.
64589 * nis/rpcsvc/yp.x: Likewise.
64590 * nis/rpcsvc/ypupd.h: Likewise.
64591 * nis/yp_xdr.c: Likewise.
64592 * nis/ypupdate_xdr.c: Likewise.
64593
64594 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64595 mainly the body of pmap_getport. Add parameters to specify timeouts.
64596 (pmap_getport): Use __libc_rpc_getport.
64597 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64598 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64599 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64600
64601 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64602
64603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64604 fanotify_mark.
64605
64606 2010-08-27 Roland McGrath <roland@redhat.com>
64607
64608 * sysdeps/i386/i686/multiarch/Makefile
64609 (CFLAGS-varshift.c): New variable.
64610
64611 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64612
64613 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64614 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64615
64616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64617
64618 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64619
64620 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64621
64622 * sysdeps/x86_64/strlen.S: Unroll the loop.
64623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64624 strlen-sse2 strlen-sse2-bsf.
64625 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64626 __strlen_no_bsf if bit_Slow_BSF is set.
64627 (__strlen_sse42): Removed.
64628 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64629 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64630
64631 2010-08-25 Roland McGrath <roland@redhat.com>
64632
64633 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64634 * sysdeps/x86_64/multiarch/varshift.c: New file.
64635 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64636 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64637 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64638 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64639
64640 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64641
64642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64643 strlen-sse2 strlen-sse2-bsf.
64644 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64645 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64646 (__strlen_sse2): Removed.
64647 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64648 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64650 bit_Slow_BSF for Atom.
64651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64652 (index_Slow_BSF): Define.
64653 (HAS_SLOW_BSF): Define.
64654
64655 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64656
64657 [BZ #10851]
64658 * resolv/res_init.c (__res_vinit): When no server address at all
64659 is given default to loopback.
64660
64661 2010-08-24 Roland McGrath <roland@redhat.com>
64662
64663 * configure.in: Remove config-name.h generation.
64664 * configure: Regenerated.
64665 * config-name.in: File removed.
64666 * scripts/config-uname.sh: New file.
64667 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64668 ($(objdir)config-name.h): New target.
64669
64670 * sunrpc/rpc_parse.h: Avoid nested comment.
64671
64672 2010-08-24 Richard Henderson <rth@redhat.com>
64673 Ulrich Drepper <drepper@redhat.com>
64674 H.J. Lu <hongjiu.lu@intel.com>
64675
64676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64678 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64679 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64680 _mm_alignr_epi8 with _mm_loadu_si128.
64681 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64682 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64683 (__m128i_shift_right): Removed.
64684 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64685 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64686 * sysdeps/x86_64/multiarch/varshift.h: New file.
64687 * sysdeps/x86_64/multiarch/varshift.S: New file.
64688
64689 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64690
64691 * configure.in: Move assembler checks to before sysdep dir checking.
64692
64693 2010-08-20 Petr Baudis <pasky@suse.cz>
64694
64695 * LICENSES: Sync the sunrpc license.
64696
64697 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64698
64699 * sunrpc/auth_des.c: Update copyright notice once again.
64700 * sunrpc/auth_none.c: Likewise.
64701 * sunrpc/auth_unix.c: Likewise.
64702 * sunrpc/authdes_prot.c: Likewise.
64703 * sunrpc/authuxprot.c: Likewise.
64704 * sunrpc/bindrsvprt.c: Likewise.
64705 * sunrpc/clnt_gen.c: Likewise.
64706 * sunrpc/clnt_perr.c: Likewise.
64707 * sunrpc/clnt_raw.c: Likewise.
64708 * sunrpc/clnt_simp.c: Likewise.
64709 * sunrpc/clnt_tcp.c: Likewise.
64710 * sunrpc/clnt_udp.c: Likewise.
64711 * sunrpc/clnt_unix.c: Likewise.
64712 * sunrpc/des_crypt.c: Likewise.
64713 * sunrpc/des_soft.c: Likewise.
64714 * sunrpc/get_myaddr.c: Likewise.
64715 * sunrpc/getrpcport.c: Likewise.
64716 * sunrpc/key_call.c: Likewise.
64717 * sunrpc/key_prot.c: Likewise.
64718 * sunrpc/openchild.c: Likewise.
64719 * sunrpc/pm_getmaps.c: Likewise.
64720 * sunrpc/pm_getport.c: Likewise.
64721 * sunrpc/pmap_clnt.c: Likewise.
64722 * sunrpc/pmap_prot.c: Likewise.
64723 * sunrpc/pmap_prot2.c: Likewise.
64724 * sunrpc/pmap_rmt.c: Likewise.
64725 * sunrpc/rpc/auth.h: Likewise.
64726 * sunrpc/rpc/auth_unix.h: Likewise.
64727 * sunrpc/rpc/clnt.h: Likewise.
64728 * sunrpc/rpc/des_crypt.h: Likewise.
64729 * sunrpc/rpc/key_prot.h: Likewise.
64730 * sunrpc/rpc/netdb.h: Likewise.
64731 * sunrpc/rpc/pmap_clnt.h: Likewise.
64732 * sunrpc/rpc/pmap_prot.h: Likewise.
64733 * sunrpc/rpc/pmap_rmt.h: Likewise.
64734 * sunrpc/rpc/rpc.h: Likewise.
64735 * sunrpc/rpc/rpc_des.h: Likewise.
64736 * sunrpc/rpc/rpc_msg.h: Likewise.
64737 * sunrpc/rpc/svc.h: Likewise.
64738 * sunrpc/rpc/svc_auth.h: Likewise.
64739 * sunrpc/rpc/types.h: Likewise.
64740 * sunrpc/rpc/xdr.h: Likewise.
64741 * sunrpc/rpc_clntout.c: Likewise.
64742 * sunrpc/rpc_cmsg.c: Likewise.
64743 * sunrpc/rpc_common.c: Likewise.
64744 * sunrpc/rpc_cout.c: Likewise.
64745 * sunrpc/rpc_dtable.c: Likewise.
64746 * sunrpc/rpc_hout.c: Likewise.
64747 * sunrpc/rpc_main.c: Likewise.
64748 * sunrpc/rpc_parse.c: Likewise.
64749 * sunrpc/rpc_parse.h: Likewise.
64750 * sunrpc/rpc_prot.c: Likewise.
64751 * sunrpc/rpc_sample.c: Likewise.
64752 * sunrpc/rpc_scan.c: Likewise.
64753 * sunrpc/rpc_scan.h: Likewise.
64754 * sunrpc/rpc_svcout.c: Likewise.
64755 * sunrpc/rpc_tblout.c: Likewise.
64756 * sunrpc/rpc_util.c: Likewise.
64757 * sunrpc/rpc_util.h: Likewise.
64758 * sunrpc/rpcinfo.c: Likewise.
64759 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64760 * sunrpc/rpcsvc/key_prot.x: Likewise.
64761 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64762 * sunrpc/rpcsvc/mount.x: Likewise.
64763 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64764 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64765 * sunrpc/rpcsvc/rex.x: Likewise.
64766 * sunrpc/rpcsvc/rstat.x: Likewise.
64767 * sunrpc/rpcsvc/rusers.x: Likewise.
64768 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64769 * sunrpc/rpcsvc/spray.x: Likewise.
64770 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64771 * sunrpc/rtime.c: Likewise.
64772 * sunrpc/svc.c: Likewise.
64773 * sunrpc/svc_auth.c: Likewise.
64774 * sunrpc/svc_authux.c: Likewise.
64775 * sunrpc/svc_raw.c: Likewise.
64776 * sunrpc/svc_run.c: Likewise.
64777 * sunrpc/svc_simple.c: Likewise.
64778 * sunrpc/svc_tcp.c: Likewise.
64779 * sunrpc/svc_udp.c: Likewise.
64780 * sunrpc/svc_unix.c: Likewise.
64781 * sunrpc/svcauth_des.c: Likewise.
64782 * sunrpc/xcrypt.c: Likewise.
64783 * sunrpc/xdr.c: Likewise.
64784 * sunrpc/xdr_array.c: Likewise.
64785 * sunrpc/xdr_float.c: Likewise.
64786 * sunrpc/xdr_mem.c: Likewise.
64787 * sunrpc/xdr_rec.c: Likewise.
64788 * sunrpc/xdr_ref.c: Likewise.
64789 * sunrpc/xdr_sizeof.c: Likewise.
64790 * sunrpc/xdr_stdio.c: Likewise.
64791
64792 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64793 handling.
64794
64795 2010-08-19 Andreas Schwab <schwab@redhat.com>
64796
64797 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64798
64799 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64800
64801 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64802 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64803 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64804 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64805 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64806 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64807 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64808 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64809 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64810 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64811 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64812 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64813 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64814 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64815
64816 2010-07-26 Anton Blanchard <anton@samba.org>
64817
64818 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64819 * malloc/arena.c (heap_trim): Likewise.
64820
64821 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64822
64823 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64824 here. Not...
64825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64826 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64827
64828 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64829
64830 * sysdeps/i386/elf/Makefile: New file.
64831
64832 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64833
64834 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64835 from fanotify_init.
64836 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64837 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64838
64839 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64840
64841 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64842 of strncasecmp_l.
64843 * sysdeps/multiarch/strcmp.S: Likewise.
64844
64845 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64846
64847 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64848 strncase_l-nonascii.
64849 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64850 Add strncase_l-ssse3.
64851 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64852 * sysdeps/x86_64/strcmp.S: Likewise.
64853 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64854 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64855 * sysdeps/x86_64/strncase.S: New file.
64856 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64857 * sysdeps/x86_64/strncase_l.S: New file.
64858 * string/Makefile (strop-tests): Add strncasecmp.
64859 * string/test-strncasecmp.c: New file.
64860
64861 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64862 warning.
64863
64864 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64865 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64866
64867 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64868
64869 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64870
64871 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64872
64873 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64874 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64875 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64876
64877 2010-05-01 Alan Modra <amodra@gmail.com>
64878
64879 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64880 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64881 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64882 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64883 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64884 tidying. Don't tail-call __sigjmp_save for static lib.
64885 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64886 save location.
64887 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64888 (CALL_MCOUNT): Add eh info, and nop after bl.
64889 (TAIL_CALL_SYSCALL_ERROR): New macro.
64890 (PSEUDO_RET): Use it.
64891 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64892 Correct save location of integer regs and cr.
64893 (_dl_profile_resolve): Correct cr save location. Delete nops
64894 after bl when SHARED. Reduce cfi size a little by better
64895 placement of cfi directives.
64896 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64897 make a stack frame. Instead use parm save area as a temp.
64898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64899 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64901 Don't make a stack frame for parent, use parm save area.
64902 Increase child stack frame to 112 bytes. Don't save unused reg,
64903 and adjust reg usage. Set up cfi on error recovery and
64904 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64906 (__makecontext): Add dummy nop after jump to exit.
64907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64908 Use correct parm save area and cr save, reduce stack frame.
64909 Correct cfi for possible PSEUDO_RET frame setup.
64910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64911 Branch to local label emitted by PSEUDO_RET rather than
64912 __syscall_error.
64913
64914 2010-08-12 Andreas Schwab <schwab@redhat.com>
64915
64916 [BZ #11904]
64917 * locale/programs/locale.c (print_assignment): New function.
64918 (show_locale_vars): Use it.
64919
64920 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64921
64922 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64923 field.
64924 (struct statfs64): Likewise.
64925 (_STATFS_F_FLAGS): Define.
64926 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64927 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64928 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64929 (ST_VALID): Define locally.
64930 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64931 __statvfs_getflags, use the provided value.
64932 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64933 __ASSUME_STATFS_F_FLAGS.
64934
64935 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64936
64937 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64938 Add sys/fanotify.h.
64939 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64940 fanotify_mask for GLIBC_2.13.
64941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64942 fanotify_init and fanotify_mark.
64943 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64944 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64945
64946 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64947 Add prlimit.
64948 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64949 prlimit64 for GLIBC_2.13.
64950 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64951 prlimit64.
64952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64953 syscall.
64954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64955 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64956 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64957 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64958 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64959 add prlimit alias.
64960 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64961
64962 [BZ #11903]
64963 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64964 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64965
64966 * nss/Makefile: Add rules to build and run tst-nss-test1.
64967 * shlib-versions: Add entry for libnss_test1.
64968 * nss/nss_test1.c: New file.
64969 * nss/tst-nss-test1.c: New file.
64970
64971 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64972 (__nss_configure_lookup): Set appropriate entry in
64973 __nss_configure_lookup to true.
64974 * nss/nsswitch.h: Define enum with indeces of databases in
64975 databases and __nss_database_custom arrays. Declare
64976 __nss_database_custom.
64977 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64978 to avoid using nscd when custom rules are installed.
64979 * nss/getXXbyYY_r.c: Likewise.
64980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64981
64982 * nss/nss_files/files-parse.c: Whitespace fixes.
64983
64984 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64985
64986 [BZ #11883]
64987 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64988 * posix/fnmatch_loop.c: Likewise.
64989
64990 2010-07-17 Andi Kleen <ak@linux.intel.com>
64991
64992 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64993 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64994 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64995 * Versions.def [GLIBC_2.13]: Add.
64996
64997 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64998
64999 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65000 Also fail if tpwd after pwuid call is NULL.
65001
65002 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65003
65004 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65005 when converting to ms.
65006
65007 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65008
65009 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65010 EOPNOTSUPP errors with ENOTTY.
65011 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65012 EOPNOTSUPP errors with ENOTTY.
65013
65014 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65015
65016 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65017 Add strcasecmp_l-ssse3.
65018 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65019 strcasecmp.
65020 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65021 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65022 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65023
65024 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65025
65026 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65027
65028 * string/Makefile (strop-tests): Add strcasecmp.
65029 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65030 strcasecmp_l-nonascii.
65031 (gen-as-const-headers): Add locale-defines.sym.
65032 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65033 * sysdeps/x86_64/strcasecmp.S: New file.
65034 * sysdeps/x86_64/strcasecmp_l.S: New file.
65035 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65036 * sysdeps/x86_64/locale-defines.sym: New file.
65037 * string/test-strcasecmp.c: New file.
65038
65039 * string/test-strcasestr.c: Test both ends of the range of characters.
65040 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65041
65042 2010-07-29 Roland McGrath <roland@redhat.com>
65043
65044 [BZ #11856]
65045 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65046
65047 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65048
65049 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65050 for ld.so.
65051
65052 2010-07-27 Andreas Schwab <schwab@redhat.com>
65053
65054 * manual/memory.texi (Malloc Tunable Parameters): Document
65055 M_PERTURB.
65056
65057 2010-07-26 Roland McGrath <roland@redhat.com>
65058
65059 [BZ #11840]
65060 * configure.in (-fgnu89-inline check): Set and substitute
65061 gnu89_inline, not libc_cv_gnu89_inline.
65062 * configure: Regenerated.
65063 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65064
65065 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65066
65067 * string/test-strnlen.c: New file.
65068 * string/Makefile (strop-tests): Add strnlen.
65069 * string/tester.c (test_strnlen): Add a few more test cases.
65070 * string/tst-strlen.c: Better error reporting.
65071
65072 * sysdeps/x86_64/strnlen.S: New file.
65073
65074 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65075
65076 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65077 lower-latency instructions.
65078
65079 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65080
65081 * string/test-strcasestr.c: New file.
65082 * string/test-strstr.c: New file.
65083 * string/Makefile (strop-tests): Add strstr and strcasestr.
65084 * string/str-two-way.h: Don't undefine MAX.
65085 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65086
65087 2010-07-21 Andreas Schwab <schwab@redhat.com>
65088
65089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65090 strcasestr-nonascii.
65091 (CFLAGS-strcasestr-nonascii.c): Define.
65092 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65093 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65094 Remove unused attribute.
65095
65096 2010-07-20 Roland McGrath <roland@redhat.com>
65097
65098 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65099 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65100 ld.so.cache was broken. With it, there is no way to disable dsocaps
65101 like LD_HWCAP_MASK can disable hwcaps.
65102
65103 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65104
65105 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65106
65107 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65108
65109 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65110 call in strcasestr.
65111 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65112 __strcasestr_sse42_nonascii.
65113 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65114 strcasestr-nonascii.c.
65115 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65116
65117 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65118
65119 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65120 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65121 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65122 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65123
65124 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65125
65126 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65127 fcntl.
65128
65129 2010-07-06 Andreas Schwab <schwab@redhat.com>
65130
65131 [BZ #11577]
65132 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65133 dl_signal_cerror.
65134
65135 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65136
65137 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65138 _PC_PIPE_BUF using F_GETPIPE_SZ.
65139
65140 2010-07-05 Roland McGrath <roland@redhat.com>
65141
65142 * manual/arith.texi (Rounding Functions): Fix rint description
65143 implicit in round description.
65144
65145 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65146
65147 * elf/Makefile: Fix linking for a few tests to make recent linker
65148 happy.
65149
65150 2010-06-30 Andreas Schwab <schwab@redhat.com>
65151
65152 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65153 $(common-objpfx)libc_nonshared.a.
65154
65155 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65156
65157 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65158 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65159 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65160 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65161 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65162 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65163 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65164 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65179 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65180 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65181 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65182 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65183 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65184 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65185 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65186 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65187 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65188 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65189 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65190 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65205
65206 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65207
65208 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65209 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65210 * string/memmove.c (memmove): Renamed to ...
65211 (MEMMOVE): ...this. Default to memmove.
65212 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65213 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65214 (END_CHK): Define.
65215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65216 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65217 mempcpy-ssse3-back memmove-ssse3-back.
65218 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65219 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65220 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65221 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65222 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65223 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65224 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65225 * sysdeps/x86_64/multiarch/memmove.c: New file.
65226 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65227 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65228 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65229 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65230 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65232 Define.
65233 (index_Fast_Copy_Backward): Define.
65234 (HAS_ARCH_FEATURE): Define.
65235 (HAS_FAST_REP_STRING): Define.
65236 (HAS_FAST_COPY_BACKWARD): Define.
65237
65238 2010-06-21 Andreas Schwab <schwab@redhat.com>
65239
65240 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65241 Restore proper fallback handling.
65242
65243 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65244
65245 [BZ #11701]
65246 * posix/group_member.c (__group_member): Correct checking loop.
65247
65248 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65249 OOM in getpwuid_r correctly. Return error number when the caller
65250 should return, otherwise -1.
65251 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65252 call returning > 0 value.
65253 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65254
65255 2010-06-07 Andreas Schwab <schwab@redhat.com>
65256
65257 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65258 libc_nonshared.a from targets in modules-names.
65259
65260 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65261
65262 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65263 requires it.
65264
65265 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65266
65267 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65268 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65269 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65270 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65271
65272 2010-06-02 Andreas Schwab <schwab@redhat.com>
65273
65274 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65275
65276 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65277
65278 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65279 and F_GETPIPE_SZ.
65280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65285 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65286
65287 2010-06-14 Roland McGrath <roland@redhat.com>
65288
65289 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65290
65291 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65292
65293 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65294 __REDIRECT followed by __THROW.
65295 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65296 * posix/getopt.h (getopt): Likewise.
65297
65298 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65299
65300 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65301 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65302 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65303 in AT_FLAGS.
65304 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65305 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65306
65307 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65308
65309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65310
65311 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65312
65313 [BZ #11640]
65314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65315 Properly check family and model.
65316
65317 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65318
65319 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65320
65321 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65322
65323 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65324
65325 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65326
65327 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65328 symbol reference.
65329
65330 2010-05-19 Andreas Schwab <schwab@redhat.com>
65331
65332 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65333 symbol reference.
65334
65335 2010-05-21 Andreas Schwab <schwab@redhat.com>
65336
65337 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65338 and internal_recvmmsg.
65339 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65340 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65341 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65342 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65343
65344 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65345 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65346 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65347
65348 2010-05-20 Andreas Schwab <schwab@redhat.com>
65349
65350 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65351
65352 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65353
65354 POWER7 optimizations.
65355 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65356 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65357
65358 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65359
65360 * version.h: Update for 2.13 development version.
65361
65362 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65363
65364 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65365 exceptions. Return 0.
65366
65367 2010-05-07 Roland McGrath <roland@redhat.com>
65368
65369 * elf/ldconfig.c (main): Add a const.
65370
65371 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65372
65373 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65374 (args_options): Add no-idn option.
65375 (ahosts_keys_int): Add idn_flags to ai_flags.
65376 (parse_option): Handle 'i' option to clear idn_flags.
65377
65378 * malloc/malloc.c (_int_free): Possible race in the most recently
65379 added check. Only act on the data if no current modification
65380 happened.
65381
65382 See ChangeLog.17 for earlier changes.